/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #f97316;
  --primary-dark: #ea580c;
  --primary-light: #fff7ed;
  --text: #1c1c1e;
  --text-muted: #6b7280;
  --border: #e5e7eb;
  --bg: #f9fafb;
  --white: #ffffff;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 4px 24px rgba(0,0,0,.07);
  --shadow-md: 0 8px 40px rgba(0,0,0,.12);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans KR', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
img { display: block; max-width: 100%; }

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 72px 0; }

/* ===== TOP BANNER ===== */
.top-banner {
  background: var(--primary);
  color: #fff;
  text-align: center;
  padding: 10px;
  font-size: 0.875rem;
}

/* ===== HEADER ===== */
.header {
  position: sticky;
  top: 0;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 900;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.logo-icon { font-size: 1.75rem; }
.logo-text { color: var(--primary); }

.nav {
  display: flex;
  gap: 4px;
  flex: 1;
}

.nav a {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: all .2s;
  white-space: nowrap;
}

.nav a:hover {
  color: var(--primary);
  background: var(--primary-light);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all .2s;
  position: relative;
}

.icon-btn:hover { background: var(--bg); color: var(--text); }

.cart-count {
  position: absolute;
  top: -2px; right: -2px;
  background: var(--primary);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  width: 18px; height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 22px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  transition: all .2s;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(249,115,22,.35); }

.btn-outline {
  border: 1.5px solid var(--border);
  color: var(--text);
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }

.btn-ghost {
  background: rgba(255,255,255,.7);
  color: var(--text);
  border: 1.5px solid rgba(255,255,255,.8);
}
.btn-ghost:hover { background: #fff; }

.btn-white {
  background: #fff;
  color: var(--text);
  font-size: 0.85rem;
  padding: 9px 18px;
}
.btn-white:hover { background: var(--bg); }

.btn-outline-large {
  border: 2px solid var(--border);
  color: var(--text-muted);
  padding: 14px 48px;
  border-radius: var(--radius);
  font-size: 1rem;
}
.btn-outline-large:hover { border-color: var(--primary); color: var(--primary); }

/* ===== HERO ===== */
.hero { position: relative; overflow: hidden; }

.hero-slide {
  min-height: 560px;
  display: none;
}
.hero-slide.active { display: flex; }

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  min-height: 560px;
  padding-top: 60px;
  padding-bottom: 60px;
}

.hero-text { max-width: 520px; }

.hero-badge {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

.hero-text h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 16px;
}

.highlight { color: var(--primary); }

.hero-text p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-btns { display: flex; gap: 12px; }

.hero-image { flex-shrink: 0; }

.hero-img-wrapper {
  width: 340px;
  height: 340px;
  background: rgba(255,255,255,.6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: var(--shadow-md);
}

.pet-emoji-hero {
  font-size: 10rem;
  line-height: 1;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,.1));
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.floating-card {
  position: absolute;
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.card-1 { top: 20px; right: -20px; }
.card-2 { bottom: 40px; left: -30px; }

.hero-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 20px;
}

.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: all .3s;
}
.dot.active { background: var(--primary); width: 24px; border-radius: 4px; }

/* ===== SECTION HEADER ===== */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 36px;
}

.section-header h2 {
  font-size: 1.75rem;
  font-weight: 800;
}

.section-header.center { flex-direction: column; text-align: center; gap: 8px; }
.section-header.center p { color: var(--text-muted); }

.view-all {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  transition: gap .2s;
}
.view-all:hover { text-decoration: underline; }

/* ===== CATEGORIES ===== */
.categories-section { background: var(--bg); }

.categories-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 16px;
}

.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  transition: transform .2s;
}

.category-card:hover { transform: translateY(-4px); }

.category-icon {
  width: 80px;
  height: 80px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  transition: box-shadow .2s;
}

.category-card:hover .category-icon { box-shadow: var(--shadow-md); }

.category-card span {
  font-size: 0.85rem;
  font-weight: 500;
  text-align: center;
}

/* ===== PROMO BANNERS ===== */
.promo-banners { padding: 40px 0; }

.promo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.promo-card {
  border-radius: var(--radius);
  padding: 40px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
  position: relative;
}

.promo-orange { background: linear-gradient(135deg, #f97316, #fb923c); color: #fff; }
.promo-purple { background: linear-gradient(135deg, #8b5cf6, #a78bfa); color: #fff; }

.promo-tag {
  display: inline-block;
  background: rgba(255,255,255,.3);
  padding: 3px 12px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.promo-text h3 { font-size: 1.5rem; font-weight: 800; margin-bottom: 6px; }
.promo-text p { font-size: 0.9rem; opacity: 0.9; margin-bottom: 20px; }

.promo-emoji {
  font-size: 4rem;
  opacity: 0.8;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,.2));
}

/* ===== PRODUCTS ===== */
.tab-group { display: flex; gap: 4px; }

.tab {
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: all .2s;
}
.tab:hover { background: var(--bg); }
.tab.active { background: var(--primary); color: #fff; }

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.product-card {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  background: #fff;
  transition: box-shadow .25s, transform .25s;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.product-img {
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.product-emoji { font-size: 5rem; }

.badge {
  position: absolute;
  top: 14px; left: 14px;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
}

.badge-hot { background: #ef4444; color: #fff; }
.badge-new { background: #3b82f6; color: #fff; }
.badge-sale { background: var(--primary); color: #fff; }

.wish-btn {
  position: absolute;
  top: 12px; right: 12px;
  width: 36px; height: 36px;
  background: rgba(255,255,255,.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--text-muted);
  transition: all .2s;
}
.wish-btn:hover { color: #ef4444; transform: scale(1.1); }

.product-info {
  padding: 16px 16px 8px;
  flex: 1;
}

.product-brand {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.product-name {
  font-size: 0.95rem;
  font-weight: 600;
  margin: 6px 0;
  line-height: 1.4;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 8px;
}

.stars { color: #f59e0b; font-size: 0.85rem; }
.stars.small { font-size: 0.8rem; }
.review-count { font-size: 0.8rem; color: var(--text-muted); }

.product-price { display: flex; align-items: baseline; gap: 8px; }

.original-price {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.sale-price { font-size: 1.1rem; font-weight: 800; color: var(--text); }

.discount-rate {
  font-size: 0.85rem;
  font-weight: 700;
  color: #ef4444;
}

.add-cart {
  margin: 0 16px 16px;
  width: calc(100% - 32px);
  border-radius: var(--radius-sm);
}

.load-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 48px;
}

/* ===== BRANDS ===== */
.brands-section {
  background: var(--bg);
  padding: 48px 0;
}

.brands-title {
  text-align: center;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 28px;
  color: var(--text-muted);
}

.brands-strip {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.brand-item {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 28px;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-muted);
  transition: all .2s;
  cursor: pointer;
}

.brand-item:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
}

/* ===== NEW ARRIVALS ===== */
.new-arrivals-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.new-arrival-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all .25s;
  cursor: pointer;
}

.new-arrival-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.na-img {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.na-emoji { font-size: 4rem; }

.na-info {
  padding: 14px 16px;
  background: #fff;
}

.na-info span.product-brand { display: block; margin-bottom: 4px; }
.na-info h4 { font-size: 0.9rem; font-weight: 600; margin-bottom: 8px; }
.na-price { font-size: 1rem; font-weight: 800; color: var(--primary); }

/* ===== REVIEWS ===== */
.reviews-section { background: var(--bg); }

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 16px;
}

.review-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--border);
  transition: box-shadow .2s;
}

.review-card:hover { box-shadow: var(--shadow); }

.review-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.reviewer-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.review-top strong { font-size: 0.9rem; }

.review-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 14px;
}

.review-product {
  font-size: 0.8rem;
  color: var(--primary);
  font-weight: 600;
  background: var(--primary-light);
  padding: 4px 10px;
  border-radius: 6px;
}

/* ===== BENEFITS ===== */
.benefits-section {
  background: var(--primary);
  padding: 56px 0;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.benefit-item {
  text-align: center;
  color: #fff;
}

.benefit-icon { font-size: 2.5rem; margin-bottom: 14px; }
.benefit-item h4 { font-size: 1.1rem; font-weight: 700; margin-bottom: 6px; }
.benefit-item p { font-size: 0.875rem; opacity: 0.85; line-height: 1.6; }

/* ===== FOOTER ===== */
.footer { background: #1c1c1e; color: rgba(255,255,255,.7); }

.footer-top {
  display: flex;
  gap: 80px;
  padding: 56px 0 40px;
}

.footer-brand { flex-shrink: 0; max-width: 260px; }

.footer-brand .logo { margin-bottom: 16px; }

.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-links a {
  font-size: 1.4rem;
  transition: transform .2s;
}
.social-links a:hover { transform: scale(1.2); }

.footer-links {
  display: flex;
  gap: 48px;
  flex: 1;
  justify-content: flex-end;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 120px;
}

.footer-col h5 {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.footer-col a {
  font-size: 0.875rem;
  transition: color .2s;
}
.footer-col a:hover { color: var(--primary); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 20px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-legal {
  display: flex;
  gap: 20px;
}

.footer-legal a {
  font-size: 0.8rem;
  color: rgba(255,255,255,.6);
}
.footer-legal a:hover { color: #fff; }

.copyright { font-size: 0.78rem; color: rgba(255,255,255,.4); }
