/* Yourslabel — site chrome inspired by OnlineLabels templates */
/* Fonts: system stack only (no Google Fonts — blocked/slow in CN) */

:root {
  --yl-blue: #0056b3;
  --yl-blue-deep: #004190;
  --yl-blue-nav: #1e5aa8;
  --yl-orange: #e34120;
  --yl-orange-hover: #c93618;
  --yl-charcoal: #2a2a2a;
  --yl-hero: #eef4fb;
  --yl-ink: #1a1a1a;
  --yl-muted: #5c5c5c;
  --yl-line: #e4e4e4;
  --yl-paper: #f7f7f7;
  --yl-white: #ffffff;
  --yl-max: 1180px;
  --font-display: "Arial Narrow", "Franklin Gothic Medium", "Helvetica Neue", sans-serif;
  --font-body: "Segoe UI", "Helvetica Neue", "PingFang SC", "Microsoft YaHei", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  font-family: var(--font-body);
  color: var(--yl-ink);
  background: var(--yl-white);
  line-height: 1.5;
  min-height: 100vh;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
ul { list-style: none; }

/* —— Header —— */
/* Sticky site chrome: stays visible while scrolling; .is-scrolled = compact look */
#yl-header {
  position: sticky;
  top: 0;
  z-index: 100;
  transition: box-shadow .25s ease;
}
#yl-header.is-scrolled {
  box-shadow: 0 10px 28px -10px rgba(0, 40, 90, .4);
}
#yl-header.is-scrolled .yl-topbar {
  background: var(--yl-blue-deep);
}
#yl-header.is-scrolled .yl-topbar-inner {
  padding-top: 8px;
  padding-bottom: 8px;
}
#yl-header.is-scrolled .yl-logo-img {
  height: 40px;
}
#yl-header.is-scrolled .yl-search input {
  padding-top: 6px;
  padding-bottom: 6px;
}
#yl-header.is-scrolled .yl-search button {
  padding-left: 10px;
  padding-right: 10px;
}

#yl-header.is-scrolled .yl-nav {
  background: #184f96;
  border-top-color: rgba(255, 255, 255, .18);
}
#yl-header.is-scrolled .yl-nav-inner {
  min-height: 44px;
}
@media (prefers-reduced-motion: reduce) {
  #yl-header { transition: none; }
}

.yl-topbar {
  background: var(--yl-blue);
  color: var(--yl-white);
  position: relative;
  z-index: 50;
  transition: background .25s ease;
}

.yl-topbar-inner {
  max-width: var(--yl-max);
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  transition: padding .25s ease;
}

.yl-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 0;
}

.yl-logo-img {
  height: 48px;
  width: auto;
  max-width: min(220px, 52vw);
  display: block;
  transition: height .25s ease;
}

.yl-search {
  flex: 1;
  max-width: 520px;
  margin: 0 auto;
  display: flex;
  background: var(--yl-white);
  border-radius: 4px;
  overflow: hidden;
}

.yl-search input {
  flex: 1;
  border: 0;
  padding: 10px 14px;
  color: var(--yl-ink);
  outline: none;
  min-width: 0;
  transition: padding .25s ease;
  border-radius: 4px 0 0 4px;
}

.yl-search input::placeholder { color: #9a9a9a; }

.yl-search button {
  border: 0;
  background: transparent;
  padding: 0 14px;
  cursor: pointer;
  color: #666;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

.yl-top-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
  font-size: 14px;
  font-weight: 500;
}

.yl-top-actions a {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--yl-white);
  opacity: .95;
}

.yl-top-actions a:hover,
.yl-top-actions button:hover { opacity: 1; }

/* —— User dropdown —— */
.yl-user-dropdown { position: relative; display: inline-flex; }

.yl-user-btn {
  display: flex; align-items: center; gap: 6px;
  color: var(--yl-white); opacity: .95;
  background: transparent; border: 0; cursor: pointer;
  font: inherit; font-size: 14px; font-weight: 500; padding: 0;
}
.yl-user-btn:hover { opacity: 1; }

.yl-user-chev {
  font-size: 10px; transition: transform .15s ease;
  display: inline-block;
}
.yl-user-menu.open + .yl-user-btn .yl-user-chev,
.yl-user-dropdown:has(.yl-user-menu.open) .yl-user-chev { transform: rotate(180deg); }

.yl-user-menu {
  display: none;
  position: absolute; top: 100%; left: 0;
  /* padding 桥接按钮与面板，避免 margin 空隙导致悬停中断 */
  padding-top: 10px;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  min-width: 176px; z-index: 50;
  color: #333;
}
.yl-user-menu.open { display: block; }
.yl-user-menu::after {
  content: '';
  position: absolute;
  top: 10px; left: 0; right: 0; bottom: 0;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 8px 28px rgba(0,0,0,.15);
  z-index: 0;
  pointer-events: none;
}
.yl-user-menu > * { position: relative; z-index: 1; }

.yl-user-menu-item,
a.yl-user-menu-item:link,
a.yl-user-menu-item:visited {
  display: block; width: 100%;
  padding: 10px 16px;
  font-size: 14px; font-weight: 500;
  color: #000; text-align: left;
  background: transparent; border: 0; cursor: pointer;
  font-family: inherit; text-decoration: none;
}
.yl-user-menu-item:hover { background: #f5f5f5; }

/* —— User info header in dropdown —— */
.yl-user-info {
  padding: 12px 16px 10px;
  border-bottom: 1px solid #eee;
  margin-bottom: 2px;
}
.yl-user-info-name {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  color: #333;
}
.yl-user-info-email {
  display: block;
  font-size: 0.78rem;
  color: #999;
  margin-top: 2px;
  word-break: break-all;
}

.yl-lang {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.yl-lang-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--yl-white);
  cursor: pointer;
  line-height: 0;
  opacity: .95;
}

.yl-lang-btn:hover,
.yl-lang-btn[aria-expanded="true"] {
  opacity: 1;
  background: rgba(255, 255, 255, .12);
}

.yl-lang-menu {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  left: auto;
  padding-top: 10px;
  min-width: 172px;
  z-index: 80;
  background: transparent;
}

.yl-lang-menu.open { display: block; }

.yl-lang-menu::after {
  content: "";
  position: absolute;
  top: 10px; left: 0; right: 0; bottom: 0;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 10px 32px rgba(0, 30, 80, .18);
  border: 1px solid rgba(0, 0, 0, .06);
  z-index: 0;
  pointer-events: none;
}

.yl-lang-menu > * { position: relative; z-index: 1; }

.yl-lang-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 10px 14px;
  border: 0;
  background: transparent;
  color: #1a1a1a;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
}

.yl-lang-item:first-child { border-radius: 8px 8px 0 0; }
.yl-lang-item:last-child { border-radius: 0 0 8px 8px; }

.yl-lang-item:hover { background: #f3f6fa; }

.yl-lang-item.is-active {
  color: var(--yl-blue);
  font-weight: 600;
  background: #eef4fb;
}

.yl-lang-item.is-active:hover { background: #e6eef8; }

.yl-lang-check {
  color: var(--yl-blue);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}

.yl-cart-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  margin-left: 2px;
  border-radius: 999px;
  background: var(--yl-orange);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
}
/* 购物车为空时隐藏红点 */
.yl-cart-badge:empty {
  display: none;
}

.yl-nav-wrap {
  position: relative;
  z-index: 40;
}

.yl-nav {
  background: var(--yl-blue-nav);
  border-top: 1px solid rgba(255,255,255,.12);
  position: relative;
  z-index: 42;
  transition: background .25s ease, border-color .25s ease;
}

.yl-nav-inner {
  max-width: var(--yl-max);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: stretch;
  justify-content: center;
  min-height: 48px;
  transition: min-height .25s ease;
}

.yl-nav-links {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  flex-wrap: nowrap;
}

.yl-nav-item {
  position: static;
  display: flex;
}

.yl-nav-trigger {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--yl-white);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  padding: 6px 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
  line-height: 1.25;
  min-height: 48px;
  height: 100%;
  box-sizing: border-box;
  text-align: center;
  white-space: nowrap;
}
.yl-nav-trigger-text {
  display: inline-block;
  text-align: center;
  white-space: nowrap;
  line-height: 1.25;
}

.yl-nav-trigger .chev {
  display: inline-flex;
  align-items: center;
  opacity: .85;
  transition: transform .15s ease, color .15s ease;
}

.yl-nav-trigger .chev svg {
  display: block;
}

.yl-nav-item.is-open .yl-nav-trigger,
.yl-nav-item:hover .yl-nav-trigger {
  background: #fff;
  color: var(--yl-ink);
  position: relative;
  z-index: 45;
  /* White tab overlaps mega by 1px — seamless join, no backdrop hairline */
  height: calc(100% + 1px);
  margin-bottom: -1px;
}

.yl-nav-item.is-open .yl-nav-trigger .chev,
.yl-nav-item:hover .yl-nav-trigger .chev {
  color: var(--yl-orange);
  transform: rotate(180deg);
  opacity: 1;
}

.yl-phone {
  display: none;
}

.yl-phone svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-right: 6px;
}

/* —— Mega menu —— */
.yl-mega-backdrop {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  background: rgba(0, 0, 0, .45);
  z-index: 30;
}

.yl-mega-backdrop.is-on { display: block; }

.yl-mega {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  margin-top: 0;
  background: #fff;
  color: var(--yl-ink);
  box-shadow: 0 16px 28px -8px rgba(0, 0, 0, .2);
  border: 0;
  outline: 0;
  z-index: 44;
  opacity: 1;
}

.yl-nav-item.is-open .yl-mega,
.yl-nav-item:hover .yl-mega {
  display: block;
}

.yl-mega-leaf-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
  gap: 20px 16px;
  justify-items: start;
}
.yl-mega-leaf {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  width: 100%;
  color: var(--yl-ink);
}
.yl-mega-leaf .thumb {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 8px;
  border: 1px solid #e6e6e6;
  background: #f4f6f9;
  overflow: hidden;
}
.yl-mega-leaf .thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: #f4f6f9;
}
.yl-mega-leaf .name {
  margin-top: 10px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  text-align: left;
  width: 100%;
}
.yl-mega-leaf:hover .name { color: var(--yl-blue); }

.yl-mega-inner {
  max-width: var(--yl-max);
  margin: 0 auto;
  padding: 28px 24px 24px;
}

.yl-mega-cols {
  display: grid;
  gap: 28px;
  align-items: start;
}

.yl-mega-cols.cols-3 {
  grid-template-columns: 1.15fr 1.15fr 0.9fr;
}

.yl-mega-cols.cols-3-equal {
  grid-template-columns: repeat(3, 1fr);
}

.yl-mega-cols.cols-products {
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

@media (max-width: 1100px) {
  .yl-mega-cols.cols-products {
    grid-template-columns: repeat(3, 1fr);
  }
}

.yl-mega-product {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 16px;
  align-items: start;
  position: relative;
}

.yl-mega-thumb {
  width: 88px;
  height: 88px;
  border-radius: 6px;
  background: linear-gradient(160deg, #f4f4f4, #e8e8e8);
  border: 1px solid #e6e6e6;
  display: flex;
  align-items: center;
  justify-content: center;
  
  position: relative;
  flex-shrink: 0;
  overflow: hidden;
}

.yl-mega-thumb.has-img {
  background: #fff;
  padding: 0;
}

.yl-mega-thumb.has-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.yl-mega-thumb.sheets::before,
.yl-mega-thumb.sheets::after {
  content: "";
  position: absolute;
  width: 46px;
  height: 58px;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 2px;
  box-shadow: 0 4px 10px rgba(0,0,0,.08);
}
.yl-mega-thumb.sheets::before { transform: rotate(-8deg) translate(-6px, 2px); }
.yl-mega-thumb.sheets::after { transform: rotate(6deg) translate(8px, -2px); }

.yl-mega-thumb.rolls::before {
  content: "";
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: conic-gradient(#eee, #fff, #ccc, #f5f5f5);
  box-shadow: 0 4px 12px rgba(0,0,0,.12);
}
.yl-mega-thumb.rolls::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #bbb;
}

.yl-mega-thumb.stickers {
  background: linear-gradient(145deg, #fff7e8, #ffe0b8);
}
.yl-mega-thumb.stickers::before {
  content: "";
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #ef5a2b;
  box-shadow: 18px -8px 0 #2f9e6a, 8px 16px 0 #1a4f9c, -14px 10px 0 #e8a838;
}

.yl-mega-thumb.printers {
  background: linear-gradient(160deg, #ececec, #d0d0d0);
}
.yl-mega-thumb.printers::before {
  content: "";
  position: absolute;
  width: 42px;
  height: 28px;
  background: #555;
  border-radius: 3px;
  box-shadow: inset 0 -8px 0 #333, 0 12px 0 -5px #ddd, 0 16px 0 -5px #bbb;
}
.yl-mega-thumb.printers::after {
  content: "";
  position: absolute;
  top: 22px;
  width: 28px;
  height: 10px;
  background: #89c4f0;
  border-radius: 1px;
  box-shadow: 0 0 0 1px #4a7aa8;
}

.yl-mega-thumb.ribbons {
  background: linear-gradient(160deg, #f7efe6, #e8d5c0);
}
.yl-mega-thumb.ribbons::before {
  content: "";
  position: absolute;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: conic-gradient(from 20deg, #2a2a2a 0 35%, #c9a227 35% 55%, #2a2a2a 55% 100%);
  box-shadow: inset 0 0 0 10px #f3e7d6, 0 4px 10px rgba(0,0,0,.12);
}
.yl-mega-thumb.ribbons::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #f3e7d6;
  border: 1px solid #c9b896;
}

.yl-mega-thumb.designer {
  background: linear-gradient(145deg, #e8f0fa, #d5e4f5);
}
.yl-mega-thumb.designer::before {
  content: "";
  width: 50px;
  height: 36px;
  border-radius: 4px;
  background: #fff;
  border: 2px solid #1a4f9c;
  box-shadow: 4px 4px 0 rgba(26,79,156,.2);
}

/* --- Help mega thumb variants --- */
.yl-mega-thumb.help-support {
  background: linear-gradient(135deg, #e8f0fa, #cddff5);
}
.yl-mega-thumb.help-support::before {
  content: "?";
  font-size: 28px;
  font-weight: 700;
  color: #1a4f9c;
}
.yl-mega-thumb.help-orders {
  background: linear-gradient(135deg, #fef3e4, #fce4c3);
}
.yl-mega-thumb.help-orders::before {
  content: "";
  width: 24px; height: 20px;
  border: 3px solid #d4850b;
  border-radius: 3px;
  background: transparent;
  position: relative;
}
/* lid of box */
.yl-mega-thumb.help-orders::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 28px; height: 3px;
  background: #d4850b;
  border-radius: 2px;
  transform: translate(-50%, -14px);
}
.yl-mega-thumb.help-resources {
  background: linear-gradient(135deg, #e6f4ec, #c8e8d3);
}
.yl-mega-thumb.help-resources::before {
  content: "";
  width: 14px; height: 26px;
  border: 3px solid #2f9e6a;
  border-radius: 2px 3px 3px 2px;
  background: #fff;
}
.yl-mega-thumb.help-company {
  background: linear-gradient(135deg, #f0e8fa, #dfcef2);
}
.yl-mega-thumb.help-company::before {
  content: "";
  width: 0; height: 0;
  border-left: 16px solid transparent;
  border-right: 16px solid transparent;
  border-bottom: 18px solid #6c3fa0;
}
.yl-mega-thumb.help-company::after {
  content: "";
  position: absolute;
  bottom: 6px; left: 50%;
  width: 30px; height: 4px;
  background: #6c3fa0;
  border-radius: 2px;
  transform: translateX(-50%);
}

/* Help mega dropdown — horizontal row */
.yl-mega-help-row {
  display: flex;
  flex-direction: row;
  gap: 40px;
  padding: 12px 0;
}
.yl-mega-help-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 140px;
  padding: 10px;
  border-radius: 8px;
  cursor: pointer;
  transition: background .2s ease;
}
.yl-mega-help-item:hover {
  background: rgba(0,0,0,.04);
}
.yl-mega-help-item .yl-mega-thumb {
  width: 48px; height: 48px;
  margin-bottom: 10px;
}
.yl-mega-help-item .yl-mega-list-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--yl-ink);
  text-transform: uppercase;
  letter-spacing: .4px;
  margin-bottom: 6px;
}
.yl-mega-help-item a {
  font-size: 13px;
  color: var(--yl-gray);
  padding: 2px 0;
  text-decoration: none;
}
.yl-mega-help-item a:hover {
  color: var(--yl-blue);
}

.yl-mega-product h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--yl-ink);
}

.yl-mega-product p {
  font-size: 13px;
  color: var(--yl-muted);
  line-height: 1.45;
  margin-bottom: 10px;
}

.yl-mega-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  font-size: 13px;
  font-weight: 600;
}

.yl-mega-links a {
  color: var(--yl-blue);
  padding: 0 8px;
}
.yl-mega-links a:first-child { padding-left: 0; }
.yl-mega-links a:hover { text-decoration: underline; }
.yl-mega-links .sep {
  color: #c5c5c5;
  font-weight: 400;
}

.yl-mega-cta {
  color: var(--yl-blue);
  font-size: 13px;
  font-weight: 700;
}
.yl-mega-cta:hover { text-decoration: underline; }

.yl-mega-badge {
  position: absolute;
  top: -6px;
  right: 0;
  background: var(--yl-orange);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .06em;
  padding: 3px 7px;
  border-radius: 3px;
}

.yl-mega-includes {
  background: #f3f3f3;
  border-radius: 6px;
  padding: 18px 18px 16px;
}

.yl-mega-includes h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 12px;
}

.yl-mega-includes li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  padding: 4px 0;
  color: var(--yl-ink);
}

.yl-check {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 1px;
  border-radius: 50%;
  background: #2f9e6a;
  position: relative;
}
.yl-check::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 2px;
  width: 5px;
  height: 8px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.yl-mega-divider {
  height: 1px;
  background: var(--yl-line);
  margin: 22px 0 18px;
}

.yl-mega-trend-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.yl-mega-trend-head h4 {
  font-size: 15px;
  font-weight: 700;
}

.yl-mega-trend-head a {
  color: var(--yl-blue);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
.yl-mega-trend-head a:hover { text-decoration: underline; }

.yl-mega-trend-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  text-align: center;
}

.yl-mega-trend {
  display: block;
  color: var(--yl-ink);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
}

.yl-mega-trend .icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 8px;
  border-radius: 50%;
  background: #f0f0f0;
  border: 1px solid #e6e6e6;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  transition: box-shadow .15s ease, transform .15s ease;
}

.yl-mega-trend:hover .icon {
  box-shadow: 0 6px 16px rgba(26,79,156,.15);
  transform: translateY(-2px);
}

.yl-mega-trend .icon.sticker { background: radial-gradient(circle at 30% 30%, #ffe8a8, #f7c948); }
.yl-mega-trend .icon.sticker::before {
  content: "";
  width: 28px; height: 34px;
  background: #fff;
  border: 2px solid #d4a820;
  border-radius: 3px;
  box-shadow: 6px 4px 0 rgba(0,0,0,.08);
}
.yl-mega-trend .icon.food { background: radial-gradient(circle at 30% 30%, #f7e6c8, #c4782a); }
.yl-mega-trend .icon.food::before {
  content: "";
  width: 26px; height: 34px;
  border: 3px solid #fff;
  border-radius: 4px 4px 12px 12px;
  box-shadow: inset 0 8px 0 rgba(255,255,255,.35);
}
.yl-mega-trend .icon.ship { background: radial-gradient(circle at 30% 30%, #e8eef8, #7a9cc8); }
.yl-mega-trend .icon.ship::before {
  content: "";
  width: 34px; height: 24px;
  background: #fff;
  border: 2px solid #4a6a90;
  border-radius: 2px;
  box-shadow: 0 6px 0 #4a6a90;
}
.yl-mega-trend .icon.candle { background: radial-gradient(circle at 30% 30%, #fff4e0, #e8a838); }
.yl-mega-trend .icon.candle::before {
  content: "";
  width: 22px; height: 28px;
  background: #fff;
  border: 2px solid #c4782a;
  border-radius: 2px 2px 10px 10px;
  box-shadow: 0 -8px 0 -4px #ef5a2b;
}
.yl-mega-trend .icon.printer { background: radial-gradient(circle at 30% 30%, #ececec, #9a9a9a); }
.yl-mega-trend .icon.printer::before {
  content: "";
  width: 34px; height: 22px;
  background: #555;
  border-radius: 3px;
  box-shadow: inset 0 -6px 0 #333, 0 10px 0 -4px #ddd;
}
.yl-mega-trend .icon.ribbon { background: radial-gradient(circle at 30% 30%, #f7efe6, #c9a227); }
.yl-mega-trend .icon.ribbon::before {
  content: "";
  width: 28px; height: 28px;
  border-radius: 50%;
  background: conic-gradient(from 20deg, #2a2a2a 0 40%, #c9a227 40% 60%, #2a2a2a 60% 100%);
  box-shadow: inset 0 0 0 8px #f3e7d6;
}
.yl-mega-trend .icon.cross { background: radial-gradient(circle at 30% 30%, #e8f0fa, #1a4f9c); }
.yl-mega-trend .icon.cross::before {
  content: "";
  width: 22px; height: 22px;
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 8px 0 0 -6px #fff, -8px 0 0 -6px #fff, 0 8px 0 -6px #fff, 0 -8px 0 -6px #fff;
}

.yl-mega-valuebar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  background: #f3f3f3;
  border-radius: 4px;
  padding: 14px 18px;
  margin: 22px 0;
  font-size: 13px;
  font-weight: 600;
}

.yl-mega-valuebar span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.yl-mega-enterprise {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
  align-items: center;
}

.yl-mega-enterprise-art {
  height: 140px;
  border-radius: 6px;
  background:
    linear-gradient(135deg, rgba(26,79,156,.08), rgba(239,90,43,.08)),
    repeating-linear-gradient(90deg, #f7f7f7 0 12px, #f0f0f0 12px 24px);
  border: 1px solid #e8e8e8;
  position: relative;
  
}

.yl-mega-enterprise-art span {
  position: absolute;
  border-radius: 6px;
  background: #fff;
  border: 1px solid #ddd;
  box-shadow: 0 6px 14px rgba(0,0,0,.08);
}
.yl-mega-enterprise-art .a { width: 48px; height: 64px; left: 28px; bottom: 24px; border-radius: 24px 24px 6px 6px; }
.yl-mega-enterprise-art .b { width: 36px; height: 72px; left: 90px; bottom: 20px; border-radius: 4px; background: linear-gradient(#fff, #e8f6ef); }
.yl-mega-enterprise-art .c { width: 70px; height: 70px; left: 140px; bottom: 22px; border-radius: 12px; background: linear-gradient(#fff, #e8eef8); }
.yl-mega-enterprise-art .d { width: 40px; height: 78px; left: 220px; bottom: 18px; border-radius: 6px; background: linear-gradient(#fff, #ffe8dc); }

.yl-mega-enterprise h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.yl-mega-enterprise ul {
  margin-bottom: 12px;
}

.yl-mega-enterprise li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 13px;
  padding: 3px 0;
  color: var(--yl-muted);
}

.yl-mega-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px 24px;
}

.yl-mega-list a {
  display: block;
  padding: 6px 0;
  font-size: 14px;
  color: var(--yl-ink);
  font-weight: 500;
}
.yl-mega-list a:hover { color: var(--yl-blue); }

.yl-mega-list .yl-mega-list-title {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--yl-muted);
  font-weight: 700;
  margin-bottom: 4px;
  padding-top: 4px;
}

/* —— Breadcrumb —— */
.yl-crumb {
  max-width: var(--yl-max);
  margin: 0 auto;
  padding: 14px 20px 0;
  font-size: 13px;
  color: var(--yl-muted);
}

.yl-crumb a { color: var(--yl-blue); }
.yl-crumb a:hover { text-decoration: underline; }
.yl-crumb span { margin: 0 6px; color: #bbb; }

/* —— Hero —— */
.yl-hero {
  background:
    linear-gradient(135deg, #e8f1fb 0%, #f5f8fc 42%, #eef3f9 100%),
    radial-gradient(ellipse 80% 60% at 85% 20%, rgba(0, 86, 179, .08), transparent 55%);
  color: var(--yl-ink);
  position: relative;
  
}

.yl-hero-inner {
  max-width: var(--yl-max);
  margin: 0 auto;
  padding: 56px 20px 72px;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.yl-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 700;
  letter-spacing: .01em;
  line-height: 1.05;
  margin-bottom: 16px;
  color: var(--yl-blue-deep);
}

.yl-hero .lead {
  font-size: 18px;
  line-height: 1.55;
  max-width: 420px;
  margin-bottom: 18px;
  font-weight: 500;
  color: var(--yl-ink);
}

.yl-hero .note {
  font-size: 14px;
  color: var(--yl-muted);
  max-width: 380px;
  padding-left: 14px;
  border-left: 2px solid var(--yl-blue);
  line-height: 1.55;
}

.yl-hero-art {
  position: relative;
  min-height: 280px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.yl-sheet {
  width: 200px;
  height: 260px;
  background: #f2f2f0;
  border-radius: 4px;
  box-shadow: 0 18px 40px rgba(26, 79, 156, .18), 0 2px 0 rgba(255,255,255,.3) inset;
  position: absolute;
  padding: 14px;
  display: grid;
  gap: 6px;
}

.yl-sheet.s1 {
  transform: rotate(-8deg) translate(-70px, 10px);
  z-index: 1;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: repeat(4, 1fr);
}

.yl-sheet.s2 {
  transform: rotate(4deg) translate(20px, -6px);
  z-index: 2;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(4, 1fr);
}

.yl-sheet.s3 {
  transform: rotate(-2deg) translate(90px, 18px);
  z-index: 3;
  width: 180px;
  height: 230px;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: repeat(3, 1fr);
}

.yl-lbl {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 2px;
}

.yl-lbl.round { border-radius: 50%; }
.yl-lbl.spice {
  background: radial-gradient(circle at 40% 35%, #f7e6c8, #c4782a);
  border-color: #a86420;
  position: relative;
}
.yl-lbl.spice::after {
  content: "BBQ";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 7px;
  font-weight: 700;
  color: #3a2208;
  letter-spacing: .04em;
}
.yl-lbl.mint {
  background: radial-gradient(circle at 40% 35%, #e8f6ef, #2f9e6a);
  border-color: #247a52;
}
.yl-lbl.blank { background: #fff; }

.yl-roll {
  position: absolute;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: conic-gradient(from 20deg, #e8e8e8, #fff, #d0d0d0, #f5f5f5);
  box-shadow: 0 10px 24px rgba(0,0,0,.35);
  z-index: 4;
  bottom: 18px;
  right: 18%;
}
.yl-roll::before {
  content: "";
  position: absolute;
  inset: 22px;
  border-radius: 50%;
  background: #cfcfcf;
  box-shadow: inset 0 0 0 3px #bbb;
}
.yl-roll.printed {
  background: conic-gradient(from 40deg, #1a4f9c, #2a6fd4, #143d7a, #3a7fdc);
  right: 8%;
  bottom: 8px;
}
.yl-roll.printed::before {
  background: #0f2f5c;
  box-shadow: inset 0 0 0 3px #1a4f9c;
}

/* —— Path cards —— */
.yl-paths {
  max-width: var(--yl-max);
  margin: -48px auto 0;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  position: relative;
  z-index: 2;
}

.yl-path-card {
  background: var(--yl-white);
  border-radius: 6px;
  box-shadow: 0 8px 28px rgba(0,0,0,.12);
  
  transition: transform .25s ease, box-shadow .25s ease;
  display: block;
  color: inherit;
}

.yl-path-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(0,0,0,.16);
}

.yl-path-card .body {
  padding: 28px 28px 8px;
}

.yl-path-card h2 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 6px;
}

.yl-path-card p {
  color: var(--yl-muted);
  font-size: 15px;
}

.yl-path-visual {
  height: 200px;
  background: linear-gradient(180deg, #fafafa, #f0f0f0);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  position: relative;
  
}

.yl-path-visual .mini-sheet {
  width: 110px;
  height: 140px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 3px;
  box-shadow: 0 8px 18px rgba(0,0,0,.12);
  position: absolute;
  bottom: 36px;
  padding: 8px;
  display: grid;
  gap: 4px;
}

.yl-path-visual .mini-sheet.a {
  transform: rotate(-10deg) translateX(-40px);
  grid-template-columns: 1fr 1fr;
  grid-template-rows: repeat(3, 1fr);
}
.yl-path-visual .mini-sheet.b {
  transform: rotate(6deg) translateX(36px);
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(4, 1fr);
}
.yl-path-visual .mini-roll {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: conic-gradient(#eee, #fff, #ccc, #f5f5f5);
  position: absolute;
  bottom: 18px;
  z-index: 2;
  box-shadow: 0 6px 14px rgba(0,0,0,.15);
}
.yl-path-visual .mini-roll::after {
  content: "";
  position: absolute;
  inset: 16px;
  border-radius: 50%;
  background: #bbb;
}
.yl-path-visual.designed .cell {
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #d4f0e4, #2f9e6a);
  border: 1px solid #247a52;
}
.yl-path-visual.designed .mini-roll {
  background: conic-gradient(#1a4f9c, #4a8ae0, #143d7a);
}
.yl-path-visual.designed .mini-roll::after { background: #0f2f5c; }

.yl-path-visual .cell {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 2px;
}

/* —— Content sections —— */
.yl-section {
  max-width: var(--yl-max);
  margin: 0 auto;
  padding: 64px 20px 24px;
}

.yl-section h3 {
  font-size: 28px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 18px;
}

.yl-section .prose {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  color: var(--yl-muted);
  font-size: 16px;
  line-height: 1.7;
}

.yl-section .prose a {
  color: var(--yl-blue);
  text-decoration: underline;
}

.yl-quotes {
  max-width: var(--yl-max);
  margin: 0 auto;
  padding: 40px 20px 72px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.yl-quote {
  font-size: 15px;
  line-height: 1.65;
  color: var(--yl-ink);
}

.yl-quote .who {
  margin-top: 14px;
  font-weight: 600;
  color: var(--yl-muted);
}

/* —— Catalog pages —— */
.yl-page-head {
  max-width: var(--yl-max);
  margin: 0 auto;
  padding: 28px 20px 8px;
}

.yl-page-head h1 {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  letter-spacing: .01em;
  margin-bottom: 8px;
}

.yl-page-head p {
  color: var(--yl-muted);
  max-width: 640px;
  font-size: 15px;
}

.yl-toolbar {
  max-width: var(--yl-max);
  margin: 0 auto;
  padding: 16px 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--yl-line);
}

.yl-toolbar .search-row {
  display: flex;
  gap: 8px;
  flex: 1;
  min-width: 220px;
  max-width: 380px;
}

.yl-toolbar input[type="search"],
.yl-toolbar select {
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 9px 12px;
  background: #fff;
}

.yl-toolbar .search-row input { flex: 1; min-width: 0; }

.yl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 0;
  border-radius: 4px;
  padding: 10px 18px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  background: var(--yl-orange);
  color: #fff;
  transition: background .15s ease;
}

.yl-btn:hover { background: var(--yl-orange-hover); }

.yl-btn.ghost {
  background: transparent;
  color: var(--yl-blue);
  border: 1px solid var(--yl-blue);
}

.yl-mine-card .yl-mine-preview {
  height: 120px;
  background: linear-gradient(145deg, #e8f1fb, #f7f9fc);
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--yl-line);
}

.yl-mine-badge {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--yl-blue);
  background: #fff;
  border: 1px solid rgba(0,86,179,.2);
  border-radius: 999px;
  padding: 6px 12px;
}

.yl-mine-card .yl-card-body {
  padding: 14px;
}

.yl-mine-card h3 {
  font-size: 15px;
  margin-bottom: 6px;
  line-height: 1.3;
}

.yl-mine-card .meta {
  font-size: 12px;
  color: var(--yl-muted);
  margin-bottom: 4px;
}

.yl-mine-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.yl-mine-actions .yl-btn {
  padding: 7px 12px;
  font-size: 13px;
}

.yl-page-btn {
  appearance: none;
  border: 1px solid var(--yl-line);
  background: #fff;
  color: var(--yl-ink);
  border-radius: 4px;
  padding: 6px 10px;
  margin: 0 4px 4px 0;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
}

.yl-page-btn.is-on {
  background: var(--yl-blue);
  border-color: var(--yl-blue);
  color: #fff;
}

.yl-layout {
  max-width: var(--yl-max);
  margin: 0 auto;
  padding: 24px 20px 64px;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 28px;
}

.yl-filters h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--yl-muted);
  margin: 18px 0 10px;
}

.yl-filters h4:first-child { margin-top: 0; }

.yl-filters label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  padding: 5px 0;
  cursor: pointer;
  color: var(--yl-ink);
}

.yl-filters input { accent-color: var(--yl-blue); }

.yl-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 18px;
}

.yl-card {
  border: 1px solid var(--yl-line);
  border-radius: 6px;
  
  background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
  display: block;
  color: inherit;
}

.yl-card:hover {
  border-color: var(--yl-blue);
  box-shadow: 0 6px 18px rgba(26,79,156,.12);
}

.yl-card-preview {
  aspect-ratio: 1;
  background: var(--yl-paper);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  position: relative;
}

.yl-card-preview .shape {
  background: #fff;
  border: 1px solid #ccc;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}

.yl-card-preview .shape.rect { width: 78%; height: 42%; border-radius: 3px; }
.yl-card-preview .shape.circle { width: 58%; height: 58%; border-radius: 50%; }
.yl-card-preview .shape.oval { width: 70%; height: 48%; border-radius: 50%; }
.yl-card-preview .shape.square { width: 58%; height: 58%; border-radius: 4px; }
.yl-card-preview .shape.starburst {
  width: 62%;
  height: 62%;
  background:
    radial-gradient(circle, #fff 55%, transparent 56%),
    repeating-conic-gradient(#fff 0 8deg, #ddd 8deg 10deg);
  border: 0;
  border-radius: 50%;
}

.yl-card-preview.designed .shape {
  background: linear-gradient(145deg, var(--c1, #2f9e6a), var(--c2, #1a4f9c));
  border-color: transparent;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  text-align: center;
  padding: 8px;
  line-height: 1.2;
}

.yl-card-meta {
  padding: 12px 14px 14px;
  border-top: 1px solid var(--yl-line);
}

.yl-card-meta .size {
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 2px;
}

.yl-card-meta .sku {
  color: var(--yl-blue);
  font-size: 13px;
  font-weight: 600;
}

.yl-card-meta .sub {
  color: var(--yl-muted);
  font-size: 12px;
  margin-top: 4px;
}

.yl-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 48px 20px;
  color: var(--yl-muted);
}

.yl-pager {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.yl-pager button {
  min-width: 36px;
  height: 36px;
  border: 1px solid #ccc;
  background: #fff;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  font-size: 13px;
}

.yl-pager button.is-active,
.yl-pager button:hover {
  border-color: var(--yl-blue);
  color: var(--yl-blue);
}

.yl-pager button:disabled {
  opacity: .4;
  cursor: default;
}

/* —— Detail —— */
.yl-detail {
  max-width: var(--yl-max);
  margin: 0 auto;
  padding: 24px 20px 72px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.yl-detail-preview {
  background: var(--yl-paper);
  border-radius: 8px;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--yl-line);
}

.yl-detail-preview .shape {
  width: 55%;
  height: 55%;
  background: #fff;
  border: 1px solid #ccc;
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
}

.yl-detail-preview.designed .shape {
  background: linear-gradient(145deg, var(--c1, #2f9e6a), var(--c2, #1a4f9c));
  border: 0;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  text-align: center;
  padding: 20px;
}

.yl-detail h1 {
  font-family: var(--font-display);
  font-size: 32px;
  margin-bottom: 8px;
}

.yl-detail .sku {
  color: var(--yl-blue);
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 16px;
}

.yl-detail dl {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 10px 12px;
  font-size: 14px;
  margin: 20px 0 28px;
}

.yl-detail dt { color: var(--yl-muted); }
.yl-detail dd { font-weight: 600; }

.yl-detail .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.yl-formats {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--yl-line);
}

.yl-formats h3 {
  font-size: 15px;
  margin-bottom: 10px;
}

.yl-formats .chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.yl-formats .chip {
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 600;
  background: #fff;
}

/* —— Footer —— */
.yl-footer {
  background: #222;
  color: #ccc;
  margin-top: auto;
}

.yl-footer-top {
  max-width: var(--yl-max);
  margin: 0 auto;
  padding: 48px 20px 36px;
  display: grid;
  grid-template-columns: 1.2fr repeat(4, 1fr);
  gap: 28px;
}

.yl-footer h4 {
  color: #fff;
  font-size: 14px;
  margin-bottom: 14px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.yl-footer a {
  display: block;
  font-size: 13px;
  padding: 4px 0;
  color: #bdbdbd;
}

.yl-footer a:hover { color: #fff; }

.yl-footer .news p {
  font-size: 13px;
  margin-bottom: 12px;
  line-height: 1.5;
}

.yl-footer .news-form {
  display: flex;
  gap: 6px;
}

.yl-footer .news-form input {
  flex: 1;
  min-width: 0;
  border: 0;
  border-radius: 3px;
  padding: 9px 10px;
}

.yl-footer .news-form button {
  border: 0;
  border-radius: 3px;
  background: var(--yl-orange);
  color: #fff;
  font-weight: 700;
  padding: 0 14px;
  cursor: pointer;
}

.yl-footer-bottom {
  border-top: 1px solid #333;
  padding: 18px 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 20px;
  font-size: 12px;
  color: #888;
}
.yl-footer-mail {
  color: #ccc;
  letter-spacing: 0.02em;
}
.yl-footer-mail:hover { color: #fff; }

.yl-footer-logo {
  height: 22px;
  width: auto;
  display: block;
  opacity: .92;
}

/* —— Cookie —— */
.yl-cookie {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #2a2a2a;
  color: #fff;
  z-index: 50;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  box-shadow: 0 -4px 20px rgba(0,0,0,.2);
}

.yl-cookie.hidden { display: none; }

.yl-cookie .actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.yl-cookie .actions a { color: #fff; text-decoration: underline; }

/* —— Mobile —— */
.yl-menu-btn {
  display: none;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  padding: 0;
  width: 44px;
  height: 44px;
  line-height: 1;
  border-radius: 6px;
  flex-shrink: 0;
}
.yl-menu-btn:hover,
.yl-menu-btn[aria-expanded="true"] {
  background: rgba(255,255,255,.12);
}

@media (max-width: 900px) {
  html { overflow-x: hidden; scroll-padding-top: 56px; }
  body { overflow-x: hidden; }
  body.yl-nav-open { overflow: hidden; }
  body.yl-nav-open::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(8, 24, 48, .45);
    z-index: 99;
  }

  .yl-hero-inner,
  .yl-paths,
  .yl-quotes,
  .yl-layout,
  .yl-detail,
  .yl-footer-top {
    grid-template-columns: 1fr;
  }

  .yl-hero-art { min-height: 0; }
  .yl-paths { margin-top: 24px; }
  .yl-top-actions .label-hide { display: none; }
  .yl-phone { display: none; }
  .yl-menu-btn { display: inline-flex; align-items: center; justify-content: center; }

  .yl-topbar-inner {
    padding: 8px 12px;
    gap: 10px;
  }
  .yl-top-actions { gap: 6px; }
  .yl-search { max-width: none; min-width: 0; }
  .yl-logo-img { height: 40px; }

  .yl-lang-menu,
  .yl-user-menu {
    left: auto;
    right: 0;
  }

  /* Drawer: hide empty nav strip until hamburger opens */
  .yl-nav-wrap {
    display: none;
    max-height: calc(100dvh - 52px);
    overflow: auto;
    -webkit-overflow-scrolling: touch;
  }
  body.yl-nav-open .yl-nav-wrap { display: block; }
  .yl-nav-inner {
    display: flex;
    flex-wrap: wrap;
    min-height: 0;
    padding: 0 0 12px;
  }
  .yl-nav-links {
    display: flex;
    width: 100%;
    flex-direction: column;
    padding-bottom: 0;
  }

  .yl-nav-item { width: 100%; display: block; }
  .yl-nav-trigger {
    width: 100%;
    justify-content: space-between;
    min-height: 48px;
    border-bottom: 1px solid rgba(255,255,255,.12);
  }
  .yl-nav-item.is-open .yl-nav-trigger,
  .yl-nav-item:hover .yl-nav-trigger {
    background: rgba(0,0,0,.15);
    color: #fff;
    box-shadow: none;
    height: auto;
    margin-bottom: 0;
  }
  .yl-nav-item.is-open .yl-nav-trigger .chev,
  .yl-nav-item:hover .yl-nav-trigger .chev {
    color: var(--yl-orange);
  }

  /* Mobile: only show mega when explicitly open (not hover) */
  .yl-nav-item:hover .yl-mega { display: none; }
  .yl-nav-item.is-open .yl-mega {
    display: block;
    position: static;
    box-shadow: none;
    top: auto;
    border-bottom: 1px solid var(--yl-line);
  }
  .yl-mega-inner { padding: 16px; }
  .yl-mega-leaf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .yl-mega-cols.cols-3,
  .yl-mega-cols.cols-3-equal,
  .yl-mega-cols.cols-products,
  .yl-mega-enterprise,
  .yl-mega-list,
  .yl-mega-trend-grid {
    grid-template-columns: 1fr;
  }
  .yl-mega-product { grid-template-columns: 64px 1fr; }
  .yl-mega-thumb { width: 64px; height: 64px; }
  .yl-mega-trend-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .yl-mega-help-row { flex-direction: column; gap: 8px; }
  .yl-mega-backdrop { display: none !important; }

  .yl-page-head { padding: 20px 16px 8px; }
  .yl-page-head h1 { font-size: 28px; }
  .yl-crumb { padding: 12px 16px 0; }
  .yl-toolbar {
    flex-direction: column;
    align-items: stretch;
    padding: 12px 16px;
  }
  .yl-toolbar .search-row { max-width: none; }
  .yl-layout { padding: 16px 16px 48px; gap: 16px; }
  .yl-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--yl-line);
  }
  .yl-filters h4 { flex: 1 1 100%; margin: 10px 0 0; }
  .yl-filters h4:first-child { margin-top: 0; }
  .yl-filters label { min-height: 40px; padding: 8px 0; }
  .yl-detail { padding: 16px 16px 48px; gap: 20px; }
  .yl-detail h1 { font-size: 26px; }
  .yl-detail dl { grid-template-columns: 1fr; }
  .yl-section { padding: 36px 16px 16px; }
  .yl-section h3 { font-size: 22px; }
  .yl-footer-top { padding: 32px 16px 24px; gap: 20px; }
  .yl-footer .news-form { flex-wrap: wrap; }
  .yl-footer .news-form button { height: 40px; }
  .yl-cookie {
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
    align-items: stretch;
  }
}

@media (min-width: 901px) {
  /* Desktop hover opens; click also works via is-open */
  .yl-nav-item:hover .yl-mega { display: block; }
}

@media (max-width: 640px) {
  .yl-topbar-inner {
    flex-wrap: wrap;
    padding: 8px 10px;
    gap: 8px;
  }
  .yl-logo-img {
    height: 36px;
    max-width: min(160px, 42vw);
  }
  .yl-search {
    order: 3;
    flex: 1 0 100%;
    min-width: 100%;
    max-width: none;
  }
  .yl-search input { padding: 8px 10px; }
  .yl-hero { padding-bottom: 8px; }
  .yl-hero-inner { padding-top: 28px; padding-bottom: 32px; }
  .yl-hero h1 { font-size: 32px; }
  .yl-mega-trend-grid { grid-template-columns: repeat(2, 1fr); }
  .yl-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
}
