/* Tiffany's Boutique – WooCommerce Product Grid Fix */

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-family: "Cormorant Garamond", serif;
    font-size: 24px !important;
    line-height: 1.15 !important;
    font-weight: 400 !important;
    color: #286B6B !important;
}


.woocommerce ul.products li.product .button {
    font-size: 15px !important;
    line-height: 1.2 !important;
    padding: 12px 18px !important;
    background: #286B6B !important;
    color: #ffffff !important;
}

.woocommerce ul.products li.product {
    margin-bottom: 35px !important;
}

/* Mobile */
@media (max-width: 767px) {
    .woocommerce ul.products li.product .woocommerce-loop-product__title {
        font-size: 19px !important;
    }

    .woocommerce ul.products li.product .price {
        font-size: 18px !important;
    }
}

.woocommerce ul.products li.product a img {
    margin-bottom: 10px !important;
}

/* Hide giant shop page title/breadcrumb area */
.woocommerce-products-header {
    display: none !important;
}

/* Hide giant HOME / Shop heading area */
.woocommerce-products-header,
.woocommerce-products-header__title,
.woocommerce-breadcrumb,
.woocommerce-page .page-header,
.woocommerce-page .entry-header {
    display: none !important;
}

/* Tighten space below product images */
.woocommerce ul.products li.product a img {
    margin-bottom: 4px !important;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Clean up sorting box on mobile */
@media (max-width: 767px) {
    .woocommerce .woocommerce-ordering {
        margin: 12px 16px 26px auto !important;
        width: 180px !important;
        float: none !important;
    }

    .woocommerce .woocommerce-ordering select {
        width: 180px !important;
        padding: 10px 12px !important;
        font-size: 15px !important;
    }
}

/* Reduce space above sorting/products on mobile */
@media (max-width: 767px) {
    .woocommerce .woocommerce-ordering {
        margin-top: -10px !important;
    }
}

/* Final mobile sorting box adjustment */
@media (max-width: 767px) {
    .woocommerce .woocommerce-ordering {
        width: 165px !important;
        margin-right: 16px !important;
    }

    .woocommerce .woocommerce-ordering select {
        width: 165px !important;
        font-size: 14px !important;
        padding: 9px 10px !important;
    }
}

/* Center sorting box on mobile */
@media (max-width: 767px) {
    .woocommerce .woocommerce-ordering {
        float: none !important;
        width: 100% !important;
        text-align: center !important;
        margin: 0 auto 18px !important;
    }

    .woocommerce .woocommerce-ordering select {
        width: 260px !important;
        max-width: 90% !important;
        margin: 0 auto !important;
    }
}

/* Flatten Hello+ mobile hamburger button */
@media (max-width: 767px) {
button.e-n-menu-toggle,
.e-n-menu-toggle,
.elementor-menu-toggle {
background: transparent !important;
background-color: transparent !important;
box-shadow: none !important;
text-shadow: none !important;
border: none !important;
outline: none !important;
}
}

/* Tiffany's Boutique — flatten header icons on all devices */
header button,
header a,
header button:hover,
header button:focus,
header button:active,
header a:hover,
header a:focus,
header a:active {
box-shadow: none !important;
filter: none !important;
text-shadow: none !important;
}

@media (max-width: 767px) {
.e-n-menu-toggle svg,
.elementor-menu-toggle svg {
overflow: visible !important;
}

.e-n-menu-toggle i,
.elementor-menu-toggle i {
line-height: 1 !important;
}
}

/* ===== TIFFANY'S BOUTIQUE CART FIX ===== */

/* Keep cart contained on screen */
.woocommerce-cart .woocommerce {
width: 100% !important;
max-width: 1200px !important;
margin: 0 auto !important;
padding: 30px 20px !important;
box-sizing: border-box !important;
}

/* Reset cart text to a sane size */
.woocommerce-cart table.shop_table,
.woocommerce-cart table.shop_table td,
.woocommerce-cart table.shop_table th,
.woocommerce-cart table.shop_table a {
font-size: 16px !important;
line-height: 1.4 !important;
}

/* Product image */
.woocommerce-cart table.cart img {
width: 80px !important;
max-width: 80px !important;
height: auto !important;
}

/* Product name */
.woocommerce-cart td.product-name,
.woocommerce-cart td.product-name a {
color: #147780 !important;
font-size: 16px !important;
}

/* Cart totals */
.woocommerce-cart .cart_totals {
width: 48% !important;
max-width: 550px !important;
}

/* Fix the gigantic checkout button */
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
display: block !important;
width: 100% !important;
max-width: 100% !important;
font-size: 18px !important;
line-height: 1.3 !important;
padding: 16px 20px !important;
box-sizing: border-box !important;
white-space: normal !important;
text-align: center !important;
}