/*
Theme Name: the7dtchild
Author: Dream-Theme
Author URI: http://dream-theme.com/
Description: The7 is perfectly scalable, performance and SEO optimized, responsive, retina ready multipurpose WordPress theme. It will fit every site – big or small. From huge corporate portals to studio or personal sites – The7 will become a great foundation for your next project!
Version: 1.0.0
License: This WordPress theme is comprised of two parts: (1) The PHP code and integrated HTML are licensed under the GPL license as is WordPress itself.  You will find a copy of the license text in the same directory as this text file. Or you can read it here: http://wordpress.org/about/gpl/ (2) All other parts of the theme including, but not limited to the CSS code, images, and design are licensed according to the license purchased. Read about licensing details here: http://themeforest.net/licenses/regular_extended
Template: dt-the7
*/

a:not([href]) {cursor: context-menu;}


/*linki v nogi -menu2*/
.custom-nav>li:not(:last-child)>a {
    padding: 0 0 0px!important;
}

form.the7-woocommerce-checkout .form-row {
    padding-bottom: 3px!important;
}

.pswp__caption {display:none!important;}
.mini-widgets .text-area a:not(.dt-btn) {text-decoration: none!important;}
.mini-widgets .text-area .mail a {color:#dd2839!important;}
.mini-widgets .text-area .tel a {color:#2d5991!important;}
/*.masthead .top-bar .mini-contacts {color: #1f365c;}*/


.text-opomba {
    font-size: 12px;
    color: #70716f;
    font-style: italic;
}

.aio-icon-header h1, .aio-icon-header h2,.aio-icon-header h3, .aio-icon-header h4,.aio-icon-header h5, .aio-icon-header h6 {margin-bottom:0px!important;}
.aio-icon-top {margin-bottom:13px!important;}

.bar {
    background-color: #2d5991!important;
}


/*cena*/
.product-subtotal,.product-price{display:none;!important;}
.cart-subtotal, .order-total{display:none!important;}
.cart-collaterals .cart_totals  h2 {display:none;!important;}
.woocommerce-cart .cross-sells {display:none;!important;}
.woocommerce-cart .coupon{display:none;!important;}
.woocommerce-checkout .product-total {display:none!important;}
.checkout .product-total {display:none!important;}
.cart_list li .price-wrap .woocommerce-Price-amount {display:none!important;}
.shopping-cart-bottom .total {display:none!important;}
.content .woocommerce-cart-wrap .shop_table tr.cart_item td .product-subtotal {display:none!important;}

@media screen and (max-width: 640px) {
    .product-subtotal {display: none !important;}
}


/*** blog - naslovna slika detail ***/
.single-post .post-thumbnail img {
    aspect-ratio: auto !important;
    height: 380px !important;
    object-fit: cover!important;
}



/*Product detail*/
.product_meta .posted_in:after {display:none!important; visibility:hidden!important;}

    

.product:not(.elementor-location-single) table.variations, .the7-elementor-widget table.variations {
        background-color:#f7f7f7;
        width: 100%!important;
       /* padding-left: 25px!important;*/
       /* padding-right: 25px!important;*/
        margin-bottom:0!important;
    }


.content .naslov-povprasevanja td, 
.content .naslov-povprasevanja th  {
    border:0px!important;
    text-align: center;
    padding-top: 16px;
}

.product-note { width: 100%;
    display: block;
    align-items: center;
}

form.cart div.quantity:not([style='display: none;'])+button {padding:0 30px!important;}

@media (max-width: 600px) {
div.quantity:not([style="display: none;"]) + button {margin-left:0px!important;}
.woocommerce-variation-add-to-cart > .button {margin-right:0px!important;}
}

.product div.woocommerce-variation-add-to-cart .quantity input.qty {
    display: inline;
    float: left;
    vertical-align: middle;
    width: 40px;
    padding: 0;
    margin: 0;
    border-radius: 0;
    text-align: center;
    min-height: 100%;
    -webkit-appearance: none!important;
    -moz-appearance: textfield!important;
    appearance: textfield!important;
    box-shadow: none;
}

/* odstranitev puščic */
.quantity input[type=number]::-webkit-outer-spin-button,
.quantity input[type=number]::-webkit-inner-spin-button {
    -webkit-appearance: none !important;
    margin: 0 !important;
}
/* Firefox - odstranitev puščic */
.quantity input[type=number] {
    -moz-appearance: textfield !important;
    appearance: textfield !important;
}


.footer #text-7 {
    background:#a6ce39; 
    text-align:center; 
    padding:5px;
    position: absolute;
    width: 100%;
    left: 0;
    margin-top: -40px;
}

@media (max-width: 600px) {
.footer #text-7 {
    margin-top: -57px!important;
    }
}

.footer ol {
    list-style: auto;
    font-size: 20px;
    line-height: 28px;
    padding-left:30px;
}

.footer ol li::marker {font-weight: bold;}


/* zadnji v meniju */
#primary-menu .menu-item.last > a, .main-nav .menu-item.last > a {
    background-color:#bcbdc0 !important;
    z-index: 9;
    margin-top: 0;
    margin-bottom: 0;
}

#primary-menu .menu-item.last > a:hover, .main-nav .menu-item.last > a:hover {
    background-color:#6d6e70 !important;
    color:#ffffff;
}


.owl-carousel article .woo-buttons {display:none;}


/*atributi v vrsti radio*/

/* Force the variation list container into a horizontal line */
.woo-variation-items-wrapper ul.variable-items-wrapper {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important; /* Allows items to wrap to a new line on small screens */
    gap: 15px !important;       /* Controls the horizontal and vertical spacing between options */
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
}

/* Ensure individual list items display inline correctly */
.woo-variation-items-wrapper ul.variable-items-wrapper li.variable-item {
    display: inline-block !important;
    margin: 0 !important;
}

/* Optional: Clean up radio button and text layout inside each item */
.woo-variation-items-wrapper .variable-item-radio-input-wrapper {
    display: flex !important;
    align-items: center !important;
    gap: 5px;
    cursor: pointer;
}

.woo-variation-swatches .variable-items-wrapper.radio-variable-items-wrapper .radio-variable-item input+span {margin-inline:3px!important;}


/*thumbnaili na detail* 8 in one row */
.woocommerce .flex-control-thumbs {
    list-style: none;
    padding: 0;
    margin: 10px 0 0;
    display: flex;
    flex-wrap: wrap;
}

/* 8 items per row */
.woocommerce .flex-control-thumbs li {
    flex: 0 0 12.5%;
    box-sizing: border-box;
    padding: 3px;
}

/* Make images fill the box */
.woocommerce .flex-control-thumbs li img {
    width: 100% !important;
    height: auto !important;
    display: block;
    object-fit: cover;
}

.woocommerce div.product div.images .flex-control-thumbs li img {
    border: 1px solid #444444!important;
    border-radius:3px;
}



/*povprasevanje razmiki*/
.variations .label label,
.cross-sell-box .title,
.custom-product-attribute .title,
.product-note label[for="product_note_title"] {
    font-size:20px;
    font-weight:700;
    padding-top:20px;
}

.woocommerce-variation-add-to-cart {margin-top:-15px!important;}



@media (max-width: 600px) {
    body.single-product form.cart button.single_add_to_cart_button.button.alt {
        padding: 0 7px !important;
    }
}

.reset_variations {display:none!important;}


.variations th.label label::after {
    content: " *";
    color: red;
}

.summary .sku{
    margin-top:-25px;
    margin-bottom:50px;
}





.woocommerce div.product div.summary .woocommerce-product-details__short-description {
    margin-bottom: 5px!important;
}


.product-dimenzija {
    display: flex;
    align-items: flex-start;
    gap: 6px;
}

.product-dimenzija .label {
    white-space: nowrap;
}

.product-dimenzija .value {
    display: block;
}


.wc-ico-cart i {font-size: 30px !important;}

.branding .wc-ico-cart {
    font: 500 15px / 15px "Poppins", Helvetica, Arial, Verdana, sans-serif!important;
}
.mobile-header-bar .mobile-mini-widgets .wc-ico-cart {font: 500 14px / 14px "Poppins", Helvetica, Arial, Verdana, sans-serif!important;}

.round-counter-style .wc-ico-cart > .counter {
    margin-left: 0px;
    margin-top: -18px;
}

/*velikost slike kosarica*/
.woocommerce-cart-wrap .shop_table .product-thumbnail img {
    max-width: 280px!important;
    margin-left:-100px;
}





/*video fix*/
.product_video {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.product_video iframe {
    display: block;
    width: 100%!important;
    aspect-ratio: 1200 / 675!important;
    height: auto;
    border: 0;
    position: relative;
    z-index: 1;
}




/*cross-sell - dodatni izdelki pri povprasevanju*/
.cross-sell-box {
    margin-bottom: 25px;
}


.cross-sell-box .cross-sell-grid {
	display: grid !important;
	grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
	gap: 20px !important;
}

@media (max-width: 1024px) {
	.cross-sell-box .cross-sell-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}
}

@media (max-width: 600px) {
	.cross-sell-box .cross-sell-grid {
		/*grid-template-columns: 1fr !important;*/
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}
}


.cross-name {
    display: block;
}

.cross-sell-item {
    border: 1px solid #eee;
    padding: 10px;
    border-radius: 8px;
    background: #fff;
}

.cross-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 6px;
}

.cross-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    text-align: center;
    font-size: 13px;
    line-height: 1.2;
}

.cross-image {
    width: 100%;
}

.cross-sell-item {
	display: flex;
	flex-direction: column;
	gap: 10px;
	border: 1px solid #eee;
	padding: 10px;
	border-radius: 8px;
}

.cross-image label {
	cursor: pointer;
	display: block;
}




.cross-label {
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.cross-label input[type="checkbox"] {
    margin-bottom: 8px;
}

.cross-image img {
    display: block;
}





.custom-non-variation-attributes {width:100%;margin:0;padding:0;}

input[name="quantity"] {margin-bottom:0!important;}


.summary .sku { margin-bottom: 25px!important;}

/*ozadje povpraševanje*/

.custom-product-attribute-title {
    background-color:#f5f5f5;
    text-align:center;
    padding-top:25px;
    padding-left:25px;
    padding-right:25px;
    padding-bottom:25px;
   /* display: table;
    width:calc(100% - 50px);*/
}

.custom-product-attribute-title h2 {font-weight:700; text-transform: uppercase;}

.custom-attributes-wrapper,
.cross-sell-box,
.custom-product-attribute-comment{
    /*padding-left: 25px;*/
    /*padding-right: 25px; */
    text-align:left;
   /* background-color:#f5f5f5;*/
    width:100%;
}


div.custom-product-attribute,
p.form-row-wide,
.cross-sell-box,
.custom-add-to-cart-wrapper{
    

    padding-bottom: 10px;
    }
    

. {background-color:#f5f5f5;}

.custom-add-to-cart-wrapper {
    display: flex;
    align-items: center;
    margin-top:-25px;
    padding-top:10px;
    width:100%;
}

.custom-product-attribute-comment {width:100%;margin-top:-20px;}
.custom-add-to-cart-wrapper {display:block!important;}


/*atributi - start*/
/*atributi razporeditev - barva v vrsti ostalo kolone - zacetek
.custom-non-variation-attributes {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.custom-product-attribute-pa_barva {
    grid-column: 1 / -1;
}

.custom-product-attribute-pa_barva > div {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.custom-product-attribute:not(.custom-product-attribute-pa_barva) > div {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.custom-product-attribute:not(.custom-product-attribute-pa_barva) label {
    display: flex;
    align-items: center;
    gap: 8px;
}

.custom-product-attribute:not(.custom-product-attribute-pa_barva) label {
    display: inline-flex;
    width: fit-content;
    align-self: flex-start;
}
atributi razporeditev - barva v vrsti ostalo kolone*/

/*atributi-end*/
