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

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

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



body.no-hover *:hover {
  pointer-events: none !important;
  animation: none !important;
  transition: none !important;
  transform: none !important;
  box-shadow: none !important;
}
/*-------------------font-------------------*/
/*@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&family=Nunito+Sans:wght@200;300;400;600&family=Playfair+Display:wght@400;700&family=Poppins:wght@200;300;400;600&display=swap');

*/

/*-------------colors--------------------*/
.pismo {
  
  line-height: 1.5em;
}
/*farby*/

.cierna {
  color: black;
}
.cierna-pozadie {
  background-color: black;
}
.seda {
  color: #FAF6F5;
}
.seda-pozadie {
  background-color: #FAF6F5;
}
.biela {
  color: white;
}
.biela-pozadie {
  background-color: white;
}
.cierna a {
  color: black;
}
/*-----------HEADER----------------*/
.logo {
    width: 100%;
    height: auto;
    max-width: 120px;
}

/*-----------WOOCOMMERCE----------------*/
a.added_to_cart {
    display: none;
}

/*-----------MINI CART----------------*/
.mini-cart-toggle {
    position: relative;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    margin-right: 5px;
}

.mini-cart-count {
    position: absolute;
    top: 4px;
    right: -8px;
    background: #222;
    color: #fff;
    font-size: 10px;
    line-height: 1;
    min-width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 3px;
}

.mini-cart-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 999;
}
.mini-cart-overlay.is-open {
    display: block;
}

.mini-cart-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 360px;
    max-width: 100vw;
    height: 100%;
    background: #fff;
    z-index: 1000;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    padding: 24px;
    box-sizing: border-box;
}
.mini-cart-panel.is-open {
    transform: translateX(0);
}

.woocommerce-mini-cart {
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 1;
}

.woocommerce-mini-cart-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.mini-cart-item-thumb img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    flex-shrink: 0;
    display: block;
}

.mini-cart-item-info {
    flex: 1;
    min-width: 0;
}

.mini-cart-item-name {
    font-size: 13px;
    margin-bottom: 6px;
}

.mini-cart-qty-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 6px;
}

.mini-cart-qty {
    display: flex;
    align-items: center;
    gap: 0;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
}

.qty-btn {
    background: none;
    border: none;
    padding: 4px 10px;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
    color: #222;
}
.qty-btn:hover {
    background: #f5f5f5;
}

.qty-input {
    width: 36px;
    text-align: center;
    border: none;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    padding: 4px 0;
    font-size: 13px;
    -moz-appearance: textfield;
    appearance: textfield;
}
.qty-input::-webkit-inner-spin-button,
.qty-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
}

.mini-cart-item-total {
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

.woocommerce-mini-cart-item .remove {
    color: #bbb;
    font-size: 18px;
    line-height: 1;
    text-decoration: none;
    flex-shrink: 0;
}

.woocommerce-mini-cart__total {
    margin: 16px 0;
    font-weight: 600;
}

.woocommerce-mini-cart__buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0;
}

.woocommerce-mini-cart__empty-message {
    margin-top: 24px;
    color: #999;
}

/*-----------SINGLE PRODUCT----------------*/
.single-product-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    box-sizing: border-box;
}

.single-product-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
    margin-bottom: 60px;
}

.single-product-gallery {
    position: sticky;
    top: 20px;
}

.single-product-summary > * + * {
    margin-top: 16px;
}

.single-product-tabs {
    margin-bottom: 60px;
}

.single-product-related {
    margin-bottom: 60px;
}

/* Add to cart form */
.single-product-cart {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.single-qty {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
}

.single-qty-btn {
    background: none;
    border: none;
    padding: 10px 14px;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    color: #222;
}
.single-qty-btn:hover {
    background: #f5f5f5;
}

.single-qty-input {
    width: 48px;
    text-align: center;
    border: none;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    padding: 10px 0;
    font-size: 15px;
    -moz-appearance: textfield;
    appearance: textfield;
}
.single-qty-input::-webkit-inner-spin-button,
.single-qty-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
}

.single_add_to_cart_button {
    padding: 10px 24px;
    background: #222;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 15px;
}
.single_add_to_cart_button:hover {
    background: #444;
}
.single_add_to_cart_button.loading {
    opacity: 0.6;
    pointer-events: none;
}

@media (max-width: 768px) {
    .single-product-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .single-product-gallery {
        position: static;
    }
}