/* Phố Táo Mobile (iphone) — trang chủ theo mockup iphone-home/mockups/home-desktop-v1.png (841px -> 1440 = x1.712) */
:root { --pt-r: #d0170b; --pt-r2: #b51208; --pt-b: #1f5bc6; --pt-b2: #184ca8; --pt-bl: #e8f0fc; --pt-ink: #111318; --pt-mut: #4a4f5a; --pt-line: #e3e6ec;
  --pt-f: 'Inter', 'Roboto', Arial, sans-serif; }
body, p, li, a, span, div, input, select, textarea, button, label, h1, h2, h3, h4, h5, h6, .nav > li > a { font-family: var(--pt-f) !important; }
body { background: #fff; }
#main, .home #main { background-color: #fff !important; background-image: none !important; }
.pt-ic { width: 1em; height: 1em; display: inline-block; vertical-align: -0.14em; flex: 0 0 auto; }
#button-contact-vr, .button-contact-vr, #zalo-vr, #phone-vr, .absolute-footer, .float-contact, .hotline-phone-ring-wrap { display: none !important; }

/* ---------- header ---------- */
#header .header-main { background: #fff !important; }
#header .header-wrapper { box-shadow: none !important; border-bottom: 0 !important; }
#logo { width: auto !important; margin: 0 !important; top: 0 !important; }
#header #logo a { display: inline-flex; align-items: center; gap: 12px; font-size: 26px !important; font-weight: 700 !important; color: var(--pt-r) !important; text-transform: none !important; letter-spacing: -.015em; line-height: 1; white-space: nowrap; top: 0; margin: 0; }
#header #logo a::before { content: ""; width: 46px; height: 46px; flex: 0 0 46px; margin: 0 -8px; background: url("icons/logo.png") center/contain no-repeat; }
#header .header-main .flex-left { flex: 1 1 auto; justify-content: center; }
#header .header-main .flex-left .header-nav-main { justify-content: center; }
#header .header-nav-main { flex-wrap: nowrap; align-items: center; }
#header .flex-left .header-nav-main > li { margin: 0 16px !important; }
#header .flex-left .header-nav-main > li > a { font-size: 15.5px !important; font-weight: 500 !important; color: var(--pt-ink) !important; text-transform: none !important; padding: 0 !important; line-height: 40px !important; white-space: nowrap; }
#header .header-nav-main > li > a::after, #header .header-nav-main > li > a::before { display: none !important; }
#header .flex-left .header-nav-main > li > a:hover { color: var(--pt-r) !important; }
#header .flex-right .header-nav-main > li { margin: 0 0 0 22px !important; }
#header li.header-search-form { display: flex; align-items: center; }
#header .header-search-form { width: 234px !important; max-width: 234px !important; }
#header .header-search-form form, #header .header-search-form .searchform { margin: 0 !important; }
#header .header-search-form .flex-row { position: relative; }
#header .header-search-form input[type=search] { height: 38px !important; border: 1px solid #d5d9e0 !important; border-radius: 6px !important; box-shadow: none !important; font-size: 15px; padding: 0 44px 0 14px; background: #fff; }
#header .header-search-form .flex-col:last-child { position: absolute; right: 2px; top: 0; }
#header .header-search-form button.ux-search-submit { width: 38px; height: 38px; min-height: 38px; background: transparent !important; color: var(--pt-ink) !important; margin: 0; padding: 0; }
#header .header-search-form button.ux-search-submit i { font-size: 18px; color: var(--pt-ink); }
#header .flex-right .cart-item > a { color: var(--pt-ink) !important; padding: 0 !important; }
#header i.icon-shopping-cart { display: inline-block; position: relative; width: 28px; height: 28px; font-size: 0 !important; vertical-align: middle; background: url("icons/h-cart.png") center/contain no-repeat; }
#header i.icon-shopping-cart::before { content: none !important; }
#header i.icon-shopping-cart::after { content: attr(data-icon-label) !important; display: flex !important; position: absolute; right: -9px; top: -8px; min-width: 18px; height: 18px; border-radius: 9px; background: var(--pt-r); color: #fff; font: 600 11px/18px var(--pt-f); justify-content: center; }
#header .cart-icon { position: relative; }
#header .header-cart-title, #header .cart-price { display: none !important; }
#header .header-bottom { background: var(--pt-b) !important; min-height: 46px; border: 0 !important; }
#header .header-bottom li { border: 0 !important; } #header .header-bottom .header-divider { display: none !important; }
#header .pt-strip { color: #fff; font-size: 18.5px; font-weight: 600; letter-spacing: .005em; }
#header .header-bottom .flex-center { flex: 1 1 auto; justify-content: center; }
#header .mobile-nav i, #header .mobile-nav .icon-menu { color: var(--pt-ink) !important; }
#header .nav-icon a, #header .mobile-nav .nav-icon a { background: transparent !important; color: var(--pt-ink) !important; }

/* ---------- chung ---------- */
.section.pt-sec, .section.pt-hero, .section.pt-footer { padding: 0 !important; }
.pt-sec .col, .pt-hero .col, .pt-footer .col { padding-bottom: 0 !important; }
.pt-sec p:not([class]), .pt-footer p:not([class]), .pt-hero p:not([class]) { display: contents; }
.pt-h2 { font-size: 43px; line-height: 1.15; font-weight: 700; color: var(--pt-ink); margin: 0; letter-spacing: -.02em; }
.pt-sub { font-size: 19px; color: var(--pt-mut); margin-top: 6px; }
.pt-head { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.pt-head h2 { flex: 0 0 auto; width: fit-content; }
.pt-all { color: var(--pt-b) !important; font-size: 19px; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; white-space: nowrap; }
.pt-sec h3 a { color: inherit !important; }
img[src=""] { visibility: hidden; }

/* ---------- hero ---------- */
.section.pt-hero { min-height: 507px; align-items: flex-start !important; }
.pt-hero .section-bg img.bg { object-position: 70% 50%; }
.pt-hero-in { padding: 60px 0 0 0; }
.pt-h1 { font-size: 84px; line-height: 1.17; font-weight: 800; color: #fff !important; margin: 0; letter-spacing: -.025em; }
.pt-hero-s { font-size: 24.5px; color: #fff; margin-top: 12px; font-weight: 500; }
.pt-btns { display: flex; gap: 22px; margin-top: 38px; }
.pt-btn-w, .pt-btn-o { display: inline-flex; align-items: center; justify-content: center; height: 66px; border-radius: 6px; font-size: 22px; font-weight: 700; }
.pt-btn-w { width: 202px; background: #fff; color: var(--pt-r) !important; }
.pt-btn-o { width: 258px; border: 2px solid #fff; color: #fff !important; }
.pt-btn-w:hover { background: #ffeceb; } .pt-btn-o:hover { background: rgba(255,255,255,.12); }

/* ---------- dòng máy + máy đang bán ---------- */
.section.pt-prod-sec { padding: 0 0 24px !important; background-image: linear-gradient(#fff 0, #fff 88px, transparent 88px); }
.pt-models { display: grid; grid-template-columns: 145fr 175fr 145fr 162fr 192fr 116fr 147fr; gap: 15px; padding: 16px 0 18px; }
.pt-models a { display: flex; align-items: center; justify-content: center; height: 55px; border: 1.5px solid #d9dde4; border-radius: 8px; background: #fff; color: var(--pt-ink) !important; font-size: 18px; font-weight: 600; white-space: nowrap; }
.pt-models a.is-on { background: var(--pt-b); border-color: var(--pt-b); color: #fff !important; }
.pt-models a:hover { border-color: var(--pt-b); }
.pt-prod-sec .pt-head { margin-top: 30px; }
.pt-pcs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 27px; margin-top: 22px; }
.pt-pcs > * { min-width: 0; }
.pt-pc { background: #fff; border-radius: 8px; padding: 22px 26px 22px; }
.pt-pc-img { display: block; height: 252px; }
.pt-pc-img { overflow: hidden; }
.pt-pc-img img { width: 100%; height: 100%; object-fit: contain; display: block; transform: scale(1.28); }
.pt-pc-n { font-size: 17px; font-weight: 600; color: var(--pt-ink); margin: 16px 0 12px; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pt-chips { display: flex; gap: 10px; }
.pt-chips span { height: 33px; padding: 0 12px; display: inline-flex; align-items: center; border: 1px solid #d9dde4; border-radius: 5px; font-size: 14.5px; color: var(--pt-mut); }
.pt-price { font-size: 23px; font-weight: 700; color: var(--pt-r); margin: 18px 0 14px; }
.pt-price small { font-size: 15px; font-weight: 500; color: var(--pt-mut); }
.pt-buy { display: flex; align-items: center; justify-content: center; height: 46px; border-radius: 5px; background: var(--pt-b); color: #fff !important; font-size: 17px; font-weight: 600; }
.pt-buy:hover { background: var(--pt-b2); }

/* ---------- tình trạng ---------- */
.section.pt-cond-sec { padding: 30px 0 30px !important; }
.pt-conds { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 25px; margin-top: 18px; }
.pt-conds > * { min-width: 0; }
.pt-cd-img { height: 161px; border-radius: 6px; overflow: hidden; background: #e7e9ee; }
.pt-cd-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pt-cd h3 { font-size: 25px; font-weight: 700; color: var(--pt-ink); margin: 18px 0 6px; }
.pt-cd > div:last-child { font-size: 20px; color: var(--pt-mut); }

/* ---------- thu cũ ---------- */
.section.pt-trade-sec { padding: 26px 0 26px !important; }
.pt-trade { display: grid; grid-template-columns: minmax(0, 1fr) 527px; gap: 60px; align-items: start; }
.pt-trade-h { font-size: 59px; font-weight: 800; color: var(--pt-b) !important; margin: 0; letter-spacing: -.025em; line-height: 1.1; }
.pt-trade-s { font-size: 27px; font-weight: 500; color: var(--pt-b); margin-top: 6px; }
.pt-steps { margin-top: 24px; display: grid; gap: 22px; }
.pt-st { display: flex; gap: 22px; align-items: center; }
.pt-st > b { width: 60px; height: 60px; flex: 0 0 60px; border-radius: 50%; background: var(--pt-b); color: #fff; font-size: 27px; font-weight: 600; display: flex; align-items: center; justify-content: center; }
.pt-st h3 { font-size: 22px; font-weight: 700; color: var(--pt-ink); margin: 0 0 4px; }
.pt-st span { font-size: 19px; color: var(--pt-mut); }
.pt-vf { background: #fff; border-radius: 10px; padding: 20px 32px 24px; box-shadow: 0 4px 20px rgba(31,91,198,.08); margin: 0; }
.pt-vf-h { font-size: 29px; font-weight: 700; color: var(--pt-ink); margin: 0 0 14px; }
.pt-vf label { display: block; font-size: 16px; font-weight: 600; color: var(--pt-ink); margin: 0 0 10px; }
.pt-vf select { display: block; width: 100%; height: 42px; margin: 8px 0 0; border: 1px solid #d5d9e0; border-radius: 5px; box-shadow: none; font-size: 15px; font-weight: 400; color: #777; padding: 0 14px; background-color: #fff; }
.pt-vf-b { display: block; width: 100%; height: 52px; margin: 6px 0 0; border: 0; border-radius: 5px; background: var(--pt-r); color: #fff; font-size: 19px; font-weight: 700; text-transform: none; letter-spacing: 0; cursor: pointer; }
.pt-vf-b:hover { background: var(--pt-r2); }
.pt-vf-msg { font-size: 14px; color: var(--pt-b); margin-top: 8px; min-height: 0; }

/* ---------- kiểm tra 12 bước ---------- */
.section.pt-check-sec { padding: 22px 0 22px !important; }
.pt-checks { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); margin-top: 18px; }
.pt-checks > div { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.pt-checks img { width: 62px; height: 62px; }
.pt-checks span { font-size: 19px; font-weight: 600; color: var(--pt-ink); }

/* ---------- trả góp ---------- */
.section.pt-ins-sec { padding: 0 !important; background-color: var(--pt-b) !important; }
.pt-ins { display: flex; align-items: center; min-height: 98px; gap: 46px; }
.pt-ins b { font-size: 46px; font-weight: 700; color: #fff; padding-right: 46px; border-right: 1.5px solid rgba(255,255,255,.5); line-height: 1.1; }
.pt-ins span { font-size: 22px; color: #fff; flex: 1; }
.pt-ins a { display: inline-flex; align-items: center; justify-content: center; width: 234px; height: 55px; border-radius: 6px; background: #fff; color: var(--pt-b) !important; font-size: 19px; font-weight: 700; }

/* ---------- tin tức ---------- */
.section.pt-blog-sec { padding: 26px 0 30px !important; }
.pt-posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 25px; margin-top: 18px; }
.pt-posts > * { min-width: 0; }
.pt-post-img { display: block; height: 195px; border-radius: 6px; overflow: hidden; background: #eee; }
.pt-post-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pt-post-t { font-size: 21px; line-height: 1.3; font-weight: 700; color: var(--pt-ink); margin: 16px 0 6px; }
.pt-post-e { font-size: 17px; line-height: 1.5; color: var(--pt-mut); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pt-post-m { display: inline-block; margin-top: 4px; color: var(--pt-b) !important; font-size: 17px; font-weight: 600; }

/* ---------- footer ---------- */
#footer .section.pt-footer { border-top: 0 !important; }
.section.pt-footer { padding: 30px 0 0 !important; }
.pt-ft { display: grid; grid-template-columns: 425fr 254fr 282fr 270fr; }
.pt-ft > * { min-width: 0; }
.pt-ft-logo { display: inline-flex; align-items: center; gap: 16px; color: #fff !important; }
.pt-ft-logo img { width: 58px; height: 58px; object-fit: contain; margin: 0 -10px; }
.pt-ft-logo span { font-size: 29px; font-weight: 700; letter-spacing: -.015em; }
.pt-ft-tag { font-size: 17px; line-height: 1.6; color: #e9f0ff; margin-top: 14px; }
.pt-ft-col h4 { font-size: 19px; font-weight: 700; color: #fff !important; margin: 4px 0 12px; text-transform: none; letter-spacing: 0; }
.pt-ft-col a, .pt-ft-ct > div { display: flex; align-items: flex-start; gap: 16px; font-size: 16.5px; line-height: 1.4; color: #e9f0ff !important; margin-bottom: 6px; }
.pt-ft-col a:hover { color: #fff !important; text-decoration: underline; }
.pt-ft-ct .pt-ic { font-size: 20px; color: #fff; margin-top: 1px; }
.pt-fbar { border-top: 1px solid rgba(255,255,255,.3); margin-top: 22px; padding: 14px 0 16px; text-align: center; font-size: 14px; color: #dbe6ff; }
.pt-footer a[href^="mailto"] span { overflow-wrap: anywhere; }

/* ---------- mobile ---------- */
@media (max-width: 849px) {
  #header #logo a { font-size: 21px !important; gap: 8px; } #header #logo a::before { width: 22px; height: 34px; flex-basis: 22px; }
  #header .header-inner > .show-for-medium.flex-left, #header .header-inner > .show-for-medium.flex-right { flex: 1 1 0; margin: 0 !important; }
  #header .header-inner > #logo { flex: 0 0 auto; }
  #header .header-inner > .show-for-medium.flex-right .mobile-nav { justify-content: flex-end; }
  #header .header-bottom { display: block !important; min-height: 38px; } #header .header-bottom .hide-for-medium { display: flex !important; } #header .pt-strip { font-size: 14.5px; }
  .section.pt-hero { min-height: 0; padding-top: 240px !important; background-color: #b8140a !important; }
  .section.pt-hero .section-bg { top: 0; bottom: auto; height: 240px; }
  .section.pt-hero .section-bg img.bg { object-position: 80% 50%; }
  .pt-hero-in { padding: 24px 0 30px; }
  .pt-h1 { font-size: 40px; } .pt-hero-s { font-size: 17px; }
  .pt-btns { gap: 10px; margin-top: 22px; } .pt-btn-w, .pt-btn-o { flex: 1; width: auto; height: 50px; font-size: 16.5px; }
  .section.pt-prod-sec { background-image: none; }
  .pt-models { display: flex; overflow-x: auto; gap: 8px; padding: 14px 0; max-width: calc(100vw - 30px); }
  .pt-models a { flex: 0 0 auto; padding: 0 16px; height: 44px; font-size: 15px; }
  .pt-h2 { font-size: 27px; } .pt-sub { font-size: 15.5px; } .pt-all { font-size: 15px; }
  .pt-prod-sec .pt-head { margin-top: 14px; } .pt-head { flex-wrap: wrap; gap: 6px 16px; }
  .pt-pcs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .pt-pc { padding: 12px 10px 14px; } .pt-pc-img { height: 150px; } .pt-pc-n { font-size: 14px; white-space: normal; }
  .pt-chips { flex-wrap: wrap; gap: 5px; } .pt-chips span { font-size: 12px; height: 26px; padding: 0 7px; }
  .pt-price { font-size: 17px; margin: 10px 0; } .pt-buy { height: 40px; font-size: 15px; }
  .pt-conds { grid-template-columns: minmax(0, 1fr); gap: 20px; } .pt-cd h3 { font-size: 21px; margin-top: 12px; } .pt-cd > div:last-child { font-size: 16px; }
  .pt-trade { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .pt-trade-h { font-size: 38px; } .pt-trade-s { font-size: 19px; }
  .pt-st > b { width: 46px; height: 46px; flex-basis: 46px; font-size: 20px; } .pt-st h3 { font-size: 18px; } .pt-st span { font-size: 15.5px; }
  .pt-vf { padding: 20px 16px 22px; } .pt-vf-h { font-size: 23px; }
  .pt-checks { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 0; } .pt-checks span { font-size: 15px; }
  .pt-ins { flex-direction: column; align-items: flex-start; gap: 10px; padding: 22px 0; }
  .pt-ins b { font-size: 34px; border-right: 0; padding-right: 0; } .pt-ins span { font-size: 16px; } .pt-ins a { width: 100%; height: 48px; font-size: 16.5px; }
  .pt-posts { grid-template-columns: minmax(0, 1fr); }
  .pt-ft { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 26px 16px; }
  .pt-ft-brand, .pt-ft-ct { grid-column: 1 / -1; }
}

/* mid-fix */
@media (min-width: 850px) and (max-width: 1399px) {
  #header .header-search-form { width: 190px !important; max-width: 190px !important; }
  .pt-models { gap: 10px; } .pt-models a { font-size: 16px; }
  .pt-trade { grid-template-columns: minmax(0, 1fr) 460px; gap: 40px; }
}
@media (min-width: 850px) and (max-width: 1199px) {
  .pt-h1 { font-size: 56px; } .section.pt-hero { min-height: 440px; }
  .pt-hero .section-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(190,20,8,.85) 0, rgba(190,20,8,.5) 50%, rgba(190,20,8,0) 75%); }
  .pt-models { display: flex; flex-wrap: wrap; } .pt-models a { padding: 0 18px; flex: 1 0 auto; }
  .pt-pcs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pt-trade { grid-template-columns: minmax(0, 1fr); }
  .pt-ins b { font-size: 36px; padding-right: 24px; } .pt-ins { gap: 24px; } .pt-ins span { font-size: 18px; }
  .pt-ft { grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 0 14px; }
}
/* /mid-fix */
/* _midwidth: header Flatsome ở 850-1399px (laptop nhỏ/tablet ngang) — menu dựng theo mockup 1440 tràn phải; dùng chung mọi site */
@media (min-width: 850px) and (max-width: 1399px) {
  #header .header-nav-main > li, #header .header-bottom-nav > li { margin-left: 6px !important; margin-right: 6px !important; }
  #header .header-nav-main > li > a, #header .header-bottom-nav > li > a { font-size: 14px !important; }
  #header .header-search-form { max-width: 300px !important; width: 300px !important; margin-left: 20px !important; }
}
@media (min-width: 850px) and (max-width: 1199px) {
  #logo { width: auto !important; max-width: 210px !important; } #logo a { font-size: 21px !important; }
  #header .header-main .flex-right .header-button-1, #header .header-main .flex-right li.html, #header .header-search-form, #top-bar .flex-right { display: none !important; }
  #header .header-nav-main > li, #header .header-bottom-nav > li { margin-left: 3px !important; margin-right: 3px !important; }
  #header .header-nav-main > li > a, #header .header-bottom-nav > li > a { font-size: 13px !important; }
  #header .flex-col { min-width: 0; } #header .header-inner, #header .header-bottom .container { overflow: hidden; }
}
.col-inner a[href^="mailto"], .col-inner a[href^="tel"] { overflow-wrap: anywhere; }
