/*
Theme Name: Hello Elementor Child
Theme URI: https://elementor.com/hello-theme/?utm_source=wp-themes&utm_campaign=theme-uri&utm_medium=wp-dash
Template: hello-elementor
Author: Elementor Team
Author URI: https://elementor.com/?utm_source=wp-themes&utm_campaign=author-uri&utm_medium=wp-dash
Description: Hello Elementor is a lightweight and minimalist WordPress theme that was built specifically to work seamlessly with the Elementor site builder plugin. The theme is free, open-source, and designed for users who want a flexible, easy-to-use, and customizable website. The theme, which is optimized for performance, provides a solid foundation for users to build their own unique designs using the Elementor drag-and-drop site builder. Its simplicity and flexibility make it a great choice for both beginners and experienced Web Creators.
Tags: accessibility-ready,flexible-header,custom-colors,custom-menu,custom-logo,featured-images,rtl-language-support,threaded-comments,translation-ready
Version: 3.3.0.1744894853
Updated: 2025-04-17 15:00:53

*/

/* Ukloni sve cross-sell sekcije u košarici */
.wc-block-cart .wc-block-components-product-cross-sells,
.wp-block-woocommerce-cart-cross-sells-block {
    display: none !important;
}

/* Ukloni "Novo u trgovini" kad je košarica prazna */
.wc-block-cart__empty-cart-products {
    display: none !important;
}

/* Ukloni WooCommerce Blocks "Novo u trgovini" sekciju */
.wc-block-grid.wp-block-woocommerce-product-new,
.wc-block-grid.wp-block-woocommerce-product-new * {
    display: none !important;
}

/* Sakrij samo "Novo u trgovini" naslov */
h2.wp-block-heading:has(+ .wc-block-grid.wp-block-woocommerce-product-new) {
    display: none !important;
}


/* Fix for Woo alignwide going into negative margin */
.woocommerce .alignwide,
.woocommerce-page .alignwide,
.wc-block-cart .alignwide,
.wc-block-checkout .alignwide {
    margin-inline: 0 !important;
}

.sib-default-btn {
    width: 100% !important;
}

/* Manji font naziva proizvoda u checkoutu */
h3.wc-block-components-product-name {
    font-size: 13px !important;
    line-height: 1.3em;
}


/* KRENI NA PLAĆANJE – WooCommerce Block gumb */
.wc-block-cart__submit-button {
    background: #F48922 !important; /* Elementor narančasta */
    color: #ffffff !important;
    border-radius: 5px !important;
    padding: 16px 36px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px;
    border: none !important;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

/* Hover efekt */
.wc-block-cart__submit-button:hover {
    background: #D67417 !important;
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.2);
}

/* Centriranje teksta */
.wc-block-components-button__text {
    font



@media (min-width: 1025px) {
    .elementor-nav-menu > li > a {
        font-weight: 500;
    }

    .elementor-nav-menu .sub-menu li a {
        font-weight: 400;
    }
}

/* Sakrij hamburger gumb */
.menu-kategorije .elementor-menu-toggle {
    display: none !important;
}

/* Prikaži dropdown meni uvijek */
.menu-kategorije .elementor-nav-menu--dropdown {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    position: relative !important;
    height: auto !important;
}

/* Sakrij overlay klik zatvaranje */
.menu-kategorije .elementor-menu-overlay {
    display: none !important;
}


/* === UKLANJANJE OVERLAY SLOJA === */
.menu-kategorije .elementor-menu-overlay {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

/* === PRISILNO PRIKAŽI DROPDOWN MENI === */
.menu-kategorije .elementor-nav-menu--dropdown {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    position: relative !important;
    transform: none !important;
    pointer-events: auto !important;
}

/* Ukloni inline max-height koji Elementor nameće */
.menu-kategorije .elementor-nav-menu--dropdown,
.menu-kategorije .elementor-nav-menu {
    max-height: none !important;
    height: auto !important;
    overflow: visible !important;
}

/* Makni hamburger */
.menu-kategorije .elementor-menu-toggle {
    display: none !important;
}

/* Plus ikona uvijek vidljiva */
.menu-kategorije .sub-arrow {
    opacity: 1 !important;
    visibility: visible !important;
}


/* === Sidebar menu s ID-em #sidebar-menu === */
#sidebar-menu .elementor-nav-menu > li.menu-item-has-children > a::after,
#sidebar-menu .elementor-nav-menu .sub-menu li.menu-item-has-children > a::after {
    content: "→";
    font-size: 16px;
    color: #999;
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
    visibility: visible;
}

/* Poravnaj tekst lijevo, ostavi prostor za strelicu */
#sidebar-menu .elementor-nav-menu a {
    position: relative;
    padding-right: 28px;
}

/* Hover efekt: strelica crvena */
#sidebar-menu .elementor-nav-menu a:hover::after {
    color: #FF4942;
}

/* Ukloni defaultne toggle ikonice (plusevi/strelice iz teme) */
#sidebar-menu .elementor-nav-menu .elementor-item-toggle {
    display: none !important;
}

/* Dropdown podmeniji – širi prikaz */
#sidebar-menu .elementor-nav-menu .sub-menu {
    min-width: 220px; /* ili više po potrebi */
}

/* Osiguraj da strelica ne nestaje kod aktivnog linka */
#sidebar-menu .elementor-nav-menu li.current-menu-item > a::after,
#sidebar-menu .elementor-nav-menu li.current-menu-ancestor > a::after {
    color: #999;
}


.woocommerce-cart .wc-block-components-notices .wc-block-components-button:not(.is-link) {
	background-color: transparent !important;
	margin-top: -10px !important;
}

.woocommerce-cart .wc-block-components-notices .wc-block-components-button:not(.is-link):hover {
	background-color: transparent !important;
	margin-top: -10px !important;
}

/* Lista */
.wc-category-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Svaka stavka */
.wc-category-list li {
    border-bottom: 1px solid #eee;
}



/* Link */
.wc-category-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    color: #333;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

/* Ikonica desno */
.wc-category-list a::after {
    content: "›";
    font-size: 14px;
    color: #ccc;
    margin-left: auto;
    margin-right: 0;
    transition: transform 0.2s ease, color 0.2s ease;
}

/* Hover efekt */
.wc-category-list a:hover {
    color: #FF4942;
    padding-left: 20px;
}

.wc-category-list a:hover::after {
    transform: translateX(4px);
    color: #FF4942;
}

/* Broj proizvoda */
.wc-category-list .cat-count {
    color: #999;
    font-size: 13px;
    margin-left: 6px;
}

/* Aktivna kategorija */
.wc-category-list .active-cat > a {
    color: #F48922;
    font-weight: 600;
    background: #fff2f1;
    border-left: 3px solid #F48922;
    padding-left: 20px;
}

/* Povratak */
.wc-category-back {
    margin-bottom: 15px;
}

.wc-category-back a {
    font-size: 14px;
    color: #666;
    text-decoration: none;
}

.wc-category-back a:hover {
    color: #FF4942;
}

/* Search unutar kategorije */
.wc-category-search {
    margin-bottom: 20px;
}

.wc-category-search input[type="text"] {
    width: 100%;
    padding: 8px 10px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 6px;
}

.wc-block-checkout__sidebar .wc-block-components-product-name {
	font-size: 16px !important;
	font-weight: 500 !important;
}

/* === GUMB === */
.toggle-category-sidebar {
    display: none;
    background: #FF4942;
    color: #fff;
    border: none;
    padding: 12px 16px;
    font-size: 15px;
    border-radius: 6px;
    margin-bottom: 16px;
    width: 100%;
    cursor: pointer;
}

/* === TABLET I MOBILNI PRIKAZ GUMB KATEGORIJE === */
@media (max-width: 1024px) {
    .wc-category-sidebar-wrapper {
        display: none !important;
    }

    .wc-category-sidebar-wrapper.active {
        display: block !important;
    }

    .toggle-category-sidebar {
        display: block;
    }
}

/* === Stil WooCommerce dropdown sortiranja === */
.woocommerce .woocommerce-ordering select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: #fff;
    border: 2px solid #FF4942;
    border-radius: 6px;
    padding: 10px 40px 10px 16px;
    font-size: 15px;
    font-weight: 500;
    color: #333;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23FF4942' stroke-width='2'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 14px;
    cursor: pointer;
    transition: border-color 0.2s ease;
}

/* Hover/focus efekt */
.woocommerce .woocommerce-ordering select:hover,
.woocommerce .woocommerce-ordering select:focus {
    border-color: #d93d3d;
    outline: none;
}

/* Mobilna optimizacija */
@media (max-width: 768px) {
    .woocommerce .woocommerce-ordering {
        width: 100%;
        margin-bottom: 20px;
    }

    .woocommerce .woocommerce-ordering select {
        width: 100%;
    }
}

/* === Stil WooCommerce sortiranja === */
.woocommerce .woocommerce-ordering {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    margin-bottom: 24px;
}

/* Izgled dropdowna */
.woocommerce .woocommerce-ordering select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px 40px 10px 14px;
    font-size: 15px;
    font-weight: 500;
    color: #333;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23999' stroke-width='2'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 14px;
    cursor: pointer;
    transition: border 0.2s ease, box-shadow 0.2s ease;
}

/* Hover/focus efekt */
.woocommerce .woocommerce-ordering select:hover,
.woocommerce .woocommerce-ordering select:focus {
    border-color: #aaa;
    box-shadow: 0 0 0 3px rgba(0,0,0,0.05);
    outline: none;
}

/* Mobilni prikaz */
@media (max-width: 768px) {
    .woocommerce .woocommerce-ordering {
        width: 100%;
    }

    .woocommerce .woocommerce-ordering select {
        width: 100%;
    }
}


/* Stil za WooCommerce gumb u KOŠARICI */
.woocommerce-cart .wc-block-components-button:not(.is-link) {
    background-color: #FF4942 !important;
    font-family: "Manrope", Sans-serif !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    line-height: 1.2em !important;
    color: #fff !important;
    border-style: solid !important;
    border-width: 0px !important;
    border-radius: 5px !important;
    padding: 12px 24px !important;
    display: inline-block;
    text-align: center;
    text-decoration: none !important;
    transition: background-color 0.3s ease;
}

/* Hover efekt - tamna pozadina i bijeli tekst */
.woocommerce-cart .wc-block-components-button:not(.is-link):hover {
    background-color: #2d333d !important;
    color: #ffffff !important;
}

/* Kontejner za thumbnails */
.woocommerce div.product .flex-control-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px; /* razmak između sličica – možeš promijeniti po želji */
  margin: 0 !important;
  padding: 0 !important;
  list-style: none;
}

/* Svaka sličica */
.woocommerce div.product .flex-control-thumbs li {
  box-sizing: border-box;
  margin: 0 !important;
  list-style: none;
  flex: 0 0 calc((100% - (6 * 8px)) / 7); 
  /* 7 u redu: 100% širine - (6 razmaka po 8px), podijeljeno na 7 */
}


