@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;500;600;700&family=Noto+Serif+SC:wght@500;600&display=swap');
:root {
  --bg: #f0f7fc; --elevated: #fff; --ink: #0f2d42; --soft: #5a7d94;
  --line: #d4e8f4; --accent: #1a8ccc; --dark: #0d6ba8; --gold: #5eb8e8; --sale: #e85d5d;
  --wrap: min(1200px, 94vw); --sans: 'Noto Sans SC', sans-serif;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--sans); background: var(--bg); color: var(--ink); line-height: 1.55; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
.wrap { width: var(--wrap); margin: 0 auto; }
.top-bar { background: var(--accent); color: #fff; text-align: center; padding: 8px; font-size: 0.78rem; }
.site-header { background: var(--elevated); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; gap: 16px; flex-wrap: wrap; }
.brand-name { font-size: 1.35rem; font-weight: 700; color: var(--accent); }
.brand-sub { font-size: 0.72rem; color: var(--soft); }
.main-nav { display: flex; gap: 18px; list-style: none; font-size: 0.88rem; }
.main-nav a.is-active, .main-nav a:hover { color: var(--accent); font-weight: 600; }
.header-actions { display: flex; gap: 10px; align-items: center; }
.header-search { border: 1px solid var(--line); padding: 8px 12px; border-radius: 8px; background: var(--elevated); color: var(--ink); }
.header-search-btn { background: var(--accent); color: #fff; border: none; padding: 8px 14px; border-radius: 8px; cursor: pointer; }
.bag-link { font-weight: 600; }
.cart-badge { background: var(--sale); color: #fff; font-size: 0.65rem; padding: 2px 6px; border-radius: 8px; margin-left: 4px; }
.shop-tools { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; align-items: center; }
.filter-chip { border: 1px solid var(--line); background: var(--elevated); color: var(--ink); padding: 8px 14px; border-radius: 999px; cursor: pointer; font-size: 0.82rem; }
.filter-chip.is-active { background: var(--accent); color: #fff; border-color: var(--accent); }
.search-input { border: 1px solid var(--line); padding: 8px 14px; border-radius: 8px; background: var(--elevated); color: var(--ink); min-width: 180px; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 18px; }
.product-card { background: var(--elevated); border: 1px solid var(--line); overflow: hidden; transition: transform .2s, box-shadow .2s; }
.product-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,.08); }
.card-media { position: relative; aspect-ratio: 1; overflow: hidden; }
.card-tag { position: absolute; top: 10px; left: 10px; background: var(--gold); color: var(--ink); font-size: 0.62rem; padding: 4px 8px; font-weight: 700; z-index: 2; }
.card-overlay-cart { position: absolute; left: 10px; right: 10px; bottom: 10px; padding: 10px; background: var(--accent); color: #fff; border: none; font-weight: 600; cursor: pointer; opacity: 0; transition: opacity .2s; z-index: 2; border-radius: 8px; }
.product-card:hover .card-overlay-cart { opacity: 1; }
@media (hover: none) { .card-overlay-cart { opacity: 1; } }
.card-body { padding: 14px; }
.card-cat { font-size: 0.68rem; color: var(--soft); }
.card-title { font-size: 0.92rem; margin: 6px 0 10px; min-height: 2.5em; font-weight: 600; }
.price-now { font-size: 1.05rem; font-weight: 700; color: var(--accent); }
.price-was { font-size: 0.78rem; color: var(--soft); text-decoration: line-through; margin-left: 6px; }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 10px 16px; cursor: pointer; border-radius: 8px; border: none; }
.btn-cart { background: var(--accent); color: #fff; width: 100%; font-weight: 600; }
.btn-outline { border: 1px solid var(--line); background: transparent; color: var(--ink); }
.btn-lg { padding: 14px 24px; }
.btn-block { width: 100%; }
.btn-ghost { background: transparent; border: 1px solid var(--line); color: var(--soft); }
.page-pad { padding: 32px 0 64px; }
.breadcrumb { font-size: 0.85rem; color: var(--soft); margin-bottom: 20px; }
.detail-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.detail-cat, .detail-meta { color: var(--soft); }
.detail-price { margin: 16px 0; }
.detail-desc { color: var(--soft); margin-bottom: 20px; }
.qty-row { display: flex; align-items: center; gap: 8px; margin-bottom: 20px; }
.qty-btn { width: 36px; height: 36px; border: 1px solid var(--line); background: var(--elevated); color: var(--ink); cursor: pointer; border-radius: 6px; }
#qty-input { width: 56px; text-align: center; border: 1px solid var(--line); padding: 8px; background: var(--elevated); color: var(--ink); }
.detail-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cart-layout { display: grid; grid-template-columns: 1fr 300px; gap: 32px; }
.cart-row { display: grid; grid-template-columns: 80px 1fr auto auto auto; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cart-summary { background: var(--elevated); border: 1px solid var(--line); padding: 24px; border-radius: 12px; height: fit-content; }
.summary-row { display: flex; justify-content: space-between; font-size: 1.15rem; margin-bottom: 16px; }
.summary-note { font-size: 0.82rem; color: var(--soft); margin-bottom: 16px; }
.site-footer { background: var(--dark); color: #fff; padding: 40px 0; margin-top: 48px; }
.footer-grid { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; }
.footer-nav { display: flex; gap: 20px; flex-wrap: wrap; }
.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(80px); background: var(--ink); color: var(--bg); padding: 12px 24px; border-radius: 8px; opacity: 0; transition: all .3s; z-index: 200; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.empty-msg, .empty-state { text-align: center; padding: 48px; color: var(--soft); }

.product-icon {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 100%; font-size: clamp(2.8rem, 8vw, 4.2rem);
  background: #e3f4fc; border-radius: inherit;
  line-height: 1; user-select: none;
}
.card-icon { min-height: 100%; aspect-ratio: 1; }
.detail-icon { font-size: 5rem; min-height: 280px; border-radius: 16px; }
.cart-icon { font-size: 2.2rem; width: 80px; height: 80px; border-radius: 12px; }
.card-media-link { display: flex; width: 100%; height: 100%; }
.cart-thumb { display: flex; }


.hero-breeze { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; padding: 48px 0 32px; }
.hero-breeze .kicker { letter-spacing: 0.2em; color: var(--accent); font-size: 0.75rem; }
.hero-breeze h1 { font-size: 2rem; margin: 12px 0; }
.hero-icon { font-size: 6rem; opacity: 0.35; }
.cat-strip { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 12px; margin-bottom: 32px; }
.cat-tile { background: var(--elevated); border: 1px solid var(--line); padding: 16px; text-align: center; border-radius: 12px; }
.cat-tile span { display: block; font-weight: 600; font-size: 0.88rem; }
.cat-tile small { color: var(--soft); font-size: 0.72rem; }
.product-card { border-radius: 16px; }

@media (max-width: 860px) {
  .detail-layout, .cart-layout { grid-template-columns: 1fr; }
}
