/*
Theme Name: Mam Vui
Theme URI: https://mamvui.com
Author: WN Tech Solutions
Description: Theme riêng cho Mầm Vui - thiết bị vui chơi mầm non. Dựng từ mockup trang chủ.
Version: 1.0.0
Requires at least: 6.5
Requires PHP: 8.1
License: Proprietary
Text Domain: mamvui
*/


:root{
  --teal:#1B4C5A; --teal-2:#245D6D; --teal-3:#2A6474;
  --green:#73B547; --green-text:#3E7D22; --green-dark:#2F6B1A; --green-soft:#E8F3DF;
  --orange:#FA8538; --cta:#C2540A; --cta-hover:#A84808; --orange-text:#B34E0B; --orange-soft:#FDE9DA;
  --yellow:#FFC928; --yellow-soft:#FFF3CC; --sky:#3BA9E0; --sky-soft:#E2F2FB;
  --cream:#FFF8EC; --line:#E6EEF0; --field:#C9D8DC; --muted:#4A6670; --on-dark:#C9DDE2;
  --radius:20px; --wrap:1200px;
  --display:"Baloo 2",system-ui,sans-serif; --body:"Be Vietnam Pro",system-ui,sans-serif;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:#fff;color:var(--teal);font-family:var(--body);font-size:16px;line-height:1.5}
img,svg{display:block;max-width:100%}
a{color:inherit;text-decoration:none}
a:hover{color:var(--cta)}
button,input,select,textarea{font:inherit;color:inherit}
:focus-visible{outline:3px solid var(--green);outline-offset:2px}
.wrap{max-width:var(--wrap);margin:0 auto;padding:0 24px}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
h1,h2{font-family:var(--display);font-weight:800;margin:0;line-height:1.12}
h2{font-size:40px}
.eyebrow{font-size:14px;font-weight:700;color:var(--green-text);letter-spacing:.08em;text-transform:uppercase}
.lead{font-size:17px;line-height:1.6;color:var(--muted);margin:0}
.section{padding:88px 0}
.bg-cream{background:var(--cream)}
.head{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:40px}
.head.center{flex-direction:column;align-items:center;text-align:center}
.head .stack{display:flex;flex-direction:column;gap:12px;max-width:720px}
.more{font-weight:700;color:var(--cta);white-space:nowrap}

/* Buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;height:52px;padding:0 28px;border-radius:999px;font-weight:700;font-size:16px;border:2px solid transparent;cursor:pointer;white-space:nowrap;transition:background .15s}
.btn-primary{background:var(--cta);color:#fff}
.btn-primary:hover{background:var(--cta-hover);color:#fff}
.btn-ghost{background:#fff;border-color:var(--teal);color:var(--teal)}
.btn-ghost:hover{background:var(--green-soft);color:var(--teal)}
.btn-dark{background:var(--teal);color:#fff}
.btn-dark:hover{background:#133a45;color:#fff}
.btn-lg{height:56px;font-size:17px;padding:0 32px}
.btn-block{width:100%}

/* Top bar & header */
.topbar{background:var(--teal);color:#fff;font-size:13px}
.topbar .wrap{height:40px;display:flex;align-items:center;justify-content:space-between}
.topbar span{display:inline-flex;align-items:center;gap:8px}
.topbar .left{display:flex;gap:28px}
.site-header{position:sticky;top:0;z-index:50;background:#fff;border-bottom:1px solid var(--line)}
.site-header .wrap{height:84px;display:flex;align-items:center;justify-content:space-between;gap:32px}
.brand{display:flex;align-items:center;gap:12px}
.brand img{height:50px;width:auto}
.brand b{font-family:var(--display);font-weight:800;font-size:32px;line-height:1;display:block}
.brand small{font-size:11px;color:var(--muted);letter-spacing:.04em;white-space:nowrap;display:block}
.brand b{white-space:nowrap}
.nav{display:flex;gap:22px;font-weight:600;font-size:15px;white-space:nowrap}
.header-actions{display:flex;gap:10px;align-items:center}
.icon-btn{width:44px;height:44px;border-radius:50%;border:1px solid #D5E2E6;background:#fff;display:inline-flex;align-items:center;justify-content:center;cursor:pointer}
.menu-toggle,.call-mobile{display:none}

/* Mobile menu */
.mobile-menu{position:fixed;inset:0;background:#fff;z-index:100;display:none;flex-direction:column}
.mobile-menu.open{display:flex}
.mobile-menu .mm-head{height:64px;padding:0 16px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}
.mobile-menu nav{display:flex;flex-direction:column;padding:8px 16px}
.mobile-menu nav a{min-height:56px;border-bottom:1px solid #EEF3F4;display:flex;align-items:center;justify-content:space-between;font-size:17px;font-weight:600}
.mobile-menu .mm-foot{margin-top:auto;background:var(--cream);padding:20px 16px 28px;display:flex;flex-direction:column;gap:12px}

/* Hero */
.hero{background:var(--cream);padding:72px 0 120px;position:relative}
.hero .wrap{display:grid;grid-template-columns:1.1fr 1fr;gap:48px;align-items:center}
.hero .copy{display:flex;flex-direction:column;gap:24px}
.chip{align-self:flex-start;background:var(--green-soft);color:var(--green-dark);font-weight:600;font-size:14px;padding:8px 16px;border-radius:20px}
.hero h1{font-size:60px}
.hero h1 em{font-style:normal;color:var(--cta)}
.hero .lead{font-size:19px}
.cta-row{display:flex;gap:12px;flex-wrap:wrap}
.ticks{display:flex;gap:24px;flex-wrap:wrap;margin-top:4px}
.ticks span{display:flex;gap:10px;align-items:center;font-size:15px;font-weight:600}
.tick{width:30px;height:30px;border-radius:50%;background:var(--green);display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}
.hero-art{display:flex;justify-content:flex-end}

/* Quick quote */
.quick{position:relative;z-index:2;margin-top:-56px}
.quick form{background:#fff;border-radius:var(--radius);box-shadow:0 12px 32px rgba(27,76,90,.14);padding:20px 24px;display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr auto;gap:16px;align-items:end}
.quick .title{display:none}
.field{display:flex;flex-direction:column;gap:6px;font-size:13px;font-weight:600}
.field input,.field select,.field textarea{height:50px;border:1px solid var(--field);border-radius:12px;padding:0 14px;font-weight:500;background:#fff;width:100%}
.field textarea{height:auto;padding:12px 14px;resize:vertical}
.field input:focus,.field select:focus,.field textarea:focus{outline:3px solid var(--green);outline-offset:1px}
.field .error{color:#B42318;font-weight:500;font-size:13px;display:none}
.field.invalid input{border:2px solid #B42318}
.field.invalid .error{display:block}

/* Audience */
.grid-4{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}
.grid-3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.card{border:2px solid var(--line);border-radius:var(--radius);background:#fff;transition:border-color .15s}
a.card:hover{border-color:var(--green);color:var(--teal)}
.aud{padding:28px;display:flex;flex-direction:column;gap:14px}
.ic{width:56px;height:56px;border-radius:16px;display:flex;align-items:center;justify-content:center}
.aud h3{margin:0;font-size:20px}
.aud p{margin:0;font-size:15px;line-height:1.55;color:var(--muted)}
.aud .go{margin-top:auto;font-weight:700;color:var(--cta);font-size:15px}

/* Packages */
.pack{background:#fff;border:2px solid #F0E6D6;border-radius:24px;padding:32px;display:flex;flex-direction:column;gap:18px;position:relative}
.pack.featured{background:var(--teal);border-color:var(--teal);color:#fff}
.pack .ph{height:180px;border-radius:16px;display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:600;text-align:center;padding:0 12px}
.pack h3{margin:0;font-family:var(--display);font-size:28px;font-weight:800;line-height:1.1}
.pack .fit{font-size:15px;color:var(--muted)}
.pack.featured .fit,.pack.featured .from{color:var(--on-dark)}
.price{display:flex;align-items:baseline;gap:6px}
.price b{font-family:var(--display);font-size:42px;font-weight:800;color:var(--cta);line-height:1}
.pack.featured .price b{color:var(--yellow)}
.price span{font-weight:700;font-size:17px}
.pack ul{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:10px;font-size:15px}
.pack li{display:flex;gap:10px}
.pack li::before{content:"✓";color:var(--green-text);font-weight:800}
.pack.featured li::before{color:var(--green)}
.pack .btn{margin-top:auto}
.badge{position:absolute;top:20px;right:20px;background:var(--yellow);color:var(--teal);font-size:13px;font-weight:700;padding:6px 12px;border-radius:14px}
.note-vat{font-size:14px;color:var(--muted)}

/* Categories */
.cat{overflow:hidden;display:flex;flex-direction:column}
.cat .ph{height:150px;display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:600;text-align:center;padding:0 8px}
.cat .meta{padding:16px 20px;display:flex;justify-content:space-between;align-items:center;gap:12px}
.cat h3{margin:0;font-size:17px}
.cat p{margin:2px 0 0;font-size:14px;color:var(--muted)}
.arrow{width:36px;height:36px;border-radius:50%;background:var(--cream);display:flex;align-items:center;justify-content:center;flex-shrink:0}

/* Why */
.why{background:var(--teal);color:#fff}
.why .wrap{display:grid;grid-template-columns:420px 1fr;gap:64px;align-items:center}
.why .eyebrow{color:var(--green)}
.why .lead{color:var(--on-dark)}
.why .intro{display:flex;flex-direction:column;gap:16px;align-items:flex-start}
.why-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.why-item{background:var(--teal-2);border-radius:var(--radius);padding:28px;display:flex;flex-direction:column;gap:12px}
.why-item h3{margin:0;font-size:20px}
.why-item p{margin:0;font-size:15px;line-height:1.55;color:var(--on-dark)}

/* Steps */
.steps{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:16px;list-style:none;padding:0;margin:0;position:relative}
.steps::before{content:"";position:absolute;top:36px;left:8%;right:8%;border-top:2px dashed #C9D8DC;z-index:0}
.step{display:flex;flex-direction:column;align-items:center;text-align:center;gap:12px;position:relative;z-index:1}
.step .n{width:72px;height:72px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-family:var(--display);font-size:32px;font-weight:800}
.step h3{margin:0;font-size:17px}
.step p{margin:0;font-size:14px;line-height:1.55;color:var(--muted)}

/* Projects & reviews */
.proj{background:#fff;border-radius:var(--radius);overflow:hidden;display:flex;flex-direction:column}
.proj .ph{height:260px;background:#D9E6E9;display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:600}
.proj .meta{padding:20px 24px;display:flex;flex-direction:column;gap:8px}
.tag{align-self:flex-start;font-size:12px;font-weight:700;color:var(--green-dark);background:var(--green-soft);padding:4px 10px;border-radius:10px}
.proj h3{margin:0;font-size:19px}
.proj p{margin:0;font-size:14px;color:var(--muted)}
.review{margin:0;border:2px dashed var(--field);border-radius:var(--radius);padding:28px;display:flex;flex-direction:column;gap:16px}
.review blockquote{margin:0;font-size:16px;line-height:1.6;color:var(--muted)}
.review figcaption{display:flex;gap:12px;align-items:center;margin-top:auto;font-size:14px}
.avatar{width:44px;height:44px;border-radius:50%;background:var(--line);flex-shrink:0}

/* Dealer */
.dealer{background:var(--green);border-radius:28px;padding:48px 56px;display:flex;justify-content:space-between;align-items:center;gap:40px}
.dealer h2{font-size:36px}
.dealer p{margin:12px 0 0;font-size:17px;line-height:1.6;max-width:720px}

/* FAQ */
.faq .wrap{display:grid;grid-template-columns:400px 1fr;gap:64px}
.faq .intro{display:flex;flex-direction:column;gap:16px}
.faq-list{display:flex;flex-direction:column;gap:12px}
.faq-item{background:#fff;border-radius:16px;overflow:hidden}
.faq-q{width:100%;min-height:64px;border:0;background:#fff;padding:16px 24px;display:flex;justify-content:space-between;align-items:center;gap:16px;font-size:17px;font-weight:700;text-align:left;cursor:pointer}
.faq-q .sign{width:32px;height:32px;border-radius:50%;background:var(--cream);display:flex;align-items:center;justify-content:center;font-size:22px;flex-shrink:0;transition:transform .2s}
.faq-item.open .sign{background:var(--teal);color:#fff;transform:rotate(45deg)}
.faq-a{display:none;margin:0;padding:0 24px 20px;font-size:15px;line-height:1.65;color:var(--muted)}
.faq-item.open .faq-a{display:block}

/* Contact */
.contact .wrap{display:grid;grid-template-columns:440px 1fr;gap:56px;align-items:start}
.contact .intro{display:flex;flex-direction:column;gap:24px}
.contact-list{display:flex;flex-direction:column;gap:16px}
.contact-list a,.contact-list div{display:flex;gap:14px;align-items:center}
.contact-list .ic{width:48px;height:48px;border-radius:50%}
.contact-list strong{display:block}
.map{height:200px;border-radius:var(--radius);background:var(--line);display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:600}
.big-form{border:2px solid var(--line);border-radius:28px;padding:40px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.big-form .full{grid-column:1/-1}
.big-form .field{font-size:14px}
.big-form .field input,.big-form .field select{height:52px}
fieldset{border:0;margin:0;padding:0}
legend{font-size:14px;font-weight:600;margin-bottom:10px}
.pills{display:flex;flex-wrap:wrap;gap:10px}
.pill{display:flex;gap:8px;align-items:center;min-height:44px;padding:0 16px;border:1px solid var(--field);border-radius:22px;font-size:14px;cursor:pointer}
.consent{display:flex;gap:10px;align-items:flex-start;font-size:13px;color:var(--muted);line-height:1.5}
.consent input{margin-top:3px}
.success{display:none;grid-column:1/-1;background:var(--green-soft);color:var(--green-dark);border-radius:12px;padding:14px 16px;font-weight:600}
.success.show{display:block}

/* Footer */
.site-footer{background:var(--teal);color:var(--on-dark);padding:64px 0 32px}
.foot-grid{display:grid;grid-template-columns:1.2fr 1fr 1fr 1.2fr;gap:40px}
.site-footer h3{color:#fff;font-size:16px;margin:0 0 16px}
.site-footer nav,.site-footer .col{display:flex;flex-direction:column;gap:12px;font-size:15px}
.site-footer a:hover{color:#fff}
.logo-tile{width:64px;height:64px;border-radius:16px;background:#fff;display:flex;align-items:center;justify-content:center}
.logo-tile img{height:40px;width:auto}
.socials{display:flex;gap:10px}
.socials a{width:44px;height:44px;border-radius:50%;border:1px solid #4A7885;display:flex;align-items:center;justify-content:center;color:#fff;font-size:11px;font-weight:800}
.foot-bottom{border-top:1px solid #3A6C79;margin-top:40px;padding-top:24px;display:flex;justify-content:space-between;gap:16px;font-size:13px;flex-wrap:wrap}

/* Floating & sticky */
.float{position:fixed;right:24px;bottom:24px;display:flex;flex-direction:column;gap:12px;z-index:40}
.float a{width:56px;height:56px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#fff;font-weight:800;font-size:13px;box-shadow:0 6px 16px rgba(0,0,0,.18)}
.float .zalo{background:#0068FF}
.float .call{background:var(--cta)}
.sticky-bar{display:none}

/* Responsive */
@media (max-width:1240px){
  .nav{display:none}
  .menu-toggle{display:inline-flex}
}
@media (max-width:1100px){
  .hero h1{font-size:48px}
  .grid-4{grid-template-columns:repeat(2,minmax(0,1fr))}
  .why .wrap,.faq .wrap,.contact .wrap{grid-template-columns:1fr;gap:40px}
  .steps{grid-template-columns:repeat(3,minmax(0,1fr));row-gap:32px}
  .steps::before{display:none}
  .quick form{grid-template-columns:repeat(2,minmax(0,1fr))}
  .quick form .btn{grid-column:1/-1}
  .foot-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:720px){
  body{font-size:15px}
  .wrap{padding:0 16px}
  .topbar,.header-actions .search,.header-actions .quote,.float{display:none}
  .call-mobile{display:inline-flex;background:var(--orange-soft);border-color:var(--orange-soft)}
  .site-header .wrap{height:64px}
  .brand img{height:36px}.brand b{font-size:24px}.brand small{display:none}
  .section{padding:40px 0}
  h2,.head h2{font-size:28px}
  .head{flex-direction:column;align-items:flex-start;margin-bottom:20px}
  .head.center{align-items:flex-start;text-align:left}
  .hero{padding:28px 0 32px}
  .hero .wrap{grid-template-columns:1fr;gap:18px}
  .hero .copy{display:contents}
  .chip{justify-self:start}
  .hero .copy>.chip,.hero h1,.hero .lead{order:1}
  .hero h1{font-size:38px}
  .hero .lead{font-size:16px}
  .hero-art{order:2;justify-content:center;background:var(--orange-soft);border-radius:20px;padding:12px}
  .hero-art svg{width:300px;height:auto}
  .cta-row{order:3;flex-direction:column}
  .cta-row .btn{width:100%}
  .ticks{order:4;flex-direction:column;gap:10px}
  .quick{margin-top:0;padding:24px 0}
  .quick form{grid-template-columns:1fr;padding:20px}
  .quick .title{display:block;font-size:18px;font-weight:700}
  .quick .hide-sm{display:none}
  .grid-4{gap:12px}
  .aud{padding:16px;gap:10px}
  .aud p,.aud .go{display:none}
  .aud h3{font-size:15px}
  .ic{width:44px;height:44px;border-radius:12px}
  .grid-3{grid-template-columns:1fr;gap:16px}
  .pack{padding:20px;gap:12px}
  .pack .ph{height:140px}
  .pack h3{font-size:24px}
  .price b{font-size:34px}
  .cats{grid-template-columns:repeat(2,minmax(0,1fr))}
  .cat .ph{height:96px;font-size:11px}
  .cat .meta{padding:12px}
  .cat p,.cat .arrow{display:none}
  .cat h3{font-size:14px}
  .why-grid{grid-template-columns:1fr;gap:12px}
  .why-item{padding:18px}
  .why-item svg{display:none}
  .steps{grid-template-columns:1fr;row-gap:16px}
  .step{flex-direction:row;text-align:left;align-items:flex-start;gap:14px}
  .step .n{width:48px;height:48px;font-size:22px;flex-shrink:0}
  .step div{display:flex;flex-direction:column;gap:4px}
  .scroller{display:flex;overflow-x:auto;gap:12px;scroll-snap-type:x mandatory;margin-right:-16px;padding-right:16px}
  .scroller .proj{width:290px;flex-shrink:0;scroll-snap-align:start}
  .proj .ph{height:180px}
  .reviews .review:nth-child(n+2){display:none}
  .dealer{flex-direction:column;align-items:stretch;padding:24px;gap:16px;border-radius:20px}
  .dealer h2{font-size:26px}
  .dealer .btn{width:100%}
  .faq-q{font-size:15px;padding:14px 16px}
  .faq-a{padding:0 16px 16px}
  .big-form{grid-template-columns:1fr;padding:0;border:0}
  .map{display:none}
  .foot-grid{grid-template-columns:1fr;gap:28px}
  .site-footer{padding:40px 0 110px}
  .sticky-bar{display:grid;grid-template-columns:1fr 1fr 1.2fr;align-items:center;gap:4px;position:fixed;left:0;right:0;bottom:0;height:72px;padding:0 8px;background:#fff;border-top:1px solid var(--line);box-shadow:0 -6px 16px rgba(27,76,90,.1);z-index:60}
  .sticky-bar a{display:flex;flex-direction:column;align-items:center;gap:2px;font-size:12px;font-weight:600}
  .sticky-bar .btn{height:48px;font-size:14px;padding:0 12px;flex-direction:row}
  .zalo-mini{width:24px;height:22px;border-radius:6px;background:#0068FF;color:#fff;font-size:8px;font-weight:800;display:flex;align-items:center;justify-content:center}
}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}

/* ---- WordPress core classes ---- */
.screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.alignleft{float:left;margin:0 20px 16px 0}
.alignright{float:right;margin:0 0 16px 20px}
.aligncenter{margin:0 auto 16px;display:block}
.entry{padding:64px 0}
.entry .wrap{max-width:820px}
.entry h1{font-size:40px;margin-bottom:8px}
.entry-content{font-size:17px;line-height:1.75}
.entry-content h2{font-size:28px;margin:32px 0 12px}
.entry-content h3{font-size:21px;margin:24px 0 10px}
.entry-content p{margin:0 0 18px}
.entry-content ul,.entry-content ol{margin:0 0 18px;padding-left:24px}
.entry-content img{border-radius:16px;height:auto}
.entry-meta{font-size:14px;color:var(--muted);margin-bottom:24px}
.post-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.post-card{border:2px solid var(--line);border-radius:var(--radius);overflow:hidden;background:#fff;display:flex;flex-direction:column}
.post-card .thumb{aspect-ratio:16/10;background:var(--cream);overflow:hidden}
.post-card .thumb img{width:100%;height:100%;object-fit:cover}
.post-card .body{padding:20px;display:flex;flex-direction:column;gap:8px}
.post-card h3{margin:0;font-size:18px}
.post-card p{margin:0;font-size:14px;color:var(--muted)}
.pagination{display:flex;gap:8px;justify-content:center;margin-top:40px;font-weight:700}
.pagination .page-numbers{padding:10px 16px;border-radius:999px;border:1px solid var(--field)}
.pagination .current{background:var(--teal);color:#fff;border-color:var(--teal)}
.cat .ph img,.pack .ph img,.proj .ph img{width:100%;height:100%;object-fit:cover;border-radius:inherit}
.pack .ph,.cat .ph,.proj .ph{overflow:hidden}
.form-alert{grid-column:1/-1;background:#FDE9DA;color:#B34E0B;border-radius:12px;padding:14px 16px;font-weight:600}
@media(max-width:1100px){.post-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){.post-list{grid-template-columns:1fr}.entry{padding:32px 0}.entry h1{font-size:28px}}

/* ---- Cap PoW widget ---- */
.mv-cap{display:flex;align-items:center;min-height:52px}
.quick .mv-cap{grid-column:1/-1}
.big-form .mv-cap{grid-column:1/-1}
cap-widget{--cap-background:#fff;--cap-border-color:var(--field);--cap-border-radius:12px;--cap-color:var(--teal);--cap-checkbox-border:2px solid var(--field);--cap-checkbox-border-radius:6px;--cap-spinner-color:var(--green);--cap-spinner-background-color:var(--line);--cap-widget-height:52px;width:100%;max-width:340px}

/* ---- Sản phẩm tiêu biểu (mockup_2) ---- */
.prod{display:flex;flex-direction:column;overflow:hidden}
.prod .ph{height:200px;display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:600;padding:8px;overflow:hidden}
.prod .ph img{max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;mix-blend-mode:multiply}
.pbody{padding:20px 24px 24px;display:flex;flex-direction:column;gap:10px;flex-grow:1}
.code{align-self:flex-start;font-family:ui-monospace,monospace;font-size:13px;font-weight:700;color:var(--green-dark);background:var(--green-soft);padding:4px 10px;border-radius:8px}
.prod h3{margin:0;font-size:20px}
.prod dl{margin:0;display:grid;grid-template-columns:auto 1fr;gap:4px 12px;font-size:14px}
.prod dt{color:var(--muted)}
.prod dd{margin:0;font-weight:600}
.prod .btn{margin-top:auto}

/* ---- Bảng thông số ---- */
.table-wrap{overflow-x:auto;border:1px solid var(--line);border-radius:var(--radius)}
table.spec{width:100%;border-collapse:collapse;font-size:15px;min-width:760px}
table.spec th,table.spec td{padding:14px 16px;text-align:left;border-bottom:1px solid var(--line)}
table.spec thead th{background:var(--cream);font-size:13px;letter-spacing:.04em;text-transform:uppercase;color:var(--muted)}
table.spec tbody th{font-family:ui-monospace,monospace;font-weight:700;white-space:nowrap}
table.spec tbody tr:last-child th,table.spec tbody tr:last-child td{border-bottom:0}

/* ---- Thiết bị hòa nhập ---- */
.inclusive{background:var(--teal);border-radius:28px;padding:48px 56px;display:flex;justify-content:space-between;align-items:center;gap:40px}

/* ---- single product spec ---- */
.prod-spec{display:grid;grid-template-columns:auto 1fr;gap:6px 16px;font-size:15px;max-width:560px;margin:24px 0}
.prod-spec dt{color:var(--muted)}
.prod-spec dd{margin:0;font-weight:600}
.prod-spec .code{font-size:14px}

@media(max-width:720px){
  .prod .ph{height:150px}
  .prod dl{font-size:13px}
  .inclusive{flex-direction:column;align-items:stretch;padding:24px;border-radius:20px;gap:16px}
  .inclusive h2{font-size:26px}
  .inclusive .btn{width:100%}
}

/* ---- Cap PoW widget: strip vendor credit link (trycap.dev) ---- */
cap-widget::part(credits),
cap-widget::part(troubleshoot){display:none !important}

.hp{position:absolute!important;left:-9999px!important;top:auto!important;width:1px!important;height:1px!important;overflow:hidden!important}

.nowrap{white-space:nowrap}
