/* Happy 3D Studio — automotive program, scoped to auto.html */
/* On this page, the hero and form are the only request actions. */
.auto-page-body .mobile-order-bar{display:none!important}
@media(max-width:680px){body.auto-page-body{padding-bottom:0}}

.auto-page-main{width:min(1460px,calc(100% - 36px));margin:24px auto 0}
.auto-page-main .auto-back{margin:2px 0 18px 18px}
.auto-page-main h1,.auto-page-main h2,.auto-page-main h3{letter-spacing:-.045em}
.auto-hero{display:grid;grid-template-columns:minmax(0,1.07fr) minmax(0,.93fr);
  min-height:560px;gap:24px;align-items:center;overflow:hidden;position:relative;
  padding:clamp(30px,4.6vw,70px);border-radius:30px;color:#27231f;
  background:radial-gradient(circle at 95% 15%,rgba(242,118,34,.12),transparent 42%),
    linear-gradient(140deg,#faf8f4 0%,#f1ebe3 58%,#eae2d7 100%);
  border:1px solid rgba(58,45,32,.085);
  box-shadow:0 18px 46px rgba(55,43,30,.075)}
.auto-hero:before{content:'';position:absolute;inset:0;pointer-events:none;opacity:.3;
  background:repeating-linear-gradient(90deg,transparent 0,transparent 74px,rgba(67,52,36,.035) 75px,transparent 76px)}
.auto-hero-copy{position:relative;z-index:1;min-width:0}
.auto-hero .kicker{margin:0 0 20px;color:#c95f1c}
.auto-hero h1{color:#25221f;font-size:clamp(42px,5.1vw,76px);line-height:1.045;
  letter-spacing:-.055em;max-width:650px;margin:0 0 24px}
.auto-lead{max-width:550px;color:#66605a;font-size:clamp(15px,1.45vw,19px);line-height:1.65;margin:0}
.auto-hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:32px}
.auto-hero-actions .btn{display:inline-flex;justify-content:center;align-items:center;min-height:48px;font-size:13px}
.auto-ghost{border-color:#d4c9bc!important;background:rgba(255,255,255,.67);color:#36312c}
.auto-ghost:hover{background:#fff}
.auto-hero-trust{display:flex;gap:9px;flex-wrap:wrap;margin-top:32px}
.auto-hero-trust span{font-size:11px;color:#635c55;padding:7px 11px;
  border:1px solid rgba(110,89,70,.16);border-radius:999px;background:rgba(255,255,255,.52)}
.auto-hero-art{min-width:0;position:relative;width:100%;aspect-ratio:4/3;align-self:center;
  overflow:hidden;border-radius:20px;border:1px solid rgba(58,45,32,.10);
  box-shadow:0 15px 36px rgba(55,43,30,.13)}
.auto-hero-art img{display:block;width:100%;height:100%;object-fit:cover}
.auto-section{margin-top:32px;border-radius:28px;padding:clamp(24px,3.2vw,46px);
  background:rgba(251,250,247,.82);border:1px solid rgba(27,26,24,.075)}
.auto-section-heading{display:flex;align-items:end;justify-content:space-between;gap:32px;margin-bottom:25px}
.auto-section-heading h2,.auto-request h2{font-size:clamp(29px,3.4vw,47px);line-height:1.08;margin:10px 0 0}
.auto-section-heading>p{max-width:460px;font-size:13px;color:#6f6962;line-height:1.65;margin:0}
.auto-parts-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.auto-part-card{padding:24px 20px 25px;border-radius:20px;background:#f5f1ec;
  border:1px solid rgba(27,26,24,.07);min-width:0}
.auto-part-image{width:100%;aspect-ratio:4/3;margin:0 0 20px;border-radius:15px;
  overflow:hidden;background:#f8f6f2;border:1px solid rgba(27,26,24,.07)}
.auto-part-image img{display:block;width:100%;height:100%;object-fit:cover}
.auto-part-card h3{font-size:clamp(17px,1.7vw,21px);line-height:1.18;margin:0 0 13px;font-weight:730}
.auto-part-card p{margin:0;font-size:13px;color:#68615b;line-height:1.65}
.auto-steps{background:#eae4dc}
.auto-steps-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.auto-steps-grid>div{padding:22px;background:rgba(255,255,255,.65);border-radius:18px}
.auto-steps-grid span{display:block;color:#d36e29;font-size:12px;font-weight:800;margin-bottom:16px}
.auto-steps-grid b{display:block;font-size:17px;margin-bottom:8px}
.auto-steps-grid p{color:#69635e;font-size:13px;line-height:1.6;margin:0}
.auto-safety-note{font-size:12px;line-height:1.55;color:#645e58;
  border-top:1px solid rgba(27,26,24,.12);padding:18px 3px 0;margin:24px 0 0}
.auto-request{display:grid;grid-template-columns:minmax(0,.75fr) minmax(0,1.25fr);align-items:start;gap:50px;
  background:radial-gradient(circle at 2% 6%,rgba(242,118,34,.065),transparent 27%),#f9f7f3}
.auto-request-intro{position:sticky;top:145px;min-width:0}
.auto-request-intro>p:not(.kicker){font-size:15px;color:#68625c;line-height:1.65;margin:20px 0 24px;max-width:400px}
.auto-form-hint{display:flex;flex-wrap:wrap;gap:8px}
.auto-form-hint span{font-size:11px;color:#615950;background:#eee8df;border-radius:999px;padding:8px 12px}
.auto-order-form{min-width:0;padding:clamp(20px,2.8vw,36px)}
.auto-order-form label{min-width:0;display:flex;flex-direction:column;gap:7px;font-size:13px}
.auto-order-form input:not([type=file]),.auto-order-form textarea,.auto-order-form select{
  display:block;width:100%;max-width:100%;border:1px solid #d7d0c7;background:#fff;border-radius:13px;
  color:#242320;padding:12px 14px;min-height:47px;outline-offset:2px}
.auto-order-form input:focus-visible,.auto-order-form textarea:focus-visible,.auto-order-form select:focus-visible{
  outline:2px solid rgba(242,118,34,.6);border-color:#ec9a63}
.auto-order-form textarea{resize:vertical;min-height:126px}
.auto-form-section-title{font-size:12px;font-weight:800;color:#d26822;padding-bottom:10px;
  border-bottom:1px solid #e8e1d8;margin-top:8px}
.auto-form-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.auto-upload{border:1.5px dashed #b8afa5;border-radius:16px;padding:20px;
  display:flex!important;flex-direction:row!important;align-items:center;gap:16px!important;
  background:#faf8f5;cursor:pointer;transition:border-color .2s,background .2s}
.auto-upload:hover{border-color:#e1874c;background:#fef9f4}
.auto-upload-icon{flex:0 0 40px;width:40px;height:40px;border-radius:12px;
  display:grid;place-items:center;color:#c36727;background:#f5e7dc;font-size:25px}
.auto-upload>span:nth-child(2){display:flex;flex-direction:column;gap:5px;min-width:0}
.auto-upload b{font-size:13px;color:#292622;font-weight:760}
.auto-upload small{font-size:11px;color:#746b64;line-height:1.4;overflow-wrap:anywhere}
.auto-upload input{position:absolute!important;width:1px!important;height:1px!important;
  opacity:0;pointer-events:none}
.auto-order-form button[type=submit]{min-height:49px}
.auto-order-form .form-note{margin:0;text-align:left}
/* Automotive catalog — visible empty state now, product cards from auto-products.json later */
.auto-page-main #auto-catalog{scroll-margin-top:140px}
.auto-catalog-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}
.auto-catalog-grid[hidden],.auto-catalog-empty[hidden]{display:none!important}
.auto-catalog-empty{display:flex;align-items:center;gap:20px;padding:23px 26px;
  border-radius:20px;background:#f6f2ec;border:1px solid #e9e1d7}
.auto-catalog-empty-icon{flex:0 0 64px;width:64px;height:64px;border-radius:17px;
  display:grid;place-items:center;background:#fff4e9;color:#cc6c2e;
  border:1px solid rgba(210,110,48,.15)}
.auto-catalog-empty-icon svg{width:39px;height:39px}
.auto-catalog-empty-copy{flex:1;min-width:0}
.auto-catalog-empty-copy h3{font-size:20px;margin:0 0 6px;color:#292521}
.auto-catalog-empty-copy p{color:#6a635c;font-size:13px;line-height:1.6;margin:0;max-width:650px}
.auto-catalog-empty-cta,.auto-catalog-order{display:inline-flex;align-items:center;justify-content:center;
  border:1px solid #ce712f;border-radius:12px;padding:12px 16px;
  font-size:12px;font-weight:740;color:#b85820;background:#fff9f3;text-decoration:none;
  transition:background .2s}
.auto-catalog-empty-cta:hover,.auto-catalog-order:hover{background:#ffebd9}
.auto-catalog-card{min-width:0;border-radius:19px;overflow:hidden;background:#fff;
  border:1px solid #e7e0d8;display:flex;flex-direction:column}
.auto-catalog-photo{position:relative;width:100%;aspect-ratio:4/3;background:#f0eae1;overflow:hidden}
.auto-catalog-photo img{display:block;width:100%;height:100%;object-fit:contain;padding:12px}
.auto-catalog-price{position:absolute;right:12px;top:12px;background:#fffaf3;
  border-radius:9px;padding:8px 11px;color:#a64c16;font-size:13px;font-weight:800;
  box-shadow:0 3px 13px rgba(30,20,10,.08)}
.auto-catalog-card-body{display:flex;flex-direction:column;flex:1;gap:10px;padding:20px}
.auto-catalog-car{color:#b65d20;font-size:11px;font-weight:750;line-height:1.4;margin:0}
.auto-catalog-card h3{font-size:20px;line-height:1.24;margin:0;color:#26221e}
.auto-catalog-description{font-size:13px;color:#68615a;line-height:1.6;margin:0}
.auto-catalog-material{font-size:11px;color:#766e66;margin:0}
.auto-catalog-card-footer{margin-top:auto;padding-top:12px;display:flex;align-items:center;
  justify-content:space-between;flex-wrap:wrap;gap:12px}
.auto-catalog-price-note{font-size:12px;color:#746b63}
@media(max-width:980px){.auto-catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){
  .auto-catalog-grid{grid-template-columns:1fr}
  .auto-catalog-empty{padding:19px;gap:13px;align-items:flex-start;flex-wrap:wrap}
  .auto-catalog-empty-icon{width:47px;height:47px;flex-basis:47px;border-radius:12px}
  .auto-catalog-empty-icon svg{width:30px;height:30px}
  .auto-catalog-empty-copy{flex:1 1 calc(100% - 75px)}
  .auto-catalog-empty-copy h3{font-size:18px}
  .auto-catalog-empty-cta{margin-left:60px}
}
.auto-page-main #auto-request{scroll-margin-top:145px}
@media(max-width:1080px){
  .auto-hero{gap:0;padding:40px 36px;grid-template-columns:minmax(0,1fr) minmax(0,.83fr);min-height:480px}
  .auto-hero h1{font-size:clamp(36px,5vw,58px)}
  .auto-parts-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .auto-request{gap:30px}
}
@media(max-width:760px){
  .auto-page-main{width:calc(100% - 18px);margin-top:14px}
  .auto-page-main .auto-back{margin-left:10px}
  .auto-hero{display:flex;flex-direction:column;align-items:stretch;gap:16px;padding:28px 24px 24px;min-height:0;border-radius:24px}
  .auto-hero h1{font-size:clamp(35px,8vw,51px)!important;line-height:1.06}
  .auto-lead{font-size:14px}
  .auto-hero-actions{margin-top:24px}
  .auto-hero-actions .btn{flex:1 1 170px}
  .auto-hero-trust{margin-top:23px}
  .auto-hero-art{max-height:none;aspect-ratio:4/3}
  .auto-section{margin-top:16px;border-radius:22px;padding:24px 18px}
  .auto-section-heading{display:block;margin-bottom:18px}
  .auto-section-heading>p{margin-top:13px}
  .auto-request{grid-template-columns:1fr;gap:24px}
  .auto-request-intro{position:static}
  .auto-order-form{padding:18px}
  .auto-page-main #auto-request{scroll-margin-top:160px}
}
@media(max-width:490px){
  .auto-parts-grid,.auto-steps-grid{grid-template-columns:1fr}
  .auto-part-card{padding:14px 14px 21px;display:flex;flex-direction:column;gap:0}
  .auto-part-image{margin-bottom:16px;border-radius:13px}
  .auto-part-card h3{font-size:19px;margin:0 0 9px}
  .auto-part-card p{font-size:13px}
  .auto-form-two{grid-template-columns:1fr;gap:14px}
  .auto-hero-actions .btn{width:100%}
  .auto-steps-grid>div{padding:19px}
}
