/* MOBILE OPTIMIZATION — exormartbd.com */

html, body { overflow-x: hidden; max-width: 100vw; }

.ae-mobile-menu.is-open { transform: translateX(0) !important; }
.ae-mobile-overlay.is-open { opacity: 1 !important; pointer-events: auto !important; }
.ae-mobile-menu[hidden], .ae-mobile-overlay[hidden] { display: none !important; }
.ae-mobile-menu:not([hidden]) { display: flex !important; transform: translateX(0); }

@media (max-width: 1024px) {
  .ae-header__inner { padding: 0 var(--ae-sp-4); }
  .ae-logo-text__name { font-size: 1.1rem; }
}
@media (max-width: 480px) {
  .ae-header-bar { min-height: 56px; }
  .ae-logo-text__name { font-size: 1rem; }
  .ae-header__actions { gap: var(--ae-sp-2); }
  .ae-cart-btn, .ae-account-btn, .ae-search-btn { width: 36px; height: 36px; }
}

@media (max-width: 768px) {
  .ae-hero { min-height: auto; padding: 5rem 0 3rem; }
  .ae-hero__title { font-size: clamp(1.8rem, 8vw, 2.4rem); line-height: 1.2; }
  .ae-hero__subtitle { font-size: 1rem; line-height: 1.6; }
  .ae-hero__ctas { flex-direction: column; align-items: stretch; gap: var(--ae-sp-3); }
  .ae-hero__ctas .ae-btn { width: 100%; justify-content: center; padding: 0.85rem 1.5rem; }
  .ae-hero__trust { flex-wrap: wrap; justify-content: center; gap: var(--ae-sp-2); font-size: 0.8rem; }
}
@media (max-width: 480px) {
  .ae-hero { padding: 4.5rem 0 2.5rem; }
  .ae-hero__title { font-size: clamp(1.5rem, 9vw, 2rem); }
  .ae-hero__eyebrow { font-size: 0.75rem; }
}

@media (max-width: 480px) {
  .ae-stats { padding: var(--ae-sp-6) 0; }
  .ae-stats__grid { grid-template-columns: repeat(2, 1fr); gap: var(--ae-sp-4); }
  .ae-stats__value { font-size: 1.5rem; }
  .ae-stats__label { font-size: 0.75rem; }
}

@media (max-width: 768px) {
  .ae-section-title { font-size: clamp(1.4rem, 6vw, 1.8rem); }
  .ae-section-subtitle { font-size: 0.9rem; }
  .ae-section { padding: 3rem 0; }
}

@media (max-width: 768px) {
  .ae-products-grid { grid-template-columns: repeat(2, 1fr); gap: var(--ae-sp-4); }
  .ae-product-card__title { font-size: 0.9rem; }
  .ae-product-card__price { font-size: 1rem; }
  .ae-product-card .ae-btn { font-size: 0.8rem; padding: 0.5rem 0.75rem; }
}
@media (max-width: 480px) {
  .ae-products-grid { grid-template-columns: 1fr 1fr; gap: var(--ae-sp-3); }
  .ae-product-card__img-wrap { aspect-ratio: 1 / 1; }
}

@media (max-width: 480px) {
  .ae-categories__grid { grid-template-columns: repeat(2, 1fr); gap: var(--ae-sp-3); }
  .ae-cat-card { padding: var(--ae-sp-4) var(--ae-sp-3); }
}

@media (max-width: 768px) {
  .ae-product-layout { grid-template-columns: 1fr; gap: var(--ae-sp-6); }
  .ae-product-gallery-col { position: static; }
  .ae-product__title { font-size: clamp(1.4rem, 6vw, 1.8rem); }
  .ae-product__price { font-size: 1.4rem; }
  .ae-summary__actions { flex-direction: column; gap: var(--ae-sp-3); }
  .ae-summary__actions .ae-btn { width: 100%; justify-content: center; padding: 0.85rem; font-size: 1rem; }
  .ae-product-tabs__nav { flex-wrap: wrap; gap: var(--ae-sp-2); }
  .ae-product-tabs__btn { font-size: 0.85rem; padding: var(--ae-sp-2) var(--ae-sp-3); }
  .ae-sticky-buy-bar { padding: var(--ae-sp-3) var(--ae-sp-4); }
}
@media (max-width: 480px) {
  .ae-product__gallery-thumb { width: 56px; height: 56px; }
  .ae-product-meta-table td, .ae-product-meta-table th { padding: var(--ae-sp-2) var(--ae-sp-3); font-size: 0.85rem; }
  .ae-related-products .ae-products-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .ae-shop-layout { grid-template-columns: 1fr; }
  .ae-shop-sidebar { display: none; }
  .ae-shop-header { flex-direction: column; align-items: flex-start; gap: var(--ae-sp-3); }
  .ae-shop-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .ae-shop-grid { grid-template-columns: 1fr 1fr; gap: var(--ae-sp-3); }
}

@media (max-width: 768px) {
  .ae-prefooter__inner { flex-direction: column; text-align: center; gap: var(--ae-sp-4); }
  .ae-newsletter-form { width: 100%; }
  .ae-newsletter-form__group { flex-direction: column; gap: var(--ae-sp-3); }
  .ae-newsletter-form__group .ae-btn { width: 100%; }
  .ae-footer__whatsapp-cta { flex-direction: column; text-align: center; gap: var(--ae-sp-3); }
  .ae-footer__whatsapp-cta .ae-btn { width: 100%; max-width: 300px; }
}
@media (max-width: 480px) {
  .ae-footer__grid { grid-template-columns: 1fr; gap: var(--ae-sp-6); }
  .ae-footer__links { columns: 2; }
  .ae-footer__bottom-inner { flex-direction: column; gap: var(--ae-sp-3); text-align: center; }
  .ae-footer__legal { justify-content: center; flex-wrap: wrap; gap: var(--ae-sp-2); }
}

@media (max-width: 768px) {
  .ae-checkout-layout { grid-template-columns: 1fr; }
  .ae-checkout-sidebar { order: -1; }
  .ae-checkout-form .ae-form-row { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .ae-whatsapp-float { bottom: 1rem; right: 1rem; width: 52px; height: 52px; }
  .ae-whatsapp-float span { display: none; }
}

@media (max-width: 768px) {
  .ae-btn { min-height: 44px; touch-action: manipulation; }
  a, button { touch-action: manipulation; }
}

img { max-width: 100%; height: auto; }

@media (max-width: 480px) {
  .ae-container, .ae-section > .ae-container { padding-left: var(--ae-sp-4); padding-right: var(--ae-sp-4); }
}

@media (max-width: 480px) {
  .ae-feature-card { padding: var(--ae-sp-5) var(--ae-sp-4); }
  .ae-feature-card__icon { width: 48px; height: 48px; font-size: 1.25rem; }
  .ae-feature-card__title { font-size: 1rem; }
}

@media (max-width: 480px) {
  .ae-testimonial-card { padding: var(--ae-sp-5); }
  .ae-testimonial-card__quote { font-size: 0.9rem; }
}

@media (max-width: 480px) {
  .ae-cta-banner { padding: 3rem var(--ae-sp-4); text-align: center; }
  .ae-cta-banner__title { font-size: clamp(1.3rem, 7vw, 1.6rem); }
}

@media (max-width: 768px) {
  .woocommerce .products { grid-template-columns: repeat(2, 1fr) !important; }
  .woocommerce-page .site-main { padding: 0 1rem; }
  .woocommerce form .form-row { width: 100% !important; }
}
@media (max-width: 480px) {
  .woocommerce .products { grid-template-columns: 1fr 1fr !important; gap: 0.75rem !important; }
  .woocommerce ul.products li.product .price { font-size: 1rem; }
}