
/*---------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;
}
button {
    all: unset;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}


/* Chrome, Safari, Edge, Opera */
.bulk-qty-input::-webkit-outer-spin-button,
.bulk-qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
.bulk-qty-input[type=number] {
    -moz-appearance: textfield;
}


/* 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: 'Poppins', sans-serif;
}


.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;
}

@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;
}
.silno-seda-pozadie {
  background-color: #F1F1F1;
}
.slabo-seda-pozadie {background-color: #F7F7F7;}
/*-----HEADER------------*/
.logo-bulkory {
    max-width: 261px;
    width: 100%;
}
.cart {
    width: 32px;
    height: 32px;
    display: block;
    cursor: pointer;
}
.bulk {
    width: 47px;
    height: auto;
    display: block;
}
.user {
    width: 32px;
    height: auto;
    display: block;
}
.bulk-icon-wrapper, 
.cart-icon-wrapper{
  position: relative;
}

.bulk-icon-count, 
.cart-icon-count {
    position: absolute;
    top: -10px;
    right: -14px;
    z-index: 10;
    background-color: black;
    color: white;
    font-weight: 500;
    border-radius: 100%;
    padding: 1px 7px;
    font-size: 14px;
}


/* =================================================================== */
/* === 1. HLAVNÝ MINI CART PANEL === */
/* =================================================================== */

#mini-cart-wrapper {
    position: fixed;
    top: 0;
    left: 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;
    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;
}


/*------------BULK PAGE-------------------------*/
.draft-product-image {
  width: 200px;
  height: auto;
  display: block;
}



.draft-master {
      border-bottom: 1px solid black;
    padding-bottom: 15px;
}

.draft-variants {
    display: flex;
    flex-direction: column;
    /* gap: 10px; */
    margin-top: 15px;
}

.variant-row {
    display: flex;
    align-items: center;
    /* background-color: #f9f9f9; */
    padding: 15px 10px;
    /* border-radius: 6px; */
}

.variant-header {
    background-color: #f1f1f1;
    font-weight: bold;
    border-bottom: 1px solid rgb(221, 221, 221);
}

.variant-col {
    flex: 1;
    text-align: center;
    font-size: 15px;
}

.col-size {
    flex: 1;
}
.col-price {
    flex: 1;
}
.col-stock {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
}
.col-qty {
    flex: 1.5;
}

.qty-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    /* gap: 5px; */
}

.bulk-qty-input {
    width: 100%;
    text-align: center;
    padding: 6px;
    border: 1px solid #ccc;
    /* border-radius: 4px; */
}

.bulk-minus,
.bulk-plus {
    background: white!important;
    border: 1px solid #cfcccc;
    width: 48px;
    height: 29px;
    font-size: 18px;
    /* border-radius: 4px; */
    cursor: pointer;
}

.stock-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.stock-low {
    background-color: #f39c12;
}
.stock-mid {
    background-color: #27ae60;
}
.stock-high {
    background-color: #2ecc71;
}

.stock-qty {
    font-weight: bold;
}



.variant-row:nth-child(2n+1) {
    background-color: rgb(247, 247, 247);
}

.variant-row:nth-child(2n) {
    background-color: rgb(255, 255, 255);
}
.remove-sku, 
.add-to-cart-bulk {
  transition: all 0.5s ease;
  cursor: pointer;
}
.remove-sku:hover, 
.add-to-cart-bulk:hover {
  transform: scale(1.1);
}


/*--------------single product--------------------------*/
/*-------------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;
}
.cart2 {
  width: 32px;
  height: 32px;
}



.gc-col-variant, 
.gc-col-price, 
.gc-col-qty {
    text-align: center;
}

.gc-qty-minus, 
.gc-qty-plus {
    border: 1px solid black;
    padding-left: 3px;
    padding-right: 3px;
}


/*-
-----------------------HOMEPAGE-----------------------
-
*/
.logo-br-s {
    height: 24px;
    width: 99px;
}
.logo-br-g {
    height: 24px;
    width: 100px;
}
.logo-br-t {
    height: 34px;
    width: 52px;
}
.logo-br-sy {
    height: 26px;
    width: 84px;
}
.logo-br-of {
    height: 24px;
    width: 218px;
}


.brands {
    padding: 60px 20px;
    margin: 0 auto;
    box-sizing: border-box;
}



/* ===== DESKTOP (>= 1200px) ===== */
.brands-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr); /* 6 na riadok */

}



/* ===== TABLET (< 993px) ===== */
@media (max-width: 993px) {
    .brands-pc {
        display: none;
    }
}

/* ===== MOBIL (< 576px) ===== */
@media (max-width: 575px) {


    .brands h2 {
        font-size: 26px;
    }
}

.brand-card {
    border-radius: 16px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: transform .2s ease, box-shadow .2s ease;
}

.brand-card img {
    max-width: 75%;
    max-height: 55px;
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter .2s ease;
}

.brand-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 45px rgba(0,0,0,0.12);
}

.brand-card:hover img {
    filter: grayscale(0%);
}

/*--------------SWIPER--------------------------*/
/* ===== BRANDS SWIPER ===== */
.brands-swiper {
    padding: 60px 0px;
    box-sizing: border-box;
}
@media (min-width: 993px) {
    .brands-swiper {
        display: none!important;
    }
}

.brands-swiper .swiper {
    overflow: hidden;
}

.brands-swiper .swiper-wrapper {
    display: flex;
    padding-top: 30px;
    padding-bottom: 30px;
    padding-left: 30px;
    padding-right: 30px;
    box-sizing: border-box;
}


.brands-swiper .swiper-slide {
    width: auto;
}

/* karta (rovnaký vizuál ako grid) */
.brands-swiper .brand-card {
    border-radius: 16px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.brands-swiper .brand-card img {
    max-width: 75%;
    max-height: 55px;
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter .2s ease;
}

.brands-swiper .brand-card:hover img {
    filter: grayscale(0%);
}



/*-
------------------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;
}
.swiper-similarly {
    width: 100%;
}

/*-
---------------------CONTENT PRODUCT--------------------
-
-*/
.woocommerce-Price-currencySymbol {
    padding-left: 3px;
}
.add-to-bulk {

}
.product-image img {
    width: 100%;
    height: auto;
    aspect-ratio: 8/6;
}


.aviable-size {
    min-height: 65px;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 6px;
    margin-bottom: 10px;
    margin-top: 5px;
}

.available-size-btn {
    width: 40px;
    font-family: Poppins, sans-serif;
    border: 1px solid #cfcfcf;
    min-width: 28px;
    text-align: center;
    font-size: 13px;
    font-weight: 800;
}
.swiper-similarly-prev,
.swiper-similarly-next {
    color: black!important;
}
.add-to-bulk.is-added {
    background: green !important;
    color: white !important;
    cursor: default;
    pointer-events: none;
}

/*-
----------------BLUR FOR GUEST---------------
-*/
.blur-for-guests .swiper-slide:nth-child(n + 4) {
  filter: blur(5px);
  pointer-events: none;
  opacity: 0.6;
  transition: filter 0.3s ease;
}


/*-
------------------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;
  }
}
