/* Amin Cloth - phone bottom bar (Home / Search / Cart -> checkout / Account) */
.ac-mnav { display: none; }

@media (max-width: 767px) {
	:root { --ac-mnav-h: calc(60px + env(safe-area-inset-bottom, 0px)); }

	.ac-mnav {
		position: fixed; left: 0; right: 0; bottom: 0; z-index: 99980; display: grid; grid-template-columns: repeat(5, 1fr);
		height: var(--ac-mnav-h); padding-bottom: env(safe-area-inset-bottom, 0px); box-sizing: border-box;
		background: rgba(255, 255, 255, .97); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
		border-top: 1px solid #e5ded1; box-shadow: 0 -8px 26px rgba(11, 25, 44, .09);
	}
	.ac-mnav__i {
		position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-width: 0;
		margin: 0; padding: 0; border: 0; border-radius: 0; background: none !important; box-shadow: none; color: #4b5563 !important;
		font: 700 10px/1 Manrope, sans-serif; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; cursor: pointer;
		-webkit-tap-highlight-color: transparent; transform: none !important;
	}
	.ac-mnav__i:hover, .ac-mnav__i:focus { color: #0b192c !important; background: none !important; }
	.ac-mnav__ico { position: relative; display: grid; place-items: center; width: 44px; height: 30px; border-radius: 999px; transition: background .2s ease, color .2s ease; }
	.ac-mnav__ico svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
	.ac-mnav__lbl { display: block; }
	.ac-mnav__i.is-active { color: #0b192c !important; }
	.ac-mnav__i.is-active::before { content: ''; position: absolute; top: -1px; left: 50%; width: 30px; height: 3px; margin-left: -15px; border-radius: 0 0 3px 3px; background: #dfba6d; }
	/* The cart button is the checkout shortcut, so it stands out */
	.ac-mnav__cart .ac-mnav__ico { background: #0b192c; color: #dfba6d; }
	.ac-mnav__cart { color: #0b192c !important; }
	.ac-mnav__badge {
		position: absolute; top: -6px; right: -2px; min-width: 18px; height: 18px; padding: 0 5px; box-sizing: border-box; border-radius: 9px;
		background: #c0392b; color: #fff; font: 800 10.5px/18px Manrope, sans-serif; letter-spacing: 0; text-align: center; border: 2px solid #fff; box-sizing: content-box; min-width: 14px; height: 14px; line-height: 14px; padding: 0 2px;
	}
	.ac-mnav__badge[hidden] { display: none; }

	/* Search sheet */
	.ac-mnav-search { position: fixed; inset: 0; z-index: 99990; display: flex; align-items: flex-start; opacity: 0; transition: opacity .2s ease; }
	.ac-mnav-search[hidden] { display: none; }
	.ac-mnav-search.is-open { opacity: 1; }
	.ac-mnav-search__bd { position: absolute; inset: 0; background: rgba(11, 25, 44, .55); }
	.ac-mnav-search__box { position: relative; display: flex; align-items: center; gap: 8px; width: 100%; box-sizing: border-box; margin: 0; padding: 14px 14px 14px 16px; background: #fff; box-shadow: 0 14px 40px rgba(11, 25, 44, .25); }
	.ac-mnav-search__box input[type="search"] { flex: 1; min-width: 0; height: 46px; margin: 0; padding: 0 14px; border: 1px solid #e5ded1; border-radius: 10px; background: #fff; font: 500 16px/1 Manrope, sans-serif; color: #172033; box-shadow: none; outline: 0; -webkit-appearance: none; appearance: none; }
	.ac-mnav-search__box input[type="search"]:focus { border-color: #a77c28; box-shadow: 0 0 0 3px rgba(223, 186, 109, .35); }
	.ac-mnav-search__box button[type="submit"] { height: 46px; margin: 0; padding: 0 16px; border: 0; border-radius: 10px; background: #0b192c !important; color: #dfba6d !important; font: 800 11.5px/1 Manrope, sans-serif; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }
	.ac-mnav-search__x { width: 36px; height: 46px; padding: 0; border: 0; background: none !important; color: #6b7280 !important; font-size: 28px; line-height: 1; cursor: pointer; }
	body.ac-mnav-searching { overflow: hidden; }

	/* Room for the bar at the bottom of every page */
	body.ac-mnav-on { padding-bottom: var(--ac-mnav-h); }

	/* Hide while typing (keyboard), while the product-page buy bar is up, and while the side bag is open */
	body.ac-mnav-hide .ac-mnav, body.ac-sticky-on .ac-mnav, body.ac-bag-open .ac-mnav { display: none; }

	/* Sticky Checkout bar sits right above the nav */
	body.ac-mnav-on .ac-cartbar { bottom: var(--ac-mnav-h); padding-bottom: 8px; }
	body.ac-mnav-on.ac-cartbar-on { padding-bottom: calc(var(--ac-mnav-h) + 66px); }
	body.ac-mnav-on.ac-mnav-hide .ac-cartbar { bottom: 0; padding-bottom: calc(8px + env(safe-area-inset-bottom, 0px)); }

	/* Call / WhatsApp floats ride above the nav (and above the Checkout bar when it is showing) */
	body.ac-mnav-on:not(.ac-sticky-on):not(.ac-mnav-hide) .elementor-element.elementor-element-2b000051 { bottom: calc(var(--ac-mnav-h) + 14px) !important; }
	body.ac-mnav-on:not(.ac-sticky-on):not(.ac-mnav-hide) .elementor-element.elementor-element-2b000050 { bottom: calc(var(--ac-mnav-h) + 70px) !important; }
	body.ac-mnav-on.ac-cartbar-on:not(.ac-sticky-on):not(.ac-mnav-hide) .elementor-element.elementor-element-2b000051 { bottom: calc(var(--ac-mnav-h) + 80px) !important; }
	body.ac-mnav-on.ac-cartbar-on:not(.ac-sticky-on):not(.ac-mnav-hide) .elementor-element.elementor-element-2b000050 { bottom: calc(var(--ac-mnav-h) + 136px) !important; }
}
