.scroll-width-thin {
  scrollbar-width: thin;
}



.home_slider { padding:0; margin:0; width:100%; height: 100%; position:relative;}
.home_slider .owl-carousel, .home_slider .owl-stage-outer, .home_slider .owl-stage, .home_slider .owl-item {height: 100%;}
.home_slider img, .home_slider source { width:100%;height: 100%; display:block;}
.home_slider .item { width:100%; height: 100%; display: flex; position:relative; justify-content: center;}
.home_slider .owl-dots {width:100%; padding:.5rem 0 !important; position:absolute; z-index:10; bottom:.5rem;}
.home_slider .owl-dot span { width:32px !important; height:4px !important; border-radius:2px !important;  background:#ffffff !important; margin:5px !important; -webkit-box-shadow: 0 0 5px 0 rgba(0,0,0,.3); box-shadow: 0 0 5px 0 rgba(0,0,0,.3);}
.home_slider .owl-dot.active span { background:#142541 !important;}
.home_slider .owl-nav { display:none}
#loginDiv {
  padding: 2rem;
  text-align: center;
}

#loginDiv form {
  width: 100%;
  display: block;
}
.picture{
   width: 100%;
}

#loginDiv { padding:2rem; text-align:center;}
#loginDiv form { width:100%;display:block;}
.login_field {width:100%; height:3rem; background:#ffffff; border:1px solid #d7d7d7; font-weight: normal; color:#132742; font-size:1rem; padding:0 0 0 1rem; margin:.5rem 0;  border-radius:5px;}
.login_button {width:100%; height:3rem; background:#ef7f1a; border:1px solid #cccccc; font-weight: bold !important; text-transform: uppercase !important; color:#ffffff; font-size:1rem; padding:0;margin:.5rem 0;  border-radius:5px;}
#loginDiv .or { display:block; position:relative; text-align:center; color:#203d69; background:none; border-radius: 0; text-transform:none; font-weight:normal; font-size:.875rem; margin:1rem 0}
#loginDiv .or:before { content:''; display:block; width:100%; height:1px; position:absolute; top:50%; transform:translateY(-50%); background:#203d69;}
#loginDiv .or em { font-style:normal; background:#ffffff; padding:0 1rem; position:relative;}

.or {
  display: block;
  position: relative;
  text-align: center;
  color: #203d69;
  background: none;
  border-radius: 0;
  text-transform: none;
  font-weight: normal;
  font-size: .875rem;
  margin: 1rem 0;
}
.or:before { content:''; display:block; width:100%; height:1px; position:absolute; top:50%; transform:translateY(-50%); background:#203d69;}
.or em { font-style:normal; background:#ffffff; padding:0 1rem; position:relative;}


a.fb_login { display:block; text-align:center; width:100%; height:3rem; background:#4267B2; border:1px solid #ffffff; font-weight: bold !important; text-transform: uppercase !important; color:#ffffff; text-decoration:none; font-size:1rem; padding:0; margin:.5rem 0; line-height:3rem;}
.gotoReg { display:block; border-radius:0;}
.gotoReg a { display:inline-block; color:#132742; font-size:.875rem; font-weight:normal; text-decoration:underline; padding:.3rem .5rem}
.hide{display:none;}
.show { width:100%; display:block; position:fixed; bottom:0; left:0; background:#100f0f; z-index:20; color:#ffffff; font-size:.688rem;}
.cookiesText p { width:90%; float:left; padding-left:1.5rem; padding-top: 10px;}
.cookiesText p a, .cookiesText a:hover { color:#ffffff; text-decoration:underline;}
.cookiesbutton {width:10%; float:left; padding-top:.5rem; padding-bottom:.5rem; text-align:right; padding-right:1.5rem;}
.cookiesbutton button { padding:.3rem .7rem; margin:0; background:#ffffff;  font-size:.688rem; color:#100f0f; text-transform:uppercase; font-weight:600; border:none;} 
.cookieswrapper {
  padding: 0;
  margin: 0 auto;
  width: 92%;
  max-width: 1440px;
  position: relative;
}
.myerrgr{color:#2fa04c; font-size:16px;}
.login-form p.fbL { padding-top:1rem; position:relative; margin-top:2rem; text-align:center; font-size:.875rem;}
.login-form p.fbL:before { content:''; display:block; position:absolute; top:0; left:50%; transform:translateX(-50%); width:250px; height:1px; background:#d1d3d4}
.login_form_social { display:block;}
.facebook-login { margin:1rem auto; padding:0; width:100%; max-width:250px; text-align:center; font-family: 'Sofia Sans', sans-serif; font-size:1rem; font-weight:bold; color:#100f0f; }
.menu > ul > li > ul > li a.nolink {cursor:default}
.myerr{color:#e30016; font-size:16px;}
.myerrgr{color:#2fa04c; font-size:16px;}
#successtext{width:100%; text-align:center;} 
#subscribe-success{display:none}
#subscribe-error{display:none}


.pp_gallery ul li a img {
  height: 100%;
  object-fit: contain;
}

/* Mobile responsive banner height */
.banner-bottom {
  height: 400px;
  padding: 0;
}

.banner-bottom .home_slider,
.banner-bottom .owl-carousel,
.banner-bottom .owl-stage-outer,
.banner-bottom .owl-stage,
.banner-bottom .owl-item,
.banner-bottom .item {
  height: 100%;
  width: 100%;
}

.banner-bottom img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media only screen and (max-width: 768px) {
  .banner-bottom {
    height: 200px;
  }

  /* Make section titles smaller on mobile */
  .text-stedi-section-titles {
    font-size: 1.25rem !important; /* 20px instead of 40px */
    line-height: 1.5rem;
  }

  /* Make title icons smaller on mobile */
  .border-b-stedi-primary > img {
    width: 2rem !important; /* 32px instead of 80px */
    height: 2rem !important;
    padding: 0.125rem !important;
  }

  /* Make title container fit better */
  .border-b-stedi-primary {
    gap: 0.5rem !important;
  }

  /* Disable category hover-card on mobile - make categories clickable */
  .category-hover-card {
    display: none !important;
    pointer-events: none !important;
  }

  .category-card-link {
    pointer-events: auto !important;
  }

}

@media only screen and (min-width: 769px) and (max-width: 1024px) {
  .banner-bottom {
    height: 300px;
  }
}

.blocker {
  z-index: 51;
}

input.es-input { padding-right: 20px !important; background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAICAYAAADJEc7MAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAIGNIUk0AAG2YAABzjgAA4DIAAIM2AAB5CAAAxgwAADT6AAAgbL5TJ5gAAABGSURBVHjaYvz//z8DOYCJgUzA0tnZidPK8vJyRpw24pLEpwnuVHRFhDQxMDAwMPz//x+OOzo6/iPz8WFGuocqAAAA//8DAD/sORHYg7kaAAAAAElFTkSuQmCC) right center no-repeat; }
input.es-input.open {
	-webkit-border-bottom-left-radius: 0; -moz-border-radius-bottomleft: 0; border-bottom-left-radius: 0;
	-webkit-border-bottom-right-radius: 0; -moz-border-radius-bottomright: 0; border-bottom-right-radius: 0; }
.es-list { position: absolute; padding: 0; margin: 0; border: 1px solid #d1d1d1; display: none; z-index: 1000; background: #fff; max-height: 160px; overflow-y: auto;
	-moz-box-shadow: 0 2px 3px #ccc; -webkit-box-shadow: 0 2px 3px #ccc; box-shadow: 0 2px 3px #ccc; cursor:pointer;
	width: fit-content !important; min-width: 100%; }
.es-list li { display: block; padding: 5px 10px; margin: 0; cursor:pointer; }
.es-list li.selected { background: #f3f3f3; cursor:pointer;}
.es-list li[disabled] { opacity: .5; cursor:pointer;}
 #loader {
  border: 4px solid #f3f3f3; /* Light grey */
  border-top: 4px solid #3498db; /* Blue */
  border-radius: 50%;
  width: 30px;
  height: 30px;
  animation: spin 2s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.single_page { padding:0.938rem; margin: 0 0 1.5rem; width:100%;}
.single_page h1 { font-size:1.8rem;color:#3475ad; font-weight: bold;}
.single_page h2 { font-size:1.3rem;color:#3475ad; text-decoration:none; font-weight: bold}
.single_page h3 { font-size:1rem;color:#3475ad; font-weight: inherit;}
.single_page h3 a { font-size:1rem;color:#132742; text-decoration:none;}
.single_page h3 a:hover { color:#214377; text-decoration:none;}
.single_page h5 a { color:#132742; text-decoration:none;}
.single_page h5 a:hover { color:#214377; text-decoration:none;}
//.single_page ul { padding:0 0 0 0.938rem; margin:1rem 0 0; list-style:none; font-size:1rem;}
//.single_page ul li { background: #f9faff; margin-bottom:3px; padding:.875rem .4rem .875rem .875rem; border-radius:25px;}
//.single_page ul li:hover { background:#f0f2ff}
//.single_page ul li a { background: url(../img/bullet.png) no-repeat left 5px; display:inline-block; color:#214377; text-decoration:none; padding-left:1.375rem}
//.single_page ul li a:hover, .single_cat ul li:hover a { color:#4361ee; text-decoration:none;}
//.single_page p { padding:0; margin:1rem 0 0; font-size:1rem; line-height:1.5; display: -webkit-box; -webkit-line-clamp:3; -webkit-box-orient: vertical; overflow: hidden;}

.single_page ul { list-style-type: disc; list-style-position: inside; margin-left: 15px;}
.single_page ol { list-style-type: decimal; list-style-position: inside; margin-left: 15px;}
.single_page ul ul, ol ul { list-style-type: circle; list-style-position: inside; margin-left: 15px;}
.single_page ol ol, ul ol { list-style-type: lower-latin; list-style-position: inside; margin-left: 15px;}
.single_page p { padding:0; margin:0.8rem 0 0; font-size:1rem; line-height:1.2; display: -webkit-box; -webkit-line-clamp:3; -webkit-box-orient: vertical; overflow: hidden;}



@media (max-width: 1580px) {
    .text-stedi-navigation-elements {
        padding-inline: 0.5rem;
    }
}
@media (max-width: 1535px) {
    .text-stedi-navigation-elements {
        padding-inline: 0.75rem;
    }
}

/* Mobile fix for editable-select dropdown */
@media (max-width: 1400px) {
    .es-list {
        position: absolute !important;
        left: 0% !important;
        max-width: 100% !important;
    }
}

.login-form p.fbL { padding-top:1rem; position:relative; margin-top:2rem; text-align:center; font-size:.875rem;}

.login-form p.fbL:before { content:''; display:block; position:absolute; top:0; left:50%; transform:translateX(-50%); width:250px; height:1px; background:#d1d3d4}

.login_form_social { display:block;}

.facebook-login { margin:1rem auto; padding:0; width:100%; max-width:250px; text-align:center; font-family: 'Sofia Sans', sans-serif; font-size:1rem; font-weight:bold; color:#100f0f; }

.menu > ul > li > ul > li a.nolink {cursor:default}

.myerr{color:#e30016; font-size:16px;}

.myerrgr{color:#2fa04c; font-size:16px;}

#successtext{width:100%; text-align:center;} 

#subscribe-success{display:none}

#subscribe-error{display:none}

/* ============ Subcategory "folder" cards (category index page) ============ */
.cat-folders {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    width: 100%;
    margin-top: 0.5rem;
}
.cat-folder {
    position: relative;
    display: block;
    width: 100%;
    padding-top: 0.9rem; /* room for the tab */
    text-decoration: none;
}
@media (min-width: 640px)  { .cat-folder { width: calc(50% - 0.75rem); } }
@media (min-width: 1024px) { .cat-folder { width: calc(100% / 3 - 1rem); } }
@media (min-width: 1280px) { .cat-folder { width: calc(100% / 4 - 1.125rem); } }

/* the folder tab */
.cat-folder__tab {
    position: absolute;
    top: 0;
    left: 1.5rem;
    width: 42%;
    max-width: 7rem;
    height: 1.1rem;
    background: var(--color-stedi-secondary-lighter, #98bede);
    border-radius: 0.5rem 0.9rem 0 0;
    transition: background-color 0.25s ease;
}

/* the folder body */
.cat-folder__body {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.9rem;
    min-height: 11rem;
    height: 100%;
    padding: 1.5rem 1rem;
    background: #fff;
    border: 4px solid var(--color-stedi-secondary-lighter, #98bede);
    border-radius: 0 0.9rem 0.9rem 0.9rem;
    box-shadow: 0 10px 24px -10px rgba(52, 117, 173, 0.35);
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}
.cat-folder:hover .cat-folder__body {
    border-color: var(--color-stedi-primary, #ff8000);
    box-shadow: 0 16px 30px -10px rgba(255, 128, 0, 0.42);
    transform: translateY(-4px);
}
.cat-folder:hover .cat-folder__tab {
    background: var(--color-stedi-primary, #ff8000);
}

.cat-folder__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    fill: var(--color-stedi-secondary, #3475ad);
    stroke: var(--color-stedi-secondary, #3475ad);
    transition: fill 0.25s ease, stroke 0.25s ease;
}
.cat-folder:hover .cat-folder__icon {
    fill: var(--color-stedi-primary, #ff8000);
    stroke: var(--color-stedi-primary, #ff8000);
}
.cat-folder__icon svg { width: 100%; height: 100%; }

.cat-folder__name {
    text-align: center;
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.25;
    color: var(--color-stedi-secondary, #3475ad);
    transition: color 0.25s ease;
}
.cat-folder:hover .cat-folder__name {
    color: var(--color-stedi-primary, #ff8000);
}

/* Лентата на навигацията е max-width 1900px + 2rem дясно поле и е центрирана,
   т.е. свободно място отстрани се появява едва над ~1972px. Изнасянето на
   логото наляво (3xl:-left-5) обаче се включва от 1920px, заради което между
   1920 и 2000px логото излизаше извън екрана и се отрязваше. */
@media (min-width: 1920px) and (max-width: 1999.98px) {
    .stedi-logo img {
        left: 1.25rem;
    }
    .stedi-logo svg {
        height: 125%;
    }
}

/* Иконките на категориите (ляво меню и падащото меню) са grid/flex елементи в
   daisyUI .menu (grid-auto-columns: minmax(auto,max-content) ...). При дълга
   непрекъсваема дума ("мастиленоструйни") и по-широкия шрифт на активния
   елемент колоната се свиваше и иконката излизаше по-малка от останалите. */
.menu img[src*="/icon_illustrations/"],
.stedi-leftmenu img[src*="/icon_illustrations/"] {
    width: 22px;
    min-width: 22px;
    height: 22px;
    flex-shrink: 0;
    object-fit: contain;
}
/* пакетна промоция - надпис под реда в количката (order_basket_step1.tpl) */
.bundle-note {
  margin-top: 0.25rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #c0392b;
}
/* картата в количката е с фиксирана височина (md:h-64); с реда за пакета съдържанието не се
   побира и излиза от рамката - затова картата с пакет расте по съдържанието, а снимката
   (md:h-full) остава с височината, която има в обикновена карта */
@media (min-width: 48rem) {
  .basket_item.basket_item_bundle,
  .basket_item:has(.bundle-note) {
    height: auto;
    min-height: 16rem;
  }
  .basket_item.basket_item_bundle > div:first-child,
  .basket_item:has(.bundle-note) > div:first-child {
    height: auto;
  }
  .basket_item.basket_item_bundle > div:first-child img,
  .basket_item:has(.bundle-note) > div:first-child img {
    height: 10.25rem;
    width: auto;
  }
}
/* ред с пакет в обобщението на стъпка 2 и 3 (фиксирана височина h-22) - расте по съдържанието */
.basket_sum_bundle {
  height: auto;
  min-height: 5.5rem;
}
.basket_sum_bundle > div:first-child {
  height: auto;
}
.basket_sum_bundle > div:first-child img {
  height: 5.5rem;
  width: auto;
}
/* стъпка 3: сумите вдясно и редът "Отстъпка от промоции" (order_info_step3.tpl) */
.total-preview td.total-preview-val {
  text-align: right;
  font-weight: bold;
}
.total-preview td.total-preview-discount {
  color: #c0392b;
}
