:root {
  --cloud-dancer: #f5f4f0;
  --cloud-dancer-deep: #ebe8e0;
  --sky-accent: #cfeeff;
  --sky-accent-deep: #9fdcff;
  --sky-text: #2d6f91;
  --text: #2f312d;
  --muted: #6d6f6a;
  --border: rgba(47, 49, 45, 0.08);
  --card: rgba(255,255,255,0.8);
  --shadow: 0 18px 45px rgba(43, 42, 37, 0.08);
  --radius: 24px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  background: linear-gradient(180deg, #fcfbf8 0%, var(--cloud-dancer) 52%, #eef9ff 100%);
  color: var(--text);
}
body.drawer-open {
  overflow: hidden;
  touch-action: none;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.site-header {
  position: sticky; top: 0; z-index: 10;
  backdrop-filter: blur(14px);
  background: rgba(245, 244, 240, 0.78);
  border-bottom: 1px solid rgba(159, 220, 255, 0.35);
}
.site-header .container {
  position: relative;
}
.nav-wrap {
  display: grid;
  align-items: start;
  grid-template-columns: auto minmax(260px, 420px) 1fr auto;
  gap: 16px;
  padding: 18px 0;
}
.search-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.88);
  border: 1px solid rgba(159, 220, 255, 0.45);
  border-radius: 999px;
  padding: 6px;
}
.search-bar input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: none;
  background: transparent;
  padding: 0 12px;
  font: inherit;
  color: var(--text);
}
.search-bar button {
  border: 0;
  border-radius: 999px;
  min-height: 40px;
  padding: 0 16px;
  background: linear-gradient(135deg, var(--sky-accent-deep), #7dcfff);
  color: #12384e;
  font-weight: 700;
  cursor: pointer;
}
.brand { font-weight: 800; letter-spacing: -0.03em; color: var(--sky-text); }
.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--muted);
  font-size: 0.95rem;
  justify-content: flex-end;
  align-self: center;
}
.hero {
  display: grid; grid-template-columns: 1.7fr 0.7fr; gap: 18px;
  padding: 28px 0 10px;
}
.eyebrow {
  display: inline-block; padding: 8px 12px; border-radius: 999px;
  background: var(--sky-accent); color: var(--sky-text); font-size: 0.85rem;
}
.hero h1, .section-head h1 {
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.04; margin: 16px 0 14px; letter-spacing: -0.05em;
}
.hero p, .section-head p, .lead { color: var(--muted); font-size: 1.04rem; line-height: 1.75; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
.trust-row span, .pill {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.78);
  border: 1px solid rgba(159, 220, 255, 0.45);
  color: var(--sky-text);
  font-size: 0.9rem;
  font-weight: 600;
}
.category-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.promo-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(207,238,255,0.95), rgba(255,255,255,0.9));
  border: 1px solid rgba(159, 220, 255, 0.45);
  box-shadow: var(--shadow);
}
.promo-banner strong {
  display: block;
  font-size: 1.1rem;
  margin-bottom: 6px;
}
.promo-banner p { margin: 0; color: var(--muted); }
.top-category-banner { margin-bottom: 18px; }
.promo-side {
  color: var(--sky-text);
  font-weight: 700;
  text-align: right;
}
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px; padding: 0 18px; border-radius: 999px; font-weight: 600;
  transition: transform .18s ease, box-shadow .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, var(--sky-accent-deep), #7dcfff); color: #12384e; box-shadow: var(--shadow); }
.btn-secondary { background: rgba(255,255,255,0.72); border: 1px solid rgba(159, 220, 255, 0.45); }
.soft-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.88), rgba(245,250,255,0.9));
  border: 1px solid rgba(159, 220, 255, 0.35);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
}
.hero-card { padding: 22px; display: grid; gap: 12px; align-content: start; }
.compact-hero-card { min-height: fit-content; }
.metric-row {
  display: flex; align-items: baseline; justify-content: space-between;
  border-bottom: 1px dashed var(--border); padding-bottom: 12px;
}
.metric-row strong { font-size: 1.5rem; }
.section { padding: 20px 0 36px; }
.section-head { margin-bottom: 16px; }
.inline-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); margin: 0 0 8px; letter-spacing: -0.04em; }
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.category-card, .product-card { overflow: hidden; }
.category-card { padding: 24px; min-height: 220px; }
.category-card span, .text-link { color: #55584f; font-weight: 600; }
.product-card img { aspect-ratio: 4 / 3; object-fit: cover; }
.compact-grid .product-card img { aspect-ratio: 1 / 1; }
.product-body { padding: 14px; }
.badge {
  display: inline-block; margin-bottom: 10px; padding: 6px 10px; border-radius: 999px;
  background: var(--sky-accent); color: var(--sky-text); font-size: 0.78rem; font-weight: 700;
}
.product-body h3 { margin: 0 0 6px; font-size: 1.02rem; line-height: 1.35; }
.product-body p { margin: 0 0 10px; color: var(--muted); line-height: 1.55; font-size: 0.94rem; }
.price-row {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px;
  margin-bottom: 10px;
}
.compact-price-row {
  padding: 10px;
  border-radius: 16px;
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(159, 220, 255, 0.28);
}
.card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.mini-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.75);
  border: 1px solid rgba(159, 220, 255, 0.35);
  color: var(--text);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
}
.primary-mini {
  background: linear-gradient(135deg, var(--sky-accent-deep), #7dcfff);
  color: #12384e;
}
.price-row small, .detail-box small, .keyword-box small { display: block; color: var(--muted); margin-bottom: 6px; }
.price-row strong, .detail-box strong { font-size: 1.05rem; }
.old-price {
  display: inline-block;
  margin-top: 4px;
  color: #8a8d87;
  text-decoration: line-through;
  font-size: 0.88rem;
}
.detail-old { display: block; }
.rating-line {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.9rem;
}
.stars {
  color: #ffb648;
  letter-spacing: 0.06em;
}
.price-sale-row {
  align-items: start;
}
.product-page { padding-top: 34px; }
.product-hero {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding: 22px;
}
.product-main-image { border-radius: 20px; min-height: 320px; object-fit: cover; width: 100%; }
.detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 18px 0; }
.detail-box, .keyword-box {
  padding: 16px; border-radius: 18px; background: rgba(255,255,255,0.72); border: 1px solid var(--border);
}
.keyword-box p { margin: 0; line-height: 1.7; color: var(--muted); }
.product-cta-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 18px;
}
.full-btn {
  width: 100%;
}
.reviews-section {
  padding-top: 8px;
}
.reviews-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 20px;
}
.review-form-card,
.review-card {
  padding: 18px;
}
.review-form {
  display: grid;
  gap: 12px;
}
.review-form input,
.review-form select,
.review-form textarea {
  width: 100%;
  border: 1px solid rgba(159, 220, 255, 0.35);
  border-radius: 16px;
  padding: 12px 14px;
  font: inherit;
  background: rgba(255,255,255,0.88);
  color: var(--text);
  outline: none;
}
.reviews-list {
  display: grid;
  gap: 14px;
}
.review-top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.review-card p {
  margin: 0 0 8px;
  color: var(--text);
  line-height: 1.65;
}
.review-card small {
  color: var(--muted);
}
.empty-cart-card {
  padding: 24px;
  grid-column: 1 / -1;
}
.cart-toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  padding: 12px 16px;
  border-radius: 14px;
  background: #12384e;
  color: white;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: all .2s ease;
}
.cart-toast.show {
  opacity: 1;
  transform: translateY(0);
}
.cart-link {
  border: 0;
  background: transparent;
  font: inherit;
  color: inherit;
  cursor: pointer;
  padding: 0;
}
.icon-cart-button {
  position: absolute;
  top: 16px;
  right: 0;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(159, 220, 255, 0.35);
  box-shadow: 0 8px 20px rgba(43, 42, 37, 0.06);
  z-index: 2;
}
.cart-svg {
  width: 21px;
  height: 21px;
  color: var(--sky-text);
  display: inline-flex;
}
.cart-svg svg {
  width: 21px;
  height: 21px;
}
.cart-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #ff4d5f;
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transform-origin: center;
}
.cart-badge.pop {
  animation: cartBadgePop .28s ease;
}
@keyframes cartBadgePop {
  0% { transform: scale(0.8); }
  60% { transform: scale(1.18); }
  100% { transform: scale(1); }
}
.cart-drawer {
  position: fixed;
  inset: 0;
  background: rgba(18, 31, 44, 0.22);
  z-index: 35;
  display: none;
  justify-content: flex-end;
}
.cart-drawer.open {
  display: flex;
}
.cart-drawer-panel {
  width: min(100vw, 420px);
  max-width: 100%;
  height: 100%;
  border-radius: 0;
  padding: 12px;
  overflow-y: auto;
  overflow-x: hidden;
}
.cart-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.drawer-close {
  border: 0;
  background: rgba(255,255,255,0.88);
  width: 34px;
  height: 34px;
  min-width: 34px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 1.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.cart-drawer-items {
  display: grid;
  gap: 10px;
  width: 100%;
}
.drawer-item {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 8px;
  padding: 8px;
  border-radius: 14px;
  background: rgba(255,255,255,0.88);
  border: 1px solid rgba(159, 220, 255, 0.35);
  width: 100%;
  overflow: hidden;
}
.drawer-item img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 10px;
}
.drawer-item-body {
  display: grid;
  gap: 3px;
  min-width: 0;
  overflow: hidden;
}
.drawer-item-body strong {
  line-height: 1.3;
  font-size: 0.86rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.drawer-item-body span {
  color: var(--sky-text);
  font-weight: 700;
  font-size: 0.84rem;
}
.drawer-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 0.82rem;
  flex-wrap: wrap;
}
.drawer-actions a,
.drawer-actions button {
  border: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  cursor: pointer;
  padding: 0;
}
.site-footer {
  border-top: 1px solid rgba(159, 220, 255, 0.35);
  background: rgba(245, 250, 255, 0.8);
}
.footer-wrap {
  padding: 22px 0 34px;
}
.footer-wrap p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 960px) {
  .hero, .product-hero, .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
  .nav-wrap { grid-template-columns: 1fr; padding-right: 56px; }
  .search-bar { grid-column: 1 / -1; }
  .nav { grid-column: 1 / -1; justify-content: flex-start; }
}
@media (max-width: 720px) {
  .container { width: min(100% - 24px, 1120px); }
  .nav-wrap, .hero, .product-hero, .detail-grid, .reviews-grid, .product-cta-row { grid-template-columns: 1fr; display: grid; }
  .grid-3, .grid-4, .two-col-mobile { grid-template-columns: 1fr 1fr; }
  .nav-wrap { gap: 10px; padding-right: 56px; }
  .nav { gap: 12px; }
  .hero { padding-top: 20px; }
  .product-main-image { min-height: 220px; }
  .inline-head { align-items: start; }
  .card-actions { grid-template-columns: 1fr; }
  .promo-banner { grid-template-columns: 1fr; display: grid; }
  .promo-side { text-align: left; }
  .icon-cart-button { top: 12px; right: 12px; }
}
