/* ==========================================================================
   UKŁADY STRONY PRODUKTU – sterowane z Dashboardu
   Klasy na <body> (tylko is_product): aurora-single-{układ} + aurora-single-no{element}
   Baza: assets/css/shop/single-product.css
   ========================================================================== */

/* --- UKŁAD: Galeria z prawej --- */
body.aurora-single-gallery-right .aurora-single-wrapper {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}
body.aurora-single-gallery-right .aurora-gallery-sticky { order: 2; }
body.aurora-single-gallery-right .aurora-product-info-side { order: 1; }

/* --- UKŁAD: Szeroki --- */
body.aurora-single-wide .aurora-product-container { max-width: 1520px; }
body.aurora-single-wide .aurora-single-wrapper {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.85fr);
    gap: 90px;
}

/* --- UKŁAD: Galeria na górze (jedna kolumna, węższy blok) --- */
body.aurora-single-stacked .aurora-single-wrapper {
    grid-template-columns: 1fr;
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
    gap: 40px;
}
body.aurora-single-stacked .aurora-gallery-sticky {
    position: static;
    top: auto;
}

/* --- Przełącznik: sticky galeria wył. --- */
body.aurora-single-nosticky .aurora-gallery-sticky {
    position: static;
    top: auto;
}

/* --- Ukrywanie elementów --- */
body.aurora-single-nobreadcrumbs .aurora-breadcrumbs-wrap { display: none; }
body.aurora-single-noinfotiles .aurora-horizontal-info { display: none; }
body.aurora-single-norelated .related.products,
body.aurora-single-norelated .custom-related-slider { display: none; }
body.aurora-single-nofbt .aurora-fbt { display: none; }
body.aurora-single-norecent .aurora-recently-viewed { display: none; }
body.aurora-single-noqa .aurora-qa { display: none; }

@media (max-width: 992px) {
    /* Na mobile wszystkie układy i tak zwijają się do jednej kolumny — nadpisania zbędne */
    body.aurora-single-wide .aurora-product-container { max-width: 1300px; }
}
