*{box-sizing:border-box}body{margin:0;font-family:Arial,sans-serif;background:#f6f7f9;color:#111827}.top{background:#111827;color:#fff;padding:9px 20px;text-align:center;font-size:14px}nav{height:70px;background:#fff;border-bottom:1px solid #e5e7eb;display:flex;align-items:center;justify-content:space-between;padding:0 5%;gap:20px}.brand{font-size:24px;font-weight:900;text-decoration:none;color:#111827}.brand span{font-weight:500}.nav-btn{padding:10px 14px;border:1px solid #ddd;border-radius:9px;text-decoration:none;color:#111827}.page{max-width:1150px;margin:auto;padding:40px 20px 70px}.eyebrow{font-size:12px;font-weight:800;letter-spacing:1.4px;color:#6b7280}.grid{display:grid;grid-template-columns:1.15fr .85fr;gap:22px}.card{background:#fff;border:1px solid #e5e7eb;border-radius:18px;padding:24px;box-shadow:0 8px 25px rgba(0,0,0,.05)}label{display:block;font-weight:700;margin:16px 0}input,select,textarea{display:block;width:100%;margin-top:7px;padding:12px;border:1px solid #d1d5db;border-radius:9px;font:inherit}button,.primary{border:0;border-radius:9px;padding:12px 16px;font-weight:800;cursor:pointer}.primary{background:#111827;color:#fff;text-decoration:none;display:inline-block}.full{width:100%}.note,small{color:#6b7280;font-size:13px}.cart-item{display:grid;grid-template-columns:55px 1fr auto;gap:14px;align-items:center;padding:15px 0;border-bottom:1px solid #eee}.icon{width:55px;height:55px;border-radius:12px;background:#f1f5f9;display:grid;place-items:center;font-size:27px}.qty{display:flex;align-items:center;gap:8px}.qty button,.remove{background:#fff;border:1px solid #ddd;padding:7px 10px}.total{display:flex;justify-content:space-between;font-size:20px;font-weight:800;border-top:1px solid #eee;margin-top:16px;padding-top:16px}.empty{text-align:center;padding:45px}.success{min-height:100vh;display:grid;place-items:center;padding:20px}.center{text-align:center;width:min(550px,100%)}.check{margin:auto auto 18px;width:70px;height:70px;border-radius:50%;background:#ecfdf5;display:grid;place-items:center;font-size:40px}
@media(max-width:760px){.grid{grid-template-columns:1fr}.cart-item{grid-template-columns:55px 1fr}.cart-item>.remove{grid-column:2;justify-self:start}}

/* EASYLO branding */
.brand-logo{display:flex;align-items:center;gap:7px;white-space:nowrap}
.brand-logo img{width:28px;height:34px;object-fit:contain;display:block}
.brand-logo span{font-weight:800}

/* EASYLO Phase 6 — Delivery & Payment */
.section-title{margin-top:28px;padding-top:22px;border-top:1px solid #eee}
.choice-group{display:grid;gap:10px}
.choice{display:flex;align-items:flex-start;gap:12px;margin:0;padding:14px;border:1px solid #e5e7eb;border-radius:12px;cursor:pointer}
.choice input{width:auto;margin:3px 0 0}
.choice span{display:flex;flex-direction:column;gap:4px}
.choice small{font-weight:400}
.choice.disabled{opacity:.55;cursor:not-allowed}
.summary-row{display:flex;justify-content:space-between;gap:15px;padding:9px 0}
.small-total{font-size:15px;margin-top:8px;padding-top:8px}

/* EASYLO Phase 8 — Order Tracking */
.track-card{max-width:760px;margin:0 auto}
.track-result{margin-top:26px;padding-top:22px;border-top:1px solid #e5e7eb}
.timeline{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;margin:28px 0}
.stage{display:flex;flex-direction:column;align-items:center;gap:7px;text-align:center;font-size:12px;color:#9ca3af}
.stage span{font-size:20px}
.stage.active{color:#111827}
.stage.active span{font-weight:800}
.cancelled,.error{margin-top:18px;padding:12px;border-radius:10px}
.cancelled{border:1px solid #f1caca}
.error{border:1px solid #f1caca}
.summary-row{display:flex;justify-content:space-between;gap:15px;padding:10px 0;border-bottom:1px solid #f0f0f0}
@media(max-width:600px){.timeline{grid-template-columns:1fr}.stage{flex-direction:row;justify-content:flex-start}}

/* =========================================================
   EASYLO — PHASE 9 RESPONSIVE / MOBILE POLISH
   UI-only changes. Existing functionality preserved.
   ========================================================= */

html{scroll-behavior:smooth}
img{max-width:100%}
button,input,select,textarea{font:inherit}
button{touch-action:manipulation}

@media (max-width: 900px){
  body{overflow-x:hidden}
  header nav{padding-left:18px!important;padding-right:18px!important;gap:12px!important}
  main{max-width:100%!important}
  .product-grid,.products-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .grid{grid-template-columns:1fr!important}
  .detail-wrap{grid-template-columns:1fr!important}
  .detail-media{min-height:300px!important}
}

@media (max-width: 650px){
  body{font-size:14px}
  .top{padding:7px 12px!important;font-size:11px!important;text-align:center}
  header nav{
    flex-wrap:wrap!important;
    padding:10px 12px!important;
    gap:8px!important;
  }
  .brand-logo{font-size:16px!important}
  .brand-logo img{width:24px!important;height:30px!important}
  .search{
    order:3!important;
    width:100%!important;
    display:flex!important;
  }
  .search input{min-width:0!important;flex:1!important}
  .nav-actions{margin-left:auto!important}
  .nav-actions button,.nav-btn{padding:9px 11px!important}

  main,.page,.product-page{
    width:auto!important;
    margin-left:12px!important;
    margin-right:12px!important;
  }

  .hero{
    padding:26px 18px!important;
    min-height:auto!important;
  }
  .hero h1{font-size:30px!important;line-height:1.05!important}
  .hero p{font-size:13px!important}
  .hero-actions{flex-wrap:wrap!important}

  .category-grid,.categories,.category-list{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }

  .product-grid,.products-grid{
    grid-template-columns:1fr!important;
    gap:12px!important;
  }
  .product-card{min-width:0!important}
  .product-card img,.product-image{height:auto!important;max-height:220px!important}
  .product-card button{min-height:42px!important}

  .detail-wrap{gap:18px!important}
  .detail-media{min-height:230px!important}
  .detail-info h1{font-size:28px!important}
  .detail-actions{display:grid!important;grid-template-columns:1fr!important}
  .detail-actions button{width:100%!important;min-height:44px!important}

  .cart-panel{
    width:min(100%,390px)!important;
    max-width:100%!important;
  }

  .admin-card{overflow:hidden!important}
  .table-wrap{overflow-x:auto!important;-webkit-overflow-scrolling:touch!important}
  .products-table{min-width:760px!important}
  .order-stats{grid-template-columns:1fr!important}

  .timeline{grid-template-columns:1fr!important}
  .stage{flex-direction:row!important;justify-content:flex-start!important}

  footer{
    padding-left:18px!important;
    padding-right:18px!important;
    text-align:center!important;
  }

  input,select,textarea{font-size:16px!important}
}

@media (max-width: 420px){
  .category-grid,.categories,.category-list{grid-template-columns:1fr!important}
  .hero h1{font-size:26px!important}
  .logo{font-size:15px!important}
  .nav-actions button{font-size:12px!important}
  .detail-price{font-size:24px!important}
}

/* Make keyboard focus visible without changing the existing theme. */
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{
  outline:2px solid currentColor;
  outline-offset:2px;
}

.icon img{width:100%;height:100%;object-fit:contain;border-radius:12px;display:block}


/* EASYLO V2 palette / checkout polish */
:root{--easylo-navy:#0A2463;--easylo-blue:#2563EB;--easylo-cyan:#00C6FF;--easylo-aqua:#00E5CC;--easylo-soft:#F1F5F9}
body{background:var(--easylo-soft);color:#0f1f3d}.top{background:linear-gradient(90deg,var(--easylo-navy),#123b86)}
nav{box-shadow:0 8px 24px rgba(10,36,99,.06)}
.brand-logo img{width:30px;height:34px;object-fit:contain}.brand span{color:var(--easylo-blue);font-weight:800}.nav-btn{border-color:#cbd8ea}.card{border-color:#dce5f0;box-shadow:0 12px 30px rgba(10,36,99,.06)}
input:focus,select:focus,textarea:focus{outline:0;border-color:var(--easylo-cyan);box-shadow:0 0 0 3px rgba(0,198,255,.12)}
.primary{background:linear-gradient(135deg,var(--easylo-blue),var(--easylo-cyan));box-shadow:0 8px 18px rgba(37,99,235,.18)}
.icon{background:#eaf6ff;border:1px solid #d9eaf7}.track-result{border-top-color:#dbe5f0}.stage.active{color:var(--easylo-blue)}

.site-footer{margin-top:40px;padding:38px 5%;background:linear-gradient(135deg,#0A2463,#071943);color:#fff;border-top:4px solid #00E5CC}.site-footer p{color:#dbeafe}.site-footer .company-name{color:#fff;font-weight:800}.footer-brand{display:flex;align-items:center;gap:22px;flex-wrap:wrap}.footer-lockup{width:210px;max-height:100px;object-fit:contain;background:#fff;border-radius:12px;padding:7px}.brand-logo{display:flex;align-items:center;gap:7px}.brand-logo img{display:block}
