.business-site {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: #202124;
  background: #fff;
}

.biz-hero {
  background-size: cover;
  background-position: center;
  background-color: #1a73e8;
  color: #fff;
  padding: 60px 20px;
  text-align: center;
}
.biz-hero-overlay {
  background: rgba(0,0,0,0.45);
  padding: 24px;
  border-radius: 8px;
  display: inline-block;
}
.biz-logo {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #fff;
  margin-bottom: 12px;
}
.biz-hero h1 { margin: 0 0 8px; font-size: 1.8rem; }
.biz-rating { margin: 0; }

.biz-share {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  padding: 12px 20px;
  background: #f7f8fa;
  border-bottom: 1px solid #e0e0e0;
}
.biz-share a, .biz-share button {
  font-size: 0.85rem;
  color: #1a73e8;
  text-decoration: none;
}

.biz-slider {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}
.biz-slide img { width: 100%; display: block; max-height: 420px; object-fit: cover; }
.biz-slide-caption { text-align: center; padding: 8px; color: #555; }
.biz-slider-prev, .biz-slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: #fff;
  border: none;
  padding: 10px 14px;
  cursor: pointer;
}
.biz-slider-prev { left: 10px; }
.biz-slider-next { right: 10px; }

.biz-section {
  max-width: 900px;
  margin: 0 auto;
  padding: 32px 20px;
  border-bottom: 1px solid #eee;
}
.biz-section h2 { margin-top: 0; }
.biz-muted { color: #888; }

.biz-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px;
}
.biz-gallery-grid img { width: 100%; height: 140px; object-fit: cover; border-radius: 6px; }

.biz-video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.biz-video { border-radius: 8px; overflow: hidden; }
.biz-video p { margin: 8px 0 0; font-size: 0.9rem; color: #555; }

.biz-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.biz-social-links { display: flex; gap: 12px; margin: 12px 0; flex-wrap: wrap; }

.biz-review {
  border-bottom: 1px solid #eee;
  padding: 12px 0;
}

.biz-footer {
  text-align: center;
  padding: 24px;
  color: #888;
  font-size: 0.85rem;
}

@media (max-width: 640px) {
  .biz-hero { padding: 40px 16px; }
  .biz-contact-grid { grid-template-columns: 1fr; }
  .biz-gallery-grid { grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); }
}

.biz-product-search {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  align-items: center;
}
.biz-product-search input[type="text"] {
  flex: 1;
  max-width: 300px;
  padding: 8px;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
}

.biz-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
}
.biz-product-card {
  display: block;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 12px;
  text-decoration: none;
  color: inherit;
  position: relative;
}
.biz-product-card img {
  width: 100%;
  height: 130px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 8px;
}
.biz-product-name { font-weight: 600; margin-bottom: 4px; }
.biz-product-price { color: #137333; font-weight: 700; }
.biz-price-old { text-decoration: line-through; color: #999; margin-right: 6px; font-size: 0.9rem; }
.biz-price-new { color: #137333; font-weight: 700; }
.biz-product-price-detail { font-size: 1.3rem; }
.biz-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: #1a73e8;
  color: #fff;
  font-size: 0.7rem;
  padding: 2px 8px;
  border-radius: 999px;
}

.biz-breadcrumb {
  max-width: 900px;
  margin: 12px auto 0;
  padding: 0 20px;
  font-size: 0.85rem;
  color: #666;
}
.biz-breadcrumb a { color: #1a73e8; text-decoration: none; }
.biz-breadcrumb-sep { margin: 0 6px; }

.site-header {
  background: #fff;
  border-bottom: 1px solid #e0e0e0;
}
.site-header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.site-header-brand {
  font-weight: 700;
  font-size: 1.2rem;
  color: #202124;
  text-decoration: none;
}
.site-header-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.site-header-nav a {
  color: #202124;
  text-decoration: none;
  font-size: 0.95rem;
}
.site-header-nav a:hover { color: #1a73e8; }
.site-header-cta {
  background: #1a73e8;
  color: #fff !important;
  padding: 7px 16px;
  border-radius: 6px;
}
.site-header-cta:hover { background: #1558b0; color: #fff !important; }
.site-header-logout { display: inline; }
.site-header-logout .link-button { font-size: 0.95rem; color: #202124; }

.home-category-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.home-category-pill {
  background: #f0f4ff;
  color: #1a73e8;
  padding: 8px 16px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.9rem;
  border: 1px solid #d6e0fb;
}
.home-category-pill:hover { background: #e0e9ff; }

.ad-banner {
  text-align: center;
  margin: 16px auto;
  max-width: 100%;
  position: relative;
}
.ad-banner img { max-width: 100%; height: auto; border-radius: 6px; }
.ad-banner-text {
  display: block;
  padding: 24px;
  background: #f0f4ff;
  border: 1px dashed #1a73e8;
  border-radius: 6px;
  color: #1a73e8;
}
.ad-banner-label {
  display: block;
  font-size: 0.65rem;
  color: #999;
  text-transform: uppercase;
  margin-top: 2px;
}

.ad-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}
.ad-popup-box {
  background: #fff;
  padding: 16px;
  border-radius: 8px;
  max-width: 90vw;
  max-height: 90vh;
  position: relative;
  text-align: center;
}
.ad-popup-box img { max-width: 100%; max-height: 70vh; }
.ad-popup-close {
  position: absolute;
  top: -12px;
  right: -12px;
  background: #202124;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  cursor: pointer;
  font-size: 1rem;
}
