/* Request for Quotation — Alibaba layout (see rfqHero/rfqTell/rfqGrid in trade.js). */
.rfq2-hero { background: radial-gradient(900px 400px at 85% 10%, rgba(120,113,251,.45), transparent 60%), linear-gradient(135deg, #15104f 0%, #251f95 55%, #3e34f9 100%); color: #fff; padding: 34px 0 96px; }
.rfq2-hero-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: 32px; align-items: center; }
.rfq2-copy .rfq-hero-top { display: flex; align-items: center; gap: 8px; font-size: 16px; }
.rfq2-copy .rfq-hero-top b { font-weight: 500; }
.rfq2-copy .rfq-badge { background: #fff; color: var(--deep); font-weight: 800; font-size: 11px; border-radius: 4px; padding: 2px 6px; }
.rfq2-copy h1 { margin: 12px 0 8px; font-size: 38px; line-height: 1.12; color: #fff; }
.rfq2-copy p { margin: 0; color: rgba(255,255,255,.8); font-size: 15px; display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; }
.rfq2-learn { color: #fff; text-decoration: underline; display: inline-flex; align-items: center; gap: 5px; }
.rfq2-learn .icon { width: 16px; height: 16px; }
.rfq2-count { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; padding: 8px 14px; border: 1px solid rgba(255,255,255,.55); border-radius: 999px; color: #fff; font-size: 14px; }
.rfq2-count .icon { width: 15px; height: 15px; }
.rfq2-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.rfq2-tile { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 96px; padding: 14px 12px 14px 16px; border-radius: 12px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); color: #fff; overflow: hidden; transition: background .2s, transform .2s; }
.rfq2-tile:hover { background: rgba(255,255,255,.15); transform: translateY(-2px); }
.rfq2-tile span { font-size: 15px; font-weight: 650; line-height: 1.2; max-width: 50%; }
.rfq-art { width: 112px; height: 84px; flex: none; }
.rfq-art .ra-line { fill: none; stroke: #fff; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.rfq-art .ra-soft { fill: none; stroke: rgba(255,255,255,.55); stroke-width: 1.6; stroke-linecap: round; }
.rfq-art .ra-dash { fill: none; stroke: rgba(255,255,255,.35); stroke-width: 1.4; stroke-dasharray: 3 5; }
.rfq-art .ra-accent { fill: rgba(168,162,255,.35); stroke: #c9c5ff; stroke-width: 2; stroke-linejoin: round; }
.rfq-art .ra-accent-fill { fill: #a8a2ff; }
.rfq-art .ra-star { fill: #fff; }
.rfq-art .ra-label { fill: rgba(255,255,255,.14); stroke: #c9c5ff; stroke-width: 1.4; }
@media (prefers-reduced-motion: no-preference) {
  .rfq-art .ra-draw { stroke-dasharray: 260; stroke-dashoffset: 260; animation: raDraw 3.2s ease-in-out infinite alternate; }
  .rfq-art .ra-pencil { transform-origin: 96px 58px; animation: raPencil 1.6s ease-in-out infinite alternate; }
  .rfq-art .ra-badge { transform-origin: 60px 48px; animation: raPulse 2.2s ease-in-out infinite; }
  .rfq-art .ra-bob { animation: raBob 2.4s ease-in-out infinite; }
  .rfq-art .ra-lid { transform-origin: 26px 40px; animation: raLid 2.8s ease-in-out infinite; }
}
@keyframes raDraw { to { stroke-dashoffset: 0; } }
@keyframes raPencil { from { transform: translate(-4px, 3px) rotate(-4deg); } to { transform: translate(3px, -2px) rotate(3deg); } }
@keyframes raPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.14); } }
@keyframes raBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes raLid { 0%, 60%, 100% { transform: rotate(0); } 30% { transform: rotate(-14deg); } }

.rfq2-tell { position: relative; margin-top: -64px; background: #fff; border-radius: 16px; box-shadow: 0 10px 40px rgba(20,16,79,.14); padding: 22px 24px 20px; }
.rfq2-tell h2 { margin: 0 0 14px; font-size: 19px; }
.rfq2-box { border: 1px solid #d9dae3; border-radius: 12px; padding: 12px; }
.rfq2-box:focus-within { border-color: var(--violet); box-shadow: 0 0 0 3px rgba(62,52,249,.1); }
.rfq2-upload { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border: 1px solid var(--line); border-radius: 8px; font-size: 13px; color: var(--ink); background: #fff; }
.rfq2-upload .icon { width: 15px; height: 15px; }
.rfq2-box textarea { display: block; width: 100%; margin-top: 8px; border: 0; outline: 0; resize: vertical; font: inherit; font-size: 15px; min-height: 64px; background: transparent; }
.rfq2-actions { position: relative; display: flex; align-items: center; justify-content: center; margin-top: 16px; min-height: 48px; }
.rfq2-actions .rfq-ai { position: absolute; left: 0; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink); }
.rfq2-actions .rfq-ai span { display: inline-flex; align-items: center; gap: 6px; }
.rfq2-cta { min-width: 240px; min-height: 46px; border-radius: 999px; font-size: 16px; justify-content: center; }
.rfq2-grid-sec { margin-top: 34px; }
.rfq2-grid-sec h2 { margin: 0 0 14px; font-size: 21px; }
.rfq2-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.rfq2-card { display: flex; flex-direction: column; gap: 4px; background: #fff; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); color: var(--ink); padding-bottom: 12px; transition: box-shadow .2s; }
.rfq2-card:hover { box-shadow: 0 8px 24px rgba(20,20,40,.1); }
.rfq2-shot { display: block; aspect-ratio: 1 / 1; background: #f4f4f6; }
.rfq2-shot img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.rfq2-card small { padding: 6px 10px 0; font-size: 12px; color: var(--gray); }
.rfq2-card b { padding: 0 10px; font-size: 13.5px; font-weight: 500; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 35px; }
.rfq2-card u { padding: 4px 10px 0; font-size: 13.5px; font-weight: 700; }
.rfq-page { margin-top: 34px; }
@media (max-width: 1100px) { .rfq2-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } .rfq2-hero-in { grid-template-columns: 1fr; } }
@media (max-width: 760px) {
  .rfq2-hero { padding: 18px 0 70px; }
  .rfq2-copy h1 { font-size: 26px; }
  .rfq2-copy p { font-size: 13.5px; }
  .rfq2-tiles { gap: 8px; }
  .rfq2-tile { min-height: 76px; padding: 10px 8px 10px 12px; }
  .rfq2-tile span { font-size: 13px; max-width: 55%; }
  .rfq-art { width: 72px; height: 54px; }
  .rfq2-tell { margin: -50px 12px 0; padding: 16px 14px; width: auto; }
  .rfq2-actions { flex-direction: column; gap: 12px; }
  .rfq2-actions .rfq-ai { position: static; }
  .rfq2-cta { width: 100%; }
  .rfq2-grid-sec h2 { font-size: 17px; }
  .rfq2-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
}
