/* Thành Phát Mazda 2 Luxury Fresh – 0.9.0
   Only presentation changes; catalog, prices, forms, image policy and URLs remain unchanged.
   Responsive, light editorial surfaces with brand navy and warm champagne accents. */
:root{
  --m2-ink:#082a50;--m2-deep:#053667;--m2-night:#0a3d6a;
  --m2-gold:#e2ad29;--m2-gold-2:#ffda68;
  --m2-paper:#f5f8fd;--m2-text:#092b4e;--m2-muted:#526a84;
  --m2-line:#dce6f2;
  --m2-shadow:0 15px 35px rgba(21,59,95,.09);
}
body.tpma2-body{background:#f7f9fd;color:#0d2c4c;font-family:'Roboto',Arial,Helvetica,sans-serif;font-size:15px}
.tpma2-wrap{background:#f7f9fd}
.tpma2-container{max-width:1400px;padding-left:34px;padding-right:34px}
.tpma2-topline{background:linear-gradient(110deg,#04325b,#075280);color:#fff;font-size:11px;letter-spacing:.01em}
.tpma2-topline .tpma2-container{padding-top:10px;padding-bottom:10px}
.tpma2-dot{color:#fbd268}
.tpma2-header{background:rgba(255,255,255,.985);border-bottom:1px solid #e0e9f2;box-shadow:0 5px 24px rgba(2,35,64,.055)}
.tpma2-header-inner{min-height:84px;gap:24px}
.tpma2-header .tpma2-brand{position:relative;min-width:224px;max-width:252px;align-self:stretch;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#063460 15%,#06487b 100%);border-bottom-right-radius:20px;border-top-right-radius:2px;padding:10px 20px;margin-left:-16px}
.tpma2-header .tpma2-brand-logo{width:205px;max-height:67px;height:auto;object-fit:contain}
.tpma2-nav{font-size:13px;color:#14365c;gap:25px}
.tpma2-nav a{position:relative;transition:color .18s}
.tpma2-nav a:first-child:after{content:'';height:3px;background:#f3c641;position:absolute;bottom:-10px;left:0;right:0;border-radius:4px}
.tpma2-nav a:hover{color:#0d6aa8}
.tpma2-header-cta{border:1px solid #e9bc53;background:linear-gradient(135deg,#ffdc7a,#f3c044);color:#072f53!important;border-radius:10px;box-shadow:0 4px 15px #edc56044;padding:13px 19px;font-weight:800}
.tpma2-header-cta span{color:#073a6c}
.tpma2-header-cta:hover{background:#f3c044}
/* Hero: light editorial copy area and actual shop photography, without passing renders off as real */
.tpma2-hero{min-height:530px;background:linear-gradient(110deg,#eef6ff 0%,#f3f8ff 36%,#e7f4fb 69%,#e4f0f8 100%)}
.tpma2-hero:before{content:'';position:absolute;inset:0 55% 0 0;background:radial-gradient(ellipse at 15% 40%,#fff 3%,transparent 72%);opacity:.92}
.tpma2-hero:after{background:linear-gradient(to bottom,transparent,#ecf5fcaa);height:24px}
.tpma2-hero-glow{background:linear-gradient(135deg,transparent 40%,rgba(20,128,198,.08))}
.tpma2-hero-grid{min-height:530px;grid-template-columns:minmax(0,1fr) minmax(0,1.16fr)}
.tpma2-hero-copy{padding:60px 12px 68px 0}
.tpma2-eyebrow{background:#ffdc73;color:#0b3557;padding:7px 12px;border-radius:100px;display:inline-flex;align-items:center;font-size:12px;letter-spacing:.005em;margin-bottom:15px}
.tpma2-line{display:none}
.tpma2-overline{color:#155b8b;font-size:13px;letter-spacing:.06em;margin:13px 0 6px}
.tpma2-hero h1{color:#063a67;font-size:clamp(64px,6.6vw,104px);line-height:1.04;letter-spacing:-.053em;margin:5px 0 18px;font-weight:800}
.tpma2-hero h1 span{color:#f2b61a}
.tpma2-hero h2{color:#143957;font-size:22px;line-height:1.45;font-weight:700;margin-bottom:14px;max-width:580px}
.tpma2-hero-desc{color:#526780;font-size:15px;line-height:1.72;max-width:555px;margin-bottom:24px}
.tpma2-hero-note{color:#516d88;font-size:12px;margin-top:19px}
.tpma2-btn{border-radius:10px;min-height:50px;font-size:13px;box-shadow:none}
.tpma2-btn-gold{background:linear-gradient(135deg,#ffe28b,#f5c33c);color:#092a4b!important;box-shadow:0 8px 20px #edc55b40}
.tpma2-btn-outline{background:#fff;color:#093b68!important;border:1px solid #0b4c81;box-shadow:0 6px 18px #10558116}
.tpma2-btn:hover{filter:brightness(.98)}
.tpma2-hero-visual{min-height:470px}
.tpma2-hero-photo{inset:34px -33px 34px 14px;border-radius:32px 0 0 32px;overflow:hidden;box-shadow:0 20px 45px rgba(12,67,105,.18);mask-image:none;background:#ddeaf5}
.tpma2-hero-photo:before{content:'';position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,rgba(244,249,255,.14),transparent 32%),linear-gradient(0deg,rgba(0,38,63,.22),transparent 43%);pointer-events:none}
.tpma2-hero-photo img{object-position:center 51%;filter:saturate(1.02) contrast(1.015)}
.tpma2-hero-visual:after{display:none}
.tpma2-hero-tag{left:35px;bottom:55px;border-left:3px solid #f0c655;background:#083654e0;color:#fff;border-radius:0 9px 9px 0;padding:10px 18px}
.tpma2-hero-tag b{font-weight:700}
.tpma2-photo-credit{right:1px;bottom:12px;background:#06263dbb;color:#fff}
/* Trust strip */
.tpma2-facts{background:#fff;border-bottom:1px solid #e0e8f1;color:#13395d}
.tpma2-facts-grid{padding-top:22px;padding-bottom:22px}
.tpma2-facts-grid>div{min-width:0;padding:2px 15px;justify-content:center;flex-wrap:wrap;column-gap:8px;row-gap:0;border-color:#d9e5f1;text-align:center}
.tpma2-facts b{font-size:17px;color:#0a3b67;line-height:1.3}
.tpma2-facts span{font-size:11px;color:#6b8096}
/* Product collection first, as approved in the mockup */
.tpma2-catalog{padding-top:62px;padding-bottom:86px}
.tpma2-section-head{margin-bottom:25px}
.tpma2-section-head h2,.tpma2-vehicle h2,.tpma2-steps h2,.tpma2-contact h2{color:#093b67;font-size:clamp(29px,3vw,41px);font-weight:800}
.tpma2-section-head h2 span,.tpma2-vehicle h2 span,.tpma2-steps h2 span,.tpma2-contact h2 span{color:#e9b12b}
.tpma2-kicker{color:#bc8624;letter-spacing:.065em;font-size:11px;font-weight:800}
.tpma2-section-head p:not(.tpma2-kicker),.tpma2-vehicle p:not(.tpma2-kicker){color:#6b8093;font-size:14px;line-height:1.7;max-width:860px}
.tpma2-catalog-total b{color:#0c5182}
.tpma2-catalog-total small{color:#617b93}
.tpma2-toolbar{margin-bottom:23px;align-items:stretch}
.tpma2-filters{align-items:stretch;gap:8px;flex:1}
.tpma2-filter{background:#fff;border:1px solid #d7e3ef;border-radius:9px;padding:11px 15px;color:#153a60;font-size:12px;font-weight:700;box-shadow:0 3px 10px #12375a09;transition:.15s}
.tpma2-filter.is-active,.tpma2-filter:hover{background:#07477d;color:#fff;border-color:#07477d}
.tpma2-search input{background:#fff;border:1px solid #d1dfea;border-radius:9px;color:#102f54;box-shadow:0 3px 12px #173f6210;min-height:46px}
.tpma2-search input::placeholder{color:#8296a8}
.tpma2-search span{color:#2d6594}
.tpma2-products-grid{gap:19px}
.tpma2-card{background:#fff;border:1px solid #e1e8f0;border-radius:15px;box-shadow:var(--m2-shadow);overflow:hidden;transition:transform .2s,box-shadow .2s,border-color .2s}
.tpma2-card:hover{transform:translateY(-4px);border-color:#bad0e5;box-shadow:0 18px 44px #17395d28}
.tpma2-card-photo{background:#e5eef7;aspect-ratio:1.2}
.tpma2-card-photo img{object-fit:cover}
.tpma2-card-no{color:#153a59;background:#ffe08a;border:1px solid #eec762;border-radius:6px;font-size:10px;font-weight:700;box-shadow:0 3px 8px #25334022}
.tpma2-card-body{padding:17px 16px 17px}
.tpma2-cat{color:#9f7623;font-size:10px;margin-bottom:5px}
.tpma2-card-title{color:#082c4d;font-size:16px;min-height:49px;margin-bottom:8px}
.tpma2-card-desc{color:#5d7087;font-size:12px;line-height:1.65;margin-bottom:14px}
.tpma2-card-price{color:#d01226;font-size:21px;font-weight:800;margin-bottom:13px}
.tpma2-card-actions{gap:8px}
.tpma2-card-actions button{background:#fff;color:#0e4270;border:1px solid #c6d7e7;border-radius:8px;padding:10px 5px;white-space:normal}
.tpma2-card-actions .tpma2-add{color:#163246;background:linear-gradient(135deg,#ffdd7e,#f7c54c);border-color:#e9c15c}
.tpma2-card-actions .tpma2-add.is-selected{color:#15553c;background:#e4f7eb;border-color:#92cdb0}
.tpma2-card-photo.tpma2-no-image{background:linear-gradient(140deg,#e9f4fb,#d8e9f7)}
.tpma2-glyph{filter:none;opacity:.6}
.tpma2-image-pending{color:#4c718e;background:#fffdfedc;border-radius:5px;padding:2px 6px}
.tpma2-empty{color:#60788d}
/* Vehicle choice as a quiet light-blue panel */
.tpma2-vehicle{max-width:1332px;padding:35px 34px;margin-top:0;margin-bottom:70px;border:1px solid #d3e4f1;border-radius:20px;background:linear-gradient(110deg,#eaf4fc,#e4f1ff);box-shadow:0 13px 35px #0f548112}
.tpma2-vehicle h2{font-size:30px}
.tpma2-vehicle-form label{color:#245171;font-size:12px}
.tpma2-vehicle-form select,.tpma2-vehicle-form input{background:#fff;color:#0e3757;border:1px solid #c7dbe9;border-radius:8px}
.tpma2-vehicle-form input::placeholder{color:#7590a3}
/* Combo: bright cards with a featured soft-gold treatment */
.tpma2-combos{padding:74px 0 80px;background:#eff6fd;border-top:1px solid #e0eaf3;border-bottom:1px solid #e0eaf3}
.tpma2-combo-card{min-height:286px;background:#fff;border:1px solid #dfe7ef;color:#163952;box-shadow:var(--m2-shadow);border-radius:16px}
.tpma2-combo-featured{background:linear-gradient(155deg,#fffdf6,#fff8e8);border-color:#edcc84;box-shadow:0 16px 36px #c19b4320}
.tpma2-combo-card h3{color:#073d6a;font-size:21px}
.tpma2-combo-card p{color:#5e7388;font-size:13px}
.tpma2-combo-no{color:#bf8c29}
.tpma2-combo-price{color:#d21b2e}
.tpma2-combo-select{background:#073f6e;color:#fff;border:1px solid #073f6e;border-radius:8px}
.tpma2-combo-select:hover{background:#0e619b;color:#fff}
.tpma2-textlink{color:#07548a;border-color:#e1b34b}
/* How it works, form and footer */
.tpma2-steps{background:#fff;color:#123a5d;border-top:1px solid #ebf0f6}
.tpma2-steps h2{color:#08395f}
.tpma2-steps p{color:#597184}
.tpma2-step-grid>div{border-color:#cbdce9}
.tpma2-contact{background:linear-gradient(120deg,#074473,#0a5e91 65%,#116d99);color:#fff}
.tpma2-contact h2{color:#fff}
.tpma2-contact h2 span{color:#ffdb81}
.tpma2-contact .tpma2-kicker{color:#ffdc8a}
.tpma2-contact p,.tpma2-contact-list{color:#d9e8f3}
.tpma2-form{background:#fff;color:#0d365a;border:1px solid #dfe7ef;box-shadow:0 24px 50px #022f4a40;border-radius:16px}
.tpma2-form h3{color:#073c6c}
.tpma2-form label{color:#274969}
.tpma2-form input:not([type=checkbox]),.tpma2-form select,.tpma2-form textarea{background:#f7faff;color:#153b5b;border-color:#cadce9;border-radius:8px}
.tpma2-form input::placeholder,.tpma2-form textarea::placeholder{color:#8596a9}
.tpma2-form-selected{color:#3b5671;border-color:#b4cce1}
.tpma2-form-selected strong{color:#0a5485}
.tpma2-form .tpma2-consent{color:#486077}
.tpma2-status{color:#176349}
.tpma2-footer{background:#073252;border-top:1px solid #175d85}
.tpma2-footer p{color:#a9c3d4}
/* Functional overlays kept light and legible */
.tpma2-cartbar{background:#fff;border:1px solid #e2c06f;color:#0c3559;box-shadow:0 18px 52px #10396036}
.tpma2-cartbar span{color:#6a8092}
.tpma2-cartbar strong{color:#d31529}
.tpma2-cartbar button{background:#f8cf69;color:#0a3453}
.tpma2-drawer{background:#fff;color:#123654;border-left:1px solid #d4e4f2}
.tpma2-drawer-head{border-color:#dce7f1}
.tpma2-drawer-head small{color:#a77b2b}
.tpma2-drawer-items{color:#1d4867}
.tpma2-cart-item{border-color:#dbe7f2}
.tpma2-cart-item small{color:#b21d2e}
.tpma2-cart-item button{color:#b42232}
.tpma2-drawer-foot{border-color:#dce7f0}
.tpma2-sum strong{color:#d21d2b}
.tpma2-drawer-foot p{color:#6b7f91}
.tpma2-modal-panel{background:#fff;border:1px solid #c7dbe8;color:#092d4f;box-shadow:0 24px 90px #02284065;border-radius:18px}
.tpma2-gallery-area{background:#eaf2f9}
.tpma2-modal-image{background:#f0f5fa}
.tpma2-gallery-thumb{background:#fff;border-radius:8px}
.tpma2-gallery-thumb.is-active{border-color:#e0a936}
.tpma2-modal-content h2{color:#0b385f}
.tpma2-modal-price{color:#d31326}
.tpma2-modal-content p:not(.tpma2-kicker){color:#546e82}
.tpma2-modal-content .tpma2-modal-warning{color:#93652a!important;border-color:#dde7ef}
.tpma2-modal-evidence{color:#93652a!important}
.tpma2-long-description{color:#415d73}
.tpma2-close{color:#174469!important}
/* No disruption of existing Core form, nav, product filtering, JS selectors */
@media(max-width:1090px){
 .tpma2-header-inner{gap:12px}.tpma2-nav{gap:13px}
 .tpma2-hero-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
 .tpma2-hero h1{font-size:64px}.tpma2-hero h2{font-size:19px}
}
@media(max-width:800px){
 .tpma2-container{padding-left:22px;padding-right:22px}
 .tpma2-topline .tpma2-container{justify-content:center;text-align:center}
 .tpma2-header-inner{min-height:74px}
 .tpma2-header .tpma2-brand{margin-left:-22px;min-width:170px;max-width:190px;border-bottom-right-radius:14px;padding:9px 14px}
 .tpma2-header .tpma2-brand-logo{width:175px;max-height:62px}
 .tpma2-hero-grid{grid-template-columns:1fr;min-height:0}
 .tpma2-hero-copy{padding:52px 0 28px}
 .tpma2-hero h1{font-size:clamp(52px,9vw,82px)}
 .tpma2-hero-visual{height:350px;min-height:350px}
 .tpma2-hero-photo{inset:0 -22px 16px -22px;border-radius:20px 20px 0 0;mask-image:none}
 .tpma2-hero-tag{bottom:35px;left:14px}
 .tpma2-photo-credit{right:6px;bottom:17px}
 .tpma2-facts-grid{grid-template-columns:repeat(2,1fr);gap:15px}
 .tpma2-facts-grid>div{justify-content:flex-start;text-align:left;border-right:0}
 .tpma2-vehicle{margin-left:22px;margin-right:22px}
 .tpma2-combos{padding:58px 0}
 .tpma2-catalog{padding-top:50px}
}
@media(max-width:520px){
 .tpma2-container{padding-left:16px;padding-right:16px}
 .tpma2-topline{font-size:10px;letter-spacing:0}
 .tpma2-topline .tpma2-container{padding-top:7px;padding-bottom:7px}
 .tpma2-header-inner{min-height:67px}
 .tpma2-header .tpma2-brand{min-width:147px;max-width:165px;margin-left:-16px;padding:8px 10px}
 .tpma2-header .tpma2-brand-logo{width:147px;max-height:54px}
 .tpma2-header-cta{padding:10px 11px;font-size:11px;white-space:nowrap;border-radius:8px}
 .tpma2-hero-copy{padding:35px 0 18px}
 .tpma2-eyebrow{font-size:11px;padding:6px 10px}
 .tpma2-overline{font-size:11px;margin-top:9px}
 .tpma2-hero h1{font-size:clamp(52px,13vw,69px);margin:8px 0 12px}
 .tpma2-hero h2{font-size:17px;line-height:1.4}
 .tpma2-hero-desc{font-size:13px;line-height:1.7}
 .tpma2-hero-actions{gap:9px}
 .tpma2-btn{font-size:12px;padding:12px 12px;gap:9px}
 .tpma2-hero-visual{height:260px;min-height:260px}
 .tpma2-hero-photo{inset:0 -16px 16px -16px;border-radius:10px 10px 0 0}
 .tpma2-hero-tag{bottom:27px;left:9px;padding:6px 11px}
 .tpma2-hero-tag b{font-size:15px}
 .tpma2-photo-credit{font-size:9px}
 .tpma2-hero-note{font-size:11px}
 .tpma2-facts-grid{gap:9px;padding-top:18px;padding-bottom:18px}
 .tpma2-facts-grid>div{padding:2px 4px;display:flex;flex-direction:column;gap:3px;align-items:flex-start}
 .tpma2-facts b{font-size:14px}.tpma2-facts span{font-size:11px}
 .tpma2-catalog{padding-top:42px;padding-bottom:54px}
 .tpma2-section-head h2,.tpma2-vehicle h2,.tpma2-steps h2,.tpma2-contact h2{font-size:29px}
 .tpma2-card-photo{aspect-ratio:1}
 .tpma2-products-grid{gap:10px}
 .tpma2-card-body{padding:12px 10px}
 .tpma2-card-title{font-size:13px;min-height:55px}
 .tpma2-card-price{font-size:17px}
 .tpma2-card-actions button{font-size:12px;padding:9px 4px;line-height:1.35}
 .tpma2-card-no,.tpma2-image-pending{font-size:10px}
 .tpma2-filter{padding:10px 13px;font-size:12px}
 .tpma2-vehicle{margin-left:16px;margin-right:16px;padding:23px 16px;margin-bottom:53px}
 .tpma2-vehicle-form label{font-size:11px}
 .tpma2-combo-grid{grid-template-columns:1fr}
 .tpma2-combo-grid .tpma2-combo-card:last-child{grid-column:auto}
 .tpma2-combo-card{min-height:0;padding:23px}
 .tpma2-form{padding:22px 16px}
 .tpma2-modal{padding:10px}
 .tpma2-modal-panel{max-height:92vh}
 .tpma2-modal-image{height:215px;min-height:0}
 .tpma2-modal-content{padding:24px 18px}
 .tpma2-cartbar{width:calc(100% - 20px)}
}
@media(prefers-reduced-motion:reduce){.tpma2-card:hover{transform:none}}
