
/*---------base-domain-css---------------*/

body {
  margin: 0;
  font-family: system-ui, sans-serif;
  color: #222;

}
html {
  scroll-behavior: smooth;
}
.in-stock {
  display: none;
}
/*docasne*/
.docasny {
  height: 200px;
}
.docasny-div {
  width: 30%;
  
}
/* Reset všetkých <a> štýlov */
a {
  color: inherit;
  text-decoration: none;
  background: none;
}
p {
    margin: 0; 
    padding: 0;
    display: block; 
}
h1, h2, h3, h4, h5, h6 {
  margin: 0;
  padding: 0;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}
img {
    max-width: 100%;
    height: auto;
    display: block;
}
.qty-input::-webkit-inner-spin-button,
.qty-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.qty-input {
    -moz-appearance: textfield;
}

.pismo {
  font-family: Arial, sans-serif;
  line-height: 1.5em;
}

.nadpis41 {font-size: clamp(29px, 3vw, 41px);}
.nadpis36 {font-size: clamp(30px, 3vw, 36px);}
.nadpis30 {font-size: clamp(25px, 3vw, 30px);}
.nadpis25 {font-size: clamp(20px, 3vw, 25px);}
h2 {
    font-size: 23px;
}
h3 {
    font-size: 20px;
}
.padding-10-20{
  padding: 7px 20px;
  box-sizing: border-box;
}
.biely-border1 {
  border: 1px solid white;
  box-sizing: border-box;
}
.biely-border2 {
  border: 2px solid white;
  box-sizing: border-box;
}
.biely-border3 {
  border: 3px solid white;
  box-sizing: border-box;
}
.biely-border4 {
  border: 4px solid white;
  box-sizing: border-box;
}
.biely-border4-rbl {
  border-right: 4px solid white;
  border-bottom: 4px solid white;
  border-left: 4px solid white;
  box-sizing: border-box;
}
.biely-border4-rtl {
  border-right: 4px solid white;
  border-top: 4px solid white;
  border-left: 4px solid white;
  box-sizing: border-box;
}
.border-radius20 {
  border-radius: 20px;
}
.max-width1000 {
  max-width: 1000px;
}
.width-fit {
  width: fit-content;
}

/*-----------pozadie base-----------------------*/
html, body {
    /* height: 100%; */
    background-image: url('/wp-content/uploads/2025/11/Pozadie-line-1.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    image-rendering: optimizeQuality;
}

/*-------------colors--------------------*/

/*farby*/
.cierna {
  color: black;
}
.cierna-pozadie {
  background-color: black;
}
.cierna80-pozadie {
  background-color: rgba(0, 0, 0, 0.8);
}
.cierna2 {
  color: #2F2F2F;
}
.cierna2-pozadie {
  background-color: #2F2F2F;
}
.cierna3-pozadie {
  background-color: #1d1d1d;
}
.biela {
  color: white;
}
.biela-pozadie {
  background-color: white;
}
.biela80-pozadie {
  background-color: rgba(255, 255, 255, 0.8);
}
.seda {
  color: #EAEAEA;
}
.seda-pozadie {
  background-color: #EAEAEA;
}
.seda2 {
  color: #9C9C9C;
}
.seda80-pozadie {
  background-color: #EAEAEA;
}
.zelena {
  color: #057D29;
}
.zelena-pozadie {
  background-color: #057D29;
}
.cervena {
  color: red;
}
.cervena-pozadie {
  background-color: red;
}
.zelena80-pozadie {
  background-color: #00933e;
}

/*
---------------
--------------------HEADER----------------------
---------------
*/
.site-header {
  /* position: absolute;
  top: 0px; */
}

.ikona-header {
  max-width: 50px!important;
  width: 100%!important;
  height: auto!important;
  cursor: pointer;
}
@media (max-width: 575px) {
  .ikona-header {
    max-width: 30px!important;
  }
}
.ikona-header2 {
    max-width: 47px;
    width: 100%;
    height: auto;
    margin-top: -4px;
    cursor: pointer;
}
@media (max-width: 575px) {
  .ikona-header2 {
    max-width: 26px;
    margin-top: 0px;
  }
}
@media (max-width: 575px) {
  .gglobe {
    width: 40px!important;
    height: 40px!important;
  }
}
.polo-header {
    width: 36%;
    height: 237px;
    border-bottom-left-radius: 500px;
    border-bottom-right-radius: 500px;
    /* transform: rotate(-180deg); */
    outline: 4px solid white;
    border-bottom: 0;
}
.polo-header2 {
    width: 36%;
    height: 237px;
    border-top-left-radius: 500px;
    border-top-right-radius: 500px;
    /* transform: rotate(-180deg); */
    outline: 4px solid white;
    border-top: 0;
}

@media (max-width: 1200px) {
  .polo-header, 
  .polo-header2 {
    height: 180px;
  }
}
@media (max-width: 850px) {
  .polo-header, 
  .polo-header2  {
    height: 140px;
  }
}
@media (max-width: 620px) {
  .polo-header, 
  .polo-header2  {
    height: 150px;
    width: 50%;
  }
}
@media (max-width: 500px) {
  .polo-header, 
  .polo-header2  {
    height: 115px;
  
  }
}
@media (max-width: 400px) {
  .polo-header, 
  .polo-header2  {
    height: 100px;
   
  }
}



/*
---------------
--------------------HOMEPAGE----------------------
---------------
*/

.hero-section {
    position: relative;
    width: 100%;
    height: 600px;               /* nastav podľa potreby */
    display: flex;
    justify-content: center;
    align-items: center;
    /* background-image: url("/wp-content/uploads/grass.jpg"); */
    background-size: cover;
    background-position: center;
}

/* horizontálna čiara */
.line {
    position: absolute;
    width: 100%;
    height: 4px;
    background: white;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.8;
}

/* veľký kruh */
.circle {
    position: relative;
    width: 450px;
    height: 450px;
    background: #057D29;     /* zelená */
    border-radius: 50%;
    border: 5px solid white;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    color: white;
    gap: 10px;
}

/* tlačidlo */
.circle .btn {
    display: inline-block;
    margin-top: 30px;
    padding: 10px 25px;
    border: 4px solid white;
    border-radius: 20px;
    color: white;
    text-decoration: none;
    font-size: 14px;
    transition: 0.2s;
    width: fit-content;
    text-align: center;
    align-self: center;
}

.circle .btn:hover {
    background: white;
    color: #057D29;
}

/* responzívny kruh */
@media (max-width: 575px) {
    .circle {
        width: 300px;
        height: 300px;
        padding: 20px;
    }
}


/*
---------------
--------------------PRODUCT PAGE----------------------
---------------
*/
.product-thumbs-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.product-thumbs {
    display: flex;
    width: 100%;
    gap: 30px;
    margin-bottom: 20px;
}

.product-thumb-item {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: white;
    border-radius: 20px;
}

.product-thumb {
    width: 100%;
    cursor: pointer;
    transition: opacity 0.2s ease;
    /* aspect-ratio: 1 / 1; */
    height: 100%;
    object-fit: contain;
    opacity: 0.5;
}

.product-thumb:hover {
    opacity: 0.7;
}

/* Aktivna miniatura */
.product-thumb.active-thumb {
    opacity: 1;
}

/* Hlavný obrázok */
.product-gallery-swiper {
    width: 100%;
    margin: auto;
    height: 100%;
    text-align: center;
}

.product-gallery-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 20px;
    background-color: white;
}
.qty-box {
    display: flex;
    align-items: center;
    gap: 0; /* ZRUŠIŤ medzery */
}

.qty-minus,
.qty-plus,
.qty-input {
    height: 30px;           /* rovnaká výška */
    padding: 0 14px;        /* horizontálny padding */
    box-sizing: border-box;
}

.qty-minus,
.qty-plus {
    background-color: #057D29;
    border: 2px solid white;
    color: white;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
}

.qty-input {
    background-color: #057D29;
    border-top: 2px solid white;
    border-bottom: 2px solid white;
    border-left: 0;
    border-right: 0;
    font-size: 15px;
    font-weight: 600;
    color: white;
    text-align: center;
    width: 60px; /* fixná šírka aby neskákalo */
}
/*
---------------
--------------------ARCHIVE-PRODUCT----------------------
---------------
*/
.produkty-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}
@media (max-width: 1320px) {
  .produkty-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 1100px) {
  .produkty-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 800px) {
  .produkty-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
}

/*
---------------
--------------------MINI-CART----------------------
---------------
*/


#mini-cart-wrapper {
    position: fixed;
    top: 0;
    right: 0;
    width: 350px;
    height: 100vh;
    max-height: 100vh;
    z-index: 1000;
    background-color: white;
    transform: translateX(100%);
    transition: transform 0.3s ease-out;
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    padding: 0 !important; /* FIX 1 */
    overflow: hidden;
    
}
@media (max-width: 450px) {
  #mini-cart-wrapper {
    width: 80%;
  }
}

#mini-cart-wrapper.visible {
    transform: translateX(0);
}


/* =================================================================== */
/* === 2. VNÚTORNÝ OBAL (musí mať padding a Fix overflow) === */
/* =================================================================== */

#mini-cart-wrapper .custom-mini-cart-container {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: visible !important;
    width: 100%;
    max-height: 97vh;
    box-sizing: border-box;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 30px;
}


/* =================================================================== */
/* === 3. SCROLL ZÓNA (len položky sa scrolujú) === */
/* =================================================================== */

.woocommerce-mini-cart-wrapper {
    flex: 1;
    overflow-y: auto;
    padding-bottom: 15px;

    padding-right: 10px;
    margin-right: -10px; /* scroll fix */
}


/* =================================================================== */
/* === 4. FIXNÁ PÄTA (subtotal + tlačidlá) === */
/* =================================================================== */

.wc-spodok {
    flex-shrink: 0;
    border-top: 1px solid #eee;
    background-color: white;

    padding-top: 12px;
    margin-top: 10px;

    display: flex;
    flex-direction: column;
    gap: 10px;
}


/* =================================================================== */
/* === 5. MINI CART ITEM ŠTÝLY (pôvodné) === */
/* =================================================================== */

.new-price {
  margin-left: 5px;
}
.old-price {
    text-decoration: line-through;
    opacity: 0.7;
}

.woocommerce-mini-cart-total {
    text-align: right;
    margin-bottom: 10px;
}

.woocommerce-mini-cart-buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.woocommerce-mini-cart-buttons a.button {
    text-align: center;
    padding: 10px 14px;
    background-color: #00933e;
    color: white;
    font-size: 15px;
    text-decoration: none;
}

.mini-cart-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 8px;
    border-radius: 8px;
    transition: background 0.2s ease;
}

.mini-cart-item:hover {
    background: rgba(0,0,0,0.03);
}

.mini-cart-thumb img {
    width: 60px;
    height: auto;
    display: block;
}

.mini-cart-info {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.mini-cart-title-link {
    text-decoration: none;
}
.mini-cart-title-link:hover .mini-cart-title {
    text-decoration: underline;
}

.mini-cart-title {
    line-height: 1.3;
    margin-bottom: 4px;
}

.mini-cart-price {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 14px;
}
.regular-price {
    font-weight: 600;
}

.mini-cart-variation {
    margin-top: 6px;
    font-size: 13px;
    color: #333;
}
.variant-label {
    font-weight: 600;
}
.variant-value {
    margin-left: 2px;
    text-transform: uppercase;
}

.remove_from_cart_button {
    display: inline-block;
    margin-top: 8px;
    font-size: 13px;
    color: #555;
    text-decoration: underline;
    text-underline-offset: 2px;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

.mini-cart-total-item {
    font-weight: 600;
    color: #111;
    font-size: 14px;
    min-width: 70px;
    text-align: right;
    align-self: flex-start;
}

.close-mini-cart-wr {
    position: absolute;
    top: 0px;
    left: 9px;
    font-size: 26px;
}

.added_to_cart {
  display: none;
}


/*
---------------
--------------------CART----------------------
---------------
*/

/*
---------------
--------------------CHECKOUT----------------------
---------------
*/




/*
-
---------------------SEARCH---------------------
-
*/
.custom-search-form {
    display: flex;
    align-items: center;
    background-color: #f4f4f4;
    border-radius: 40px;
    padding: 0px 12px;
    width: 60%;
    max-width: 800px;
    position: relative;
}

.custom-search-form input[type="text"] {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 15px;
    padding: 8px;
    outline: none;
    font-weight: 600;
    width: 100%;
}
@media (max-width: 575px) {
  .custom-search-form input[type="text"] { 
    font-size: 10px;
  }
}

.custom-search-form input::placeholder {
    color: #B8B8B8;
}

.custom-search-form .search-submit {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: #1f1f1f;
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-search-form .search-submit svg {
    width: 18px;
    height: 18px;
}
/*LIVE SEARCH*/
.live-search-results {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    border: 1px solid #ddd;
    z-index: 9999;
    display: none;
    max-height: 300px;
    overflow-y: auto;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.live-search-item {
    padding: 10px 15px;
    border-bottom: 1px solid #eee;
}

.live-search-item:last-child {
    border-bottom: none;
}

.live-search-item a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
    color: #333;
}

.live-search-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.live-search-left img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 4px;
}

.live-search-left .product-title {
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

.live-search-price {
    font-size: 14px;
    font-weight: 600;
    color: black; 
    white-space: nowrap;
}


/*tets content poroduct -*/


.cart2 {
  fill: white;
  width: 20px;
  height: 20px;
}


/*swiper*/
.produkt-obrazok {
    background-color: white;
    border-radius: 20px;
    margin: 15px;
    box-sizing: border-box;
     aspect-ratio: 1 / 1;
         max-width: 100%;
    
}
.produkt-obrazok img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
}




.shop-add-button {
    background: #057D29; 
    color: #fff;
    padding: 7px 14px;
    font-size: 15px;
    width: 60%;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    border: none;
    cursor: pointer;
    border-radius: 20px;
    border: 2px solid white;
}
@media (max-width: 767px) {
  .shop-add-button {
    width: 100%;
  }
}
.swiper-new,
.swiper-similarly {
    width: 100%;
}
.swiper-container-kategorie {
    width: 100%;
    overflow: hidden; /* odporúčané, aby nič nepretieklo */
}

.swiper-wrapper {
    display: flex;
    transition-property: transform;
    box-sizing: content-box;
}

.swiper-slide {
    flex-shrink: 0;
    width: auto; /* bude určené podľa slidesPerView */
    box-sizing: border-box;
}

/*FOOTER*/
@media (max-width: 1130px) {
  .logo-footer {
    max-width: 310px;
  }
}
@media (max-width: 1060px) {
  .logo-footer {
    max-width: 260px;
  }
}
@media (max-width: 860px) {
  .logo-footer {
    max-width: 200px;
  }
}
@media (max-width: 650px) {
  .logo-footer {
    max-width: 170px;
  }
}
@media (max-width: 420px) {
  .logo-footer {
    max-width: 150px;
  }
}
@media (max-width: 380px) {
  .logo-footer {
    max-width: 120px;
  }
}
.footer-kontakt-box {
 padding: 20px;
 
}

.kontakt-row {
    display: flex;
    align-items: center;       /* ikonka + text na jednej úrovni */
    gap: 12px;                 /* medzera medzi ikonou a textom */
}

.ikona-footer {
    width: 28px;
    height: 28px;
    object-fit: contain;       /* všetky ikony rovnaká veľkosť */
}
.ikona2-footer {
  width: 40px;
  height: auto;
  object-fit: contain;
}
.kontakt-text {
    margin: 0;
    line-height: 1.4;
}


/*
-
----------------blog---------------
*/
.nahladovy-obrazok img {
  border-radius: 20px;
}

/*

KOSIK HLAVNY

*/
.wc-block-components-sidebar-layout.wc-block-cart {
    padding-top: 0;
    background-color: #057D29;
    border: 2px solid white;
    border-radius: 20px;
    color: white;
    /* border: white; */
    margin-left: 10px;
    margin-right: 10px;
    box-sizing: border-box;
    padding-left: 10px;
    padding-right: 10px;
    margin-top: 10px;
}
.container {
      color: white;
    margin-top: 10px;
    margin-bottom: 10px;
}
.wc-block-cart .wc-block-cart__submit-container {
    padding: 0;
    border: 2px solid white;
    border-radius: 20px;
}
/*pokladna*/
.wc-block-components-sidebar-layout {
    padding-top: 0;
    background-color: #057D29;
    border: 2px solid white;
    border-radius: 20px;
    color: white;
    /* border: white; */
    margin-left: 10px;
    margin-right: 10px;
    box-sizing: border-box;
    padding-left: 10px;
    padding-right: 10px;
    margin-top: 10px;
}
.wp-block-woocommerce-checkout-order-summary-block {
    border: 1px solid white!important;
}
.wc-block-components-totals-wrapper {
  border-top: 1px solid white!important;
}

/*kontakt*/

.kon1, 
.kon2 {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;              
  
}

/* spoločný štýl pre čiary */
.kon1::before,
.kon1::after, 
.kon2::before,
.kon2::after {
    content: "";
    flex: 1;                   /* natiahne čiary do strán */
    height: 2px;
    background: white;       /* farba čiary ako na obrázku */
}
.ikona-kontakt {
  fill: white;
  width: 40px;
  height: 48px;
}
.height-auto {
  height: auto;
}
.fsx5 {align-items: stretch;}
.fop5 {flex: 1;}