/* efirnoe-maslo.com: dark theme only. Transparent containers preserve native WebP alpha; original photo pixels remain unchanged. */
body.site_s1.theme-dark {
  --efir-title: #eee7f4;
  --efir-photo: transparent;
  --efir-panel: #222025;
  --efir-line: #3b3540;
}
body.site_s1.theme-dark h1#pagetitle { color: var(--efir-title); }
body.site_s1.theme-dark .catalog-block-view__item .catalog_item {
  background-color: var(--efir-panel);
}
body.site_s1.theme-dark .catalog-block-view__item .image_wrapper_block {
  background: var(--efir-photo);
  border-radius: 10px;
  isolation: isolate;
}
body.site_s1.theme-dark .catalog-block-view__item .image_wrapper_block .thumb {
  display: block;
  width: 100%;
}
body.site_s1.theme-dark .catalog-block-view__item .section-gallery-wrapper__item img {
  border-radius: 0;
}
body.site_s1.theme-dark.detail_page .detail-gallery-big-slider-main__ratio-inner {
  background: var(--efir-photo);
  border-radius: 12px;
  isolation: isolate;
}
body.site_s1.theme-dark.detail_page .detail-gallery-big__picture { border-radius: 0; }
body.site_s1.theme-dark.detail_page .detail-gallery-big-slider-main__ratio-inner .swiper-pagination-bullet {
  background-color: #5b5263;
}
body.site_s1.theme-dark .catalog-block-view__item .section-gallery-wrapper {
  border-radius: 10px;
  overflow: hidden;
  background: var(--efir-photo);
}
body.site_s1.theme-dark .catalog-block-view__item .image_wrapper_block {
  overflow: hidden;
}
.efir-mobile-theme { display: none; }
@media (min-width: 360px) and (max-width: 767px) {
  body.site_s1 #mobileheader .right-icons > .efir-mobile-theme {
    display: grid;
    place-items: center;
    float: right;
    width: 36px;
    min-height: 60px;
  }
  body.site_s1 .efir-mobile-theme > .theme-selector {
    display: grid;
    place-items: center;
    width: 34px;
    height: 36px;
    border-radius: 7px;
  }
  body.site_s1 .efir-mobile-theme > .theme-selector:focus-visible {
    outline: 2px solid #a77fca;
    outline-offset: 1px;
  }
}
@media (max-width: 767px) {
  body.site_s1.theme-dark h1#pagetitle {
    font-size: clamp(23px, 6.4vw, 29px);
    line-height: 1.2;
    overflow-wrap: anywhere;
  }
}
body.site_s1.theme-dark.detail_page .detail-text-wrap .ordered-block__text,
body.site_s1.theme-dark.detail_page .detail-text-wrap .ordered-block__text > :is(p, ul, ol, h2, h3, h4) {
  color: #e3dde8;
}
body.site_s1.theme-dark.detail_page .detail-text-wrap .ordered-block__text > :is(p, ul, ol) a {
  color: #d5afea;
}
.efir-fixed-theme { display: none; }
#headerfixed .efir-fixed-theme {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}
#headerfixed .efir-fixed-theme .theme-selector {
  display: grid;
  place-items: center;
  min-width: 36px;
  min-height: 36px;
}
body.site_s1.theme-dark.detail_page .detail-text-wrap .ordered-block__text
  :is(p, li, dt, dd):not(.alert *, .am-pdp *) {
  color: #e3dde8;
}
body.site_s1.theme-dark.detail_page .detail-text-wrap .ordered-block__text
  :is(ul, ol) > li:not(.alert *, .am-pdp *)::marker {
  color: #e3dde8;
}
body.site_s1.theme-dark.detail_page .detail-text-wrap .alert-warning a {
  color: #664507;
  text-decoration: underline;
}
#headerfixed.with-product .efir-fixed-theme {
  align-self: center;
}
/* Remove the template's decorative white photo border; keep link focus and selected thumbnail indicators. */
body.site_s1.theme-dark.detail_page .detail-gallery-big__picture {
  border-color: transparent !important;
}
