
/*---------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------------*/
.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;
}




/* =================================================================== */
/* === 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;
}
