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

body {
  margin: 0;
  font-family: system-ui, sans-serif;
  color: #222;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
html {
  scroll-behavior: smooth;
}

/* "Lepiaca" pätička – na krátkych stránkach (napr. zabudnuté heslo) sa
   pätička nezastaví hneď za obsahom, ale vždy dosiahne spodok obrazovky. */
.site-header,
footer.ruzova-pozadie {
  flex-shrink: 0;
}
.site-main {
  flex: 1 0 auto;
  width: 100%;
  box-sizing: border-box;
}

/*----bežná stránka (obchodné podmienky, GDPR...)--------*/
.page-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px 80px;
}
.page-title {
  margin: 0 0 24px;
}
.page-content-body {
  font-size: 16px;
  line-height: 1.7;
  color: #444;
}
.page-content-body p {
  margin: 0 0 16px;
}
.page-content-body a {
  color: #ee676c;
  text-decoration: underline;
}
.page-content-body h2,
.page-content-body h3 {
  margin: 28px 0 12px;
  font-weight: 800;
  color: #222;
}

/*----404--------*/
.error-404-page {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
  box-sizing: border-box;
}
.error-404-code {
  font-size: 90px;
  color: #eb9fa2;
  margin: 0;
  line-height: 1;
}
.error-404-title {
  margin: 10px 0 12px;
}
.error-404-text {
  margin: 0 0 28px;
  color: #666;
  font-size: 16px;
  max-width: 420px;
}
.error-404-btn {
  display: inline-block;
  background: #eb9fa2;
  color: #fff;
  border-radius: 10px;
  padding: 15px 32px;
  font-weight: 700;
  font-size: 16px;
  transition: background-color 0.2s ease;
}
.error-404-btn:hover {
  background: #df8b8f;
}

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

/*-------------colors--------------------*/
.biela {
    color: white;
}
.biela-pozadie {
    background-color: white;
}
.cierna {
    color: black;
}   
.cierna-pozadie {
    background-color: black;
}   
.ruzova {
    color: #eb9fa2;
}
.ruzova-pozadie {
    background-color: #eb9fa2;
}
.ruzova2 {
    color: #ee676c;
}
.ruzova2-pozadie {
    background-color: #ee676c;
}
/*---------end of colors---------------*/

/*----footer--------*/
.oddelovac-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.4);
}
.footer-link {
    opacity: 0.9;
    transition: opacity 0.2s ease;
}
.footer-link:hover {
    opacity: 1;
    text-decoration: underline;
}

/*----moj ucet header--------*/
.account-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    fill: white;
    width: 30px;
    height: 30px;
}

.account-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .4);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0s linear 0.3s;
}
.account-modal-overlay.is-open {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease;
}

.account-modal-panel {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0s linear 0.3s;
}
.account-modal-panel.is-open {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease;
}

.account-modal-card {
    position: relative;
    width: 100%;
    max-width: 400px;
    background: #fff;
    border-radius: 20px;
    padding: 36px 32px 32px;
    gap: 18px;
    transform: scale(0.92);
    transition: transform 0.3s ease;
}
.account-modal-panel.is-open .account-modal-card {
    transform: scale(1);
}

.account-modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 28px;
    height: 28px;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 22px;
    line-height: 1;
    color: #424654;
}

.account-modal-form {
    gap: 16px;
}

.account-modal-field {
    gap: 6px;
}

.account-modal-input-wrap {
    gap: 10px;
    background: #FCEEEF;
    border-radius: 10px;
    padding: 0 14px;
    box-sizing: border-box;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
}
.account-modal-input-wrap:focus-within {
    background: #fff;
    box-shadow: inset 0 0 0 1.5px #ee676c;
}

.account-input-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    fill: #7a7d8a;
}

.account-modal-input {
    flex: 1;
    min-width: 0;
    border: none;
    background: none;
    outline: none;
    padding: 14px 0;
    font-size: 15px;
    font-family: inherit;
    color: #222;
}

.account-modal-link {
    color: #ee676c;
}

.account-modal-submit {
    border: none;
    border-radius: 10px;
    background: #ee676c;
    color: #fff;
    padding: 15px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}
.account-modal-submit:hover {
    background: #ca575c;
}

.account-modal-divider {
    height: 1px;
    background: #eee;
}

.account-modal-register {
    display: block;
    text-align: center;
    border: 1px solid #ee676c;
    border-radius: 10px;
    color: #ee676c;
    padding: 14px;
    box-sizing: border-box;
    transition: background-color 0.2s ease;
}
.account-modal-register:hover {
    background: #FCEEEF;
}
/*-----------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: -11px;
    right: -13px;
    background: #eb9fa2;
    border: 1px solid white;
    color: #fff;
    font-size: 10px;
    line-height: 1;
    min-width: 16px;
    height: 22px;
    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;
}
.close {
    width: 24px;
    height: 24px;
    position: absolute;
    left: 0px;
    top: 9px;
    fill: white;
}
.oddelovac-cart-mini {
    border: 1px solid white;
    
}
.mini-cart-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 450px;
    height: 100%;
    background: #fff;
    z-index: 1000;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 24px;
    box-sizing: border-box;
    background-color: #eb9fa2;
}
.mini-cart-panel.is-open {
    transform: translateX(0);
}

.widget_shopping_cart_content {
    display: flex;
    flex-direction: column;
    min-height: 0;
    flex: 1;
}

.mini-cart-header {
    flex-shrink: 0;
}

.mini-cart-items-scroll {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
}

.mini-cart-upsell,
.mini-cart-totals,
.mini-cart-buttons {
    flex-shrink: 0;
}

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

.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: 100px;
    height: 100px;
    object-fit: contain;
    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;
}
@media (max-width: 430px) {
    .mini-cart-qty-row {
    flex-direction: column;
    align-items: flex-start;
    }
}

.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: 8px 10px;
    cursor: pointer;
    font-size: 20px;
    line-height: 1;
    color: white;
}
.qty-btn:hover {
    background: #f5f5f5;
}

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

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

.woocommerce-mini-cart-item .remove {
    color: #bbb;
    font-size: 29px;
    line-height: 1;
    text-decoration: none;
    flex-shrink: 0;
}
.woocommerce-mini-cart-item .remove svg {
    display: block;
    width: 18px;
    height: 18px;
    fill: white;
    transition: fill .2s ease;
}
.woocommerce-mini-cart-item .remove:hover svg {
    fill: #7B2FF7;
}

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

.woocommerce-mini-cart__buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0;
    padding-top: 14px;
}

.mini-cart-btn {
    display: block;
    width: 100%;
    padding: 14px 18px;
    border-radius: 10px;
    font-size: 16px;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    box-sizing: border-box;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.mini-cart-btn-checkout {
    background: #eb9fa2;
    color: #fff;
    border: 1px solid white;
}
.mini-cart-btn-checkout:hover {
    background: #df8b8f;
   
    color: #fff;
}

.mini-cart-btn-continue {
    background: #fff;
    color: #eb9fa2;
    border: 1px solid #eb9fa2;
}
.mini-cart-btn-continue:hover {
    background: #fbecec;
}


.woocommerce-mini-cart__empty-message {

    margin-top: 24px;
    color: #999;
    text-align: center;
    color: black;
    font-weight: 800;
    font-size: 23px;

}

.mini-cart-item-savings {
    font-size: 11px;
    font-weight: 400;
    color: #3B3B3B;
    margin-top: 4px;
    white-space: nowrap;
}
/*-------------------HEADER---------------------------*/
.mini-cart-toggle {
    width: 30px;
    height: 30px;
    fill: white;
}
.logo {
    width: 100%;
    max-width: 350px;
}
.pozicia-ikony {
    position: absolute;
    top: 0px;
    right: 0px;
}
.logo-stitok {
    width: 100%;
    height: auto;
    max-width: 60px;
}

.stitok-vpravo {
    position: absolute;
    top: 0px;
    right: 10px;
    transform-style: preserve-3d;
    transform-origin: top right;
    animation: hupanie-vpravo 4.2s ease-in-out infinite;
}
.stitok-vlavo {
    position: absolute;
    top: 0px;
    left: 10px;
    transform-style: preserve-3d;
    transform-origin: top left;
    animation: hupanie-vlavo 4.7s ease-in-out infinite;
    animation-delay: -1.6s;
}

/* dominantne kyvanie cez X (ako na sifre vo vetre), Y len drzi jemny ohyb dnu */
@keyframes hupanie-vpravo {
    0%   { transform: perspective(700px) rotateX(-7deg) rotateY(-20deg); }
    22%  { transform: perspective(700px) rotateX(9deg)  rotateY(-15deg); }
    50%  { transform: perspective(700px) rotateX(-5deg) rotateY(-23deg); }
    76%  { transform: perspective(700px) rotateX(11deg) rotateY(-13deg); }
    100% { transform: perspective(700px) rotateX(-7deg) rotateY(-20deg); }
}

@keyframes hupanie-vlavo {
    0%   { transform: perspective(700px) rotateX(8deg)  rotateY(20deg); }
    22%  { transform: perspective(700px) rotateX(-6deg) rotateY(15deg); }
    50%  { transform: perspective(700px) rotateX(10deg) rotateY(23deg); }
    76%  { transform: perspective(700px) rotateX(-9deg) rotateY(13deg); }
    100% { transform: perspective(700px) rotateX(8deg)  rotateY(20deg); }
}

@media (prefers-reduced-motion: reduce) {
    .stitok-vpravo,
    .stitok-vlavo {
        animation: none;
    }
}

/*-------------------MOBILE BOTTOM NAV---------------------------*/
.mobile-bottom-nav {
    display: none;
}

@media (max-width: 767px) {

    .pozicia-ikony {
        display: none;
    }

    body {
        padding-bottom: calc(60px + env(safe-area-inset-bottom));
    }

    .mobile-bottom-nav {
        display: block;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 998;
        background-color: #eb9fa2;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, .12);
        padding-bottom: env(safe-area-inset-bottom);
        box-sizing: border-box;
    }

    .mobile-bottom-nav-inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
        max-width: 380px;
        height: 60px;
        margin: 0 auto;
        padding: 0 clamp(30px, 12vw, 70px);
        box-sizing: border-box;
    }

    .mobile-bottom-nav-link {
        background: none;
        border: none;
        padding: 0;
        margin: 0;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        width: 26px;
        height: 26px;
        fill: white;
    }

    .mobile-bottom-nav-home {
        width: 28px;
        height: 28px;
    }

    .mobile-bottom-nav .mini-cart-count {
        top: -9px;
        right: -11px;
    }
}