/* ESKLE e-shop — sloucene styly, verze 1
   Zdroj: nasazene opravy v4 az v9 ve stejnem poradi kaskady. */

/* ESKLE – homepage a hlavicka pro Shoptet Samba, verze 4 */

/* Na titulni strane skryje puvodni Shoptet bloky, ne hlavicku ani paticku. */
body.in-index:has(.ae-home) #content>.sr-only,
body.in-index:has(.ae-home) #content>.benefit-banners-full-width,
body.in-index:has(.ae-home) #content>.homepage-group-title,
body.in-index:has(.ae-home) #content>.products-wrapper,
body.in-index:has(.ae-home) #content>.homepage-banners-full-width,
body.in-index:has(.ae-home) #content>.homepage-blog-wrapper,
body.in-index:has(.ae-home) #content>.homepage-latest-contribution-full-width,
body.in-index:has(.ae-home) .overall-wrapper>.carousel-wrapper{display:none!important}
body.in-index:has(.ae-home) #content{padding-top:0!important;max-width:none!important}
body.in-index:has(.ae-home) #content>.welcome-wrapper,
body.in-index:has(.ae-home) #content>.welcome-wrapper>.welcome{margin:0!important;padding:0!important;max-width:none!important}
body.in-index:has(.ae-home) #content>.welcome-wrapper h1:first-child:not(.ae-home *){display:none!important}

.ae-home{--ae-text:#242424;--ae-line:#c8c8c8;--ae-max:1440px;color:var(--ae-text);font-family:Arial,Helvetica,sans-serif;font-size:15px;line-height:1.55;background:#fff}
.ae-home *{box-sizing:border-box}
.ae-home img{display:block;width:100%;height:auto}
.ae-home a{color:inherit;text-decoration:none}
.ae-full{position:relative;left:50%;width:100vw;margin-left:-50vw}
.ae-section{width:min(calc(100% - 48px),var(--ae-max));margin:0 auto;padding:96px 0}
.ae-home h1,.ae-home h2,.ae-home h3,.ae-home p{margin-top:0}
.ae-home h1,.ae-home h2{font-weight:400;letter-spacing:-.02em}
.ae-button{display:inline-flex;min-height:38px;align-items:center;justify-content:center;padding:9px 24px;border:1px solid var(--ae-line);border-radius:999px;background:transparent;font-size:11px;font-weight:400;line-height:1;text-transform:uppercase;letter-spacing:.05em;transition:background-color .2s,color .2s,border-color .2s}
.ae-button:hover,.ae-button:focus-visible{background:#222;border-color:#222;color:#fff}
.ae-button--light{border-color:rgba(255,255,255,.85);color:#fff}
.ae-button--light:hover,.ae-button--light:focus-visible{background:#fff;border-color:#fff;color:#222}
.ae-hero{min-height:min(76vh,850px);overflow:hidden;background:#777}
.ae-hero>img{position:absolute;inset:0;height:100%;object-fit:cover}
.ae-hero:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,0,0,.12),rgba(0,0,0,.02),rgba(0,0,0,.18))}
.ae-hero__content{position:absolute;z-index:1;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:32px;text-align:center;color:#fff}
.ae-hero__content h1,.ae-hero__content h2{margin-bottom:28px;font-size:clamp(28px,3.1vw,48px);line-height:1.1}
.ae-heading-row{display:flex;align-items:center;justify-content:space-between;margin-bottom:28px}
.ae-heading-row h2{margin:0;font-size:18px}
.ae-product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:58px}
.ae-product-card a{display:block}
.ae-product-card__image{display:block;overflow:hidden;background:#f1f1ef;aspect-ratio:4/5}
.ae-product-card img{height:100%;object-fit:cover;transition:transform .5s ease}
.ae-product-card a:hover img{transform:scale(1.025)}
.ae-product-card h3{margin:14px 0 2px;font-size:13px;font-weight:400}
.ae-product-card p{margin:0;font-size:11px}
.ae-actions{display:flex;justify-content:flex-end;margin-top:48px}
.ae-manifesto{max-width:920px;text-align:center;padding-top:50px;padding-bottom:110px}
.ae-manifesto h2{margin-bottom:38px;font-size:30px}
.ae-manifesto p{margin-bottom:6px;font-size:12px}
.ae-hero--secondary{min-height:min(68vh,760px)}
.ae-values{display:grid;gap:22px;max-width:650px;padding-top:120px;padding-bottom:100px;text-align:center}
.ae-values h2{margin-bottom:2px;font-size:24px}
.ae-values p{margin-bottom:0;font-size:11px}
.ae-story{display:grid;grid-template-columns:1fr 1fr;align-items:center;margin-top:30px}
.ae-story__image{min-height:680px}
.ae-story__image img{height:100%;min-height:680px;object-fit:cover}
.ae-story__text{max-width:560px;padding:72px clamp(36px,7vw,120px);text-align:center}
.ae-story__text h2{font-size:30px}
.ae-story__text p{font-size:12px}
.ae-signature{max-width:110px;margin:28px auto 22px}
.ae-closing{height:min(62vw,720px);margin:0;overflow:hidden}
.ae-closing img{height:100%;object-fit:cover}
.ae-sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}

/* Desktop: menu vlevo, logo uprostred, systemove ikony vpravo. */
@media(min-width:768px){
  body.template-14 #header{position:relative!important;height:76px!important;min-height:76px!important;border-bottom:1px solid #eee;background:#fff}
  body.template-14 #header .header-top{height:76px!important;min-height:76px!important}
  body.template-14 #header .header-top-wrapper{position:relative!important;width:100%!important;max-width:none!important;height:76px!important;min-height:76px!important;padding:0 30px!important}
  body.template-14 #header .site-name{position:absolute!important;z-index:3;top:0!important;left:50%!important;width:auto!important;height:76px!important;transform:translateX(-50%)}
  body.template-14 #header .site-name a{display:flex!important;align-items:center;justify-content:center;height:76px!important}
  body.template-14 #header .site-name img{width:auto!important;max-width:150px!important;max-height:46px!important}
  body.template-14 #header .navigation-buttons{position:absolute!important;z-index:4;top:8px!important;right:24px!important;width:auto!important;height:60px!important;margin:0!important}
  body.template-14 #header .header-bottom{position:absolute!important;z-index:2;top:0!important;left:24px!important;width:calc(50% - 130px)!important;height:76px!important;background:transparent!important}
  body.template-14 #header .header-bottom-wrapper,
  body.template-14 #header #navigation,
  body.template-14 #header .navigation-in{position:static!important;width:100%!important;height:76px!important;min-height:76px!important;background:transparent!important}
  body.template-14 #header .navigation-in>ul{display:flex!important;align-items:center;justify-content:flex-start;width:100%;height:76px;margin:0;padding:0}
  body.template-14 #header .navigation-in>ul>li{flex:0 0 auto;border:0}
  body.template-14 #header .navigation-in>ul>li>a{height:76px!important;padding:0 12px!important;font-size:11px!important;font-weight:400;line-height:76px!important;letter-spacing:.04em}
  body.template-14 #header .menu-helper{display:none!important}
}

@media(max-width:767px){
  .ae-section{width:min(calc(100% - 32px),var(--ae-max));padding:64px 0}
  .ae-hero{min-height:72svh}
  .ae-hero__content{padding:24px}
  .ae-hero__content h1,.ae-hero__content h2{font-size:30px}
  .ae-product-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
  .ae-product-card h3{margin-top:8px;font-size:11px}
  .ae-product-card p{font-size:10px}
  .ae-actions{justify-content:center;margin-top:38px}
  .ae-manifesto{padding:72px 24px}
  .ae-manifesto h2{font-size:25px}
  .ae-manifesto p br{display:none}
  .ae-hero--secondary{min-height:62svh}
  .ae-values{padding:75px 28px}
  .ae-values h2{font-size:21px}
  .ae-story{grid-template-columns:1fr}
  .ae-story__image,.ae-story__image img{min-height:0}
  .ae-story__image{aspect-ratio:4/5}
  .ae-story__text{max-width:none;padding:70px 28px}
  .ae-closing{height:78vw}

  body.template-14 #header,
  body.template-14 #header .header-top,
  body.template-14 #header .header-top-wrapper{height:62px!important;min-height:62px!important}
  body.template-14 #header{position:relative!important;border-bottom:1px solid #eee;background:#fff}
  body.template-14 #header .header-top-wrapper{position:relative!important;display:block!important;width:100%!important;max-width:none!important;padding:0!important}
  body.template-14 #header .site-name{position:absolute!important;z-index:5;top:0!important;left:50%!important;width:auto!important;height:62px!important;transform:translateX(-50%)}
  body.template-14 #header .site-name a{display:flex!important;align-items:center;justify-content:center;height:62px!important}
  body.template-14 #header .site-name img{width:auto!important;max-width:104px!important;max-height:34px!important}
  body.template-14 #header .navigation-buttons{position:static!important;display:block!important;width:100%!important;height:62px!important;margin:0!important}
  body.template-14 #header .navigation-buttons>a,
  body.template-14 #header .navigation-buttons>button{position:absolute!important;top:0!important;display:flex!important;align-items:center;justify-content:center;width:46px!important;height:62px!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important}
  body.template-14 #header .navigation-buttons>a:last-child{left:0!important;right:auto!important}
  body.template-14 #header .navigation-buttons>a:first-child{left:46px!important;right:auto!important}
  body.template-14 #header .top-nav-button-login{right:46px!important;left:auto!important}
  body.template-14 #header .cart-count{right:0!important;left:auto!important}
  body.template-14 #header .header-bottom,
  body.template-14 #header #navigation{top:62px!important}
}

@media(max-width:480px){
  .ae-section.ae-products{width:min(calc(100% - 20px),var(--ae-max))}
  .ae-product-grid{gap:7px}
  .ae-product-card h3{font-size:9px}
  .ae-product-card p{font-size:8px}
}

@media(prefers-reduced-motion:reduce){.ae-home *{scroll-behavior:auto!important;transition:none!important}}

/* ===== css/archive/eskle-header-v5.css ===== */
/*
 * ESKLE – oprava hlavicky Shoptet Samba
 * Tento soubor vlozte AZ ZA eskle-homepage-v4.css.
 */

/* Odstrani prazdne odstavce, ktere WYSIWYG vlozil pred hero obrazek. */
body.in-index:has(.ae-home) .welcome-wrapper>.welcome>div>p:empty,
body.in-index:has(.ae-home) .welcome-wrapper>.welcome>div>p:first-child{display:none!important;margin:0!important}

/* Logo nesmi prebirat vychozi padding Samby. */
body.template-14 #header .site-name{padding:0!important}
body.template-14 #header .site-name>a{margin:0!important;padding:0!important}
body.template-14 #header .site-name img{display:block!important;margin:0!important;padding:0!important}

@media(min-width:768px){
  /* Samba po automatickem prepocitani menu oznaci polozky jako splitted
     a skryje je. V nasi siroke leve oblasti je zobrazime zpet. */
  body.template-14 #header #navigation,
  body.template-14 #header #navigation .navigation-in,
  body.template-14 #header #navigation .navigation-in>ul,
  body.template-14 #header #navigation .navigation-in>ul>li,
  body.template-14 #header #navigation .navigation-in>ul>li>a,
  body.template-14 #header #navigation .navigation-in>ul>li>a>b{
    visibility:visible!important;
    opacity:1!important;
  }
  body.template-14 #header #navigation .navigation-in>ul>li.splitted{
    display:block!important;
  }
  body.template-14 #header #navigation .navigation-in>ul>li>a{
    color:#202020!important;
    text-decoration:none!important;
  }
  body.template-14 #header #navigation .navigation-in>ul>li>a>b{
    font-size:11px!important;
    font-weight:400!important;
    letter-spacing:.04em!important;
  }
  /* Prihlaseni je na desktopu samostatna ikona vpravo. */
  body.template-14 #header #navigation .navigation-in>ul>li:has(>a[data-testid="signin"]){
    display:none!important;
  }
  body.template-14 #header .menu-helper{display:none!important}
}

@media(max-width:767px){
  body.template-14 #header .site-name{
    right:auto!important;
    left:50%!important;
    transform:translateX(-50%)!important;
  }
  body.template-14 #header .site-name>a{
    width:auto!important;
    height:62px!important;
  }
  body.template-14 #header .site-name img{
    width:auto!important;
    max-width:104px!important;
    max-height:34px!important;
  }
}

/* ===== css/archive/eskle-finish-v6.css ===== */
/*
 * ESKLE – zarovnani spodnich sekci, texty pres fotografie a jemnejsi ikony.
 * Nacist jako posledni CSS soubor.
 */

/* Kolize .ae-section a .ae-full posouvala Filosofii o pul obrazovky doprava. */
body.in-index:has(.ae-home) .ae-story.ae-full,
body.in-index:has(.ae-home) .ae-closing.ae-full{
  position:relative!important;
  left:50%!important;
  width:100vw!important;
  max-width:none!important;
  margin-right:0!important;
  margin-left:-50vw!important;
}

/* Obsah nesmi vytvaret horizontalni presah. */
body.in-index:has(.ae-home),
body.in-index:has(.ae-home) .overall-wrapper,
body.in-index:has(.ae-home) #content-wrapper,
body.in-index:has(.ae-home) #content{
  max-width:100%!important;
  overflow-x:clip!important;
}

/* Texty pres fotografie podle navrhu. */
.ae-home .ae-hero__content,
.ae-home .ae-hero__content h1,
.ae-home .ae-hero__content h2{
  color:#fff!important;
}
.ae-home .ae-hero__content h1,
.ae-home .ae-hero__content h2{
  margin-bottom:26px!important;
  font-size:clamp(24px,2.1vw,32px)!important;
  font-weight:400!important;
  line-height:1.15!important;
  letter-spacing:-.02em!important;
  text-shadow:0 1px 10px rgba(0,0,0,.15);
}
.ae-home .ae-hero__content .ae-button{
  color:#fff!important;
  border-color:rgba(255,255,255,.9)!important;
}
.ae-home .ae-hero__content .ae-button:hover,
.ae-home .ae-hero__content .ae-button:focus-visible{
  color:#222!important;
  background:#fff!important;
}

/* Subtilnejsi systemove ikony Shoptetu. */
body.template-14 #header .navigation-buttons>a::before,
body.template-14 #header .navigation-buttons>button::before{
  display:inline-block!important;
  font-size:17px!important;
  font-weight:400!important;
  opacity:.88!important;
  transform:scale(.9)!important;
  transform-origin:center!important;
}
body.template-14 #header .navigation-buttons>a,
body.template-14 #header .navigation-buttons>button{
  color:#181818!important;
}

@media(max-width:767px){
  .ae-home .ae-hero__content h1,
  .ae-home .ae-hero__content h2{
    font-size:25px!important;
  }
  body.template-14 #header .navigation-buttons>a::before,
  body.template-14 #header .navigation-buttons>button::before{
    font-size:18px!important;
  }
  body.in-index:has(.ae-home) .ae-story.ae-full{
    display:grid!important;
    grid-template-columns:1fr!important;
  }
}

/* ===== css/archive/eskle-fix-v7.css ===== */
/*
 * ESKLE – oprava sedeho pruhu pod hero obrazkem a barvy ikon.
 * Nacist jako posledni CSS soubor.
 */

/* WYSIWYG vlozil prvni hero obrazek do odstavce. Odstavec proto musi
   vyplnit celou sekci stejne jako samotny obrazek. */
.ae-home .ae-hero>p{
  position:absolute!important;
  inset:0!important;
  z-index:0!important;
  width:100%!important;
  height:100%!important;
  margin:0!important;
  padding:0!important;
  overflow:hidden!important;
}
.ae-home .ae-hero>p>img,
.ae-home .ae-hero>img{
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  margin:0!important;
  object-fit:cover!important;
  object-position:center!important;
}

/* Ciste cerne, ale opticky mensi a subtilni systemove ikony. */
body.template-14 #header .navigation-buttons>a,
body.template-14 #header .navigation-buttons>button,
body.template-14 #header .navigation-buttons>a::before,
body.template-14 #header .navigation-buttons>button::before{
  color:#000!important;
  opacity:1!important;
}
body.template-14 #header .navigation-buttons>a::before,
body.template-14 #header .navigation-buttons>button::before{
  font-size:16px!important;
  transform:scale(.9)!important;
}

@media(max-width:767px){
  body.template-14 #header .navigation-buttons>a::before,
  body.template-14 #header .navigation-buttons>button::before{
    font-size:17px!important;
  }
}

/* ===== css/archive/eskle-hero-icons-v8.css ===== */
/*
 * ESKLE – pomer banneru podle navrhu a nove tenke SVG ikony.
 * Nacist jako posledni CSS soubor.
 */

@media(min-width:768px){
  /* Navrh: 2879 px sirka, priblizne 1640 px vyska = 56,96 % sirky. */
  .ae-home .ae-hero{
    width:100vw!important;
    height:56.96vw!important;
    min-height:0!important;
    max-height:none!important;
  }
}

.ae-home .ae-hero>img,
.ae-home .ae-hero>p,
.ae-home .ae-hero>p>img{
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  margin:0!important;
  padding:0!important;
}
.ae-home .ae-hero>img,
.ae-home .ae-hero>p>img{
  object-fit:cover!important;
  object-position:center!important;
}

/* Spolecny zaklad novych ikon – puvodni Shoptet glyph se nepouzije. */
body.template-14 #header .navigation-buttons>a::before,
body.template-14 #header .navigation-buttons>button::before{
  content:""!important;
  display:block!important;
  width:19px!important;
  height:19px!important;
  background:#000!important;
  opacity:1!important;
  transform:none!important;
  -webkit-mask-repeat:no-repeat!important;
  -webkit-mask-position:center!important;
  -webkit-mask-size:contain!important;
  mask-repeat:no-repeat!important;
  mask-position:center!important;
  mask-size:contain!important;
}

/* Hledani */
body.template-14 #header .navigation-buttons>a:first-child::before{
  -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5' fill='none' stroke='black' stroke-width='1.6'/%3E%3Cpath d='M15.5 15.5 21 21' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E")!important;
  mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5' fill='none' stroke='black' stroke-width='1.6'/%3E%3Cpath d='M15.5 15.5 21 21' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E")!important;
}

/* Ucet */
body.template-14 #header .top-nav-button-login::before{
  -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='8' r='4' fill='none' stroke='black' stroke-width='1.5'/%3E%3Cpath d='M4.5 21c.7-4 3.2-6 7.5-6s6.8 2 7.5 6' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E")!important;
  mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='8' r='4' fill='none' stroke='black' stroke-width='1.5'/%3E%3Cpath d='M4.5 21c.7-4 3.2-6 7.5-6s6.8 2 7.5 6' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E")!important;
}

/* Kosik */
body.template-14 #header .cart-count::before{
  -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 4h2l2.2 10.2a2 2 0 0 0 2 1.6h7.9a2 2 0 0 0 1.9-1.4L21 8H6' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3Ccircle cx='10' cy='20' r='1.2'/%3E%3Ccircle cx='18' cy='20' r='1.2'/%3E%3C/svg%3E")!important;
  mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 4h2l2.2 10.2a2 2 0 0 0 2 1.6h7.9a2 2 0 0 0 1.9-1.4L21 8H6' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3Ccircle cx='10' cy='20' r='1.2'/%3E%3Ccircle cx='18' cy='20' r='1.2'/%3E%3C/svg%3E")!important;
}

/* Mobilni menu */
body.template-14 #header .navigation-buttons>a:last-child::before{
  -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 7h16M4 12h16M4 17h16' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E")!important;
  mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 7h16M4 12h16M4 17h16' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E")!important;
}

@media(max-width:767px){
  .ae-home .ae-hero{
    height:72svh!important;
    min-height:520px!important;
    max-height:760px!important;
  }
  body.template-14 #header .navigation-buttons>a::before,
  body.template-14 #header .navigation-buttons>button::before{
    width:20px!important;
    height:20px!important;
  }
}

/* ===== css/archive/eskle-icons-logo-v9.css ===== */
/*
 * ESKLE – odstrani puvodni Shoptet ikonky a zvetsi logo.
 * Nacist jako posledni CSS soubor.
 */

/* Puvodni sede ikony jsou vnoreny jako i/span.
   Tlacitka i pristupne popisky zustavaji funkcni. */
body.template-14 #header .navigation-buttons .icon-search,
body.template-14 #header .navigation-buttons .icon-login,
body.template-14 #header .navigation-buttons .icon-cart{
  display:none!important;
}

/* Vetsi logo podle proporci navrhu. */
@media(min-width:768px){
  body.template-14 #header .site-name img{
    width:210px!important;
    max-width:210px!important;
    height:auto!important;
    max-height:60px!important;
  }
  body.template-14 #header .site-name,
  body.template-14 #header .site-name>a{
    width:210px!important;
  }
}

@media(max-width:767px){
  body.template-14 #header .site-name img{
    width:132px!important;
    max-width:132px!important;
    height:auto!important;
    max-height:40px!important;
  }
  body.template-14 #header .site-name,
  body.template-14 #header .site-name>a{
    width:132px!important;
  }
}

/* ===== ESKLE – produktovy detail, verze 1 ===== */

body.type-product{
  --ae-product-text:#242424;
  --ae-product-line:#d8d8d4;
  --ae-product-muted:#777;
  --ae-product-max:1440px;
}

body.type-product #content-wrapper{
  padding-top:0!important;
}

body.type-product #content{
  width:min(calc(100% - 48px),var(--ae-product-max))!important;
  max-width:none!important;
  margin:0 auto!important;
  padding-top:22px!important;
  color:var(--ae-product-text);
}

body.type-product .breadcrumbs{
  margin:0 0 26px!important;
  padding:0!important;
  border:0!important;
  font-size:10px!important;
  line-height:1.4!important;
}

body.type-product .breadcrumbs a,
body.type-product .breadcrumbs span{
  color:var(--ae-product-text)!important;
}

body.type-product .p-data-wrapper>.ae-product-breadcrumbs{
  width:100%!important;
  margin:0 0 38px!important;
  padding:0 0 18px!important;
  border-bottom:1px solid #ededeb!important;
}

body.type-product .ae-product-breadcrumbs #navigation-first{
  display:none!important;
}

body.type-product .ae-product-breadcrumbs .navigation-bullet{
  display:inline-block!important;
  margin:0 10px!important;
  font-size:0!important;
}

body.type-product .ae-product-breadcrumbs .navigation-bullet:after{
  content:"›";
  font-size:11px;
  line-height:1;
}

body.type-product .ae-product-breadcrumbs+.p-detail-inner-header{
  padding-bottom:0!important;
  border-bottom:0!important;
}

body.type-product .p-detail-inner{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(280px,.75fr)!important;
  gap:clamp(36px,5vw,72px)!important;
  align-items:start!important;
  justify-content:center!important;
}

body.type-product .p-detail-inner>.p-data-wrapper{
  grid-column:2!important;
  grid-row:1!important;
  position:relative!important;
  top:auto!important;
  width:100%!important;
  max-width:520px!important;
  margin:0!important;
  padding:0 0 34px!important;
  align-self:stretch!important;
}

/* Puvodni galerii skryjeme az po uspesnem vytvoreni nove galerie.
   Kdyby se JavaScript nenacetl, fotografie tak zustanou viditelne. */
body.type-product.ae-product-ready .p-detail-inner>.p-image-wrapper{
  display:none!important;
}

body.type-product .ae-product-gallery{
  grid-column:1!important;
  grid-row:1!important;
  display:grid;
  gap:18px;
  min-width:0;
}

body.type-product .ae-product-gallery__item{
  display:block;
  overflow:hidden;
  width:100%;
  background:#f2f2ef;
}

body.type-product .ae-product-gallery__item img{
  display:block;
  width:100%!important;
  height:auto!important;
  min-height:0;
  margin:0!important;
  object-fit:contain!important;
}

body.type-product .p-detail-inner-header{
  margin:0 0 72px!important;
  padding:0 0 18px!important;
  border-bottom:1px solid #ededeb!important;
}

body.type-product .p-detail-inner-header .brand-wrapper,
body.type-product .p-detail-inner-header .stars-wrapper{
  display:none!important;
}

body.type-product .p-detail-inner-header h1{
  margin:0!important;
  font-size:17px!important;
  font-weight:400!important;
  line-height:1.3!important;
  letter-spacing:0!important;
}

body.type-product .ae-product-core{
  position:sticky;
  z-index:3;
  top:26px;
  background:#fff;
}

body.type-product .p-short-description{
  position:relative;
  z-index:1;
  margin:46px 0 42px!important;
  font-size:12px!important;
  line-height:1.5!important;
}

body.type-product .p-short-description p:last-child{
  margin-bottom:0!important;
}

body.type-product #product-detail-form{
  display:flex!important;
  flex-direction:column!important;
}

body.type-product #product-detail-form .p-price-wrapper{
  order:-3;
  margin:0 0 62px!important;
}

body.type-product #product-detail-form .price-final{
  font-size:15px!important;
  font-weight:400!important;
}

body.type-product #product-detail-form .price-additional,
body.type-product #product-detail-form .price-measure,
body.type-product .detail-parameter-delivery-date,
body.type-product .detail-parameter-product-code{
  display:none!important;
}

body.type-product #product-detail-form .p-variants-block{
  order:-2;
}

body.type-product #product-detail-form .detail-parameters{
  order:-1;
  min-height:24px;
  margin:0 0 8px!important;
}

body.type-product #product-detail-form .detail-parameter-availability{
  display:flex!important;
  justify-content:flex-end!important;
  font-size:10px!important;
  text-transform:uppercase!important;
}

body.type-product #product-detail-form .availability-desc-label,
body.type-product #product-detail-form .availability-amount{
  display:none!important;
}

body.type-product #product-detail-form .availability-label{
  color:var(--ae-product-text)!important;
}

body.type-product .p-to-cart-block{
  margin:0!important;
  padding:0!important;
}

body.type-product .add-to-cart{
  display:grid!important;
  grid-template-columns:92px 1fr!important;
  gap:12px!important;
  align-items:center!important;
}

body.type-product .add-to-cart .quantity{
  display:grid!important;
  grid-template-columns:28px 32px 28px!important;
  width:88px!important;
  height:34px!important;
  margin:0!important;
  border:0!important;
}

body.type-product .add-to-cart .quantity label{
  grid-column:2;
  grid-row:1;
}

body.type-product .add-to-cart .amount{
  width:32px!important;
  height:34px!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  text-align:center!important;
  font-size:12px!important;
  box-shadow:none!important;
}

body.type-product .add-to-cart .decrease,
body.type-product .add-to-cart .increase{
  position:static!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:28px!important;
  height:34px!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  color:var(--ae-product-text)!important;
  font-family:Arial,Helvetica,sans-serif!important;
  font-size:13px!important;
  font-weight:300!important;
}

body.type-product .add-to-cart .decrease__sign,
body.type-product .add-to-cart .increase__sign{
  display:block!important;
  font-family:Arial,Helvetica,sans-serif!important;
  font-size:13px!important;
  font-weight:300!important;
  line-height:1!important;
  transform:scaleX(.82);
  transform-origin:center;
}

body.type-product .add-to-cart .decrease{
  grid-column:1;
  grid-row:1;
}

body.type-product .add-to-cart .increase{
  grid-column:3;
  grid-row:1;
}

body.type-product .add-to-cart-button{
  width:100%!important;
  min-height:36px!important;
  padding:8px 20px!important;
  border:1px solid #a9a9a5!important;
  border-radius:999px!important;
  background:#fff!important;
  color:var(--ae-product-text)!important;
  font-size:10px!important;
  font-weight:400!important;
  line-height:1!important;
  text-transform:uppercase!important;
  box-shadow:none!important;
  transition:background-color .2s,color .2s,border-color .2s!important;
}

body.type-product .add-to-cart-button:hover,
body.type-product .add-to-cart-button:focus-visible{
  border-color:#222!important;
  background:#222!important;
  color:#fff!important;
}

body.type-product .add-to-cart-button .icon-cart,
body.type-product .social-buttons-wrapper{
  display:none!important;
}

body.type-product .ae-product-links{
  position:sticky;
  z-index:2;
  top:calc(26px + var(--ae-product-core-height,340px));
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:14px;
  padding:28px 0 34px;
  background:#fff;
}

body.type-product .ae-product-links button{
  display:block;
  margin:0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  color:var(--ae-product-text)!important;
  font-size:10px!important;
  font-weight:400!important;
  line-height:1.2!important;
  text-align:left!important;
  text-decoration:none!important;
  box-shadow:none!important;
  cursor:pointer;
}

body.type-product .ae-product-links button:hover,
body.type-product .ae-product-links button:focus-visible{
  text-decoration:underline!important;
  text-underline-offset:3px;
}

body.type-product.ae-product-drawer-ready .p-detail-full-width{
  display:none!important;
}

body.ae-product-drawer-open{
  overflow:hidden!important;
}

/* ===== Panel po vlozeni produktu do kosiku ===== */

body.ae-cart-drawer-open{
  overflow:hidden!important;
}

body.ae-cart-confirm-open{
  overflow:hidden!important;
}

html:has(body.type-product){
  scrollbar-gutter:stable;
}

body.ae-cart-confirm-open #cart-widget{
  display:none!important;
}

body.ae-cart-pending #cart-widget{
  display:none!important;
}

body.ae-cart-pending .overlay.spinner,
body.ae-cart-confirm-open .overlay.spinner{
  display:none!important;
}

body.ae-cart-confirm-open .messages .msg-success{
  display:none!important;
}

.ae-cart-confirm[hidden]{
  display:none!important;
}

.ae-cart-confirm{
  position:fixed;
  z-index:11000;
  inset:0;
  display:flex;
  justify-content:flex-end;
  background:transparent;
}

.ae-cart-confirm::before{
  content:"";
  position:absolute;
  inset:0;
  background:rgba(222,222,222,.86);
  opacity:0;
  transition:opacity .28s ease;
}

.ae-cart-confirm.is-open::before{
  opacity:1;
}

.ae-cart-confirm__panel{
  position:relative;
  z-index:1;
  display:flex;
  flex-direction:column;
  width:clamp(440px,32vw,760px);
  height:100vh;
  height:100dvh;
  padding:clamp(42px,4vw,72px) clamp(32px,4vw,66px) clamp(34px,4vw,62px);
  overflow-x:hidden;
  overflow-y:auto;
  background:#fff;
  color:#242424;
  box-sizing:border-box;
  transform:translateX(100%);
  transition:transform .28s ease;
}

.ae-cart-confirm__panel:focus{
  outline:none;
}

.ae-cart-confirm.is-open .ae-cart-confirm__panel{
  transform:translateX(0);
}

.ae-cart-confirm__title{
  margin:0 0 clamp(48px,6vh,82px)!important;
  color:#242424!important;
  font-size:clamp(22px,1.7vw,31px)!important;
  font-weight:400!important;
  line-height:1.25!important;
  letter-spacing:0!important;
  text-transform:none!important;
}

.ae-cart-confirm__product{
  display:grid;
  grid-template-columns:minmax(150px,42%) minmax(0,1fr);
  column-gap:clamp(28px,3vw,54px);
  align-items:start;
  width:100%;
  margin:0 0 clamp(54px,8vh,100px);
}

.ae-cart-confirm__image{
  display:block;
  overflow:hidden;
  width:100%;
  min-width:0;
  aspect-ratio:4/5;
  background:#f2f2ef;
}

.ae-cart-confirm__image-element{
  display:block;
  width:100%!important;
  height:100%!important;
  margin:0!important;
  object-fit:cover!important;
}

.ae-cart-confirm__info{
  min-width:0;
  padding-top:clamp(8px,2vh,22px);
}

.ae-cart-confirm__name-link{
  color:#242424!important;
  text-decoration:none!important;
}

.ae-cart-confirm__name{
  margin:0!important;
  color:#242424!important;
  font-size:clamp(17px,1.35vw,25px)!important;
  font-weight:400!important;
  line-height:1.3!important;
  text-transform:none!important;
}

.ae-cart-confirm__price{
  margin:clamp(18px,3vh,34px) 0 0!important;
  color:#242424!important;
  font-size:clamp(16px,1.3vw,23px)!important;
  font-weight:400!important;
  line-height:1.3!important;
}

.ae-cart-confirm__actions{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
  width:100%;
  margin:auto 0 0;
}

.ae-cart-confirm__button{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  min-width:0!important;
  height:52px!important;
  min-height:52px!important;
  margin:0!important;
  padding:12px 18px!important;
  border:1px solid #242424!important;
  border-radius:999px!important;
  background:#fff!important;
  color:#242424!important;
  font-family:inherit!important;
  font-size:12px!important;
  font-weight:400!important;
  line-height:1!important;
  text-decoration:none!important;
  text-transform:uppercase!important;
  box-shadow:none!important;
  box-sizing:border-box!important;
  cursor:pointer;
}

.ae-cart-confirm__checkout{
  background:#000!important;
  color:#fff!important;
}

.ae-cart-confirm__continue:hover,
.ae-cart-confirm__continue:focus-visible{
  background:#242424!important;
  color:#fff!important;
}

.ae-cart-confirm__checkout:hover,
.ae-cart-confirm__checkout:focus-visible{
  background:#333!important;
  border-color:#333!important;
}

body.ae-cart-drawer-open #cboxOverlay{
  position:fixed!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  background:#dedede!important;
  opacity:.86!important;
}

#colorbox.ae-cart-drawer{
  position:fixed!important;
  z-index:10002!important;
  inset:0 0 0 auto!important;
  width:clamp(440px,32vw,760px)!important;
  height:100vh!important;
  height:100dvh!important;
  margin:0!important;
  padding:0!important;
  opacity:1!important;
  transform:translateX(100%);
  transition:transform .28s ease!important;
}

#colorbox.ae-cart-drawer.is-open{
  transform:translateX(0);
}

#colorbox.ae-cart-drawer #cboxWrapper,
#colorbox.ae-cart-drawer #cboxContent,
#colorbox.ae-cart-drawer #cboxLoadedContent{
  width:100%!important;
  height:100%!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  box-sizing:border-box!important;
  background:#fff!important;
}

#colorbox.ae-cart-drawer #cboxWrapper{
  position:relative!important;
}

#colorbox.ae-cart-drawer #cboxWrapper>div:nth-child(2){
  height:100%!important;
}

#colorbox.ae-cart-drawer #cboxLoadedContent{
  overflow-x:hidden!important;
  overflow-y:auto!important;
}

#colorbox.ae-cart-drawer #cboxTopLeft,
#colorbox.ae-cart-drawer #cboxTopCenter,
#colorbox.ae-cart-drawer #cboxTopRight,
#colorbox.ae-cart-drawer #cboxMiddleLeft,
#colorbox.ae-cart-drawer #cboxMiddleRight,
#colorbox.ae-cart-drawer #cboxBottomLeft,
#colorbox.ae-cart-drawer #cboxBottomCenter,
#colorbox.ae-cart-drawer #cboxBottomRight,
#colorbox.ae-cart-drawer #cboxTitle,
#colorbox.ae-cart-drawer #cboxLoadingOverlay,
#colorbox.ae-cart-drawer #cboxLoadingGraphic{
  display:none!important;
}

#colorbox.ae-cart-drawer #cboxClose{
  display:none!important;
}

#colorbox.ae-cart-drawer .advanced-order{
  display:flex!important;
  flex-direction:column!important;
  width:100%!important;
  min-height:100%!important;
  margin:0!important;
  padding:clamp(42px,4vw,72px) clamp(32px,4vw,66px) clamp(34px,4vw,62px)!important;
  color:#242424!important;
  text-align:left!important;
  box-sizing:border-box!important;
}

#colorbox.ae-cart-drawer .advanced-order>.h1,
#colorbox.ae-cart-drawer .advanced-order>h1{
  margin:0 0 clamp(48px,6vh,82px)!important;
  color:#242424!important;
  font-size:clamp(22px,1.7vw,31px)!important;
  font-weight:400!important;
  line-height:1.25!important;
  letter-spacing:0!important;
  text-transform:none!important;
}

#colorbox.ae-cart-drawer .ao-product{
  display:grid!important;
  grid-template-columns:minmax(150px,42%) minmax(0,1fr)!important;
  grid-template-rows:auto auto 1fr!important;
  column-gap:clamp(28px,3vw,54px)!important;
  align-items:start!important;
  width:100%!important;
  margin:0 0 clamp(54px,8vh,100px)!important;
}

#colorbox.ae-cart-drawer .ao-image{
  grid-column:1!important;
  grid-row:1/4!important;
  display:block!important;
  overflow:hidden!important;
  width:100%!important;
  min-width:0!important;
  margin:0!important;
  aspect-ratio:4/5!important;
  background:#f2f2ef!important;
  text-align:left!important;
}

#colorbox.ae-cart-drawer .ao-image img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  max-width:none!important;
  max-height:none!important;
  margin:0!important;
  object-fit:cover!important;
}

#colorbox.ae-cart-drawer .ao-name{
  grid-column:2!important;
  grid-row:1!important;
  min-width:0!important;
  margin:clamp(8px,2vh,22px) 0 0!important;
  color:#242424!important;
  font-size:clamp(17px,1.35vw,25px)!important;
  font-weight:400!important;
  line-height:1.3!important;
  text-align:left!important;
  text-transform:none!important;
}

#colorbox.ae-cart-drawer .ao-name a{
  color:inherit!important;
  font:inherit!important;
  text-decoration:none!important;
  text-transform:none!important;
}

#colorbox.ae-cart-drawer .ao-price{
  grid-column:2!important;
  grid-row:2!important;
  min-width:0!important;
  margin:clamp(18px,3vh,34px) 0 0!important;
  color:#242424!important;
  font-size:clamp(16px,1.3vw,23px)!important;
  font-weight:400!important;
  line-height:1.3!important;
  text-align:left!important;
}

#colorbox.ae-cart-drawer .ao-price strong,
#colorbox.ae-cart-drawer .ao-price .price-final{
  color:inherit!important;
  font:inherit!important;
}

#colorbox.ae-cart-drawer .ao-availability,
#colorbox.ae-cart-drawer .ao-quantity,
#colorbox.ae-cart-drawer .advanced-order>.h2,
#colorbox.ae-cart-drawer .advanced-order>h2,
#colorbox.ae-cart-drawer .advanced-order-suggestion,
#colorbox.ae-cart-drawer .extras-wrap,
#colorbox.ae-cart-drawer .products-related{
  display:none!important;
}

#colorbox.ae-cart-drawer .advancedOrder__buttons{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:14px!important;
  width:100%!important;
  margin:auto 0 0!important;
}

#colorbox.ae-cart-drawer .advancedOrder__buttons .btn{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  min-width:0!important;
  height:52px!important;
  min-height:52px!important;
  box-sizing:border-box!important;
  margin:0!important;
  padding:12px 18px!important;
  border:1px solid #242424!important;
  border-radius:999px!important;
  background:#fff!important;
  color:#242424!important;
  font-family:inherit!important;
  font-size:12px!important;
  font-weight:400!important;
  line-height:1!important;
  text-decoration:none!important;
  text-transform:uppercase!important;
  box-shadow:none!important;
}

#colorbox.ae-cart-drawer .advancedOrder__buttons .ae-cart-drawer__checkout{
  background:#000!important;
  color:#fff!important;
}

#colorbox.ae-cart-drawer .advancedOrder__buttons .ae-cart-drawer__continue:hover,
#colorbox.ae-cart-drawer .advancedOrder__buttons .ae-cart-drawer__continue:focus-visible{
  background:#242424!important;
  color:#fff!important;
}

#colorbox.ae-cart-drawer .advancedOrder__buttons .ae-cart-drawer__checkout:hover,
#colorbox.ae-cart-drawer .advancedOrder__buttons .ae-cart-drawer__checkout:focus-visible{
  background:#333!important;
  border-color:#333!important;
}

.ae-product-drawer-overlay[hidden]{
  display:none!important;
}

.ae-product-drawer-overlay{
  position:fixed;
  z-index:10000;
  inset:0;
  display:flex;
  justify-content:flex-end;
  background:rgba(20,20,20,.18);
  opacity:0;
  transition:opacity .26s ease;
}

.ae-product-drawer-overlay.is-open{
  opacity:1;
}

.ae-product-drawer{
  width:min(520px,100%);
  height:100%;
  overflow-y:auto;
  background:#fff;
  color:#242424;
  transform:translateX(100%);
  transition:transform .26s ease;
  box-shadow:-12px 0 35px rgba(0,0,0,.08);
}

.ae-product-drawer-overlay.is-open .ae-product-drawer{
  transform:translateX(0);
}

.ae-product-drawer__header{
  position:sticky;
  z-index:2;
  top:0;
  display:flex;
  align-items:center;
  justify-content:space-between;
  min-height:76px;
  padding:20px 28px;
  border-bottom:1px solid #ededeb;
  background:#fff;
}

.ae-product-drawer__title{
  margin:0!important;
  font-size:15px!important;
  font-weight:400!important;
  line-height:1.3!important;
}

.ae-product-drawer__close{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:34px!important;
  height:34px!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  color:#242424!important;
  font-size:27px!important;
  font-weight:300!important;
  line-height:1!important;
  box-shadow:none!important;
  cursor:pointer;
}

.ae-product-drawer__content{
  padding:34px 28px 70px;
  font-size:12px;
  line-height:1.6;
}

.ae-product-drawer__content .content-inner,
.ae-product-drawer__content .welcome-wrapper,
.ae-product-drawer__content .basic-description,
.ae-product-drawer__content .extended-description{
  width:auto!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
}

.ae-product-drawer__content h1,
.ae-product-drawer__content h2,
.ae-product-drawer__content h3,
.ae-product-drawer__content h4{
  margin:28px 0 14px!important;
  font-size:14px!important;
  font-weight:400!important;
  line-height:1.35!important;
}

.ae-product-drawer__content h1:first-child,
.ae-product-drawer__content h2:first-child,
.ae-product-drawer__content h3:first-child,
.ae-product-drawer__content h4:first-child{
  margin-top:0!important;
}

.ae-product-drawer__content p,
.ae-product-drawer__content ul,
.ae-product-drawer__content ol{
  margin:0 0 16px!important;
}

.ae-product-drawer__content table{
  width:100%!important;
  border-collapse:collapse!important;
  font-size:11px!important;
}

.ae-product-drawer__content th,
.ae-product-drawer__content td{
  padding:11px 0!important;
  border-bottom:1px solid #ededeb!important;
  background:transparent!important;
  font-weight:400!important;
  text-align:left!important;
  vertical-align:top!important;
}

.ae-product-drawer__content th{
  width:42%;
  padding-right:18px!important;
  color:#777;
}

.ae-product-drawer__empty{
  color:#777;
}

body.type-product .p-detail-full-width,
body.type-product .benefit-banners-full-width{
  margin-top:90px!important;
}

body.type-product .p-detail-tabs-wrapper,
body.type-product .products-related{
  width:100%!important;
  max-width:var(--ae-product-max)!important;
  margin-right:auto!important;
  margin-left:auto!important;
}

body.type-product .products-related{
  margin-top:120px!important;
}

body.type-product .products-related .products-block{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:clamp(18px,4vw,62px)!important;
}

body.type-product .products-related .product{
  width:100%!important;
  max-width:none!important;
}

/* Automaticky vyber z kategorie Stonky; nezavisi na placenem doplnku. */
body.type-product .ae-more-products{
  position:relative;
  left:50%;
  width:100vw;
  margin:150px 0 0 -50vw;
  padding:0 34px 92px;
  color:var(--ae-product-text);
}

body.type-product .ae-more-products>h2{
  margin:0 0 48px!important;
  font-size:11px!important;
  font-weight:400!important;
  line-height:1.3!important;
  letter-spacing:.03em!important;
  text-align:center!important;
}

body.type-product .ae-more-products__grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:clamp(20px,4vw,64px);
  width:100%;
  max-width:1440px;
  margin:0 auto;
}

body.type-product .ae-more-products__card{
  min-width:0;
}

body.type-product .ae-more-products__image{
  display:block;
  overflow:hidden;
  width:100%;
  aspect-ratio:4/5;
  background:#f2f2ef;
}

body.type-product .ae-more-products__image img{
  display:block;
  width:100%!important;
  height:100%!important;
  margin:0!important;
  object-fit:cover!important;
  transition:transform .5s ease;
}

body.type-product .ae-more-products__image:hover img,
body.type-product .ae-more-products__image:focus-visible img{
  transform:scale(1.025);
}

body.type-product .ae-more-products__name{
  display:block;
  margin-top:13px;
  color:var(--ae-product-text)!important;
  text-decoration:none!important;
}

body.type-product .ae-more-products__name h3{
  margin:0!important;
  font-size:11px!important;
  font-weight:400!important;
  line-height:1.35!important;
}

body.type-product .ae-more-products__price{
  margin:2px 0 0!important;
  color:var(--ae-product-text)!important;
  font-size:10px!important;
  line-height:1.35!important;
}

@media(min-width:1025px){
  /* V navrhu nelezi pod logem stred vnejsich okraju cele skupiny,
     ale stred mezery mezi fotografii a informacnim panelem. Dva stejne
     sloupce udrzi tuto osu presne uprostred pri kazde sirce okna. */
  body.type-product .p-detail-inner{
    grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
  }

  body.type-product .ae-product-gallery{
    justify-self:end!important;
    width:clamp(420px,35vw,620px)!important;
    max-width:100%!important;
  }

  body.type-product .p-detail-inner>.p-data-wrapper{
    justify-self:start!important;
    width:clamp(280px,24vw,380px)!important;
  }
}

@media(min-width:768px){
  body.type-product #product-detail-form{
    display:grid!important;
    grid-template-columns:92px minmax(0,1fr)!important;
    grid-template-rows:auto auto 34px auto!important;
    column-gap:12px!important;
    align-items:center!important;
  }

  body.type-product #product-detail-form>.p-price-wrapper{
    grid-column:1/-1!important;
    grid-row:1!important;
    order:initial!important;
  }

  body.type-product #product-detail-form>.p-variants-block{
    grid-column:1/-1!important;
    grid-row:2!important;
    order:initial!important;
  }

  body.type-product #product-detail-form>.detail-parameters{
    grid-column:2!important;
    grid-row:3!important;
    align-self:center!important;
    order:initial!important;
    min-height:0!important;
    margin:0!important;
  }

  body.type-product #product-detail-form>.buttons-wrapper{
    display:none!important;
  }

  body.type-product #product-detail-form>.p-to-cart-block,
  body.type-product #product-detail-form .add-to-cart{
    display:contents!important;
  }

  body.type-product #product-detail-form .quantity{
    grid-column:1!important;
    grid-row:3!important;
  }

  body.type-product #product-detail-form .add-to-cart-button{
    grid-column:1/-1!important;
    grid-row:4!important;
    margin-top:10px!important;
  }
}

@media(max-width:767px){
  body.type-product #content{
    width:100%!important;
    padding:0 16px!important;
  }

  body.type-product .breadcrumbs{
    margin:14px 0 18px!important;
  }

  body.type-product .p-detail-inner{
    display:flex!important;
    flex-direction:column!important;
    gap:0!important;
  }

  body.type-product .ae-product-gallery{
    order:1;
    display:flex;
    width:calc(100% + 32px);
    margin-left:-16px;
    gap:8px;
    overflow-x:auto;
    scroll-snap-type:x mandatory;
    scrollbar-width:none;
  }

  body.type-product .ae-product-gallery::-webkit-scrollbar{
    display:none;
  }

  body.type-product .ae-product-gallery__item{
    flex:0 0 88%;
    scroll-snap-align:start;
  }

  body.type-product .p-detail-inner>.p-data-wrapper{
    order:2;
    position:static!important;
    max-width:none!important;
    padding:28px 0 10px!important;
  }

  body.type-product .ae-product-core,
  body.type-product .ae-product-links{
    position:static!important;
  }

  body.type-product .p-detail-inner-header{
    margin-bottom:34px!important;
  }

  body.type-product #product-detail-form .p-price-wrapper{
    margin-bottom:38px!important;
  }

  body.type-product .p-short-description{
    margin:38px 0 32px!important;
  }

  body.type-product .p-detail-full-width,
  body.type-product .benefit-banners-full-width{
    margin-top:50px!important;
  }

  body.type-product .products-related{
    margin-top:72px!important;
  }

  body.type-product .products-related .products-block{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:8px!important;
  }

  body.type-product .ae-more-products{
    margin-top:84px;
    padding:0 10px 64px;
  }

  body.type-product .ae-more-products>h2{
    margin-bottom:28px!important;
  }

  body.type-product .ae-more-products__grid{
    gap:8px;
  }

  body.type-product .ae-more-products__name{
    margin-top:8px;
  }

  body.type-product .ae-more-products__name h3{
    font-size:9px!important;
  }

  body.type-product .ae-more-products__price{
    font-size:8px!important;
  }

  .ae-product-drawer{
    width:100%;
  }

  .ae-product-drawer__header{
    min-height:62px;
    padding:14px 18px;
  }

  .ae-product-drawer__content{
    padding:28px 18px 56px;
  }

  #colorbox.ae-cart-drawer{
    width:100%!important;
  }

  #colorbox.ae-cart-drawer .advanced-order{
    padding:24px 18px 24px!important;
  }

  #colorbox.ae-cart-drawer .advanced-order>.h1,
  #colorbox.ae-cart-drawer .advanced-order>h1{
    margin:4px 0 44px!important;
    font-size:22px!important;
  }

  #colorbox.ae-cart-drawer .ao-product{
    grid-template-columns:minmax(118px,42%) minmax(0,1fr)!important;
    column-gap:22px!important;
    margin-bottom:54px!important;
  }

  #colorbox.ae-cart-drawer .ao-name{
    margin-top:8px!important;
    font-size:16px!important;
  }

  #colorbox.ae-cart-drawer .ao-price{
    margin-top:18px!important;
    font-size:15px!important;
  }

  #colorbox.ae-cart-drawer .advancedOrder__buttons{
    gap:8px!important;
  }

  #colorbox.ae-cart-drawer .advancedOrder__buttons .btn{
    height:48px!important;
    min-height:48px!important;
    padding:10px 8px!important;
    font-size:10px!important;
  }

  .ae-cart-confirm__panel{
    width:100%;
    padding:24px 18px;
  }

  .ae-cart-confirm__title{
    margin:4px 0 44px!important;
    font-size:22px!important;
  }

  .ae-cart-confirm__product{
    grid-template-columns:minmax(118px,42%) minmax(0,1fr);
    column-gap:22px;
    margin-bottom:54px;
  }

  .ae-cart-confirm__info{
    padding-top:8px;
  }

  .ae-cart-confirm__name{
    font-size:16px!important;
  }

  .ae-cart-confirm__price{
    margin-top:18px!important;
    font-size:15px!important;
  }

  .ae-cart-confirm__actions{
    gap:8px;
  }

  .ae-cart-confirm__button{
    height:48px!important;
    min-height:48px!important;
    padding:10px 8px!important;
    font-size:10px!important;
  }
}

@media(prefers-reduced-motion:reduce){
  body.type-product .ae-product-gallery{
    scroll-behavior:auto!important;
  }

  .ae-product-drawer-overlay,
  .ae-product-drawer,
  #colorbox.ae-cart-drawer,
  .ae-cart-confirm::before,
  .ae-cart-confirm__panel{
    transition:none!important;
  }

  body.type-product .ae-more-products__image img{
    transition:none!important;
  }
}
