/* IT Elements | Premium whole-site phone experience
   Strictly mobile-only. Desktop/laptop presentation is intentionally untouched. */
@media (max-width: 760px) {
  :root { --ite-mobile-red:#e00000; --ite-mobile-ink:#17191f; --ite-mobile-muted:#667085; --ite-mobile-line:#e7e9ee; --ite-mobile-bg:#f5f6f8; }
  html { width:100%; max-width:100%; overflow-x:clip; scroll-padding-top:84px; -webkit-text-size-adjust:100%; }
  body { width:100%; max-width:100%; min-width:320px; overflow-x:clip; }
  body:not(.store-page) { padding-left:0!important; padding-right:0!important; background:var(--ite-mobile-bg)!important; }
  img,video,iframe,svg,canvas { max-width:100%; }
  input,select,textarea,button { max-width:100%; font:inherit; }
  input,select,textarea { font-size:16px!important; }
  a,button { -webkit-tap-highlight-color:transparent; touch-action:manipulation; }
  h1,h2,h3,h4,p,li,label,td,th { overflow-wrap:anywhere; }
  main,.page-main,.page,.container,.wrap,.content,.workspace-container { width:auto; max-width:100%; min-width:0; }
  main { margin-left:14px!important; margin-right:14px!important; padding-top:18px!important; }
  .container { width:auto!important; margin-left:14px!important; margin-right:14px!important; }
  section { min-width:0; }

  /* Shared public-site navigation: compact brand row + usable expandable links. */
  .nav,.navbar,.header,.header-bar,.top-navbar {
    position:sticky!important; top:0!important; z-index:1800!important;
    display:flex!important; flex-direction:row!important; align-items:center!important;
    justify-content:space-between!important; flex-wrap:wrap!important; gap:9px!important;
    width:100%!important; min-height:62px!important; margin:0!important;
    padding:9px 14px!important; border:0!important; border-bottom:1px solid var(--ite-mobile-line)!important;
    border-radius:0!important; background:rgba(255,255,255,.97)!important;
    box-shadow:0 4px 18px rgba(16,24,40,.055)!important; backdrop-filter:blur(16px);
  }
  .brand,.nav-brand { display:flex!important; align-items:center!important; gap:8px!important; min-width:0!important; max-width:calc(100% - 54px); font-size:17px!important; line-height:1.15!important; white-space:normal!important; }
  .brand img,.nav-brand img { width:37px!important; height:37px!important; object-fit:contain!important; flex:0 0 auto!important; }
  .brand-support { font-size:11px!important; }
  .menu-toggle { display:grid!important; place-items:center!important; flex:0 0 42px!important; width:42px!important; height:42px!important; padding:0!important; border:1px solid var(--ite-mobile-line)!important; border-radius:12px!important; background:#fff!important; color:var(--ite-mobile-ink)!important; font-size:21px!important; }
  .nav .links,.nav-links,.links {
    order:5!important; display:none!important; position:static!important; flex:1 0 100%!important;
    width:100%!important; max-height:min(65vh,520px)!important; overflow:auto!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important; gap:7px!important;
    padding:10px 0 3px!important; margin:0!important; border:0!important; border-top:1px solid #f0f1f3!important;
    background:transparent!important; box-shadow:none!important;
  }
  .links.open,.nav-links.open { display:grid!important; }
  .links a,.nav-links a { display:flex!important; align-items:center!important; justify-content:center!important; min-width:0!important; min-height:43px!important; margin:0!important; padding:9px 8px!important; border:1px solid var(--ite-mobile-line)!important; border-radius:11px!important; background:#f8f9fb!important; color:#303641!important; font-size:12px!important; font-weight:750!important; line-height:1.25!important; text-align:center!important; white-space:normal!important; }
  .links a.nav-cta,.nav-links a.nav-cta,.links a:last-child { background:var(--ite-mobile-red)!important; color:#fff!important; border-color:var(--ite-mobile-red)!important; }

  /* Premium page rhythm, headings, hero panels and card surfaces. */
  .hero,.hero-panel,.main-card,.panel,.form-card,.help-panel,.business-panel,.information-panel,.hours-panel,.quote-panel,.cta,.final-cta {
    min-width:0!important; margin:14px 0 18px!important; padding:23px 18px!important;
    border:1px solid var(--ite-mobile-line)!important; border-radius:18px!important;
    background:linear-gradient(145deg,#fff 0%,#fff 72%,#fff7f7 100%)!important;
    box-shadow:0 8px 26px rgba(16,24,40,.045)!important;
  }
  .hero h1,.hero-panel h1 { max-width:100%!important; margin:7px 0 12px!important; font-size:clamp(29px,8.4vw,39px)!important; line-height:1.08!important; letter-spacing:-1.1px!important; }
  .hero h2,.section-heading h2,.section-title,.heading h2 { font-size:clamp(21px,6vw,27px)!important; line-height:1.2!important; letter-spacing:-.45px!important; }
  .hero p,.hero-copy,.hero-description,.subtitle,.intro { font-size:14px!important; line-height:1.65!important; }
  .eyebrow { font-size:10px!important; letter-spacing:1.6px!important; }
  .hero-actions,.actions,.quick-links,.hero-tags { display:flex!important; flex-wrap:wrap!important; gap:9px!important; }
  .hero-actions .btn,.actions .btn,.hero-button,.btn { min-height:45px!important; display:inline-flex; align-items:center; justify-content:center; }
  .hero-actions .btn,.actions .btn { flex:1 1 145px; }
  .content-section,.section,.services-section,.faq-section,.tools-section { margin-top:26px!important; margin-bottom:28px!important; }
  .section-heading,.section-title { margin-bottom:14px!important; }
  .feature-grid,.services-grid,.service-grid,.plans-grid,.pricing-grid,.plans-wrapper,.grid,.contact-grid,.review-grid,.faq-grid,.stats,.stats-grid,.quick-stats,.feedback-section,.how-it-works,.steps,.tool-grid,.footer-grid,.trust-items,.quote-points,.business-content,.content-grid {
    display:grid!important; grid-template-columns:repeat(2,minmax(0,1fr))!important; gap:11px!important; width:100%!important; min-width:0!important;
  }
  .feature-card,.service-card,.plan-card,.pricing-card,.plan-box,.card,.info-card,.faq-item,.review-item,.step-card,.tool-card,.stat,.stat-card,.contact-card,.quick-link,.quote-points>* {
    min-width:0!important; max-width:100%!important; padding:15px!important; border:1px solid var(--ite-mobile-line)!important;
    border-radius:15px!important; background:#fff!important; box-shadow:0 5px 17px rgba(16,24,40,.045)!important;
  }
  .feature-card h3,.service-card h3,.plan-card h3,.tool-card h3 { font-size:15px!important; line-height:1.35!important; }
  .feature-card p,.service-card p,.plan-card p,.tool-card p,.faq-item p { font-size:12px!important; line-height:1.55!important; }
  .price,.plan-price,.amount { font-size:clamp(20px,6vw,27px)!important; }
  .price-card,.plan-card.featured,.plan-box.popular { border-color:#f0b7b7!important; box-shadow:0 8px 22px rgba(224,0,0,.08)!important; }
  .section-heading,.heading { display:flex; flex-wrap:wrap; align-items:flex-end; justify-content:space-between; gap:8px; }

  /* Forms: full-width, readable, comfortable fields and actions. */
  .form-grid,.field-grid,.tool-fields,.field-grid,.checkout-address-grid,.login-layout,.formlayout,.two,.form-row,.quote-form,.visit-confirm-form {
    display:grid!important; grid-template-columns:minmax(0,1fr)!important; gap:11px!important; min-width:0!important;
  }
  .field,.form-group,.field-group,.form-field,.form-control-wrap { min-width:0!important; width:100%!important; }
  .field.full,.form-group.full,.wide { grid-column:1/-1!important; }
  label,.field label,.form-group label { display:block!important; margin-bottom:5px!important; font-size:12px!important; font-weight:750!important; color:#475467!important; }
  input,select,textarea,.form-control,.form-input { width:100%!important; min-width:0!important; min-height:46px!important; padding:11px 12px!important; border:1px solid #d9dee7!important; border-radius:11px!important; background:#fff!important; color:#20242c!important; }
  textarea { min-height:105px!important; resize:vertical; }
  button,.btn,.submit,.submit-btn,.pay-btn,.pay-trigger-btn,.subscribe-btn,.logout-btn { min-height:44px!important; border-radius:11px!important; font-weight:800!important; }
  .submit,.submit-btn,.pay-btn,.pay-trigger-btn,.subscribe-btn,.btn:not(.secondary) { box-shadow:0 5px 13px rgba(224,0,0,.13)!important; }
  .table-scroll,.table-wrap,.table-responsive { max-width:100%!important; overflow-x:auto!important; -webkit-overflow-scrolling:touch; }

  /* Home page: turn dense content into a clear mobile journey. */
  .hero-layout,.hero-main,.hero-content,.quote-section,.support-layout,.login-layout,.about-layout { display:grid!important; grid-template-columns:minmax(0,1fr)!important; gap:14px!important; }
  .hero-visual,.dashboard-preview { width:100%!important; max-width:100%!important; }
  .trust-strip { padding:12px!important; border-radius:14px!important; }
  .dark-section { padding:24px 14px!important; border-radius:16px!important; }
  .quote-section { margin:20px 0!important; }
  .footer,.foot { display:grid!important; grid-template-columns:repeat(2,minmax(0,1fr))!important; gap:15px!important; padding:24px 16px!important; }
  .copyright { padding:13px!important; text-align:center!important; font-size:11px!important; }

  /* Account, portal and admin pages: prioritize usable controls over tiny desktop panels. */
  .login-box,.register-container,.dashboard-card,.ticket-card,.subscription-summary,.status-card,.incident-box,.overview-panel,.notification-center,.form-panel {
    width:100%!important; max-width:100%!important; min-width:0!important; padding:16px!important; border-radius:15px!important;
  }
  .page { padding:14px!important; }
  .header { align-items:flex-start!important; }
  .header-actions,.top-actions,.topright,.intro-tools { display:flex!important; flex-wrap:wrap!important; gap:7px!important; width:100%!important; }
  .quick-actions { display:grid!important; grid-template-columns:repeat(2,minmax(0,1fr))!important; gap:8px!important; }
  .sidebar,.side-nav,.ite-store-sidebar { position:relative!important; inset:auto!important; width:100%!important; height:auto!important; max-height:none!important; overflow:visible!important; padding:10px!important; border:0!important; border-bottom:1px solid var(--ite-mobile-line)!important; }
  .side-nav,.sidebar nav,.ite-store-sidebar .nav { display:flex!important; flex-direction:row!important; flex-wrap:nowrap!important; gap:5px!important; overflow-x:auto!important; -webkit-overflow-scrolling:touch; }
  .side-nav a,.sidebar a,.ite-store-sidebar .nav a { flex:0 0 auto!important; white-space:nowrap!important; min-height:40px!important; padding:9px 11px!important; }
  .sidebar-foot,.sidefoot { display:none!important; }
  .main-shell,.app { display:block!important; width:100%!important; min-width:0!important; }
  .main-shell>main,.app>.content { min-width:0!important; padding:15px 12px 28px!important; }
  .topbar { min-height:54px!important; height:auto!important; padding:9px 12px!important; flex-wrap:wrap!important; }
  .stats,.stats-grid { grid-template-columns:repeat(2,minmax(0,1fr))!important; }
  .table-scroll table,.table-wrap table { min-width:650px; }
  .notification-center { max-width:calc(100vw - 24px)!important; }

  /* WhatsApp and floating helpers must not cover the key mobile controls. */
  .whatsapp-floating-bubble,.whatsapp { right:12px!important; bottom:calc(82px + env(safe-area-inset-bottom))!important; z-index:1700!important; max-width:calc(100vw - 24px)!important; }
  .whatsapp-floating-bubble { width:50px!important; height:50px!important; }
  :focus-visible { outline:3px solid rgba(224,0,0,.35)!important; outline-offset:2px!important; }
}

/* Store catalogue refinement: compact premium product cards and tidy filters. */
@media (max-width:760px) {
  body.store-page { padding:0 0 calc(82px + env(safe-area-inset-bottom))!important; background:#f4f5f7!important; }
  body.store-page .hero { margin:12px 12px 10px!important; padding:22px 17px!important; border-radius:18px!important; }
  body.store-page .wrap { padding:17px 12px 24px!important; }
  body.store-page .shop-filters { position:relative!important; top:auto!important; margin:0 0 16px!important; padding:12px!important; border-radius:15px!important; }
  body.store-page .search-row { display:grid!important; grid-template-columns:minmax(0,1fr) auto!important; gap:7px!important; }
  body.store-page .searchbox { min-width:0!important; }
  body.store-page .filter-row { display:grid!important; grid-template-columns:repeat(2,minmax(0,1fr))!important; gap:8px!important; }
  body.store-page .filter-field { min-width:0!important; font-size:11px!important; }
  body.store-page .filter-field select,body.store-page #departmentPicker { min-height:43px!important; font-size:13px!important; }
  body.store-page .catalogue-toolbar { display:flex!important; flex-wrap:wrap!important; align-items:flex-end!important; gap:8px!important; margin:18px 0 12px!important; }
  body.store-page .catalogue-heading { min-width:0!important; }
  body.store-page .catalogue-heading strong { font-size:18px!important; }
  body.store-page .collection-tabs { display:flex!important; gap:8px!important; max-width:100%!important; overflow-x:auto!important; padding:3px 0 9px!important; scrollbar-width:none; }
  body.store-page .collection-tab { flex:0 0 auto!important; min-height:39px!important; padding:8px 13px!important; border-radius:999px!important; font-size:12px!important; }
  body.store-page .products { display:grid!important; grid-template-columns:repeat(2,minmax(0,1fr))!important; align-items:stretch!important; gap:10px!important; }
  body.store-page .card { min-width:0!important; border:1px solid #e5e8ed!important; border-radius:15px!important; box-shadow:0 5px 16px rgba(16,24,40,.055)!important; }
  body.store-page .photo { height:clamp(132px,39vw,172px)!important; min-height:0!important; max-height:172px!important; margin:7px 7px 0!important; padding:7px!important; border-radius:11px!important; background:#f8f9fb!important; }
  body.store-page .photo img { width:100%!important; height:100%!important; object-fit:contain!important; mix-blend-mode:multiply; }
  body.store-page .cardbody { display:flex!important; flex:1 1 auto!important; flex-direction:column!important; gap:3px!important; padding:10px!important; }
  body.store-page .category { font-size:9px!important; letter-spacing:.7px!important; line-height:1.3!important; }
  body.store-page .card h3 { display:-webkit-box!important; -webkit-box-orient:vertical!important; -webkit-line-clamp:3!important; overflow:hidden!important; min-height:0!important; max-height:4.1em!important; margin:5px 0 7px!important; font-size:12px!important; line-height:1.38!important; }
  body.store-page .desc { display:none!important; }
  body.store-page .price { margin-top:auto!important; font-size:17px!important; line-height:1.25!important; }
  body.store-page .stock { margin:5px 0 8px!important; font-size:10px!important; }
  body.store-page .card-actions { display:grid!important; grid-template-columns:minmax(0,1fr)!important; gap:6px!important; margin-top:auto!important; padding-top:8px!important; }
  body.store-page .card-actions button { width:100%!important; min-width:0!important; min-height:39px!important; padding:7px 5px!important; border-radius:9px!important; font-size:11px!important; }
  body.store-page .card-actions .add { order:0!important; }
  body.store-page .card-actions .secondary { order:1!important; }
  body.store-page .product-modal-panel,body.store-page .checkout-panel { max-width:100vw!important; }
  body.store-page .ite-mobile-bottom-nav { padding-bottom:calc(8px + env(safe-area-inset-bottom))!important; }
  body.store-page .whatsapp { bottom:calc(86px + env(safe-area-inset-bottom))!important; }
}
@media (max-width:390px) {
  body.store-page .products { gap:8px!important; }
  body.store-page .photo { height:125px!important; }
  body.store-page .cardbody { padding:8px!important; }
  body.store-page .card h3 { font-size:11px!important; }
  body.store-page .price { font-size:15px!important; }
  body:not(.store-page) .feature-grid,body:not(.store-page) .services-grid,body:not(.store-page) .service-grid,body:not(.store-page) .plans-grid,body:not(.store-page) .pricing-grid,body:not(.store-page) .plans-wrapper,body:not(.store-page) .grid,body:not(.store-page) .contact-grid,body:not(.store-page) .review-grid,body:not(.store-page) .faq-grid,body:not(.store-page) .tool-grid { grid-template-columns:minmax(0,1fr)!important; }
}
@media (prefers-reduced-motion:reduce) { *,*::before,*::after { scroll-behavior:auto!important; animation-duration:.01ms!important; transition-duration:.01ms!important; } }
