/*
Theme Name: Yêu Hàng Ngoại Baby Store
Theme URI: https://yeuhangngoai.vn/
Author: Yêu Hàng Ngoại
Description: Giao diện bán hàng mẹ và bé màu hồng, tối ưu di động và dùng dữ liệu sản phẩm công khai từ Yêu Hàng Ngoại.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: yeuhangngoai-baby
*/

:root {
  --ynb-pink: #f65288;
  --ynb-pink-strong: #ed3f78;
  --ynb-pink-soft: #fff0f5;
  --ynb-pink-pale: #fff8fb;
  --ynb-coral: #ff7a7f;
  --ynb-mint: #86d8c8;
  --ynb-yellow: #ffd76a;
  --ynb-ink: #2f2930;
  --ynb-muted: #746d73;
  --ynb-line: #f0dfe6;
  --ynb-white: #ffffff;
  --ynb-blue-pale: #eff7ff;
  --ynb-shadow: 0 14px 40px rgba(113, 52, 76, 0.10);
  --ynb-shadow-soft: 0 8px 24px rgba(113, 52, 76, 0.08);
  --ynb-radius: 18px;
  --ynb-container: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ynb-ink);
  background: var(--ynb-pink-pale);
  font-family: "Arial", "Helvetica Neue", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
body.admin-bar .ynb-mobile-dock { bottom: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
.ynb-container { width: min(calc(100% - 32px), var(--ynb-container)); margin-inline: auto; }
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.screen-reader-text:focus {
  clip: auto;
  width: auto;
  height: auto;
  margin: 8px;
  padding: 12px 16px;
  color: var(--ynb-ink);
  background: #fff;
  z-index: 9999;
}

.ynb-topbar { background: #fff; border-bottom: 1px solid var(--ynb-line); font-size: 13px; }
.ynb-topbar__inner { min-height: 36px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.ynb-topbar__trust, .ynb-topbar__links { display: flex; align-items: center; gap: 20px; }
.ynb-topbar__trust span::before { content: "✓"; color: var(--ynb-pink); margin-right: 6px; font-weight: 800; }
.ynb-topbar a:hover { color: var(--ynb-pink-strong); }

.ynb-header { background: #fff; position: relative; z-index: 30; }
.ynb-header__main { min-height: 92px; display: grid; grid-template-columns: 220px minmax(280px, 1fr) auto; align-items: center; gap: 32px; }
.ynb-logo { display: inline-flex; align-items: center; min-width: 0; }
.ynb-logo img { width: 200px; max-height: 66px; object-fit: contain; object-position: left center; }
.ynb-search { position: relative; display: flex; height: 48px; border: 2px solid var(--ynb-pink); border-radius: 999px; background: #fff; overflow: hidden; }
.ynb-search input { flex: 1; min-width: 0; border: 0; outline: 0; padding: 0 18px; color: var(--ynb-ink); background: transparent; }
.ynb-search input::placeholder { color: #a99ca2; }
.ynb-search button { width: 54px; border: 0; color: #fff; background: var(--ynb-pink); font-size: 20px; transition: background .2s ease; }
.ynb-search button:hover { background: var(--ynb-pink-strong); }
.ynb-header__actions { display: flex; align-items: center; gap: 12px; }
.ynb-contact { display: flex; gap: 10px; align-items: center; padding-right: 14px; }
.ynb-contact__icon, .ynb-action__icon { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--ynb-pink-soft); color: var(--ynb-pink-strong); font-size: 19px; }
.ynb-contact small, .ynb-contact strong { display: block; white-space: nowrap; }
.ynb-contact small { color: var(--ynb-muted); font-size: 11px; }
.ynb-contact strong { font-size: 15px; }
.ynb-action { display: grid; place-items: center; min-width: 46px; min-height: 46px; border-radius: 50%; transition: transform .2s ease, background .2s ease; }
.ynb-action:hover { transform: translateY(-2px); }

.ynb-nav { background: var(--ynb-pink); color: #fff; box-shadow: 0 6px 18px rgba(237, 63, 120, .18); }
.ynb-nav__inner { min-height: 52px; display: flex; align-items: stretch; }
.ynb-category-toggle { width: 242px; flex: 0 0 242px; display: flex; align-items: center; gap: 10px; padding: 0 18px; border: 0; background: var(--ynb-pink-strong); color: #fff; font-weight: 800; text-align: left; }
.ynb-category-toggle__chevron { margin-left: auto; transition: transform .2s ease; }
.ynb-category-toggle[aria-expanded="true"] .ynb-category-toggle__chevron { transform: rotate(180deg); }
.ynb-nav__links { list-style: none; margin: 0; padding: 0; display: flex; align-items: stretch; }
.ynb-nav__links a { min-height: 52px; display: flex; align-items: center; padding: 0 19px; font-size: 14px; font-weight: 800; text-transform: uppercase; letter-spacing: .02em; }
.ynb-nav__links a:hover, .ynb-nav__links a[aria-current="page"] { background: rgba(255,255,255,.15); }
.ynb-category-panel { position: absolute; left: 0; top: 100%; width: 242px; padding: 8px; background: #fff; color: var(--ynb-ink); border: 1px solid var(--ynb-line); box-shadow: var(--ynb-shadow); border-radius: 0 0 14px 14px; }
.ynb-category-panel[hidden] { display: none; }
.ynb-category-panel a { display: flex; align-items: center; gap: 10px; min-height: 42px; padding: 8px 10px; border-radius: 10px; font-size: 14px; }
.ynb-category-panel a:hover { background: var(--ynb-pink-soft); color: var(--ynb-pink-strong); }
.ynb-category-panel span { width: 26px; text-align: center; font-size: 18px; }
.ynb-nav__category { position: relative; }
.ynb-mobile-toggle { display: none; }

.ynb-main { overflow: hidden; }
.ynb-hero-wrap { padding: 16px 0 10px; background: #fff; }
.ynb-hero-grid { display: grid; grid-template-columns: 242px minmax(0, 1fr) 258px; gap: 14px; }
.ynb-side-cats { margin: 0; padding: 8px; list-style: none; border: 1px solid var(--ynb-line); border-radius: var(--ynb-radius); background: #fff; }
.ynb-side-cats a { min-height: 42px; display: flex; align-items: center; gap: 11px; padding: 8px 10px; border-radius: 10px; font-size: 14px; }
.ynb-side-cats a:hover { background: var(--ynb-pink-soft); color: var(--ynb-pink-strong); }
.ynb-side-cats span { width: 25px; text-align: center; font-size: 18px; }
.ynb-hero { min-height: 390px; position: relative; isolation: isolate; overflow: hidden; border-radius: var(--ynb-radius); background: linear-gradient(135deg, #ff82ad, #ff5c92 58%, #ff91b6); color: #fff; box-shadow: var(--ynb-shadow-soft); }
.ynb-hero::before, .ynb-hero::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; background: rgba(255,255,255,.18); }
.ynb-hero::before { width: 420px; height: 420px; right: -130px; top: -180px; }
.ynb-hero::after { width: 250px; height: 250px; left: -90px; bottom: -130px; }
.ynb-hero__cloud { position: absolute; width: 180px; height: 55px; border-radius: 999px; background: rgba(255,255,255,.22); }
.ynb-hero__cloud::before, .ynb-hero__cloud::after { content: ""; position: absolute; bottom: 0; border-radius: 50%; background: inherit; }
.ynb-hero__cloud::before { width: 80px; height: 80px; left: 26px; }
.ynb-hero__cloud::after { width: 105px; height: 105px; right: 18px; }
.ynb-hero__cloud--one { right: 3%; top: 18%; }
.ynb-hero__cloud--two { left: 32%; bottom: 5%; transform: scale(.7); }
.ynb-hero__content { position: relative; z-index: 3; width: 58%; padding: 44px 0 36px 42px; }
.ynb-kicker { margin: 0 0 9px; font-size: 13px; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.ynb-hero h1 { margin: 0; font-size: clamp(34px, 4vw, 60px); line-height: 1.02; letter-spacing: -.045em; text-shadow: 0 2px 0 rgba(150, 30, 77, .08); }
.ynb-hero__lead { max-width: 48ch; margin: 18px 0 24px; font-size: 16px; color: rgba(255,255,255,.93); }
.ynb-button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 22px; border: 1px solid transparent; border-radius: 999px; font-weight: 800; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.ynb-button:hover { transform: translateY(-2px); }
.ynb-button--white { color: var(--ynb-pink-strong); background: #fff; box-shadow: 0 10px 28px rgba(131, 33, 72, .18); }
.ynb-button--pink { color: #fff; background: var(--ynb-pink); }
.ynb-button--pink:hover { background: var(--ynb-pink-strong); box-shadow: 0 10px 25px rgba(237,63,120,.24); }
.ynb-hero__products { position: absolute; right: 1%; bottom: 0; z-index: 2; width: 46%; height: 91%; display: flex; align-items: flex-end; justify-content: center; gap: 2px; }
.ynb-hero__product { width: 34%; max-height: 76%; object-fit: contain; filter: drop-shadow(0 18px 18px rgba(102, 35, 65, .24)); transform-origin: bottom; }
.ynb-hero__product:nth-child(1) { transform: rotate(-6deg) translateY(8px); }
.ynb-hero__product:nth-child(2) { width: 39%; z-index: 2; transform: translateY(-5px); }
.ynb-hero__product:nth-child(3) { transform: rotate(7deg) translateY(10px); }
.ynb-promo-stack { display: grid; grid-template-rows: 1fr 1fr; gap: 14px; }
.ynb-promo { min-height: 185px; position: relative; overflow: hidden; padding: 24px 20px; border-radius: var(--ynb-radius); background: #fff0d8; }
.ynb-promo--mint { background: #e9fbf7; }
.ynb-promo h3 { width: 62%; margin: 0 0 8px; font-size: 22px; line-height: 1.08; }
.ynb-promo p { width: 60%; margin: 0; color: var(--ynb-muted); font-size: 13px; }
.ynb-promo__emoji { position: absolute; right: 15px; bottom: 8px; font-size: 78px; transform: rotate(5deg); filter: drop-shadow(0 8px 10px rgba(60,60,60,.12)); }

.ynb-category-strip { padding: 26px 0 30px; background: #fff; }
.ynb-heading-row { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.ynb-heading-row h2, .ynb-section-title { margin: 0; font-size: clamp(23px, 2vw, 31px); line-height: 1.15; letter-spacing: -.025em; }
.ynb-heading-row p { margin: 5px 0 0; color: var(--ynb-muted); }
.ynb-more { color: var(--ynb-pink-strong); font-weight: 800; font-size: 14px; white-space: nowrap; }
.ynb-category-cards { display: grid; grid-template-columns: repeat(10, 1fr); gap: 10px; }
.ynb-category-card { min-width: 0; text-align: center; }
.ynb-category-card__icon { width: 74px; height: 74px; display: grid; place-items: center; margin: 0 auto 9px; border-radius: 50%; background: var(--ynb-pink-soft); border: 1px solid #ffd5e3; font-size: 34px; transition: transform .2s ease, box-shadow .2s ease; }
.ynb-category-card:nth-child(3n+2) .ynb-category-card__icon { background: #edfbf8; border-color: #c9eee7; }
.ynb-category-card:nth-child(3n) .ynb-category-card__icon { background: #fff7df; border-color: #f8e6ad; }
.ynb-category-card:hover .ynb-category-card__icon { transform: translateY(-4px); box-shadow: var(--ynb-shadow-soft); }
.ynb-category-card strong { display: block; font-size: 13px; line-height: 1.25; }

.ynb-flash { padding: 30px 0 36px; background: var(--ynb-pink); }
.ynb-flash__top { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; margin-bottom: 22px; color: #fff; }
.ynb-flash__top h2 { margin: 0; font-size: clamp(26px, 2.5vw, 38px); line-height: 1.05; }
.ynb-flash__top p { margin: 6px 0 0; color: rgba(255,255,255,.85); }
.ynb-countdown { display: flex; align-items: center; justify-content: center; gap: 7px; }
.ynb-countdown__item { min-width: 56px; padding: 7px 8px; text-align: center; border-radius: 12px; background: #fff; color: var(--ynb-pink-strong); }
.ynb-countdown__item strong, .ynb-countdown__item span { display: block; }
.ynb-countdown__item strong { font-size: 19px; line-height: 1.1; }
.ynb-countdown__item span { margin-top: 2px; font-size: 10px; text-transform: uppercase; }
.ynb-flash__news { justify-self: end; display: flex; gap: 7px; flex-wrap: wrap; justify-content: flex-end; }
.ynb-flash__news span { padding: 7px 11px; border-radius: 999px; background: rgba(255,255,255,.15); font-size: 12px; }

.ynb-product-grid { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 14px; }
.ynb-product-card { position: relative; min-width: 0; overflow: hidden; border: 1px solid var(--ynb-line); border-radius: 14px; background: #fff; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.ynb-product-card:hover { transform: translateY(-4px); border-color: #ffc3d7; box-shadow: var(--ynb-shadow); }
.ynb-product-card__media { position: relative; aspect-ratio: 1 / 1; display: grid; place-items: center; overflow: hidden; background: #fbf9fa; }
.ynb-product-card__media img { width: 100%; height: 100%; object-fit: contain; padding: 12px; transition: transform .35s ease; }
.ynb-product-card:hover .ynb-product-card__media img { transform: scale(1.045); }
.ynb-product-card__badge { position: absolute; z-index: 2; left: 9px; top: 9px; padding: 5px 8px; border-radius: 999px; background: var(--ynb-pink); color: #fff; font-size: 10px; font-weight: 900; text-transform: uppercase; }
.ynb-product-card__badge--sold { background: #746d73; }
.ynb-product-card__body { padding: 12px 13px 15px; }
.ynb-product-card__category { min-height: 17px; margin-bottom: 5px; color: var(--ynb-pink-strong); font-size: 10px; font-weight: 900; text-transform: uppercase; letter-spacing: .04em; }
.ynb-product-card h3 { min-height: 42px; margin: 0 0 8px; font-size: 13px; line-height: 1.35; display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.ynb-product-card h3 a:hover { color: var(--ynb-pink-strong); }
.ynb-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; color: var(--ynb-pink-strong); font-size: 15px; font-weight: 900; }
.ynb-price del { color: #aaa0a5; font-size: 11px; font-weight: 500; }
.ynb-price ins { text-decoration: none; }
.ynb-product-card__quick { position: absolute; right: 9px; bottom: 9px; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--ynb-pink); opacity: 0; transform: translateY(5px); transition: opacity .2s ease, transform .2s ease; }
.ynb-product-card:hover .ynb-product-card__quick { opacity: 1; transform: translateY(0); }
.ynb-flash .ynb-product-card { border-color: rgba(255,255,255,.34); }

.ynb-benefits { padding: 26px 0; background: #fff; }
.ynb-benefit-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.ynb-benefit { display: grid; grid-template-columns: 48px 1fr; gap: 12px; align-items: center; padding: 17px; border: 1px dashed #f3aac3; border-radius: 14px; background: var(--ynb-pink-pale); }
.ynb-benefit__icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--ynb-pink); font-size: 23px; }
.ynb-benefit strong { display: block; font-size: 14px; }
.ynb-benefit span { display: block; margin-top: 2px; color: var(--ynb-muted); font-size: 12px; }

.ynb-products-section { padding: 38px 0; background: #fff; }
.ynb-products-section:nth-of-type(even) { background: var(--ynb-pink-pale); }
.ynb-products-section .ynb-heading-row { padding-bottom: 14px; border-bottom: 1px solid var(--ynb-line); }
.ynb-products-section .ynb-heading-row h2::before { content: "✿"; margin-right: 9px; color: var(--ynb-pink); font-size: .8em; }
.ynb-section-tabs { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.ynb-section-tabs a { padding: 7px 12px; border-radius: 999px; background: #f7f1f4; color: var(--ynb-muted); font-size: 12px; font-weight: 700; }
.ynb-section-tabs a:first-child, .ynb-section-tabs a:hover { color: #fff; background: var(--ynb-pink); }

.ynb-brand-section { padding: 34px 0; background: #fdebf2; }
.ynb-brand-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.ynb-brand { min-height: 86px; display: grid; place-items: center; padding: 14px; border-radius: 14px; background: rgba(255,255,255,.86); border: 1px solid rgba(255,255,255,.8); color: #554b50; font-size: 16px; font-weight: 900; text-align: center; letter-spacing: -.02em; }
.ynb-brand:hover { color: var(--ynb-pink-strong); box-shadow: var(--ynb-shadow-soft); }

.ynb-blog { padding: 44px 0 52px; background: #fff; }
.ynb-blog__intro { max-width: 690px; margin: 0 auto 28px; text-align: center; }
.ynb-blog__intro h2 { margin: 0 0 9px; color: var(--ynb-pink-strong); font-size: clamp(25px, 2.4vw, 36px); text-transform: uppercase; }
.ynb-blog__intro p { margin: 0; color: var(--ynb-muted); }
.ynb-post-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.ynb-post-card { overflow: hidden; border: 1px solid var(--ynb-line); border-radius: 15px; background: #fff; transition: transform .2s ease, box-shadow .2s ease; }
.ynb-post-card:hover { transform: translateY(-4px); box-shadow: var(--ynb-shadow-soft); }
.ynb-post-card__media { aspect-ratio: 16 / 10; overflow: hidden; background: #f7f3f5; }
.ynb-post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.ynb-post-card:hover img { transform: scale(1.04); }
.ynb-post-card__body { padding: 15px; }
.ynb-post-card time { color: var(--ynb-pink-strong); font-size: 11px; font-weight: 800; }
.ynb-post-card h3 { margin: 7px 0 8px; font-size: 15px; line-height: 1.35; }
.ynb-post-card p { margin: 0; color: var(--ynb-muted); font-size: 13px; display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }

.ynb-footer { color: #433c40; background: var(--ynb-blue-pale); }
.ynb-footer__main { padding: 42px 0; display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 34px; }
.ynb-footer__logo { width: 190px; margin-bottom: 16px; }
.ynb-footer p { color: #696166; font-size: 13px; }
.ynb-footer h3 { margin: 0 0 15px; color: var(--ynb-pink-strong); font-size: 14px; text-transform: uppercase; }
.ynb-footer ul { list-style: none; margin: 0; padding: 0; }
.ynb-footer li { margin-bottom: 8px; color: #625a5f; font-size: 13px; }
.ynb-footer a:hover { color: var(--ynb-pink-strong); }
.ynb-social { display: flex; gap: 8px; margin-top: 15px; }
.ynb-social a { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--ynb-pink); font-weight: 900; }
.ynb-footer__bottom { padding: 14px 0; text-align: center; color: #fff; background: var(--ynb-pink); font-size: 12px; }

.ynb-floating { position: fixed; right: 18px; bottom: 88px; z-index: 60; display: grid; gap: 9px; }
.ynb-floating a { width: 46px; height: 46px; display: grid; place-items: center; border: 3px solid #fff; border-radius: 50%; color: #fff; background: var(--ynb-pink); box-shadow: 0 8px 20px rgba(53,34,43,.20); font-size: 18px; font-weight: 900; }
.ynb-floating a:nth-child(2) { background: #1685f8; }
.ynb-floating a:nth-child(3) { background: #18a86b; }
.ynb-mobile-dock { display: none; }

.ynb-generic { min-height: 60vh; padding: 48px 0; background: #fff; }
.ynb-generic__content { max-width: 860px; margin: 0 auto; }
.ynb-generic h1 { font-size: clamp(30px, 4vw, 52px); }
.ynb-empty { grid-column: 1 / -1; padding: 36px; border: 1px dashed var(--ynb-line); border-radius: 14px; color: var(--ynb-muted); background: #fff; text-align: center; }

@media (max-width: 1100px) {
  .ynb-header__main { grid-template-columns: 190px 1fr auto; gap: 18px; }
  .ynb-logo img { width: 180px; }
  .ynb-contact:nth-child(2) { display: none; }
  .ynb-nav__links a { padding-inline: 13px; }
  .ynb-hero-grid { grid-template-columns: 220px minmax(0, 1fr); }
  .ynb-promo-stack { display: none; }
  .ynb-category-cards { grid-template-columns: repeat(5, 1fr); row-gap: 18px; }
  .ynb-product-grid { grid-template-columns: repeat(4, minmax(0,1fr)); }
  .ynb-brand-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 820px) {
  body { padding-bottom: 66px; }
  .ynb-container { width: min(calc(100% - 24px), var(--ynb-container)); }
  .ynb-topbar, .ynb-header__actions, .ynb-nav { display: none; }
  .ynb-header { position: sticky; top: 0; box-shadow: 0 4px 18px rgba(72,39,52,.08); }
  .ynb-header__main { min-height: 66px; display: grid; grid-template-columns: 46px 1fr 46px; gap: 8px; }
  .ynb-mobile-toggle { width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 50%; color: var(--ynb-pink-strong); background: var(--ynb-pink-soft); font-size: 22px; }
  .ynb-logo { justify-content: center; }
  .ynb-logo img { width: 158px; max-height: 52px; object-position: center; }
  .ynb-header__search { position: fixed; z-index: 71; left: 12px; right: 12px; top: 72px; display: none; padding: 12px; border-radius: 14px; background: #fff; box-shadow: var(--ynb-shadow); }
  .ynb-header__search.is-open { display: block; }
  .ynb-mobile-cart { display: grid; }
  .ynb-mobile-menu { position: fixed; z-index: 70; inset: 66px 0 66px 0; display: none; padding: 18px 16px 30px; overflow-y: auto; background: #fff; }
  .ynb-mobile-menu.is-open { display: block; }
  .ynb-mobile-menu h3 { color: var(--ynb-pink-strong); }
  .ynb-mobile-menu a { min-height: 46px; display: flex; align-items: center; gap: 10px; padding: 8px 4px; border-bottom: 1px solid var(--ynb-line); }
  .ynb-hero-wrap { padding-top: 8px; }
  .ynb-hero-grid { display: block; }
  .ynb-side-cats { display: none; }
  .ynb-hero { min-height: 360px; border-radius: 16px; }
  .ynb-hero__content { width: 100%; padding: 28px 24px 0; text-align: center; }
  .ynb-hero h1 { font-size: 37px; }
  .ynb-hero__lead { margin: 11px auto 15px; font-size: 14px; }
  .ynb-hero__products { left: 10%; right: auto; width: 80%; height: 48%; }
  .ynb-hero__product { max-height: 100%; }
  .ynb-category-strip { padding: 22px 0 26px; }
  .ynb-heading-row { align-items: center; }
  .ynb-heading-row p { display: none; }
  .ynb-category-cards { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .ynb-category-cards::-webkit-scrollbar { display: none; }
  .ynb-category-card { flex: 0 0 86px; scroll-snap-align: start; }
  .ynb-category-card__icon { width: 66px; height: 66px; font-size: 29px; }
  .ynb-flash { padding: 24px 0 28px; }
  .ynb-flash__top { display: block; text-align: center; }
  .ynb-countdown { margin: 15px 0; }
  .ynb-flash__news { display: none; }
  .ynb-product-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 9px; }
  .ynb-product-card__body { padding: 10px 10px 13px; }
  .ynb-product-card h3 { min-height: 38px; font-size: 12px; }
  .ynb-product-card__quick { display: none; }
  .ynb-benefit-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .ynb-benefit { flex: 0 0 82%; scroll-snap-align: start; }
  .ynb-products-section { padding: 28px 0; }
  .ynb-section-tabs { display: none; }
  .ynb-brand-grid { grid-template-columns: repeat(2, 1fr); }
  .ynb-post-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .ynb-footer__main { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .ynb-floating { display: none; }
  .ynb-mobile-dock { position: fixed; z-index: 80; left: 0; right: 0; bottom: 0; height: 66px; display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--ynb-line); background: #fff; box-shadow: 0 -8px 24px rgba(72,39,52,.10); }
  .ynb-mobile-dock a, .ynb-mobile-dock button { min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; border: 0; color: var(--ynb-muted); background: transparent; font-size: 10px; }
  .ynb-mobile-dock b { color: var(--ynb-pink-strong); font-size: 21px; line-height: 1; }
}

@media (max-width: 520px) {
  .ynb-hero { min-height: 348px; }
  .ynb-hero h1 { font-size: 32px; }
  .ynb-kicker { font-size: 10px; }
  .ynb-heading-row h2, .ynb-section-title { font-size: 21px; }
  .ynb-product-card__media img { padding: 7px; }
  .ynb-product-card__category { font-size: 9px; }
  .ynb-price { font-size: 13px; }
  .ynb-brand { min-height: 70px; font-size: 14px; }
  .ynb-post-grid { grid-template-columns: 1fr; }
  .ynb-footer__main { grid-template-columns: 1fr; }
  .ynb-blog { padding-bottom: 34px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
