@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300;400;500;600;700&display=swap');

/* ============================================================
   custom.css — Shoptet restyle for 793039.myshoptet.com
   Template 12 (Step) · external CSS, loaded last to win the cascade
   ============================================================

   HOW THIS WORKS
   - This file is layered ON TOP of Shoptet's own stylesheets.
   - Shoptet's CSS does NOT consume these variables internally, so
     redefining a --colors-* var alone will NOT restyle the template.
     You must write real rules targeting Shoptet's classes (below),
     using the variables as values where convenient.
   - Final delivery: upload this file to the shop, then link it via a
     <link> in the admin Header (HTML codes). The inline admin sections
     are capped at 8192 chars — that's why this lives in a file.

   PREVIEW
   - preview/index.html already links ../dist/custom.css last.
   - For the simplest local loop, work directly in this file and point
     the preview <link> here (see note in CLAUDE.md). No build needed
     for plain CSS — a build step is only required if you write LESS.

   ORGANIZATION
   - Each numbered section holds its own base rules, followed by its
     own "Responsive" block (ordered by descending max-width, then any
     min-width queries). Don't reintroduce one big catch-all media
     query dump at the end — keep each component's overrides next to
     its base rules so they're easy to find.
   ============================================================ */


/* ------------------------------------------------------------
   1. BRAND TOKENS  — your palette goes here
   These are YOUR values. Reference them below with var(--brand-*).
   Keep brand tokens separate from Shoptet's --colors-* tokens so
   you never wonder which is which.
   ------------------------------------------------------------ */
:root {
  /* Colours */
  --brand-primary: #1f1f1f;
  --brand-primary-hover: #000000;
  --brand-color-accent: #19758A;
  /* teal — button stroke/fill */
  --brand-color-hover: #FEAAA7;
  /* pink — hover state */
  --brand-bg: #ffffff;
  --brand-bg-page: #FFFAFA;
  /* page & header background */
  --brand-bg-section: #FFEDED;
  /* pink section background */

  /* Typography */
  --brand-font: 'Quicksand', sans-serif;

  /* Geometry */
  --brand-radius: 8px;
  --brand-radius-card: 20px;
}


/* ------------------------------------------------------------
   2. SHOPTET'S OWN TOKENS  — READ-ONLY REFERENCE
   These are the real variables found in this shop's compiled CSS.
   Do NOT redefine them to restyle (it won't work — see header).
   Use them as values, e.g. border-color: var(--colors-foregrounds-borders-secondary);
   ------------------------------------------------------------
     --colors-surface-primary:    #fff
     --colors-surface-secondary:  #f6f6f6
     --colors-surface-subtle:     #e6e6e6
     --colors-foregrounds-headlines-primary:  #1f1f1f
     --colors-foregrounds-content-primary:    #1f1f1f
     --colors-foregrounds-content-secondary:  #4d4d4d
     --colors-foregrounds-borders-secondary:  #dadada
     --colors-forms-activated:    #3f7e88
     --colors-state-success:      #3a800e
     --colors-state-danger:       #d33a36
   ------------------------------------------------------------ */


/* ------------------------------------------------------------
   3. GLOBAL
   ------------------------------------------------------------ */

body,
#header,
#content,
#footer,
.container,
.row,
.row.banners-row,
.wide-carousel,
.banners-row .carousel-inner {
  background-color: var(--brand-bg-page) !important;
  line-height: 2em;
}

body,
#header,
#footer,
#content,
.container {
  font-family: var(--brand-font) !important;
}

.content-wrapper {
  background-color: var(--brand-bg-page) !important;
}

.footer-newsletter {
  display: none !important;
}

.homepage-texts-wrapper {
  display: none !important;
}

.shp-tabs-wrapper.homepage-tabs-wrapper {
  display: none;
}

/* Responsive visibility utilities */
.ttm__xs {
  display: none !important;
}

.ttm__xl {
  display: inline-block !important;
}

/* Global — Responsive */
@media (max-width: 1024px) {
  .ttm__xs {
    display: inline-block !important;
  }

  .ttm__xl {
    display: none !important;
  }
}

@media (max-width: 500px) {
  .index-content-wrapper {
    overflow: hidden;
  }
}


/* ------------------------------------------------------------
   4. HEADER & NAVIGATION
   ------------------------------------------------------------ */

#header .navigation-wrapper {
  padding-top: 20px;
  padding-bottom: 20px;
}

.site-name {
  max-width: 150px !important;
  flex-shrink: 0;
  flex-basis: 150px !important;
}

.site-name img {
  transform: scale(2);
  transform-origin: left center;
}

.site-name a {
  padding-top: 5px;
  padding-bottom: 5px;
  display: block;
}

#navigation .menu-level-1 a,
#navigation .menu-level-1 b {
  font-weight: 500 !important;
}

/* CTA nav pill */
li.menu-item-external-31 {
  margin-left: 10px;
}

li.menu-item-external-31 a {
  display: block;
  background-color: var(--brand-color-accent) !important;
  color: #ffffff !important;
  padding: 0.5em 1.5em !important;
  border-radius: 50px;
  border: 4px solid var(--brand-color-accent) !important;
  font-weight: 600;
}

#navigation .menu-level-1 li.menu-item-external-31 a b {
  color: inherit;
  font-weight: 600 !important;
}

li.menu-item-external-31:hover a {
  background-color: var(--brand-color-hover) !important;
  border-color: var(--brand-color-hover) !important;
  color: var(--brand-color-accent) !important;
}

/* Mobile CTA button — shown only when nav collapses to hamburger */
.ttm__nav__cta-mobile {
  display: none;
}

/* Header & Navigation — Responsive */
@media (max-width: 1500px) {
  #header .container {
    width: 100% !important;
    padding-left: 40px !important;
    padding-right: 15px !important;
  }
}

@media (max-width: 1300px) {
  li.menu-item-external-31 {
    display: none !important;
  }
}

@media (max-width: 991px) {
  .site-name img {
    transform: none;
  }

  #header .navigation-wrapper {
    padding-top: 0;
    padding-bottom: 0;
  }

  .ttm__nav__cta-mobile {
    display: inline-block;
    background-color: var(--brand-color-accent);
    color: #ffffff !important;
    padding: 0.5em 1.5em;
    border-radius: 50px;
    border: 4px solid var(--brand-color-accent);
    font-weight: 600;
    font-family: var(--brand-font);
    text-decoration: none;
  }

  .ttm__nav__cta-mobile:hover {
    background-color: var(--brand-color-hover);
    border-color: var(--brand-color-hover);
    color: var(--brand-color-accent) !important;
  }
}

@media (max-width: 500px) {
  #header .container {
    padding-left: 15px !important;
  }

  #header .site-name a img {
    display: block;
    max-height: 70px;
  }

  .navigation-buttons {
    margin-top: 13px;
  }
}

@media (min-width: 992px) {
  .fitted .navigation-in ul {
    justify-content: flex-end;
  }
}

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


/* ------------------------------------------------------------
   5. HERO CAROUSEL
   ------------------------------------------------------------ */

/* Ensure Shoptet's promo span wrapper doesn't collapse the banner */
.carousel-inner .item span {
  display: block;
}

.wide-carousel {
  display: flex;
  justify-content: center;
  background: transparent !important;
  width: 100%;
  padding: 0 40px;
  box-sizing: border-box;
}

.wide-carousel .carousel {
  width: 100%;
  max-width: 1418px;
  border-radius: var(--brand-radius-card);
  overflow: hidden;
  background: transparent !important;
}

.wide-carousel .carousel-inner,
.wide-carousel .item {
  background: transparent !important;
  font-size: 0;
  line-height: 0;
}

.wide-carousel .item span {
  display: block;
  font-size: initial;
  line-height: initial;
}

.wide-carousel .carousel-inner img {
  width: 100%;
  height: auto;
  display: block;
}

/* Hero banner content */
.ttm__header__banner {
  background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
    url('https://793039.myshoptet.com/user/documents/upload/tatemi-joga-pro-deti-praha.jpg');
  background-position: left;
  background-repeat: no-repeat;
  width: 100%;
  min-height: 500px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 40px 20px 50px;
  box-sizing: border-box;
}

.ttm__header__title {
  text-align: center;
  font-size: 60px;
  font-weight: 600;
  text-transform: uppercase;
  color: #ffffff;
  margin: 0 0 40px;
}

.ttm__header__perex {
  text-align: center;
  font-size: 26px;
  font-weight: 500;
  color: #ffffff;
  margin: 0;
  max-width: 700px;
}

/* Hero Carousel — Responsive */
@media (max-width: 1024px) {
  .ttm__header__title {
    width: 80%;
  }
}

@media (max-width: 991px) {
  .ttm__header__title {
    font-size: 52px;
  }
}

@media (max-width: 500px) {
  .wide-carousel {
    padding: 0;
  }

  .wide-carousel .carousel {
    width: 90%;
  }

  .ttm__header__title {
    font-size: 48px !important;
    width: 100%;
  }

  .ttm__header__banner {
    min-height: 700px;
  }
}

@media (max-width: 400px) {
  .ttm__header__title {
    font-size: 44px !important;
  }
}

@media (max-width: 360px) {
  .ttm__header__title {
    font-size: 40px !important;
  }
}


/* ------------------------------------------------------------
   6. BANNERS ROW (carousel + O TATEMI side banners)
   ------------------------------------------------------------ */

.row.banners-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  padding-bottom: 40px;
}

/* Decorative curves — right edge of the page, outside the carousel card */
.row.banners-row::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  width: 280px;
  height: 490px;
  background: url('https://793039.myshoptet.com/user/documents/upload/curve.png') top right / contain no-repeat;
  pointer-events: none;
  z-index: 10;
}

/* About banners (O TATEMI / side text)
   NOTE: Shoptet positions .next-to-carousel-banners absolutely as a
   sidebar beside the carousel. The layout resets below override that
   so it stacks below the carousel instead. */
.next-to-carousel-banners {
  position: relative !important;
  transform: none !important;
  float: none !important;
  margin: 50px 0 10px 0 !important;
  width: 100%;
  box-sizing: border-box;
  padding: 100px;
  background-color: var(--brand-bg-page) !important;
  border-radius: 20px;
  display: flex !important;
  flex-wrap: nowrap;
  align-items: flex-start;
  column-gap: 80px;
}

.next-to-carousel-banners .banner-wrapper {
  width: 50%;
  box-sizing: border-box;
}

.next-to-carousel-banners::before {
  content: '';
  position: absolute;
  left: 0;
  top: -180px;
  width: 260px;
  height: 260px;
  background: url('https://793039.myshoptet.com/user/documents/upload/emocnak4.png') center / contain no-repeat;
  pointer-events: none;
}

.next-to-carousel-banners::after {
  content: '';
  position: absolute;
  bottom: -50px;
  right: 70px;
  width: 300px;
  height: 300px;
  background: url('https://793039.myshoptet.com/user/documents/upload/emocnak5.png') center / contain no-repeat;
  pointer-events: none;
}

.next-to-carousel-banners .banner-wrapper:nth-child(2) {
  padding-top: 88px;
}

/* Banners Row — Responsive */
@media (max-width: 1024px) {
  .row.banners-row::after {
    display: none;
  }

  .next-to-carousel-banners::before {
    left: auto;
    right: 0;
    top: -140px;
    width: 260px;
    height: 260px;
  }

  .next-to-carousel-banners {
    flex-direction: column !important;
    padding-left: 100px !important;
    padding-right: 100px !important;
  }

  .next-to-carousel-banners::after {
    bottom: -100px;
    right: 0;
  }

  .next-to-carousel-banners .banner-wrapper {
    width: 100% !important;
  }

  .next-to-carousel-banners .banner-wrapper:nth-child(2) {
    padding-top: 0 !important;
  }
}

@media (max-width: 700px) {
  .next-to-carousel-banners {
    background-image: none !important;
  }
}

@media (max-width: 500px) {
  .row.banners-row {
    padding-top: 20px;
  }

  .next-to-carousel-banners {
    padding-left: 30px !important;
    padding-right: 30px !important;
    padding-bottom: 200px !important;
  }

  .next-to-carousel-banners::before {
    top: -190px;
  }
}


/* ------------------------------------------------------------
   7. TTM COMPONENTS (titles, about items, buttons)
   ------------------------------------------------------------ */

.ttm__about__title,
.benefitBanner__title,
.homepage-group-title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 50px;
}

.benefitBanner__title {
  margin-bottom: 0;
}

.ttm__about__item {
  font-size: 20px;
  line-height: 2em;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* Shared button base */
.ttm__button__primary,
.ttm__button__secondary,
.blog-wrapper .news-item .read-article {
  display: inline-block;
  width: fit-content;
  border-radius: 50px;
  border: 4px solid var(--brand-color-accent);
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  text-align: center;
}

.ttm__button__primary {
  background-color: var(--brand-color-accent);
  color: #ffffff !important;
  padding: 0.5em 1.5em;
}

.ttm__button__primary:hover {
  background-color: var(--brand-color-hover);
  border-color: var(--brand-color-hover);
  color: var(--brand-color-accent) !important;
}

.ttm__button__secondary,
.blog-wrapper .news-item .read-article {
  background-color: transparent;
  color: var(--brand-color-accent) !important;
  padding: 0.25em 1.5em;
  margin-top: 30px;
}

.ttm__button__secondary:hover,
.blog-wrapper .news-item .read-article:hover {
  background-color: var(--brand-color-accent);
  color: var(--brand-color-hover) !important;
}

/* TTM Components — Responsive */
@media (max-width: 500px) {
  .ttm__about__item {
    align-items: center;
    text-align: center;
  }

  .ttm__button__primary,
  .ttm__button__secondary,
  .blog-wrapper .news-item .read-article {
    width: 100%;
    text-align: center;
  }
}


/* ------------------------------------------------------------
   8. BENEFIT BANNERS (Kurzy & Workshopy section)
   ------------------------------------------------------------ */

.container.container--bannersBenefit {
  background-color: var(--brand-bg-section) !important;
  max-width: 1418px !important;
  width: 100%;
  padding: 100px 100px 60px;
  border-radius: var(--brand-radius-card);
  overflow: hidden;
}

/* Product page only */
.type-product .container.container--bannersBenefit {
  padding: 0 100px 60px;
}

.container--bannersBenefit .benefitBanner {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  row-gap: 50px;
}

.container--bannersBenefit .benefitBanner__item {
  box-sizing: border-box;
}

/* Full-width items */
.container--bannersBenefit .benefitBanner__item:nth-child(1),
.container--bannersBenefit .benefitBanner__item:nth-child(10) {
  flex: 0 0 100% !important;
}

.container--bannersBenefit .benefitBanner__item:nth-child(1) .ttm__about__title {
  margin-bottom: 0;
}

/* Quarter-width items */
.container--bannersBenefit .benefitBanner__item:nth-child(2),
.container--bannersBenefit .benefitBanner__item:nth-child(3),
.container--bannersBenefit .benefitBanner__item:nth-child(4),
.container--bannersBenefit .benefitBanner__item:nth-child(5) {
  flex: 0 0 25% !important;
}

/* Half-width items */
.container--bannersBenefit .benefitBanner__item:nth-child(6),
.container--bannersBenefit .benefitBanner__item:nth-child(7),
.container--bannersBenefit .benefitBanner__item:nth-child(8),
.container--bannersBenefit .benefitBanner__item:nth-child(9) {
  flex: 0 0 50% !important;
}

/* Hide excess items */
.container--bannersBenefit .benefitBanner__item:nth-child(n+11) {
  display: none;
}

/* Button row — centred */
.container--bannersBenefit .benefitBanner__item:nth-child(10) .benefitBanner__content,
.container--bannersBenefit .benefitBanner__item:nth-child(10) .benefitBanner__data {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.benefitBanner__picture {
  display: flex;
  align-items: center;
  justify-content: center;
}

.benefitBanner__picture img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.benefitBanner__item .benefitBanner__content:has(.ttm__video),
.benefitBanner__item .benefitBanner__data:has(.ttm__video) {
  width: 100%;
}

.benefitBanner__item:has(.ttm__video) {
  padding-left: 10%;
}

.ttm__video {
  display: flex;
  justify-content: flex-end;
  width: 100%;
}

.ttm__video video {
  display: block;
  margin-left: auto;
  width: 80%;
  border-radius: 20px;
}

.container--bannersBenefit .benefitBanner__item:nth-child(7) .benefitBanner__content,
.container--bannersBenefit .benefitBanner__item:nth-child(7) .benefitBanner__data {
  display: flex;
  justify-content: flex-end;
  align-items: stretch;
  height: 100%;
}

/* Benefit Banners — Responsive */
@media (max-width: 1300px) {
  .benefitBanner__item:has(.ttm__video) {
    padding-left: 0;
  }
}

@media (max-width: 800px) {

  .container--bannersBenefit .benefitBanner__item:nth-child(6),
  .container--bannersBenefit .benefitBanner__item:nth-child(7),
  .container--bannersBenefit .benefitBanner__item:nth-child(8),
  .container--bannersBenefit .benefitBanner__item:nth-child(9) {
    flex: 0 0 100% !important;
  }

  .ttm__video video {
    margin-left: 0;
    width: 100%;
  }
}

@media (max-width: 500px) {
  .container.container--bannersBenefit {
    padding: 50px 30px 30px;
  }

  .container--bannersBenefit .benefitBanner__item:nth-child(2),
  .container--bannersBenefit .benefitBanner__item:nth-child(3),
  .container--bannersBenefit .benefitBanner__item:nth-child(4),
  .container--bannersBenefit .benefitBanner__item:nth-child(5) {
    flex: 0 0 100% !important;
  }

  .container--bannersBenefit .benefitBanner__item:nth-child(1) .ttm__about__title {
    text-align: center;
  }
}


/* ------------------------------------------------------------
   9. BODY BANNERS GRID (E-shop / Kategorie section)
   ------------------------------------------------------------ */

.banners-content.body-banners {
  display: grid;
  grid-template-columns: 1fr 1fr 2fr;
  width: 100%;
  gap: 12px;
  padding: 12px;
  box-sizing: border-box;
}

/* Title injected via ::before — frees all 4 banner slots for images */
.banners-content.body-banners::before {
  content: 'E-shop';
  grid-column: 1 / -1;
  grid-row: 1;
  font-size: 36px;
  font-weight: 700;
  font-family: var(--brand-font);
  display: flex;
  align-items: flex-end;
  min-height: 120px;
  padding: 20px;
  margin-bottom: 20px;
}

.banners-content.body-banners .banner-wrapper {
  border-radius: var(--brand-radius-card);
  overflow: hidden;
  border: none !important;
  position: relative;
}

.banners-content.body-banners .banner-wrapper a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: none;
  height: 100%;
}

.banners-content.body-banners .extended-banner-texts {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
}

.banners-content.body-banners .extended-banner-link {
  display: block;
  width: 100%;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  color: #ffffff !important;
  font-size: 32px;
  font-weight: 600;
  text-align: center;
}

.banners-content.body-banners .banner-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.banners-content.body-banners .banner-wrapper:nth-child(1) .ttm__about__title {
  display: none;
}

/* Item 1 — col 1, spans 2 rows */
.banners-content.body-banners .banner-wrapper:nth-child(1) {
  grid-column: 1;
  grid-row: 2 / span 2;
}

/* Item 2 — col 2, row 2 */
.banners-content.body-banners .banner-wrapper:nth-child(2) {
  grid-column: 2;
  grid-row: 2;
}

/* Item 3 — col 3, spans 2 rows */
.banners-content.body-banners .banner-wrapper:nth-child(3) {
  grid-column: 3;
  grid-row: 2 / span 2;
}

/* Item 4 — col 2, row 3 */
.banners-content.body-banners .banner-wrapper:nth-child(4) {
  grid-column: 2;
  grid-row: 3;
}

/* Body Banners Grid — Responsive */
@media (max-width: 1300px) {
  .extended-banner-link {
    margin-top: -30px;
  }
}

@media (max-width: 500px) {
  .banners-content.body-banners .banner-wrapper {
    grid-column: 1 / -1 !important;
    grid-row: auto !important;
  }

  .banners-content.body-banners::before {
    justify-content: center;
    text-align: center;
  }
}


/* ------------------------------------------------------------
   10. BLOG SECTION
   ------------------------------------------------------------ */

.homepage-blog-wrapper {
  padding: 120px 0;
  margin-top: 100px;
  margin-bottom: 100px;
  background-color: var(--brand-bg-section) !important;
  border-radius: 20px;
  position: relative;
}

.homepage-blog-wrapper::before {
  content: '';
  position: absolute;
  left: -100px;
  top: -80px;
  width: 600px;
  height: 340px;
  background: url('https://793039.myshoptet.com/user/documents/upload/emocnak3.png') center / contain no-repeat;
  pointer-events: none;
}

.homepage-blog-wrapper .homepage-group-title {
  font-size: 36px !important;
  font-weight: 600 !important;
}

.homepage-blog-wrapper .news-item .image img {
  border-radius: var(--brand-radius-card);
}

.news-item .text .title {
  font-size: 20px !important;
  font-weight: 500 !important;
}

/* Blog Section — Responsive */
@media (max-width: 1024px) {
  .blog-wrapper .news-item {
    flex-basis: 60% !important;
    padding: 0 100px;
    margin-bottom: 60px;
  }

  .blog-wrapper .news-item:nth-child(n+3):last-child {
    margin-right: 0 !important;
  }
}

@media (max-width: 700px) {
  .homepage-blog-wrapper {
    background-image: none !important;
  }
}

@media (max-width: 500px) {
  .homepage-blog-wrapper {
    margin-top: 0;
    padding-bottom: 0;
  }

  .homepage-blog-wrapper::before {
    width: 500px;
    height: 300px;
  }

  .columns-mobile-2 .homepage-blog-wrapper .news-item {
    padding: 0 50px;
  }
}


/* ------------------------------------------------------------
   11. FOOTER
   ------------------------------------------------------------ */

#footer,
#footer .container,
#footer .row {
  background-color: var(--brand-bg-section) !important;
}

#footer,
.footer-rows,
.row.custom-footer {
  border-top: none !important;
}

#footer {
  padding-top: 40px;
}

.custom-footer__instagram {
  width: 50% !important;
}

.custom-footer__contact,
.custom-footer__articles {
  width: 25% !important;
}

.instagram-widget {
  max-width: none !important;
  display: flex;
  flex-wrap: wrap;
  column-gap: 1px;
  row-gap: 1px;
}

.instagram-widget.columns-3>a {
  width: calc((100% - 2px) / 3) !important;
}

.instagram-widget a img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.instagram-follow-btn {
  text-align: left !important;
}

.custom-footer__instagram .pageElement__heading span {
  visibility: hidden;
  position: relative;
  display: block;
  margin-bottom: 40px;
}

.custom-footer__instagram .pageElement__heading span::after {
  content: 'Pojďme se propojit';
  visibility: visible;
  position: absolute;
  left: 0;
}

/* Footer — Responsive */
@media (max-width: 1200px) {
  .custom-footer__banner5921 {
    width: 100% !important;
    display: flex;
    justify-content: center;
    text-align: center;
  }

  .custom-footer__banner5921 img {
    max-width: 80%;
  }
}

@media (max-width: 1024px) {
  .custom-footer__instagram {
    width: 100% !important;
    margin-bottom: 40px;
  }

  .custom-footer__contact,
  .custom-footer__articles {
    width: 100% !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .custom-footer__articles ul li::before {
    display: none !important;
  }

  #footer ul {
    padding-left: 0 !important;
  }
}

@media (max-width: 500px) {
  .instagram-widget {
    row-gap: 1px;
  }

  .instagram-widget.columns-3>a {
    width: 100% !important;
    aspect-ratio: 1;
    padding-bottom: 0 !important;
  }

  .custom-footer__instagram .pageElement__heading,
  .instagram-follow-btn {
    text-align: center !important;
  }

  .custom-footer__instagram .pageElement__heading span::after {
    width: 100%;
  }
}

@media (min-width: 1200px) {
  .custom-footer__banner5921 {
    width: 50% !important;
  }
}


/* ------------------------------------------------------------
   12. CATEGORY PAGE — SUBCATEGORY TILES
   ------------------------------------------------------------ */

.box.box-bg-variant.box-categories,
.filter-section.filter-section-boolean,
.box.box-bg-variant.box-onlinePayments {
  background-color: transparent !important;
}

.subcategories.with-image {
  margin: 0 !important;
  gap: 20px;
}

.subcategories.with-image li {
  padding-left: 0 !important;
  padding-right: 0 !important;
  flex: 0 0 auto;
}

.subcategories.with-image li.col-xs-6 {
  width: calc(50% - 10px) !important;
}

.subcategories.with-image li a {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  width: 100%;
  padding: 0;
}

.subcategories.with-image li a .text {
  flex-grow: 0;
}

.subcategories.with-image li .image {
  display: block;
  width: 100%;
  height: auto !important;
  flex: 0 0 auto;
  margin: 0 0 1rem !important;
}

.subcategories.with-image li .image img {
  display: block;
  width: 100% !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: none !important;
  aspect-ratio: 1.5;
  object-fit: cover;
}

/* Category Page — Responsive */
@media (min-width: 768px) {
  .subcategories.with-image li.col-sm-6 {
    width: calc(50% - 10px) !important;
  }
}

@media (min-width: 1200px) {

  .subcategories.with-image li.col-lg-3,
  .subcategories.with-image li.col-xl-3 {
    width: calc(25% - 15px) !important;
  }
}

/* UNIQUE PAGE */

.pageArticleDetail h1 {
  text-align: center;
}

.pageArticleDetail {
  padding: 5rem 1rem;
  background-color: var(--brand-bg-section) !important;
  border-radius: var(--brand-radius-card);
}

.pageArticleDetail #emocnakwrapper img {
  position: relative;
  right: auto;
  top: auto;
}

.pageArticleDetail .stranka-content-image {
  width: 100%;
  padding: 10%;
  margin-left: 0;
  padding-top: 0;
}

.pageArticleDetail .stranka-content-iconlist {
  text-align: center;
}

.pageArticleDetail .stranka-content-iconlist img {
  float: none !important;
  margin-left: 3rem;
}

.pageArticleDetail ul.ttm__list {
  list-style-type: none;
  padding-inline-start: 0;
}

.pageArticleDetail ul.ttm__list img {
  display: block;
  margin-top: 2rem !important;
}


.custom-footer__banner5921 {
  overflow-x: clip;
}

.custom-footer__banner5921::before {
  content: '';
  position: absolute;
  left: auto;
  right: -5rem;
  top: -200px;
  width: 200px;
  height: 200px;
  transform: scaleX(-1) rotate(45deg);
  background: url(https://793039.myshoptet.com/user/documents/upload/sipka.png) center / contain no-repeat;
  pointer-events: none;
}


@media (min-width: 1000px) {
  .pageArticleDetail {
    padding: 2rem 4rem;
  }

  .pageArticleDetail .stranka-content-box {
    display: flex;
    width: 700px;
    margin: 0 auto;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .pageArticleDetail .stranka-content-item {
    width: 45%;
  }

  .pageArticleDetail .stranka-content-item-30 {
    width: 28%;
  }

  .pageArticleDetail .stranka-content-item-30 tr:first-of-type>td {
    height: 90rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }

  .pageArticleDetail .stranka-content-image {
    width: 40%;
    padding: 0;
  }

  .pageArticleDetail .stranka-content-image__small {
    width: 200px;
  }

  .pageArticleDetail .stranka-content-iconlist {
    text-align: left;
  }

  .pageArticleDetail .stranka-content-iconlist img {
    float: left;
    margin-left: 0;
  }



  .pageArticleDetail ul.ttm__list {
    padding-inline-start: auto;
  }

  .pageArticleDetail ul.ttm__list img {
    display: inline-block;
    margin-top: 0.5rem !important;
  }

  .custom-footer__banner5921::before {
    left: 50%;
    top: -330px;
    width: 200px;
    height: 200px;
  }
}

@media (min-width: 1200px) {
  .pageArticleDetail .stranka-content-item-30 tr:first-of-type>td {
    height: 80rem;
  }

  .custom-footer__banner5921::before {
    left: 80px;
    top: -30px;
    width: 150px;
    height: 150px;
    transform: none;
  }
}

@media (min-width: 1400px) {

  .pageArticleDetail #emocnakwrapper img {
    position: absolute;
    top: 40rem;
    right: 2rem;
  }

  .pageArticleDetail .stranka-content-item-30 tr:first-of-type>td {
    height: 75rem;
  }
}


#content-wrapper {
  margin-top: 4rem;
}

@media (min-width: 500px) {
  #content-wrapper {
    margin-top: 0;
  }
}