/* Правки без JS: стрілки оголошення, меню, галерея */

/* 1. Стрілки в смузі «Willkommen in unserem Shop» (контейнер .announcement-bar-slider сам є .slider-buttons, тож ціляємо кнопки) */
.announcement-bar-slider .slider-button{display:none}

/* 1a. Пошук у шапці: без JS відкривалась плашка, тож прибираємо весь елемент */
.header__icons .header__search,
details-modal.header__search{display:none!important}

/* 2. Меню: панель видима, коли <details> відкрито (клас .menu-opening ставить JS, у нас його немає) */
.menu-drawer-container>summary{list-style:none}
.menu-drawer-container>summary::-webkit-details-marker{display:none}
.menu-drawer-container[open]>.menu-drawer{transform:translate(0);visibility:visible;height:auto}

/* 3. Галерея товару на ПК: мініатюри перемикають слайд через приховані radio-кнопки (без JS) */
.gal-radio{position:absolute;width:1px;height:1px;margin:0;opacity:0;pointer-events:none}
#GalleryViewer-template--25418354819406__main .slider-buttons,
#GalleryThumbnails-template--25418354819406__main .slider-button{display:none}

@media screen and (min-width:750px){
  #Slider-Gallery-template--25418354819406__main>.product__media-item{display:none;width:100%;max-width:100%}
  #gal-1:checked~#GalleryViewer-template--25418354819406__main #Slider-Gallery-template--25418354819406__main>.product__media-item:nth-child(1){display:flex}
  #gal-2:checked~#GalleryViewer-template--25418354819406__main #Slider-Gallery-template--25418354819406__main>.product__media-item:nth-child(2){display:flex}
  #gal-3:checked~#GalleryViewer-template--25418354819406__main #Slider-Gallery-template--25418354819406__main>.product__media-item:nth-child(3){display:flex}
  #gal-4:checked~#GalleryViewer-template--25418354819406__main #Slider-Gallery-template--25418354819406__main>.product__media-item:nth-child(4){display:flex}
  #gal-5:checked~#GalleryViewer-template--25418354819406__main #Slider-Gallery-template--25418354819406__main>.product__media-item:nth-child(5){display:flex}
  #gal-6:checked~#GalleryViewer-template--25418354819406__main #Slider-Gallery-template--25418354819406__main>.product__media-item:nth-child(6){display:flex}
  #gal-1:checked~#GalleryThumbnails-template--25418354819406__main #Slide-Thumbnails-template--25418354819406__main-1 .thumbnail{box-shadow:0 0 0 .1rem rgb(var(--color-foreground));border-color:rgb(var(--color-foreground))}
  #gal-2:checked~#GalleryThumbnails-template--25418354819406__main #Slide-Thumbnails-template--25418354819406__main-2 .thumbnail{box-shadow:0 0 0 .1rem rgb(var(--color-foreground));border-color:rgb(var(--color-foreground))}
  #gal-3:checked~#GalleryThumbnails-template--25418354819406__main #Slide-Thumbnails-template--25418354819406__main-3 .thumbnail{box-shadow:0 0 0 .1rem rgb(var(--color-foreground));border-color:rgb(var(--color-foreground))}
  #gal-4:checked~#GalleryThumbnails-template--25418354819406__main #Slide-Thumbnails-template--25418354819406__main-4 .thumbnail{box-shadow:0 0 0 .1rem rgb(var(--color-foreground));border-color:rgb(var(--color-foreground))}
  #gal-5:checked~#GalleryThumbnails-template--25418354819406__main #Slide-Thumbnails-template--25418354819406__main-5 .thumbnail{box-shadow:0 0 0 .1rem rgb(var(--color-foreground));border-color:rgb(var(--color-foreground))}
  #gal-6:checked~#GalleryThumbnails-template--25418354819406__main #Slide-Thumbnails-template--25418354819406__main-6 .thumbnail{box-shadow:0 0 0 .1rem rgb(var(--color-foreground));border-color:rgb(var(--color-foreground))}
  #Slider-Thumbnails-template--25418354819406__main .thumbnail{cursor:pointer}
}

/* 4. Телефон: свайп зберігається, слайди лежать в ряду (нативний scroll-snap) */
@media screen and (max-width:749px){
  #Slider-Gallery-template--25418354819406__main>.product__media-item{display:flex}
  /* на телефоні мініатюри під фото прибрано: головне фото свайпається */
  #GalleryThumbnails-template--25418354819406__main{display:none}
}
