/* LX Front Fixes 1.0.0 — search placeholder + Alice launcher on mobile */

/* 1) Home / finder search: on small screens put the input on its own row
      so the placeholder is not cut off by 搜索 / 问 Alice. */
@media (max-width: 560px) {
	.lxfd-search,
	.lxh-hero .lxfd-search {
		flex-wrap: wrap;
		align-items: stretch;
	}
	.lxfd-search input[type="search"],
	.lxfd-search input[name="q"],
	.lxh-hero .lxfd-search input[type="search"],
	.lxh-hero .lxfd-search input[name="q"] {
		flex: 1 1 100%;
		width: 100%;
		max-width: 100%;
		box-sizing: border-box;
		min-width: 0;
		font-size: 16px !important;
		border-radius: 12px 12px 0 0 !important;
	}
	.lxfd-search button[type="submit"],
	.lxh-hero .lxfd-search button[type="submit"] {
		flex: 1 1 auto;
		min-height: 44px;
		border-radius: 0 0 0 12px !important;
		padding: 0 16px !important;
	}
	.lxfd-search .lxfd-ask-alice,
	.lxh-hero .lxfd-search .lxfd-ask-alice,
	.lxh-hero .lxfd-ask-alice {
		flex: 1 1 auto;
		min-height: 44px;
		border-radius: 0 0 12px 0 !important;
		padding: 0 12px !important;
	}
	.lxfd-search .lxfd-sug {
		flex: 1 1 100%;
		width: 100%;
	}
}

/* 2) Mobile product pages: gutter on the description / info blocks (not the
      title or price) so Alice does not cover text. !important overrides
      .lxs.single-product div.product .summary{padding:14px} only on these
      inner blocks. Bottom space lets the last lines scroll past the sticky
      bar. Launcher stays position:fixed and clickable. */
@media (max-width: 800px) {
	body.single-product div.product .summary .woocommerce-product-details__short-description,
	body.lxs.single-product div.product .summary .woocommerce-product-details__short-description,
	body.single-product div.product .summary .lxs-info,
	body.lxs.single-product div.product .summary .lxs-info,
	body.single-product div.product .summary .lxfd-book,
	body.lxs.single-product div.product .summary .lxfd-book,
	body.single-product div.product .summary form.cart,
	body.lxs.single-product div.product .summary form.cart,
	body.single-product div.product .summary .product_meta,
	body.lxs.single-product div.product .summary .product_meta {
		padding-right: 72px !important;
	}
	body.single-product .woocommerce-tabs,
	body.lxs.single-product .woocommerce-tabs,
	body.single-product #tab-description,
	body.lxs.single-product #tab-description {
		padding-bottom: 96px;
	}
}
