/* LovyStore website tweaks (1.7.1). Each group only applies when its switch is on
 * (LovyStore App > Website), through the lovy-t-* body classes. Colours match the theme. */

/* ---- Short product titles ---- */
.lovy-t-title .product_title .lovy-title-sub { display: block; margin-top: 8px; font-size: 15px; line-height: 1.4; font-weight: 400; letter-spacing: 0; color: #6d6d6d; }
.lovy-t-title.single-product #Subheader .title { display: none; }
.lovy-t-title.single-product #Subheader { padding-top: 12px; padding-bottom: 12px; }
.lovy-t-title ul.products li.product .mfn-li-product-row-title .title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ---- Size help ---- */
.lovy-t-sizes .lovy-size-guide { margin: 0 0 10px; font-size: 14px; }
.lovy-t-sizes .lovy-size-guide a { display: inline-flex; align-items: center; gap: 6px; color: #161922; text-decoration: underline; text-underline-offset: 3px; }
.lovy-t-sizes .woocommerce-variation-add-to-cart { flex-wrap: wrap; }
.lovy-t-sizes .lovy-pick-size { flex-basis: 100%; width: 100%; margin: 8px 0 0; font-size: 13px; color: #7f6064; }
.lovy-t-sizes .lovy-pick-size[hidden] { display: none; }
.lovy-t-sizes .cfvsw-swatches-option.cfvsw-swatches-disabled .cfvsw-swatch-inner,
.lovy-t-sizes .cfvsw-swatches-option.cfvsw-swatches-out-of-stock .cfvsw-swatch-inner { text-decoration: line-through; opacity: .55; }

/* ---- Free-shipping progress ---- */
.lovy-ship-bar { margin: 0 0 16px; padding: 12px 14px; background: #f9eef0; border-radius: 6px; font-size: 14px; color: #161922; }
.lovy-ship-bar p { margin: 0 0 8px; }
.lovy-ship-track { display: block; height: 6px; background: #fff; border-radius: 3px; overflow: hidden; }
.lovy-ship-track span { display: block; height: 100%; background: #cda3a6; border-radius: 3px; }

/* ---- Top bar: free-shipping text readable on the pink bar ---- */
.lovy-t-mobile #Action_bar .contact_details { color: #7f6064; }

/* ---- Phones ---- */
@media only screen and (max-width: 767px) {
	/* Two photos fill the width: 14px side margins in shop grids instead of 50px. */
	body.lovy-t-mobile .mfn-shop-archive-tmpl-builder .section .section_wrapper { padding-left: 14px !important; padding-right: 14px !important; }
	/* Lighter "Select options" button under each grid photo. */
	body.lovy-t-mobile ul.products li.product .button.add_to_cart_button { background: transparent !important; color: #161922 !important; border: 1px solid #161922; padding: 9px 6px; font-size: 13px; line-height: 1.2; min-height: 0; }
	/* Cart total beside the icon crowds the logo; the count badge stays. */
	.lovy-t-mobile #Top_bar .header-cart-total { display: none !important; }
	/* Checkout and cart: get to the form sooner. */
	.lovy-t-mobile.woocommerce-checkout #Subheader,
	.lovy-t-mobile.woocommerce-cart #Subheader { padding-top: 10px; padding-bottom: 10px; }
	.lovy-t-mobile.woocommerce-checkout #Subheader .title,
	.lovy-t-mobile.woocommerce-cart #Subheader .title { font-size: 26px; line-height: 1.2; margin-bottom: 0; }
	.lovy-t-mobile .mfn-checkout-steps { transform: scale( .7 ); transform-origin: top center; margin-top: 0; margin-bottom: -20px; }
	/* Product pages: the banner's breadcrumb is already hidden on phones, so the empty banner goes too. */
	.lovy-t-title.single-product #Subheader { display: none; }
	/* Product titles in grids a touch smaller so names fit on two lines. */
	.lovy-t-title ul.products li.product .mfn-li-product-row-title .title { font-size: 15px; line-height: 1.35; }
	.lovy-t-title .product_title { font-size: 30px; line-height: 1.15; }
}
