/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

.return-to-shop-custom {
    display: block !important;
    width: 100% !important;
    margin-top: 15px !important;
    padding: 14px 20px !important;

    text-align: center !important;
    text-decoration: none !important;

    background: transparent !important;
    color: #8d4140 !important;

    border: 1px solid #8d4140 !important;
    border-radius: 30px !important;

    font-weight: 600 !important;
    transition: all 0.2s ease !important;
}

.return-to-shop-custom:hover {
    background: #8d4140 !important;
    color: #fff !important;
}



/* WooCommerce dugmad */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce-checkout #place_order,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
    background-color: #85383b !important;
    color: #ffffff !important;
    border-radius: 10px !important;
    border: none !important;
    
}

/* Hover */
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce-checkout #place_order:hover,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover {
    background-color: #222831 !important;
    color: #ffffff !important;
}
.woocommerce-checkout-review-order-table th {
    letter-spacing: 1px !important;
	 
}
.woocommerce-checkout-review-order-table th {
    font-weight: 700 !important;
}
/* Cart totals */
.cart-collaterals th,
.cart-collaterals td {
    letter-spacing: 0 !important;
    word-spacing: normal !important;
    font-weight: 400;
}

/* Ukupno redovi */
.cart-collaterals .order-total th,
.cart-collaterals .order-total td,
.cart-collaterals .cart-subtotal th,
.cart-collaterals .cart-subtotal td {
    letter-spacing: 0 !important;
    font-weight: 700;
}

/* Naslov Cart Total */
.cart-collaterals h2,
.cart-collaterals .cart_totals h2 {
    letter-spacing: 0 !important;
    font-weight: 700;
}
.cart-subtotal th,
.cart-subtotal td,
.order-total th,
.order-total td {
    letter-spacing: 0 !important;
    word-spacing: normal !important;
}
.order-total .includes_tax,
.cart-subtotal .includes_tax {
    display: block !important;
    margin-top: 5px;
    font-size: 10px;
    letter-spacing: 0 !important;
}
@media (max-width: 767px) {
    .woocommerce-product-gallery__trigger {
        z-index: 2 !important;
    }
}

.woocommerce-ordering {
    display: none !important;
}

/* =========================
   MIRISNE NOTE
   ========================= */

.fragrance-notes {
    width: 100%;
    max-width: 920px;
    margin: 0 !important;
    padding: 0 !important;
}

.fragrance-notes__title {
    margin: 0 0 20px 0 !important;
    padding: 0 !important;
    font-size: 14px;
    line-height: 1.2;
}


/* =========================
   PIRAMIDA
   ========================= */

.fragrance-notes .fragrance-pyramid {
    width: 100%;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;

    gap: 2px !important;
    row-gap: 2px !important;

    margin: 0 !important;
    padding: 0 !important;
}


/* =========================
   REDOVI
   ========================= */

.fragrance-notes .fragrance-pyramid .fragrance-row {
    display: flex !important;

    margin: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    margin-block-start: 0 !important;
    margin-block-end: 0 !important;

    padding: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;

    gap: 1px !important;

    min-height: 0 !important;
    height: auto !important;

    line-height: 1 !important;
}

/* Piramida */
.fragrance-notes .fragrance-row--top {
    width: 60% !important;
}

.fragrance-notes .fragrance-row--middle {
    width: 80% !important;
}

.fragrance-notes .fragrance-row--base {
    width: 100% !important;
}


/* =========================
   POJEDINAČNE NOTE
   ========================= */

.fragrance-notes .fragrance-row a {
    flex: 1 1 0 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    min-width: 0 !important;
    min-height: 36px !important;

    margin: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;

    padding: 5px 8px !important;

    box-sizing: border-box !important;

    color: #ffffff !important;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2 !important;

    text-align: center;
    text-decoration: none !important;
    text-transform: uppercase;

    transition: opacity 0.2s ease;
}

.fragrance-notes .fragrance-row a:hover {
    color: #ffffff !important;
    opacity: 0.85;
}


/* =========================
   BOJE
   ========================= */

.fragrance-notes .fragrance-row--base a {
    background: #812830;
}

.fragrance-notes .fragrance-row--middle a {
    background: #a5535c;
}

.fragrance-notes .fragrance-row--top a {
    background: #c18389;
}


/* =========================
   LEGENDA
   ========================= */

.fragrance-notes .fragrance-legend {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;

    margin: 14px 0 0 0 !important;
    padding: 0 !important;

    font-size: 11px;
    line-height: 1.2;
    text-transform: uppercase;
}

.fragrance-notes .legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0 !important;
    padding: 0 !important;
}

.fragrance-notes .legend-item::before {
    content: "";
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 2px;
    flex-shrink: 0;
}

.fragrance-notes .legend-item--base::before {
    background: #812830;
}

.fragrance-notes .legend-item--middle::before {
    background: #a5535c;
}

.fragrance-notes .legend-item--top::before {
    background: #c18389;
}

/* =========================
   MOBILNI
   ========================= */

@media (max-width: 767px) {

    .fragrance-notes {
        width: 100%;
        max-width: none;
        margin: 0 !important;
        padding: 15px 0 20px !important;
    }

    .fragrance-notes__title {
        margin: 0 0 12px 0 !important;
    }

    /* Razmak između GORNJE / SREDNJE / BAZNE grupe */
    .fragrance-notes .fragrance-pyramid {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 10px !important;
        row-gap: 10px !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .fragrance-notes .fragrance-row--top,
    .fragrance-notes .fragrance-row--middle,
    .fragrance-notes .fragrance-row--base {
        width: 100% !important;
    }

    /* Pojedinačna grupa nota */
    .fragrance-notes .fragrance-row {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 2px !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* Pojedinačne note */
    .fragrance-notes .fragrance-row a {
        flex: 1 1 calc(50% - 2px) !important;
        min-height: 36px !important;
        margin: 0 !important;
        padding: 6px 8px !important;
        font-size: 11px;
    }

    /* Legenda */
    .fragrance-notes .fragrance-legend {
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 8px 14px;
        margin: 12px 0 0 0 !important;
    }
}

/* DOSTUPNO */
.stock.in-stock {
    display: flex;
    align-items: center;
    gap: 7px;

    color: #222 !important;
    font-weight: 600 !important;
    font-size: 13px;
}

.stock.in-stock::before {
    content: "✓";

    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 18px;
    height: 18px;

    background-color: #3f8f2f;
    color: #fff;

    border-radius: 50%;

    font-size: 12px;
    font-weight: bold;
    line-height: 1;

    flex-shrink: 0;
}


/* NEMA NA STANJU */
.stock.out-of-stock {
    display: flex;
    align-items: center;
    gap: 7px;

    color: #c62828 !important;
    font-weight: 600 !important;
    font-size: 13px;
}

.stock.out-of-stock::before {
    content: "×";

    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 18px;
    height: 18px;

    background-color: #c62828;
    color: #fff;

    border-radius: 50%;

    font-size: 14px;
    font-weight: bold;
    line-height: 1;

    flex-shrink: 0;
}

/* Inspirisano - prodavnica */
.product-inspired-by {
    font-family: "DM Sans", sans-serif;
    font-size: 13px;
    line-height: 1.3;
    text-transform: uppercase;

    height: 34px;
    

    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}
@media (max-width: 767px) {
    .product-inspired-by {
    font-family: "DM Sans", sans-serif;
    font-size: 11px;
    line-height: 1.3;
    text-transform: uppercase;

    height: 35px;
    

    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}
}

/* =========================
   PRODAVNICA - ISTA VISINA SLIKA
   CELA SLIKA VIDLJIVA
   ========================= */

.woocommerce ul.products li.product a img {
    width: 100% !important;
    height: 400px !important;

    object-fit: cover !important;
    object-position: center !important;

    display: block;
}
@media (max-width: 767px) {
    .woocommerce ul.products li.product a img {
        height: 230px !important;
    }
}

@media (max-width: 767px) {

    .mirisne-grid {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 14px !important;
        width: 100% !important;
    }

    .mirisne-grid > .e-con {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }

    .mirisne-grid .elementor-widget-call-to-action,
    .mirisne-grid .elementor-widget-container,
    .mirisne-grid .elementor-cta {
        width: 100% !important;
        max-width: 100% !important;
    }

    .mirisne-grid .elementor-cta {
        display: flex !important;
        flex-direction: column !important;
    }

    /* OVO JE GLAVNO - oblik slike */
    .mirisne-grid .elementor-cta__bg-wrapper {
        width: 100% !important;
        aspect-ratio: 5 / 6 !important;
        min-height: auto !important;
        height: auto !important;
        flex: 0 0 auto !important;
    }

    .mirisne-grid .elementor-cta__bg {
        height: 100% !important;
        background-size: cover !important;
        background-position: center center !important;
    }

    .mirisne-grid .elementor-cta__content {
        padding-top: 10px !important;
    }
}

/* CTA kartica */
.mirisne-grid .elementor-cta {
    position: relative !important;
}

/* CONTENT PREKO CELE SLIKE */
.mirisne-grid .elementor-cta__content {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;

    width: 100% !important;
    height: 100% !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    padding: 0 !important;
    margin: 0 !important;

    background: transparent !important;
    z-index: 10 !important;
}

/* SAMO TEKST DUGMETA */
.mirisne-grid .elementor-cta__button {
    position: static !important;
    transform: none !important;

    margin: 0 !important;
    padding: 0 !important;

    background: transparent !important;
    border: 0 !important;

    color: #fff !important;
    font-family: "DM Sans", sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;
}

/* =========================================
   GLAVNI BLOK INSTANT STORY
========================================= */

.instant-story {
    width: calc(100% - 60px);
    max-width: 1220px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 80px;

    align-items: start;
}


/* =========================================
   KOLONE
========================================= */

.instant-story__column {
    width: 100%;
    min-width: 0;
}


/* =========================================
   LOGO
========================================= */

.instant-story__logo {
    width: 80px;
    margin-bottom: 8px;
}

.instant-story__logo img {
    display: block;
    width: 100%;
    height: auto;
}


/* =========================================
   NASLOV
========================================= */

.instant-story__title {
    margin: 0;

    font-family: "Vera Humana 95", serif;
    font-size: 36px;
    line-height: 1.18;
    font-weight: 400;

    color: #172039;
}

.instant-story__title-line {
    width: 50px;
    height: 1px;

    margin-top: 12px;
    margin-bottom: 28px;

    background: #8d4140;
}


/* =========================================
   TEKST
========================================= */

.instant-story__text {
    font-family: "DM Sans", sans-serif;
    font-size: 16px;
    line-height: 1.7;
    font-weight: 400;

    color: #585858;
}

.instant-story__text p {
    margin: 0 0 14px;
}

.instant-story__intro {
    margin-bottom: 28px;
}


/* =========================================
   SLIKE
========================================= */

.instant-story__image {
    display: block;
    width: 100%;
    overflow: hidden;
}

.instant-story__image img {
    display: block;
    width: 100%;
    height: 100%;

    object-fit: cover;
}


/* LEVA SLIKA */

.instant-story__image--left {
    aspect-ratio: 350 / 570;
}


/* DESNA SLIKA */

.instant-story__image--right {
    aspect-ratio: 350 / 525;
    margin-bottom: 26px;
}


/* =========================================
   DESNI TEKST
========================================= */

.instant-story__description {
    margin-bottom: 26px;
}


/* =========================================
   SEPARATOR
========================================= */

.instant-story__separator {
    width: 100%;
    height: 1px;
    background: #8d4140;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 1024px) {

    .instant-story {
        width: calc(100% - 50px);
        gap: 45px;
    }

    .instant-story__title {
        font-size: 34px;
    }

    .instant-story__text {
        font-size: 16px;
    }
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 767px) {

    .instant-story {
        display: flex;
        flex-direction: column;

        width: 100%;
        max-width: 100%;

        gap: 30px;

        padding-left: 20px;
        padding-right: 20px;
    }


    /* KOLONE PUNA ŠIRINA */

    .instant-story__column {
        display: block;
        width: 100%;
    }


    /* NASLOV */

    .instant-story__title {
        font-size: 30px;
        line-height: 1.15;
    }


    /* TEKST */

    .instant-story__text {
        font-size: 15px;
        line-height: 1.65;
    }


    /* LEVA SLIKA NORMALNO VIDLJIVA */

    .instant-story__image--left {
        display: block !important;

        width: 100% !important;
        height: auto !important;

        aspect-ratio: unset !important;

        overflow: visible !important;
    }

    .instant-story__image--left img {
        display: block !important;

        width: 100% !important;
        height: auto !important;

        object-fit: contain !important;
    }


    /* DESNA / DRUGA SLIKA SE SAKRIVA */

    .instant-story__image--right {
        display: none !important;
    }


    /* DESNI TEKST OSTANE VIDLJIV */

    .instant-story__description {
        display: block;
        margin-bottom: 24px;
    }


    /* SEPARATOR */

    .instant-story__separator {
        display: block;
        width: 100%;
    }
}