/*
Theme Name: A-One Child
Theme URI: http://yumecommerce.com/a-one-theme/demo/
Author: YumeCommerce Team
Author URI: http://yumecommerce.com
Description:
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Template: a-one
Text Domain: a-one
*/
@import url('fontawesome/css/all.min.css');

.blog .blog-row,
.category .blog-row {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}
.blog article,
.category article {
  position: relative;
  width: 100%;
  padding-right: 10px !important;
  padding-left: 10px !important;
  -ms-flex: 0 0 33.333333%;
  flex: 0 0 33.333333%;
  max-width: 33.333333%;
  font-family: Source Sans Pro !important;
  font-size: 16px;
  line-height: 120%;
}
@media only screen and (max-width: 1099px) {
  .blog article,
  .category article {
    flex: 0 0 100%;
    max-width: 100%;
  }
}
.blog article .thumbnail-image,
.category article .thumbnail-image {
  width: 100%;
  padding: 18vh;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center top;
}
.blog article .entry-header,
.category article .entry-header {
  background: #f1f1f1;
  padding: 10px;
  min-height: 200px;
}
.blog article .entry-title,
.category article .entry-title {
  font-family: Source Sans Pro !important;
}
.blog article .entry-title a,
.category article .entry-title a {
  color: #00793c !important;
  font-size: 20px;
  line-height: 120% !important;
  margin-bottom: 10px;
  display: block;
  min-height: 50px;
}
.single-post article .post-big-header {
  max-width: 90%;
  margin: auto;
  padding: 60px 0;
  padding-bottom: 0;
}
.single-post article .post-big-header .entry-meta {
  max-width: 980px;
  margin: auto;
}
.single-post article .post-big-header .entry-title {
  font-family: Source Sans Pro !important;
  font-size: 35px !important;
  color: #333333 !important;
  max-width: 90%;
  margin: auto;
  margin-bottom: 40px;
}
.single-post article #primary {
  margin: auto;
  float: none !important;
}
@media only screen and (min-width: 1100px) {
  .single-post article #primary {
    max-width: 90%;
  }
}
.single-post article .entry-title {
  margin-bottom: 0px !important;
}
.single-post article .post-entry-content {
  font-family: Source Sans Pro !important;
  line-height: 150%;
  color: #333333;
}
.single-post article .post-entry-content .left {
  display: inline-block;
  width: 32%;
  padding: 15px;
  background: #00793c;
  border: 1px solid rgba(0, 121, 60, 0.49);
  color: white;
}
.single-post article .post-entry-content .left a {
  color: white;
}
@media only screen and (max-width: 1099px) {
  .single-post article .post-entry-content .left {
    width: 100%;
  }
}
.single-post article .post-entry-content .right {
  display: inline-block;
  width: 65%;
  vertical-align: top;
  left: auto;
  margin-left: 20px;
}
@media only screen and (max-width: 1099px) {
  .single-post article .post-entry-content .right {
    width: 100%;
    margin-left: 0;
    margin-top: 40px;
  }
}
.single-post .p-container {
  max-width: 980px;
}
.single-post article.post .post-big-thumbnail {
  max-width: 980px;
  margin: auto;
  margin-bottom: 70px;
}
.single-post article.post .post-big-thumbnail img {
  max-width: 90%;
  margin: auto;
}
.sub-menu .menu-item {
  background: white;
}
.sub-menu .menu-item a {
  color: #001f33 !important;
  display: inline-block;
  padding: 5px !important;
}
.sub-menu {
  padding-top: 20px !important;
  padding-right: 0px !important;
  padding-bottom: 20px !important;
  padding-left: 20px !important;
  background-color: #ffffff !important;
}
button.mobile-menu-toggle.is-active {
    background: #fff !important;
}
input#yith-s {
  font-size: 14px;
  color: #616161;
  background: #ffffff;
  border-color: #a1a1a1;
  border-radius: 8px;
  border-width: 1px;
  height: 30px !important;
  line-height: normal !important;
  border-style: solid;
  box-shadow: none;
  margin: 0;
  min-width: 220px;
}
input#yith-searchsubmit {
  min-width: 100px;
  background: none;
  color: #333333 !important;
  background: #ffffff !important;
  font-size: 14px !important;
  margin: 0 !important;
  border: none;
  padding: 5px;
  line-height: 20px;
  display: inline-block;
  box-shadow: none;
  height: auto;
  position: relative;
}
#yith-ajaxsearchform {
  position: relative;
}
#yith-ajaxsearchform::before {
  content: '\e902';
  display: block;
  position: absolute;
  right: 85px;
  z-index: 1;
  top: 2px;
  width: 10px;
  height: 10px;
  font-family: 'icomoon' !important;
}
.wishlist-button {  
  margin-right: 30px;
}
.wishlist-button a {
  color: #333333 !important;
  font-size: 14px !important;
}
.wishlist-button a:hover {
  color: #00824c !important;
  font-size: 14px !important;
}
.compare-widget {
  margin-left: auto;
  margin-right: 30px;
}
.yith-woocompare-widget a.compare {
  color: #333333 !important;
  font-size: 14px !important;
  background: none;
  border: none;
  box-shadow: none;
  font-weight: 400;
  line-height: 43px;
  padding: 0;
  margin-bottom: 0;
  text-transform: capitalize;
}
.yith-woocompare-widget a.compare:hover {
  color: #00824c !important;
  background-color: transparent;
  border: none;
  box-shadow: none;
}
.language-switcher, .wpml-ls-legacy-dropdown>ul {
  min-width: 120px;
}
a.add_to_wishlist.single_add_to_wishlist, a.compare.button {
  background: #ededed;
  color: #165789;
  box-shadow: 0 0 0 1px #ededed inset;
  border-radius: 4px;
  line-height: 41px;
  width: 100%;
  text-align: center;
  display: inline-block;
  padding: 0 20px 0 20px;
  margin-bottom: 10px;
}
#yith-woocompare-widget-3 .compare.button {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  box-shadow: none;
  height: auto;
}
.yith-wcwl-wishlistaddedbrowse, .yith-wcwl-wishlistexistsbrowse {
  text-align: center;
  display: block;
  margin-bottom: 10px;
}
a.btn.button.show-title-form {
  height: auto;
  padding: 5px 25px;
  height: auto;
  line-height: initial;
}
.products.columns-4 .product {
  width: calc(100% / 4 - 10px) !important;
}
/*# sourceMappingURL=style.css.map */
/* Dopasowanie Compare do Wishlist */
.compare-widget,
.wishlist-button {
    display: inline-block;
    vertical-align: middle;
}

.compare-widget {
    margin-right: 15px;
}

.compare-widget a,
.wishlist-button a {
    display: inline-block;
    text-decoration: none;
    color: inherit;
    font-size: inherit;
    transition: opacity 0.3s ease;
}

.compare-widget a:hover,
.wishlist-button a:hover {
    opacity: 0.7;
}

/* Ukryj domyślne style YITH */
.compare-widget .compare-button,
.yith-woocompare-open {
    background: none !important;
    border: none !important;
    padding: 5 !important;
    color: inherit !important;
}
span.label {
    font-size: 14px !important;
}
table.compare-list img {
    width: auto !important;
    height: auto !important;
}
/*opisy do compare*/
.add-compare { display: inline-block !important; cursor: pointer !important; }
.add-compare.added { background-color: #4CAF50; color: white; }
/*compare close*/
a.yith-woocompare-popup-close {
    position: absolute;
    top: 5% !important;
    right: 5% !important;
}
.DTFC_LeftBodyLiner {
    overflow-y: hidden !important;
}


/* ================================================================
   MOBILE - UKRYJ VISUAL COMPOSER TOP BAR
   ================================================================ */

@media (max-width: 1099px) {
    .custom-top-bar-class,
    .vc_custom_1538143703766 {
        display: none !important;
    }
}


/* ================================================================
   MOBILE HEADER WRAPPER - FIXED, 2 POZIOMY
   ================================================================ */

.mobile-header-wrapper {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

/* --- Poziom 1: Hamburger + Logo + Language --- */

.mobile-header-top {
    display: flex;
    align-items: center;
    height: 58px;
    padding: 0 12px;
    gap: 8px;
    border-bottom: 1px solid #eee;
}

/* HAMBURGER - wyzerowane wszystkie style zewnętrzne */
.mobile-menu-toggle {
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    all: unset;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: flex-start !important;
    gap: 5px !important;
    width: 36px !important;
    height: 36px !important;
    cursor: pointer !important;
    flex-shrink: 0;
    padding: 5px !important;
    box-sizing: border-box !important;
}

.mobile-menu-toggle span {
    all: unset;
    display: block !important;
    width: 24px !important;
    height: 3px !important;
    background: #333 !important;
    border-radius: 2px !important;
    transition: all 0.3s ease !important;
    transform-origin: center !important;
}

/* Hamburger → X po kliknięciu */
.mobile-menu-toggle.is-active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px) !important;
}
.mobile-menu-toggle.is-active span:nth-child(2) {
    opacity: 0 !important;
    transform: scaleX(0) !important;
}
.mobile-menu-toggle.is-active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px) !important;
}

/* Logo w środku */
.mobile-logo {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.mobile-logo a {
    display: block;
    text-decoration: none;
    color: #333;
    font-weight: bold;
}
.mobile-logo img {
    max-height: 38px;
    width: auto;
    display: block;
}

/* Language Selector - prawa strona, zawsze w granicach ekranu */
.mobile-language-selector {
    flex-shrink: 0;
    position: relative;
    display: flex;
    align-items: center;
}

.mobile-language-selector .wpml-ls {
    padding: 0 !important;
    margin: 0 !important;
}
.mobile-language-selector .wpml-ls-legacy-dropdown,
.mobile-language-selector .wpml-ls-legacy-dropdown-click,
.mobile-language-selector .wpml-ls-statics-shortcode_actions {
    width: auto !important;
    min-width: 0 !important;
}

/* Aktywny język */
.mobile-language-selector .wpml-ls-item-toggle,
.mobile-language-selector .wpml-ls-legacy-dropdown > ul > li > a,
.mobile-language-selector a.wpml-ls-item-toggle {
    font-size: 13px !important;
    padding: 6px 10px !important;
    white-space: nowrap !important;
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
    background: #f5f5f5 !important;
    border-radius: 4px !important;
}

/* DROPDOWN - otwiera się w LEWO, nie wychodzi poza ekran */
.mobile-language-selector .wpml-ls-sub-menu,
.mobile-language-selector .wpml-ls-legacy-dropdown ul ul,
.mobile-language-selector .wpml-ls-legacy-dropdown-click ul ul {
    position: absolute !important;
    top: calc(100% + 4px) !important;
    right: 0 !important;
    left: auto !important;
    min-width: 110px !important;
    background: #fff !important;
    border: 1px solid #ddd !important;
    border-radius: 6px !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
    z-index: 99999 !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 4px 0 !important;
}
.mobile-language-selector .wpml-ls-sub-menu li,
.mobile-language-selector .wpml-ls-legacy-dropdown ul ul li {
    margin: 0 !important;
    padding: 0 !important;
}
.mobile-language-selector .wpml-ls-sub-menu li a,
.mobile-language-selector .wpml-ls-legacy-dropdown ul ul li a {
    display: block !important;
    padding: 8px 14px !important;
    font-size: 13px !important;
    color: #333 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    background: transparent !important;
    border-radius: 0 !important;
}
.mobile-language-selector .wpml-ls-sub-menu li a:hover,
.mobile-language-selector .wpml-ls-legacy-dropdown ul ul li a:hover {
    background: #f5f5f5 !important;
}

/* --- Poziom 2: Search --- */

.mobile-header-search {
    padding: 8px 12px;
    background: #fff;
    position: relative;
}
.mobile-header-search .yith-ajaxsearchform-container,
.mobile-header-search form {
    width: 100% !important;
    margin: 0 !important;
    position: relative;
}
.mobile-header-search input[type="search"],
.mobile-header-search input.yith-s,
.mobile-header-search input#yith-s {
    width: 100% !important;
    min-width: 0 !important;
    padding: 10px 44px 10px 14px !important;
    font-size: 15px !important;
    border: 1px solid #ccc !important;
    border-radius: 6px !important;
    height: auto !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    background: #f9f9f9 !important;
    outline: none !important;
}
.mobile-header-search input[type="search"]:focus,
.mobile-header-search input.yith-s:focus,
.mobile-header-search input#yith-s:focus {
    border-color: #555 !important;
    background: #fff !important;
}
.mobile-header-search button[type="submit"],
.mobile-header-search input[type="submit"],
.mobile-header-search input#yith-searchsubmit {
    position: absolute !important;
    right: 4px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    background: transparent !important;
    border: none !important;
    min-width: 0 !important;
    padding: 8px !important;
    cursor: pointer !important;
    z-index: 1 !important;
    box-shadow: none !important;
}
/* Ikona lupy w search na mobile */
.mobile-header-search #yith-ajaxsearchform::before {
    right: 36px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
}
.mobile-header-search .autocomplete-suggestions {
    max-height: 60vh !important;
    overflow-y: auto !important;
    border: 1px solid #ddd !important;
    border-top: none !important;
    background: #fff !important;
    z-index: 99998 !important;
}


/* ================================================================
   MOBILE NAV SIDEBAR - niezależny od #masthead
   ================================================================ */

.mobile-nav-sidebar {
    position: fixed;
    top: 110px;           /* 58px header + 52px search */
    left: -100%;
    width: 80%;
    max-width: 300px;
    height: calc(100vh - 110px);
    background: #fff;
    z-index: 9999;
    overflow-y: auto;
    transition: left 0.3s ease;
    -webkit-overflow-scrolling: touch;
}
.mobile-nav-sidebar.is-open {
    left: 0;
    box-shadow: 4px 0 20px rgba(0,0,0,0.25);
}
.mobile-nav-sidebar-inner {
    padding: 10px 0 40px;
}

/* Styl menu w sidebarze */
.mobile-nav-menu {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}
.mobile-nav-menu li {
    margin: 0 !important;
    padding: 0 !important;
    border-bottom: 1px solid #f0f0f0;
}
.mobile-nav-menu > li > a {
    display: block !important;
    padding: 15px 20px !important;
    color: #333 !important;
    text-decoration: none !important;
    font-size: 15px !important;
    font-weight: 500;
    transition: background 0.15s;
}
.mobile-nav-menu > li > a:hover {
    background: #f5f5f5 !important;
}
/* Submenu */
.mobile-nav-menu .sub-menu {
    display: none;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #f9f9f9;
}
.mobile-nav-menu .sub-menu.is-open {
    display: block;
}
.mobile-nav-menu .sub-menu li a {
    display: block !important;
    padding: 11px 20px 11px 36px !important;
    font-size: 14px !important;
    color: #005487 !important;
    text-decoration: none !important;
    border-bottom: 1px solid #efefef;
}
.mobile-nav-menu .sub-menu li a:hover {
    background: #efefef !important;
}
/* Strzałka przy elementach z submenu */
.mobile-nav-menu .menu-item-has-children > a {
    position: relative;
}
.mobile-nav-menu .menu-item-has-children > a::after {
    content: '▸';
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 11px;
    color: #999;
    transition: transform 0.2s;
}
.mobile-nav-menu .menu-item-has-children.is-open > a::after {
    transform: translateY(-50%) rotate(90deg);
}


/* ================================================================
   OVERLAY
   ================================================================ */

.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.55);
    z-index: 9998;
    cursor: pointer;
}
.mobile-menu-overlay.is-visible {
    display: block;
}
body.mobile-nav-open {
    overflow: hidden;
}


/* ================================================================
   MOBILE BOTTOM BAR - zachowany Twój styl (prawy róg, 33%)
   ================================================================ */

.mobile-bottom-bar {
    position: fixed;
    bottom: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.15);
    z-index: 9999;
    border: 1px solid #a7a6a6;
    width: 33%;
    display: flex !important;
    justify-content: flex-end;
    border-top-right-radius: 0px;
    border-top-left-radius: 10px;
}

.mobile-bottom-bar-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    gap: 0px;
}

.mobile-bar-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-decoration: none;
    color: #333;
    padding: 5px 15px;
    transition: all 0.3s ease;
    min-width: 80px;
    text-align: center;
}
.mobile-bar-item:hover,
.mobile-bar-item:focus {
    color: #00793c;
    transform: translateY(-2px);
}
.mobile-bar-item svg {
    width: 26px;
    height: 26px;
    stroke-width: 2;
}
.mobile-bar-item span {
    font-size: 11px;
    font-weight: 500;
    line-height: 1.2;
}


/* ================================================================
   YITH COMPARE PREVIEW BAR - nad bottom bar
   Używa dokładnej klasy #yith-woocompare-preview-bar
   ================================================================ */

@media (max-width: 1099px) {

    /* Pasek preview compare - przesuń nad bottom bar */
    #yith-woocompare-preview-bar {
        bottom: 0px !important;  /* wysokość bottom bar + margines */
        z-index: 9997 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        height: 60px !important;
    }

    #yith-woocompare-preview-bar .container {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        height: 100%;
    }

    #yith-woocompare-preview-bar .content {
        flex: 1;
        width: 60%;
    }

    #yith-woocompare-preview-bar footer {
        display: none;
    }

    /* Stary floating widget compare - też przesuń */
    .yith-woocompare-widget,
    body .yith-woocompare-widget {
        bottom: 65px !important;
        z-index: 9997 !important;
    }
    button:not(.vc_general):not(.pswp__button), a.button, input[type=submit], .wc-forward {
    color: #000000 !important;
    }
}


/* ================================================================
   MEDIA QUERIES - MOBILE
   ================================================================ */

@media (max-width: 1099px) {

    /* Pokaż mobile header */
    .mobile-header-wrapper {
        display: block;
    }

    /* Pokaż bottom bar */
    .mobile-bottom-bar {
        display: flex !important;
    }

    /* Przestrzeń na 2-poziomowy header (58px + 52px) i bottom bar */
    body {
        padding-top: 110px !important;
        padding-bottom: 60px !important;
    }

    #content, .site-content {
        padding-top: 0 !important;
    }

    /* UKRYJ oryginalny #masthead z parent theme na mobile */
    /* (zamiast niego działa .mobile-nav-sidebar) */
    #masthead,
    header#masthead {
        display: none !important;
    }

    /* Ukryj VC top bar */
    .custom-top-bar-class {
        display: none !important;
    }
}


/* ================================================================
   DESKTOP - przywróć normalny wygląd
   ================================================================ */

@media (min-width: 1099px) {
    .mobile-header-wrapper,
    .mobile-bottom-bar,
    .mobile-nav-sidebar,
    .mobile-menu-overlay {
        display: none !important;
    }
    body {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }
    #masthead,
    header#masthead {
        display: block !important;
    }
}


/* ================================================================
   ANIMACJE I ACCESSIBILITY
   ================================================================ */

@keyframes slideInUp {
    from { transform: translateY(100%); opacity: 0; }
    to   { transform: translateY(0);    opacity: 1; }
}
.mobile-bottom-bar {
    animation: slideInUp 0.3s ease-out;
}
button.mobile-menu-toggle {
    background: #fff !important;
}
button:not(.vc_general):not(.pswp__button){
    background: #fff !important;
}
.mobile-menu-toggle:focus {
    outline: 2px solid #00793c !important;
    outline-offset: 2px !important;
}
.mobile-bar-item:focus {
    outline: 2px solid #00793c;
    outline-offset: 2px;
}

@media print {
    .mobile-header-wrapper,
    .mobile-bottom-bar,
    .mobile-nav-sidebar,
    .mobile-menu-overlay {
        display: none !important;
    }
}
button:not(.vc_general):not(.pswp__button) {
    color: #5472d2 !important;
}