/**
 * Global Eurokuke Styles
 * Prebačeno iz Customize → Additional CSS
 *
 * @package Eurokuke_Child
 */

/* ==========================================================================
   HEADER & SEARCH
   ========================================================================== */

/* Advanced Woo Search (AWS) Styling */
.aws-container {
    max-width: 600px;
    margin: 0 auto;
}

.aws-container .aws-search-form .aws-wrapper {
    display: flex;
    border: 2px solid #0073aa;
    border-radius: 25px !important;
    overflow: hidden;
    background-color: transparent !important;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.aws-container .aws-search-form .aws-wrapper input.aws-search-input,
.aws-container .aws-show-clear .aws-search-field {
    flex: 1;
    border: none;
    padding: 12px 20px;
    font-size: 16px;
    border-radius: 25px 0 0 25px;
    outline: none;
    background-color: transparent !important;
    color: #fff !important;
}

.aws-container .aws-search-form .aws-wrapper input.aws-search-input::placeholder,
.aws-container .aws-show-clear .aws-search-field::placeholder {
    color: #fff !important;
    opacity: 1;
}

.aws-container .aws-show-clear .aws-search-field {
    padding-right: 45px;
}

.aws-container .aws-search-form .aws-wrapper button.aws-search-submit {
    border: none;
    border-radius: 0 25px 25px 0;
    background-color: #0073aa;
    color: #fff;
    padding: 12px 20px;
    cursor: pointer;
    transition: background 0.3s;
}

.aws-container .aws-search-form .aws-wrapper button.aws-search-submit:hover {
    background-color: #005177;
}

.aws-container .aws-search-results {
    border: 2px solid #0073aa;
    border-top: none;
    border-radius: 0 0 25px 25px;
    max-height: 300px;
    overflow-y: auto;
    background-color: #0073aa;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    margin-top: -2px;
    z-index: 9999;
    transition: opacity 0.3s ease, transform 0.2s ease;
    color: #fff;
}

.aws-container .aws-search-results li {
    padding: 10px 15px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    transition: background 0.2s;
    color: #fff !important;
}

.aws-container .aws-search-results li:last-child {
    border-bottom: none;
}

.aws-container .aws-search-results li:hover {
    background-color: rgba(255,255,255,0.1);
}

.aws-container .aws-search-results {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.aws-container .aws-search-results.aws-show {
    opacity: 1;
}

.dgwt-wcas-style-pirx .dgwt-wcas-sf-wrapp {
    background-color: transparent;
}

.dgwt-wcas-style-pirx .dgwt-wcas-sf-wrapp input[type=search].dgwt-wcas-search-input {
    font-size: 15px;
    line-height: 15px;
    padding-top: 10px;
    padding-bottom: 10px;
}

.dgwt-wcas-style-pirx .dgwt-wcas-sf-wrapp button.dgwt-wcas-search-submit {
    top: 15px;
}

/* Header Menu */
.menu-item ._svg {
    width: 1.3em;
}

.elementor-widget-woocommerce-menu-cart .elementor-menu-cart__toggle .elementor-button {
    display: flex;
    flex-direction: row;
}

.elementor-menu-cart__toggle .elementor-button-icon {
    padding-right: 10px;
}

/* ==========================================================================
   KATEGORIJE HARMONIK
   ========================================================================== */

@media(min-width:1025px){
    .kategorije-harmonik {
        width:20%;
        height:55vh !important;
        transition: 0.4s ease;
    }
    .kategorije-harmonik:hover{
        width:60%;
    }
}

/* ==========================================================================
   PRODUCT GALLERY (Single Product)
   ========================================================================== */

.woocommerce-product-gallery.woocommerce-product-gallery--with-images.woocommerce-product-gallery--columns-4.images {
    display: flex;
    flex-direction: row-reverse;
}

.woocommerce-product-gallery .flex-viewport {
    width: 50%;
    flex-grow: 1;
}

ol.flex-control-nav.flex-control-thumbs {
    width: 15% !important;
    max-height: 450px !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    display: flex;
    flex-direction: column;
}

ol.flex-control-nav.flex-control-thumbs li {
    width: 100% !important;
}

ol.flex-control-nav.flex-control-thumbs li img {
    height: 100% !important;
    object-fit: cover;
}

/* ==========================================================================
   LOOP PRODUCTS (Archive/Shop)
   ========================================================================== */

.apl-loop-item del {
    color: black;
    font-weight: 500;
    font-size: 13px;
    display: block;
}

.apl-loop-item del small {
    font-size: 100%;
}

.apl-loop-item ins {
    text-decoration: none;
    color: #D14037;
}

.elementor-394 .elementor-element.elementor-element-b8200ae > .elementor-element-populated {
    display: flex;
    align-content: space-between;
}

/* ==========================================================================
   QUANTITY INPUT (Košarica)
   ========================================================================== */

/* Chrome, Safari, Edge, Opera */
.detalji input::-webkit-outer-spin-button,
.detalji input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
.detalji input[type=number] {
    -moz-appearance: textfield;
}

.detalji textarea:focus,
.detalji input:focus{
    outline: none;
}

.quantity .minus,
.quantity .plus,
.quantity input{
    border: 1px solid #ECECEC;
    border-radius: 0;
    color: black;
    background-color: white !important;
}

.quantity .minus:hover,
.quantity .minus:active,
.quantity .minus:focus,
.quantity .plus:hover,
.quantity .plus:active,
.quantity .plus:focus {
    background-color: transparent;
    border-radius: 0;
    outline: 0;
}

.quantity .minus:hover,
.quantity .plus:hover {
    border: 1px solid #ECECEC;
}

.quantity button {
    margin-left: 0 !important;
}

/* ==========================================================================
   SINGLE PRODUCT ATTRIBUTES
   ========================================================================== */

tr.woocommerce-product-attributes-item.woocommerce-product-attributes-item--attribute_pa_varijacije {
    display: none;
}

.woocommerce div.product.elementor .woocommerce-tabs .panel{
    border-top:0;
}

.woocommerce table.shop_attributes{
    border: 0;
}

li#tab-title-additional_information {
    display: none;
}

.wc-tab h2{
    display: none;
}

.woocommerce-product-attributes tbody{
    display: flex;
    flex-direction: row;
}

.woocommerce-product-attributes tbody tr{
    padding-right: 10px !important;
}

.woocommerce table.shop_attributes th{
    background-color: white !important;
    border:0;
    text-align: left;
    padding: 0 !important;
}

th.woocommerce-product-attributes-item__label {
    font-size: 11px;
    text-transform: uppercase;
    color: #d14037;
}

.woocommerce div.product.elementor .woocommerce-tabs .panel,
.woocommerce table.shop_attributes td p{
    padding: 0 !important;
}

td.woocommerce-product-attributes-item__value{
    border: 0 !important;
    background-color: white !important;
    width: 100%;
    text-align: left;
    font-size: 18px;
    font-weight: 700;
    color: #1d1d1d !important;
    font-style: normal !important;
    font-family: 'Mulish' !important;
}

td.woocommerce-product-attributes-item__value a{
    color: #1d1d1d !important;
}

/* ==========================================================================
   CART PAGE (Košarica)
   ========================================================================== */

td.product-quantity {
    width: 22%;
}

.elementor-widget-woocommerce-cart .woocommerce .input-text.qty{
    min-height: 42px !important;
    padding-left: 4px !important;
    margin-top: -5px;
}

/* ==========================================================================
   HOME FILTER
   ========================================================================== */

.apl-intro .elementor-field-group .elementor-field-textual {
    height: 85px;
}

.apl-home-filter .searchandfilter > ul {
    display: flex;
    padding: 0;
    gap: 10px;
    font-family: 'Mulish';
}

.apl-home-filter .searchandfilter li{
    width: 16%;
}

.apl-home-filter .searchandfilter label{
    width: 100%;
}

.apl-home-filter .searchandfilter select{
    height: 55px;
    border-radius: 3px !important;
    min-width: auto;
    font-weight: 500;
}

.apl-home-filter .sf-field-submit {
    display: flex !important;
    align-items: flex-end;
}

.apl-home-filter .searchandfilter .sf-field-submit input{
    height: 55px;
    background-color: #D14037;
    color: white;
    border-color: #D14037;
    width: 100%;
}

.apl-home-filter .searchandfilter h4 {
    font-size: 20px;
    color: white;
    font-family: 'Mulish';
    padding-bottom: 8px;
    font-weight: bold;
}

/* ==========================================================================
   ARCHIVE FILTERS
   ========================================================================== */

.apl-filter {
    font-family: "Mulish";
    font-weight: 600;
}

.apl-filter h4 {
    font-family: "Mulish";
    font-size: 18px;
    font-weight: 700;
    color: #D14037;
}

.apl-filter li {
    background-color: #F8F8F8;
    padding: 20px !important;
    border-radius: 20px;
    margin-bottom: 10px !important;
}

.apl-filter li ul li {
    padding: 0 !important;
}

.apl-filter li:last-child {
    background-color: transparent;
    padding: 0 !important;
}

.apl-filter [type=submit] {
    width: 100%;
    background-color: #D03E3E;
    color: white;
    border-radius: 20px;
}

.apl-archive-filter .elementor-tab-title,
.apl-archive-filter .elementor-tab-content{
    border: 1px solid #eaeaea !important;
    border-radius: 10px;
}

.apl-archive-filter .searchandfilter h4{
    padding-top: 0;
}

.apl-archive-filter .searchandfilter > ul > li:first-child{
    padding-top: 0;
}

.apl-archive-filter .sf-field-reset{
    padding-bottom: 0 !important;
}

.apl-archive-filter .elementor-tab-content{
    margin-top: 10px;
}

/* ==========================================================================
   FILTER GLOBAL STYLES
   ========================================================================== */

.sf-field-taxonomy-pa_marka-vozila label,
.sf-field-taxonomy-pa_model label,
.sf-field-taxonomy-pa_godina-proizvodnje label {
    width: 100%;
}

.searchandfilter select.sf-input-select {
    border: 1px solid #E9ECEE;
    border-radius: 10px;
}

.searchandfilter ul {
    padding: 0;
}

.searchandfilter .noUi-connect {
    background-color: #D14037;
}

.sf-input-checkbox {
    -webkit-appearance: none;
    background-color: white;
    border: 1px solid #cacece;
    padding: 9px;
    border-radius: 3px;
    display: inline-block;
    position: relative;
    margin-bottom: -6px;
}

.sf-input-checkbox:active,
.sf-input-checkbox:checked:active {
    box-shadow: 0 1px 2px rgba(0,0,0,0.05), inset 0px 1px 3px rgba(0,0,0,0.1);
}

.sf-input-checkbox:checked {
    background-color: #e9ecee;
    border: 1px solid #adb8c0;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05), inset 0px -15px 10px -12px rgba(0,0,0,0.05), inset 15px 10px -12px rgba(255,255,255,0.1);
    color: #D14037;
}

.sf-input-checkbox:checked:after {
    content: '\2714';
    font-size: 14px;
    position: absolute;
    top: 0px;
    left: 3px;
    color: #D14037;
}

.searchandfilter .sf-range-max,
.searchandfilter .sf-range-min {
    max-width: 100px;
    border: 0;
    background-color: white;
}

/* ==========================================================================
   PAGINATION
   ========================================================================== */

.elementor-pagination {
    margin-top: 30px;
}

.elementor-pagination a {
    background-color: #F8F8F8;
    padding: 5px 10px;
}

.elementor-394 .elementor-element.elementor-element-09f1ae5 .elementor-pagination {
    margin-top: 100px !important;
}

/* ==========================================================================
   CHOSEN DROPDOWNS
   ========================================================================== */

.chosen-container .chosen-results {
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100% !important;
}

.chosen-container .chosen-results li {
    display: block !important;
    width: 100% !important;
    padding: 8px 12px;
    margin: 0;
    box-sizing: border-box;
    white-space: nowrap;
}

.chosen-container .chosen-results li.highlighted,
.chosen-container .chosen-results li.result-selected {
    background-color: #0073e6;
    color: #fff;
}

.chosen-container .chosen-drop {
    max-height: 250px;
    overflow-y: auto;
    overflow-y:hidden !important;
}

.chosen-container-single .chosen-single {
    height: 55px;
    padding: 9%;
}

.chosen-container-single .chosen-single div {
    position: absolute;
    top: 14px;
    right: 10px;
    display: block;
    width: 18px;
    height: 100%;
    visibility: hidden;
}

/* ==========================================================================
   RESPONSIVE - MOBILE
   ========================================================================== */

@media (max-width: 768px) {
    /* AWS Search */
    .aws-container {
        max-width: 100%;
    }

    .aws-container .aws-search-form .aws-wrapper input.aws-search-input,
    .aws-container .aws-show-clear .aws-search-field {
        padding: 12px 15px;
    }

    .aws-container .aws-search-form .aws-wrapper button.aws-search-submit {
        padding: 12px 15px;
    }

    /* Chosen */
    .chosen-container-single .chosen-single {
        padding: 12px 16px !important;
    }

    /* Filter mobilni */
    .searchandfilter ul li,
    .apl-filter li {
        width: 100% !important;
        display: block !important;
    }

    .chosen-container,
    .chosen-container-single,
    .searchandfilter select.sf-input-select {
        width: 100% !important;
        display: block !important;
    }

    .chosen-container-single .chosen-single {
        height: 55px;
        padding: 12px 16px;
    }

    .apl-filter ul,
    .searchandfilter ul {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }
}

@media only screen and (max-width: 767px){
    /* Product attributes */
    .woocommerce-product-attributes tbody {
        display: flex;
        flex-direction: column;
    }

    .woocommerce-product-attributes tbody tr{
        padding-right: 10px !important;
        padding-top: 10px !important;
    }

    /* Home filter */
    .apl-home-filter .searchandfilter ul{
        flex-wrap: wrap;
    }

    .apl-home-filter .searchandfilter li{
        width: calc(50% - 5px);
        padding: 0;
    }

    .apl-home-filter .searchandfilter select,
    .apl-home-filter .searchandfilter .sf-field-submit input{
        height: 40px;
    }

    ul.variable-items-wrapper > li{
        flex-grow: 1;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    ul.variable-items-wrapper .variable-item-span{
        font-size: 11px;
    }
}
