/**
Theme Name: Astra Child
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
*/


/* ============================================================
   MOBILE UX FIXES — luckideco.com
   v1.0.1 — 2026-06-29
   ============================================================ */

/* ── 1. Fix horizontal overflow from Elementor/Swiper slider ─
   .elementor-main-swiper off-screen slides bleed 55-74px
   on Homepage and Shop page — clips them to viewport */
/* overflow-x: clip is stronger than hidden:
   also clips position:fixed children (like astra-cart-drawer)
   that overflow-x:hidden cannot clip */
html {
    overflow-x: clip;
}

.elementor-slides-wrapper,
.elementor-main-swiper,
.elementor-widget-slides .elementor-widget-container {
    overflow: hidden !important;
}

/* Clip Elementor sections */
.elementor-section,
.e-con {
    overflow-x: hidden;
}

/* Prevent astra cart drawer from widening the viewport */
.astra-cart-drawer {
    max-width: 100vw;
    overflow-x: hidden;
}

/* ── 2. Fix WooCommerce product button tap target ───────────
   "Select options" / "Add to cart" buttons were 36px tall.
   WooCommerce variable-product button selector: */
.woocommerce ul.products li.product a.button,
.woocommerce ul.products li.product .button,
.woocommerce a.button {
    min-height: 44px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box;
}

/* ── 3. Fix hamburger menu tap target (37px → 44px) ─────────*/
.ast-mobile-menu-triggers-minimal .menu-toggle,
.ast-button-wrap .menu-toggle,
#masthead .menu-toggle,
button.menu-toggle {
    min-width: 44px !important;
    min-height: 44px !important;
}

/* ── 4. Fix header icon tap targets (cart, search only) ──────
   Do NOT use #masthead .ast-icon — that also hits mobile nav
   expand arrows and breaks their layout */
.ast-site-header-cart .ast-site-header-cart-li > a,
.ast-search-icon > a,
.ast-header-woo-cart > a {
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ── 5. Fix CLS for homepage emoji SVG icons (no width/height attrs) ─
   These 150×150 SVG emoji icons on the homepage had no explicit
   dimensions, causing layout shift as they loaded */
img[src*="2728.svg"],
img[src*="1f9f8.svg"],
img[src*="2708.svg"],
img[src*="1f3d4.svg"],
img[src*="1f44b.svg"] {
    width: 150px;
    height: 150px;
    aspect-ratio: 1;
}
