/**
Theme Name: DOLCEMANIA
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dolcemania
Template: astra
*/
.blog-layout-4 .ast-blog-single-element.ast-taxonomy-container.cat-links {display: none!important;}
/* Dolcemania – ukloni standardnu Astra arhivu
   na svim WordPress kategorijama */
body.category #main > .ast-row,
body.category #main > .ast-pagination {display: none !important;}
.ast-ajax-pagination-wrapper{display:none;}
.nav-links{display:none !important;}
body.single-post #primary > #main > article.ast-article-single {display: none !important;}

/* DOLCEMANIA – ACCORDION STYLE */

/* Ukloni bočne bordere */
.e-n-accordion .e-n-accordion-item {
    border-left: none !important;
    border-right: none !important;
}

/* Naslov – samo horizontalne linije */
.e-n-accordion .e-n-accordion-item-title {
    border-left: none !important;
    border-right: none !important;
    border-top: 1px solid #d5d5d5 !important;
    border-bottom: none !important;
    padding: 16px 10px !important;
}

/* Zadnja donja linija */
.e-n-accordion .e-n-accordion-item:last-child {
    border-bottom: 1px solid #d5d5d5 !important;
}

/* Sakrij postojeće plus/minus ikone */
.e-n-accordion .e-n-accordion-item-title-icon i {
    display: none !important;
}

/* Nova strelica */
.e-n-accordion .e-n-accordion-item-title-icon::after {
    content: "";
    display: block;
    width: 8px;
    height: 8px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.25s ease;
}

/* Kada je accordion otvoren */
.e-n-accordion details[open]
.e-n-accordion-item-title-icon::after {
    transform: rotate(225deg);
}

/* Sadržaj bez bočnih bordera */
.e-n-accordion .e-con {
    border-left: none !important;
    border-right: none !important;
}

.dc-related-link{text-align: center !important;}

/* DOLCEMANIA – mobilna galerija */
@media (max-width: 767px) {

    /* Galerija preko cijele širine */
    .elementor-element-38923dc {
        width: 100%;
        min-width: 0;
        overflow: hidden;
    }

    /* Sakrij zasebnu glavnu fotografiju */
    .elementor-element-38923dc
    .elementor-element-a1064b3 {
        display: none !important;
    }

    /* Horizontalni swipe */
    .elementor-element-38923dc
    .gallery {
        display: flex !important;
        flex-wrap: nowrap !important;
        gap: 0 !important;

        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;

        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .elementor-element-38923dc
    .gallery::-webkit-scrollbar {
        display: none;
    }

    /* Točno jedna fotografija po ekranu */
    .elementor-element-38923dc
    .gallery-item {
        flex: 0 0 100% !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;

        scroll-snap-align: start;
    }

    .elementor-element-38923dc
    .gallery-icon,
    .elementor-element-38923dc
    .gallery-icon a {
        display: block;
        width: 100%;
    }

    .elementor-element-38923dc
    .gallery-item img {
        display: block;
        width: 100%;
        height: auto;
        aspect-ratio: 4 / 3;
        object-fit: cover;
    }
}

/* DOLCEMANIA – ujednačene fotografije galerije */

/* Samo galerija proizvoda */
.elementor-element-38923dc
.elementor-element-6797ff0 .gallery {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 5px;
}

/* Ukloni Elementor zadane razmake */
.elementor-element-38923dc
.elementor-element-6797ff0 .gallery-item {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
}

/* Jednake dimenzije svih fotografija */
.elementor-element-38923dc
.elementor-element-6797ff0 .gallery-item img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border: none;
}

/* Mobilni prikaz – jedna fotografija */
@media (max-width: 767px) {

    .elementor-element-38923dc
    .elementor-element-6797ff0 .gallery {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 0;
        scrollbar-width: none;
    }

    .elementor-element-38923dc
    .elementor-element-6797ff0 .gallery-item {
        flex: 0 0 100% !important;
        min-width: 100% !important;
        scroll-snap-align: start;
    }

    .elementor-element-38923dc
    .elementor-element-6797ff0 .gallery-item img {
        aspect-ratio: 4 / 3;
        object-fit: cover;
    }
}

/* DOLCEMANIA – Scroll Reveal */

.elementor-widget-hfe-basic-posts .hfe-post-card {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: no-preference) {

    .elementor-widget-hfe-basic-posts
    .hfe-post-card.dc-reveal-pending {
        opacity: 0;
        transform: translate3d(0, 28px, 0);
    }

    .elementor-widget-hfe-basic-posts
    .hfe-post-card.dc-reveal-pending.dc-reveal-visible {
        opacity: 1;
        transform: translate3d(0, 0, 0);
        transition:
            opacity 650ms ease,
            transform 650ms cubic-bezier(.22,1,.36,1);
        transition-delay: var(--dc-delay, 0ms);
    }
}