:root {
  --bg: #ffffff;
  --bg-soft: #FFF5F7;
  --cream: #FFF7ED;
  --cream-line: #FFE3C2;
  --ink: #282C3F;
  --ink-soft: #696B79;
  --pink: #FF3F6C;
  --pink-dark: #E0305C;
  --pink-soft: #FFF0F3;
  --wa: #1FA855;
  --wa-dark: #157A3C;
  --line: #EAEAEA;
  --radius: 8px;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
[id] { scroll-margin-top: 92px; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--pink); }
h1, h2, h3 { margin: 0 0 10px; line-height: 1.25; }
h1 { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 800; letter-spacing: -0.01em; }
p { margin: 0 0 12px; }
.lead { font-size: 1.08rem; color: var(--ink-soft); }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.section { padding: 56px 0; }
.band { background: var(--bg-soft); }
.section-title { font-size: 1.5rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 6px; }
.section-title.center { text-align: center; }
.section-sub { color: var(--ink-soft); }

/* Buttons */
.btn {
  display: inline-block;
  padding: 11px 20px;
  border-radius: 4px;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.btn-primary { background: var(--pink); color: #fff; }
.btn-primary:hover { background: var(--pink-dark); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-dark); }
.btn-outline { background: #fff; color: var(--pink); border-color: var(--pink); }
.btn-outline:hover { background: var(--pink-soft); }
.btn-block { display: block; width: 100%; text-align: center; margin-bottom: 10px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 10px rgba(40, 44, 63, 0.06);
}
.header-in { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex: 0 0 auto; }
.brand-mark {
  width: 42px; height: 42px; flex: 0 0 42px;
  display: grid; place-items: center;
  background: var(--pink); color: #fff;
  font-family: Georgia, serif; font-size: 1.1rem; font-weight: 700;
  border-radius: 8px;
}
.brand-name { font-size: 0.92rem; font-weight: 800; line-height: 1.2; text-transform: uppercase; letter-spacing: 0.03em; }
.site-nav { display: flex; gap: 4px; }
.site-nav a {
  color: var(--ink); text-decoration: none; font-size: 0.9rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.02em;
  padding: 10px 12px; border-bottom: 3px solid transparent;
}
.site-nav a:hover, .site-nav a.active { color: var(--pink); border-bottom-color: var(--pink); }
.header-search {
  flex: 1; display: flex; align-items: center; gap: 8px;
  background: #F5F5F6; border-radius: 4px; padding: 0 12px; min-width: 160px;
}
.header-search input {
  flex: 1; border: 0; outline: 0; background: transparent;
  font-size: 0.95rem; padding: 11px 0; color: var(--ink); min-width: 0;
}
.header-icons { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.icon-btn {
  position: relative;
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  background: none; border: 0; cursor: pointer; padding: 8px 10px; color: var(--ink);
}
.icon-btn:hover { color: var(--pink); }
.icon-btn.active { color: var(--pink); }
.icon-profile, .icon-heart, .icon-bag { font-size: 1.35rem; line-height: 1; }
.icon-label { font-size: 0.72rem; font-weight: 700; }
.count-badge {
  position: absolute; top: 2px; right: 2px;
  min-width: 18px; height: 18px; padding: 0 4px;
  background: var(--pink); color: #fff; border-radius: 999px;
  font-size: 0.68rem; font-weight: 700; line-height: 18px; text-align: center;
}
.nav-toggle {
  display: none;
  background: none; border: 1px solid var(--line); border-radius: 6px;
  font-size: 1.25rem; line-height: 1; padding: 8px 12px; cursor: pointer; color: var(--ink);
}
.profile-wrap { position: relative; }
.profile-menu {
  position: absolute; right: 0; top: calc(100% + 8px);
  min-width: 210px; background: #fff;
  border: 1px solid var(--line); border-radius: 8px;
  box-shadow: 0 12px 28px rgba(40, 44, 63, 0.16);
  padding: 8px 0; z-index: 70;
}
.profile-menu-h { font-weight: 800; font-size: 0.92rem; padding: 8px 16px 4px; margin: 0; }
.profile-menu a, .profile-menu button {
  display: block; width: 100%; text-align: left;
  padding: 10px 16px; font-size: 0.92rem; color: var(--ink);
  background: none; border: 0; cursor: pointer; text-decoration: none;
  font-family: var(--sans);
}
.profile-menu a:hover, .profile-menu button:hover { background: var(--pink-soft); color: var(--pink); }

/* Promo strip */
.promo-strip { background: var(--pink); color: #fff; text-align: center; padding: 9px 16px; }
.promo-strip p { margin: 0; font-size: 0.9rem; font-weight: 700; transition: opacity 0.3s ease; }

/* Hero carousel */
.hero-carousel { position: relative; overflow: hidden; background: var(--cream); }
.hero-track { display: flex; transition: transform 0.5s ease; }
.hero-slide { flex: 0 0 100%; display: grid; grid-template-columns: 1.05fr 0.95fr; min-height: 520px; }
.hero-panel {
  display: flex; flex-direction: column; justify-content: center;
  padding: 48px 40px 64px max(24px, calc((100vw - 1240px) / 2 + 24px));
}
.hero-panel h1, .hero-panel h2 { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 800; letter-spacing: -0.01em; }
.hero-panel > p { color: var(--ink-soft); font-size: 1.1rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 20px 0 14px; }
.hero-shop { font-size: 0.92rem; margin: 0; color: var(--ink-soft); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%; border: 0;
  background: rgba(255, 255, 255, 0.92); color: var(--ink);
  font-size: 1.6rem; line-height: 1; cursor: pointer; z-index: 5;
  box-shadow: 0 2px 10px rgba(40, 44, 63, 0.18);
}
.hero-arrow:hover { background: #fff; color: var(--pink); }
.hero-prev { left: 16px; }
.hero-next { right: 16px; }
.hero-dots {
  position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 8px; z-index: 5;
}
.hero-dot {
  width: 10px; height: 10px; border-radius: 999px; border: 0; padding: 0;
  background: rgba(40, 44, 63, 0.35); cursor: pointer;
  transition: width 0.2s ease, background 0.2s ease;
}
.hero-dot.active { width: 26px; background: var(--pink); }

/* Category tiles */
.cat-tiles { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; margin-top: 24px; align-items: start; }
.cat-tile {
  background: var(--cream); border: 1px solid var(--cream-line); border-radius: 8px;
  padding: 0; cursor: pointer; text-align: center; overflow: hidden;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.cat-tile:hover { border-color: var(--pink); transform: translateY(-2px); }
.cat-tile img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; }
.cat-cap { display: block; padding: 10px 6px 12px; }
.cat-name { display: block; font-weight: 800; font-size: 0.95rem; color: var(--ink); }
.cat-shop { display: block; color: var(--pink); font-weight: 700; font-size: 0.85rem; margin-top: 2px; }

/* Shop */
.shop { padding-top: 8px; }
.shop-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.shop-head .section-title { margin-bottom: 2px; }
.result-count { color: var(--ink-soft); font-size: 0.92rem; margin: 0; }
.sort-wrap { font-size: 0.88rem; color: var(--ink-soft); display: flex; align-items: center; gap: 8px; }
.sort-wrap select {
  border: 1px solid #D4D5D9; border-radius: 4px; padding: 8px 10px;
  font-size: 0.9rem; color: var(--ink); background: #fff; cursor: pointer;
}
.shop-layout { display: grid; grid-template-columns: 240px 1fr; gap: 28px; align-items: start; }
.filters {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px; background: #fff;
  position: sticky; top: 92px;
}
.filters > h3 { font-size: 0.95rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 4px; }
.filter-group { border-top: 1px solid var(--line); padding: 14px 0 16px; }
.filter-group h4 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--ink-soft); margin-bottom: 8px; }
.filter-group label { display: flex; align-items: center; gap: 8px; padding: 5px 0; font-size: 0.92rem; cursor: pointer; }
.filter-group label span { color: var(--ink-soft); font-size: 0.85rem; }
.filter-group input { accent-color: var(--pink); width: 16px; height: 16px; }
.chips { display: none; }
.chip {
  border: 1px solid #D4D5D9; background: #fff; color: var(--ink);
  border-radius: 999px; padding: 7px 14px; font-size: 0.88rem; font-weight: 600; cursor: pointer;
}
.chip:hover { border-color: var(--pink); color: var(--pink); }
.chip.active { background: var(--pink); border-color: var(--pink); color: #fff; }

.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.product {
  border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; background: #fff;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.product:hover { box-shadow: 0 10px 24px rgba(40, 44, 63, 0.12); transform: translateY(-2px); }
.product-img { position: relative; }
.product-img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; }
.wish-btn {
  position: absolute; top: 10px; right: 10px;
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--line); background: rgba(255, 255, 255, 0.94);
  font-size: 1.15rem; line-height: 1; cursor: pointer; color: var(--ink-soft);
  display: grid; place-items: center;
}
.wish-btn:hover { color: var(--pink); border-color: var(--pink); }
.wish-btn.active { color: var(--pink); font-size: 0; }
.wish-btn.active::before { content: "\2665"; position: absolute; font-size: 1.15rem; }
.product-body { padding: 14px 14px 16px; }
.product-brand { font-size: 0.85rem; font-weight: 800; margin-bottom: 2px; text-transform: uppercase; letter-spacing: 0.02em; }
.product-name { font-size: 0.92rem; font-weight: 400; color: var(--ink-soft); margin-bottom: 8px; min-height: 2.7em; }
.product-price { font-size: 0.95rem; font-weight: 800; color: var(--ink); margin-bottom: 12px; }
.product-actions { display: flex; gap: 8px; }
.btn-bag {
  flex: 1; background: var(--pink); color: #fff; border-color: var(--pink);
  padding: 9px 10px; font-size: 0.88rem;
}
.btn-bag:hover { background: var(--pink-dark); }
.btn-bag.added { background: var(--wa); border-color: var(--wa); }
.btn-order {
  padding: 9px 12px; font-size: 0.88rem;
  background: #fff; color: var(--wa-dark); border: 1px solid var(--wa);
}
.btn-order:hover { background: #EAF7EE; }
.no-results { text-align: center; color: var(--ink-soft); padding: 40px 0; font-size: 1.05rem; }

/* Wedding strip */
.wedding-strip { background: var(--pink); color: #fff; padding: 40px 0; }
.wedding-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.wedding-in h2 { font-size: 1.6rem; font-weight: 800; margin-bottom: 6px; }
.wedding-in p { color: rgba(255, 255, 255, 0.9); margin: 0; }
.wedding-strip .btn-primary { background: #fff; color: var(--pink); }
.wedding-strip .btn-primary:hover { background: var(--pink-soft); }

/* Steps */
.steps {
  list-style: none; margin: 24px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.steps li {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px;
}
.step-no {
  display: inline-grid; place-items: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--pink-soft); color: var(--pink);
  font-weight: 800; font-size: 1.1rem; margin-bottom: 14px;
}
.steps p { color: var(--ink-soft); font-size: 0.95rem; margin: 0; }

/* Visit */
.visit-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: start; }
.visit-list { margin: 26px 0; }
.visit-list > div {
  display: grid; grid-template-columns: 150px 1fr; gap: 16px;
  padding: 14px 0; border-top: 1px solid var(--line);
}
.visit-list > div:last-child { border-bottom: 1px solid var(--line); }
.visit-list dt { font-weight: 700; }
.visit-list dd { margin: 0; }
.visit-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.visit-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px;
}
.visit-card-title { font-weight: 800; font-size: 1.15rem; margin-bottom: 12px; }
.visit-card ul { margin: 0; padding-left: 20px; color: var(--ink-soft); }
.visit-card li { margin-bottom: 10px; }

/* Instagram CTA */
.insta { text-align: center; }
.insta-in { max-width: 560px; margin: 0 auto; }
.insta-in p { color: var(--ink-soft); margin-bottom: 24px; }

/* Footer */
.site-footer { background: #FAFBFC; border-top: 1px solid var(--line); padding: 48px 0 0; }
.footer-in { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 36px; }
.footer-brand { font-size: 1.15rem; font-weight: 800; margin-bottom: 10px; }
.footer-h { font-weight: 800; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 12px; }
.site-footer p { color: var(--ink-soft); font-size: 0.92rem; margin-bottom: 8px; }
.site-footer a { color: var(--ink-soft); text-decoration: none; }
.site-footer a:hover { color: var(--pink); }
.footer-trust { font-weight: 700; color: var(--ink); }
.trust-blocks { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding: 0 24px 28px; }
.trust-block { display: flex; gap: 12px; align-items: flex-start; }
.trust-icon {
  flex: 0 0 32px; width: 32px; height: 32px; border-radius: 50%;
  background: var(--pink-soft); color: var(--pink);
  display: grid; place-items: center; font-weight: 800;
}
.trust-title { font-weight: 800; color: var(--ink); margin-bottom: 2px; }
.trust-block p { margin-bottom: 0; }
.popular { padding: 0 24px 20px; }
.popular p { font-size: 0.85rem; color: var(--ink-soft); margin: 0; }
.popular a { color: var(--ink-soft); }
.footer-base { border-top: 1px solid var(--line); padding: 18px 24px 22px; font-size: 0.88rem; }
.footer-base p { margin: 0; }

/* Side tab + floating WhatsApp */
.side-tab {
  position: fixed; right: 0; top: 45%; z-index: 50;
  writing-mode: vertical-rl;
  background: var(--pink); color: #fff;
  font-weight: 800; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 16px 8px; border: 0; border-radius: 6px 0 0 6px; cursor: pointer;
}
.side-tab:hover { background: var(--pink-dark); }
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 50;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; color: #fff; font-size: 1.7rem; text-decoration: none;
  display: grid; place-items: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}
.wa-float:hover { background: #1DA851; }

/* Bag drawer */
.drawer-backdrop {
  position: fixed; inset: 0; background: rgba(40, 44, 63, 0.5);
  z-index: 90;
}
.bag-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(400px, 92vw);
  background: #fff; z-index: 100;
  display: flex; flex-direction: column;
  box-shadow: -8px 0 24px rgba(40, 44, 63, 0.2);
}
.drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 20px; border-bottom: 1px solid var(--line);
}
.drawer-head h2 { font-size: 1.15rem; margin: 0; }
.drawer-close { background: none; border: 0; font-size: 1.6rem; cursor: pointer; color: var(--ink-soft); line-height: 1; }
.drawer-body { flex: 1; overflow-y: auto; padding: 16px 20px; }
.drawer-empty { color: var(--ink-soft); text-align: center; padding: 40px 0; }
.bag-item { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.bag-item img { width: 64px; height: 80px; object-fit: cover; object-position: top; border-radius: 4px; }
.bag-item-info { flex: 1; }
.bag-item-info p { margin: 0 0 4px; font-size: 0.92rem; }
.bag-item-name { font-weight: 700; }
.bag-item-price { color: var(--ink-soft); font-size: 0.85rem; }
.bag-remove { background: none; border: 0; color: var(--pink); cursor: pointer; font-size: 0.85rem; font-weight: 700; padding: 0; }
.drawer-foot { padding: 18px 20px; border-top: 1px solid var(--line); }
.drawer-note { color: var(--ink-soft); font-size: 0.85rem; text-align: center; }

/* Toast */
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%);
  background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 4px;
  font-size: 0.92rem; font-weight: 600; z-index: 120;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* Responsive */
@media (max-width: 1080px) {
  .cat-tiles { grid-template-columns: repeat(3, 1fr); }
  .header-search { display: none; }
  .shop-layout { grid-template-columns: 1fr; }
  .filters { display: none; }
  .chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
}
@media (max-width: 900px) {
  .visit-grid { grid-template-columns: 1fr; gap: 36px; }
  .steps { grid-template-columns: 1fr; }
  .footer-in { grid-template-columns: 1fr 1fr; }
  .hero-slide { min-height: 440px; }
  .trust-blocks { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .section { padding: 40px 0; }
  .header-in { flex-wrap: wrap; padding-bottom: 0; gap: 12px; }
  .header-search { display: flex; order: 10; flex: 1 1 100%; margin: 0 0 10px; }
  .site-nav {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; flex-direction: column;
    border-bottom: 1px solid var(--line); padding: 8px 24px 16px;
    box-shadow: 0 12px 20px rgba(40, 44, 63, 0.08);
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 0; }
  .nav-toggle { display: block; }
  .icon-label { display: none; }
  .products { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .product-name { min-height: 0; }
  .product-actions { flex-direction: column; }
  .hero-slide { grid-template-columns: 1fr; min-height: 0; }
  .hero-photo { height: 320px; order: -1; }
  .hero-panel { padding: 28px 24px 56px; }
  .hero-arrow { display: none; }
  .visit-list > div { grid-template-columns: 1fr; gap: 2px; }
  .footer-in { grid-template-columns: 1fr; }
  .wedding-in { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .cat-tiles { grid-template-columns: repeat(2, 1fr); }
}
