/* Landing page ghép khối (quản trị trong POS). Chỉ nạp trên trang landing. Mobile trước. */
.ann-landing {
    --lp-primary: var(--ann-site-primary, #0f766e);
    --lp-ink: #1f2937;
    --lp-muted: #5b6472;
    --lp-soft: #f5f7f4;
    --lp-line: #e6e9e4;
    --lp-radius: 16px;
    color: var(--lp-ink);
    padding-bottom: 8px;
}
.ann-landing h1, .ann-landing h2, .ann-landing h3 { color: var(--lp-ink); }
.ann-landing-plain-title h1 { font-size: 26px; margin: 12px 0 8px; }

/* Hero */
.ann-landing-hero {
    background: radial-gradient(120% 120% at 0% 0%, color-mix(in srgb, var(--lp-primary) 14%, #fff) 0%, #fff 55%, var(--lp-soft) 100%);
    border-bottom: 1px solid var(--lp-line);
}
.ann-landing-hero__inner { display: grid; gap: 20px; padding-top: 24px; padding-bottom: 28px; align-items: center; }
.ann-landing-eyebrow {
    display: inline-block; margin: 0 0 10px; padding: 4px 12px; border-radius: 999px;
    background: color-mix(in srgb, var(--lp-primary) 12%, #fff); color: var(--lp-primary);
    font-size: 13px; font-weight: 600; letter-spacing: .02em;
}
.ann-landing-hero__title { font-size: 28px; line-height: 1.2; font-weight: 800; margin: 0 0 12px; }
.ann-landing-hero__subtitle { font-size: 16px; line-height: 1.6; color: var(--lp-muted); margin: 0 0 16px; }
.ann-landing-badges { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.ann-landing-badges li {
    display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px;
    background: #fff; border: 1px solid var(--lp-line); font-size: 13px; font-weight: 600;
}
.ann-landing-badges i { color: var(--lp-primary); }
.ann-landing-hero__rating { margin: 14px 0 0; font-size: 14px; color: var(--lp-muted); }
.ann-landing-hero__rating i, .ann-landing-stars i { color: #f5a623; }
/* Mobile: ảnh hero nhỏ gọn để sản phẩm hiện sớm hơn; desktop mới dùng ảnh lớn. */
.ann-landing-hero__media { max-width: 240px; margin: 0 auto; }
.ann-landing-hero__media img {
    width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover;
    border-radius: 20px; box-shadow: 0 12px 28px rgba(31, 41, 55, .12); background: #fff;
}

@media (min-width: 768px) {
    .ann-landing-hero__media img { aspect-ratio: 4 / 5; }
}
.ann-landing-hero__logo { display: block; height: 40px; width: auto; max-width: 180px; object-fit: contain; margin: 0 0 12px; }

/* Ảnh / banner thương hiệu */
.ann-landing-gallery figure { margin: 0; position: relative; overflow: hidden; border-radius: 14px; background: var(--lp-soft); }
.ann-landing-gallery img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ann-landing-gallery figcaption {
    position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 10px 8px; color: #fff; font-size: 12px; font-weight: 600; line-height: 1.35;
    background: linear-gradient(to top, rgba(17, 24, 39, .78), rgba(17, 24, 39, 0));
}
.ann-landing-gallery__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 14px; }
.ann-landing-gallery__item { aspect-ratio: 1 / 1; }
.ann-landing-gallery__grid--pair .ann-landing-gallery__item { aspect-ratio: auto; background: #fff; border: 1px solid var(--lp-line); }
.ann-landing-gallery__grid--pair img { height: auto; aspect-ratio: 1 / 1; }
.ann-landing-gallery__grid--pair figcaption { position: static; background: none; color: var(--lp-ink); padding: 10px 12px 12px; font-size: 13px; }
.ann-landing-gallery--banner { background: linear-gradient(135deg, color-mix(in srgb, var(--lp-primary) 10%, #fff) 0%, #fff 70%); }
.ann-landing-banner { display: grid; gap: 16px; align-items: center; }
.ann-landing-banner__text .ann-landing-lead { margin-bottom: 14px; }
.ann-landing-banner__media { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.ann-landing-banner__media--1 { grid-template-columns: 1fr; }
.ann-landing-banner__media--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ann-landing-banner__media figure { aspect-ratio: 4 / 5; }

/* Buttons */
.ann-landing-buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.ann-landing-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px;
    padding: 0 20px; border-radius: 12px; font-weight: 700; font-size: 15px; text-decoration: none;
    border: 2px solid var(--lp-primary); transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.ann-landing-btn:hover { transform: translateY(-1px); box-shadow: 0 8px 18px rgba(31, 41, 55, .12); }
.ann-landing-btn--primary { background: var(--lp-primary); color: #fff; }
.ann-landing-btn--primary:hover { color: #fff; }
.ann-landing-btn--outline { background: #fff; color: var(--lp-primary); }
.ann-landing-btn--zalo { background: #0068ff; border-color: #0068ff; color: #fff; }
.ann-landing-btn--zalo:hover { color: #fff; }

/* Sections */
.ann-landing-section { padding: 36px 0; }
.ann-landing-section + .ann-landing-section { border-top: 1px solid var(--lp-line); }
.ann-landing-heading { font-size: 22px; font-weight: 800; line-height: 1.3; margin: 0 0 12px; }
.ann-landing-lead { color: var(--lp-muted); font-size: 15px; line-height: 1.6; margin: 0 0 18px; max-width: 760px; }
.ann-landing-note { color: var(--lp-muted); font-size: 13px; margin: 10px 0 0; }
.ann-landing-narrow { max-width: 880px !important; }

/* USPs */
.ann-landing-usps { background: var(--lp-soft); }
.ann-landing-usps__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ann-landing-usp { background: #fff; border: 1px solid var(--lp-line); border-radius: var(--lp-radius); padding: 16px; }
.ann-landing-usp__icon {
    display: inline-flex; width: 42px; height: 42px; align-items: center; justify-content: center; border-radius: 12px;
    background: color-mix(in srgb, var(--lp-primary) 12%, #fff); color: var(--lp-primary); font-size: 22px; margin-bottom: 10px;
}
.ann-landing-usp h3 { font-size: 15px; font-weight: 700; margin: 0 0 4px; }
.ann-landing-usp p { font-size: 13px; color: var(--lp-muted); margin: 0; line-height: 1.5; }

/* Product groups */
.ann-landing-chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 10px; scrollbar-width: thin; }
.ann-landing-chips a {
    flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px;
    border: 1px solid var(--lp-line); background: #fff; color: var(--lp-ink); font-weight: 600; font-size: 14px; text-decoration: none;
}
.ann-landing-chips a:hover { border-color: var(--lp-primary); color: var(--lp-primary); }
.ann-landing-chips span { font-size: 12px; color: var(--lp-muted); }
.ann-landing-group { padding-top: 18px; scroll-margin-top: 90px; }
.ann-landing-group__title { font-size: 19px; font-weight: 800; margin: 0 0 6px; }
.ann-landing-group__desc { color: var(--lp-muted); font-size: 14px; line-height: 1.6; margin: 0 0 14px; max-width: 820px; }

/* Xem thêm sản phẩm (mobile, CSS thuần) */
.ann-landing-more-toggle { position: absolute; opacity: 0; pointer-events: none; }
.ann-landing-more-item { display: none; }
.ann-landing-more-toggle:checked ~ .ann-landing-group__grid .ann-landing-more-item { display: block; }
.ann-landing-more-btn {
    display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; margin: 14px 0 0;
    min-height: 44px; border: 1px solid var(--lp-line); border-radius: 12px; background: #fff;
    color: var(--lp-primary); font-weight: 700; cursor: pointer;
}
.ann-landing-more-btn__close { display: none; }
.ann-landing-more-toggle:checked ~ .ann-landing-more-btn .ann-landing-more-btn__open { display: none; }
.ann-landing-more-toggle:checked ~ .ann-landing-more-btn .ann-landing-more-btn__close { display: inline-flex; align-items: center; gap: 6px; }

/* Price cards (mobile) */
.ann-landing-price-cards { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ann-landing-price-card { border: 1px solid var(--lp-line); border-radius: 14px; background: #fff; padding: 12px 14px; }
.ann-landing-price-card__name { display: block; font-weight: 700; color: var(--lp-ink); line-height: 1.4; margin-bottom: 8px; }
.ann-landing-price-card dl { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.ann-landing-price-card dl > div { background: var(--lp-soft); border-radius: 10px; padding: 6px 10px; }
.ann-landing-price-card dt { font-size: 12px; font-weight: 600; color: var(--lp-muted); }
.ann-landing-price-card dt small { font-weight: 500; }
.ann-landing-price-card dd { margin: 0; font-size: 15px; font-weight: 800; color: var(--lp-ink); }
.ann-landing-price-card .is-wholesale dd { color: var(--lp-primary); }

/* Price table (desktop) */
.ann-landing-table-wrap { display: none; }
.ann-landing-table-wrap { overflow-x: auto; border: 1px solid var(--lp-line); border-radius: var(--lp-radius); background: #fff; }
.ann-landing-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 640px; }
.ann-landing-table th, .ann-landing-table td { padding: 12px 14px; border-bottom: 1px solid var(--lp-line); vertical-align: middle; }
.ann-landing-table thead th { background: var(--lp-soft); font-weight: 700; white-space: nowrap; }
.ann-landing-table thead small { display: block; font-weight: 500; color: var(--lp-muted); font-size: 12px; }
.ann-landing-table tbody th { font-weight: 600; }
.ann-landing-table tbody th a { color: var(--lp-ink); }
.ann-landing-table tbody th a:hover { color: var(--lp-primary); }
.ann-landing-table tbody tr:last-child th, .ann-landing-table tbody tr:last-child td { border-bottom: 0; }
.ann-landing-table td { white-space: nowrap; }
.ann-landing-table__wholesale { color: var(--lp-primary); font-weight: 700; }

/* Rating */
.ann-landing-rating__inner { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; }
.ann-landing-rating__score {
    display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 140px; padding: 16px;
    border-radius: var(--lp-radius); background: var(--lp-soft);
}
.ann-landing-rating__score strong { font-size: 40px; line-height: 1; font-weight: 800; }
.ann-landing-rating__score span { color: var(--lp-muted); font-size: 14px; }
.ann-landing-stars { margin-top: 6px; font-size: 18px; letter-spacing: 2px; }

/* Steps */
.ann-landing-steps__list { list-style: none; counter-reset: lp-step; padding: 0; margin: 0; display: grid; gap: 12px; }
.ann-landing-steps__list li { counter-increment: lp-step; position: relative; padding: 16px 16px 16px 64px; border: 1px solid var(--lp-line); border-radius: var(--lp-radius); background: #fff; }
.ann-landing-steps__list li::before {
    content: counter(lp-step); position: absolute; left: 16px; top: 16px; width: 34px; height: 34px; border-radius: 50%;
    background: var(--lp-primary); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center;
}
.ann-landing-steps__list h3 { font-size: 16px; font-weight: 700; margin: 0 0 4px; }
.ann-landing-steps__list p { margin: 0; color: var(--lp-muted); font-size: 14px; line-height: 1.55; }

/* FAQ */
.ann-landing-faq__item { border: 1px solid var(--lp-line); border-radius: 12px; background: #fff; margin-bottom: 10px; }
.ann-landing-faq__item summary {
    list-style: none; cursor: pointer; padding: 14px 16px; font-weight: 700; font-size: 15px;
    display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.ann-landing-faq__item summary::-webkit-details-marker { display: none; }
.ann-landing-faq__item summary i { transition: transform .2s ease; color: var(--lp-muted); font-size: 20px; }
.ann-landing-faq__item[open] summary i { transform: rotate(180deg); }
.ann-landing-faq__answer { padding: 0 16px 16px; color: var(--lp-muted); line-height: 1.65; font-size: 14px; }

/* SEO content */
.ann-landing-prose { font-size: 15px; line-height: 1.75; }
.ann-landing-prose h2 { font-size: 21px; font-weight: 800; margin: 28px 0 10px; }
.ann-landing-prose h3 { font-size: 18px; font-weight: 700; margin: 22px 0 8px; }
.ann-landing-prose img { max-width: 100%; height: auto; border-radius: 12px; }
.ann-landing-prose table { width: 100%; border-collapse: collapse; margin: 12px 0; }
.ann-landing-prose th, .ann-landing-prose td { border: 1px solid var(--lp-line); padding: 8px 10px; }

/* CTA */
.ann-landing-cta {
    display: flex; flex-direction: column; gap: 16px; padding: 24px; border-radius: 20px; color: #fff;
    background: linear-gradient(135deg, var(--lp-primary) 0%, color-mix(in srgb, var(--lp-primary) 70%, #000) 100%);
}
.ann-landing-cta h2 { color: #fff; font-size: 22px; font-weight: 800; margin: 0 0 6px; }
.ann-landing-cta p { margin: 0; opacity: .92; }
.ann-landing-cta .ann-landing-btn--primary { background: #fff; color: var(--lp-primary); border-color: #fff; }
.ann-landing-cta .ann-landing-btn--outline { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .7); }

/* Mobile nhỏ: rút gọn hero và khối điểm mạnh để sản phẩm hiện sớm. */
@media (max-width: 575.98px) {
    .ann-landing-hero__inner { padding-top: 16px; padding-bottom: 20px; gap: 0; }
    .ann-landing-hero__media { display: none; }
    .ann-landing-hero__title { font-size: 24px; }
    .ann-landing-hero__subtitle { font-size: 15px; margin-bottom: 12px; }
    .ann-landing-badges { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-bottom: 14px; }
    .ann-landing-badges::-webkit-scrollbar { display: none; }
    .ann-landing-badges li { flex: 0 0 auto; }
    .ann-landing-hero .ann-landing-buttons { flex-wrap: nowrap; }
    .ann-landing-hero .ann-landing-buttons .ann-landing-btn { flex: 1 1 0; min-width: 0; padding: 0 8px; font-size: 14px; white-space: nowrap; }
    .ann-landing-buttons .ann-landing-btn { max-width: 100%; }
    .ann-landing-section { padding: 26px 0; }
    .ann-landing-usps__grid { gap: 8px; }
    .ann-landing-usp { padding: 12px; display: grid; grid-template-columns: 34px 1fr; column-gap: 10px; align-items: start; }
    .ann-landing-usp__icon { width: 34px; height: 34px; font-size: 18px; margin: 0; grid-row: span 2; }
    .ann-landing-usp p { font-size: 12px; }
    .ann-landing-heading { font-size: 20px; }
    .ann-landing-banner__media { order: -1; }
}

/* Thanh liên hệ cố định (mobile): nằm trên menu đáy 69px, chừa chỗ nút chat nổi bên trái. */
.ann-landing { padding-bottom: 84px; }
.ann-landing-contactbar {
    position: fixed; left: 84px; right: 12px; bottom: calc(69px + 8px + env(safe-area-inset-bottom, 0px)); z-index: 1040;
    display: flex; gap: 8px; padding: 6px; border-radius: 16px; background: rgba(255, 255, 255, .96);
    box-shadow: 0 8px 24px rgba(31, 41, 55, .18); backdrop-filter: blur(6px);
}
.ann-landing-contactbar__btn {
    flex: 1 1 0; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px;
    border-radius: 12px; font-weight: 700; font-size: 14px; text-decoration: none; white-space: nowrap;
}
.ann-landing-contactbar__btn--zalo { background: #0068ff; color: #fff; }
.ann-landing-contactbar__btn--call { background: var(--lp-primary); color: #fff; }
.ann-landing-contactbar__btn:hover, .ann-landing-contactbar__btn:focus { color: #fff; }
@media (min-width: 576px) {
    .ann-landing-contactbar { bottom: calc(12px + env(safe-area-inset-bottom, 0px)); }
}

@media (min-width: 768px) {
    .ann-landing { padding-bottom: 8px; }
    .ann-landing-contactbar { display: none; }
    .ann-landing-hero__media { max-width: none; margin: 0; }
    .ann-landing-hero__media img { border-radius: 24px; box-shadow: 0 18px 40px rgba(31, 41, 55, .12); }
    .ann-landing-more-item { display: block; }
    .ann-landing-more-btn { display: none; }
    .ann-landing-price-cards { display: none; }
    .ann-landing-table-wrap { display: block; }
    .ann-landing-hero__inner { grid-template-columns: 1.15fr .85fr; gap: 40px; padding-top: 40px; padding-bottom: 48px; }
    .ann-landing-hero__title { font-size: 40px; }
    .ann-landing-hero__subtitle { font-size: 18px; }
    .ann-landing-usps__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
    .ann-landing-section { padding: 52px 0; }
    .ann-landing-heading { font-size: 28px; }
    .ann-landing-steps__list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .ann-landing-gallery__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
    .ann-landing-gallery__grid--pair { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 760px; }
    .ann-landing-gallery figcaption { font-size: 14px; padding: 24px 14px 12px; }
    .ann-landing-banner { grid-template-columns: .9fr 1.1fr; gap: 40px; }
    .ann-landing-banner__media { gap: 14px; }
    .ann-landing-banner__media figure:nth-child(2) { transform: translateY(18px); }
    .ann-landing-cta { flex-direction: row; align-items: center; justify-content: space-between; padding: 32px 40px; }
}
