/* Layout adjustments */
@media (min-width: 992px) {
	.body-desktop-header-style-w-6 > main, 
	.body-desktop-header-style-w-7 > main { padding-left: 20%; }
    #header.desktop-header-style-w-6, 
    #header.desktop-header-style-w-7 {
        position: fixed;
        left: 0;
        top: 0;
        z-index: 5002;
        width: 20%;
        min-height: 100vh;
    }
	
	#desktop-header { height: 100vh; }
	.header-top,
	#desktop-header-container { height: 100%; }
	#desktop-header-container { padding-left: 3rem; padding-right: 3rem; }
	#desktop-header-container > .row { padding-left: 0; padding-right: 0; height: 100%; flex-direction: column; }
	#desktop-header-container > .row > div[class^="col-"] { padding-left: 0; padding-right: 0; flex: 0 1; }
	.col-header-bottom { margin-top: auto; margin-bottom: 20%; }
	#inner-wrapper { padding-left: 3rem; padding-right: 3rem; }
}

#wrapper .breadcrumb { margin-top: 0; margin-bottom: 0rem; }
#wrapper .breadcrumb li::after { content: "•"; color: #000; }
#wrapper .breadcrumb li:last-child span,
#wrapper .breadcrumb li:last-child span a { font-weight: 700; }

.modal-dialog { max-width: 35%; }
.modal-content { padding: 2rem; border-radius: 20px; }
.modal-header, .modal-body { border: none; padding: 0; }
.modal-header .close { margin-left: 30%; }
.modal-title { font-size: 1.2rem; font-weight: 500; color: #000; }
.modal-body { margin-top: 3rem; }

#content-wrapper .page-title { margin-bottom: 0; padding-bottom: 0; }

#order-detail #order-infos2 { display: none; }
.page-order-detail .box { border: none; padding: 0rem; margin-bottom: 2rem; }
.table-bordered thead td, .table-bordered thead th { border: none; }
.table-bordered, .table-bordered td, .table-bordered th { border: none; }
.thead-default th { background: var(--colBgLightBlue); border: none; }
.table { border-collapse: separate; border-spacing: 0 8px; }
.table tr { display: table-row; margin-bottom: 10px; border-collapse: separate; border-spacing: 0 10px; }
.table td, .table th { padding: .5rem; }
.table th:first-child, .table td:first-child  { border-radius: 10px 0 0 10px;  }
.table th:last-child, .table td:last-child  { border-radius: 0 10px 10px 0;  }
.table tbody tr { background: #f7f7f7; }

/* quantity input */
.product-quantity .qty { width: auto; }
#quantity_wanted { font-size: 2rem; color: var(--colBlack); }
.input-group-btn-vertical { display: flex!important; flex-direction: row; align-items: center; }
.input-group-btn-vertical input { background: none; width: 55px; padding: 0; border: none; order: 2; text-align: center; font-size: 1.2rem; }
.product-miniature-default .product-add-cart .input-qty { padding: 0; }
.bootstrap-touchspin { max-width: none!important; margin-bottom: 0!important; }
.product-miniature-list .input-group-add-cart .bootstrap-touchspin { justify-content: end; }
.bootstrap-touchspin .input-group-btn-vertical > .btn-touchspin { width: 40px; height: 40px; line-height: 40px; padding: 0!important; border: 1px solid var(--colBlack); border-radius: 50%; margin: 0; border-color: var(--colBlack)!important; }
.input-group-btn-vertical { border: none; }
.input-group-btn-vertical .btn-touchspin i { position: relative; top: 0px; left: auto; font-weight: bold; color: var(--colBlack); }
.input-group-btn-vertical .btn-touchspin i:before { color: #000; font-size: 1.5rem; }
.input-group-btn-vertical .bootstrap-touchspin-down { order: 1; }
.input-group-btn-vertical .bootstrap-touchspin-up { order: 3; }
.input-group-btn-vertical .bootstrap-touchspin-down i:before { content: '-'; }
.input-group-btn-vertical .bootstrap-touchspin-up i:before { content: '+'; }
#blockcart-content .input-group-btn-vertical input { width: 40px; }
#blockcart-content .bootstrap-touchspin .input-group-btn-vertical > .btn-touchspin { width: 35px; height: 35px; line-height: 35px; }

.form-group { position: relative; }
.col-form-label { position: absolute; top: -12px; left: 2rem; z-index: 4; background: white; width: auto; padding: 0 .5rem; max-width: none; }
.form-control { padding: 16px 12px; border-color: #B5BBC2; border-radius: 10px; }

.product-list-qty .bootstrap-touchspin { justify-content: end; }
.product-miniature .btn-mpext { width: 100%; }

.ps-shoppingcart .cart-products-count-btn { width: 24px; height: 24px; line-height: 24px; top: -10px; right: -10px; font-weight: 700; font-family: 'Inter'; }

.mpe-variants { display: flex; flex-direction: column; height: 100%; justify-content: flex-end; gap: 1rem; }
.mpe-variants.has-3 { justify-content: space-between; }
select.form-control:not([size]):not([multiple]) { height: 3.5rem; }
.select-label { position: absolute; top: -12px; left: 16px; background: #fff; padding: 2px 8px; z-index: 2; }
.custom-select2, .custom-select2 option { border-radius: 10px; }
.mpe-variants .form-control-select, .mpe-variants select { background-position: calc(100% - 13px) calc(1em + 6px),calc(100% - 8px),100% 0; }

/* Menu  */
#cbp-hrmenu1 > ul > li > a, #cbp-hrmenu1 > ul > li > span.cbp-main-link { display: flex; align-items: center; flex: 1; gap: .5rem; padding: 1rem .75rem; font-size: 1.2rem; }
#cbp-hrmenu1 > ul > li:hover > a, #cbp-hrmenu1 > ul > li:hover > span.cbp-main-link { background: var(--colBgLightBlue); color: var(--colBlue); }


/* Product  */
.product-miniature-grid .product-title { height: 3rem; margin-bottom: .5rem; }

#product .images-container,
#product .product-cover { margin-bottom: 0; }
.col-product-info { padding: 2rem; }
/*#product .product-info-row .mpe-request-cont, 
.col-add-btn { position: absolute; bottom: 0; margin-bottom: 2rem; }*/
.product-variants .input-color+span, 
.product-variants .input-radio+span { border-radius: 40px; padding: 6px 12px; line-height: 1; }

.product-variants-item .form-control-label { font-weight: 600; }
.product-variants .input-color:checked+span, 
.product-variants .input-color:hover+span, 
.product-variants .input-radio:checked+span, 
.product-variants .input-radio:hover+span { color: #000; border: 1px solid var(--colBlue); line-height: 1; font-weight: 500; }

.product-additional-info { border: none; }
#content-wrapper .product-tabs .section-title { padding-bottom: 0; margin-bottom: .75rem; }
.product-tabs .section-content { padding: 1.5rem; background: #fff; border-radius: 20px; }
.product-flags { display: none; }
.product-minimal-quantity { display: none; }

/* Sellers */
#module-mpext-sellercustomers #search_widget { display: none; }
[id^=module-jmarketplace-]:not(#module-jmarketplace-sellerprofile):not(#module-jmarketplace-sellercatalog) #search_widget { display: none; }

/* Checkout */
body#checkout section.checkout-step { background: #fff; border-radius: 20px; margin-bottom: 1rem; }
body#checkout #js-checkout-summary { background: #fff; border-radius: 20px; }

/* Stats */
.home-stats { margin-left: -0.5rem; margin-right: -0.5rem; }
.home-stats .home-stats-icon { text-align: center; }
.home-stats > div:nth-child(1) .home-stats-icon { background: var(--colGreenLight); }
.home-stats > div:nth-child(1) .home-stats-icon i { color: var(--colGreen); }
.home-stats > div:nth-child(2) .home-stats-icon { background: var(--colBgLightBlue); }
.home-stats > div:nth-child(2) .home-stats-icon i { color: var(--colBlue); }
.home-stats > div:nth-child(3) .home-stats-icon { background: var(--colRedLight); }
.home-stats > div:nth-child(3) .home-stats-icon i { color: var(--colRed); }
.home-stats > div:nth-child(4) .home-stats-icon { background: var(--colYellowLight); }
.home-stats > div:nth-child(4) .home-stats-icon i { color: var(--colYellow); }
.home-stats > div:nth-child(5) .home-stats-icon { background: var(--colGreenLight); }
.home-stats > div:nth-child(5) .home-stats-icon i { color: var(--colGreen); }

/* Notizie */
#index .home-news .elementor-element-populated { border-radius: 20px; }
#index .simpleblog-posts-column:last-child .simpleblog__listing__post__wrapper { margin-bottom: 0; }
#index .simpleblog__listing__post__wrapper__footer { border-left: 1px solid var(--colGreyLight); border-top: none; }
#index .simpleblog__listing__post__title { display: flex; flex-direction: column; height: 100%; justify-content: center; border-left: 1px solid var(--colGreyLight); border-right: 1px solid var(--colGreyLight); }
#module-ph_simpleblog-list .simpleblog__listing__post__title { border-left: 1px solid var(--colGreyLight); border-right: 1px solid var(--colGreyLight); }
#module-ph_simpleblog-list .simpleblog__listing__post__wrapper__footer,
#module-ph_simpleblog-list .simpleblog__listing__post__wrapper { margin-bottom: 1rem; }
.simpleblog__listing__post__wrapper__content__headline { font-size: 1.2rem; font-weight: 500; padding-bottom: 0; margin-bottom: 0; border: none; }

/* Account */
#addresses .my-account-page-content article.address { border-radius: 10px; }

/* MPE */
.seller-delivery-payment { cursor: pointer; background: #fff; padding: 1rem; border-radius: 10px; border: 1px solid var(--colGrey); }
.seller-delivery-payment.active { background: var(--colBgLightBlue); }
.seller-item .seller-logo img { max-height: 85px; }

.home-prods .product-miniature-grid { padding: 0 0 1rem!important; }
.home-prods .prod-left,
.home-prods .product-description { flex: 0 0 100%; max-width: 100%; }
.home-prods .product-description { order: -1; margin-top: 0!important; }
.home-prods .product-price-and-shipping,
.home-prods .seller-name,
.home-prods .product-variants,
.home-prods .product-list-qty { display: none; }
.home-prods .product-title,
.home-prods .product-add-cart { padding-left: 1rem; padding-right: 1rem; }
.home-prods .btn-mpext,
.home-prods .btn-product-list,
.more-link { display: none; }
.home-prods .more-link { display: block; }

.seller-description { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; height: 4.5rem; transition: all 1s; }
.expand-fade { max-height: 3000; height: auto!important; display: block!important; }

/* Cart/checkout */
.cart-summary-line { margin-bottom: .7rem; }
a[data-link-action="different-invoice-address"] { display: none; }
#checkout .delivery-options { display: none; }


/* sellers profile */
#seller-products thead { display: none; }
#seller-products tbody { display: flex; flex-wrap: wrap; gap: 1rem; }
#seller-products tbody tr { flex: 0 0 calc(25% - .75rem); max-width: 25%; display: flex; flex-direction: column; background: none; border: 1px solid var(--colGreyLight); border-radius: 10px; }
#seller-products table, #seller-products thead, #seller-products tbody, #seller-products tfoot, #seller-products tr, #seller-products th, #seller-products td { border-collapse: separate; border-spacing: 0; }
#seller-products .product-name { display: block; height: 3.3rem; }
#module-jmarketplace-sellerpayment .alert-info { display: none; }
.alert { border-radius: 10px; }

.seller-shipping-options { border: none; padding: 0; }

.jmarketplace-panel .header-cont { font-size: 1.1rem; font-weight: 600; text-align: center; margin-bottom: 1rem; }
.notif-badge {
    display: inline-block;
    width: 20px!important;
    height: 20px;
    line-height: 20px;
    text-align: center;
    border-radius: 50px;
    font-size: .75rem!important;
    /*position: absolute;
    top: -4px;
    right: -4px;*/
    background: var(--colBlue);
    color: #ffffff;
}
.notif-badge.notif-hide { display: none!important; }

@media (max-width: 720px) { 
	select.form-control:not([size]):not([multiple]) { height: auto; }
	.form-control { padding: 12px 12px; }
	.mpe-variants .select-label { font-size: .9rem; }

	#main.-combinations-loading .product-accessories { opacity: .3; }

	#content-wrapper .page-title { font-size: 2.8rem; }
	.product_header_container h1 { font-size: 2.4rem; }
	#product-images-large { max-height: 150px; }
	#product-images-large picture { transform: translateY(-25%); display: block; }
	.col-product-info { padding: 1rem; }
	.product-variants ul { margin-top: 4px; } 
	#product .product-info-row .mpe-request-cont { margin-bottom: 1rem; } 
	#product .product-info-row .mpe-request-cont a { display: block; } 
	/*#product .product-info-row .mpe-request-cont, 
	.col-add-btn { position: relative; bottom: auto; margin-bottom: 0; }*/
	#productsameseller.home-prods .js-product-miniature-wrapper { flex: 0 0 50%; max-width: 50%; }

	.cart-item .bootstrap-touchspin { justify-content: end; }

	/*#mpext-request-modal { margin-left: 1rem; }*/
	.modal-dialog { max-width: calc(100% - 2rem); margin-top: 20%; margin-left: 1rem; }
	.modal-content { min-height: auto; }
	.modal-header, .modal-body { border: none; padding: 0; }
	.modal-header .close { margin-left: 0; }
	.modal-body { margin-top: 0rem; }

	#seller-products tbody tr { flex: 0 0 calc(50% - .5rem); max-width: 47%; }
	#seller-products tbody tr .product-actions > div { flex-wrap: wrap; }
	#seller-products tbody tr .product-actions > div > a { display: block; width: 100%; }

	#history .orders .order { background: #f7f7f7; padding: .6rem 1rem; border-radius: 10px; border: none; margin-bottom: 1rem; }
	#history .orders .order:nth-child(even) { background: #f0f0f0; }
	#history .orders .order > div { display: flex; border-bottom: 1px solid #DFDFDF; padding-bottom: .5rem; margin-bottom: .5rem; }
	#history .orders .order > div.status,
	#history .orders .order > div.actions { border-bottom: none; }
	#history .orders .order > div > span { flex: 0 0 50%; max-width: 50%; }
	#history .orders .order > div.actions > span { padding-left: .5rem; padding-right: .5rem; }
	#history .orders .order > div > span:first-child { font-weight: 700; }
	#history .orders .order .label { white-space: nowrap; }

	.page-order-detail #order-history .history-lines .history-line { padding: 1rem; background: #f7f7f7; display: flex; align-items: center; overflow: hidden; }
	.page-order-detail #order-history .history-lines .history-line > div { flex: 0 0 50%; max-width: 50%; }
	.page-order-detail #order-history .history-lines .history-line .label { text-wrap: nowrap; }
}

/* https://shop.agromercato.com/conferma-ordine?id_cart=8&id_module=99&id_order=8&key=3477987d9aff0b9bed8ca2e45c145ec8*/ 