* { box-sizing: border-box; }
:root { --ink: #193743; --muted: #475f6c; --paper: #f8fbfc; --line: #cbdce3; --mist: #e3eff3; --ice: #baedf1; }
html { scroll-padding-top: 18px; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; font: 16px/1.56 var(--font); color: var(--ink); background: var(--paper); overflow-wrap: anywhere; }
.page-content { display: flex; flex: 1; flex-direction: column; min-height: 0; }
main { flex: 1; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: .2em; }
:focus-visible { outline: solid 3px #aa471d; outline-offset: 3px; }
button, input { font: inherit; color: inherit; }
button, summary { cursor: pointer; }
h1,h2,h3,p,figure,dl,dd { margin: 0; }
h1,h2,h3 { line-height: 1.15; text-wrap: balance; }
h1 { font-size: clamp(2.15rem,4.3vw,4rem); letter-spacing: -.045em; }
h2 { font-size: clamp(1.65rem,2.65vw,2.45rem); font-weight: 650; letter-spacing: -.04em; }
h3 { font-size: 1.28rem; font-weight: 640; letter-spacing: -.025em; }
.wrap { width: min(1248px,calc(100% - 96px)); margin-inline: auto; }
.icon { width: 1.18em; height: 1.18em; flex: none; vertical-align: middle; }
.skip { position: absolute; transform: translateY(-150%); z-index: 8; padding: 12px; background: white; color: var(--ink); }
.skip:focus { transform: none; }
header { background: var(--paper); border-bottom: 1px solid var(--line); }
.trust { background: var(--accent); color: #f4fbfd; font-size: .76rem; font-weight: 530; }
.trust-inner,.trust-inner > *, .mast,.identity,.desktop-nav,.actions,.btn,.section-head,.more,.keywords,.group,.breadcrumb,.float,.pager { display: flex; align-items: center; }
.trust-inner { gap: 2.3rem; min-height: 35px; }
.trust-inner > * { gap: .45rem; }
.trust-inner a { margin-left: auto; }
.trust .icon { color: var(--ice); }
.mast { min-height: 89px; gap: clamp(20px,4vw,68px); position: relative; }
.identity { gap: 9px; line-height: 1; flex-shrink: 0; }
.identity:hover { text-decoration: none; }
.identity small { display: block; font-size: .61rem; text-transform: uppercase; font-weight: 690; letter-spacing: .17em; margin: 0 0 4px 2px; }
.identity strong { font-size: 1.75rem; letter-spacing: -.07em; font-weight: 700; }
.mark { width: 41px; height: 41px; color: var(--accent); }
.desktop-nav { gap: clamp(16px,2.5vw,40px); font-size: .94rem; font-weight: 575; }
.search { display: flex; background: #eaf1f5; border: 1px solid var(--line); border-radius: 40px; max-width: 100%; align-items: center; width: 260px; }
.mast > .search { margin-left: auto; }
.search input { width: 0; flex: 1; min-width: 0; padding: 10px 0 10px 15px; border: 0; background: transparent; font-size: .88rem; }
.search input::placeholder { color: var(--muted); }
.search input:focus-visible { outline-offset: -2px; border-radius: 20px; }
.search button { border: 0; background: none; width: 44px; height: 40px; }
.mobile-menu { display: none; }
.hero { margin-top: 28px; display: grid; grid-template-columns: 1.14fr 1fr; background: var(--accent); color: #fff; overflow: hidden; border-radius: var(--radius); }
.hero-copy { padding: clamp(32px,4.25vw,66px); align-self: center; min-width: 0; }
.eyebrow,.kicker,.kind { font-weight: 660; letter-spacing: .09em; text-transform: uppercase; font-size: .71rem; }
.eyebrow { display: flex; align-items: center; gap: 9px; color: var(--ice); }
.eyebrow i { width: 23px; height: 2px; background: currentColor; }
.hero h1 { font-size: clamp(2.5rem,4.15vw,4.05rem); line-height: 1.08; margin: 21px 0 17px; font-weight: 580; letter-spacing: -.055em; }
.hero h1 em { font-family: "Times New Roman",serif; font-weight: 400; color: var(--ice); letter-spacing: -.045em; font-size: 1.12em; }
.hero-desc { max-width: 40ch; color: #e3f2f7; line-height: 1.6; }
.actions { flex-wrap: wrap; gap: 10px; margin-top: 27px; }
.btn { justify-content: center; gap: 10px; min-height: 46px; padding: 10px 20px; border-radius: 32px; font-size: .9rem; font-weight: 650; width: fit-content; }
.primary { background: var(--ice); color: #15384a; }
.secondary { color: white; border: 1px solid #98c7d7; }
.solid { color: #fff; background: var(--accent); }
.hero-photo { position: relative; min-height: 100%; }
.hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.hero-photo figcaption { position: absolute; bottom: 14px; right: 14px; font-size: .71rem; border-radius: 20px; background: #f4fbfc; color: var(--ink); padding: 3px 10px; }
.brand-hero { background: color-mix(in srgb, var(--accent) 82%, #152c4d); }
.hero .warning { margin-top: 18px; }
.keywords { gap: 9px; flex-wrap: wrap; padding: 17px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .81rem; }
.keywords span { font-weight: 650; margin-right: 3px; }
.keywords a { padding: 4px 13px; border: 1px solid var(--line); border-radius: 28px; background: white; }
.band { margin-top: 46px; margin-bottom: 46px; }
.section-head { justify-content: space-between; gap: 16px; margin-bottom: 19px; }
.more,.text-link { color: var(--accent); font-weight: 650; }
.more { gap: 9px; flex: none; font-size: .87rem; }
.groups,.cards,.places,.proof,.foot-grid { display: grid; gap: 16px; }
.groups,.cards { grid-template-columns: repeat(4,minmax(0,1fr)); }
.group { gap: 12px; padding: 18px 14px; background: #eaf3f7; border: 1px solid var(--line); border-radius: var(--radius); }
.group:nth-child(4n+2) { background: #e9f5f5; border-color: var(--line); }
.group:nth-child(4n+3) { background: #edf1f8; }
.group:nth-child(4n+4) { background: #eff4f6; border-color: var(--line); }
.glyph { width: 43px; height: 43px; border-radius: 50%; background: #fff; display: grid; place-items: center; flex: none; }
.glyph svg { width: 24px; height: 24px; }
.group strong { font-size: .97rem; font-weight: 625; }
.group-arrow { margin-left: auto; color: var(--muted); }
.cards { align-items: stretch; }
.groups:has(> :nth-child(2):last-child) { grid-template-columns: repeat(2,minmax(0,1fr)); }
.cards > .product-card:only-child { grid-column: 1/-1; display: grid; grid-template-columns: minmax(0,32%) 1fr; align-items: center; background: #edf5f8; }
.cards > .product-card:only-child .card-body { padding: clamp(18px,3vw,40px); }
.cards > .product-card:only-child .card-photo img { aspect-ratio: 1.55; }
.cards > .product-card:only-child h3 { font-size: clamp(1.3rem,2.4vw,2rem); }
.cards > .product-card:only-child .warning { max-width: 55ch; }
.product-card { overflow: hidden; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); }
.card-photo { display: block; background: var(--mist); }
.card-photo img { width: 100%; aspect-ratio: 1.55; object-fit: cover; }
.card-body { padding: 17px 18px 20px; }
.kind,.kicker { display: inline-block; color: var(--accent); font-size: .67rem; }
.card-body h3 { margin: 6px 0 8px; }
.meta,.review,.person p,.places p,.proof p,.colophon { color: var(--muted); font-size: .87rem; }
.price,.text-link { display: inline-block; margin-top: 9px; }
.price { color: var(--ink); font-weight: 690; }
.text-link { text-decoration: underline; text-underline-offset: 3px; }
.warning { margin-top: 14px; padding: 10px 13px; color: #173d50; background: #edf7fa; border: 1px solid #8aafbf; border-radius: 8px; font-size: 1rem; font-weight: 550; line-height: 1.5; }
.story,.person { display: flex; align-items: center; gap: clamp(20px,4vw,62px); background: #e6f0f5; border-radius: var(--radius); overflow: hidden; }
.story > img { width: 38%; height: 212px; object-fit: cover; }
.story > div { max-width: 640px; padding: 22px; }
.story h3 { font-size: clamp(1.35rem,2.35vw,2rem); margin: 8px 0; }
.story p:not(.kicker),.person p { margin-top: 8px; }
.person { margin-top: 18px; padding: 20px; gap: 23px; background: white; border: 1px solid var(--line); }
.person figure { flex: none; text-align: center; }
.person img { width: 98px; height: 98px; object-fit: cover; border-radius: 50%; }
.person figcaption { font-size: .7rem; margin-top: 4px; color: var(--muted); }
.places,.proof { grid-template-columns: repeat(auto-fit,minmax(min(100%,220px),1fr)); }
.places article,.proof article { border: 1px solid var(--line); padding: 21px; border-radius: var(--radius); }
.places article > .icon { color: var(--accent); margin-bottom: 11px; }
.branch-photo { width: 100%; height: 100%; max-height: 220px; object-fit: cover; border-radius: var(--radius); }
.places h3,.proof h3 { margin: 0 0 9px; }
.proof { margin-top: 18px; }
.proof article { background: var(--mist); }
.proof strong { font-size: 2.35rem; font-weight: 585; color: var(--accent); }
.breadcrumb { flex-wrap: wrap; gap: 8px; color: var(--muted); font-size: .84rem; padding-block: 22px; }
.detail { padding-bottom: 42px; }
.product-intro { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.1fr); gap: 6%; align-items: center; }
.detail-photo img { width: 100%; max-height: 520px; object-fit: cover; border-radius: var(--radius); }
.product-summary h1 { font-size: clamp(2.15rem,3.7vw,3.4rem); }
.product-summary .kind { margin: 10px 0 0; background: var(--mist); border-radius: 30px; padding: 4px 12px; }
.product-summary .price { display: block; font-size: 1.35rem; margin-bottom: 13px; }
.product-summary dl { margin-top: 16px; }
.product-summary dl > div { display: grid; grid-template-columns: 40% 1fr; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); }
dt { color: var(--muted); }
dd { font-weight: 580; }
dd a { text-decoration: underline; }
.prose { max-width: 760px; margin-inline: auto; }
.prose h2 { font-size: 1.4rem; margin: 26px 0 7px; }
.product-notes { margin-top: 42px; }
.product-notes section { border-bottom: 1px solid var(--line); padding-bottom: 13px; }
.prose .warning,.prose .review,.reading .intro { margin-top: 16px; }
.prose details { border-block: 1px solid var(--line); padding: 14px 0; }
.prose details p { margin-top: 10px; }
.reading { padding-block: 20px 58px; }
.reading-image { margin-block: 24px; width: 100%; max-height: 350px; object-fit: cover; border-radius: var(--radius); }
.band > h1 { margin-bottom: 20px; }
.band > .cards:not(:first-child), .band > .search { margin-block: 18px; }
.pager { gap: 14px; margin-block: 20px; }
footer { background: #e4eff3; border-top: 1px solid var(--line); }
.foot-grid { grid-template-columns: 1.8fr 1fr 1fr; padding-block: 40px 30px; gap: 6%; }
.foot-grid .identity { margin: 0 0 13px; }
.foot-grid p,.foot-grid > div > a:not(.identity) { display: block; margin: 5px 0; font-size: .86rem; }
.foot-grid h2 { font-size: 1.02rem; letter-spacing: 0; margin-bottom: 12px; }
.stamp { display: inline-block; border: 1px dashed #61818c; margin-top: 10px; padding: 6px 10px; border-radius: 5px; }
.colophon { border-top: 1px solid #bed3dc; padding: 15px 0 22px; }
.float { position: fixed; z-index: 3; right: 18px; bottom: 20px; gap: 7px; background: var(--accent); color: white; border: 2px solid white; border-radius: 32px; padding: 10px 13px; box-shadow: 0 3px 16px #19374329; font-weight: 600; font-size: .84rem; }
@media (max-width: 1000px) {
  .wrap { width: calc(100% - 48px); }
  .mast { gap: 20px; min-height: 76px; }
  .mast > .search { width: 190px; }
  .desktop-nav { gap: 14px; font-size: .86rem; }
  .hero-copy { padding: 30px; }
  .groups,.cards { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 740px) {
  .wrap { width: calc(100% - 32px); }
  .trust-inner { gap: 7px 14px; flex-wrap: wrap; justify-content: space-between; padding: 6px 0; font-size: .68rem; }
  .trust-inner > * { gap: 4px; }
  .trust-inner a { margin: 0; }
  .mast { min-height: 70px; gap: 12px; }
  .identity strong { font-size: 1.42rem; }
  .mark { width: 33px; height: 33px; }
  .desktop-nav { display: none; }
  .mast > .search { flex: 1; max-width: 220px; }
  .mobile-menu { display: block; }
  .mobile-menu summary { display: grid; gap: 4px; place-content: center; width: 40px; height: 40px; }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .mobile-menu summary span { height: 2px; width: 20px; background: var(--ink); }
  .mobile-menu nav { position: absolute; z-index: 5; right: 0; top: 100%; width: min(260px,100%); padding: 12px; background: white; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 8px 20px #1937431a; }
  .mobile-menu nav a { display: block; padding: 10px; }
  .hero { margin-top: 16px; grid-template-columns: 1fr; }
  .hero-copy { padding: 26px 23px; }
  .hero h1 { font-size: clamp(2.4rem,8vw,3rem); margin: 14px 0 11px; }
  .hero-desc { font-size: .92rem; }
  .actions { margin-top: 20px; gap: 8px; }
  .btn { min-height: 43px; padding: 9px 15px; font-size: .86rem; }
  .hero-photo { min-height: 0; height: clamp(180px,46vw,265px); }
  .hero-photo img { object-position: 50% 38%; }
  .keywords { gap: 6px; font-size: .75rem; padding-block: 14px; }
  .keywords a { padding: 4px 9px; }
  .band { margin-block: 32px; }
  .section-head { margin-bottom: 14px; gap: 8px; }
  .more { font-size: .76rem; gap: 4px; }
  .groups,.cards { gap: 10px; }
  .group { gap: 8px; padding: 13px 10px; }
  .group strong { font-size: .86rem; }
  .glyph { width: 32px; height: 32px; }
  .glyph svg { width: 20px; height: 20px; }
  .group-arrow { display: none; }
  .card-body { padding: 12px; }
  .cards > .product-card:only-child { grid-template-columns: 35% 1fr; }
  .cards > .product-card:only-child .card-photo { align-self: stretch; }
  .cards > .product-card:only-child .card-photo img { height: 100%; object-fit: contain; }
  .cards > .product-card:only-child .card-body { padding: 14px; }
  .card-body h3 { font-size: 1.02rem; }
  .kind { font-size: .63rem; }
  .product-card .meta { font-size: .76rem; }
  .story { display: block; }
  .story > img { width: 100%; height: 160px; }
  .person { padding: 15px; gap: 14px; }
  .person img { width: 74px; height: 74px; }
  .product-intro { grid-template-columns: 1fr; gap: 18px; }
  .detail-photo img { max-height: 340px; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 22px 16px; }
  .foot-grid > :first-child { grid-column: 1/-1; }


}
@media (max-width: 410px) {
  .trust-inner { display: grid; grid-template-columns: auto auto; gap: 3px 8px; }
  .group { gap: 6px; }
  .mast { gap: 7px; }
  .hero h1 { font-size: 2.4rem; }
}

/* Dành riêng một hàng cho liên hệ trên màn hẹp, kể cả khi cuộn hoặc phóng chữ. */
@media (max-width: 1200px) {
  /* Cuộn bằng tài liệu (giữ thanh địa chỉ tự ẩn, kéo để tải lại, neo, khôi phục vị trí khi Quay lại); thanh Zalo dính đáy, body chừa chỗ. */
  body:has(.float) { padding-bottom: calc(44px + max(10px, env(safe-area-inset-bottom))); }
  .float { position: fixed; left: 0; right: 0; bottom: 0; justify-content: center; min-height: 44px; border: 0; border-radius: 0; box-shadow: 0 -2px 10px #19374314; padding-bottom: max(10px,env(safe-area-inset-bottom)); }
}
@media (max-width: 480px) {
  .cards { grid-template-columns: minmax(0,1fr); }
  .cards .product-card, .cards > .product-card:only-child { display: grid; grid-template-columns: 30% minmax(0,1fr); align-items: start; }
  .cards .card-photo { margin: 12px 0 0 12px; overflow: hidden; border-radius: 8px; }
  .cards .card-photo img, .cards > .product-card:only-child .card-photo img { aspect-ratio: 1; object-fit: cover; height: auto; }
  .cards > .product-card:only-child .card-photo { align-self: start; }
}
.add-to-cart { margin-top: 12px; }
.add-to-cart button { border: 0; }
.card-body .add-to-cart button { min-height: 40px; }

@media (min-width: 1201px) { .contact-prompt { display: none; } }

.checkout-page { max-width: 1040px; }
.checkout-page h1 { margin-bottom: 24px; }
.checkout-page h2, .form-group legend { font-size: 1.25rem; font-weight: 650; }
.checkout__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.checkout .checkout__summary { grid-column: 2; grid-row: 1; }
.checkout__summary, .checkout__form, .cart-form, .cart-empty, .receipt-head, .receipt, .payment { padding: clamp(16px,3vw,32px); border: 1px solid var(--line); border-radius: var(--radius); background: white; }
.checkout-page ul { list-style: none; margin: 0; padding: 0; }
.checkout-page :is(.totals,.payment__info) > div, .summary-line { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; }
.checkout-page .button, .checkout-page button[type=submit] { display: inline-block; padding: 10px 16px; background: var(--accent); color: white; border: none; border-radius: 24px; font-weight: 600; }
.checkout-page .button, .checkout-page .cart-lines { margin-top: 14px; }
.cart-line { display: grid; grid-template-columns: 64px minmax(0,1fr) auto; align-items: center; gap: 12px; padding-block: 14px; border-block-start: 1px solid var(--line); }
.cart-line .line-photo { grid-row: 1 / 3; align-self: start; border-radius: 8px; overflow: hidden; }
.cart-line .cart-line__name { grid-column: 2; }
.cart-line .stepper { grid-column: 3; text-align: right; }
.cart-line .cart-line__total { grid-column: 2; white-space: nowrap; }
.cart-line button.remove-line[type=submit] { justify-self: end; background: white; color: var(--accent); text-decoration: underline; }
.cart-form > .text-link { margin-inline-start: 10px; }
.receipt-links { display: flex; flex-wrap: wrap; gap: 16px; }
.cart-line input { max-width: 5em; }
.cart-line small, .choice-card small { display: block; color: var(--muted); }
.cart-empty, .order-lookup, .order-page { max-width: 720px; }
.checkout-page .hp { display: none; }
.checkout__form, .checkout__form .field, .form-group, .choices, .delivery-fields, .contact-fields { display: grid; gap: 12px; }
.form-group { min-width: 0; margin: 0; padding: 12px 0; border: 0; border-top: 1px solid var(--line); }
.form-group legend { padding-right: 10px; }
.checkout__form .field { gap: 4px; }
.checkout-page :is(textarea,select,input:not([type=checkbox],[type=radio],[type=hidden])) { min-width: 0; max-width: 100%; padding: 9px 11px; background: white; color: var(--ink); font: inherit; border: 1px solid #829ba8; border-radius: 6px; }
.checkout-page ::placeholder { color: var(--muted); }
.choice-card { display: flex; align-items: start; gap: 8px; }
.checkout-page summary { font-weight: 650; }
.quote summary strong { float: right; }
.field-error, .notice--error { color: #87311c; }
.checkout-page .receipt-head, .payment { margin-bottom: 20px; }
@media (max-width: 800px) {
  .checkout__grid { grid-template-columns: minmax(0,1fr); }
  .checkout .checkout__summary { grid-column: auto; grid-row: auto; }
}
