/* ============================================================
   TUTU KIDS - CUSTOM CSS v5.0
   Poppins: nadpisy, menu, buttony, ceny, nazvy produktu
   Nunito: telo textu
   FUNKY ROTACE – 0px zaoblení (hranatý design), pootočené prvky,
   hover přetočení, plné brand barvy
   ============================================================ */

/* GOOGLE FONTS */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@600;700;800;900&family=Nunito:wght@400;500;600&display=swap');

/* BARVY */
:root {
  --col1a: #283583;
  --col1b: #212c6fc2;
  --col1c: #1e2966;
  --col1d: #f0eef6;
  --col2a: #aa2570;
  --col-orange: #f78b1e;
  --col-yellow: #edc10d;
}

/* FONT: telo textu - Nunito */
.external-fonts-loaded body, body.blank-mode {
  font-family: Nunito, sans-serif;
}

/* FONT: nadpisy - Poppins */
.external-fonts-loaded h1,
.external-fonts-loaded h2,
.external-fonts-loaded h3,
.external-fonts-loaded h4,
.external-fonts-loaded h5,
.external-fonts-loaded h6,
.external-fonts-loaded .h1,
.external-fonts-loaded .h2,
.external-fonts-loaded .h3,
.external-fonts-loaded .h4,
.external-fonts-loaded .h5,
.external-fonts-loaded .h6,
.external-fonts-loaded .cart-table .main-link,
.external-fonts-loaded .cart-related-name,
.blank-mode h1, .blank-mode h2, .blank-mode h3,
.blank-mode h4, .blank-mode h5, .blank-mode h6,
.blank-mode .h1, .blank-mode .h2, .blank-mode .h3,
.blank-mode .h4, .blank-mode .h5, .blank-mode .h6,
.blank-mode .cart-table .main-link,
.blank-mode .cart-related-name {
  font-family: 'Poppins', sans-serif;
}

/* FONT: tlacitka, ceny, menu, nazvy produktu - Poppins */
.external-fonts-loaded ol.cart-header,
.external-fonts-loaded .next-step,
.external-fonts-loaded .price-wrapper,
.external-fonts-loaded .price-additional,
.external-fonts-loaded .price-measure,
.external-fonts-loaded .price-final,
.external-fonts-loaded .price-save,
.external-fonts-loaded .price-standard,
.external-fonts-loaded .btn,
.external-fonts-loaded .products .name,
.navigation-in ul li a {
  font-family: 'Poppins', sans-serif;
}

/* Mobil – zrušit border v podmenu */
@media (max-width: 767px) {
  .navigation-in > ul ul.menu-level-2 > li {
    border-top: none !important;
  }
}

/* ============================================================
   GLOBÁLNÍ ZAOBLENÍ – 0px (HRANATÝ DESIGN)
   ============================================================ */

/* 76px → 0: CTA tlačítko */
.btn.btn-conversion, a.btn.btn-conversion {
  border-radius: 0 !important;
}

/* 25px → 0: tlačítka, bannery, boxy, formuláře, tabs */
.btn, a.btn,
.footer-item.footer-item-newsletter .compact-form .btn,
#colorbox .free-gift-info,
.faq-content .tabs-content,
.rate-wrapper.unveil-wrapper .rate-average-inner + .add-comment,
.middle-banners-wrapper .extended-banner-link:not(:empty),
.body-banners .extended-banner-link:not(:empty),
.banners-top-block .extended-banner-link:not(:empty),
.instagram-follow-btn span a,
.search-whisperer-btn .btn,
.goToTop > a,
.pagination-top-btn,
.discount-coupon form .btn,
.cart-content .next-step-back,
.next-step-back.back-to-shop,
.login-wrapper .password-helper a:first-child,
.cart-related-button .btn,
.shipping-options-popup .next-step-back.colorbox-close,
.advanced-order .next-step-back.colorbox-close,
.support-btn, .support-btn__header, .support-btn-list,
.body-banners a, .body-banners .banner-wrapper, .body-banners img,
.banner-category img, .banner-category a,
.next-step,
body:not(.after-load) .order-summary-inner,
.banners-top-block .banner-wrapper,
.banners-top-block .banner-wrapper a,
.order-summary-bottom {
  border-radius: 0 !important;
}

/* 20px → 0: content boxy, taby, košík, karty */
.shp-tabs-wrapper .tab-pane,
.in-404 .content-inner, .id-404 .content-inner,
.in-rate-shop .content-inner,
.cart-inner, .table-responsive,
.menu-helper > ul,
.popup-widget, .popup-widget-inner,
.homepage-box .content-wrapper-in,
.product-detail-wrapper,
.content-inner {
  border-radius: 0 !important;
}

/* 20px → 0: homepage carousel */
.carousel-inner, .before-carousel .content-wrapper-in {
  border-radius: 0 !important;
}
.carousel-control::before,
.carousel-indicators li {
  border-radius: 0 !important;
}

/* 20px → 0: welcome box, carousel items */
.welcome { border-radius: 0 !important; }

@media (min-width: 768px) {
  body:not(.is-carousel-full-width) .carousel .item,
  .multiple-columns-body .carousel .item {
    border-radius: 0 !important;
  }
  body:not(.is-carousel-full-width) .carousel-inner,
  body:not(.is-carousel-full-width) .carousel .item img,
  body:not(.is-carousel-full-width).multiple-columns-body .carousel .item img {
    border-radius: 0 !important;
  }
}

/* Benefit banner obrázek */
.benefitBanner__picture img {
  border-radius: 0 !important;
  mix-blend-mode: normal !important;
}

/* 15px → 0: produktové karty, obrázky, inputy, dropdown */
.product .p, .product-image, .product-image img,
.product-image-wrap,
.products-block .p-image, .product-wrapper,
.search-form input, .search-form,
.search-whisperer, .dropdown-menu,
.popup-widget h2,
.footer-newsletter-form input,
.compact-form input, .compact-form .btn,
.image-detail, .product-detail-image,
a.btn.cart-count, .cart-count,
.navigation-buttons .btn, .top-nav-button,
.form-control,
.select2-dropdown,
.select2-container--default .select2-selection--single,
.select2-container--default .select2-selection--multiple,
.select2-container--default .select2-selection--multiple .select2-selection__choice,
.flag,
.sidebar-inner .box-rating, .sidebar-inner .box-sale,
.sidebar-inner > div,
.cart-related-product, .cart-related-img,
.entrance-protection .entrance-protection-inner,
.latest-contribution-wrapper .latest-contribution-inner,
.latest-contribution-box .latest-contribution-inner,
.widget-parameter-wrapper .widget-parameter-value span,
.widget-parameter-wrapper .widget-parameter-value a,
.contact-address__content,
.iframe-responsive,
.recapitulation-wrapper-box,
.colorbox--order #cboxLoadedContent,
#cboxClose.cboxClose--shipping,
#cboxContent {
  border-radius: 0 !important;
}

/* 10px → 0: filtry, taby, kategorie, formuláře */
.filter-section,
.shp-tabs-holder ul.shp-tabs li a,
.service__image-block,
.news-item .image,
.box.box-categories > h4,
.box.box-filters > h4,
ol.cart-header li.active,
.languagesMenu__header--actual,
.search.is-searching .search-form,
.category-header .listSorting__controls button.listSorting__control {
  border-radius: 0 !important;
}

/* 8px → 0: filtry s border-radius variantami */
.row-filter .filters-wrapper .filters .filter-sections .filter-section .param-filter-top,
.row-filter .filters-wrapper .filters .slider-wrapper .price-filter {
  border-radius: 0 !important;
}

/* 5px → 0 */
.search-whisperer-image,
.products-block .p-code,
.ui-slider-horizontal:after {
  border-radius: 0 !important;
}

/* 4px → 0 */
.siteCookies__link, .siteCookies__button,
.cookiesSetting__data, .cookiesSetting__button,
.quantity input,
input[type="checkbox"] + label::before,
input[type="radio"] + label::before,
.quantity .decrease, .quantity .increase,
.discount-coupon-checkbox:before,
.ao-image img {
  border-radius: 0 !important;
}

/* Dříve kulaté prvky – taky na 0 */
a.btn.cart-count i, .cart-count i,
.swiper-arrow-content,
.swiper-pagination-bullet::after {
  border-radius: 0 !important;
}

/* Navigační menu tlačítka – jen desktop */
@media (min-width: 768px) {
  .navigation-in > ul > li > a {
    border-radius: 0 !important;
  }
}

/* Checkout / objednávka → 0 */
.checkout-box-wrapper, .summary-wrapper,
.extras-wrap .extra-content,
.radio-wrapper input[type="radio"] + label,
.order-summary-top {
  border-radius: 0 !important;
}

/* Podkategorie – jemnější stín */
.subcategories li a {
  box-shadow: 0 4px 8px -4px rgba(68, 58, 120, 0.1) !important;
  border-radius: 0 !important;
}

/* Košík – barvy: zelená → neutrální šedá */
:root {
  --basket-bg: #f5f6f8 !important;
  --basket-choose-box-bg: #f5f6f8 !important;
  --basket-choose-box-border: #979faf !important;
}

/* Košík – nadpis kroků */
.cart-header__headline .h4 {
  color: var(--col1a) !important;
}

/* Login – tlačítko registrace v hlavní barvě */
.login-wrapper .btn-secondary {
  background-color: var(--col1a) !important;
  border-color: var(--col1a) !important;
}

/* Mobil – produkty: užší mezery, zarovnání s okolím */
@media (max-width: 767px) {
  .products-block.products > div {
    padding: 5px !important;
  }
  .products-block.products {
    padding: 0 5px !important;
  }
}

/* ============================================================
   TOP NAVIGATION BAR – kompaktní, zarovnání doprava
   ============================================================ */

@media (max-width: 767px) {
  .top-navigation-menu {
    display: none !important;
  }
}

@media (min-width: 768px) {
  .top-navigation-bar {
    background-color: var(--col1d) !important;
    border-bottom: 1px solid #e2e0eb;
  }
  .top-navigation-bar .site-name { display: none !important; }
  .top-navigation-contacts { display: none !important; }
  .top-navigation-tools { display: none !important; }
  .top-navigation-menu {
    flex: 1 1 100% !important;
    display: flex !important;
    justify-content: flex-end !important;
    padding-right: 0 !important;
  }
  .top-navigation-bar .container { min-height: 0 !important; }
  .top-navigation-bar-menu {
    display: flex !important;
    align-items: center !important;
  }
  .top-navigation-bar-menu > li::before {
    background-color: var(--col2a) !important;
  }
  .top-navigation-bar-menu > li:first-child::before { display: none !important; }
  .top-navigation-bar-menu > li:last-child::after { display: none !important; }
  .top-navigation-bar-menu > li > a {
    color: var(--col1a) !important;
    font-family: 'Poppins', sans-serif !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    padding: 6px 12px !important;
    line-height: 1 !important;
    transition: color 0.2s ease !important;
  }
  .top-navigation-bar-menu > li > a:hover {
    color: var(--col2a) !important;
  }
}

/* ============================================================
   HEADER
   ============================================================ */

@media (min-width: 992px) {
  .popup-widget.login-widget,
  .popup-widget.cart-widget {
    top: 95px !important;
  }
  .admin-logged .popup-widget.login-widget,
  .admin-logged .popup-widget.cart-widget {
    top: 120px !important;
  }
  .cart-widget-button {
    background-color: #88579321 !important;
  }
}

@media (min-width: 768px) {
  #header .site-name a img { max-height: 50px; }
}

#header { border-bottom: 1px solid #e2e0eb; }
.navigation-in ul li a { text-transform: none; }
.navigation-buttons button.top-nav-button,
.navigation-buttons > a { text-transform: none; }

@media (min-width: 992px) {
  .header-top { padding-top: 20px; }
}

@media (min-width: 768px) {
  .header-top {
    padding-top: 20px;
    padding-bottom: 0;
    flex-wrap: nowrap;
  }
}

.navigation-in ul li a b { font-weight: 800; }

@media (min-width: 768px) {
  .navigation-in > ul > li > a { color: var(--col1a); }
}

.navigation-buttons button.top-nav-button[data-target="login"]:before {
  font-size: 18px !important;
  margin-right: 6px !important;
  vertical-align: middle !important;
}

.header-top .btn.cart-count:before {
  font-size: 18px !important;
  margin-right: 6px !important;
  vertical-align: middle !important;
}

.navigation-buttons button.top-nav-button,
.header-top .btn.cart-count,
a.btn.cart-count.full {
  font-size: 16px !important;
  font-weight: 600 !important;
}

/* ============================================================
   MENU PC – pootočené lístečky (ostré hrany)
   ============================================================ */

@media (min-width: 768px) {
  .navigation-in > ul { gap: 6px !important; }
  .navigation-in > ul > li > a {
    color: #fff !important;
    padding: 8px 20px !important;
    margin: 11px 6px !important;
    line-height: normal !important;
    height: auto !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.3px !important;
    transition: all 0.25s ease !important;
  }
  .navigation-in > ul > li:first-child > a { padding-left: 20px !important; }

  /* Individuální rotace */
  .navigation-in > ul > li:nth-child(1) > a { transform: rotate(-1.2deg); }
  .navigation-in > ul > li:nth-child(2) > a { transform: rotate(0.8deg); }
  .navigation-in > ul > li:nth-child(3) > a { transform: rotate(-0.6deg); }
  .navigation-in > ul > li:nth-child(4) > a { transform: rotate(1.1deg); }
  .navigation-in > ul > li:nth-child(5) > a { transform: rotate(-0.9deg); }
  .navigation-in > ul > li:nth-child(6) > a { transform: rotate(0.5deg); }
  .navigation-in > ul > li:nth-child(7) > a { transform: rotate(-0.7deg); }

  /* Hover – přetočení opačným směrem + nadskočení */
  .navigation-in > ul > li:nth-child(1) > a:hover { transform: rotate(1deg) translateY(-2px) scale(1.04) !important; }
  .navigation-in > ul > li:nth-child(2) > a:hover { transform: rotate(-0.6deg) translateY(-2px) scale(1.04) !important; }
  .navigation-in > ul > li:nth-child(3) > a:hover { transform: rotate(0.8deg) translateY(-2px) scale(1.04) !important; }
  .navigation-in > ul > li:nth-child(4) > a:hover { transform: rotate(-0.9deg) translateY(-2px) scale(1.04) !important; }
  .navigation-in > ul > li:nth-child(5) > a:hover { transform: rotate(0.7deg) translateY(-2px) scale(1.04) !important; }
  .navigation-in > ul > li:nth-child(6) > a:hover { transform: rotate(-0.8deg) translateY(-2px) scale(1.04) !important; }
  .navigation-in > ul > li:nth-child(7) > a:hover { transform: rotate(0.5deg) translateY(-2px) scale(1.04) !important; }
}

/* MENU MOBILE */
.navigation-in a { color: var(--col1a); }
.navigation-in-bottom { background: none; }

@media (max-width: 767px) {
  .navigation-in > ul > li {
    border-bottom: 1px solid var(--col1d);
  }
}

/* BARVY POLOZEK MENU */
@media (min-width: 768px) {
  .menu-level-1 > li:nth-child(1) > a { background-color: #283583 !important; }
  .menu-level-1 > li:nth-child(2) > a { background-color: #f78b1e !important; }
  .menu-level-1 > li:nth-child(3) > a { background-color: #aa2570 !important; }
  .menu-level-1 > li:nth-child(4) > a { background-color: #edc10d !important; }
  .menu-level-1 > li:nth-child(5) > a { background-color: #283583 !important; }
  .menu-level-1 > li:nth-child(6) > a { background-color: #f78b1e !important; }
  .menu-level-1 > li:nth-child(7) > a { background-color: #aa2570 !important; }
  .navigation-in > ul > li.ext > a { padding-right: 34px !important; }
  .navigation-in > ul > li.ext > a:after {
    color: #fff !important;
    right: 14px !important;
  }
}

/* LOGIN / KOSIK */
.navigation-buttons button.top-nav-button[data-target="login"]:before,
.header-top .btn.cart-count:before {
  font-size: 18px !important;
  vertical-align: middle !important;
  color: var(--col1a) !important;
}

.navigation-buttons button.top-nav-button,
.header-top .btn.cart-count,
a.btn.cart-count.full {
  font-size: 16px !important;
  font-weight: 600 !important;
  color: var(--col1a) !important;
}

.navigation-buttons button.top-nav-button:hover:before,
.header-top .btn.cart-count:hover:before {
  color: var(--col2a) !important;
}

.navigation-buttons button.top-nav-button:hover,
.header-top .btn.cart-count:hover {
  color: var(--col2a) !important;
}

a.btn.cart-count i { background: var(--col2a); }

/* ============================================================
   SEARCH
   ============================================================ */

.search input[type="search"].form-control {
  background-color: var(--col1d) !important;
  border: 1px solid var(--col1d) !important;
  color: #000 !important;
}

.search input[type="search"].form-control:focus {
  border-color: var(--col1c) !important;
  outline: none !important;
}

.search .btn.btn-default {
  background-color: var(--col1d) !important;
}

.search .btn.btn-default, .search a.btn.btn-default {
  color: var(--col1d);
}

/* ============================================================
   BENEFITY – pootočené ikony, PLNÉ BRAND BARVY
   ============================================================ */

@media (min-width: 480px) {
  .benefitBanner__item {
    flex: 0 0 70%;
    width: 70%;
  }
}

.benefitBanner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  justify-items: center;
}

@media (min-width: 768px) {
  .benefitBanner {
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }
}

.benefitBanner__item {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  min-width: 0;
}

.benefitBanner__picture {
  flex: 0 0 auto !important;
  width: auto !important;
  height: auto !important;
  margin: 0 0 15px 0 !important;
  padding: 0 !important;
  display: block !important;
}

.benefitBanner__img {
  padding: 25px !important;
  width: 35px !important;
  height: 35px !important;
  box-sizing: content-box !important;
  max-width: none !important;
  max-height: none !important;
  margin: 0 auto !important;
  transition: transform 0.3s ease;
}

.benefitBanner__content {
  width: 100% !important;
  padding: 0 !important;
  text-align: center !important;
}

.benefitBanner__title {
  color: var(--col1a);
  display: block;
  margin-bottom: 5px;
  font-size: 16px;
  font-weight: bold;
  text-transform: none;
  text-align: center !important;
  font-family: 'Poppins', sans-serif;
}

.benefitBanner__data {
  color: var(--col1b);
  display: block;
  width: 100%;
  font-size: 14px;
  margin-top: 0;
  text-align: center !important;
}

/* PLNÉ BRAND BARVY – pozadí přímo na img (bílé SVG musí mít opaque bg na sobě) */
.benefitBanner__item:nth-child(1) .benefitBanner__img {
  background: #283583 !important;
}
.benefitBanner__item:nth-child(2) .benefitBanner__img {
  background: #f78b1e !important;
}
.benefitBanner__item:nth-child(3) .benefitBanner__img {
  background: #edc10d !important;
}
.benefitBanner__item:nth-child(4) .benefitBanner__img {
  background: #aa2570 !important;
}

/* Individuální rotace ikon */
.benefitBanner__item:nth-child(1) .benefitBanner__img { transform: rotate(-2deg); }
.benefitBanner__item:nth-child(2) .benefitBanner__img { transform: rotate(1.5deg); }
.benefitBanner__item:nth-child(3) .benefitBanner__img { transform: rotate(-1deg); }
.benefitBanner__item:nth-child(4) .benefitBanner__img { transform: rotate(2.5deg); }

/* Hover – přetočení + zvětšení */
.benefitBanner__item:nth-child(1):hover .benefitBanner__img { transform: rotate(2deg) scale(1.1) !important; }
.benefitBanner__item:nth-child(2):hover .benefitBanner__img { transform: rotate(-1.5deg) scale(1.1) !important; }
.benefitBanner__item:nth-child(3):hover .benefitBanner__img { transform: rotate(2deg) scale(1.1) !important; }
.benefitBanner__item:nth-child(4):hover .benefitBanner__img { transform: rotate(-2deg) scale(1.1) !important; }

/* ============================================================
   PRODUKTOVE KARTY – pootočené + hover přetočení
   ============================================================ */

@media (max-width: 767px) {
  .container.breadcrumbs-wrapper { background-color: #f5f6f8; }
}

.product .p.p {
  box-shadow: 0 4px 20px -4px rgba(68, 58, 120, 0.1);
  overflow: hidden;
}

.product .p {
  transition: all 0.3s ease !important;
  overflow: hidden;
}

/* Hover – lehká rotace */
.product .p:nth-child(4n+1):hover { transform: rotate(-0.4deg) !important; box-shadow: 0 6px 24px -4px rgba(68, 58, 120, 0.13) !important; }
.product .p:nth-child(4n+2):hover { transform: rotate(0.3deg) !important; box-shadow: 0 6px 24px -4px rgba(68, 58, 120, 0.13) !important; }
.product .p:nth-child(4n+3):hover { transform: rotate(-0.3deg) !important; box-shadow: 0 6px 24px -4px rgba(68, 58, 120, 0.13) !important; }
.product .p:nth-child(4n+4):hover { transform: rotate(0.4deg) !important; box-shadow: 0 6px 24px -4px rgba(68, 58, 120, 0.13) !important; }

.products-block .p:hover .image > img { transform: none !important; }

.products-block.products .p .name,
.price-final strong { font-weight: 700; }

/* Akční cena v kategoriích – oranžová */
.products-block .p .price-final .price-standard + strong {
  color: #f99e1f !important;
}

.category__secondDescription p,
.category-perex p { color: var(--col1b); }

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6,
.subcategories li a .text,
.p .name, .price-final {
  color: var(--col1a);
}

.breadcrumbs, .category-header div, .breadcrumbs a { color: var(--col1b); }
.category-header { border-top: 1px solid #e2e0eb; }

@media (max-width: 767px) {
  .products-block .product-btn .pr-action { margin: 0; }
}

/* COLORBOX POPUP – related produkty fix (jen mobil) */
@media (max-width: 767px) {
  #colorbox .advanced-order .product .product-btn {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-end !important;
    gap: 4px !important;
    text-align: right !important;
  }

  #colorbox .advanced-order .product .product-btn .price-final {
    text-align: right !important;
  }

  #colorbox .advanced-order .product .product-btn .pr-action {
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
  }

  #colorbox .advanced-order .product .product-btn .pr-action .btn,
  #colorbox .advanced-order .product .product-btn a.btn,
  #colorbox .advanced-order .product .product-btn .btn {
    width: auto !important;
    min-width: 80px !important;
    max-width: none !important;
    height: 30px !important;
    min-height: 30px !important;
    font-size: 11px !important;
    padding: 0 12px !important;
    margin: 0 !important;
    transform: none !important;
  }
}

/* ============================================================
   FILTRY A RAZENI
   ============================================================ */

.category-header .listSorting__controls button.listSorting__control {
  text-transform: none !important;
  background-color: transparent !important;
  border: 1px solid var(--col1a) !important;
  color: var(--col1a) !important;
  opacity: 0.6 !important;
  transition: all 0.3s ease !important;
}

/* Střídavé pootočení */
.category-header .listSorting__controls button.listSorting__control:nth-child(odd) { transform: rotate(-0.6deg); }
.category-header .listSorting__controls button.listSorting__control:nth-child(even) { transform: rotate(0.5deg); }
.category-header .listSorting__controls button.listSorting__control:nth-child(odd):hover { opacity: 1 !important; transform: rotate(0.4deg) scale(1.03) !important; }
.category-header .listSorting__controls button.listSorting__control:nth-child(even):hover { opacity: 1 !important; transform: rotate(-0.5deg) scale(1.03) !important; }

.category-header .listSorting__controls button.listSorting__control.listSorting__control--current {
  background-color: var(--col1a) !important;
  color: #fff !important;
  opacity: 1 !important;
}

#content .filters-unveil-button-wrapper .btn.unveil-button {
  width: 150px !important;
  display: inline-flex !important;
  justify-content: center !important;
  background: transparent !important;
  border: 1px solid var(--col1a) !important;
  color: var(--col1a) !important;
  text-transform: none !important;
  opacity: 0.6 !important;
  transition: all 0.3s ease !important;
  box-shadow: none !important;
  min-height: 40px !important;
  padding: 10px 30px 10px 10px !important;
}

#content .filters-unveil-button-wrapper .btn.unveil-button:hover { opacity: 1 !important; }

.filters-visible #content .filters-unveil-button-wrapper .btn.unveil-button {
  background-color: var(--col1a) !important;
  color: #fff !important;
  opacity: 1 !important;
  border-color: var(--col1a) !important;
}

#content .filters-unveil-button-wrapper .btn.unveil-button:before {
  color: inherit !important;
  right: 15px !important;
}

.filters-wrapper .slider-wrapper, #filters {
  background-color: #fff !important;
  box-shadow: none !important;
  border: none !important;
}

.mobile.one-column-body .filter-section:not(.filter-section-count),
.desktop.one-column-body .filter-section:not(.filter-section-count),
.mobile.multiple-columns-body .filter-section:not(.filter-section-count) {
  background: #fff !important;
}

@media (min-width: 768px) {
  .desktop.one-column-body #category-filter-hover {
    background: #fff !important;
  }
}

/* ============================================================
   STITKY – jako ručně nalepené samolepky
   ============================================================ */

.flag {
  text-transform: none;
  display: inline-block;
  transition: transform 0.2s ease;
}

.flag:nth-child(odd) { transform: rotate(-1.8deg); }
.flag:nth-child(even) { transform: rotate(1.3deg); }
.flag:hover { transform: rotate(1deg) scale(1.05) !important; }
.flag:nth-child(even):hover { transform: rotate(-1deg) scale(1.05) !important; }

@media (min-width: 768px) {
  .flag {
    margin-bottom: 5px;
    padding: 6px 12px;
    font-size: 12px;
  }
}

/* ============================================================
   TLACITKA – ostré hrany, lehce pootočené + hover přetočení
   ============================================================ */

.products-block .product-btn .pr-action {
  max-width: none !important;
  width: auto !important;
  display: block !important;
}

@media (min-width: 768px) {
  .products-block .product-btn .pr-action { margin: 0 30px; }
}

.products-block .product-btn .pr-action .btn {
  width: 100% !important;
  min-height: 40px !important;
  height: 40px !important;
  padding: 0 !important;
  font-weight: 700 !important;
  transition: all 0.25s ease !important;
  transform: rotate(-0.5deg);
}

.products-block .product-btn .pr-action .btn:hover {
  transform: rotate(0.4deg) scale(1.02) !important;
}

.products-block .product-btn a.btn {
  max-width: none !important;
  width: calc(100% - 60px) !important;
  margin: 0 auto !important;
  min-height: 40px !important;
  height: 40px !important;
  padding: 0 !important;
  font-weight: 700 !important;
  transition: all 0.25s ease !important;
  transform: rotate(-0.5deg);
}

.products-block .product-btn a.btn:hover {
  transform: rotate(0.4deg) scale(1.02) !important;
}

.btn.btn-conversion, a.btn.btn-conversion,
.btn.btn-cart, a.btn.btn-cart,
.btn.btn-primary, a.btn.btn-primary,
.welcome__left-panel .btn.btn-secondary {
  color: #fff;
  border-color: var(--col2a);
  background-color: var(--col2a);
  font-weight: 700 !important;
  transition: all 0.25s ease !important;
}

.btn.btn-conversion:hover, a.btn.btn-conversion:hover,
.btn.btn-cart:hover, a.btn.btn-cart:hover,
.btn.btn-primary:hover, a.btn.btn-primary:hover,
.welcome__left-panel .btn.btn-secondary:hover {
  background-color: #c42d7a !important;
  border-color: #c42d7a !important;
  transform: rotate(0.5deg) scale(1.03) !important;
}

/* ============================================================
   DETAIL PRODUKTU
   ============================================================ */

.image360 .mousetrap, .p-image .mousetrap,
.image360 .cloud-zoom-big, .p-image .cloud-zoom-big,
.image360 img, .p-image img {
  border: none !important;
  border-radius: 0 !important;
}

body.type-detail { background-color: #fff !important; }

/* Popis produktu – jemně šedé pozadí */
.type-detail .shp-tabs-wrapper,
.type-detail .shp-tabs-wrapper #description,
.type-detail .shp-tabs-wrapper .tab-pane,
.type-detail .shp-tab a,
.type-detail .shp-tab.active a {
  background-color: #f0eef61f !important;
  border-color: #f0f0f0 !important;
}

.shp-tabs-holder ul.shp-tabs li.active::after {
  background-color: #f0eef61f !important;
}

@media (min-width: 768px) {
  .type-detail .shp-tab a {
    font-family: 'Poppins', sans-serif !important;
    font-size: 22px !important;
    font-weight: 700 !important;
  }
}

@media (min-width: 992px) {
  .type-detail .breadcrumbs { margin-bottom: 10px; }
}

@media (min-width: 768px) {
  .type-detail .breadcrumbs { margin-bottom: 10px; }
}

.p-info-headline .h1, .p-info-headline h1,
.p-info-grid .detail-grid-title,
.quantity input, .detail-parameters th {
  color: var(--col1a);
}

/* Detail – cena defaultně col1a, akční cena oranžová */
.p-info-wrapper .p-final-price-wrapper .price-final { color: var(--col1a); }
.p-info-wrapper .p-final-price-wrapper .price-final .price-standard + strong { color: #f99e1f !important; }

.p-detail-info { margin-top: 10px; }

.p-short-description, .p-detail-info a, a.link-icon,
.p-short-description p { color: var(--col1b); }

@media (min-width: 768px) {
  .social-buttons-wrapper { padding-top: 25px; }
}

.social-buttons-wrapper { border-top: 1px solid #e2e0eb; }
.p-thumbnail.highlighted img,
.show360image.highlighted img { border: 2px solid var(--col2a); }
.p-thumbnails a img { border: 1px solid #e2e0eb; }

/* Thumbnail rotace */
.p-thumbnails a:nth-child(odd) img { transform: rotate(-0.8deg); transition: transform 0.2s ease; }
.p-thumbnails a:nth-child(even) img { transform: rotate(0.6deg); transition: transform 0.2s ease; }

.p-info-wrapper .availability-value { text-transform: none; }
.p-image-wrapper .flags-default { left: 8px; top: 8px; }
.category-link__icon span { background: #fff; }

/* PRIDAT DO KOSIKU */
.p-info-wrapper .add-to-cart {
  display: flex !important;
  flex-wrap: nowrap;
  align-items: center;
  width: 100%;
  gap: 15px;
  margin-bottom: 25px;
}

.p-info-wrapper .quantity {
  flex: 0 0 140px;
  width: 140px;
  height: 50px;
  background-color: transparent;
  border: 1px solid var(--col1b) !important;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  margin: 0;
}

.p-info-wrapper .quantity input.amount {
  background: transparent;
  border: 0;
  height: 50px;
  width: 100%;
  padding: 0 40px;
  text-align: center;
  font-weight: 700;
  color: var(--col1b);
}

.p-info-wrapper .quantity .increase,
.p-info-wrapper .quantity .decrease {
  height: 100%;
  width: 40px;
  background: transparent;
  border: 0;
  position: absolute;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  color: var(--col1b);
}

.p-info-wrapper .quantity .decrease { left: 0; }
.p-info-wrapper .quantity .increase { right: 0; }

.p-info-wrapper .btn.btn-conversion {
  flex: 1;
  width: auto;
  height: 50px;
  min-height: 50px;
  margin: 0;
  padding: 0 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.p-info-wrapper .btn.btn-conversion:hover {
  transform: rotate(0.4deg) scale(1.02) !important;
}

/* ============================================================
   DETAIL PRODUKTU – HRANATÝ OBDÉLNÍK ZA NÁZVEM
   ============================================================ */

.p-info-headline .h1,
.p-info-headline h1 {
  display: inline;
  padding: 6px 14px 6px 10px;
  color: #fff !important;
  background: var(--col1a);
  line-height: 1.6;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.p-info-headline .h1::before,
.p-info-headline h1::before {
  content: none;
}

/* Velikost & Barva selektory – bez zaoblení */
.hidden-split-parameter,
select.hidden-split-parameter,
.parameter-value,
.advanced-parameter .parameter-value {
  border-radius: 0 !important;
}

/* Související produkty – nadpis jako v kategorii */
.products-related-block {
  text-align: center;
}
.products-related-header {
  position: relative;
  display: inline-block !important;
  color: #fff !important;
  padding: 8px 20px 8px 16px;
  z-index: 1;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
}
@media (max-width: 767px) {
  .products-related-block {
    text-align: left;
  }
}
.products-related-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: -4px;
  width: calc(100% + 8px);
  height: 100%;
  background: var(--col1a);
  transform: rotate(-1deg);
  z-index: -1;
}

/* ============================================================
   HOMEPAGE
   ============================================================ */

body.is-loaded h4.homepage-group-title,
body.is-loaded .h4.homepage-group-title,
.welcome h1 {
  color: var(--col1a);
}

.welcome { background: #fff; }

.custom-cats__subtitle {
  display: none !important;
}

.welcome p { color: var(--col1b); }

/* KATEGORIE BOXY – každý jinak pootočený */
.custom-card {
  overflow: hidden;
  transition: all 0.3s ease !important;
}

.custom-card:nth-child(1) { transform: rotate(-0.7deg); }
.custom-card:nth-child(2) { transform: rotate(0.5deg); }
.custom-card:nth-child(3) { transform: rotate(-0.4deg); }
.custom-card:nth-child(4) { transform: rotate(0.8deg); }

/* Hover – přetočení */
.custom-card:nth-child(1):hover { transform: rotate(0.5deg) translateY(-4px) !important; box-shadow: 0 8px 25px -5px rgba(68, 58, 120, 0.15) !important; }
.custom-card:nth-child(2):hover { transform: rotate(-0.4deg) translateY(-4px) !important; box-shadow: 0 8px 25px -5px rgba(68, 58, 120, 0.15) !important; }
.custom-card:nth-child(3):hover { transform: rotate(0.6deg) translateY(-4px) !important; box-shadow: 0 8px 25px -5px rgba(68, 58, 120, 0.15) !important; }
.custom-card:nth-child(4):hover { transform: rotate(-0.6deg) translateY(-4px) !important; box-shadow: 0 8px 25px -5px rgba(68, 58, 120, 0.15) !important; }

/* ============================================================
   NADPISY – HRANATÝ OBDÉLNÍK (místo podtržítka)
   jako na aktuálním tutukids.cz
   ============================================================ */

h2.homepage-group-title,
.h4.homepage-group-title,
h4.homepage-group-title {
  position: relative;
  display: inline-block;
  color: #fff !important;
  padding: 8px 20px 8px 16px;
  z-index: 1;
  margin-bottom: 30px;
}

h2.homepage-group-title::before,
.h4.homepage-group-title::before,
h4.homepage-group-title::before {
  content: "";
  position: absolute;
  top: 0;
  left: -4px;
  width: calc(100% + 8px);
  height: 100%;
  background: var(--col1a);
  transform: rotate(-1.2deg);
  z-index: -1;
}

/* Odebrat starý podtržítkový ::after */
h2.homepage-group-title::after,
.h4.homepage-group-title::after,
h4.homepage-group-title::after {
  display: none !important;
}

/* Nadpis kategorie na stránce kategorie – stejný styl */
.type-category h1 {
  position: relative;
  display: inline-block;
  color: #fff !important;
  padding: 8px 20px 8px 16px;
  z-index: 1;
}

.type-category h1::before {
  content: "";
  position: absolute;
  top: 0;
  left: -4px;
  width: calc(100% + 8px);
  height: 100%;
  background: var(--col1a);
  transform: rotate(-1deg);
  z-index: -1;
}

/* ============================================================
   HOMEPAGE CUSTOM CARDS – styly karet řídí inline <style> v HTML
   banneru, zde jen doplňkové efekty
   ============================================================ */

/* SLIDER */
@media (min-width: 768px) {
  body:not(.is-carousel-full-width).one-column-body .homepage-box .carousel {
    margin-top: 0;
  }
}

/* ============================================================
   KONTAKTY
   ============================================================ */

@media (min-width: 1200px) {
  .in-contacts .content-inner > article { width: 100%; }
}

@media (min-width: 992px) {
  .in-contacts .content-inner > article { width: 100%; }
}

/* ============================================================
   FOOTER
   ============================================================ */

#footer {
  background-color: var(--col1c);
  margin-top: 50px;
}

#footer h4 {
  color: #fff;
  text-transform: none;
  font-family: 'Poppins', sans-serif;
}

#footer ul a { color: #ffffffb3; }

@media (min-width: 768px) {
  #footer h4 { font-size: 17px; }
}

.footer-bottom-bg:before { background: var(--col1c); }

.custom-footer {
  border-bottom: 1px solid #ffffff1a;
}

.footer-bottom {
  padding: 20px 20px 40px 20px;
}

/* FOOTER – logo sloupec */
.footer-logo-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 10px 0;
}

.footer-logo-column img.footer-logo-vyska {
  max-height: 100px;
  width: auto;
  margin-bottom: 15px;
  opacity: 0.95;
}

/* FOOTER – social ikony */
.footer-socials {
  display: flex;
  gap: 12px;
  margin-top: 15px;
}

.footer-social-link {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 38px;
  height: 38px;
  color: #fff !important;
  background: var(--col2a) !important;
  transform: rotate(-1.5deg);
  transition: all 0.25s ease;
}

.footer-social-link svg {
  fill: #fff !important;
  color: #fff !important;
}

.footer-social-link:nth-child(2) {
  transform: rotate(1.5deg);
}

.footer-social-link:nth-child(3) {
  transform: rotate(-2deg);
}

.footer-social-link:hover {
  color: #fff !important;
  background: #c42d7a !important;
  transform: rotate(-3deg) scale(1.1);
}

.footer-social-link:hover svg {
  fill: #fff !important;
}

.footer-social-link:nth-child(2):hover {
  transform: rotate(3deg) scale(1.1);
}

.footer-social-link:nth-child(3):hover {
  transform: rotate(-4deg) scale(1.1);
}

/* FOOTER – pandulák ilustrace */
.footer-illustration-wrapper {
  position: relative;
  width: 100%;
  text-align: center;
  margin-top: 0;
}

.footer-illustration-wrapper img {
  max-width: 200px;
  height: auto;
  transition: transform 0.3s ease;
}

.footer-illustration-wrapper img:hover {
  transform: scale(1.03);
}

/* FOOTER – mobilní layout */
@media (max-width: 767px) {
  /* Oddělení sloupce 1 (logo+socials) od sloupce 2 */
  .custom-footer__banner21 {
    margin-bottom: 30px !important;
  }

  /* Oddělení sloupce 2 od sloupce 3 */
  .custom-footer__banner1 {
    margin-bottom: 25px !important;
  }

  /* Oddělení sloupce 3 od sloupce 4 (panduláci) */
  .custom-footer__banner2 {
    margin-bottom: 30px !important;
  }

  /* Vystředění sloupců 2 a 3 (textové menu) */
  .custom-footer__banner1,
  .custom-footer__banner2 {
    text-align: center !important;
  }

  .custom-footer__banner1 .banner-wrapper,
  .custom-footer__banner2 .banner-wrapper {
    text-align: center !important;
  }

  .custom-footer__banner1 h4,
  .custom-footer__banner2 h4 {
    text-align: center !important;
  }

  .custom-footer__banner1 ul,
  .custom-footer__banner2 ul {
    list-style: none;
    padding: 0 !important;
    text-align: center !important;
  }
}

/* ============================================================
   KOSIK
   ============================================================ */

body.ordering-process { background: #f5f6f8; }

.cart-inner, ol.cart-header li.active {
  border: 1px solid #e2e0eb;
}

.discount-coupon {
  border-radius: 0 !important;
  background-color: #aa257021 !important;
}

@media (min-width: 768px) {
  .cart-table tr > td { border-bottom: 1px solid #e2e0eb; }
}

.checkout-box-wrapper {
  background-color: #fff;
  border: 1px solid #e2e0eb;
}

/* Cart box lehce pootočený */
.checkout-box-wrapper {
  transform: rotate(-0.15deg);
  transition: transform 0.3s ease;
}

.checkout-box-wrapper:hover {
  transform: rotate(0.1deg) !important;
}

/* ============================================================
   404
   ============================================================ */

.in-404 .content-inner, .id-404 .content-inner {
  background-color: #8857931a;
}

/* ============================================================
   BADGE AKCE
   ============================================================ */

.flag.flag-discount::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96' viewBox='0 0 96 96'%3E%3Cg%3E%3Cg%3E%3Cpath fill='%23f78b1e' d='M93.71 42.777l-3.374-5.121a3.181 3.181 0 0 1-.507-1.844l.333-6.193a9.472 9.472 0 0 0-5.197-8.995l-5.49-2.777a2.987 2.987 0 0 1-1.327-1.328l-2.774-5.485a9.424 9.424 0 0 0-8.993-5.199l-6.195.334c-.65.034-1.29-.14-1.833-.5l-5.131-3.38A9.46 9.46 0 0 0 48 .722a9.457 9.457 0 0 0-5.22 1.566l-5.122 3.373a3.21 3.21 0 0 1-1.843.508l-6.193-.334a9.425 9.425 0 0 0-8.995 5.197l-2.778 5.491a2.986 2.986 0 0 1-1.327 1.326l-5.486 2.774a9.472 9.472 0 0 0-5.198 8.993l.334 6.198a3.013 3.013 0 0 1-.501 1.83l-3.38 5.132a9.474 9.474 0 0 0 0 10.443l3.372 5.12c.358.557.533 1.2.509 1.843l-.334 6.194a9.471 9.471 0 0 0 5.196 8.995l5.492 2.777a2.989 2.989 0 0 1 1.325 1.328l2.774 5.485a9.426 9.426 0 0 0 8.994 5.198l6.196-.333c.65-.036 1.287.14 1.832.5l5.132 3.38A9.46 9.46 0 0 0 48 95.274a9.463 9.463 0 0 0 5.221-1.566l5.121-3.373a3.2 3.2 0 0 1 1.843-.508l6.193.333a9.424 9.424 0 0 0 8.995-5.197l2.777-5.49a2.99 2.99 0 0 1 1.328-1.328l5.485-2.774a9.47 9.47 0 0 0 5.199-8.993l-.334-6.196c-.035-.65.14-1.288.5-1.833l3.38-5.131a9.466 9.466 0 0 0 1.566-5.22 9.459 9.459 0 0 0-1.566-5.224z'%2F%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fsvg%3E") !important;
}

/* ============================================================
   SCROLLBAR (bonus)
   ============================================================ */

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--col1d); }
::-webkit-scrollbar-thumb { background: var(--col1b); }
::-webkit-scrollbar-thumb:hover { background: var(--col2a); }
