/* KIDO — ghi đè nhỏ trên style.css của kit (giữ nguyên token/class của kit) */
.brand__logo { height: 46px; width: auto; display: block; }
@media (max-width: 767px) { .brand__logo { height: 38px; } }
.age-gate__box .brand__logo { height: 52px; margin: 0 auto 6px; }
.product-card__media img, .product-gallery img, .showcase__media img { object-fit: contain; }
.product-card__media img { width: 82%; height: 88%; }
.product-gallery img { aspect-ratio: 3 / 4; width: min(560px, 100%); background: var(--mist); padding: 6%; }
.product-gallery__thumbs { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; justify-content: center; }
.product-gallery__thumbs img { width: 62px; height: 78px; object-fit: contain; background: var(--mist); padding: 4px; cursor: pointer; border: 1px solid transparent; aspect-ratio: auto; }
.product-gallery__thumbs img.is-active { border-color: var(--gold); }
/* Sản phẩm có màu nền theo mẫu hãng (kd_sanpham.mau_nen): ảnh tràn ô 3:4 trên đúng màu nền, nút mua & nhãn nhỏ cùng màu vị (29/09/2026) */
.product-card__media.is-nen { background: var(--nen); }
.product-card__media.is-nen img { width: 100%; height: 100%; object-fit: cover; }
.product-card.is-nen .product-card__info .btn:hover, .product-card.is-nen .product-card__info .btn.is-added { background: var(--nen); color: var(--nen-chu); }
.product-gallery.is-nen > img { background: var(--nen); padding: 0; object-fit: cover; }
.product-gallery.is-nen .product-gallery__thumbs img { background: var(--nen); padding: 0; object-fit: cover; }
.product-gallery.is-nen .product-gallery__thumbs img.is-active { border-color: var(--nen-dam); box-shadow: 0 0 0 1px #fff inset; }
.product-summary.is-nen .kicker { color: var(--nen-dam); }
.product-summary.is-nen .display::after { content: ""; display: block; width: 56px; height: 3px; background: var(--nen); margin-top: 16px; }
.product-summary.is-nen .btn--gold { background: var(--nen); color: var(--nen-chu); }
.product-summary.is-nen .btn--gold:hover { background: var(--ink); color: #fff; }
.product-summary.is-nen .stock:not(.stock--low) { color: var(--nen-dam); }
.showcase__media.is-nen { background: var(--nen); aspect-ratio: 3 / 4; overflow: hidden; }
.showcase__media.is-nen img { width: 100%; height: 100%; object-fit: cover; }
/* Lời cam kết KIDO — ảnh thống nhất sau dòng cảnh báo 18+ trên trang sản phẩm (29/09/2026) */
.pledge { margin: 44px 0 0; background: var(--ink); }
.pledge img { display: block; width: 100%; height: auto; }
@media (max-width: 899px) { .pledge { margin-top: 30px; } .pledge img { max-width: 520px; margin: 0 auto; } }
.notes .checker__media img { width: 100%; height: 100%; object-fit: cover; }
.product-card__media .product-card__placeholder { font-family: var(--ff-serif); font-size: 64px; color: rgba(0,0,0,.14); }
.spec-row__value em { font-style: italic; }
.mini-item__img img { object-fit: contain; }
.cart-table__thumb img { object-fit: contain; background: var(--mist); }
.kido-notice-wrap:empty { display: none; }
.order-steps { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 26px 0 8px; }
.order-steps span { font: 700 11px/1 var(--ff-sans); letter-spacing: 2px; text-transform: uppercase; color: var(--text-soft); display: inline-flex; align-items: center; gap: 8px; }
.order-steps span::before { content: ""; width: 8px; height: 8px; border: 1px solid var(--line); }
.order-steps span.is-done { color: var(--text); } .order-steps span.is-done::before { background: var(--gold); border-color: var(--gold); }
.order-steps span.is-now { color: var(--gold); } .order-steps span.is-now::before { border-color: var(--gold); }
.qr-big { display: grid; place-items: center; gap: 12px; text-align: center; padding: 30px; border: 1px solid var(--line); }
.qr-big img { width: 240px; height: 240px; }
.qr-big .qr-big__memo { font: 700 16px/1.4 ui-monospace, Menlo, monospace; letter-spacing: 1px; background: var(--mist); padding: 8px 14px; }
.order-meta { display: grid; gap: 8px; margin-top: 18px; font-size: 14px; }
.order-meta b { font-weight: 700; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: -20px 0 40px; }
.filters .select, .filters .input { height: 44px; width: auto; min-width: 160px; }
.filters .btn { padding: 12px 24px; }
.lookup { max-width: 560px; margin: 0 auto; }
.brand-hero { display: grid; gap: 30px; align-items: center; }
@media (min-width: 900px) { .brand-hero { grid-template-columns: 1fr 1fr; gap: 60px; } }
.brand-hero img { max-height: 120px; width: auto; }
.brand-logo-chip { display: block; width: max-content; max-width: 100%; background: #fff; padding: 14px 22px; margin: 0 auto 18px; }   /* logo tối vẫn thấy trên dải đen; canh giữa (kit đặt img block) */
.brand-logo-chip img { max-height: 72px; max-width: 260px; width: auto; display: block; margin: 0 auto; }
.brand-tile img { margin: 0 auto; }                       /* logo trong ô nhà rượu canh giữa (29/09/2026 — sếp báo lệch trái) */
.brand-tile > div { width: 100%; text-align: center; }
.brand-hero img { margin: 0 auto; }
.brand-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
@media (min-width: 900px) { .brand-grid { grid-template-columns: repeat(4, 1fr); } }
.brand-tile { background: var(--mist); display: grid; place-items: center; aspect-ratio: 4 / 3; padding: 26px; text-align: center; border-top: 3px solid var(--gold); }
.brand-tile img { max-height: 70px; width: auto; object-fit: contain; }
.brand-tile .h4 { margin-top: 12px; }
.kicker-status { display: inline-block; padding: 6px 12px; background: var(--mist); }
.checkout .ship-options { margin-top: 0; }
.hero.hero--kido .hero__media img { max-height: min(560px, 62vh); }
.footer-legal small { display: block; margin-top: 6px; opacity: .8; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
/* Bài viết & đánh giá + câu chuyện đặc biệt (tra cứu review, 29/09/2026) */
.story { background: #fff; }
.story__grid { display: grid; gap: 40px; }
@media (min-width: 900px) { .story__grid { grid-template-columns: 1.6fr 1fr; gap: 64px; align-items: start; } }
.story .h2 { margin: 12px 0 22px; }
.story .prose p { margin: 0 0 16px; line-height: 1.8; }
.story__quotes { margin-top: 28px; display: grid; gap: 14px; }
.story__quote { margin: 0; padding: 18px 22px; border-left: 3px solid var(--gold); background: var(--mist); font-family: var(--ff-serif); font-style: italic; font-size: 17px; line-height: 1.6; }
.story__box { background: var(--mist); padding: 28px 28px 22px; margin-bottom: 20px; }
.story__box p { margin: 12px 0 0; line-height: 1.75; font-size: 15px; }
.story__box--awards ul { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 10px; }
.story__box--awards li { padding-left: 20px; position: relative; font-size: 14.5px; line-height: 1.5; }
.story__box--awards li::before { content: ""; position: absolute; left: 2px; top: 8px; width: 7px; height: 7px; background: var(--gold); transform: rotate(45deg); }
.story__sources summary { cursor: pointer; font: 700 11px/1 var(--ff-sans); letter-spacing: 2px; text-transform: uppercase; color: var(--text-soft); padding: 6px 0; }
.story__sources ul { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 6px; }
.story__sources a { font-size: 12.5px; color: var(--text-soft); text-decoration: underline; word-break: break-all; }
.story__note { font-size: 12.5px; margin-top: 34px; }
.checker__media { position: relative; }
.media-credit { position: absolute; left: 0; bottom: 0; font: 400 10.5px/1.3 var(--ff-sans); color: rgba(255,255,255,.85); background: rgba(0,0,0,.45); padding: 4px 8px; max-width: 100%; }
/* Trang chủ động (29/09/2026): hero câu chuyện trên ảnh nền thật, khối câu chuyện, lưới khám phá */
.hero--story { background-position: center center; }
.hero--story::before { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(90deg, rgba(0,0,0,.78) 0%, rgba(0,0,0,.5) 55%, rgba(0,0,0,.35) 100%); }
.hero--story .hero__stars { opacity: .45; }
.hero__lead { max-width: 560px; margin-top: 26px; font-size: 16.5px; line-height: 1.7; color: rgba(255,255,255,.82); }
/* Tổ hợp ảnh đi kèm (gọn) + chai sản phẩm: ảnh nguyên liệu/nhà rượu là tấm nhỏ phía sau bên trái, chai đứng trước bên phải */
.hero__combo { position: relative; width: min(520px, 100%); aspect-ratio: 5 / 6; padding: 0; }
.hero__photo { display: block; position: absolute; left: 0; top: 7%; width: 64%; height: 74%; overflow: hidden; box-shadow: 0 30px 60px rgba(0,0,0,.55); border: 1px solid rgba(255,255,255,.08); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; max-height: none; filter: none; margin: 0; }
.hero__photo .media-credit { font-size: 9.5px; top: 0; bottom: auto; max-width: 70%; }
.hero__bottle { position: absolute; right: 0; bottom: 0; height: 94%; display: block; }
.hero__bottle img { height: 100%; width: auto; max-width: none; max-height: none; margin: 0; filter: drop-shadow(0 30px 40px rgba(0,0,0,.6)); }
/* ô màu soju (is-nen): thẻ a định cỡ, ảnh tĩnh bên trong — KHÔNG đặt ảnh absolute (a rộng 0 → img max-width:100% = 0, bài học 29/09) */
.hero__bottle.is-nen { height: 78%; }
.hero__bottle.is-nen img { filter: none; box-shadow: 0 30px 60px rgba(0,0,0,.6); border-radius: 2px; }
.hero__bottle--solo { right: 10%; }
@media (max-width: 899px) { .hero__combo { max-width: 340px; margin: 0 auto; aspect-ratio: 4 / 5; } }
.media-credit--hero { position: absolute; right: 16px; bottom: 12px; left: auto; z-index: 1; background: rgba(0,0,0,.35); font-size: 10px; }
.visit { position: relative; isolation: isolate; }
.visit::before { content: ""; position: absolute; inset: 0; background: rgba(255,255,255,.58); z-index: -1; }   /* ảnh thật sáng + lớp phủ để chữ tối đọc được */
/* Ghé thăm bản tối (29/09/2026): nền cố định tối/sắc nét (slot web_anh_ghe_tham), chữ sáng nổi bật */
.visit--dark::before { background: linear-gradient(180deg, rgba(0,0,0,.58) 0%, rgba(0,0,0,.72) 100%); }
.visit--dark, .visit--dark .title { color: #fff; }
.visit--dark .kicker { color: var(--gold, #c9a227); }
.visit--dark p { color: rgba(255,255,255,.82); }
.philosophy__media { position: relative; }
.stories .section-head { margin-bottom: 44px; }
.post-grid--3 { grid-template-columns: repeat(3, 1fr); gap: 40px 30px; max-width: none; }
@media (max-width: 899px) { .post-grid--3 { grid-template-columns: 1fr; gap: 40px; } }
.post-card .media { position: relative; display: block; }
.post-card .media--chai { background: var(--mist); display: grid; place-items: center; }
.post-card .media--chai img { width: auto; height: 90%; object-fit: contain; filter: none; }
.post-card .media img { filter: saturate(.85); }
.explore--4 { grid-template-columns: repeat(4, 1fr); max-width: none; gap: 12px; }
@media (max-width: 899px) { .explore--4 { grid-template-columns: repeat(2, 1fr); } }
.explore__tile .h3 { font-size: clamp(20px, 1.8vw, 26px); }
.explore__tile .kicker--light { display: block; margin-top: 8px; color: var(--gold); }
.explore__tile .media-credit { z-index: 1; font-size: 9.5px; }
