/* ==========================================================================
   ARSIMORA™ — Universal Responsive Perfection (Mobile, Tablet, Desktop)
   Guarantees 100% fluid responsive scaling across all screen sizes (320px - 2560px)
   WITHOUT modifying any colors, card aesthetics, or brand typography.
   ========================================================================== */

/* 1. Global Viewport & Horizontal Overflow Prevention */
html {
  overflow-x: hidden !important;
  max-width: 100vw !important;
  box-sizing: border-box !important;
  -webkit-text-size-adjust: 100% !important;
}

body {
  overflow-x: hidden !important;
  max-width: 100vw !important;
  width: 100% !important;
  position: relative !important;
  box-sizing: border-box !important;
}

*, *::before, *::after {
  box-sizing: inherit !important;
}

img, picture, svg, video, canvas {
  max-width: 100% !important;
  height: auto;
}

/* 2. Top Bar & Announcement Ticker Responsive */
@media screen and (max-width: 600px) {
  .arsimora-top-bar {
    height: 34px !important;
    line-height: 34px !important;
  }
  .arsimora-ticker-item {
    font-size: 11.5px !important;
    padding: 0 10px !important;
  }
}

/* 3. Hero Banner Slider Fluid Sizing (Mobile 320px - 640px) */
@media screen and (max-width: 640px) {
  .two-link-slider {
    padding: 0 10px !important;
    margin: 10px auto 4px !important;
  }
  .two-link-slider .two-link-slide,
  .ars-hero-banner-slide {
    border-radius: 14px !important;
  }
  .ars-hero-banner-slide img.ars-hero-img {
    border-radius: 13px !important;
  }
  .ars-hero-nav {
    display: none !important;
  }
}

/* 4. Best Seller & Trio Product Grid Stacking (Mobile) */
@media screen and (max-width: 480px) {
  #shopify-section-template--27737887375677__best_seller_hQ8qEU ul.product-grid,
  #shopify-section-template--27737887375677__home_best_seller_sec_8KWbzH ul.product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    padding: 4px 2px 10px !important;
  }

  .card__content {
    padding: 10px 8px !important;
  }

  .card__heading {
    font-size: 13px !important;
    line-height: 1.35 !important;
  }

  .price .price-item {
    font-size: 14px !important;
  }
}

@media screen and (max-width: 350px) {
  #shopify-section-template--27737887375677__best_seller_hQ8qEU ul.product-grid,
  #shopify-section-template--27737887375677__home_best_seller_sec_8KWbzH ul.product-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }
}

/* 5. Editorial Heritage Section (Mobile & Tablet) */
@media screen and (max-width: 991px) {
  .arsimora-editorial-about {
    padding: 50px 18px !important;
  }
  .arsimora-editorial-grid {
    grid-template-columns: 1fr !important;
    gap: 36px !important;
  }
  .arsimora-editorial-title {
    font-size: clamp(24px, 5vw, 32px) !important;
  }
  .arsimora-showcase-box {
    max-width: 520px !important;
    margin: 0 auto !important;
  }
}

@media screen and (max-width: 500px) {
  .arsimora-editorial-about {
    padding: 38px 14px !important;
  }
  .arsimora-pillar {
    padding: 14px 16px !important;
    gap: 14px !important;
  }
  .arsimora-pillar-num {
    width: 32px !important;
    height: 32px !important;
    font-size: 14px !important;
  }
  .arsimora-action-row {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
  }
  .arsimora-link-btn,
  .arsimora-link-secondary {
    text-align: center !important;
    justify-content: center !important;
  }
  .arsimora-stat-row {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }
}

/* 6. USP Banner Section Fluid Fitting */
@media screen and (max-width: 768px) {
  #shopify-section-template--27737887375677__home_benefits_section_MxjxfE {
    margin: 16px auto 14px !important;
    padding: 0 10px !important;
  }
  .image-section-benefit img,
  .arsimora-usp-banner-image {
    border-radius: 12px !important;
    width: 100% !important;
  }
}

/* 7. Icon Features & LEED Trust Badges (Mobile & Tablet) */
@media screen and (max-width: 768px) {
  .icon-featured-section-main {
    padding: 36px 14px !important;
    margin: 20px 0 !important;
  }
  .icon-feature-wrapper {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px 12px !important;
  }
  .icon-feature-item {
    width: 100% !important;
    margin: 0 !important;
  }
}

/* 8. Luxury Botanical Footer Responsive Perfection */
@media screen and (max-width: 991px) {
  .arsimora-footer-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 28px !important;
  }
  .arsimora-col-brand {
    grid-column: span 2 !important;
  }
  .arsimora-trust-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
  }
}

@media screen and (max-width: 580px) {
  .arsimora-footer-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
  .arsimora-col-brand {
    grid-column: span 1 !important;
  }
  .arsimora-trust-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }
  .arsimora-bottom-flex {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 16px !important;
  }
  .arsimora-payment-methods {
    justify-content: center !important;
  }
}

/* 9. Order & Inquiry Modals Responsive Fit (All Mobile Screens) */
@media screen and (max-width: 600px) {
  .ars-modal-box {
    width: 94vw !important;
    max-width: 94vw !important;
    padding: 24px 16px !important;
    margin: 12px auto !important;
    border-radius: 14px !important;
    max-height: 94vh !important;
  }
  .ars-modal-title {
    font-size: 20px !important;
  }
  .ars-modal-close {
    top: 12px !important;
    right: 12px !important;
  }
}

/* 10. Touch Target & Accessibility Standards */
@media (pointer: coarse) {
  button, 
  a.header__icon,
  .menu-drawer__menu-item,
  .ars-btn-submit-main,
  .best-seller-btn a {
    min-height: 44px;
  }
}
