/* Shop hoa – giao diện chung; màu chính mỗi web được build.js chèn vào :root */
:root {
  --brand:#539414;--primary:#4A8512;--primary-hover:#3D6F0E;--deep:#2F570B;--tint:#F3F8EC;--tint-strong:#E1EFCF;
  --bg: #FBF8F4;
  --bg-soft: #F5EFE7;
  --surface: #FFFFFF;
  --text: #1F1B18;
  --muted: #5C554F;
  --border: #EAE3DA;
  --gold: #9A7B4F;
  --danger: #B91C1C;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(31, 27, 24, .05), 0 6px 20px rgba(31, 27, 24, .06);
  --shadow-lg: 0 12px 40px rgba(31, 27, 24, .14);
  --font: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --wrap: 1240px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --primary:#9BD35A;--primary-hover:#9BD35A;
    --bg: #141110;
    --bg-soft: #1B1715;
    --surface: #1F1B18;
    --text: #F4EFE9;
    --muted: #C9C0B6;
    --border: #3A332E;
    --tint: #26201C;
    --tint-strong: #302822;
    --gold: #D4B483;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, .5);
    color-scheme: dark;
  }
  .btn-primary, .btn-primary:hover, .mobile-bar .mobile-cart, .badge-off, .step-no { color: #111 !important; }
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.7 var(--font); padding-bottom: 72px; -webkit-font-smoothing: antialiased; font-variant-numeric: lining-nums; }
@media (min-width: 900px) { body { padding-bottom: 0; } }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-underline-offset: 3px; }
a:hover { color: var(--primary-hover); }
h1, h2, h3 { line-height: 1.18; margin: 0 0 .5em; text-wrap: balance; font-variant-numeric: lining-nums; }
h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(2rem, 4.5vw, 3rem); letter-spacing: -.01em; }
h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(1.75rem, 3.2vw, 2.4rem); letter-spacing: -.005em; }
h3 { font-size: 1.05rem; font-weight: 600; }
/* Tiêu đề theo màu thương hiệu (chủ máy chốt): Hạnh Phúc xanh lá, Thanh Tú hồng sen */
h1, h2, h3, .prose h3, .occasion-name, .contact-title, .brand-name, .nav a, .header-phone, .step-title, .trust-title, .card-title a, .footer-brand { color: var(--primary-hover); }
/* Tiêu đề viết hoa chữ đầu mỗi từ (chủ máy chốt): "Đặt Hoa Trong 3 Bước" */
h1, h2, h3, .step-title, .trust-title, .contact-title, .occasion-name, .fruit-notes-title, .footer-title, .cc-label, legend { text-transform: capitalize; }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; border-radius: 6px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .wrap { padding: 0 32px; } }
.narrow { max-width: 820px; }
.icon { flex: none; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--surface); padding: 8px 16px; z-index: 100; }
.skip:focus { left: 8px; }
.hide-sm { display: none !important; }
@media (min-width: 900px) { .hide-sm { display: inline-flex !important; } }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; text-transform: uppercase; letter-spacing: .16em; font-size: 12.5px; font-weight: 600; color: var(--gold); margin: 0 0 12px; }
.eyebrow::before, .eyebrow::after { content: ""; width: 24px; height: 1px; background: currentColor; opacity: .6; }

/* Nút */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 10px 22px; border-radius: 999px; border: 1.5px solid transparent; font: 600 15px/1.2 var(--font); letter-spacing: .01em; text-decoration: none; cursor: pointer; transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .2s var(--ease), box-shadow .25s var(--ease); white-space: nowrap; }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 6px 18px color-mix(in srgb, var(--primary) 30%, transparent); }
.btn-primary:hover { background: var(--primary-hover); color: #fff; box-shadow: 0 10px 24px color-mix(in srgb, var(--primary) 38%, transparent); }
.btn-outline { border-color: color-mix(in srgb, var(--primary) 55%, transparent); color: var(--primary); background: transparent; }
.btn-outline:hover { background: var(--tint); border-color: var(--primary); }
.btn-ghost { color: var(--text); background: transparent; }
.btn-ghost:hover { background: var(--tint); color: var(--primary); }
.btn-lg { min-height: 54px; padding: 14px 28px; font-size: 16px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }
.icon-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 999px; border: 0; background: transparent; color: var(--text); cursor: pointer; transition: background-color .2s, color .2s; }
.icon-btn:hover { background: var(--tint); color: var(--primary); }

/* Đầu trang: logo giữa, menu chữ in hoa bên dưới */
.site-header { background: color-mix(in srgb, var(--surface) 94%, transparent); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 50; }
.topbar { background: var(--deep); color: #fff; font-size: 13px; letter-spacing: .04em; }
.topbar .wrap { display: flex; justify-content: center; align-items: center; min-height: 34px; text-align: center; }
.topbar p { margin: 0; }
.hide-xs { display: none; }
@media (min-width: 640px) { .hide-xs { display: inline; } }
.header-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; min-height: 72px; }
@media (min-width: 1000px) { .header-row { min-height: 88px; } }
.header-left { display: flex; align-items: center; gap: 8px; }
.header-phone { display: none; align-items: center; gap: 8px; color: var(--text); text-decoration: none; font-weight: 600; font-size: 15px; letter-spacing: .02em; min-height: 44px; }
.header-phone .icon { color: var(--primary); }
.header-phone:hover { color: var(--primary); }
@media (min-width: 1000px) { .header-phone { display: inline-flex; } }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.brand-logo { width: auto; height: 38px; }
@media (min-width: 1000px) { .brand { flex-direction: column; gap: 4px; } .brand-logo { height: 40px; } }
.brand-name { white-space: nowrap; font-family: var(--serif); font-size: 1.4rem; font-weight: 600; letter-spacing: .01em; line-height: 1; }
@media (min-width: 1000px) { .brand-name { font-size: 1.7rem; } }
.nav { display: none; border-top: 1px solid var(--border); }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; gap: 4px; flex-wrap: wrap; }
.nav a { position: relative; display: inline-flex; align-items: center; min-height: 48px; padding: 0 14px; color: var(--text); text-decoration: none; font-weight: 600; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; }
.nav a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 10px; height: 1.5px; background: var(--brand); transform: scaleX(0); transition: transform .3s var(--ease); }
.nav a:hover, .nav a[aria-current] { color: var(--primary); }
.nav a:hover::after, .nav a[aria-current]::after { transform: scaleX(1); }
@media (min-width: 1000px) { .nav { display: block; } .menu-btn { display: none; } }
.nav.open { display: block; position: absolute; left: 0; right: 0; top: 100%; background: var(--surface); border-bottom: 1px solid var(--border); box-shadow: var(--shadow-lg); padding: 8px 0 16px; }
.nav.open ul { flex-direction: column; align-items: stretch; }
.nav.open a { font-size: 14px; min-height: 48px; border-bottom: 1px solid var(--border); }
.header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 4px; }
.cart-count { position: absolute; top: 2px; right: 0; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--primary); color: #fff; font-size: 12px; font-weight: 700; display: grid; place-items: center; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 18px 0 0; margin: 0; font-size: 14px; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--primary); text-decoration: underline; }

/* Ảnh đầu trang */
.hero { position: relative; padding: 40px 0 56px; overflow: hidden; background:
  radial-gradient(60% 70% at 85% 30%, var(--tint) 0%, transparent 70%),
  radial-gradient(40% 50% at 5% 90%, var(--bg-soft) 0%, transparent 70%), var(--bg); }
.hero-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .hero { padding: 64px 0 88px; } .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 56px; } }
.hero h1 { font-size: clamp(2.4rem, 5.6vw, 4.2rem); font-weight: 600; line-height: 1.08; letter-spacing: -.02em; }
.hero h1 em { font-style: italic; color: var(--primary); font-weight: 500; }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 34em; margin: 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-note { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 20px 0 0; color: var(--muted); font-size: 14px; }
.hero-note { gap: 6px 20px; }
.hero-note span { display: inline-flex; align-items: center; gap: 6px; }
.hero-note .icon { color: var(--primary); }
.hero-media { position: relative; height: 420px; max-width: 520px; width: 100%; margin: 0 auto; }
@media (min-width: 960px) { .hero-media { height: 560px; } }
.hero-img { position: absolute; object-fit: cover; box-shadow: var(--shadow-lg); }
.hero-img-0 { width: 66%; height: 92%; left: 17%; top: 0; border-radius: 999px 999px 24px 24px; z-index: 1; }
.hero-img-1 { width: 34%; aspect-ratio: 1; left: 0; bottom: 4%; border-radius: 50%; border: 6px solid var(--bg); z-index: 2; }
.hero-img-2 { width: 30%; aspect-ratio: 1; right: 0; top: 12%; border-radius: 50%; border: 6px solid var(--bg); z-index: 2; }
.hero-media::before { content: ""; position: absolute; left: 10%; top: 6%; width: 80%; height: 92%; border: 1px solid color-mix(in srgb, var(--brand) 55%, transparent); border-radius: 999px 999px 28px 28px; transform: translate(14px, 14px); }

/* Cam kết */
.trust { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin-top: -32px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
@media (min-width: 900px) { .trust { grid-template-columns: repeat(4, 1fr); margin-top: -44px; } }
.trust-item { display: flex; flex-direction: column; gap: 10px; padding: 18px 16px; background: var(--surface); color: var(--primary); }
@media (min-width: 640px) { .trust-item { flex-direction: row; align-items: center; gap: 14px; padding: 22px 20px; } }
.trust-item .icon { width: 46px; height: 46px; padding: 11px; border-radius: 50%; background: var(--tint); color: var(--brand); }
.trust-item p { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.45; }
.trust-item .trust-title { color: var(--text); font-weight: 600; font-size: 15px; margin-bottom: 2px; }

/* Khối nội dung */
.block { margin-top: 72px; }
@media (min-width: 900px) { .block { margin-top: 96px; } }
.block-head { display: flex; flex-direction: column; align-items: center; text-align: center; margin-bottom: 32px; }
.block-head h2 { margin: 0; }
.block-head .ornament { width: auto; height: 22px; margin-bottom: 10px; }
.block-head .eyebrow { margin-bottom: 10px; }
.link-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 15px; text-decoration: none; min-height: 44px; margin-top: 6px; }
.link-more .icon { transition: transform .25s var(--ease); }
.link-more:hover .icon { transform: translateX(4px); }

/* Danh mục tròn */
.occasions { list-style: none; padding: 0; margin: 0 auto; max-width: 960px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px 16px; }
@media (min-width: 640px) { .occasions { grid-template-columns: repeat(4, 1fr); gap: 32px; } }
.occasion { display: flex; flex-direction: column; align-items: center; gap: 10px; text-decoration: none; color: var(--text); text-align: center; }
.occasion-img { display: block; width: 100%; max-width: 180px; aspect-ratio: 1; border-radius: 50%; overflow: hidden; padding: 5px; background: var(--surface); box-shadow: 0 0 0 1px var(--border); transition: box-shadow .3s var(--ease); }
.occasion-img img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; transition: transform .5s var(--ease); }
.occasion:hover .occasion-img { box-shadow: 0 0 0 2px var(--brand); }
.occasion:hover .occasion-img img { transform: scale(1.06); }
.occasion-name { font-family: var(--serif); font-weight: 600; font-size: 1.1rem; line-height: 1.25; }
.occasion-count { font-size: 13px; color: var(--muted); margin-top: -6px; }

/* Lưới sản phẩm */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 20px; } }
@media (min-width: 1000px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 24px; } }
.card { display: flex; flex-direction: column; }
.card-media { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--bg-soft); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card-media img { transform: scale(1.05); }
.badge-off { position: absolute; top: 10px; left: 10px; padding: 3px 10px; border-radius: 999px; background: var(--primary); color: #fff; font-size: 12.5px; font-weight: 700; letter-spacing: .02em; }
.card-body { padding: 14px 2px 0; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.card-title { margin: 0; font-size: 15.5px; font-weight: 500; line-height: 1.4; }
.card-title a { color: var(--text); text-decoration: none; }
.card-title a:hover { color: var(--primary); }
.price { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; }
.price .now { font-weight: 700; color: var(--primary); font-size: 1.05rem; letter-spacing: .01em; }
.price del { color: var(--muted); font-size: 13.5px; }
.btn-card { margin-top: auto; width: 100%; min-height: 44px; padding: 8px 12px; font-size: 14px; border-color: var(--border); color: var(--text); background: var(--surface); }
.card-body .price { margin-bottom: 10px; }
.btn-card:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.btn-card .icon { width: 17px; height: 17px; }

/* Dải ảnh khách nhận hoa (kéo ngang) */
.gallery-block { background: var(--bg-soft); padding: 64px 0 56px; }
.gallery-block .wrap { position: relative; }
.gal-nav { display: none; position: absolute; right: 32px; bottom: 32px; gap: 8px; }
@media (min-width: 900px) { .gal-nav { display: flex; } }
.gal-nav .icon-btn { border: 1px solid var(--border); background: var(--surface); }
.gallery { list-style: none; margin: 0; padding: 4px 16px 12px; display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: 16px; scrollbar-width: none; overscroll-behavior-x: contain; }
.gallery::-webkit-scrollbar { display: none; }
@media (min-width: 768px) { .gallery { padding: 4px max(32px, calc((100% - var(--wrap)) / 2 + 32px)) 12px; scroll-padding-left: max(32px, calc((100% - var(--wrap)) / 2 + 32px)); } }
.gallery li { flex: 0 0 auto; width: 62vw; max-width: 270px; scroll-snap-align: start; }
.gallery img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }

/* 3 bước */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.steps li { position: relative; padding: 28px 24px 24px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.steps p { margin: 0; color: var(--muted); }
.steps .step-title { color: var(--text); font-weight: 600; font-size: 1.05rem; margin: 14px 0 4px; }
.step-no { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--primary); color: #fff; font-family: var(--serif); font-size: 1.4rem; font-weight: 600; }

/* Trang danh mục / nội dung */
.page-head { padding-top: 24px; }
.page-head .count { color: var(--muted); margin: 8px 0 0; }
.chips { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); color: var(--text); text-decoration: none; font-weight: 500; font-size: 14px; transition: border-color .2s, color .2s; }
.chips a:hover { border-color: var(--primary); color: var(--primary); }
.pager { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 40px; }
.pager a, .pager span { display: grid; place-items: center; min-width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); text-decoration: none; color: var(--text); font-weight: 600; }
.pager a:hover { border-color: var(--primary); color: var(--primary); }
.pager span[aria-current] { background: var(--primary); border-color: var(--primary); color: #fff; }
.pager .gap { border: 0; background: none; min-width: 20px; color: var(--muted); }
.pager .pager-step { color: var(--primary); }
.pager .pager-info { flex-basis: 100%; border: 0; background: none; height: auto; color: var(--muted); font-weight: 500; font-size: 14px; margin-top: 4px; }
.prose { max-width: 72ch; overflow-wrap: break-word; font-size: 16.5px; }
.prose h2 { font-size: 1.8rem; margin-top: 1.6em; }
.prose h3 { font-size: 1.15rem; margin-top: 1.4em; }
.prose img { border-radius: var(--radius-sm); margin: 16px 0; }
.prose table { border-collapse: collapse; width: 100%; display: block; overflow-x: auto; }
.prose td, .prose th { border: 1px solid var(--border); padding: 8px 10px; }
.intro { color: var(--muted); }
.with-aside { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: start; margin-top: 8px; }
.with-aside > * { min-width: 0; }
@media (min-width: 1000px) { .with-aside { grid-template-columns: minmax(0, 1fr) 340px; } .with-aside .contact-box { position: sticky; top: 130px; flex-direction: column; align-items: stretch; } }
.contact-box { position: relative; margin-top: 72px; display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; padding: 36px; border-radius: var(--radius); background: linear-gradient(135deg, var(--tint) 0%, var(--surface) 75%); border: 1px solid var(--tint-strong); overflow: hidden; }
.contact-box::after { content: ""; position: absolute; right: -40px; bottom: -50px; width: 220px; height: 140px; background: url(/assets/logo-mark.png) no-repeat center / contain; opacity: .08; pointer-events: none; }
.with-aside .contact-box { margin-top: 0; padding: 24px; }
.contact-box p { margin: 0; color: var(--muted); }
.contact-box .contact-title { font-family: var(--serif); font-size: 1.75rem; font-weight: 600; color: var(--text); margin-bottom: 4px; line-height: 1.2; }
.contact-actions { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 10px; }

/* Trang sản phẩm */
.product { display: grid; gap: 28px; padding-top: 20px; }
@media (min-width: 900px) { .product { grid-template-columns: 1fr 1fr; gap: 56px; } }
.product-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); background: var(--bg-soft); }
.product-info h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.product-info .price .now { font-size: 1.75rem; }
.product-info .price del { font-size: 1rem; }
.buy-row { margin: 24px 0 12px; }
.buy-row .btn { width: 100%; }
.product-info .btn-add.btn-lg { background: var(--primary); color: #fff; border-color: var(--primary); }
.product-info .btn-add.btn-lg:hover { background: var(--primary-hover); }
.quick-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.quick-row .btn { padding: 10px 8px; white-space: normal; text-align: center; }
.product-note { margin: 10px 0 0; color: var(--gold); font-weight: 600; }
.fruit-notes { margin: 20px 0 0; padding: 18px 20px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--border); border-left: 4px solid var(--brand); color: var(--text); }
.fruit-notes-title { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; font-weight: 700; color: var(--primary); }
.fruit-notes ol { margin: 0; padding-left: 22px; display: grid; gap: 4px; }
.fruit-more { margin: 10px 0 0; color: var(--muted); }
.fruit-more a { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; min-height: 32px; }
.intro .fruit-notes { margin: 8px 0 16px; max-width: 72ch; }
.perks { list-style: none; margin: 24px 0 0; padding: 20px; background: var(--tint); border: 1px solid var(--tint-strong); border-radius: var(--radius-sm); display: grid; gap: 10px; }
.perks li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.5; font-size: 15px; }
.perks .icon { color: var(--primary); margin-top: 2px; }
.perks strong { font-weight: 700; }
.perks .perk-note { color: var(--muted); font-size: 14px; }
.policy-links { list-style: none; padding: 20px 0 0; margin: 24px 0 0; border-top: 1px solid var(--border); display: grid; gap: 10px; }
.policy-links li { display: flex; align-items: center; gap: 10px; color: var(--primary); }
.tags { color: var(--muted); font-size: 14px; }

/* Giỏ hàng */
.checkout { display: grid; gap: 28px; align-items: start; padding-bottom: 32px; }
@media (min-width: 1000px) { .checkout { grid-template-columns: 1fr 460px; } }
.cart-items { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 8px 20px; }
.cart-line { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--border); }
.cart-line img { width: 76px; height: 76px; object-fit: cover; border-radius: var(--radius-sm); }
.cart-line a { color: var(--text); font-weight: 600; text-decoration: none; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--border); border-radius: 999px; margin-top: 6px; }
.qty button { width: 40px; height: 40px; border: 0; background: transparent; cursor: pointer; font-size: 18px; color: var(--text); border-radius: 999px; }
.qty button:hover { background: var(--tint); }
.qty span { min-width: 28px; text-align: center; font-weight: 600; }
.remove { border: 0; background: transparent; color: var(--muted); cursor: pointer; text-decoration: underline; min-height: 44px; font: inherit; font-size: 14px; }
.cart-total { display: flex; justify-content: space-between; padding: 16px 0 8px; font-size: 1.1rem; font-weight: 700; }
.empty { color: var(--muted); padding: 16px 0; }
.order-form { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.order-form h2 { font-size: 1.7rem; }
fieldset { border: 0; padding: 0; margin: 0 0 18px; }
legend { font-weight: 700; margin-bottom: 8px; color: var(--primary); text-transform: uppercase; letter-spacing: .08em; font-size: 13px; }
.field { margin-bottom: 12px; flex: 1; }
.field-row { display: flex; gap: 12px; }
label { display: block; font-weight: 500; font-size: 15px; margin-bottom: 4px; }
input, textarea { width: 100%; min-height: 48px; padding: 10px 14px; border: 1.5px solid var(--border); border-radius: var(--radius-sm); background: var(--bg); color: var(--text); font: 16px/1.4 var(--font); transition: border-color .2s, box-shadow .2s; }
input:focus, textarea:focus { border-color: var(--primary); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 22%, transparent); }
input[aria-invalid="true"] { border-color: var(--danger); }
.radio { display: flex; gap: 10px; align-items: center; min-height: 44px; font-weight: 400; cursor: pointer; }
.radio input { width: 20px; min-height: 20px; height: 20px; accent-color: var(--primary); }
.hp { position: absolute; left: -9999px; }
.form-error { color: var(--danger); font-weight: 600; }
.hint { color: var(--muted); font-size: 14px; margin: 10px 0 0; }
.contact-grid { display: grid; gap: 16px; margin-top: 8px; }
@media (min-width: 640px) { .contact-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .contact-grid { grid-template-columns: repeat(4, 1fr); } }
.contact-card { display: flex; flex-direction: column; gap: 6px; padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); color: var(--text); text-decoration: none; transition: border-color .2s, transform .2s; }
a.contact-card:hover { border-color: var(--brand); transform: translateY(-2px); color: var(--text); }
.contact-card .icon { color: var(--brand); margin-bottom: 6px; }
.cc-label { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.cc-value { font-weight: 600; font-size: 1.05rem; overflow-wrap: break-word; }
.page-head .lead { margin-top: 8px; }
.deposit-note { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 12px; line-height: 1.55; }
.deposit-note .icon { color: var(--primary); margin-top: 3px; }
.deposit-sum { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; margin: 0 0 12px; padding: 14px 16px; border-radius: var(--radius-sm); background: var(--bg-soft); }
.deposit-sum dt { color: var(--muted); }
.deposit-sum dd { margin: 0; font-weight: 700; text-align: right; }
.deposit-sum dd[data-deposit] { color: var(--primary); font-size: 1.1rem; }
.bank-box { margin: 12px 0; padding: 18px; border: 1.5px dashed color-mix(in srgb, var(--primary) 60%, transparent); border-radius: var(--radius-sm); background: var(--tint); }
.bank-title { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--primary); margin: 0 0 10px; }
.bank-box dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 0; }
.bank-box dt { color: var(--muted); }
.bank-box dd { margin: 0; font-weight: 600; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.bank-no { font-size: 1.15rem; letter-spacing: .05em; }
.copy-btn { min-height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--primary); background: var(--surface); color: var(--primary); font: 600 13px var(--font); cursor: pointer; }
.order-done { background: var(--tint); border: 1px solid var(--tint-strong); border-radius: var(--radius); padding: 28px; }

/* Chân trang: màu thương hiệu đậm (không dùng màu đen) */
.site-footer { position: relative; margin-top: 96px; background: linear-gradient(160deg, var(--primary) 0%, var(--deep) 100%); color: rgba(255, 255, 255, .88); padding: 64px 0 20px; font-size: 15px; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; right: -60px; top: -40px; width: 360px; height: 240px; background: url(/assets/logo-mark.png) no-repeat center / contain; opacity: .10; filter: grayscale(1) brightness(3); pointer-events: none; }
.footer-grid { position: relative; display: grid; gap: 32px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; } }
.footer-logo { width: 170px; height: auto; margin-bottom: 16px; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .25)); }
.footer-brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 1.6rem; font-weight: 600; margin: 0 0 16px; }
.site-footer .footer-brand { color: #fff; }
.nav.open a { color: var(--primary-hover); }
.footer-brand img { height: 34px; width: auto; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .25)); }
.footer-title { font-family: var(--serif); font-weight: 600; font-size: 1.2rem; margin: 0 0 12px; color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.site-footer ul.cols-2 { grid-template-columns: 1fr 1fr; column-gap: 12px; }
.site-footer a { color: rgba(255, 255, 255, .92); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; min-height: 34px; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer p { color: rgba(255, 255, 255, .88); margin: 0 0 8px; }
.footer-bottom { position: relative; border-top: 1px solid rgba(255, 255, 255, .22); margin-top: 36px; padding-top: 18px; font-size: 13px; }

/* Thanh liên hệ trên điện thoại */
.mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: 1fr 1fr 1.3fr; background: var(--surface); border-top: 1px solid var(--border); box-shadow: 0 -6px 20px rgba(0, 0, 0, .08); padding-bottom: env(safe-area-inset-bottom); }
.mobile-bar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 62px; color: var(--text); text-decoration: none; font-size: 13px; font-weight: 600; }
.mobile-bar a:first-child { color: var(--primary); }
.mobile-bar .mobile-cart { background: var(--primary); color: #fff; }
.mobile-bar b { background: #fff; color: var(--primary); border-radius: 999px; padding: 0 6px; margin-left: 2px; }
@media (min-width: 900px) { .mobile-bar { display: none; } }
.toast { position: fixed; left: 50%; bottom: 86px; transform: translateX(-50%); z-index: 70; background: var(--text); color: var(--bg); padding: 12px 20px; border-radius: 999px; box-shadow: var(--shadow-lg); font-weight: 600; display: flex; gap: 12px; align-items: center; max-width: calc(100% - 32px); }
.toast a { color: var(--bg); }
@media (min-width: 900px) { .toast { bottom: 28px; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* Chữ theo màu thương hiệu (đặt cuối file để đè màu chữ mặc định ở trên) */
.brand-name, .nav a, .header-phone, .steps .step-title, .trust-item .trust-title, .card-title a, .block-head h2, .page-head h1 { color: var(--primary-hover); }
.nav a:hover, .nav a[aria-current], .card-title a:hover, .header-phone:hover { color: var(--primary); }
.site-footer .footer-brand, .site-footer .footer-title { color: #fff; }

/* Lưới mẫu sản phẩm chèn trong bài viết ("mẫu được đặt nhiều…") */
.prose .grid-inline { margin: 16px 0 28px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 14px; }
@media (min-width: 640px) { .prose .grid-inline { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.prose .card img { margin: 0; border-radius: 0; }
.prose .card-title a { text-decoration: none; }

/* Nút đổi ngôn ngữ VI | EN */
.lang-switch { display: inline-flex; align-items: center; height: 36px; padding: 3px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); text-decoration: none; font-size: 12.5px; font-weight: 700; letter-spacing: .06em; margin-right: 4px; }
.lang-switch span { display: grid; place-items: center; min-width: 32px; height: 28px; padding: 0 8px; border-radius: 999px; color: var(--muted); }
.lang-switch span[aria-current] { background: var(--primary); color: #fff; }
.lang-switch:hover { border-color: var(--primary); }
/* Trang tỉnh viết mới: khung trả lời nhanh, bảng thông tin */
.quick-answer { margin: 0 0 20px; padding: 18px 20px; border-radius: var(--radius-sm); background: var(--tint); border-left: 4px solid var(--brand); }
.quick-answer p { margin: 0; }
.city-prose table { display: table; width: 100%; margin: 12px 0 20px; border-radius: var(--radius-sm); overflow: hidden; background: var(--surface); }
.city-prose th { text-align: left; background: var(--bg-soft); font-weight: 600; width: 34%; }
.city-prose thead th { width: auto; }
.city-prose td, .city-prose th { border: 1px solid var(--border); padding: 10px 12px; vertical-align: top; }
.city-prose ol, .city-prose ul { padding-left: 22px; }
.city-prose li { margin-bottom: 6px; }
@media (max-width: 639px) {
  /* điện thoại: nút ngôn ngữ chỉ hiện ngôn ngữ còn lại, gọn để không đè tên shop */
  .lang-switch { height: 34px; padding: 2px; margin-right: 0; }
  .lang-switch span[aria-current] { display: none; }
  .lang-switch span { min-width: 30px; padding: 0 6px; color: var(--primary); }
  .brand-name { font-size: 1.2rem; }
  .brand-logo { height: 32px; }
  .city-prose table { font-size: 14.5px; }
  .city-prose td, .city-prose th { padding: 8px; overflow-wrap: anywhere; }
}
/* Tiếng Anh: giữ đúng chữ hoa như đã viết (title case tiếng Anh không viết hoa "in", "and"...) */
html[lang="en"] h1, html[lang="en"] h2, html[lang="en"] h3, html[lang="en"] .contact-title, html[lang="en"] .footer-title, html[lang="en"] legend { text-transform: none; }
