/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #1a1a1a;
  background: #ffffff;
  line-height: 1.6;
  font-size: 16px;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ===== BRAND COLORS (로고 기반) ===== */
:root {
  /* 로고 4색 */
  --brand-red:    #D32F2F;
  --brand-yellow: #F9A825;
  --brand-blue:   #1565C0;
  --brand-green:  #2E7D32;

  /* 밝은 톤 */
  --brand-red-light:    #FFEBEE;
  --brand-yellow-light: #FFFDE7;
  --brand-blue-light:   #E3F2FD;
  --brand-green-light:  #E8F5E9;

  /* 시스템 컬러 */
  --primary:      #111827;
  --primary-soft: #1f2937;
  --accent:       #1565C0;       /* 메인 CTA = 로고 블루 */
  --accent-hover: #0d47a1;
  --accent-light: #E3F2FD;

  --text:         #374151;
  --text-light:   #6b7280;
  --text-muted:   #9ca3af;

  --bg:           #ffffff;
  --bg-light:     #f9fafb;
  --bg-card:      #ffffff;
  --border:       #e5e7eb;
  --border-light: #f3f4f6;

  --success: #2E7D32;
  --warning: #F9A825;
  --danger:  #D32F2F;

  --radius:    12px;
  --radius-sm:  8px;
  --shadow:     0 4px 20px rgba(0,0,0,0.08);
  --shadow-hover: 0 8px 32px rgba(0,0,0,0.14);
  --transition: 0.25s ease;
}

/* ===== LAYOUT ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 { font-weight: 800; line-height: 1.2; color: var(--primary); }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); }
h4 { font-size: 1.1rem; }
p { color: var(--text); }

/* ===== BRAND ACCENT BAR (상단 로고 컬러 바) ===== */
.brand-bar {
  height: 4px;
  background: linear-gradient(to right,
    var(--brand-red)    0%   25%,
    var(--brand-yellow) 25%  50%,
    var(--brand-blue)   50%  75%,
    var(--brand-green)  75% 100%
  );
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 28px; border-radius: var(--radius-sm);
  font-size: 0.95rem; font-weight: 700;
  transition: all var(--transition); cursor: pointer;
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--brand-blue); color: #fff; border-color: var(--brand-blue);
}
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(21,101,192,0.35); }
.btn-outline {
  background: transparent; color: var(--brand-blue); border-color: var(--brand-blue);
}
.btn-outline:hover { background: var(--brand-blue); color: #fff; transform: translateY(-2px); }
.btn-dark {
  background: var(--primary); color: #fff; border-color: var(--primary);
}
.btn-dark:hover { background: var(--primary-soft); transform: translateY(-2px); }
.btn-red { background: var(--brand-red); color: #fff; border-color: var(--brand-red); }
.btn-red:hover { background: #b71c1c; transform: translateY(-2px); }
.btn-sm { padding: 8px 18px; font-size: 0.85rem; }
.btn-lg { padding: 16px 40px; font-size: 1.05rem; }
.btn-full { width: 100%; }
.btn-danger { background: var(--danger); color: #fff; border-color: var(--danger); }
.btn-ghost { background: transparent; color: var(--text-light); border-color: var(--border); }
.btn-ghost:hover { background: var(--bg-light); color: var(--primary); }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,0.97); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  transition: box-shadow var(--transition);
}
.navbar.scrolled { box-shadow: var(--shadow); }
.navbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.navbar-logo img {
  height: 36px; width: auto; display: block;
}
.navbar-nav {
  display: flex; align-items: center; gap: 4px;
}
.navbar-nav a {
  padding: 8px 14px; border-radius: var(--radius-sm);
  font-size: 0.92rem; font-weight: 600; color: var(--text);
  transition: all var(--transition);
}
.navbar-nav a:hover  { color: var(--brand-blue); background: var(--brand-blue-light); }
.navbar-nav a.active { color: var(--brand-blue); background: var(--brand-blue-light); }

/* 개인정보처리방침 서브메뉴 바 */
.privacy-subbar {
  display: none; padding: 10px 0;
  border-top: 1px solid var(--border-light);
  background: #fff;
}
.privacy-subbar.open { display: flex; gap: 8px; flex-wrap: wrap; }
.privacy-subbar a {
  padding: 8px 20px; border-radius: 8px; font-size: 0.85rem; font-weight: 700;
  color: var(--text); background: #fff; border: 1.5px solid var(--border);
  transition: all 0.25s; box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  letter-spacing: 0.2px;
}
.privacy-subbar a:hover {
  color: var(--brand-blue); border-color: var(--brand-blue);
  box-shadow: 0 2px 8px rgba(59,130,246,0.12); transform: translateY(-1px);
}
.privacy-subbar a.active {
  color: var(--brand-blue); background: #fff; border-color: var(--brand-blue);
  box-shadow: 0 2px 8px rgba(59,130,246,0.15);
}

.privacy-subbar-mobile {
  display: none; padding: 4px 0 8px 16px;
}
.privacy-subbar-mobile.open { display: block; }
.privacy-subbar-mobile a {
  display: block; padding: 8px 12px; font-size: 0.88rem; font-weight: 600;
  color: var(--text-muted);
}
.privacy-subbar-mobile a:hover { color: var(--brand-blue); }
.navbar-cart {
  position: relative; display: flex; align-items: center; gap: 6px;
  padding: 8px 16px; border-radius: var(--radius-sm);
  font-size: 0.92rem; font-weight: 600; color: var(--text);
  transition: all var(--transition);
  background: var(--brand-yellow-light); border: 1.5px solid #fde68a;
}
.navbar-cart:hover { background: var(--brand-yellow); color: var(--primary); }
.cart-badge {
  position: absolute; top: 2px; right: 4px;
  background: var(--brand-red); color: #fff;
  font-size: 0.65rem; font-weight: 700;
  width: 18px; height: 18px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.navbar-menu-btn {
  display: none; flex-direction: column; gap: 5px; padding: 8px;
}
.navbar-menu-btn span {
  display: block; width: 22px; height: 2px;
  background: var(--primary); transition: all var(--transition);
  border-radius: 2px;
}
.mobile-nav {
  display: none; flex-direction: column; padding: 16px 0;
  border-top: 1px solid var(--border);
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  padding: 12px 4px; font-size: 1rem; font-weight: 600; color: var(--text);
  border-bottom: 1px solid var(--border-light);
  transition: color var(--transition);
}
.mobile-nav a:hover { color: var(--brand-blue); }

/* ===== HERO ===== */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  background: #111827;
  color: #fff; position: relative; overflow: hidden; padding-top: 68px;
}
/* 4색 원형 배경 장식 */
.hero::before {
  content: '';
  position: absolute; top: -120px; right: -80px;
  width: 480px; height: 480px; border-radius: 50%;
  background: radial-gradient(circle, rgba(249,168,37,0.2) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute; bottom: -100px; left: -60px;
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(21,101,192,0.25) 0%, transparent 70%);
  pointer-events: none;
}
/* 우측 상단 빨강 장식 */
.hero-deco-red {
  position: absolute; top: 80px; right: 60px;
  width: 200px; height: 200px; border-radius: 50%;
  background: radial-gradient(circle, rgba(211,47,47,0.18) 0%, transparent 70%);
}
/* 우측 하단 초록 장식 */
.hero-deco-green {
  position: absolute; bottom: 60px; right: 200px;
  width: 160px; height: 160px; border-radius: 50%;
  background: radial-gradient(circle, rgba(46,125,50,0.2) 0%, transparent 70%);
}
.hero-inner { position: relative; z-index: 1; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15);
  color: #e2e8f0; padding: 8px 16px; border-radius: 100px;
  font-size: 0.85rem; font-weight: 600; margin-bottom: 28px;
}
.hero-badge-dot {
  display: flex; gap: 4px;
}
.hero-badge-dot span {
  width: 8px; height: 8px; border-radius: 50%;
}
.hero h1 { color: #fff; margin-bottom: 20px; line-height: 1.15; }
.hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--brand-yellow), var(--brand-red));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero p { color: #9ca3af; font-size: 1.1rem; max-width: 520px; margin-bottom: 40px; line-height: 1.8; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-logo {
  position: absolute; right: 80px; top: 50%; transform: translateY(-50%);
  z-index: 1; opacity: 0.12;
}
.hero-logo img { width: 360px; height: 360px; }
.hero-scroll {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  color: rgba(255,255,255,0.3); font-size: 0.78rem;
  animation: bounce 2s infinite;
}
.hero-scroll::after { content: '↓'; font-size: 1.2rem; }
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

/* ===== SECTION HEADER ===== */
.section-header { text-align: center; margin-bottom: 56px; }
.section-header h2 { margin-bottom: 12px; }
.section-header p { color: var(--text-light); font-size: 1.05rem; max-width: 560px; margin: 0 auto; }
.section-tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.82rem; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 14px;
  color: var(--brand-blue);
}
.section-tag::before {
  content: ''; display: block;
  width: 20px; height: 3px; border-radius: 2px;
  background: linear-gradient(to right, var(--brand-red), var(--brand-yellow));
}

/* ===== CARDS ===== */
.card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  transition: all var(--transition);
}
.card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); }
.card-img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.card-body { padding: 24px; }
.card-tag {
  display: inline-block;
  font-size: 0.76rem; font-weight: 700; padding: 4px 10px;
  border-radius: 100px; margin-bottom: 12px;
}
.card-tag-app    { background: var(--brand-blue-light);   color: var(--brand-blue); }
.card-tag-news   { background: var(--brand-red-light);    color: var(--brand-red); }
.card-tag-general{ background: var(--brand-green-light);  color: var(--brand-green); }
.card-title { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; color: var(--primary); }
.card-text { font-size: 0.9rem; color: var(--text-light); margin-bottom: 16px; }
.card-meta { display: flex; align-items: center; gap: 16px; font-size: 0.82rem; color: var(--text-muted); }

/* ===== GRID ===== */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }

/* ===== FEATURE ITEMS ===== */
.feature-item {
  display: flex; flex-direction: column; align-items: flex-start; gap: 16px;
  padding: 32px; background: var(--bg);
  border-radius: var(--radius); border: 2px solid var(--border);
  transition: all var(--transition);
}
.feature-item:hover { box-shadow: var(--shadow-hover); border-color: transparent; }
.feature-item:nth-child(1):hover { border-color: var(--brand-blue); }
.feature-item:nth-child(2):hover { border-color: var(--brand-red); }
.feature-item:nth-child(3):hover { border-color: var(--brand-green); }
.feature-icon {
  width: 56px; height: 56px; border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center; font-size: 1.4rem;
}
.feature-icon.blue   { background: var(--brand-blue-light); }
.feature-icon.red    { background: var(--brand-red-light); }
.feature-icon.green  { background: var(--brand-green-light); }
.feature-icon.yellow { background: var(--brand-yellow-light); }
.feature-title { font-size: 1.05rem; font-weight: 700; color: var(--primary); }
.feature-desc { font-size: 0.9rem; color: var(--text-light); line-height: 1.7; }

/* ===== PRODUCT CARD ===== */
.product-card {
  background: var(--bg-card); border: 1.5px solid var(--border);
  border-radius: var(--radius); overflow: hidden; transition: all var(--transition);
}
.product-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); border-color: var(--brand-blue); }
.product-img {
  width: 100%; aspect-ratio: 1/1; object-fit: cover; background: var(--bg-light);
}
.product-img-placeholder {
  width: 100%; aspect-ratio: 1/1;
  background: linear-gradient(135deg, var(--brand-blue-light), var(--brand-green-light));
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); font-size: 2.5rem;
}
.product-body { padding: 18px 20px; }
.product-name { font-size: 0.98rem; font-weight: 700; margin-bottom: 8px; color: var(--primary); }
.product-price { font-size: 1.1rem; font-weight: 800; color: var(--brand-blue); }
.product-price-old {
  font-size: 0.82rem; color: var(--text-muted);
  text-decoration: line-through; margin-right: 6px;
}
.product-sale-badge {
  display: inline-block;
  background: var(--brand-red-light); color: var(--brand-red);
  font-size: 0.72rem; font-weight: 700; padding: 2px 8px;
  border-radius: 100px; margin-left: 4px;
}

/* ===== PAGE HERO ===== */
.page-hero {
  background: #111827;
  color: #fff; padding: 100px 0 60px; text-align: center;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg,
    rgba(211,47,47,0.12) 0%,
    rgba(249,168,37,0.08) 30%,
    rgba(21,101,192,0.12) 70%,
    rgba(46,125,50,0.1) 100%
  );
}
.page-hero h1, .page-hero p { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; margin-bottom: 12px; }
.page-hero p { color: #9ca3af; font-size: 1.05rem; }

/* ===== BREADCRUMB ===== */
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.85rem; color: var(--text-muted); margin-bottom: 32px;
}
.breadcrumb a { color: var(--brand-blue); }
.breadcrumb span::before { content: '/'; margin-right: 8px; }

/* ===== BADGE ===== */
.badge {
  display: inline-block; padding: 4px 12px; border-radius: 100px;
  font-size: 0.76rem; font-weight: 700;
}
.badge-blue   { background: var(--brand-blue-light);   color: var(--brand-blue); }
.badge-green  { background: var(--brand-green-light);  color: var(--brand-green); }
.badge-yellow { background: var(--brand-yellow-light); color: #b45309; }
.badge-red    { background: var(--brand-red-light);    color: var(--brand-red); }

/* ===== POST LIST ===== */
.post-list { display: flex; flex-direction: column; gap: 20px; }
.post-item {
  display: flex; gap: 24px; padding: 28px;
  background: var(--bg-card); border: 1.5px solid var(--border);
  border-radius: var(--radius); transition: all var(--transition);
}
.post-item:hover { box-shadow: var(--shadow); border-left: 4px solid var(--brand-blue); padding-left: 25px; }
.post-item-img {
  width: 160px; flex-shrink: 0; aspect-ratio: 16/9;
  object-fit: cover; border-radius: var(--radius-sm); background: var(--bg-light);
}
.post-item-body { flex: 1; }
.post-item-title {
  font-size: 1.05rem; font-weight: 700; color: var(--primary);
  margin-bottom: 8px; transition: color var(--transition);
}
.post-item:hover .post-item-title { color: var(--brand-blue); }
.post-item-excerpt { font-size: 0.9rem; color: var(--text-light); margin-bottom: 12px; }

/* ===== FORMS ===== */
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 0.9rem; font-weight: 700; color: var(--primary); margin-bottom: 8px; }
.form-control {
  width: 100%; padding: 12px 16px; border: 1.5px solid var(--border);
  border-radius: var(--radius-sm); font-size: 0.95rem; color: var(--primary);
  background: var(--bg); transition: border-color var(--transition); outline: none;
}
.form-control:focus { border-color: var(--brand-blue); box-shadow: 0 0 0 3px rgba(21,101,192,0.1); }
textarea.form-control { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

/* ===== CART ===== */
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th {
  padding: 14px 16px; text-align: left;
  font-size: 0.82rem; font-weight: 700; color: var(--text-light);
  text-transform: uppercase; letter-spacing: 0.5px;
  border-bottom: 2px solid var(--border); background: var(--bg-light);
}
.cart-table td {
  padding: 20px 16px; border-bottom: 1px solid var(--border-light); vertical-align: middle;
}
.cart-product-img {
  width: 64px; height: 64px; object-fit: cover;
  border-radius: var(--radius-sm); background: var(--bg-light);
}
.cart-qty-btn {
  width: 32px; height: 32px; border: 1.5px solid var(--border);
  border-radius: 6px; display: inline-flex; align-items: center; justify-content: center;
  font-size: 1rem; font-weight: 700; color: var(--primary);
  transition: all var(--transition); cursor: pointer;
}
.cart-qty-btn:hover { border-color: var(--brand-blue); color: var(--brand-blue); }
.cart-qty { display: inline-block; min-width: 40px; text-align: center; font-weight: 700; }

/* ===== ORDER SUMMARY ===== */
.order-summary {
  background: var(--bg-light); border: 1.5px solid var(--border);
  border-radius: var(--radius); padding: 28px; position: sticky; top: 88px;
}
.order-summary h3 { margin-bottom: 20px; }
.summary-row {
  display: flex; justify-content: space-between;
  padding: 10px 0; border-bottom: 1px solid var(--border-light); font-size: 0.95rem;
}
.summary-row:last-child { border-bottom: none; }
.summary-total {
  display: flex; justify-content: space-between;
  padding: 16px 0 0; font-size: 1.15rem; font-weight: 800; color: var(--primary);
}

/* ===== FOOTER ===== */
.footer { background: #111827; color: #6b7280; padding: 56px 0 32px; }
.footer-top {
  display: grid; grid-template-columns: 240px 1fr; gap: 56px;
  padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 32px;
}
.footer-logo { margin-bottom: 12px; display: inline-block; }
.footer-logo img {
  height: 36px; width: auto;
  background: #fff; padding: 6px 12px;
  border-radius: 8px; display: block;
}
.footer-tagline { font-size: 0.88rem; color: #4b5563; margin-top: 8px; }
.footer-info { font-size: 0.85rem; line-height: 2; }
.footer-info p { margin-bottom: 2px; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.82rem; gap: 16px; flex-wrap: wrap;
}
.footer-links { display: flex; gap: 20px; }
.footer-links a { color: #4b5563; transition: color var(--transition); }
.footer-links a:hover { color: #9ca3af; }

/* ===== COLOR BAR (footer 상단) ===== */
.footer-color-bar {
  height: 3px;
  background: linear-gradient(to right,
    var(--brand-red)    0%   25%,
    var(--brand-yellow) 25%  50%,
    var(--brand-blue)   50%  75%,
    var(--brand-green)  75% 100%
  );
  margin-bottom: 0;
}

/* ===== PAGINATION ===== */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 48px; }
.page-link {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--border); color: var(--text);
  font-size: 0.9rem; font-weight: 600; transition: all var(--transition);
}
.page-link:hover, .page-link.active {
  background: var(--brand-blue); color: #fff; border-color: var(--brand-blue);
}

/* ===== ALERT ===== */
.alert {
  padding: 14px 20px; border-radius: var(--radius-sm);
  font-size: 0.92rem; font-weight: 600; margin-bottom: 20px;
}
.alert-success { background: var(--brand-green-light); color: var(--brand-green); border-left: 4px solid var(--brand-green); }
.alert-error   { background: var(--brand-red-light);   color: var(--brand-red);   border-left: 4px solid var(--brand-red); }
.alert-info    { background: var(--brand-blue-light);  color: var(--brand-blue);  border-left: 4px solid var(--brand-blue); }

/* ===== EMPTY STATE ===== */
.empty-state { text-align: center; padding: 80px 20px; color: var(--text-muted); }
.empty-state-icon { font-size: 3rem; margin-bottom: 16px; }
.empty-state h3 { color: var(--text-light); margin-bottom: 8px; }

/* ===== APP CARD ===== */
.app-card {
  background: var(--bg-card); border: 1.5px solid var(--border);
  border-radius: var(--radius); overflow: hidden; transition: all var(--transition);
  display: flex; flex-direction: column;
}
.app-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); }
.app-card-header { padding: 28px 28px 0; display: flex; align-items: center; gap: 16px; }
.app-icon {
  width: 64px; height: 64px; border-radius: 16px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 1.8rem;
  border: 2px solid var(--border);
}
.app-meta h3 { font-size: 1.1rem; margin-bottom: 4px; }
.app-meta p { font-size: 0.85rem; color: var(--text-light); }
.app-card-body { padding: 20px 28px 28px; flex: 1; }
.app-card-desc { font-size: 0.9rem; color: var(--text-light); margin-bottom: 20px; line-height: 1.7; }
.app-links { display: flex; gap: 12px; flex-wrap: wrap; }

/* ===== STATS ===== */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.stat-item {
  text-align: center; padding: 40px 20px;
  position: relative;
}
.stat-item + .stat-item::before {
  content: ''; position: absolute; left: 0; top: 20%; bottom: 20%;
  width: 1px; background: var(--border);
}
.stat-number { font-size: 2.6rem; font-weight: 900; margin-bottom: 8px; }
.stat-number.red    { color: var(--brand-red); }
.stat-number.yellow { color: var(--brand-yellow); }
.stat-number.blue   { color: var(--brand-blue); }
.stat-number.green  { color: var(--brand-green); }
.stat-label { font-size: 0.88rem; color: var(--text-light); font-weight: 600; }

/* ===== PRODUCT DETAIL ===== */
.product-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.product-detail-img {
  width: 100%; aspect-ratio: 1/1; object-fit: cover;
  border-radius: var(--radius); background: var(--bg-light);
  border: 1.5px solid var(--border);
}
.product-detail-info h1 { font-size: 1.8rem; margin-bottom: 16px; }
.product-detail-price { font-size: 2rem; font-weight: 900; color: var(--brand-blue); margin-bottom: 24px; }
.product-qty-control { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.qty-btn {
  width: 40px; height: 40px; border: 2px solid var(--border);
  border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; font-weight: 700; transition: all var(--transition);
}
.qty-btn:hover { border-color: var(--brand-blue); color: var(--brand-blue); }
.qty-display { font-size: 1.1rem; font-weight: 800; min-width: 48px; text-align: center; }

/* ===== CHECKOUT ===== */
.checkout-grid { display: grid; grid-template-columns: 3fr 2fr; gap: 40px; align-items: start; }

/* ===== SCROLL TO TOP ===== */
.scroll-top {
  position: fixed; bottom: 32px; right: 32px; z-index: 999;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--brand-blue); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; box-shadow: var(--shadow);
  opacity: 0; transform: translateY(16px);
  transition: all var(--transition); pointer-events: none;
}
.scroll-top.visible { opacity: 1; transform: translateY(0); pointer-events: all; }
.scroll-top:hover { background: var(--accent-hover); transform: translateY(-2px); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .checkout-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .container { padding: 0 16px; }
  .navbar-nav { display: none; }
  .navbar-cart { display: none; }
  .navbar-menu-btn { display: flex; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .product-detail-grid { grid-template-columns: 1fr; }
  .post-item { flex-direction: column; }
  .post-item-img { width: 100%; }
  .form-row { grid-template-columns: 1fr; }
  .hero-logo { display: none; }
  .stat-item + .stat-item::before { display: none; }
}
@media (max-width: 480px) {
  .grid-4 { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; }
}
