/* Hero chat-style search, top destination chips, how-it-works photos.
   Loaded after checkout-bar.css so we can reuse chk-led and override chrome how styles.
   Does not touch the mobile menu / drawer / modal. */

/* ---- Grok-style search bar (dark card, LED pulse) ---- */
.search.search-chat{position:relative;max-width:none;width:100%}
.search.search-chat form{
  display:flex !important;
  align-items:center;
  flex-wrap:nowrap !important;
  gap:0;
  box-sizing:border-box;
  width:100%;
  height:70px;
  background:#0d0d0d;
  color:#f4f4ee;
  border-radius:28px;
  border:1px solid rgba(198,255,0,.55);
  overflow:hidden;
  padding:8px 10px 8px 22px;
  box-shadow:
    0 0 0 1px rgba(198,255,0,.28),
    0 0 10px rgba(198,255,0,.22),
    0 0 16px rgba(0,229,255,.12);
  animation:chk-led 2.4s ease-in-out infinite;
}
.search.search-chat form:focus-within{
  animation:none;
  border-color:rgba(198,255,0,.9);
  box-shadow:
    0 0 0 1px rgba(198,255,0,.55),
    0 0 16px rgba(198,255,0,.4),
    0 0 28px rgba(0,229,255,.28);
}
.search.search-chat .s-ico{display:none !important}
.search.search-chat #q,
.search.search-chat input{
  flex:1 1 auto !important;
  min-width:0;
  width:auto !important;
  height:52px !important;
  border:0;
  background:transparent;
  color:#f4f4ee;
  padding:0 14px 0 0 !important;
  font:500 18px/1.25 var(--f), "Cabinet Grotesk", ui-sans-serif, system-ui, sans-serif;
  outline:none;
  box-shadow:none;
}
.search.search-chat #q::placeholder,
.search.search-chat input::placeholder{color:#8a8a80;font-weight:500;font-size:18px}
.search.search-chat .search-go,
.search.search-chat .btn.btn-p.search-go{
  flex:0 0 52px !important;
  width:52px !important;
  height:52px !important;
  min-width:52px !important;
  min-height:52px !important;
  margin:0 !important;
  padding:0 !important;
  border:0;
  border-radius:50% !important;
  background:#c6ff00;
  color:#0a0a0a;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  box-shadow:none;
}
.search.search-chat .search-go:hover,
.search.search-chat .search-go:focus-visible{
  background:#fff;
  color:#0a0a0a;
}
.search.search-chat .search-go:focus-visible{outline:2px solid #00e5ff;outline-offset:2px}
.search.search-chat .search-go .ico{
  width:24px;height:24px;stroke:currentColor;fill:none;stroke-width:2.2;
  stroke-linecap:round;stroke-linejoin:round;
}
.search.search-chat .sr-only{
  position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;
  clip:rect(0,0,0,0);white-space:nowrap;border:0
}

/* Chat-style suggestion list */
.search.search-chat .sugg{
  top:calc(100% + 10px);
  background:#111;
  color:#f4f4ee;
  border:1px solid #2a2a2a;
  border-radius:20px;
  box-shadow:0 18px 40px rgba(0,0,0,.5);
  padding:8px;
  z-index:8;
}
.search.search-chat .sugg a{
  color:#f4f4ee;
  border-radius:14px;
  padding:14px 16px;
  gap:10px;
  font-size:16px;
}
.search.search-chat .sugg a:hover,
.search.search-chat .sugg a[aria-selected=true]{
  background:#1a1a1a;
  color:#c6ff00;
}
.search.search-chat .sugg small{color:#8a8a80}

/* Mobile: 64px tall card, same 18px type and 52px send button */
@media (max-width:860px){
  .search.search-chat form{
    height:64px;
    border-radius:26px;
    padding:5px 6px 5px 18px;
  }
  .search.search-chat #q,
  .search.search-chat input{
    flex:1 1 auto !important;
    width:auto !important;
    height:52px !important;
    padding:0 12px 0 0 !important;
    font-size:18px !important;
  }
  .search.search-chat #q::placeholder,
  .search.search-chat input::placeholder{font-size:18px}
  .search.search-chat .search-go,
  .search.search-chat .btn.btn-p.search-go{
    flex:0 0 52px !important;
    width:52px !important;
    height:52px !important;
    min-width:52px !important;
    min-height:52px !important;
  }
}

@media (prefers-reduced-motion:reduce){
  .search.search-chat form{animation:none}
}

/* ---- Top destination chips: 6 equal 44px tiles, 2 rows of 3, single-line labels ---- */
.hero-copy .chips.chips-top{
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:8px;
  margin-top:16px;
  width:100%;
}
.hero-copy .chips.chips-top .chip{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  box-sizing:border-box;
  width:100%;
  height:44px;
  min-height:44px;
  max-height:44px;
  margin:0;
  padding:0 8px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.22);
  background:rgba(0,0,0,.4);
  color:#fff;
  font-size:13px;
  font-weight:650;
  line-height:1;
  text-align:center;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.hero-copy .chips.chips-top .chip .flag{flex:0 0 auto;width:18px;height:13.5px}
.hero-copy .chips.chips-top .chip:hover{
  border-color:var(--lime,#c6ff00);
  color:var(--lime,#c6ff00);
  background:rgba(198,255,0,.08);
}
@media (max-width:420px){
  .hero-copy .chips.chips-top{gap:6px}
  .hero-copy .chips.chips-top .chip{height:44px;min-height:44px;max-height:44px;font-size:12px;padding:0 4px;gap:4px}
}

/* ---- How-it-works real photos + LED frame ---- */
.how-shot{
  position:relative;
  width:100%;
  max-width:280px;
  margin:4px auto 8px;
  aspect-ratio:1/1;
  border-radius:20px;
  overflow:hidden;
  background:#0a0a0a;
  border:1px solid rgba(198,255,0,.55);
  box-shadow:
    0 0 0 1px rgba(198,255,0,.28),
    0 0 10px rgba(198,255,0,.22),
    0 0 16px rgba(0,229,255,.12),
    0 18px 40px rgba(0,0,0,.45);
  animation:chk-led 2.4s ease-in-out infinite;
}
.how-shot picture,.how-shot img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}
.how-card h3{
  overflow-wrap:break-word;
  word-break:break-word;
  line-height:1.25;
  max-width:100%;
}
.how-card p{
  overflow-wrap:break-word;
  max-width:100%;
}

@media (max-width:800px){
  .how-shot{
    grid-area:ph;
    width:120px;
    max-width:120px;
    margin:0;
    border-radius:16px;
  }
  .how-card h3{font-size:16px}
  .how-card p{font-size:13.5px}
}

@media (prefers-reduced-motion:reduce){
  .how-shot{animation:none}
}
