/*
Theme Name: Milano Child
Template: milano
Description: Child theme for Milano. Add your customizations here so they survive theme updates.
Version: 1.0.0
Text Domain: milano-child
*/
/* =========================================================
   HERO & PAGE HEADER
   ========================================================= */

#titill h1 span {
    display: inline-block;
    margin-bottom: 10px;
    font-size: clamp(46px, 5.7vw, 90px);
    line-height: 0.95;
}

button.disclosure__item {
    text-transform: none !important;
}

.page-header__overlay {
    opacity: 0.7 !important;
}

/* =========================================================
   FOOTER
   ========================================================= */

.footer-widgets--4-cols .footer-widgets-col-4 .widget_nav_menu {
    display: none;
}

.footer-widgets--5-cols .footer-widgets-col-4 .widget_block {
    display: none;
}

.footer-widgets-col-4 .widget_block {
    border-bottom: none;
    padding: 0;
    margin: 0;
}

.page-id-857 .footer-widgets-col-4 .widget_block form {
    display: none;
}

.page-id-857 .footer-widgets-col-4 .widget_block form.hidden {
    display: block;
}

.wp-image-130 {
    height: 32px;
    width: auto;
}

.footer-widgets-area .widget:not(:last-child)
 {
    border-bottom: none!important;
}
.footer-widgets-area h5
 {
    margin-block: .2em!important;
}

@media (min-width: 768px) {

    .footer-widgets-area .widget {
        padding-bottom: 5px;
    }

    .widget ul.wp-block-milano-addons-store-info {
        margin-top: 15px;
    }
}


/* =========================================================
   GLOBAL UI
   ========================================================= */

.button,
.button-outline,
.button-primary,
.button-white {
    text-transform: uppercase !important;
    letter-spacing: 0.2px;
}

.tooltip,
.tooltip * {
    text-transform: none !important;
}

@media (min-width: 768px) {
    .shop-filter-top {
        margin-bottom: 30px !important;
    }
}


/* =========================================================
   PRODUCT BUNDLES
   Quantity + Add to cart
   ========================================================= */

.single-product form.bundle_form .bundle_button {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 10px;
}

.single-product form.bundle_form .bundle_button .quantity {
    flex: 0 0 auto;
    margin: 0;
}

.single-product form.bundle_form .bundle_button .single_add_to_cart_button {
    flex: 1 1 auto;
    width: auto;
    margin: 0;
}

@media (min-width: 1024px) {

    .single-product form.bundle_form .bundle_button .wcboost-wishlist-button {
        flex: 0 0 auto;
        margin: 0;
    }
}


/* =========================================================
   GIFT CARD - CART
   ========================================================= */

#pwgc-redeem-gift-card-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

#pwgc-redeem-gift-card-container label,
#pwgc-redeem-error {
    flex: 0 0 100%;
}

#pwgc-redeem-gift-card-container br {
    display: none;
}

#pwgc-redeem-gift-card-number {
    flex: 1 1 0;
    width: auto !important;
    min-width: 0;
    margin: 0;
}

#pwgc-redeem-button {
    flex: 0 0 auto;
    width: auto !important;
    margin: 0;
    padding-left: 35px;
    padding-right: 35px;
    white-space: nowrap;
}


/* =========================================================
   GIFT CARD - CHECKOUT
   ========================================================= */

.woocommerce-checkout #pwgc-redeem-form {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.woocommerce-checkout #pwgc-redeem-form label,
.woocommerce-checkout #pwgc-redeem-error {
    flex: 0 0 100%;
}

.woocommerce-checkout #pwgc-redeem-gift-card-number {
    flex: 1 1 0;
    min-width: 0;
}

.woocommerce-checkout #pwgc-redeem-button {
    flex: 0 0 auto;
    margin: 0 !important;
}


/* =========================================================
   PPOM PRODUCTS
   Exclude Product Bundles
   ========================================================= */

.single-product
div.product:not(.product-type-bundle)
form.cart.ppom-flex-controller {

    display: grid !important;
    grid-template-columns: 130px minmax(0, 1fr) 44px !important;
    grid-template-areas:
        "ppom ppom ppom"
        "qty cart wish";

    align-items: center;
    column-gap: 10px;
    row-gap: 10px;
}

.single-product
div.product:not(.product-type-bundle)
form.cart.ppom-flex-controller > .ppom-wrapper {

    grid-area: ppom !important;
    width: 100%;
    min-width: 0;
}

.single-product
div.product:not(.product-type-bundle)
form.cart.ppom-flex-controller > .quantity {

    grid-area: qty !important;
    width: 130px !important;
    margin: 0 !important;
}

.single-product
div.product:not(.product-type-bundle)
form.cart.ppom-flex-controller > .single_add_to_cart_button {

    grid-area: cart !important;
    width: 100% !important;
    min-width: 0;
    margin: 0 !important;
}

.single-product
div.product:not(.product-type-bundle)
form.cart.ppom-flex-controller > .wcboost-wishlist-button {

    grid-area: wish !important;
    margin: 0 !important;
}

@media (max-width: 1023px) {

    .single-product
    div.product:not(.product-type-bundle)
    form.cart.ppom-flex-controller {

        grid-template-columns: 130px minmax(0, 1fr) !important;
        grid-template-areas:
            "ppom ppom"
            "qty cart";
    }

    .single-product
    div.product:not(.product-type-bundle)
    form.cart.ppom-flex-controller > .wcboost-wishlist-button {

        display: none !important;
    }
}


/* =========================================================
   MOBILE PRODUCT GRID
   ========================================================= */

@media (max-width: 767px) {

    .woocommerce ul.products li.product .woocommerce-loop-product__title {
        font-size: 14px;
        line-height: 1.3;
        min-height: 36px;

        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .woocommerce ul.products li.product .price {
        display: block;
        min-height: 38px;
        font-size: 14px;
        line-height: 1.3;
        margin-top: 4px;
    }

    .woocommerce ul.products li.product .price ins {
        display: inline-block;
        text-decoration: none;
        margin-right: 4px;
    }

    .woocommerce ul.products li.product .price del {
        display: block;
        font-size: 12px;
        line-height: 1.2;
        margin-top: 2px;
        opacity: 0.6;
    }

    .woocommerce ul.products li.product .woocommerce-price-suffix {
        display: none;
    }
}


/* =========================================================
   MOBILE CHECKOUT - ORDER PRODUCTS
   ========================================================= */

@media (max-width: 767px) {

    table.woocommerce-checkout-review-order-table {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        table-layout: auto !important;
    }

    table.woocommerce-checkout-review-order-table tbody {
        display: block !important;
        width: 100% !important;
    }

    table.woocommerce-checkout-review-order-table thead {
        display: none !important;
    }

    table.woocommerce-checkout-review-order-table tbody tr.cart_item {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto !important;
        gap: 12px;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
        align-items: start;
    }

    table.woocommerce-checkout-review-order-table tbody td.product-name {
        display: block !important;
        width: auto !important;
        min-width: 0 !important;
        max-width: none !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    table.woocommerce-checkout-review-order-table tbody td.product-total {
        display: block !important;
        width: auto !important;
        min-width: 70px;
        text-align: right;
        white-space: nowrap;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .woocommerce-checkout-review-order-table
    .review-order-product__thumbnail {
        display: none !important;
    }

    .woocommerce-checkout-review-order-table
    .review-order-product__name,
    .woocommerce-checkout-review-order-table
    .cart-item-name {

        display: block !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 !important;
        white-space: normal !important;
        word-break: normal !important;
        overflow-wrap: break-word;
    }

    .woocommerce-checkout-review-order-table
    tr.bundled_table_item td.product-name {
        padding-left: 0 !important;
    }

    /* Quantity is redundant for bundle parent/children */
    .woocommerce-checkout-review-order-table
    tr.bundle_table_item .product-quantity,

    .woocommerce-checkout-review-order-table
    tr.bundled_table_item .product-quantity {
        display: none !important;
    }


    /* Gift card - vertical on mobile */

    .woocommerce-checkout #pwgc-redeem-form {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .woocommerce-checkout #pwgc-redeem-form label,
    .woocommerce-checkout #pwgc-redeem-gift-card-number,
    .woocommerce-checkout #pwgc-redeem-button {

        width: 100% !important;
        flex: 0 0 100%;
        margin: 0 !important;
    }

    .woocommerce-checkout #pwgc-redeem-button {
        text-align: center;
    }
}
/* Checkout shipping - full width */
.woocommerce-checkout-review-order-table
tr.shipping-fullwidth > td {
    width: 100% !important;
    max-width: none !important;
    text-align: left !important;
}

.woocommerce-checkout-review-order-table
tr.shipping-fullwidth .shipping-heading {
    font-weight: 600;
    margin-bottom: 12px;
}

.woocommerce-checkout-review-order-table
tr.shipping-fullwidth #shipping_method {
    width: 100%;
    margin: 0;
}
.woocommerce-checkout-review-order-table
.order-total-fullwidth .order-total-inner {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 20px;
	width: 100%;
}

.woocommerce-checkout-review-order-table
.order-total-fullwidth .order-total-value {
	text-align: right;
}

.woocommerce-checkout-review-order-table
.order-total-fullwidth .includes_tax {
	display: block;
	margin-top: 3px;
	font-size: 15px;
	font-weight: normal;
}
#shipping_method input[type="radio"]:not(:checked) {
    border-color: #777 !important;
    opacity: 1 !important;
}
/* Booster Checkout Files Upload */
.macron-checkout-upload {
    width: 100%;
	background: #f5f5f5;
    padding: 24px;
    margin-bottom: 30px;
    border-radius: 8px;
}

.macron-checkout-upload-label {
    padding: 15px 0;
}

.macron-checkout-upload-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.macron-checkout-upload-field,
.macron-checkout-upload-button {
    flex: 1 1 50%;
    min-width: 0;
}

.macron-checkout-upload-button input,
.macron-checkout-upload-button button {
    width: 100%;
}

/* Mobile */
@media (max-width: 767px) {

    .macron-checkout-upload {
        padding: 18px;
        margin-bottom: 24px;
    }
	
	.macron-checkout-upload-row {
        flex-direction: column;
        align-items: stretch;
    }

    .macron-checkout-upload-field,
    .macron-checkout-upload-button {
        flex: 0 0 auto;
        width: 100%;
    }

    .macron-checkout-upload-field input[type="file"] {
        width: 100%;
        max-width: 100%;
    }
}

/* =========================================
   QUICK VIEW
   ========================================= */

/* Product title */
uix-modal .entry-summary .product_title {
    font-size: 28px !important;
    line-height: 1.15 !important;
}
.bundled_product_title_inner {
	  font-size: 22px !important;
		line-height: 1.15 !important;
}
/* Bundle quantity + add to cart on same row */
uix-modal form.bundle_form .bundle_button {
    display: grid !important;
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
}

uix-modal form.bundle_form .bundle_button .quantity {
    width: 110px !important;
    margin: 0 !important;
}

uix-modal form.bundle_form .bundle_button .single_add_to_cart_button {
    width: 100% !important;
    margin: 0 !important;
}