* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #fafaf6;
  --green: #5f7e5f;
  --green-dark: #46603f;
  --text: #2a2a2a;
  --muted: #8a8a85;
  --line: #ececea;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  justify-content: center;
}

.phone {
  width: 100%;
  max-width: 430px;
  background: var(--bg);
  position: relative;
  min-height: 100vh;
  padding-bottom: 90px;
}

.statusbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 28px 4px;
  font-size: 14px;
  font-weight: 600;
}

.content { padding: 8px 22px; }

.page-head {
  margin-left: -22px;
  margin-right: -22px;
  padding: 24px 22px 28px;
  background-image: url('public/header-illustration.png');
  background-size: cover;
  background-position: right center;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.head-text h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 30px;
  font-weight: 500;
  letter-spacing: 1px;
  margin-bottom: 8px;
  color: var(--text);
}
.head-text p { color: var(--muted); font-size: 13px; line-height: 1.6; }

.search-row { display: flex; gap: 10px; margin-top: 22px; }
.search-box {
  flex: 1;
  background: #fff;
  border-radius: 30px;
  padding: 0 18px;
  height: 44px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
}
.search-ico-svg {
  width: 18px;
  height: 18px;
  stroke: var(--muted);
  flex-shrink: 0;
}
.search-box input {
  border: none; outline: none; flex: 1;
  font-size: 14px; background: transparent;
  color: var(--text);
}
.filter-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.filter-ico-svg {
  width: 20px;
  height: 20px;
  stroke: var(--green);
  display: block;
}

.tabs {
  display: flex;
  gap: 8px;
  margin-top: 16px;
  overflow-x: auto;
  padding-bottom: 4px;
}
.tabs::-webkit-scrollbar { display: none; }
.tab {
  flex-shrink: 0;
  padding: 8px 18px;
  border-radius: 30px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 13px;
  cursor: pointer;
  color: var(--text);
}
.tab.active {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}

.featured {
  margin-top: 18px;
  background: 
    linear-gradient(to right, #f6f3eb 0%, #f6f3eb 45%, rgba(246, 243, 235, 0.9) 55%, rgba(246, 243, 235, 0) 80%),
    url('public/featured.jpg');
  background-size: cover;
  background-position: right center;
  border-radius: 20px;
  overflow: hidden;
  min-height: 220px;
  display: flex;
  align-items: center;
}
.featured-text {
  padding: 24px 20px;
  width: 60%;
  position: relative;
  z-index: 2;
}
.badge {
  font-size: 10px;
  letter-spacing: 1.5px;
  color: var(--muted);
  font-weight: 600;
}
.featured h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.25;
  margin: 8px 0 10px;
  color: var(--text);
}
.featured p { font-size: 11px; color: #555; line-height: 1.5; margin-bottom: 12px; }
.meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--muted);
}
.bookmark-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}
.bookmark-btn .bookmark-icon {
  width: 14px;
  height: 14px;
  stroke: var(--muted);
  stroke-width: 2;
}
.bookmark-btn:hover {
  color: var(--green);
}
.bookmark-btn:hover .bookmark-icon {
  stroke: var(--green);
}

.list-section { margin-top: 22px; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.section-head h3 {
  font-size: 12px;
  letter-spacing: 1.5px;
  font-weight: 600;
}
.see-all { color: var(--muted); font-size: 12px; cursor: pointer; }

.art-item {
  display: grid;
  grid-template-columns: 80px 1fr 20px;
  gap: 14px;
  margin-bottom: 16px;
  align-items: center;
}
.art-item img {
  width: 80px; height: 80px;
  border-radius: 14px;
  object-fit: cover;
}
.art-item h4 { font-size: 14px; font-weight: 600; margin-bottom: 4px; line-height: 1.3; }
.art-item p { font-size: 11px; color: var(--muted); line-height: 1.4; margin-bottom: 4px; }
.art-item small { font-size: 10px; color: var(--muted); }

.bookmark {
  color: var(--muted);
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}
.bookmark-icon {
  width: 18px;
  height: 18px;
  stroke: var(--muted);
  stroke-width: 1.8;
  fill: none;
  transition: stroke 0.2s, fill 0.2s;
}
.bookmark:hover .bookmark-icon {
  stroke: var(--green);
}
.bookmark.active .bookmark-icon,
.bookmark-btn.active .bookmark-icon {
  stroke: var(--green);
  fill: var(--green);
}

.newsletter {
  margin-top: 24px;
  background-color: #f4f6f0;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" fill="none"><path d="M90 100 Q80 60 95 20" stroke="%237a8d7a" stroke-width="1.5" /><path d="M95 20 Q80 25 78 15 Q88 18 95 20" fill="%23a4bfa4" fill-opacity="0.6" /><path d="M95 20 Q105 25 108 18 Q98 18 95 20" fill="%2390a890" fill-opacity="0.6" /><path d="M86 50 Q70 52 68 45 Q78 47 86 50" fill="%23b0cbb0" fill-opacity="0.6" /><path d="M86 50 Q96 55 98 48 Q88 48 86 50" fill="%2388a088" fill-opacity="0.6" /><path d="M83 75 Q68 75 66 68 Q76 70 83 75" fill="%23a4bfa4" fill-opacity="0.6" /><path d="M83 75 Q93 80 95 73 Q85 73 83 75" fill="%237da37d" fill-opacity="0.6" /></svg>');
  background-size: 80px 80px;
  background-repeat: no-repeat;
  background-position: right 5px bottom 5px;
  border-radius: 18px;
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid #e3e7db;
}
.nl-icon-box {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nl-mail-svg {
  width: 32px;
  height: 32px;
}
.nl-text h4 { font-size: 13px; font-weight: 600; margin-bottom: 4px; }
.nl-text p { font-size: 10px; color: var(--muted); line-height: 1.4; }
.nl-btn {
  background: var(--green);
  color: #fff;
  border: none;
  padding: 10px 18px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
  z-index: 1;
}
.nl-btn:hover {
  background: var(--green-dark);
}

.bottom-spacer { height: 20px; }

.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  background: #fff;
  display: flex;
  justify-content: space-around;
  padding: 10px 0 16px;
  border-top: 1px solid var(--line);
}
.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  color: var(--muted);
  cursor: pointer;
  font-size: 16px;
}
.nav-item small { font-size: 10px; }
.nav-item.active { color: var(--green); font-weight: 600; }

.nav-icon {
  width: 22px;
  height: 22px;
  margin-bottom: 2px;
}
.nav-item.active .nav-icon path[d^="m3 9"] {
  fill: currentColor;
}
