/*
Theme Name: Âu Lạc Chuồng Bò
Version: 0.1.80
Requires PHP: 8.1
Text Domain: aulac-chuong-bo
*/
@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:wght@400;500;600;700;800&display=swap');
:root{--blue:#093eaf;--ink:#102647;--yellow:#ffd43b}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:100px}body{margin:0;color:var(--ink);font-family:'Be Vietnam Pro',Arial,sans-serif;font-size:15px;line-height:1.7}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button,a,summary{ -webkit-tap-highlight-color:transparent}button{cursor:pointer}header{height:100px;display:flex;align-items:center;justify-content:space-between;padding:0 5%;background:white;position:sticky;top:0;z-index:20;border-bottom:1px solid #e5eaf2}.brand{display:flex;align-items:center;gap:17px;color:var(--blue)}.brand img{width:48px;height:55px;object-fit:contain}.brand b{font-size:26px;letter-spacing:1px}.brand small{display:block;font-size:10px;letter-spacing:1.6px;font-weight:700}nav{display:flex;gap:30px;font-weight:600}.headercall{font-size:18px;color:var(--blue);font-weight:800}.headercall small{display:block;font-size:12px;text-align:right}.hamb{display:none}.drop{position:relative}.drop>div{display:none;position:absolute;background:white;min-width:210px;padding:10px;box-shadow:0 8px 30px #10264722}.drop:hover>div,.drop:focus-within>div{display:grid}.drop>div a{padding:8px}.hero{height:650px;position:relative;color:white}.slide{position:absolute;inset:0;background-size:cover;background-position:center;opacity:0;transition:opacity .8s;pointer-events:none}.slide.active{opacity:1;pointer-events:auto}.herocopy{padding:90px 6%;max-width:900px}.eyebrow{font-size:11px;font-weight:700;letter-spacing:2px}.blue{color:var(--blue)}h1{font-size:clamp(32px,4.3vw,65px);line-height:1.18;letter-spacing:-2px;margin:25px 0}h1 span:nth-child(2){color:var(--yellow)}.herocopy p{max-width:490px;color:#dfe7f7;font-size:17px;margin-bottom:30px}.button{display:inline-block;background:var(--blue);color:white;padding:14px 24px;font-size:13px;font-weight:700;border:0;border-radius:4px}.yellow{background:var(--yellow);color:#102647}.textlink{display:inline-block;font-weight:600;margin:15px 20px;font-size:13px}.photolabel{position:absolute;right:5%;bottom:100px;font-size:10px;letter-spacing:2px}.slidebar{position:absolute;bottom:0;left:6%;right:6%;display:flex;border-top:1px solid #ffffff44}.slidebar button{color:#bac6db;background:none;border:0;border-top:3px solid transparent;padding:22px 20px;text-align:left;flex:1;font-size:12px}.slidebar button.selected{border-color:var(--yellow);color:white}.slidebar button:last-child{flex:0}.trust{display:flex;justify-content:space-around;padding:25px 5%;background:#f0f4fb;font-size:11px;font-weight:700;letter-spacing:1px}.section{padding:95px 7%}h2{font-size:clamp(28px,3vw,44px);line-height:1.35;letter-spacing:-1.3px;margin:18px 0 25px}em{font-style:normal;color:var(--blue)}p{color:#64738b}.about,.selector,.video{display:grid;grid-template-columns:1fr 1fr;gap:8%;align-items:center}.about p{max-width:520px}.photo{border:0;padding:0;position:relative;background:transparent;overflow:hidden;width:100%}.photo img{display:block;width:100%;height:370px;object-fit:cover}.photo span{position:absolute;bottom:0;left:0;right:0;background:#092952cc;padding:15px;color:white;font-size:10px;letter-spacing:1px}.tinted{background:#f5f7fb}.sectionhead{display:flex;justify-content:space-between;align-items:end}.tabs{display:flex;border-bottom:1px solid #d5dfed;margin:25px 0 40px}.tabs button{border:0;background:transparent;padding:18px 25px;color:#64738b;border-bottom:3px solid transparent;font-weight:600}.tabs .selected{color:var(--blue);border-color:var(--blue)}.product{display:grid;grid-template-columns:1.1fr 1fr;gap:6%;align-items:center}h3{font-size:25px;line-height:1.4}.spec{padding:16px 0;border-bottom:1px solid #dce3ed;display:flex;justify-content:space-between;gap:20px}.video{background:#0c2751;color:white}.video p{color:#b4c6e1}.video iframe{width:280px;height:498px;border:0;border-radius:12px;justify-self:center}.calc{padding:35px;background:#f2f5fb;border-radius:8px}label{display:block;font-size:12px;font-weight:600;margin-bottom:15px}input,select,textarea{width:100%;padding:12px;border:1px solid #d4deec;background:white;color:var(--ink);border-radius:4px;margin-top:6px}textarea{min-height:130px}.result{background:white;padding:20px;margin:20px 0}.result b{font-size:32px;display:block;color:var(--blue)}.result span{font-size:12px}.articles{display:grid;grid-template-columns:repeat(3,1fr);gap:25px}.article{background:white;border:1px solid #e2e8f1}.article img{width:100%;height:220px;object-fit:cover}.article>div{padding:25px}.article h3{font-size:20px}.article small{color:var(--blue);font-size:10px}.article b{font-size:12px;color:var(--blue)}details{border-bottom:1px solid #dce3ed;padding:22px 0}summary{cursor:pointer;font-weight:600}.contact{background:var(--blue);padding:70px 7%;color:white}.contact h2{font-size:clamp(36px,5vw,65px)}.contact em{color:var(--yellow)}.contact>a{display:inline-block;margin-right:35px;font-size:23px;font-weight:700}.contact p{color:#d1dfff}footer{display:flex;justify-content:space-between;padding:30px 7%;font-size:11px}.mobilebar{display:none}.lightbox{position:fixed;inset:0;background:#000d;z-index:100;display:grid;place-items:center;padding:30px}.lightbox img{max-width:95vw;max-height:85vh}.lightbox button{position:absolute;right:20px;top:15px;padding:8px 20px}.admin{max-width:1100px;margin:40px auto;padding:20px}.adminnav{display:flex;gap:10px;flex-wrap:wrap;margin:25px 0}.adminnav button{padding:10px 20px;border:1px solid #d5deec;background:#eff4ff}.editcard{padding:25px;border:1px solid #d5deec;margin:20px 0;background:#f8faff}.editcard img{max-height:120px;max-width:100%}.status{position:sticky;top:0;background:#fff4b8;padding:10px;z-index:30}.post{max-width:820px;margin:auto;padding:60px 25px}.post img{max-width:100%;max-height:450px;object-fit:cover}.post .body{white-space:pre-wrap}.tags{display:flex;gap:10px;flex-wrap:wrap}.tags span{background:#eff4ff;padding:5px 12px;font-size:12px}
@media(max-width:900px){header{height:80px;padding:0 5%}.brand b{font-size:22px}.brand small{font-size:8px}.brand img{width:36px;height:43px}.headercall{display:none}.hamb{display:block;border:0;background:#f0f4fb;padding:8px 12px;color:var(--blue)}nav{display:none;position:absolute;top:80px;left:0;right:0;background:white;padding:25px}nav.open{display:grid}.drop>div{position:static;display:grid;box-shadow:none;font-size:13px;padding-left:15px}.hero{height:610px}.herocopy{padding:70px 6%}h1{letter-spacing:-1px}.herocopy p{font-size:15px;max-width:85%}.slidebar{left:4%;right:4%}.slidebar button{font-size:10px;padding:15px 7px}.photolabel{bottom:90px}.trust{gap:15px;font-size:8px;text-align:center}.section{padding:60px 6%}.about,.selector,.video,.product{grid-template-columns:1fr;gap:30px}.sectionhead{display:block}.tabs button{font-size:11px;padding:13px 10px;flex:1}.photo img{height:290px}.articles{grid-template-columns:1fr}.video iframe{max-width:100%;height:490px}.contact>a{font-size:19px;display:block;margin:12px 0}.contact{padding:55px 6%}footer{display:grid;gap:15px;padding-bottom:90px}.mobilebar{display:flex;position:fixed;bottom:0;left:0;right:0;z-index:30;background:white;box-shadow:0 -3px 20px #0001;padding:10px;gap:8px}.mobilebar a{flex:1;text-align:center;padding:10px;background:#edf3ff;color:var(--blue);font-size:12px;font-weight:700}.mobilebar a:last-child{background:var(--blue);color:white}.calc{padding:22px}.textlink{margin-left:0;margin-right:20px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.slide{transition:none}}
nav{font-weight:800}.headercall{display:flex;align-items:center;gap:10px}.company-footer{display:block;background:#073078;color:white;padding:55px 7% 30px}.footer-brand{display:flex;align-items:center;gap:20px}.footer-brand img{width:55px;height:55px;object-fit:contain;filter:brightness(0) invert(1)}.footer-brand b{font-size:20px}.footer-brand span{display:block;font-size:12px;color:#b9cdeb}.company-footer h2{font-size:26px;max-width:850px;line-height:1.6;letter-spacing:.3px}.company-footer h2 strong{color:#ffd43b}.footer-columns{display:grid;grid-template-columns:1fr 1.2fr 1fr;gap:45px}.footer-columns h3{font-size:16px}.footer-columns p,.footer-columns a{color:#d0def2;font-size:13px}.footer-columns a{display:block;margin-bottom:7px}.footer-social{display:flex;flex-wrap:wrap;gap:25px;margin-top:30px;border-top:1px solid #ffffff33;padding-top:25px}.footer-social a{font-size:13px}.hero .slide:nth-child(2){background-position:center}.hero .slide:nth-child(3){background-position:center}.photolabel{font-size:9px}
@media(max-width:900px){.headercall{display:none}.footer-columns{grid-template-columns:1fr;gap:12px}.company-footer{padding:40px 6% 100px}.company-footer h2{font-size:21px}.footer-brand b{font-size:16px}.footer-social{gap:18px}.photolabel{font-size:8px;right:6%;max-width:85%}}
.hero{height:730px;background:#093eaf}.herocopy{padding-top:64px;max-width:1050px}.herocopy h1{font-size:clamp(35px,4.1vw,62px);line-height:1.23;letter-spacing:-1.6px}.hero .herocopy h1 span:nth-child(2){color:white}.herocopy .eyebrow{border-left:4px solid #ffd43b;padding-left:15px;letter-spacing:1.2px;font-size:13px}.herocopy p{max-width:570px;margin-bottom:20px}.hero-specs{display:flex;gap:9px;flex-wrap:wrap;max-width:740px;margin:20px 0 26px}.hero-specs span{padding:8px 13px;border:1px solid #ffffff66;border-radius:30px;background:#154bb14d;font-size:12px;color:white}.hero .button{border-radius:40px;padding:16px 25px}.hero .textlink{border:1px solid #ffffff66;border-radius:40px;padding:14px 20px;margin-left:15px}.photolabel{text-transform:none}.slidebar{background:transparent}.hero .slide{background-position:center}
@media(max-width:900px){.hero{height:760px}.herocopy{padding-top:45px}.herocopy h1{font-size:clamp(32px,7vw,46px);letter-spacing:-.8px}.herocopy p{max-width:100%;font-size:14px}.herocopy .eyebrow{font-size:10px}.hero-specs{gap:7px;margin-bottom:22px}.hero-specs span{font-size:10px;padding:6px 10px}.hero .textlink{margin-left:0;margin-top:12px}.hero .button{font-size:12px}.photolabel{bottom:90px}.slidebar button{padding-top:16px;padding-bottom:16px}}
.language-switch{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:700;white-space:nowrap}.language-switch a{padding:4px 6px;color:#6d7c91}.language-switch a[aria-current=page]{color:#093eaf;background:#eef3ff;border-radius:4px}.footer-social a{display:grid;place-items:center;border:1px solid #ffffff55;width:46px;height:46px;border-radius:50%}.footer-social a:hover{background:#ffffff22}.hero{height:700px;background:#093eaf}.hero .slide{background:none!important;display:grid;grid-template-columns:46% 54%;align-items:center}.hero-media{grid-column:2;grid-row:1;width:100%;padding:0 3% 80px 0}.hero-media img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:contain;background:#0a3591;border-radius:6px}.herocopy{grid-column:1;grid-row:1;padding:35px 5% 90px 12%;max-width:none}.herocopy h1{font-size:clamp(30px,3.3vw,51px)}.herocopy p{font-size:15px}.hero-specs span{font-size:11px}.hero .textlink{margin-left:0}.photolabel{right:4%;bottom:90px;max-width:50%;text-align:right}.headercall{font-size:16px}nav{gap:22px}
@media(max-width:1050px){.headercall{display:none}.hero{height:730px}.herocopy h1{font-size:36px}}
@media(max-width:900px){.language-switch{margin-left:auto;margin-right:12px}.hamb{order:4}.hero{height:auto;min-height:0;padding-bottom:72px}.hero .slide{display:none;position:relative;opacity:1;grid-template-columns:1fr}.hero .slide.active{display:flex;flex-direction:column}.hero-media{padding:0;width:100%;order:0;background:#092c78}.hero-media img{width:100%;height:auto;aspect-ratio:16/9;object-fit:contain;border-radius:0}.herocopy{padding:28px 6% 35px;order:1;width:100%}.herocopy h1{font-size:32px;margin:18px 0;min-height:80px}.herocopy p{min-height:72px;font-size:14px}.hero-specs{margin:18px 0}.hero .button{padding:13px 18px}.hero .textlink{margin:12px 0 0;padding:11px 18px}.slidebar{left:4%;right:4%;height:70px;align-items:stretch}.slidebar button{font-size:9px}.photolabel{position:static;order:2;max-width:100%;padding:0 6% 12px;font-size:8px;text-align:left;width:100%}.brand{gap:10px}.brand b{font-size:20px}.brand small{font-size:7px}}
/* Full-bleed, device-specific hero images. Images never use cover cropping. */
.hero{height:auto;aspect-ratio:16/9;min-height:680px;padding:0;isolation:isolate;background:#093eaf}.hero .slide,.hero .slide.active{display:block;position:absolute;inset:0;overflow:hidden}.hero .slide{opacity:0;pointer-events:none}.hero .slide.active{opacity:1;pointer-events:auto}.hero-picture{position:absolute;inset:0;display:block;background:#093eaf}.hero-picture img{display:block;width:100%;height:100%;object-fit:contain;object-position:center;border-radius:0}.hero .slide:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,rgba(3,39,144,.97),rgba(5,49,162,.84) 40%,rgba(5,49,162,.23) 100%);pointer-events:none}.herocopy{position:relative;z-index:2;padding:clamp(40px,5vw,90px) 6% 120px;max-width:850px;width:65%;grid-column:auto;grid-row:auto}.herocopy h1{font-size:clamp(36px,4.1vw,66px);line-height:1.18}.herocopy p{font-size:16px;max-width:590px}.hero-specs{max-width:640px}.hero .textlink{margin-left:12px}.photolabel{position:absolute;z-index:2;bottom:95px;right:5%;max-width:45%;padding:0;text-align:right}.slidebar{z-index:4;height:auto;left:6%;right:6%}.hero-picture img{max-width:none}
@media(min-width:1700px){.herocopy{padding-top:100px;max-width:1030px}.herocopy h1{font-size:72px}}
@media(max-width:1050px) and (min-width:901px){.herocopy{width:77%;padding-top:55px}.herocopy h1{font-size:43px}.hero .textlink{margin-left:0}}
@media(max-width:900px){.hero{aspect-ratio:auto;height:auto;min-height:990px;padding:0}.hero .slide,.hero .slide.active{display:block;position:absolute;inset:0}.hero .slide:not(.active){visibility:hidden}.hero-picture{inset:0;background:#093eaf}.hero-picture img{width:100%;height:auto;aspect-ratio:9/16;object-fit:contain;object-position:top center}.hero .slide:after{background:linear-gradient(180deg,rgba(5,49,162,.08) 0%,rgba(5,49,162,.16) 22%,rgba(5,49,162,.80) 35%,rgba(5,49,162,.97) 57%,#093eaf 77%)}.herocopy{padding:320px 6% 115px;width:100%;max-width:none;z-index:2}.herocopy h1{font-size:clamp(30px,7.7vw,42px);line-height:1.2;min-height:0;margin:20px 0}.herocopy p{font-size:14px;min-height:0;margin-bottom:20px;max-width:100%}.hero .herocopy .eyebrow{font-size:10px;letter-spacing:.8px}.hero-specs{margin:18px 0 22px;gap:7px}.hero-specs span{font-size:10px;padding:7px 11px}.hero .button,.hero .textlink{font-size:11px;padding:13px 17px;line-height:1.5}.hero .textlink{margin:10px 0 0}.photolabel{position:absolute;bottom:87px;left:6%;right:6%;max-width:88%;font-size:7px;text-align:left}.slidebar{height:70px;left:4%;right:4%}.slidebar button{font-size:9px;line-height:1.6;padding:15px 7px}.slidebar button:last-child{min-width:25px}.slidebar button{border-top-width:3px}}
@media(max-width:360px){.hero{min-height:1030px}.herocopy{padding-top:295px}.hero .textlink{display:table}.herocopy h1{font-size:29px}}
@media(min-width:600px) and (max-width:900px){.hero{min-height:1170px}.herocopy{padding-top:490px;max-width:680px}.herocopy h1{font-size:43px}.herocopy p{font-size:16px}}
header nav{margin-left:auto;margin-right:30px}header>.language-switch{margin-left:auto;margin-right:16px;gap:6px}header>.headercall{flex-shrink:0}.language-switch a{display:inline-flex;align-items:center;justify-content:center;padding:6px;border-radius:5px}.language-flag{width:24px;height:16px;display:block;object-fit:contain;border-radius:2px;box-shadow:0 0 0 1px #10264722}.language-switch a[aria-current=page]{box-shadow:0 0 0 1px #093eaf55}.language-switch a:hover{background:#eaf0ff}
@media(max-width:900px){header nav{margin:0}header>.language-switch{margin-left:auto;margin-right:12px}.language-switch a{padding:5px}.language-flag{width:23px;height:16px}}
/* Readable action labels and compact mobile company/video headings. */
button,.button,.textlink,.mobilebar a{font-weight:800}.button,.textlink{font-size:15px}.hero .button,.hero .textlink{font-size:15px;font-weight:800}.tabs button{font-weight:800}.company-footer h2{color:#fff;font-size:20px;white-space:nowrap;letter-spacing:0;line-height:1.5;max-width:100%}.company-footer h2 strong,.company-footer h2 span{color:#fff}.video h2{white-space:nowrap;font-size:clamp(20px,2.4vw,36px);letter-spacing:-.7px}
@media(max-width:900px){.company-footer h2{font-size:clamp(9px,2.58vw,19px);letter-spacing:-.18px;margin-top:24px;margin-bottom:28px;white-space:nowrap}.hero .button,.hero .textlink,.button,.textlink{font-size:14px;font-weight:800}.mobilebar a{font-size:14px;font-weight:800}.tabs button{font-size:12px;font-weight:800}.video{display:block;padding-bottom:0}.video h2{font-size:clamp(16px,4.55vw,32px);white-space:nowrap;letter-spacing:-.55px}.video>div{margin-bottom:26px}.video iframe{display:block;width:100vw;max-width:none;height:auto;aspect-ratio:9/16;margin-left:-6vw;justify-self:auto;border-radius:0}.hero .textlink{margin-left:0}.hero .button{margin-right:8px}}
@media(max-width:900px){.video{padding-left:0;padding-right:0}.video>div{padding-left:6%;padding-right:6%}.video iframe{width:100%;max-width:100%;margin-left:0}}

/* Compact desktop video, product gallery and square editorial covers */
@media(min-width:901px){.video.section{padding-top:38px;padding-bottom:38px;min-height:0}.video iframe{width:198px;height:352px}.video>div{max-width:620px}}
.article img{height:auto!important;aspect-ratio:1/1;object-fit:cover}.gallery{min-width:0}.gallery-main{position:relative;background:#eef2f8}.gallery-main img{display:block;width:100%;height:360px;object-fit:contain}.gallery-prev,.gallery-next{position:absolute;top:45%;width:44px;height:48px;background:#fff;color:#103eac;border:1px solid #dbe3ef;font-size:32px;line-height:1;cursor:pointer}.gallery-prev{left:10px}.gallery-next{right:10px}.gallery-count{position:absolute;bottom:12px;right:12px;background:#103eac;color:white;padding:3px 10px;border-radius:20px;font-size:12px}.gallery-thumbs{display:flex;gap:8px;margin-top:10px;overflow-x:auto}.gallery-thumbs button{flex:0 0 66px;padding:2px;border:2px solid transparent;background:white;cursor:pointer}.gallery-thumbs button[aria-pressed=true]{border-color:#103eac}.gallery-thumbs img{width:58px;height:58px;object-fit:cover}.gallery-caption{font-size:13px;color:#52627b}.product-description{white-space:pre-wrap;line-height:1.8}.product-comments-wrap{padding:0 7% 36px}.customer-comments{margin-top:28px;border-top:1px solid #dbe3ef;padding-top:16px}.comments-toggle{width:100%;display:flex;justify-content:space-between;gap:15px;text-align:left;background:#eef3ff;color:#123d9e;padding:16px;border:0;font-weight:800;cursor:pointer}.customer-comments iframe{display:block;margin-top:18px;max-width:100%}.customer-comments p{font-size:13px}.media-meta{padding:14px;border:1px solid #d8e0ed;margin-top:10px}.admin .media-meta img{width:100px;height:80px;object-fit:contain}.square-preview{aspect-ratio:1;object-fit:cover;width:180px}.product-seo-details{margin-top:20px}@media(max-width:900px){.gallery-main img{height:auto;aspect-ratio:4/3}.product-comments-wrap{padding:0 6% 30px}}

.customer-feedback{margin:20px 0;padding:20px;background:#f3f6fc;border-left:3px solid #1242ad;color:#122f57}.customer-feedback img{display:block;max-width:100%;max-height:420px;object-fit:contain}.customer-comments>div>.button{margin-top:16px}.product-page h1{font-size:clamp(28px,5vw,44px)}.product-detail-link{text-decoration:underline;font-weight:700}

.comments-content{padding:18px 0}.comment-form{margin-top:24px;max-width:700px}.comment-form label{display:block;margin:14px 0;font-weight:700}.comment-form input,.comment-form textarea{display:block;width:100%;box-sizing:border-box;margin-top:7px;padding:12px;border:1px solid #bcc9dc;border-radius:6px;background:white;color:#122f57;font:inherit}.comment-form textarea{resize:vertical}.comment-form p{line-height:1.6}.comment-form button:disabled{opacity:.6;cursor:wait}.comment-honeypot{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}.customer-feedback p{white-space:pre-wrap;overflow-wrap:anywhere}.customer-feedback time{display:block;color:#52627b;font-size:12px;margin-top:4px}

/* Mobile knowledge cards: one full card per swipe. */
.news-swipe-hint{display:none}
@media(max-width:900px){
 #knowledge .articles{display:flex;gap:16px;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scroll-behavior:smooth;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;scrollbar-width:none;align-items:stretch;width:100%;min-width:0}
 #knowledge .articles::-webkit-scrollbar{display:none}
 #knowledge .article{flex:0 0 100%;width:100%;min-width:0;scroll-snap-align:start;scroll-snap-stop:always}
 #knowledge .article img{display:block;width:100%;aspect-ratio:1/1;object-fit:cover}
 .news-swipe-hint{display:block;color:var(--blue);font-size:12px;margin:12px 0 0}
}
@media(prefers-reduced-motion:reduce){#knowledge .articles{scroll-behavior:auto}}

/* Approved product information and quote cart */
.product-information{min-width:0}.product-information .spec{display:flex;justify-content:space-between;gap:20px;padding:16px 0;border-bottom:1px solid #dbe2ee}.product-information .spec b{text-align:right}.product-details-heading{font-size:23px;line-height:1.4;margin:30px 0 18px;color:var(--ink)}.product-information .product-description{font-size:15px;line-height:1.85}.product-advice-note{color:#64748f;font-size:14px;margin:24px 0}.purchase-options{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:18px 0}.purchase-options label{display:block;font-size:13px;font-weight:700}.purchase-options select,.purchase-options input{display:block;width:100%;margin-top:6px;min-height:44px;border:1px solid #bdcbe0;border-radius:4px;padding:9px;background:white;color:var(--ink)}.purchase-actions{display:flex;flex-wrap:wrap;gap:12px;align-items:stretch}.purchase-actions .button{display:flex;align-items:center;justify-content:center;text-align:center;font-size:15px;font-weight:800;min-height:50px;padding:14px 20px;flex:1 1 180px}.cart-feedback{font-size:13px;min-height:22px;margin-top:10px}.cart-feedback a{font-weight:800;text-decoration:underline;color:var(--blue)}.cart-shortcut{position:fixed;right:20px;bottom:24px;background:#ffd43b;color:#102647;padding:10px 18px;border-radius:26px;font-size:14px;font-weight:800;box-shadow:0 3px 18px #10264725;z-index:29}.cart-page h1{font-size:clamp(28px,5vw,42px)}.cart-page h2{font-size:24px;margin-top:30px}.cart-row{display:grid;grid-template-columns:120px 1fr;gap:20px;padding:22px 0;border-bottom:1px solid #dbe2ee}.cart-row img{width:120px;height:110px;object-fit:contain}.cart-row p{margin:5px 0 12px}.cart-row label{font-size:13px;font-weight:700}.cart-row input{display:inline-block;width:85px;margin-left:10px;padding:8px;border:1px solid #bdcbe0}.cart-remove{display:block;border:0;background:none;padding:8px 0;color:var(--blue);font-size:13px;text-decoration:underline}.quote-text{display:block;width:100%;padding:15px;border:1px solid #bdcbe0;background:#f5f8ff;color:var(--ink);margin-bottom:18px;resize:vertical;font-size:14px;line-height:1.7}.product-page>.tags{margin:24px 0}.product-page .product-details-heading{font-size:26px}
@media(max-width:900px){.cart-shortcut{bottom:85px;right:12px;font-size:12px}.cart-page{padding-bottom:80px}.product-information .spec{font-size:14px;padding:14px 0}.product-information .spec b{max-width:65%;overflow-wrap:anywhere}.purchase-actions{gap:10px}.purchase-actions .button{flex:1 1 140px;font-size:13px;padding:13px 10px}.product-details-heading{font-size:21px}.cart-row{grid-template-columns:80px 1fr;gap:15px}.cart-row img{width:80px;height:85px}.product-information .product-description{font-size:14px}}

/* Product image aligned with summary and action baseline. */
.description-two-lines{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.description-toggle{display:inline-block;background:none;border:0;color:var(--blue);font-size:14px;font-weight:800;padding:8px 0;text-decoration:underline;cursor:pointer}
@media(min-width:901px){
 #products .product{grid-template-columns:1.12fr 1fr;align-items:start;column-gap:5%;row-gap:12px}
 #products .product>.gallery{display:block;min-width:0}
 #products .product .gallery-main{position:relative;aspect-ratio:4/3;min-height:0;height:auto;overflow:hidden}
 #products .product .gallery-main>.gallery-open{position:absolute;inset:0}
 #products .product .gallery-main img{display:block;position:absolute;inset:0;width:100%;height:100%;object-fit:contain}
 #products .product .gallery-thumbs{margin-top:12px}
 #products .product .gallery-caption{margin:8px 0 0}
 #products .product-summary{display:block;min-width:0}
 #products .product-summary>h3{margin:16px 0 18px}
 #products .product-summary .product-information{display:block}
 #products .product-summary .product-details-heading{margin:22px 0 12px}
 #products .product-summary .product-advice-note{margin:14px 0}
 #products .product-summary .purchase{position:relative;margin-top:0}
 #products .product-summary .purchase-options{margin:12px 0}
 #products .product-summary .cart-feedback{position:static;margin:8px 0 0;min-height:22px}
 #video.video.section{padding-top:76px;padding-bottom:76px;min-height:560px}
 #video.video iframe{width:min(100%,360px);height:auto;aspect-ratio:9/16}
}

/* Shared detail-page navigation and related editorial content. */
:is(.related-news,.related-products){margin-top:48px;padding-top:30px;border-top:1px solid #dbe2ee}:is(.related-news,.related-products) h2{font-size:28px;line-height:1.35;margin:0 0 24px}.post :is(.related-news,.related-products) .articles{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.post :is(.related-news,.related-products) .article{min-width:0}.post :is(.related-news,.related-products) .article img{display:block;width:100%;max-height:none;aspect-ratio:1/1;object-fit:cover}.post :is(.related-news,.related-products) .article>div{padding:18px}.post :is(.related-news,.related-products) h3{font-size:19px;line-height:1.5;margin:0 0 12px}.post :is(.related-news,.related-products) p{font-size:14px;line-height:1.7}.post :is(.related-news,.related-products) b{font-size:14px;color:var(--blue)}
@media(max-width:900px){.post :is(.related-news,.related-products) .articles{display:flex;gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;scrollbar-width:none}.post :is(.related-news,.related-products) .article{flex:0 0 100%;scroll-snap-align:start;scroll-snap-stop:always}:is(.related-news,.related-products) h2{font-size:24px}.post h1{font-size:clamp(28px,7vw,40px)!important;line-height:1.3}.post{overflow-wrap:anywhere}}

.location-map{display:grid;grid-template-columns:.85fr 1.35fr;align-items:center;gap:6%;background:#f4f7fc}.location-map h2{font-size:clamp(28px,3vw,42px);margin:18px 0;line-height:1.3}.location-map p{color:#52627b;max-width:460px}.map-actions{display:flex;gap:20px;align-items:center;flex-wrap:wrap;margin-top:24px}.map-phone{font-weight:800;color:var(--blue);white-space:nowrap}.map-frame{min-width:0}.map-frame iframe{display:block;width:100%;height:400px;border:0;border-radius:10px;background:#e7edf6}.map-fallback{display:inline-block;margin-top:10px;color:var(--blue);font-weight:700;font-size:13px;text-decoration:underline}@media(max-width:900px){.location-map{grid-template-columns:1fr;gap:28px}.map-frame iframe{height:320px}.map-actions .button{font-size:14px}}

/* Full-width mobile map and compact rounded directions button. */
.location-map .map-actions .button{padding:8px 16px;border-radius:12px;font-size:13px;line-height:1.6}
@media(max-width:900px){
 .section.location-map{padding-left:0;padding-right:0;padding-bottom:28px}
 .location-map .map-copy{padding-left:6%;padding-right:6%}
 .location-map .map-frame{width:100%;min-width:0}
 .location-map .map-frame iframe{width:100%;max-width:100%;border-radius:0}
 .location-map .map-fallback{margin-left:6%;margin-right:6%}
}

/* Compact, readable mobile footer. */
@media(max-width:900px){
 .company-footer{padding:30px 6% calc(154px + env(safe-area-inset-bottom));}
 .company-footer .footer-brand{gap:13px;align-items:center}
 .company-footer .footer-brand img{width:42px;height:42px;flex:0 0 42px}
 .company-footer .footer-brand b{display:block;font-size:15px;line-height:1.45}
 .company-footer .footer-brand span{font-size:11px;line-height:1.6;margin-top:3px}
 .company-footer h2{white-space:normal;font-size:16px;line-height:1.65;letter-spacing:0;margin:20px 0;padding:18px 0 0;border-top:1px solid #ffffff29;text-wrap:balance;font-weight:800}
 .company-footer h2>span{display:block;font-size:11px;letter-spacing:1.1px;line-height:1.6;margin-bottom:4px;color:#bdd0eb}
 .company-footer h2 strong{color:#fff;white-space:nowrap}
 .company-footer .footer-columns{display:grid;grid-template-columns:1fr;gap:12px}
 .company-footer .footer-columns>section{padding:16px;border:1px solid #ffffff24;border-radius:12px;background:#ffffff08;min-width:0}
 .company-footer .footer-columns h3{font-size:14px;line-height:1.45;margin:0 0 7px;color:#fff;font-weight:800}
 .company-footer .footer-columns p{font-size:13px;line-height:1.75;margin:0;color:#cbdaf0}
 .company-footer .footer-columns a{font-size:14px;line-height:1.8;margin:3px 0 0;color:#d9e5f7}
 .company-footer .footer-columns a strong{font-weight:800;color:white}
 .company-footer .footer-social{margin-top:20px;padding-top:20px;display:flex;justify-content:center;gap:16px;flex-wrap:wrap}
 .company-footer .footer-social a{width:42px;height:42px;flex:0 0 42px}
 .cart-shortcut{font-size:11px;padding:8px 13px;right:12px;bottom:calc(84px + env(safe-area-inset-bottom));box-shadow:0 3px 14px #10264720}
 .mobilebar{padding-bottom:calc(10px + env(safe-area-inset-bottom))}
}

.company-footer h2.company-name{max-width:none;text-align:center;white-space:nowrap;font-weight:800;color:#fff;text-wrap:nowrap;font-size:clamp(14px,1.6vw,22px)}
@media(max-width:900px){.company-footer h2.company-name{font-size:clamp(8px,2.45vw,20px);letter-spacing:0;line-height:1.6;margin:20px 0;padding-top:18px;text-align:center;white-space:nowrap;font-weight:800}}

/* Pointer interactions: subtle brand feedback without changing layout. */
.article-image{display:block;overflow:hidden;aspect-ratio:1/1}
.article-image img{display:block}
@media(hover:hover) and (pointer:fine){
 header nav>a,header nav>.drop>a{position:relative;transition:color .22s ease}
 header nav>a::after,header nav>.drop>a::after{content:"";position:absolute;left:0;right:0;bottom:-7px;height:2px;background:var(--blue);transform:scaleX(0);transform-origin:left;transition:transform .22s ease}
 header nav>a:hover,header nav>.drop:hover>a,header nav a:focus-visible{color:var(--blue)}
 header nav>a:hover::after,header nav>.drop:hover>a::after,header nav>a:focus-visible::after{transform:scaleX(1)}
 header nav .drop>div a{border-radius:5px;transition:background .2s ease,color .2s ease,transform .2s ease}
 header nav .drop>div a:hover,header nav .drop>div a:focus-visible{background:#edf3ff;color:var(--blue);transform:translateX(3px)}
 .article-image img,.gallery-main img,.photo img{transition:transform .45s cubic-bezier(.2,.65,.3,1)}
 .article:hover .article-image img,.article:focus-visible .article-image img{transform:scale(1.035)}
 .gallery-main{overflow:hidden}
 .gallery-main>a:hover img{transform:scale(1.025)}
 .photo{overflow:hidden}
 .photo:hover img{transform:scale(1.03)}
}
@media(prefers-reduced-motion:reduce){header nav a,header nav a::after,.article-image img,.gallery-main img,.photo img{transition:none!important;transform:none!important}}

/* Square texture photo, responsive on both layouts. */
#about .photo{aspect-ratio:1/1;align-self:start}#about .photo img{width:100%;height:100%;aspect-ratio:1/1;object-fit:cover}


#about .about-copy p {
  max-width: none;
  overflow-wrap: anywhere;
}

@media (min-width: 901px) {
  #about {
    grid-template-columns: minmax(0, 1.18fr) minmax(0, 1fr);
    gap: clamp(32px, 5vw, 88px);
  }

  #about .about-copy {
    max-width: 68ch;
  }

  #about .about-gallery {
    width: min(100%, 720px);
    justify-self: end;
    align-self: center;
  }
}

#about .about-copy img { max-width: 100%; height: auto; }
.article-tags { margin: 24px 0; }
.article-tags h2 { margin: 0 0 8px; font-size: 1rem; }
.article-tags ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.article-tags :is(a, span) { display: block; padding: 4px 10px; border-radius: 20px; background: #eef3fa; color: #12365b; }
.article-tags a:hover, .article-tags a:focus-visible { text-decoration: underline; background: #dfeaf9; }

.about-gallery { min-width: 0; position: relative; }
.about-gallery .photo { display: block; }
.about-gallery .photo img { animation: about-image-in .3s ease-out; }
@keyframes about-image-in { from { opacity: .45; transform: scale(1.025); } }
.about-gallery-controls {
  position: absolute; bottom: 12px; right: 12px;
  display: flex; align-items: center; gap: 8px;
  background: #102647; color: #fff; border-radius: 22px; padding: 3px 5px;
}
.about-gallery-controls button {
  width: 36px; height: 36px; border: 0; border-radius: 50%;
  background: transparent; color: inherit; font-size: 1.3rem;
}
.about-gallery-controls button:hover { background: #ffffff26; }
.about-gallery-controls button:focus-visible { outline: 2px solid #fff; }
@media (prefers-reduced-motion: reduce) {
  .about-gallery .photo img { animation: none; }
}

.aulac-desktop-contact { display: none; }
@media (min-width: 901px) {
  .aulac-desktop-contact {
    position: fixed; right: 20px; bottom: 84px; z-index: 28;
    display: flex; flex-direction: column; align-items: center; gap: 10px;
  }
  .aulac-desktop-contact a {
    display: grid; place-items: center; width: 48px; height: 48px;
    border-radius: 50%; color: #fff; font-size: 14px; font-weight: 800;
    box-shadow: 0 3px 14px #10264740;
    transition: transform .18s ease;
  }
  .aulac-desktop-contact a:hover { transform: translateY(-3px); }
  .aulac-desktop-contact a:focus-visible { outline: 2px solid #102647; outline-offset: 3px; }
  .aulac-contact-zalo { background: #0067cf; }
  .aulac-contact-messenger { background: #0070cf; }
  .aulac-contact-phone { background: #c91b25; }
}
@media (prefers-reduced-motion: reduce) {
  .aulac-desktop-contact a { transition: none; }
  .aulac-desktop-contact a:hover { transform: none; }
}

.about-toggle { display: none; }
.gallery-main .gallery-open {
  display: block; width: 100%; padding: 0; border: 0;
  background: transparent; cursor: zoom-in;
}
.gallery-open:focus-visible { outline: 2px solid #103eac; outline-offset: -3px; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .gallery-open:hover img { transform: scale(1.025); }
}
.product-image-dialog {
  width: 100%; max-width: none; height: 100%; max-height: none;
  margin: 0; padding: 60px 16px 20px; box-sizing: border-box;
  border: 0; background: transparent;
}
.product-image-dialog[open] { display: grid; place-items: center; }
.product-image-dialog::backdrop { background: rgb(0 0 0 / 87%); }
.product-image-dialog img {
  display: block; width: auto; height: auto; max-width: 100%;
  max-height: calc(100dvh - 80px); object-fit: contain;
}
.product-image-dialog button {
  position: absolute; top: 10px; right: 12px; width: 44px; height: 44px;
  padding: 0; border: 0; border-radius: 50%; background: #fff;
  color: #102647; font-size: 28px; line-height: 1;
}
html:has(.product-image-dialog[open]) { overflow: hidden; }
.section-number { display: none; }
.gallery .gallery-prev, .gallery .gallery-next {
  top: 50%; transform: translateY(-50%); background: transparent; border: 0;
  color: #fff; text-shadow: 0 1px 5px #000, 0 0 2px #000;
}
@media (max-width: 900px) {
  #about { row-gap: 8px; }
  .about-copy[data-expanded="false"] > :not(:first-child) { display: none; }
  .about-copy:has(> :nth-child(2)) + .about-toggle {
    display: inline-flex; align-items: center; gap: 4px; min-height: 32px;
    padding: 0; border: 0; background: transparent; color: #103eac;
    font-size: .85rem; font-weight: 700;
  }
  .about-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
}

.mobile-home-hero{
  --mobile-hero-blue:#1948ad;
  position:relative;isolation:isolate;background:var(--mobile-hero-blue);color:#fff;
}
.mobile-home-hero>img{
  position:absolute;inset:0;z-index:-2;display:block;width:100%;height:100%;
  object-fit:cover;object-position:center 56%;opacity:0;transition:opacity .6s ease;
}
.mobile-home-hero>img.is-active{opacity:1}
@media(prefers-reduced-motion:reduce){.mobile-home-hero>img{transition:none}}
.mobile-home-hero::before{
  content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
  background:linear-gradient(to bottom,
    rgb(25 72 173 / 0) 28%,rgb(25 72 173 / .10) 37%,
    rgb(25 72 173 / .38) 48%,rgb(25 72 173 / .70) 58%,
    rgb(25 72 173 / .88) 73%,var(--mobile-hero-blue) 88%);
}
.mobile-home-copy{padding:calc(56.25vw + 28px) 6% 25px}
.mobile-home-copy .eyebrow{display:block;font-size:10px;letter-spacing:.09em;color:#fff}
.mobile-home-copy h1{font-size:clamp(26px,6.7vw,42px);line-height:1.2;margin:4px 0 6px;color:#fff}
.mobile-home-copy p{font-size:14px;line-height:1.6;margin:0 0 16px;color:#edf3ff}
.mobile-home-copy .button{display:inline-flex;align-items:center;min-height:44px;padding:10px 15px;border-radius:12px}
.mobile-product-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;padding:12px 5%;background:#fff}
.mobile-product-choices a{
  display:grid;place-items:center;text-align:center;min-height:44px;padding:6px;
  border:1px solid #bacdf6;border-radius:10px;background:#e7efff;color:#093eaf;
  box-shadow:0 2px 5px rgb(9 62 175 / .13);
  font-size:clamp(11px,3vw,15px);font-weight:800;line-height:1.4;
}
.mobile-product-choices a:active{background:#d5e4ff}
.product-spec-link{display:inline-block;color:#093eaf;font-weight:750;text-decoration:underline;text-underline-offset:3px}

.gallery-open{touch-action:pan-y pinch-zoom}
@media(prefers-reduced-motion:no-preference){
  .gallery-open img{animation:aulac-gallery-fade .2s ease-out}
  @keyframes aulac-gallery-fade{from{opacity:.72}to{opacity:1}}
}
@media(min-width:901px){
  .post.product-page:has(.dairy-product-layout){max-width:1160px}
  .dairy-product-layout{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:clamp(24px,4vw,52px);align-items:start}
}

.mobile-banner-titles{display:grid;align-items:end}
.mobile-banner-titles>div{grid-area:1/1;visibility:hidden}
.mobile-banner-titles>div.is-active{visibility:visible}
.mobile-product-choices a:focus-visible{outline:2px solid #093eaf;outline-offset:2px}
.mobile-product-choices a:active{
  background:#093eaf;color:#fff;border-color:#093eaf;
  box-shadow:0 5px 12px rgb(9 62 175 / .25);
}
@media(prefers-reduced-motion:no-preference){
  .mobile-banner-titles>div.is-active{animation:aulac-banner-title-in .35s ease-out}
  @keyframes aulac-banner-title-in{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}
  .mobile-product-choices a{transition:transform .16s ease,background-color .16s ease,box-shadow .16s ease,color .16s ease}
  .mobile-product-choices a:active{transform:scale(.95)}
}

@media(max-width:900px){
  .product-information .product-description-html{white-space:normal}
  .product-information .product-description-html :is(h1,h2,h3,h4,h5,h6){margin:16px 0 8px}
  .product-information .product-description-html :is(p,ul,ol){margin:0 0 12px}
  .product-information .product-description-html>:first-child{margin-top:0}
  .product-information .product-description-html>:last-child{margin-bottom:0}
}

.product-information .product-description-html table {
  width: 100%;
  table-layout: fixed;
  border: 0;
  border-collapse: collapse;
  white-space: normal;
}
.product-information .product-description-html table :is(th,td) {
  padding: 0.8em 0.5em;
  border: 0;
  border-bottom: 1px solid #dbe2ee;
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
}
.product-information .product-description-html table tr > :first-child {
  padding-left: 0;
}
.product-information .product-description-html table tr > :first-child:not([colspan]) {
  width: 45%;
}
.product-information .product-description-html table tr > :last-child {
  padding-right: 0;
}
.product-information .product-description-html table > :is(tbody,tfoot):last-child > tr:last-child > :is(th,td) {
  border-bottom: 0;
}

@media (width > 900px) {
  .news-post > h1 {
    font-size: clamp(32px, 3.5vw, 42px);
    line-height: 1.2;
    letter-spacing: -0.025em;
    margin: 20px 0 16px;
  }
  .news-post > .body {
    white-space: normal;
  }
  .news-post > .body :is(h2,h3) {
    line-height: 1.3;
    letter-spacing: -0.02em;
    margin: 28px 0 12px;
  }
  .news-post > .body h2 { font-size: 28px; }
  .news-post > .body h3 { font-size: 22px; }
  .news-post > .body p { margin: 0 0 16px; }
  .news-post > img { margin-block: 22px; }
  .news-post > .body figure { margin: 22px auto; }
}

.news-post > .body :is(figcaption, .wp-caption-text) {
  margin-top: 8px;
  text-align: center;
}

.news-post > img,
.news-post > .body img {
  display: block;
  width: 100% !important;
  height: auto;
  max-width: 100%;
  max-height: none;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  margin-inline: auto;
}
.news-post > .body :is(figure, .wp-caption):has(img) {
  width: 100% !important;
  max-width: 100%;
  margin-inline: auto;
}

.dealer-menu-link[aria-current="page"] { color: var(--blue); text-decoration: underline; text-underline-offset: 6px; }
.dealer-page { padding-bottom: 56px; }
.dealer-wrap { max-width: 1300px; margin: auto; padding-inline: clamp(20px, 5vw, 56px); }
.dealer-intro { background: #f3f7fe; padding: clamp(30px, 6vw, 72px) 0; }
.dealer-intro h1 { font-size: clamp(32px, 5vw, 54px); margin: 12px 0; }
.dealer-intro label { display: block; font-weight: 700; margin: 22px 0 6px; }
.dealer-intro input { width: min(100%, 520px); min-height: 48px; padding: 10px 15px; border: 1px solid #b5c5de; border-radius: 8px; color: var(--ink); background: white; }
.dealer-directory { padding-top: 24px; }
.dealer-directory h2 { font-size: clamp(24px, 3vw, 32px); margin-bottom: 4px; }
.dealer-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.dealer-card { background: white; border: 1px solid #dce5f1; border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; min-width: 0; overflow-wrap: anywhere; }
.dealer-card img { display: block; width: 100%; aspect-ratio: 2 / 1; object-fit: cover; }
.dealer-card-body { padding: 20px; display: flex; flex: 1; flex-direction: column; }
.dealer-card h3 { margin: 0 0 8px; font-size: 21px; }
.dealer-card p { margin: 0 0 8px; }
.dealer-info { white-space: pre-line; }
.dealer-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 10px; }
.dealer-actions a { display: inline-flex; align-items: center; min-height: 44px; padding: 6px 14px; border-radius: 8px; font-weight: 700; color: var(--blue); background: #eef4ff; }
.dealer-actions a[href^="tel:"] { color: white; background: var(--blue); }
@media (max-width: 900px) {
  .dealer-page { padding-bottom: 110px; }
}
@media (max-width: 900px) {
  .dealer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .dealer-grid { grid-template-columns: 1fr; }
}

.video-intro { display: grid; grid-template-columns: 1fr 1.1fr; gap: 30px; align-items: center; }
.video-intro iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 12px; background: var(--ink); }
.video-card { padding: 0; color: var(--ink); text-align: left; }
.video-card[aria-pressed="true"] { border-color: var(--blue); }
.video-thumb { position: relative; display: block; width: 100%; }
.video-thumb img { aspect-ratio: 16 / 9; }
.video-thumb span { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); border-radius: 10px; background: #c91626; color: white; padding: 7px 15px; }
.video-page .dealer-grid { margin-top: 18px; }
@media (max-width: 780px) { .video-intro { grid-template-columns: 1fr; } }

.topic-archive { padding-top: 32px; padding-bottom: 60px; }
.topic-archive h1 { font-size: clamp(30px, 4vw, 48px); margin: 14px 0 8px; overflow-wrap: anywhere; }
.topic-back, .topic-read { color: var(--blue); font-weight: 700; }
.topic-back:hover, .topic-card a:hover .topic-read { text-decoration: underline; }
.topic-card a { display: flex; flex: 1; flex-direction: column; }
.topic-card a:focus-visible { outline: 3px solid var(--blue); outline-offset: -3px; }
.topic-card h2 { font-size: 20px; line-height: 1.35; margin: 0 0 9px; letter-spacing: normal; }
.topic-read { margin-top: auto; padding-top: 8px; }
.topic-archive .pagination { position: static; display: block; margin-top: 24px; padding: 0; background: transparent; }
.topic-archive .pagination .page-numbers { display: inline-block; padding: 4px 8px; }

.campaign-promo {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding: 16px 6%;
  background: #ffd43b;
  color: #102647;
}
.campaign-promo strong { font-size: clamp(18px, 2.3vw, 30px); }
.campaign-promo .button { background: #093eaf; color: #fff; }
.campaign-dealer {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: 0;
  color: #fff;
  background: #103d9f;
}
.campaign-dealer picture, .campaign-dealer::before {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.campaign-dealer picture img { display: block; width: 100%; height: 100%; object-fit: cover; }
.campaign-dealer::before {
  content: '';
  z-index: -1;
  background: linear-gradient(90deg, #103d9f 12%, rgba(16, 61, 159, .94) 39%, rgba(16, 61, 159, .08) 100%);
}
.campaign-dealer-copy { align-self: end; padding: 24px 6% clamp(36px, 5vw, 80px); overflow-wrap: anywhere; }
.campaign-dealer-copy h2 { color: inherit; margin: 0; font-size: clamp(28px, 4vw, 54px); }
.campaign-dealer-copy p { color: inherit; margin: 10px 0 20px; }
.dealer-application {
  width: min(520px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  padding: 26px;
  border: 0;
  border-radius: 16px;
  color: #102647;
  background: #fff;
}
.dealer-application::backdrop { background: rgba(11, 24, 46, .65); }
.dealer-application h2 { margin: 0 32px 14px 0; font-size: 25px; }
.dealer-application-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
}
.dealer-application form, .dealer-application label { display: grid; gap: 8px; }
.dealer-application form { gap: 14px; }
.dealer-application label input {
  width: 100%;
  padding: 11px;
  border: 1px solid #a9b8cc;
  border-radius: 8px;
  font: inherit;
  font-size: 16px;
}
@media (max-width: 700px) {
  .campaign-dealer { align-items: end; min-height: min(150vw, 80vh); min-height: min(150vw, 80svh); }
  .campaign-dealer::before { background: linear-gradient(0deg, #103d9f 5%, rgba(16, 61, 159, .9) 42%, rgba(16, 61, 159, .04) 100%); }
  .campaign-dealer-copy { padding-block: 22px 16px; }
}

@media (min-width: 701px) {
  .campaign-dealer { aspect-ratio: 3 / 1; }
}

.dealer-popup {
  width: min(720px, calc(100% - 32px));
  padding: 0;
}
.dealer-popup .dealer-application-close { z-index: 1; color: #102647; background: #fff; }
.dealer-popup-image { display: block; width: 100%; padding: 0; border: 0; background: #103d9f; cursor: pointer; }
.dealer-popup-image img { display: block; width: 100%; height: auto; max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); object-fit: contain; }

.mat-selector-frame {
  overflow: hidden;
  border: 1px solid #dbe4f4;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 16px 42px #10264718;
}
.mat-selector-frame h2 {
  margin: 0;
  padding: clamp(24px, 4vw, 54px);
  text-align: center;
  color: #fff;
  background: radial-gradient(circle, #ffffff24 1px, transparent 2px) 0 0 / 12px 12px, linear-gradient(120deg, #123fa4, #082b7f);
}
.mat-selector-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: clamp(16px, 3vw, 34px);
}
.mat-selector-steps fieldset {
  min-width: 0;
  margin: 0;
  padding: 12px;
  border: 1px solid #dbe4f4;
  border-radius: 16px;
}
.mat-selector-steps legend {
  padding: 0 5px;
  color: var(--blue);
  font-weight: 800;
}
.mat-choice {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 9px;
  margin-bottom: 8px;
  border: 1px solid #c9d5e8;
  border-radius: 10px;
  cursor: pointer;
}
.mat-choice:last-child { margin-bottom: 0; }
.mat-choice:has(:checked) {
  background: #e5efff;
  border-color: var(--blue);
  color: var(--blue);
}
.mat-choice input { accent-color: var(--blue); }
.mat-choice small, .mat-summary small { display: block; }
.mat-stepper {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  align-items: stretch;
  border: 1px solid #c9d5e8;
  border-radius: 10px;
}
.mat-stepper button, .mat-stepper input {
  min-width: 0;
  min-height: 44px;
  border: 0;
  border-radius: 9px;
  text-align: center;
  font: inherit;
  font-weight: 800;
}
.mat-stepper button { background: #e5efff; color: var(--blue); cursor: pointer; }
.mat-stepper button:disabled { opacity: .5; cursor: default; }
.mat-selector-steps p { margin: 10px 0 0; }
.mat-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: clamp(16px, 3vw, 34px);
  background: #e0efff;
}
.mat-summary strong {
  display: inline-block;
  margin-inline-start: 10px;
  color: var(--blue);
  font-size: clamp(26px, 5vw, 54px);
  line-height: 1.15;
  overflow-wrap: anywhere;
}
.mat-summary .mat-zalo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #123fa4;
  color: #fff;
  transition: background-color .15s, transform .15s;
}
.mat-zalo-icon { border: 1px solid currentColor; border-radius: 50%; padding: 4px; font-size: 12px; }
.mat-summary .mat-zalo:hover { background: #10368d; }
.mat-summary .mat-zalo:active { background: #082866; transform: scale(.97); }
@media (max-width: 760px) {
  .mat-selector-steps { grid-template-columns: 1fr; }
  .mat-animal-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; }
  .mat-animal-options .mat-choice { flex-direction: column; margin: 0; text-align: center; font-size: 13px; }
  .mat-summary { display: grid; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  .mat-summary .mat-zalo { transition: none; }
  .mat-summary .mat-zalo:active { transform: none; }
}

.mat-selector-frame h2 {
  background-color: #0627bd;
  background-image: conic-gradient(from 30deg, #1048dc 60deg, transparent 0 180deg, #173bd0 0 240deg, transparent 0), linear-gradient(120deg,#032acb,#0621a1);
  background-size: 30px 26px, auto;
}
.mat-selector-steps fieldset { position: relative; padding-top: 48px; }
.mat-selector-steps legend { position: absolute; top: 12px; left: 12px; padding: 0; }
.mat-choice { position: relative; padding: 12px; font-weight: 800; }
.mat-choice input { position: absolute; opacity: 0; }
.mat-choice:focus-within { outline: 2px solid var(--blue); outline-offset: 2px; }
.mat-animal-icon { width: 42px; height: 34px; flex: none; }
.mat-choice-mark { width: 21px; height: 21px; margin-inline-start: auto; border: 2px solid #9aa6bb; border-radius: 50%; flex: none; }
.mat-choice:has(:checked) .mat-choice-mark { background: var(--blue); border-color: var(--blue); color: #fff; display: grid; place-items: center; }
.mat-choice:has(:checked) .mat-choice-mark::before { content: '✓'; font-size: 14px; line-height: 1; }
.mat-animal-options .mat-choice:has(:checked) { background: #062ac6; color: #fff; }
.mat-animal-options .mat-choice:has(:checked) .mat-choice-mark { background: #fff; border-color: #fff; color: #062ac6; }
.mat-stepper input { font-size: clamp(24px,4vw,44px); }
.mat-selector-steps fieldset:last-child p { text-align: center; }
.mat-summary { background: #d4eaff; }
.mat-summary .mat-zalo { border-radius: 16px; box-shadow: 0 3px 6px #10264730; }
@media (min-width: 950px) {
  .mat-summary > div { display:flex; align-items:center; gap:12px; }
  .mat-summary strong { margin:0; }
  .mat-summary small { border-inline-start:1px solid #85b6ec; padding-inline-start:12px; }
}
@media (max-width: 760px) {
  .mat-animal-options .mat-choice { padding: 8px 3px; gap:4px; }
  .mat-animal-icon { width: 34px; height: 29px; }
  .mat-animal-options .mat-choice-mark { display:none; }
  .mat-animal-options .mat-choice:has(:checked) .mat-choice-mark { position:absolute; top:4px; right:4px; width:15px; height:15px; }
  .mat-animal-options .mat-choice-mark::before { font-size:10px; }
}

@media (max-width: 900px) {
  .section.mat-selector { padding-inline: 6px; padding-bottom: 24px; }
  .mat-selector-frame { border-radius: 16px; }
  .mat-selector-frame h2 {
    padding: 12px 10px;
    background: #2454ae;
    font-size: clamp(19px, 5.3vw, 25px);
    line-height: 1.15;
  }
  .mat-selector-steps { grid-template-columns: minmax(0, 1fr); padding: 10px 8px clamp(18px, 4svh, 36px); gap: clamp(10px, 2svh, 20px); }
  .mat-selector-steps fieldset { padding: 28px 8px 6px; border-radius: 12px; }
  .mat-selector-steps legend { top: 6px; left: 8px; font-size: 14px; }
  .mat-choice { min-height: 44px; margin-bottom: 4px; padding: 4px 8px; line-height: 1.2; font-size: 14px; }
  .mat-animal-options .mat-choice { padding-block: 4px; gap: 2px; }
  .mat-animal-icon { height: 23px; }
  .mat-selector-steps p { margin: 3px 0 0; font-size: 12px; }
  .mat-summary {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    padding: 12px 10px;
    gap: 10px;
    text-align: start;
  }
  .mat-summary > div { min-width: 0; border-inline-end: 1px solid #a8c6e7; padding-inline-end: 8px; overflow-wrap: anywhere; }
  .mat-selector-steps legend label { font: inherit; color: inherit; }
  .mat-summary strong { font-size: 24px; }
  .mat-summary small { font-size: 12px; }
  .mat-summary .mat-zalo {
    width: 100%;
    min-width: 0;
    font-size: clamp(12px, 3.5vw, 15px);
    line-height: 1.2;
    min-height: 44px;
    padding: 5px 8px;
    white-space: normal;
    text-align: center;
  }
  #selector { scroll-margin-bottom: calc(90px + env(safe-area-inset-bottom)); }
}

.mat-request-draft { padding: 10px 12px; background: #d4eaff; }
.mat-request-draft p { margin: 0; }
.mat-request-draft textarea { width: 100%; margin-top: 8px; font: inherit; }

.mat-selector-intro { min-width: 0; }
.mat-selector-intro .eyebrow,
.mat-selector-intro em { color: #1b3da8; }


@media (min-width: 901px) {
  .section.mat-selector {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
    gap: clamp(24px, 4vw, 64px);
    align-items: start;
  }
  .mat-selector-intro { display: block; }
  .mat-selector-intro h2 { font-size: clamp(34px, 4.1vw, 65px); line-height: 1.2; }
  .mat-selector-intro p { font-size: clamp(16px, 1.5vw, 23px); white-space: pre-line; overflow-wrap: anywhere; }
  .mat-selector-frame {
    display: flex;
    flex-direction: column;
    width: 100%;
    aspect-ratio: 1;
    min-width: 0;
    border: 1px solid #20498338;
    border-radius: 24px;
    padding: 10px 10px 16px;
    background: #fff;
    box-shadow: 0 12px 32px #10264720;
  }
  .mat-selector-frame h2 {
    background: #365992;
    border-radius: 12px 12px 0 0;
    padding: clamp(12px, 1.7vw, 28px) 10px;
    font-size: clamp(20px, 2vw, 32px);
    letter-spacing: -.035em;
  }
  .mat-selector-steps {
    flex: 1;
    gap: 6px;
    padding: clamp(8px, 1.15vw, 20px) 0;
  }
  .mat-selector-steps fieldset { padding: 48px 5px 8px; }
  .mat-selector-steps legend { left: 5px; right: 5px; font-size: 12px; line-height: 1.25; }
  .mat-selector-steps legend label { font: inherit; }
  .mat-selector-steps .mat-choice { gap: 3px; padding: 5px; line-height: 1.25; }
  .mat-selector-steps .mat-animal-icon { width: clamp(18px, 2vw, 36px); height: auto; }
  .mat-selector-steps .mat-choice-mark { width: 14px; height: 14px; }
  .mat-selector-steps .mat-choice-mark::before { font-size: 10px; }
  .mat-selector-steps .mat-stepper { grid-template-columns: 25px minmax(0, 1fr) 25px; }
  .mat-selector-steps .mat-stepper input { margin: 0; padding: 4px 0; font-size: clamp(16px, 2vw, 32px); }
  .mat-selector-steps fieldset:last-child p { font-size: 12px; }
  .mat-summary { gap: 8px; padding: 10px; border-radius: 10px; }
  .mat-summary > div { display: block; min-width: 0; }
  .mat-summary strong { margin-inline-start: 4px; font-size: clamp(19px, 2.5vw, 40px); }
  .mat-summary small { border: 0; padding: 0; }
  .mat-summary .mat-zalo { padding: 9px 24px; flex-shrink: 0; }
}

.mat-contact-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 14px;
  padding: 8px 0 16px;
}
.mat-contact-fields label { margin: 0; color: var(--blue); font-weight: 700; }
.mat-contact-fields label:last-child { grid-column: 1 / -1; }
.mat-contact-fields input { min-height: 40px; margin-top: 4px; padding: 7px 9px; border-radius: 8px; }
.mat-request-status { margin: 8px 10px; }
@media (max-width: 900px) {
  .mat-contact-fields { padding-inline: 10px; }
  .mat-contact-fields input { font-size: 16px; }
}

@media (max-width: 900px) {
  .section.mat-selector { padding-inline: clamp(12px, 4vw, 24px); }
  .mat-selector-intro { padding: 0 4px 16px; }
  .mat-selector-intro h2 {
    margin: 8px 0;
    font-size: clamp(27px, 7vw, 44px);
    line-height: 1.16;
  }
  .mat-selector-intro p { margin: 0; font-size: 14px; white-space: pre-line; overflow-wrap: anywhere; }
  .mat-selector-frame { padding: 6px; background: #fff; }
  .mat-selector-frame h2 {
    background: #365992;
    border-radius: 12px;
    font-size: clamp(10px, 3.35vw, 20px);
    letter-spacing: -.025em;
    white-space: nowrap;
  }
  .mat-selector-steps { padding: 8px 0; }
  .mat-animal-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; }
  .mat-animal-options .mat-choice { flex-direction: column; margin: 0; text-align: center; }
  .mat-contact-fields { padding-inline: 4px; }
  .mat-summary { border-radius: 10px; }
}

/* Let the calculator grow with its form on touch tablets in the desktop layout. */
@media (min-width: 901px) and (max-width: 1440px) and (any-pointer: coarse) {
  .mat-selector-frame { aspect-ratio: auto; }
}

.knowledge-pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 32px; }
.knowledge-pagination a { display: grid; place-items: center; min-width: 44px; min-height: 44px; padding: 6px 10px; border: 1px solid #cbd8ec; border-radius: 8px; color: var(--blue); background: #fff; font-weight: 700; }
.knowledge-pagination a[aria-current="page"],
.knowledge-pagination a:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
