/* ============================================================
   Rot Chao — Customer-facing styles (mobile-first)
   ใช้ชุดสี/คอมโพเนนต์เดียวกับ mockup เดิม (rot-chao-mockup-frontend)
   ============================================================ */
:root{
  color-scheme: light;
  --primary:#c81e2c;
  --primary-dark:#7a1018;
  --primary-100:#fbe4e5;
  --accent:#e0201f;
  --accent-dark:#b5170f;
  --surface:#ffffff;
  --page:#f7f6f5;
  --text-primary:#181410;
  --text-secondary:#5c574f;
  --muted:#8f8a82;
  --gridline:#ece9e5;
  --good:#1a9e46;
  --warning:#d98a12;
  --radius:18px;
}
*{box-sizing:border-box;}
body{
  margin:0;
  font-family: system-ui, -apple-system, "Segoe UI", "Noto Sans Thai", sans-serif;
  background:var(--page);
  color:var(--text-primary);
}
a{ color:inherit; text-decoration:none; }
.app-shell{
  max-width:480px;
  margin:0 auto;
  background:var(--surface);
  min-height:100vh;
  box-shadow:0 0 40px rgba(11,11,11,0.06);
}
.topbar{
  background:var(--surface);
  border-bottom:1px solid var(--gridline);
  padding:16px 20px;
  position:sticky; top:0; z-index:20;
  display:flex; align-items:center; gap:12px;
}
.topbar .brand-mark{
  width:34px;height:34px;border-radius:9px;background:var(--accent);
  display:flex;align-items:center;justify-content:center;font-size:17px;flex:0 0 auto;
}
.topbar .brand-text{ font-weight:800; font-size:15px; }
.topbar .brand-sub{ font-size:11px; color:var(--muted); }
.topbar .back{
  font-size:20px; color:var(--text-secondary); flex:0 0 auto;
}
.tag{
  display:inline-block; font-size:11px; font-weight:600; color:var(--primary-dark);
  background:var(--primary-100); padding:2px 8px; border-radius:100px; margin-bottom:8px;
}
.app-header{ padding:18px 20px 6px; }
.app-header h2{ margin:0; font-size:22px; }
.app-header p{ margin:4px 0 0; color:var(--text-secondary); font-size:13px; }
.section-pad{ padding:0 20px; }
.card{
  background:var(--surface); border:1px solid var(--gridline); border-radius:16px; padding:16px;
}
.toggle-group{
  display:flex; background:var(--page); border-radius:100px; padding:4px; margin:16px 20px 0; gap:4px;
}
.toggle-group a, .toggle-group button{
  flex:1; border:none; background:transparent; padding:10px 8px; border-radius:100px;
  font-size:13px; font-weight:600; font-family:inherit; color:var(--text-secondary); cursor:pointer;
  text-align:center; display:block;
}
.toggle-group a.on, .toggle-group button.on{
  background:var(--surface); color:var(--primary-dark); box-shadow:0 1px 3px rgba(11,11,11,0.12);
}
.field{ margin-top:12px; }
.field label{
  display:block; font-size:11.5px; font-weight:700; color:var(--muted);
  text-transform:uppercase; letter-spacing:.03em; margin-bottom:6px;
}
.field select, .field input{
  width:100%; border:1px solid var(--gridline); border-radius:12px; padding:12px 14px;
  font-size:14px; color:var(--text-primary); background:var(--surface); font-family:inherit;
}
.field .box{
  border:1px solid var(--gridline); border-radius:12px; padding:12px 14px; font-size:14px;
  display:flex; align-items:center; justify-content:space-between; color:var(--text-primary); background:var(--surface);
}
.field .box .hint{ color:var(--muted); font-size:12.5px; }
.btn-primary{
  width:100%; border:none; background:var(--accent); color:#fff; font-family:inherit; font-weight:700;
  font-size:15px; padding:15px; border-radius:14px; cursor:pointer; box-shadow:0 8px 18px rgba(224,32,31,0.28);
}
.btn-secondary{
  width:100%; border:1px solid var(--gridline); background:var(--surface); color:var(--text-primary);
  font-family:inherit; font-weight:700; font-size:14px; padding:13px; border-radius:14px; cursor:pointer;
}
.chip-row{ display:flex; gap:8px; overflow-x:auto; padding:14px 20px 4px; }
.chip{
  flex:0 0 auto; border:1px solid var(--gridline); padding:7px 13px; border-radius:100px;
  font-size:12.5px; font-weight:600; color:var(--text-secondary); background:var(--surface); cursor:pointer;
}
.chip.on{ background:var(--primary); border-color:var(--primary); color:#fff; }
.bike-card{
  display:flex; gap:12px; border:1px solid var(--gridline); border-radius:16px; padding:12px;
  margin:0 20px 12px; align-items:center; cursor:pointer;
}
.bike-thumb{
  width:76px; height:76px; border-radius:12px; background:linear-gradient(135deg,var(--primary-100),#fdeceb);
  display:flex;align-items:center;justify-content:center; font-size:30px; flex:0 0 auto; overflow:hidden;
}
.bike-thumb img{ width:100%; height:100%; object-fit:cover; display:block; }
.detail-hero{
  height:260px; border-radius:0 0 24px 24px; overflow:hidden; background:var(--primary-100);
}
.detail-hero img{ width:100%; height:100%; object-fit:cover; object-position:center; display:block; }
.bike-info{ flex:1; min-width:0; }
.bike-info .name{ font-weight:700; font-size:14.5px; }
.bike-info .meta{ color:var(--text-secondary); font-size:12px; margin-top:2px; }
.bike-info .price{ color:var(--primary-dark); font-weight:700; font-size:14px; margin-top:6px; }
.bike-info .price span{ color:var(--muted); font-weight:500; font-size:11.5px; }
.badge-avail{
  font-size:10.5px; font-weight:700; color:var(--good); background:#e7f8e7; padding:2px 8px; border-radius:100px;
}
.badge-low{
  font-size:10.5px; font-weight:700; color:#8a5a00; background:#fff4de; padding:2px 8px; border-radius:100px;
}
.row-between{ display:flex; justify-content:space-between; align-items:center; }
.divider{ height:1px; background:var(--gridline); margin:14px 0; }
.summary-line{
  display:flex; justify-content:space-between; font-size:13.5px; color:var(--text-secondary); padding:4px 0;
}
.summary-line.total{
  font-size:16px; font-weight:700; color:var(--text-primary); padding-top:10px;
  border-top:1px dashed var(--gridline); margin-top:6px;
}
.stepper{ display:flex; align-items:center; justify-content:space-between; padding:0 20px; margin-top:16px; }
.step{ flex:1; text-align:center; font-size:10.5px; color:var(--muted); font-weight:700; position:relative; }
.step .dot{
  width:22px;height:22px;border-radius:50%; background:var(--page); color:var(--muted);
  display:flex;align-items:center;justify-content:center; font-size:11px; margin:0 auto 4px; font-weight:700;
  border:2px solid var(--gridline);
}
.step.done .dot{ background:var(--good); border-color:var(--good); color:#fff; }
.step.now .dot{ background:var(--primary); border-color:var(--primary); color:#fff; }
.pay-option{
  display:flex; align-items:center; gap:12px; border:1px solid var(--gridline); border-radius:14px;
  padding:13px 14px; margin:0 20px 10px; cursor:pointer;
}
.pay-option .radio{ width:18px;height:18px;border-radius:50%;border:2px solid var(--gridline);flex:0 0 auto; }
.pay-option.on{ border-color:var(--primary); background:var(--primary-100); }
.pay-option.on .radio{ border-color:var(--primary); background:var(--primary); box-shadow:inset 0 0 0 3px #fff; }
.pay-option .label{ font-weight:600; font-size:14px; flex:1; }
.pay-option .icon{ font-size:20px; }
.confirm-hero{ text-align:center; padding:36px 24px 12px; }
.confirm-hero .check{
  width:64px;height:64px;border-radius:50%;background:#e7f8e7;
  display:flex;align-items:center;justify-content:center;font-size:30px;color:var(--good); margin:0 auto 16px;
}
.confirm-hero h2{ margin:0 0 6px; font-size:19px; }
.confirm-hero p{ margin:0; color:var(--text-secondary); font-size:13.5px; }
.qr{
  width:140px;height:140px;margin:20px auto;border-radius:16px;
  background:repeating-linear-gradient(45deg,#0b0b0b 0 4px,#fff 4px 8px); opacity:.85;
}
.booking-ref{ text-align:center; font-weight:800; font-size:20px; letter-spacing:.06em; color:var(--primary-dark); }
.info-list{ margin:18px 20px 0; }
.info-row{ display:flex; gap:12px; padding:10px 0; border-bottom:1px solid var(--gridline); font-size:13px; }
.info-row .ic{ width:20px; text-align:center; }
.info-row .k{ color:var(--muted); flex:1; }
.info-row .v{ font-weight:600; }
.bottom-nav{
  position:sticky; bottom:0; left:0; right:0; background:var(--surface); border-top:1px solid var(--gridline);
  display:flex; padding:8px 0 20px; margin-top:20px;
}
.bottom-nav .item{ flex:1; text-align:center; font-size:10.5px; color:var(--muted); font-weight:600; }
.bottom-nav .item.active{ color:var(--primary); }
.bottom-nav .item .ic{ font-size:18px; display:block; margin-bottom:3px; }
.float-cta{
  position:sticky; bottom:0; background:linear-gradient(180deg,rgba(252,252,251,0),var(--surface) 30%);
  padding:16px 20px 14px;
}
.empty-state{ text-align:center; padding:60px 24px; color:var(--muted); font-size:13.5px; }
.alert{
  margin:12px 20px 0; padding:12px 14px; border-radius:12px; font-size:12.5px;
  background:#fdece4; color:#93401f; border:1px solid #f3c6ac;
}

/* ============================================================
   Hero + search card (หน้าแรก) — โทนขาว-แดง แรงบันดาลใจจากเว็บรถเช่า
   ============================================================ */
.hero{
  position:relative; overflow:hidden; color:#fff; text-align:center;
  background:linear-gradient(160deg,var(--primary) 0%, var(--primary-dark) 100%);
  padding:30px 20px 74px;
}
.hero-skyline{ position:absolute; left:0; right:0; bottom:0; height:64px; z-index:1; line-height:0; }
.hero-skyline svg{ width:100%; height:100%; display:block; }
.hero-inner{ position:relative; z-index:2; }
.hero-flag{ font-size:26px; display:block; margin-bottom:10px; }
.hero-title{ margin:0 0 8px; font-size:25px; font-weight:800; line-height:1.28; }
.hero-sub{ margin:0; font-size:13.5px; opacity:.92; }
.hero-photo{ margin:20px auto 0; max-width:280px; }
.hero-photo img{
  width:100%; aspect-ratio:4/3; object-fit:cover; display:block; border-radius:20px;
  box-shadow:0 18px 34px rgba(0,0,0,0.32), 0 0 0 4px rgba(255,255,255,0.14);
}

/* แถบค้นหา — ต่อเนื่องจาก hero เป็นแถบสีแดงเดียวกัน (แรงบันดาลใจจากแถบค้นหาสีน้ำเงินของ thairentacar.com)
   ฟิลด์ต่างๆ เป็นกล่องขาวลอยเด่นบนพื้นแดง ปุ่มค้นหาเป็นปุ่มขาวสลับสีให้เด่นสุดในแถบ */
.search-card{
  background:linear-gradient(160deg,var(--primary) 0%, var(--primary-dark) 100%);
  color:#fff; margin-top:-1px; border-radius:28px 28px 0 0;
  position:relative; z-index:5; padding-bottom:6px; box-shadow:0 14px 30px rgba(122,16,24,0.22);
}
.search-card .tag{ background:rgba(255,255,255,0.18); color:#fff; }
.search-card .app-header h2{ color:#fff; }
.search-card .app-header p{ color:rgba(255,255,255,0.85); }
.search-card .field label{ color:rgba(255,255,255,0.78); }
.search-card .toggle-group{ margin-top:14px; padding-top:4px; background:rgba(255,255,255,0.16); }
.search-card .toggle-group a, .search-card .toggle-group button{ color:rgba(255,255,255,0.85); }
.search-card .toggle-group a.on, .search-card .toggle-group button.on{ background:#fff; color:var(--primary-dark); }
.search-card .btn-primary{
  background:#fff; color:var(--primary-dark); box-shadow:0 10px 22px rgba(0,0,0,0.18);
}
.icon-input{ position:relative; }
.icon-input .ic{
  position:absolute; left:13px; top:50%; transform:translateY(-50%); font-size:14px; pointer-events:none;
}
.icon-input input, .icon-input select{ padding-left:36px !important; }

.perks-row{
  display:flex; gap:10px; padding:16px 20px 4px; margin-top:4px;
}
.perk{
  flex:1; text-align:center; background:var(--surface); border:1px solid var(--gridline);
  border-radius:14px; padding:14px 8px;
}
.perk .ic{ font-size:20px; display:block; margin-bottom:6px; }
.perk .label{ font-size:11px; color:var(--text-secondary); font-weight:600; line-height:1.35; }

/* ============================================================
   โซนโชว์รถแนะนำในหน้าแรก (แรงบันดาลใจจากส่วน "เลือกรถที่เหมาะสม"
   ของ thairentacar.com — การ์ดพร้อมป้ายเด่น/สเปก/ราคา แต่ใช้ข้อมูล
   รถจริงของเราเองทั้งหมด)
   ============================================================ */
.model-showcase{ padding:26px 0 6px; }
.model-showcase-title{
  text-align:center; font-size:20px; font-weight:800; line-height:1.35;
  margin:0 0 20px; padding:0 20px; color:var(--text-primary);
}
.model-grid{
  display:grid; grid-template-columns:1fr; gap:20px 16px; padding:0 20px;
}
.model-card{
  position:relative; background:var(--surface); border:1px solid var(--gridline);
  border-radius:var(--radius); padding:20px 16px 18px; text-align:center;
  box-shadow:0 2px 10px rgba(24,20,16,0.05);
}
.model-badge{
  position:absolute; top:-11px; left:50%; transform:translateX(-50%);
  font-size:11px; font-weight:700; padding:5px 13px; border-radius:100px; white-space:nowrap;
}
.model-badge.best{ background:#e3f6e8; color:var(--good); }
.model-badge.popular{ background:#fdf0dc; color:var(--warning); }
.model-badge.recommend{ background:var(--primary-100); color:var(--primary); }
.model-photo{ margin:10px auto 12px; max-width:190px; }
.model-photo img{
  width:100%; aspect-ratio:4/3; object-fit:cover; display:block; border-radius:14px;
}
.model-name{ font-weight:800; font-size:16px; margin-bottom:12px; }
.model-specs{
  list-style:none; margin:0 0 16px; padding:0 0 0 8px; display:flex; flex-direction:column;
  gap:7px; font-size:12.5px; color:var(--text-secondary); text-align:left;
}
.model-specs li{ display:flex; align-items:center; gap:7px; }
.model-price{ font-size:13px; color:var(--text-secondary); margin-bottom:14px; }
.model-price strong{ font-size:19px; color:var(--text-primary); margin:0 2px; }
.model-cta{
  display:block; width:100%; box-sizing:border-box; text-align:center; text-decoration:none;
}

/* ============================================================
   หน้าสาขาของเรา (branches.php) — รายชื่อสาขา + รายละเอียด/แผนที่
   (แรงบันดาลใจจากหน้า "สาขาในประเทศไทย" ของ thairentacar.com)
   ============================================================ */
.branch-layout{ padding:14px 20px 20px; display:flex; flex-direction:column; gap:16px; }
.branch-list{ display:flex; flex-direction:column; gap:10px; }
.branch-item{
  display:flex; align-items:center; gap:11px;
  background:var(--surface); border:1px solid var(--gridline); border-radius:100px;
  padding:13px 18px; font-size:13.5px; font-weight:600; color:var(--text-primary);
  text-decoration:none;
}
.branch-item .dot{
  width:16px; height:16px; border-radius:50%; border:2px solid var(--gridline);
  flex:0 0 auto; position:relative;
}
.branch-item.on{ border-color:var(--primary); box-shadow:0 0 0 1px var(--primary); }
.branch-item.on .dot{ border-color:var(--primary); }
.branch-item.on .dot::after{
  content:''; position:absolute; inset:2px; border-radius:50%; background:var(--primary);
}
.branch-item-name{ min-width:0; }
.branch-detail{
  background:var(--surface); border:1px solid var(--gridline); border-radius:var(--radius);
  overflow:hidden; box-shadow:0 2px 10px rgba(24,20,16,0.05);
}
.branch-photo{ height:210px; background:var(--primary-100); }
.branch-photo img{ width:100%; height:100%; object-fit:cover; display:block; }
.branch-photo-ph{
  width:100%; height:100%; display:flex; flex-direction:column; align-items:center; justify-content:center;
  gap:8px; background:linear-gradient(150deg,var(--primary) 0%, var(--primary-dark) 100%); color:#fff;
}
.branch-photo-ph .ic{ font-size:40px; }
.branch-photo-ph .txt{ font-size:13px; font-weight:800; letter-spacing:.06em; opacity:.85; }
.branch-detail-body{ padding:18px 20px 20px; text-align:center; }
.branch-detail-name{ margin:0 0 10px; font-size:16.5px; font-weight:800; }
.branch-detail-line{ margin:0 0 8px; font-size:13px; color:var(--text-secondary); line-height:1.55; }
.branch-detail-line a{ color:var(--primary); font-weight:700; text-decoration:none; }
.branch-detail-line .muted{ color:var(--muted); font-size:11.5px; }
.branch-detail-actions{ display:flex; flex-direction:column; gap:10px; margin-top:16px; }
.branch-map-btn{
  display:flex; align-items:center; justify-content:center; gap:6px;
  border:1px solid var(--gridline); background:var(--surface); color:var(--text-primary);
  font-weight:700; font-size:14px; padding:13px; border-radius:100px; text-decoration:none;
}
.branch-book-btn{ display:block; text-align:center; text-decoration:none; box-sizing:border-box; }

/* โซนสาขาในหน้าแรก — โชว์ทุกสาขาเป็นการ์ดตรงๆ ไม่ต้องคลิกเลือก */
.branch-showcase{ padding:26px 0 6px; }
.branch-grid{ display:grid; grid-template-columns:1fr; gap:12px; padding:0 20px; }
.branch-mini-card{
  background:var(--surface); border:1px solid var(--gridline); border-radius:var(--radius);
  padding:16px 16px 14px; box-shadow:0 2px 10px rgba(24,20,16,0.05);
}
.branch-mini-head{
  display:flex; align-items:center; gap:9px; font-weight:800; font-size:14.5px; margin-bottom:8px;
}
.branch-mini-head .ic{
  width:34px; height:34px; border-radius:10px; flex:0 0 auto; font-size:16px;
  background:linear-gradient(150deg,var(--primary) 0%, var(--primary-dark) 100%);
  display:flex; align-items:center; justify-content:center;
}
.branch-mini-head .nm{ min-width:0; }
.branch-mini-line{ margin:0 0 6px; font-size:12.5px; color:var(--text-secondary); line-height:1.5; }
.branch-mini-line a{ color:var(--primary); font-weight:700; text-decoration:none; }
.branch-mini-actions{ display:flex; gap:8px; margin-top:11px; }
.branch-mini-actions a{
  flex:1; text-align:center; font-size:13px; font-weight:700; padding:10px 8px;
  border-radius:100px; text-decoration:none;
}
.branch-mini-map{ border:1px solid var(--gridline); background:var(--surface); color:var(--text-primary); }
.branch-mini-book{ background:var(--accent); color:#fff; box-shadow:0 6px 14px rgba(224,32,31,0.22); }

/* ============================================================
   Footer (ทุกหน้าฝั่งลูกค้า)
   ============================================================ */
.site-footer{
  background:linear-gradient(150deg,var(--primary-dark) 0%, #4c0a10 100%);
  color:#fdeceb; margin-top:24px; padding:28px 20px 22px; border-radius:24px 24px 0 0;
}
.site-footer .footer-brand{ display:flex; align-items:center; gap:10px; margin-bottom:4px; }
.site-footer .footer-logo-mark{
  width:32px;height:32px;border-radius:9px;background:rgba(255,255,255,0.14);
  display:flex;align-items:center;justify-content:center;font-size:16px;flex:0 0 auto;
}
.site-footer .footer-brand-text{ font-weight:800; font-size:15px; color:#fff; }
.site-footer .footer-tagline{ font-size:12px; color:#f3cfcf; margin:6px 0 18px; }
.footer-call{
  display:flex; align-items:center; justify-content:space-between; gap:12px;
  background:rgba(255,255,255,0.08); border-radius:14px; padding:14px 16px; margin-bottom:18px;
}
.footer-call .k{ font-size:11px; color:#f3cfcf; text-transform:uppercase; letter-spacing:.04em; }
.footer-call .v{ font-size:21px; font-weight:800; color:#fff; letter-spacing:.02em; margin-top:2px; }
.footer-links{
  display:flex; flex-wrap:wrap; gap:10px 16px; font-size:12.5px; margin-bottom:16px;
}
.footer-links a{ color:#f6dcdc; }
.footer-social{ display:flex; gap:10px; margin-bottom:18px; }
.footer-social span{
  width:32px;height:32px;border-radius:50%;background:rgba(255,255,255,0.12);
  display:flex;align-items:center;justify-content:center;font-size:14px;
}
.footer-bottom{
  border-top:1px solid rgba(255,255,255,0.16); padding-top:14px;
  font-size:11px; color:#e8b9b9; text-align:center;
}

/* ============================================================
   Desktop / wide-screen — เต็มจอเวลาเปิดผ่านคอมพิวเตอร์
   ยัง mobile-first เหมือนเดิม แต่ตั้งแต่ 768px ขึ้นไป ตัว app-shell
   จะขยายเต็มความกว้างจอ (ไม่มีแถบขาวซ้าย-ขวาแล้ว) ส่วนเนื้อหาแต่ละ
   บล็อกจะจัดกึ่งกลางในคอลัมน์ที่อ่านง่าย ไม่ยืดจนเสียสัดส่วน
   ============================================================ */
@media (min-width:768px){
  body{ background:var(--surface); }

  .app-shell{
    max-width:100%;
    min-height:100vh;
    box-shadow:none;
  }

  .topbar{
    padding-left:clamp(20px, 6vw, 64px);
    padding-right:clamp(20px, 6vw, 64px);
  }

  .app-header,
  .section-pad,
  .toggle-group,
  .chip-row,
  .stepper,
  .info-list,
  .float-cta,
  .confirm-hero,
  .empty-state,
  .alert,
  .bike-card,
  .detail-hero,
  .pay-option{
    max-width:640px;
    margin-left:auto;
    margin-right:auto;
  }

  .bottom-nav{
    left:50%;
    right:auto;
    width:100%;
    max-width:640px;
    transform:translateX(-50%);
    margin-top:20px;
  }

  /* hero/footer bands stay full-bleed edge-to-edge; only their inner
     content gets constrained to the same readable column as the rest */
  .hero-inner, .perks-row, .search-card{
    max-width:640px;
    margin-left:auto;
    margin-right:auto;
  }

  .model-showcase-title{ font-size:26px; }
  .model-grid{
    grid-template-columns:repeat(auto-fit, minmax(220px, 1fr));
    max-width:960px;
    margin:0 auto;
  }

  /* โซนสาขาในหน้าแรก — จอกว้าง: กริดหลายคอลัมน์ */
  .branch-grid{
    grid-template-columns:repeat(auto-fit, minmax(280px, 1fr));
    max-width:960px;
    margin:0 auto;
  }

  /* หน้าสาขา — จอกว้าง: รายชื่อซ้าย รายละเอียดขวา แบบต้นแบบ */
  .branch-layout{
    flex-direction:row; align-items:flex-start; gap:24px;
    max-width:960px; margin:0 auto;
  }
  .branch-list{
    flex:0 0 340px; max-height:520px; overflow-y:auto; padding-right:6px;
  }
  .branch-detail{ flex:1; position:sticky; top:16px; }
  .branch-photo{ height:260px; }

  /* บนจอกว้าง แถบ hero กว้างขึ้นมาก — ขยายตัวหนังสือ/รูป/เส้นขอบฟ้าให้สมส่วน ไม่จมไปกับพื้นที่ว่าง */
  .hero{ padding:44px 20px 96px; }
  .hero-flag{ font-size:34px; margin-bottom:14px; }
  .hero-title{ font-size:46px; line-height:1.2; }
  .hero-sub{ font-size:17px; }
  .hero-photo{ max-width:440px; margin-top:28px; }
  .hero-skyline{ height:84px; }
  .site-footer{ border-radius:0; }
  .site-footer .footer-brand,
  .site-footer .footer-tagline,
  .site-footer .footer-call,
  .site-footer .footer-links,
  .site-footer .footer-social,
  .site-footer .footer-bottom{
    max-width:640px;
    margin-left:auto;
    margin-right:auto;
  }
}

/* จอกว้างมาก (เดสก์ท็อปใหญ่/จอกว้าง) — แถบ hero กว้างขึ้นอีกเยอะ รูปการ์ด/ตัวหนังสือเดิมดูจมกลางพื้นที่ว่าง จึงขยายเพิ่มเฉพาะช่วงนี้ */
@media (min-width:1280px){
  .hero{ padding:56px 20px 112px; }
  .hero-flag{ font-size:38px; }
  .hero-title{ font-size:54px; }
  .hero-sub{ font-size:18px; }
  .hero-photo{ max-width:580px; margin-top:34px; }
  .hero-skyline{ height:100px; }
}

@media (min-width:900px){
  .bike-list{
    display:grid;
    grid-template-columns:repeat(auto-fill, minmax(280px, 1fr));
    gap:14px;
    max-width:960px;
    margin:0 auto;
    padding:8px 20px 20px;
  }
  .bike-list .bike-card{
    margin:0;
    max-width:none;
  }
}
