/* GOATBUY v2: home redesign, import states, Specific Order, AI assistant */
.hero2 { position: relative; overflow: hidden; color: #fff; min-height: min(720px, 86vh); display: flex; align-items: center; background: #1a120d; }
.hero2 .hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.hero2::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(16,11,8,.86) 0%, rgba(16,11,8,.62) 42%, rgba(16,11,8,.08) 78%), linear-gradient(0deg, rgba(16,11,8,.45), transparent 35%); }
.hero2-in { position: relative; z-index: 1; padding-top: 64px; padding-bottom: 64px; }
.hero2-in > * { max-width: 640px; }
.hero2 h1 { font-size: clamp(36px, 5vw, 64px); letter-spacing: -.035em; line-height: 1.02; color: #fff; }
.hero2 h1 em { font-style: italic; font-weight: 900; color: var(--brand); }
.hero2 .lead { font-size: clamp(16px, 1.6vw, 19px); color: #EDE4DD; margin: 0 0 26px; }
.hero2 .bigsearch { margin: 0; max-width: 640px; border: 0; }
.hero-plats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.pchip { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 13px; border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); color: #fff; font-size: 13.5px; font-weight: 600; backdrop-filter: blur(6px); text-decoration: none !important; }
.pchip i { width: 9px; height: 9px; border-radius: 50%; }
.pchip.link { background: transparent; border-style: dashed; transition: background .18s, border-color .18s; }
.pchip.link:hover { background: rgba(255,255,255,.12); border-style: solid; }
.pchip.link svg { width: 15px; height: 15px; transition: transform .2s var(--ease-out); }
.pchip.link:hover svg { transform: translateX(3px); }
.bigsearch.flat { box-shadow: var(--sh-1); max-width: none; margin: 0 0 8px; }

.bento { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 14px; }
.tile { position: relative; border-radius: 20px; overflow: hidden; min-height: 300px; color: #fff; text-decoration: none !important; display: block; transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out); }
.tile.t1 { grid-column: span 3; } .tile.t2 { grid-column: span 2; } .tile.t3 { grid-column: span 2; } .tile.t4 { grid-column: span 3; }
.tile.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.tile.photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(16,11,8,.82) 0%, rgba(16,11,8,.15) 55%, transparent 75%); }
a.tile:hover { transform: translateY(-2px); box-shadow: var(--sh-3); }
a.tile:hover img { transform: scale(1.03); }
.tile .cap { position: absolute; z-index: 1; left: 24px; right: 24px; bottom: 22px; }
.tile b { font-family: var(--f-display); font-style: italic; font-weight: 900; font-size: 15px; color: var(--brand); }
.tile h3 { color: #fff; font-size: 24px; margin: 4px 0; }
.tile p { margin: 0; color: #E9E1DA; font-size: 14.5px; }
.tile.brand { background: var(--brand); padding: 24px; display: flex; flex-direction: column; justify-content: space-between; }
.tile.brand b { color: #fff; opacity: .9; }
.tile.brand svg.xl { width: 56px; height: 56px; stroke-width: 1.5; color: #fff; }
.tile.brand p { color: #FFE6D9; }

.rateband { background: var(--ink); color: #fff; padding: clamp(56px, 7vw, 88px) 0; }
.rate-in { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.rate-lbl { color: #CFC6BF; font-size: 14px; font-weight: 600; }
.rateband .big { font-family: var(--f-display); font-weight: 900; font-style: italic; font-size: clamp(64px, 9vw, 120px); letter-spacing: -.04em; line-height: .95; color: var(--brand); margin: 6px 0 10px; }
.rateband .big small { font-size: .32em; color: #fff; font-style: normal; letter-spacing: -.01em; margin-left: 6px; }
.rateband p { color: #CFC6BF; font-size: 17px; margin-bottom: 26px; }
.rate-rows { display: grid; border-top: 1px solid #2E2621; }
.rate-rows div { display: grid; grid-template-columns: 1fr auto auto; gap: 18px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid #2E2621; font-size: 17px; }
.rate-rows s { color: #8D827A; font-size: 15px; }
.rate-rows b { font-size: 22px; font-variant-numeric: tabular-nums; }
.faq2 { display: grid; grid-template-columns: 1fr 1.6fr; gap: 48px; align-items: start; }

/* import */
.recog { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: #fff; border: 1px solid var(--line); border-radius: 12px; margin-top: 14px; font-size: 14px; }
.sk { background: linear-gradient(90deg, var(--sunken) 0%, #FBF9F7 50%, var(--sunken) 100%); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; border-radius: 8px; height: 16px; }
.sk.sq { aspect-ratio: 1; height: auto; border-radius: 16px; }
.sk.pill { width: 64px; height: 40px; border-radius: 10px; }
@keyframes shimmer { to { background-position: -200% 0; } }
svg.spin { animation: spin 1s linear infinite; vertical-align: -3px; margin-right: 6px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* swatches with images, unavailable values, quantity tiers */
.sw.img { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px 4px 4px; }
.sw.img img { width: 32px; height: 32px; border-radius: 7px; object-fit: cover; }
.sw span { max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: inline-block; vertical-align: middle; }
.sw.na { opacity: .4; text-decoration: line-through; cursor: not-allowed; }
.tiers { display: flex; gap: 8px; flex-wrap: wrap; }
.tiers span { background: var(--brand-50); color: var(--brand-700); border-radius: 8px; padding: 5px 10px; font-size: 13px; }

/* specific order */
.so { display: grid; grid-template-columns: 340px minmax(0,1fr); gap: 32px; align-items: start; }
.so-side h1 { font-size: clamp(28px, 3vw, 40px); }
.so-steps { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 14px; }
.so-steps li { display: flex; gap: 12px; align-items: center; font-weight: 600; }
.so-steps svg { width: 38px; height: 38px; padding: 9px; border-radius: 11px; background: var(--brand-50); color: var(--brand-600); }
.select.addon-sel { width: 110px; flex: none; border-radius: 0 10px 10px 0; border-left: 0; background-color: var(--sunken); }
.auth-side { isolation: isolate; }
.auth-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .35; z-index: -1; }

/* assistant */
.ai-tag { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 700; color: var(--brand-700); background: var(--brand-50); padding: 1px 7px; border-radius: 999px; }
.ai-tag svg { width: 12px; height: 12px; }
.msg .foot { display: flex; justify-content: space-between; gap: 8px; align-items: center; margin-top: 8px; flex-wrap: wrap; }
.msg .foot .linkbtn { font-size: 12px; }
.typing { display: inline-flex; gap: 4px; padding: 4px 2px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--faint); animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }

@media (max-width: 1024px) {
  .rate-in, .faq2, .so { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .hero2 { min-height: 0; }
  .hero2::after { background: linear-gradient(0deg, rgba(16,11,8,.9) 0%, rgba(16,11,8,.65) 60%, rgba(16,11,8,.4) 100%); }
  .hero2-in { padding-top: 48px; padding-bottom: 40px; }
  .bento { grid-template-columns: 1fr; }
  .tile.t1, .tile.t2, .tile.t3, .tile.t4 { grid-column: auto; min-height: 240px; }
  .tile.t2 { min-height: 0; gap: 24px; }
  .rate-rows div { font-size: 15px; }
}

/* nav fit + brand tile alignment */
.hdr-nav a { padding: 0 10px; gap: 6px; }
.hdr-nav a::after { left: 10px; right: 10px; }
@media (max-width: 1400px) { .hdr-nav a svg { display: none; } }
.tile.brand { align-items: flex-start; text-align: left; }
.pdp-title { font-size: clamp(20px, 1.7vw, 24px); line-height: 1.22; letter-spacing: -.015em; }

/* team section */
.team { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.team-ph { border-radius: 22px; overflow: hidden; aspect-ratio: 3 / 2; box-shadow: var(--sh-2); }
.team-ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.team-ph:hover img { transform: scale(1.02); }
.team-tx p { color: var(--ink-2); font-size: 17px; max-width: 46ch; }
.team-pts { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 12px; }
.team-pts li { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.team-pts svg { width: 36px; height: 36px; padding: 8px; border-radius: 10px; background: var(--brand-50); color: var(--brand-600); }
@media (max-width: 1024px) { .team { grid-template-columns: 1fr; } }

/* shipping block v3 */
.ship2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.ship2-ph { position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--sh-2); }
.ship2-ph img { width: 100%; height: 100%; object-fit: cover; }
.ship2-tag { position: absolute; left: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px; background: #fff; color: var(--ink); font-weight: 700; font-size: 14px; padding: 9px 14px; border-radius: 999px; box-shadow: var(--sh-2); }
.ship2-tag svg { color: var(--brand-600); }
.calc { margin-top: 22px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 20px; box-shadow: var(--sh-1); }
.calc-top { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; justify-content: space-between; }
.calc-top .select { width: auto; min-height: 38px; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chips button { min-height: 38px; padding: 0 13px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; font-weight: 600; font-size: 14px; cursor: pointer; transition: background .15s, border-color .15s, transform .12s; }
.chips button:hover { border-color: var(--ink-2); }
.chips button:active { transform: scale(.97); }
.chips button.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.calc-rows { margin: 16px 0 8px; display: grid; }
.calc-rows div { display: flex; justify-content: space-between; align-items: baseline; padding: 9px 0; border-top: 1px solid var(--line); font-size: 15px; }
.calc-rows s { color: var(--faint); }
.calc-rows .pay span { font-weight: 700; }
.calc-rows .pay b { font-family: var(--f-display); font-size: 34px; letter-spacing: -.03em; color: var(--brand-600); }
@media (max-width: 1024px) { .ship2 { grid-template-columns: 1fr; } }

/* help panel (replaces the chatbot) */
.help-search { position: relative; padding: 12px 14px; background: #fff; border-bottom: 1px solid var(--line); }
.help-search svg { position: absolute; left: 27px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.help-search .input { padding-left: 38px; min-height: 40px; }
.help-list { gap: 0; }
.help-list details.qa { margin-bottom: 6px; }
.help-list details.qa summary { padding: 12px 14px; font-size: 14px; }
.help-list details.qa .a { padding: 0 14px 14px; font-size: 13.5px; }
.help-cat { font-size: 12px; font-weight: 700; color: var(--faint); margin: 12px 2px 6px; }
.help-cat:first-child { margin-top: 0; }
.help-foot { padding: 12px 14px 14px; background: #fff; border-top: 1px solid var(--line); display: grid; gap: 8px; text-align: center; }
.help-form { gap: 12px; }
.help-form .textarea { min-height: 110px; }

/* assistant conversation */
.help-chips { background: #fff; border-top: 1px solid var(--line); padding: 10px 12px 2px; display: grid; gap: 6px; max-height: 190px; overflow-y: auto; }
.hc-row { display: flex; flex-wrap: wrap; gap: 6px; }
.hc { border: 1px solid var(--line-2); background: #fff; border-radius: 999px; padding: 7px 12px; font-size: 13px; font-weight: 600; color: var(--ink-2); cursor: pointer; text-align: left; transition: background .15s, border-color .15s, color .15s, transform .12s; }
.hc:hover { border-color: var(--brand-600); color: var(--brand-700); background: var(--brand-50); }
.hc:active { transform: scale(.97); }
.hc.ghost { border-style: dashed; display: inline-flex; align-items: center; gap: 6px; }
.hc.ghost svg { width: 14px; height: 14px; }
.hc-more { padding-bottom: 6px; }
.msg.thinking { display: inline-flex; align-items: center; gap: 8px; }

/* language & currency switch */
.lc-btn { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 10px; border-radius: 10px; border: 1px solid var(--line); background: #fff; font-weight: 600; font-size: 13px; cursor: pointer; color: var(--ink-2); }
.lc-btn:hover { background: var(--sunken); }
.lc-btn svg { width: 16px; height: 16px; color: var(--brand-600); }
.lc-drop { width: 250px; padding: 14px; }
@media (max-width: 760px) { .lc-btn span { display: none; } .lc-btn { width: 42px; justify-content: center; padding: 0; } }
@media (max-width: 760px) {
  .hdr-actions { gap: 0; }
  .hdr-actions .icon-btn { width: 38px; }
  .lc-btn { width: 38px; border: 0; background: none; }
  .user-chip { padding: 2px; border: 0; background: none; }
  .user-chip > svg { display: none; }
  .brand { gap: 7px; } .brand img.ic { width: 32px; height: 32px; } .brand img.wm { height: 14px; }
}
