/* =============================================
   青青寶貝企業社 — 主要樣式
   Theme: Natural Green & Cream
   ============================================= */

/* CSS Variables */
:root {
  --green-main: #4a9b6f;
  --green-dark: #2d7a52;
  --green-light: #e8f5ee;
  --green-xlight: #f0faf4;
  --sage: #87a878;
  --sage-light: #d8ead2;
  --mint: #a8d5b5;
  --cream: #fdf8f0;
  --cream-dark: #f5edd8;
  --warm-brown: #8a6a4a;
  --text-dark: #2c3e35;
  --text-mid: #5a7063;
  --text-light: #8fa896;
  --white: #ffffff;
  --border: #daeade;
  --shadow-sm: 0 2px 8px rgba(74,155,111,0.08);
  --shadow-md: 0 4px 24px rgba(74,155,111,0.12);
  --shadow-lg: 0 8px 40px rgba(74,155,111,0.18);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 100px;
  --header-h: 68px;
  --announce-h: 40px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Noto Sans TC', 'Nunito', sans-serif;
  background: var(--cream);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }

.hidden { display: none !important; }

/* ==========================================
   LOADER
   ========================================== */
.loader {
  position: fixed; inset: 0;
  background: linear-gradient(135deg, var(--green-light) 0%, var(--cream) 100%);
  display: flex; align-items: center; justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s, visibility 0.5s;
}
.loader.hide { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-inner { text-align: center; }
.loader-bear {
  font-size: 60px;
  animation: bearBounce 0.8s ease-in-out infinite alternate;
  display: block; margin-bottom: 16px;
}
@keyframes bearBounce {
  from { transform: translateY(0) rotate(-5deg); }
  to { transform: translateY(-12px) rotate(5deg); }
}
.loader-dots { display: flex; gap: 8px; justify-content: center; margin-bottom: 12px; }
.loader-dots span {
  width: 10px; height: 10px;
  background: var(--green-main);
  border-radius: 50%;
  animation: dotPulse 1.2s ease-in-out infinite;
}
.loader-dots span:nth-child(2) { animation-delay: 0.2s; }
.loader-dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes dotPulse {
  0%, 100% { opacity: 0.3; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.2); }
}
.loader-inner p { color: var(--green-dark); font-weight: 600; font-size: 0.95rem; }

/* ==========================================
   ANNOUNCEMENT BAR
   ========================================== */
.announce-bar {
  background: linear-gradient(90deg, var(--green-dark), var(--green-main));
  color: white;
  min-height: var(--announce-h);
  display: flex; align-items: center; justify-content: center;
  gap: 0;
  padding: 0 48px 0 16px;
  position: relative;
  font-size: 0.85rem;
}
.announce-inner {
  display: flex; align-items: center; gap: 12px;
  flex-wrap: wrap; justify-content: center;
}
.announce-inner a { color: #b8ffcb; text-decoration: underline; }
.announce-divider { opacity: 0.4; font-size: 1.2em; }
.announce-close {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.2); border: none; color: white;
  width: 26px; height: 26px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; cursor: pointer;
  transition: var(--transition);
}
.announce-close:hover { background: rgba(255,255,255,0.35); }

/* ==========================================
   HEADER
   ========================================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(253,248,240,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.site-header.scrolled {
  box-shadow: var(--shadow-md);
}
.header-wrap {
  max-width: 1200px; margin: 0 auto;
  height: var(--header-h);
  display: flex; align-items: center;
  padding: 0 24px; gap: 24px;
}
.site-logo {
  display: flex; align-items: center; gap: 10px;
  flex-shrink: 0; text-decoration: none;
}
.logo-icon { font-size: 28px; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-main {
  font-family: 'Nunito', sans-serif;
  font-size: 1.3rem; font-weight: 900;
  color: var(--green-dark);
  letter-spacing: -0.3px;
}
.logo-sub { font-size: 0.7rem; color: var(--text-light); font-weight: 500; }

.desk-nav {
  display: flex; align-items: center; gap: 4px;
  flex: 1; justify-content: center;
}
.nav-link {
  padding: 8px 14px;
  font-size: 0.9rem; font-weight: 600;
  color: var(--text-mid);
  border-radius: var(--radius-full);
  transition: var(--transition);
}
.nav-link:hover, .nav-link.active {
  background: var(--green-light);
  color: var(--green-dark);
}

.header-actions { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.hdr-btn {
  position: relative;
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-mid);
  font-size: 1rem;
  transition: var(--transition);
  background: transparent;
}
.hdr-btn:hover {
  background: var(--green-light);
  color: var(--green-dark);
}
.badge {
  position: absolute; top: 2px; right: 2px;
  background: var(--green-main); color: white;
  font-size: 0.6rem; font-weight: 700;
  width: 16px; height: 16px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.badge[data-count="0"], .badge:empty { display: none; }
.hamburger {
  width: 40px; height: 40px; border-radius: 50%;
  display: none; align-items: center; justify-content: center;
  color: var(--text-mid); font-size: 1rem;
  transition: var(--transition);
}
.hamburger:hover { background: var(--green-light); color: var(--green-dark); }

.search-bar-wrap {
  background: var(--cream);
  border-top: 1px solid var(--border);
  padding: 10px 24px;
}
.search-bar-inner {
  max-width: 600px; margin: 0 auto;
  display: flex; align-items: center; gap: 10px;
  background: white;
  border: 2px solid var(--green-main);
  border-radius: var(--radius-full);
  padding: 8px 16px;
}
.search-bar-inner i { color: var(--green-main); }
.search-bar-inner input {
  flex: 1; border: none; outline: none;
  font-size: 0.9rem; background: transparent;
  color: var(--text-dark);
}
.search-bar-inner button {
  color: var(--text-light); font-size: 0.9rem;
  padding: 2px 6px; border-radius: 4px;
  transition: var(--transition);
}
.search-bar-inner button:hover { color: var(--green-dark); }

/* Mobile Nav */
.mobile-nav {
  position: fixed; top: 0; left: -100%; width: 300px; height: 100%;
  background: white; z-index: 200;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-lg);
  transition: left 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-nav.open { left: 0; }
.mobile-nav-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 20px;
  border-bottom: 1px solid var(--border);
  font-weight: 700; color: var(--green-dark);
  font-size: 1rem;
}
.mobile-nav-header button {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; color: var(--text-mid);
  transition: var(--transition);
}
.mobile-nav-header button:hover { background: var(--green-light); }
.mobile-nav-links { flex: 1; display: flex; flex-direction: column; padding: 12px 0; }
.mob-nav-item {
  padding: 14px 24px;
  font-size: 1rem; font-weight: 600;
  color: var(--text-dark);
  border-left: 3px solid transparent;
  transition: var(--transition);
}
.mob-nav-item:hover {
  background: var(--green-xlight);
  border-left-color: var(--green-main);
  color: var(--green-dark);
}
.mobile-nav-footer { padding: 16px 20px; border-top: 1px solid var(--border); }
.mob-line-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: #06C755; color: white;
  padding: 12px 20px; border-radius: var(--radius-md);
  font-weight: 700; font-size: 0.9rem;
  transition: var(--transition);
}
.mob-line-btn:hover { background: #05a847; }
.nav-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 190;
  opacity: 0; visibility: hidden;
  transition: var(--transition);
}
.nav-overlay.show { opacity: 1; visibility: visible; }

/* ==========================================
   HERO SECTION
   ========================================== */
.hero-section {
  padding: 20px 0 10px;
  display: flex; flex-direction: column;
  background: linear-gradient(145deg, var(--green-xlight) 0%, var(--cream) 60%, var(--cream-dark) 100%);
  position: relative; overflow: hidden;
}
.hero-bg-pattern {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(74,155,111,0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(135,168,120,0.08) 0%, transparent 50%);
  pointer-events: none;
}
.hero-container {
  flex: 1; max-width: 1200px; margin: 0 auto;
  padding: 30px 24px;
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; gap: 40px;
}
.hero-badge {
  display: inline-flex; align-items: center;
  background: var(--green-light);
  color: var(--green-dark);
  border: 1px solid var(--sage-light);
  padding: 6px 16px; border-radius: var(--radius-full);
  font-size: 0.85rem; font-weight: 700;
  margin-bottom: 20px;
  animation: fadeInUp 0.6s ease forwards;
}
.hero-title {
  font-family: 'Nunito', 'Noto Sans TC', sans-serif;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 900;
  color: var(--text-dark);
  line-height: 1.15;
  margin-bottom: 20px;
  animation: fadeInUp 0.6s 0.1s ease both;
}
.hero-accent {
  background: linear-gradient(135deg, var(--green-main), var(--green-dark));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-desc {
  font-size: 1.05rem; color: var(--text-mid);
  max-width: 440px; line-height: 1.7;
  margin-bottom: 28px;
  animation: fadeInUp 0.6s 0.2s ease both;
}
.hero-trust {
  display: flex; gap: 20px; flex-wrap: wrap;
  margin-bottom: 32px;
  animation: fadeInUp 0.6s 0.3s ease both;
}
.trust-item {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.85rem; font-weight: 600;
  color: var(--green-dark);
}
.trust-item i { font-size: 0.9rem; }
.hero-cta-group {
  display: flex; gap: 12px; flex-wrap: wrap;
  animation: fadeInUp 0.6s 0.4s ease both;
}
.btn-main {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, var(--green-main), var(--green-dark));
  color: white; padding: 14px 28px;
  border-radius: var(--radius-full);
  font-weight: 700; font-size: 1rem;
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(74,155,111,0.3);
}
.btn-main:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(74,155,111,0.4);
}
.btn-main.full-width { width: 100%; justify-content: center; }
.btn-line {
  display: inline-flex; align-items: center; gap: 8px;
  background: #06C755; color: white;
  padding: 14px 28px; border-radius: var(--radius-full);
  font-weight: 700; font-size: 1rem;
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(6,199,85,0.25);
}
.btn-line:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(6,199,85,0.35);
  background: #05a847;
}

/* Hero Image */
.hero-right { display: flex; justify-content: center; align-items: center; }
.hero-img-frame {
  position: relative;
  width: 100%; max-width: 480px;
  animation: fadeInRight 0.8s 0.2s ease both;
}
.hero-img {
  width: 100%;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}
.hero-float-badge {
  position: absolute;
  background: white;
  border-radius: var(--radius-md);
  padding: 10px 14px;
  display: flex; align-items: center; gap: 10px;
  box-shadow: var(--shadow-md);
  font-size: 0.85rem;
  animation: float 3s ease-in-out infinite;
}
.hero-float-badge.top-right { top: 20px; right: -10px; animation-delay: 0s; }
.hero-float-badge.bottom-left { bottom: 30px; left: -10px; animation-delay: 1.5s; }
.hero-float-badge .float-emoji { font-size: 1.5rem; }
.hero-float-badge strong { display: block; font-size: 0.95rem; color: var(--green-dark); }
.hero-float-badge small { color: var(--text-light); font-size: 0.75rem; }

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

.scroll-hint {
  text-align: center; padding: 20px;
  color: var(--text-light); font-size: 0.8rem;
  display: flex; align-items: center; justify-content: center; gap: 6px;
}
.bounce {
  animation: bounce 1.4s ease-in-out infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* ==========================================
   TRUST BAR
   ========================================== */
.trust-bar-section {
  background: linear-gradient(135deg, var(--green-dark), var(--green-main));
  padding: 24px;
}
.trust-bar-inner {
  max-width: 900px; margin: 0 auto;
  display: flex; align-items: center; justify-content: center;
  gap: 16px; flex-wrap: wrap;
}
.trust-stat {
  text-align: center; color: white;
  padding: 8px 24px;
}
.trust-stat strong { display: block; font-size: 1.3rem; font-weight: 900; }
.trust-stat span { font-size: 0.8rem; opacity: 0.85; }
.trust-divider {
  width: 1px; height: 40px;
  background: rgba(255,255,255,0.25);
}

/* ==========================================
   SECTIONS COMMON
   ========================================== */
.section-container {
  max-width: 1200px; margin: 0 auto;
  padding: 40px 24px;
}
.section-header {
  text-align: center; margin-bottom: 28px;
}
.section-tag {
  display: inline-block;
  background: var(--green-light);
  color: var(--green-dark);
  border: 1px solid var(--sage-light);
  padding: 5px 16px; border-radius: var(--radius-full);
  font-size: 0.8rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.5px;
  margin-bottom: 12px;
}
.section-tag.white {
  background: rgba(255,255,255,0.2);
  color: white; border-color: rgba(255,255,255,0.3);
}
.section-header h2 {
  font-family: 'Nunito', 'Noto Sans TC', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 900; color: var(--text-dark);
  margin-bottom: 12px;
}
.section-header p { color: var(--text-mid); font-size: 1rem; }

/* ==========================================
   FEATURES SECTION
   ========================================== */
.features-section { background: white; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.feature-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  text-align: center;
  transition: var(--transition);
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--mint);
}
.feature-icon-wrap {
  width: 64px; height: 64px;
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto 20px;
}
.feature-icon-wrap.green { background: var(--green-light); color: var(--green-main); }
.feature-icon-wrap.sage { background: var(--sage-light); color: var(--sage); }
.feature-icon-wrap.mint { background: rgba(168,213,181,0.25); color: var(--green-main); }
.feature-icon-wrap.cream { background: var(--cream-dark); color: var(--warm-brown); }
.feature-card h3 {
  font-size: 1.15rem; font-weight: 800;
  color: var(--text-dark); margin-bottom: 10px;
}
.feature-card p { color: var(--text-mid); font-size: 0.9rem; line-height: 1.6; }

/* ==========================================
   CATEGORIES SECTION
   ========================================== */
.categories-section { background: var(--green-xlight); }
.categories-section .section-container { padding-top: 30px; padding-bottom: 20px; }
.products-section .section-container { padding-top: 30px; }
.cats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
}
.cat-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}
.cat-card:hover, .cat-card.active {
  background: var(--green-light);
  border-color: var(--green-main);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.cat-emoji { font-size: 2.4rem; margin-bottom: 10px; display: block; }
.cat-name { font-size: 0.9rem; font-weight: 700; color: var(--text-dark); }
.cat-count { font-size: 0.75rem; color: var(--text-light); margin-top: 4px; }

/* ==========================================
   PRODUCTS SECTION
   ========================================== */
.products-section { background: white; }
.filter-bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; margin-bottom: 20px; flex-wrap: wrap;
}
.filter-tabs {
  display: flex; gap: 8px; flex-wrap: wrap;
}
.filter-tab {
  padding: 8px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 0.85rem; font-weight: 600;
  color: var(--text-mid);
  transition: var(--transition);
  background: var(--cream);
}
.filter-tab:hover {
  border-color: var(--green-main);
  color: var(--green-dark);
}
.filter-tab.active {
  background: var(--green-main);
  border-color: var(--green-main);
  color: white;
}
.sort-select {
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 0.85rem; font-weight: 600;
  color: var(--text-mid);
  background: var(--cream);
  outline: none; cursor: pointer;
  transition: var(--transition);
}
.sort-select:focus { border-color: var(--green-main); }
.results-bar {
  margin-bottom: 28px;
  font-size: 0.85rem; color: var(--text-light);
  font-weight: 600;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}
.product-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--mint);
}
.card-img-wrap {
  position: relative;
  padding-top: 75%;
  overflow: hidden;
  background: var(--green-xlight);
}
.card-img-wrap img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.product-card:hover .card-img-wrap img { transform: scale(1.05); }
.card-status-badge {
  position: absolute; top: 12px; left: 12px;
  padding: 4px 10px; border-radius: var(--radius-full);
  font-size: 0.72rem; font-weight: 700;
}
.card-status-badge.available { background: var(--green-light); color: var(--green-dark); }
.card-status-badge.limited { background: #fff3cd; color: #856404; }
.card-status-badge.sold_out { background: #f8d7da; color: #721c24; }
.card-fav-btn {
  position: absolute; top: 10px; right: 10px;
  width: 32px; height: 32px;
  background: white; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm);
  color: var(--text-light);
  font-size: 0.9rem;
  transition: var(--transition);
}
.card-fav-btn:hover, .card-fav-btn.active {
  color: #e74c7c;
  background: #fff0f4;
}
.card-onepage-badge {
  position: absolute; bottom: 10px; left: 10px;
  background: rgba(74, 155, 111, 0.9); color: white;
  padding: 3px 8px; border-radius: var(--radius-full);
  font-size: 0.7rem; font-weight: 700;
  backdrop-filter: blur(4px);
  display: flex; align-items: center; gap: 4px;
}
.card-img-placeholder {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem; background: var(--green-xlight);
}
.announce-card { border-left: 4px solid var(--green-main); }
.card-desc-preview { font-size: 0.8rem; color: var(--text-mid); line-height: 1.5; margin-top: 4px; }
.card-body { padding: 16px; }
.card-cat { font-size: 0.72rem; color: var(--text-light); font-weight: 600; margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.3px; }
.card-name {
  font-size: 0.95rem; font-weight: 700;
  color: var(--text-dark); margin-bottom: 8px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; line-height: 1.4;
}
.card-features {
  display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 10px;
}
.card-feat {
  font-size: 0.7rem; padding: 2px 8px;
  background: var(--green-xlight); color: var(--green-dark);
  border-radius: var(--radius-full); font-weight: 600;
}
.card-price-row {
  display: flex; align-items: center; gap: 8px;
  justify-content: space-between;
}
.card-price {
  font-size: 1.1rem; font-weight: 900;
  color: var(--green-dark);
}
.card-price-ask { font-size: 0.85rem; color: var(--text-mid); font-weight: 600; }
.card-orig-price {
  font-size: 0.8rem; color: var(--text-light);
  text-decoration: line-through;
}
.card-action-btn {
  width: 32px; height: 32px;
  background: var(--green-light); color: var(--green-dark);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem;
  transition: var(--transition);
}
.card-action-btn:hover {
  background: var(--green-main); color: white;
}

/* ==========================================
   LINE CTA SECTION
   ========================================== */
.line-cta-section {
  background: linear-gradient(135deg, var(--green-dark), #1a5e3a);
  overflow: hidden;
}
.line-cta-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center;
}
.line-cta-img {
  height: 500px; overflow: hidden;
}
.line-cta-img img {
  width: 100%; height: 100%;
  object-fit: cover; opacity: 0.7;
}
.line-cta-content {
  padding: 60px 50px;
  color: white;
}
.line-cta-content h2 {
  font-family: 'Nunito', 'Noto Sans TC', sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 900;
  margin: 12px 0 16px;
}
.line-cta-content > p {
  opacity: 0.85; font-size: 1rem;
  line-height: 1.7; margin-bottom: 32px;
}
.contact-cards { display: flex; flex-direction: column; gap: 12px; }
.contact-card {
  display: flex; align-items: center; gap: 14px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  color: white;
  transition: var(--transition);
}
.contact-card:hover {
  background: rgba(255,255,255,0.22);
  transform: translateX(4px);
}
.contact-card i { font-size: 1.4rem; width: 32px; text-align: center; }
.contact-card.line-card i { color: #b8ffcb; }
.contact-card.fb-card i { color: #a8c8ff; }
.contact-card.ig-card i { color: #ffb8d4; }
.contact-card strong { display: block; font-size: 0.9rem; }
.contact-card span { font-size: 0.8rem; opacity: 0.8; }

/* ==========================================
   FOOTER
   ========================================== */
.site-footer {
  background: #1a2e22;
  color: rgba(255,255,255,0.85);
}
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 60px 24px 40px;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 48px; align-items: start;
}
.footer-logo {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 12px;
}
.footer-logo .logo-icon { font-size: 24px; }
.footer-brand-name { font-size: 1.2rem; font-weight: 800; color: white; }
.footer-desc {
  font-size: 0.88rem; line-height: 1.7;
  margin-bottom: 20px;
  max-width: 320px;
}
.footer-sns { display: flex; gap: 10px; }
.sns-btn {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.8);
  transition: var(--transition);
}
.sns-btn:hover {
  background: var(--green-main); color: white;
  transform: translateY(-2px);
}
.footer-info-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 20px 32px;
}
.footer-info-item { display: flex; flex-direction: column; gap: 4px; }
.info-label {
  font-size: 0.72rem; text-transform: uppercase;
  letter-spacing: 0.5px; color: var(--green-main);
  font-weight: 700;
}
.info-val { font-size: 0.88rem; color: rgba(255,255,255,0.8); }
.info-val a { color: #b8ffcb; text-decoration: underline; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 24px;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  display: flex; flex-direction: column; gap: 4px;
}

/* ==========================================
   PRODUCT DETAIL MODAL
   ========================================== */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 300;
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
  backdrop-filter: blur(4px);
}
.modal-overlay.hidden { display: none; }
.product-modal {
  background: white;
  border-radius: var(--radius-xl);
  width: 100%; max-width: 900px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}
.modal-close-btn {
  position: absolute; top: 16px; right: 16px;
  width: 36px; height: 36px;
  background: var(--cream);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: var(--text-mid);
  z-index: 10;
  transition: var(--transition);
}
.modal-close-btn:hover { background: var(--green-light); color: var(--green-dark); }
.modal-body {
  display: grid; grid-template-columns: 1fr 1fr;
  min-height: 500px;
}
.modal-gallery {
  background: var(--green-xlight);
  border-radius: var(--radius-xl) 0 0 var(--radius-xl);
  overflow: hidden;
  padding: 24px;
  display: flex; flex-direction: column; gap: 12px;
}
.modal-main-img-wrap {
  position: relative;
  flex: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: white;
}
.modal-main-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover; min-height: 300px;
}
.modal-img-actions {
  position: absolute; top: 10px; right: 10px;
  display: flex; flex-direction: column; gap: 6px;
}
.modal-img-btn {
  width: 36px; height: 36px;
  background: white; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm);
  font-size: 0.9rem; color: var(--text-mid);
  transition: var(--transition);
}
.modal-img-btn:hover { color: var(--green-dark); background: var(--green-light); }
.modal-img-btn.active { color: #e74c7c; background: #fff0f4; }
.modal-thumbnails {
  display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px;
}
.modal-thumb {
  width: 56px; height: 56px;
  border-radius: var(--radius-sm);
  overflow: hidden; flex-shrink: 0;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
}
.modal-thumb:hover, .modal-thumb.active { border-color: var(--green-main); }
.modal-thumb img { width: 100%; height: 100%; object-fit: cover; }

.modal-info {
  padding: 32px 28px;
  overflow-y: auto;
  display: flex; flex-direction: column; gap: 16px;
}
.modal-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.modal-cat-tag, .modal-status-tag {
  padding: 4px 12px; border-radius: var(--radius-full);
  font-size: 0.75rem; font-weight: 700;
}
.modal-cat-tag { background: var(--green-light); color: var(--green-dark); }
.modal-status-tag.available { background: var(--green-light); color: var(--green-dark); }
.modal-status-tag.limited { background: #fff3cd; color: #856404; }
.modal-status-tag.sold_out { background: #f8d7da; color: #721c24; }
.modal-product-title {
  font-size: 1.5rem; font-weight: 800;
  color: var(--text-dark); line-height: 1.3;
}

.modal-countdown {
  display: flex; align-items: center; gap: 8px;
  background: #fff3cd;
  border-radius: var(--radius-md);
  padding: 12px 16px;
  font-size: 0.85rem; font-weight: 600;
  color: #856404;
  flex-wrap: wrap;
}
.countdown-digits { display: flex; align-items: center; gap: 4px; }
.countdown-digits span {
  background: #856404; color: white;
  padding: 2px 8px; border-radius: 6px;
  font-weight: 800; font-size: 1rem;
}
.countdown-digits small { font-size: 0.75rem; }

.modal-pricing {
  background: var(--green-xlight);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex; flex-direction: column; gap: 6px;
}
.price-main-row, .price-original-row {
  display: flex; align-items: center; justify-content: space-between;
}
.price-label, .price-orig-label { font-size: 0.8rem; color: var(--text-mid); font-weight: 600; }
.price-value { font-size: 1.5rem; font-weight: 900; color: var(--green-dark); }
.price-orig-val { font-size: 0.9rem; color: var(--text-light); text-decoration: line-through; }

.modal-sec-title {
  font-size: 0.9rem; font-weight: 800;
  color: var(--text-dark); margin-bottom: 8px;
  display: flex; align-items: center; gap: 6px;
}
.modal-sec-title i { color: var(--green-main); }
.modal-desc-text {
  font-size: 0.88rem; color: var(--text-mid); line-height: 1.7;
}
.modal-features-list { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.modal-features-list li {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: 0.88rem; color: var(--text-mid);
}
.modal-features-list li::before {
  content: "✓";
  color: var(--green-main);
  font-weight: 800; flex-shrink: 0;
}

/* Variant Selector */
.modal-variant-wrap .variant-group { margin-bottom: 12px; }
.variant-group-label {
  font-size: 0.8rem; font-weight: 700;
  color: var(--text-mid); margin-bottom: 8px;
}
.variant-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.variant-chip {
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 0.82rem; font-weight: 600;
  color: var(--text-mid);
  background: var(--cream);
  cursor: pointer; transition: var(--transition);
}
.variant-chip:hover, .variant-chip.active {
  border-color: var(--green-main);
  background: var(--green-light);
  color: var(--green-dark);
}

/* Quantity */
.modal-qty-row {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
}
.qty-label { font-size: 0.85rem; font-weight: 700; color: var(--text-mid); }
.qty-control {
  display: flex; align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  overflow: hidden;
}
.qty-btn {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; color: var(--text-mid);
  transition: var(--transition);
}
.qty-btn:hover { background: var(--green-light); color: var(--green-dark); }
.qty-display {
  min-width: 36px; text-align: center;
  font-weight: 800; font-size: 0.95rem;
  color: var(--text-dark);
}
.qty-limit-msg { font-size: 0.8rem; color: #dc3545; }

/* Modal Actions */
.modal-actions { display: flex; flex-direction: column; gap: 8px; }
.btn-onepage {
  display: block; text-align: center;
  background: linear-gradient(135deg, #f39c12, #e67e22);
  color: white; padding: 12px 20px;
  border-radius: var(--radius-md);
  font-weight: 700; font-size: 0.9rem;
  transition: var(--transition);
}
.btn-onepage:hover { opacity: 0.9; transform: translateY(-1px); }
.modal-action-row { display: flex; gap: 8px; }
.btn-inquire {
  flex: 1; padding: 13px;
  background: #06C755; color: white;
  border-radius: var(--radius-md);
  font-weight: 700; font-size: 0.9rem;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  transition: var(--transition);
}
.btn-inquire:hover { background: #05a847; transform: translateY(-1px); }
.btn-cart {
  flex: 1; padding: 13px;
  background: linear-gradient(135deg, var(--green-main), var(--green-dark));
  color: white; border-radius: var(--radius-md);
  font-weight: 700; font-size: 0.9rem;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  transition: var(--transition);
}
.btn-cart:hover { opacity: 0.9; transform: translateY(-1px); }
.modal-note { font-size: 0.75rem; color: var(--text-light); }

/* ==========================================
   CART / FAV DRAWER
   ========================================== */
.side-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 250;
}
.cart-drawer {
  position: fixed; top: 0; right: -420px; width: 380px; height: 100%;
  background: white;
  z-index: 260;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-lg);
  transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.cart-drawer.open { right: 0; }
.cart-drawer-header {
  padding: 20px;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
}
.cart-title-row {
  display: flex; align-items: center; gap: 10px;
  font-size: 1.1rem; font-weight: 800;
  color: var(--text-dark);
}
.cart-title-row i { color: var(--green-main); }
.cart-close-btn {
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-mid);
  transition: var(--transition);
}
.cart-close-btn:hover { background: var(--green-light); color: var(--green-dark); }
.cart-items-list { flex: 1; overflow-y: auto; padding: 16px; }
.cart-empty-msg {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; height: 200px;
  gap: 12px; color: var(--text-light);
}
.cart-empty-msg .empty-emoji { font-size: 3rem; }
.cart-empty-msg span { font-size: 0.9rem; }
.cart-item {
  display: flex; gap: 12px; padding: 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 10px;
  background: var(--cream);
}
.cart-item-img {
  width: 64px; height: 64px;
  border-radius: var(--radius-sm);
  object-fit: cover; flex-shrink: 0;
}
.cart-item-info { flex: 1; }
.cart-item-name { font-size: 0.88rem; font-weight: 700; color: var(--text-dark); margin-bottom: 4px; }
.cart-item-variant { font-size: 0.75rem; color: var(--text-light); margin-bottom: 6px; }
.cart-item-bottom { display: flex; align-items: center; justify-content: space-between; }
.cart-item-price { font-size: 0.95rem; font-weight: 800; color: var(--green-dark); }
.cart-item-qty {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.8rem;
}
.cart-item-qty button {
  width: 24px; height: 24px;
  background: white; border: 1px solid var(--border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; color: var(--text-mid);
  transition: var(--transition);
}
.cart-item-qty button:hover { border-color: var(--green-main); color: var(--green-dark); }
.cart-item-remove {
  width: 24px; height: 24px;
  color: var(--text-light); font-size: 0.75rem;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.cart-item-remove:hover { color: #dc3545; }
.cart-footer {
  padding: 16px;
  border-top: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 10px;
}
.cart-total-row {
  display: flex; justify-content: space-between; align-items: center;
  font-weight: 700;
}
.cart-total-price { font-size: 1.2rem; color: var(--green-dark); font-weight: 900; }
.btn-checkout {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  background: linear-gradient(135deg, var(--green-main), var(--green-dark));
  color: white; padding: 14px;
  border-radius: var(--radius-md);
  font-weight: 700; font-size: 0.95rem;
  transition: var(--transition);
}
.btn-checkout:hover { opacity: 0.9; transform: translateY(-1px); }
.cart-hint { font-size: 0.75rem; color: var(--text-light); text-align: center; }

/* ==========================================
   TOAST
   ========================================== */
.toast-notification {
  position: fixed; bottom: 80px; left: 50%; transform: translateX(-50%);
  background: var(--text-dark);
  color: white;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-size: 0.88rem; font-weight: 600;
  z-index: 400;
  transition: opacity 0.3s, transform 0.3s;
  white-space: nowrap;
}
.toast-notification.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ==========================================
   BACK TO TOP
   ========================================== */
.back-to-top {
  position: fixed; bottom: 24px; right: 24px;
  width: 44px; height: 44px;
  background: var(--green-main); color: white;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  box-shadow: var(--shadow-md);
  z-index: 200;
  transition: var(--transition);
}
.back-to-top:hover { background: var(--green-dark); transform: translateY(-2px); }
.back-to-top.hidden { opacity: 0; pointer-events: none; }

/* ==========================================
   ADMIN MODALS
   ========================================== */
.admin-modal {
  background: white;
  border-radius: var(--radius-xl);
  width: 100%; max-width: 480px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
  max-height: 90vh;
  display: flex; flex-direction: column;
  overflow: hidden;
}
.admin-modal.wide { max-width: 900px; }
.admin-modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
}
.admin-modal-header h3 { font-size: 1.1rem; font-weight: 800; color: var(--text-dark); }
.admin-modal-header button {
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-mid); transition: var(--transition);
}
.admin-modal-header button:hover { background: var(--green-light); color: var(--green-dark); }
.admin-form-body { flex: 1; overflow-y: auto; }
.admin-form { padding: 20px 24px; display: flex; flex-direction: column; gap: 14px; }
.admin-form.two-col { flex-direction: row; gap: 24px; }
.form-col { flex: 1; display: flex; flex-direction: column; gap: 14px; }
.form-group { display: flex; flex-direction: column; gap: 5px; }
.form-group label { font-size: 0.8rem; font-weight: 700; color: var(--text-mid); }
.form-group input, .form-group select {
  padding: 9px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  outline: none; transition: var(--transition);
  background: var(--cream);
}
.form-group input:focus, .form-group select:focus {
  border-color: var(--green-main);
  background: white;
}
.form-textarea {
  padding: 9px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  outline: none; transition: var(--transition);
  background: var(--cream);
  min-height: 120px; resize: vertical;
}
.form-textarea.short { min-height: 80px; }
.form-textarea:focus { border-color: var(--green-main); background: white; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.checkbox-group { display: flex; flex-direction: column; gap: 8px; }
.check-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.85rem; color: var(--text-mid);
  cursor: pointer;
}
.admin-modal-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--border);
  display: flex; align-items: center; gap: 10px;
}
.spacer { flex: 1; }
.btn-danger {
  padding: 10px 18px; border-radius: var(--radius-md);
  background: #dc3545; color: white;
  font-weight: 700; font-size: 0.88rem;
  transition: var(--transition);
}
.btn-danger:hover { background: #b02a37; }
.btn-ghost {
  padding: 10px 18px; border-radius: var(--radius-md);
  border: 1px solid var(--border);
  color: var(--text-mid);
  font-weight: 700; font-size: 0.88rem;
  transition: var(--transition);
}
.btn-ghost:hover { border-color: var(--green-main); color: var(--green-dark); }

/* ==========================================
   ANIMATIONS
   ========================================== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}
.animate-in {
  animation: fadeInUp 0.6s ease both;
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 1024px) {
  .desk-nav { display: none; }
  .hamburger { display: flex; }
  .hero-container { grid-template-columns: 1fr; gap: 40px; }
  .hero-right { display: none; }
  .line-cta-inner { grid-template-columns: 1fr; }
  .line-cta-img { height: 280px; }
  .footer-inner { grid-template-columns: 1fr; }
  .modal-body { grid-template-columns: 1fr; }
  .modal-gallery { border-radius: var(--radius-xl) var(--radius-xl) 0 0; }
  .admin-form.two-col { flex-direction: column; }
}

@media (max-width: 640px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .cats-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .cat-card { padding: 18px 12px; }
  .hero-cta-group { flex-direction: column; }
  .btn-main, .btn-line { justify-content: center; }
  .cart-drawer { width: 100%; right: -100%; }
  .trust-divider { display: none; }
  .modal-action-row { flex-direction: column; }
  .footer-info-grid { grid-template-columns: 1fr; }
}

@media (max-width: 400px) {
  .products-grid { grid-template-columns: 1fr; }
  .cats-grid { grid-template-columns: repeat(2, 1fr); }
}
