/* Notion/Oopy style typography and base styles */
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
  --text-main: rgb(55, 53, 47);
  --text-gray: rgba(55, 53, 47, 0.65);
  --bg-main: #ffffff;
  --bg-hover: rgba(55, 53, 47, 0.08);
  --divider: rgba(55, 53, 47, 0.16);
  --max-width: 1200px;
  
  /* Link Color */
  --link-color: inherit;
  --yellow-bg: rgb(253, 236, 200); /* Notion yellow highlight */
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Pretendard', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  color: var(--text-main);
  background-color: var(--bg-main);
  line-height: 1.6;
  font-size: 19px;
  letter-spacing: -0.01em;
}

/* Header */
header {
  position: sticky;
  top: 0;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  z-index: 100;
}

.header-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  text-decoration: none;
  font-weight: 700;
  color: var(--text-main);
  font-size: 32px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-main);
  font-size: 18px;
  font-weight: 600;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--text-main);
}

.hamburger {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--text-main);
}

/* Page Content */
main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 80px 24px 64px 24px;
}

/* Notion block styles */
.page-title {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.25;
}

.page-description {
  font-size: 20px;
  color: var(--text-main);
  margin-bottom: 32px;
  white-space: pre-wrap;
}

hr {
  border: 0;
  height: 1px;
  background: var(--divider);
  margin: 32px 0;
}

h1 { font-size: 38px; margin: 40px 0 20px 0; font-weight: 700; }
h2 { font-size: 30px; margin: 36px 0 16px 0; font-weight: 600; }
h3 { font-size: 26px; margin: 32px 0 12px 0; font-weight: 600; }
h4 { font-size: 22px; margin: 24px 0 8px 0; font-weight: 500; }

p, ul, ol {
  margin-bottom: 12px;
}

.image-block {
  width: 100%;
  margin: 16px 0;
  border-radius: 4px;
}
.image-block img {
  width: 100%;
  border-radius: 4px;
  display: block;
}

/* Links & Highlights */
.page-link {
  text-decoration: none;
  color: var(--text-main);
  border-bottom: 1px solid var(--divider);
  padding-bottom: 1px;
  transition: background-color 0.2s;
}

.page-link:hover {
  background-color: var(--bg-hover);
}

/* The Bookmark block / URL preview card in Notion */
.bookmark-card {
  display: flex;
  text-decoration: none;
  color: var(--text-main);
  border: 1px solid var(--divider);
  border-radius: 4px;
  margin: 16px 0;
  overflow: hidden;
  transition: background-color 0.2s;
  background: var(--bg-main);
}

.bookmark-card:hover {
  background-color: var(--bg-hover);
}

.bookmark-content {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.bookmark-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bookmark-desc {
  font-size: 15px;
  color: var(--text-gray);
  margin-bottom: 12px;
  line-height: 1.5;
  white-space: normal;
}

.bookmark-url {
  font-size: 12px;
  color: var(--text-gray);
  display: flex;
  align-items: center;
  gap: 6px;
}
.bookmark-url img {
  width: 16px;
  height: 16px;
}

/* Callouts / Highlights */
.highlight-text {
  background-color: var(--yellow-bg);
  padding: 2px 4px;
  border-radius: 3px;
}

/* Info Section (Business Hours, Payment, Direction) */
.info-section h3 {
  font-size: 28px;
  margin: 36px 0 16px 0;
}
.info-section ul {
  font-size: 20px;
  line-height: 2;
}
.info-section ul li {
  padding: 4px 0;
}
.info-section p {
  font-size: 20px;
  line-height: 1.8;
}
.info-section .page-link {
  font-size: 20px;
}

/* Business Hours two-column table style */
.hours-row {
  display: flex;
  gap: 0;
  padding: 6px 0;
  font-size: 26px;
  font-weight: 400;
  list-style: none;
}
.hours-row .hours-day {
  min-width: 220px;
  font-weight: 500;
}
.hours-row .hours-time {
  font-weight: 600;
}
.hours-note {
  margin-top: 16px;
  font-size: 18px;
  color: var(--text-gray);
  font-style: italic;
}

/* Slogan */
.slogan {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 8px;
  color: var(--text-main);
}
.slogan-sub {
  font-size: 18px;
  color: var(--text-gray);
  margin-bottom: 32px;
}

/* Service Cards */
.service-section-title {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-gray);
  margin-bottom: 16px;
}
.service-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.service-card {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  color: var(--text-main);
  padding: 20px 24px;
  border: 1px solid var(--divider);
  border-radius: 8px;
  transition: background-color 0.15s, box-shadow 0.15s;
  background: var(--bg-main);
}
.service-card:hover {
  background-color: var(--bg-hover);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.service-card .card-icon {
  font-size: 32px;
  flex-shrink: 0;
  width: 48px;
  text-align: center;
}
.service-card .card-body {
  flex: 1;
  min-width: 0;
}
.service-card .card-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 2px;
}
.service-card .card-desc {
  font-size: 15px;
  color: var(--text-gray);
  line-height: 1.4;
}
.service-card .card-price {
  flex-shrink: 0;
  background: var(--yellow-bg);
  color: var(--text-main);
  font-weight: 700;
  font-size: 15px;
  padding: 6px 14px;
  border-radius: 20px;
  white-space: nowrap;
}
.service-card .card-arrow {
  flex-shrink: 0;
  font-size: 18px;
  color: var(--text-gray);
  margin-left: 4px;
}

/* Detail page steps */
.step-list {
  counter-reset: step-counter;
  list-style: none;
  padding: 0;
}
.step-list li {
  counter-increment: step-counter;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid var(--divider);
}
.step-list li:last-child { border-bottom: none; }
.step-list li::before {
  content: counter(step-counter);
  background: var(--text-main);
  color: white;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
}
.price-highlight {
  background: var(--yellow-bg);
  padding: 20px 24px;
  border-radius: 8px;
  margin: 24px 0;
}
.price-highlight .price-main {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 4px;
}
.price-highlight .price-note {
  font-size: 15px;
  color: var(--text-gray);
}

/* Store Cards */
.featured-scroll {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.featured-scroll::-webkit-scrollbar { height: 4px; }
.featured-scroll::-webkit-scrollbar-thumb { background: var(--divider); border-radius: 4px; }

.store-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--text-main);
  border: 1px solid var(--divider);
  border-radius: 10px;
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.15s;
  background: var(--bg-main);
  scroll-snap-align: start;
}
.store-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}
.store-card.featured {
  min-width: 220px;
  max-width: 220px;
}
.store-card .store-logo-wrap {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f9f8f7;
  padding: 16px;
}
.store-card .store-logo-wrap img {
  max-height: 56px;
  max-width: 140px;
  object-fit: contain;
}
.store-card .store-info {
  padding: 14px 16px 16px;
  flex: 1;
}
.store-card .store-name {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}
.store-card .store-desc {
  font-size: 13px;
  color: var(--text-gray);
  line-height: 1.4;
}
.store-card .store-tag {
  display: inline-block;
  font-size: 11px;
  background: var(--bg-hover);
  color: var(--text-gray);
  padding: 2px 8px;
  border-radius: 10px;
  margin-top: 8px;
}

/* Category Tabs */
.category-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.category-tab {
  padding: 8px 18px;
  border: 1px solid var(--divider);
  border-radius: 20px;
  background: var(--bg-main);
  color: var(--text-gray);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s;
  font-family: inherit;
}
.category-tab:hover {
  background: var(--bg-hover);
}
.category-tab.active {
  background: var(--text-main);
  color: white;
  border-color: var(--text-main);
}

/* Store Grid */
.store-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}

/* Browse stores link */
.browse-stores-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: var(--text-main);
  font-size: 15px;
  font-weight: 500;
  padding: 10px 18px;
  border: 1px solid var(--divider);
  border-radius: 8px;
  transition: background 0.15s;
  margin-top: 12px;
}
.browse-stores-link:hover {
  background: var(--bg-hover);
}

.footer-nav {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--divider);
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-link {
  color: var(--text-gray);
  text-decoration: none;
  font-size: 14px;
}
.footer-link:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  body { font-size: 16px; }
  .logo { font-size: 20px; }
  .page-title { font-size: 32px; }
  .page-description { font-size: 16px; }
  .slogan { font-size: 22px; }
  .slogan-sub { font-size: 15px; }
  h1 { font-size: 28px; }
  h2 { font-size: 24px; }
  h3 { font-size: 20px; }
  h4 { font-size: 18px; }
  .bookmark-title { font-size: 16px; }
  .bookmark-desc { font-size: 13px; }
  
  .hamburger {
    display: block;
  }
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.98);
    border-bottom: 1px solid var(--divider);
    padding: 16px 24px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  }
  .nav-links.active {
    display: flex;
  }
  
  main {
    padding-top: 48px;
  }
  
  .service-card {
    padding: 16px;
    gap: 12px;
  }
  .service-card .card-icon { font-size: 26px; width: 36px; }
  .service-card .card-title { font-size: 17px; }
  .service-card .card-desc { font-size: 13px; }
  .service-card .card-price { font-size: 13px; padding: 4px 10px; }
  
  .hours-row { font-size: 20px; }
  .hours-row .hours-day { min-width: 140px; }
  
  .store-card.featured { min-width: 180px; max-width: 180px; }
  .store-card .store-logo-wrap { height: 90px; }
  .store-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
  
  .bookmark-card {
    flex-direction: column;
  }
}
