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

body {
  margin: 0;
  font-family: system-ui, sans-serif;
  color: #222;
  background-color: #fff;
}
html {
  scroll-behavior: smooth;
}
.in-stock {
  display: none;
}

/* 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 {
    margin: 0;
    padding: 0;
    overflow: hidden;    
}
.container {
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
  padding-top: 40px;
  padding-bottom: 40px;
}

.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;
}
.fix-slider {
  padding-top: 180px;
}
@media (max-width: 767px) {
  .fix-slider {
    padding-top: 140px
  }
}
/*-------------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: #00933e;
}
.zelena-pozadie {
  background-color: #00933e;
}
.cervena {
  color: red;
}
.cervena-pozadie {
  background-color: red;
}
.zelena80-pozadie {
  background-color: #00933e;
}
/*----header-----*/
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
}
.site-header2 {
  z-index: 999;
  width: 100%;
}

body {
  margin-top: 0;
}
.logo-header {
  width: 120px;
  height: auto;
}

.burger-menu {
  color: white;
  font-size: 45px;
  cursor: pointer;
}
.cart, 
.account {
  width: 45px;
  cursor: pointer;
}

.topbar {
  font-size: 13px;
}
@media (max-width: 767px) {
  .topbar {
    display: none!important;
  }
}
.menu-div {
  position: fixed;
  top: 0;
  left: 0;
  width: 40%;
  height: 100%;
  background-color: rgba(255, 255, 255, 1);
  box-shadow: 2px 0 8px rgba(0,0,0,0.2);
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  z-index: 1000;
  overflow-y: auto;
}
@media (max-width: 665px) {
  .menu-div {
    width: 60%;
  }
}
@media (max-width: 440px) {
  .menu-div {
    width: 80%;
  }
}

.menu-div.open {
  transform: translateX(0);
}
.menu-close-filter {
  position: absolute;
  top: 20px;
  right: 10px;
  font-size: 27px;
  cursor: pointer;
}
.menu-close-filter svg {
  width: 24px;
  height: 24px;
}
.pismo-menu {
  color: #000;
  transition: all 0.3s ease;
  cursor: pointer;
}

.pismo-menu:hover {
  color: #00933e;
}
.kl8 {
  border-top: 1px solid rgb(226, 226, 226);
}
/*---menu div+btn----*/

/*--------------------SEARCH--------------------*/
.custom-search-form {
    display: flex;
    align-items: center;
    background-color: #f4f4f4;
    border-radius: 40px;
    padding: 0px 12px;
    width: 100%;
    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;
}

.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;
}
/*------smart slider------*/
.container-smart-custom > .n2-ss-section-main-content {
  gap: 10px;
}
/*-------homepage-----*/
.cat1, 
.cat2, 
.cat3 {
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    font-weight: bold;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
    min-height: 200px; /* voliteľná výška, môžeš upraviť */
    aspect-ratio: 6/5;
    align-content: center;
}
.cat1 {
      background-image: url('/wp-content/uploads/2025/11/cat1.jpg');
}
.cat2 {
    background-image: url('/wp-content/uploads/2025/11/cat2.jpg');
}
.cat3 {
    background-image: url('/wp-content/uploads/2025/11/cat3.jpg');
}
.border-radius20 {
  border-radius: 20px;
}
.border-radius10 {
  border-radius: 10px;
}
.text33 {
  font-size: 33px;
}
@media (max-width: 1055px) {
  .text33 {
    font-size: 27px;
  }
}
@media (max-width: 874px) {
  .text33 {
    font-size: 23px;
  }
}

/*swiper*/
.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--------------*/
.logo-footer {
  width: 100px;
  height: auto;
}
.img-thumbnail {
  max-width: 200px;
  cursor: pointer;
  border-radius: 6px;
}

/* Lightbox základ */
#custom-lightbox {
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
}

#custom-lightbox.lightbox-hidden {
  display: none;
}

.lightbox-content {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
}

/* Krížik zatvorenia */
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  z-index: 10000;
}




.sticky-start {
    opacity: 0;
    visibility: hidden;
    transition: margin-top 0.2s ease, opacity 0.3s ease;
}
.sticky-start.sticky-ready {
    opacity: 1;
    visibility: visible;
}
/*---CONTENT PRODUCT---*/
.produkt-obrazok img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
}

/*-qty +btn */
.add-to-cart-grid {
    display: flex;
    align-items: center;
    gap: 12px;
}

.qty-box {
    display: flex;
    /* align-items: center; */
    border: 1px solid black;
    /* border-radius: 6px; */
    overflow: hidden;
    height: 100%;
}

.qty-box button {
    background: #eee;
    border: none;
    padding: 7px 5px;
    font-size: 16px;
    cursor: pointer;
        font-weight: 600;
}

.qty-input {
    width: 40px;
    text-align: center;
    border: none;
    outline: none;
    font-size: 14px;
    padding: 6px;
    padding-block: 0px !important;
    padding-inline: 0px !important;
}
@media (max-width: 420px) {
  .qty-input {
    width: 28px;
  }
}
.qty-input::-webkit-inner-spin-button,
.qty-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.qty-input {
    -moz-appearance: textfield;
}
.qty-box button,
.qty-box .qty-input {
    flex: 1;
}

.shop-add-button {
    background: #2e7d32; /* alebo tvoja zelena */
    color: #fff;
    padding: 7px 14px;
    /* border-radius: 6px; */
    font-size: 15px;
    width: 100%;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    border: none;
    cursor: pointer;
}

.variant-button {
    background: #2e7d32; /* alebo tvoja zelena */
    color: #fff;
    padding: 7px 14px;
    /* border-radius: 6px; */
    font-size: 15px;
    width: 100%;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    border: none;
    cursor: pointer;
}
.cart2 {
  fill: white;
  width: 20px;
  height: 20px;
}
@media (max-width: 400px) {
  .btn-qty-content {
    flex-direction: column!important;
    align-items: center;
  }
}
.div-btn-qty {
  width: 100%!important;
}
@media (max-width: 400px) {
  .text-btn-qty {
    font-size: 11px!important;
  }
}
@media (max-width: 400px) {
  .text-btn-qty2 {
    font-size: 14px!important;
  }
}
/*------SHOP PAGE-----*/
/*produkt content - archive*/
.produkty-grid {
    display: grid;
    grid-template-columns: repeat(5, 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;
  }
}
.oddelovac {

  border-top: 0.5px solid #cdcdcd;
}

/* =================================================================== */
/* === 1. HLAVNÝ MINI CART PANEL === */
/* =================================================================== */

#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;
}


/*-------------SINGLE PRODUCT-----------------*/
.gc-hide-cart {
    display: none !important;
}
.zelena-pozadie2 {
  background-color: #2e7d32;
}

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

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

.product-thumb-item {
    display: flex;
    justify-content: center;
    align-items: center;
}

.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%; */
    height: auto;
    object-fit: contain;
    border-radius: 8px;
}
.tlacidlo-produkt-uprav {
    background-color: red;
    border: 1px solid red;
    color: white;
    font-size: 23px;
    padding: 7px;
    margin-top: 10px;
    margin-bottom: 10px;
    display: flex;
    width: fit-content;
}


/*---qty single product */
.gc-qty-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.gc-qty-minus,
.gc-qty-plus {
    width: 36px;
    height: 36px;
    background: #eee;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

.gc-qty-input {
    width: 60px;
    text-align: center;
}

.gc-add-to-cart {
    margin-top: 20px;
}
.produkt-obrazok {
  object-fit: contain;
  aspect-ratio: 1/1;
}


/*-tabulka variable-*/
.border1 {
  border: 1px solid black;
  background-color: white;
  padding-top: 3px;
  padding-bottom: 10px;
}
.fx5 {
  gap: 5px;
    text-align: center;
}
.border2 {
  border: 1px solid black;
}
.border3 {
  border-top: 1px solid black;
  border-bottom: 1px solid black;
  border-right: 1px solid black;
}
.btn-pridat-kosik {
  width: 100%;
  background-color: #00933e;
  color: white;
  height: 100%;
  border: 1px solid #00933e!important;
  cursor: pointer;
}
.btn-pridat-kosik svg {
    transition: transform 0.25s ease;
    transform-origin: center center;
}

.btn-pridat-kosik:hover svg {
    transform: scale(1.2);
}

.btn10 {
  padding-top: 10px;
  padding-bottom: 10px;
}
.spolocny-div-simple {
  /* max-width: 415px; */
}

@media (max-width: 1200px) and (min-width: 950px) {
  .text-mobile11 {
    font-size: 13px;
  }
}
@media (max-width: 949px) and (min-width: 767px) {
  .text-mobile11 {
    font-size: 12px;
  }
}

@media (max-width: 766px) and (min-width: 500px) {
  .text-mobile11 {
  font-size: 13px;
  }
}
@media (max-width: 499px) and (min-width: 410px) {
  .text-mobile11 {
  font-size: 12px;
  }
}
@media (max-width: 410px) and (min-width: 1px) {
  .text-mobile11 {
  font-size: 11px;
  }
}

@media (max-width: 1000px) {
.gap0px {
  gap: 0px!important;
 } 
}
.fx6 {
  width: fit-content;
}
/*-----SWIPER---*/
.swiper-similarly {
  width: 100%;
}
.swiper-button-prev, 
.swiper-button-next {
  color: black!important;
}
.swiper-obrazky-next, 
.swiper-obrazky-prev {
  color: white!important;
}
/*
-----------------------
------kategorie--------
*/
/* GRID WRAPPER */
.product-cat-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* dôležité — centrovanie posledného riadku */
    gap: 30px;
    justify-self: center;
}

/* Default (desktop 900px+) — 4 na riadok */
.gc-cat-box {
    /* width: calc(25% - 30px);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center; */
        width: calc(25% - 30px);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
}

/* Tablet: 900px až 575px — 3 na riadok */
@media (max-width: 900px) {
    .gc-cat-box {
        width: calc(33.333% - 30px);
    }
}

/* Mobil: 575px a menej — 2 na riadok */
@media (max-width: 575px) {
    .gc-cat-box {
        width: calc(50% - 30px);
    }
}

/* Odkaz */
.gc-cat-link {
    display: block;
    width: 100%;
    color: inherit;
    text-decoration: none;
}

/* Obrázok */
/* .gc-cat-img-wr {
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
}

.gc-cat-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    aspect-ratio: 1 / 1;
    display: block;
    
} */
.gc-cat-img-wr {
    position: relative;
    overflow: hidden;
}

.gc-cat-img-wr::after {
    content: "";
    position: absolute;
    inset: 0;                 /* top:0; right:0; bottom:0; left:0 */
    background: rgba(0, 0, 0, 0.2);  /* 80% čierny overlay */
    pointer-events: none;    /* overlay neblokuje kliknutie */
    z-index: 2;
}

.gc-cat-img {
    width: 100%;
    height: auto;
    display: block;
    z-index: 1;
    position: relative;
        aspect-ratio: 1 / 1;
    object-fit: cover;
}


/* Nadpis */
.gc-cat-title {
    /* font-size: 18px;
    font-weight: 600;
    position: relative;
    display: inline-block;
    transition: transform .3s ease; */
    font-size: 18px;
    font-weight: 600;
    position: absolute;
    top: 50%;
    text-align: center;
    left: 50%;
    transition: transform .3s ease;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: 800;
    z-index: 3;
}

/* Podčiarknutie (skryté na začiatku) */
.gc-cat-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0%;
    height: 2px;
    background: currentColor;
    transition: width .3s ease;
}

/* Hover efekt: scale + underline */
.gc-cat-box:hover .gc-cat-title {
    /* transform: scale(1.05); */
}

.gc-cat-box:hover .gc-cat-title::after {
    width: 100%;
}
/*TEST KATEGORIE*/
/* Wrapper každého slide */
/* === NOVÝ DIZAJN PRE SLIDER — BEZ ZÁSAHU DO PÔVODNÝCH CSS === */

.cat-slide-box2 {
    position: relative;
    width: 100%;
    text-align: center;
}

/* Obrázok wrapper */
.cat-slide-img-wr2 {
    position: relative;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 12px;
}

/* Overlay */
.cat-slide-img-wr2::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.2);
    pointer-events: none;
    z-index: 2;
}

/* Obrázok vo vnútri */
.cat-slide-img2 {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: relative;
    z-index: 1;
}

/* Nadpis v strede obrázka */
.cat-slide-title2 {
    font-size: 18px;
    font-weight: 800;
    color: white;
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
}

/* Underline animácia */
.cat-slide-title2::after {
    content: "";
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0%;
    height: 2px;
    background: currentColor;
    transition: width .3s ease;
}

/* Hover efekt */
.cat-slide-box2:hover .cat-slide-title2::after {
    width: 100%;
}


/*o-nas----*/
.img-ikona-o-nas {
  width: 110px;
  height: auto;
}

/*------kontakt-*/
.ikona-kontakt {
  font-size: 40px;
}

/*-----eu grant----*/
.eu-grant-obrazok {
  width: 100%;
  height: auto;
}
.sipka-zelena {
  color: #00933e;
  font-size: 100px;
  font-weight: 800;
}
.btn-eu {
  padding: 10px 20px;
  max-width: 150px;
  transition: all 0.3s ease;
  cursor: pointer;
}
.btn-eu:hover {
  transform: scale(1.1);
}

/*-----pravne stranky----*/
.fk8 {
  padding-top: 10px;
}
/*----lesna-technika-----*/
.traktor-lesna-technika {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
}
.cerveny-btn {
  background-color: red;
  width: fit-content;
  justify-self: center;
  padding: 7px 20px;
  margin-top: 10px;
  transition: all 0.3s ease;
}
.cerveny-btn:hover {
  transform: scale(1.1);
}
.limit-na-dva {
    display: -webkit-box;
    -webkit-line-clamp: 2;      /* maximum riadkov */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.fr8 {
  padding: 10px;
  border: 2px solid black;
}
.btn-traktor1 {
  transition: all 0.3s ease;
}
.btn-traktor1:hover {
  transform: scale(1.1);
}
.swiper-galeria-traktor img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 6px;
    aspect-ratio: 4 / 3;
    object-fit: contain;
}
.swiper-galeria-traktor-next, 
.swiper-galeria-traktor-prev {
  color: white!important;
}
/*-*/
.vlastnosti-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding: 40px 0;
}

.vlastnost {
    background-color: #fff;
    padding: 20px;
    text-align: center;
    border-radius: 6px;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.vlastnost:hover {
    transform: translateY(-4px);
}

.vlastnost img {
    max-width: 100px;
    height: auto;
    margin-bottom: 15px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.vlastnost img:hover {
    opacity: 1;
}

.vlastnost p {
    color: #000;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.4;
}

/* RESPONSÍVNE */
@media (max-width: 1024px) {
    .vlastnosti-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 768px) {
    .vlastnosti-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* MODALY */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: flex;
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    text-align: left;
    position: relative;
    transform: scale(0.95);
    opacity: 0;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.modal.show .modal-content {
    transform: scale(1);
    opacity: 1;
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
}
.obrazok-pop-up {
    max-width: 440px;
    height: auto;
    width: 100%;
}
/*-------404------------*/
.btn-err {
  padding: 10px 20px;
  max-width: 350px;
  transition: all 0.3s ease;
  cursor: pointer;
  width: fit-content;
}
.btn-err:hover {
  transform: scale(1.1);
}
.err {
  margin-top: 20%;
  margin-bottom: 20%;
}
/*pokladna*/
#add_payment_method #payment, .woocommerce-cart #payment, .woocommerce-checkout #payment {
    background: rgb(0 147 62 / 14%)!important;
}
#place_order {
  background-color: #00933e !important;
}