/* FILE: assets/css/main.css */
/* SMMSCRIPTZONE — Global Public Styles */
/* Dark-first premium marketplace — Vercel/Linear aesthetic */

/* ============================================================
   CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  --bg:           #0a0a0a;
  --surface:      #111111;
  --surface-2:    #161616;
  --border:       #1f1f1f;
  --border-2:     #2a2a2a;
  --text:         #f5f5f5;
  --text-2:       #d4d4d4;
  --muted:        #888888;
  --muted-2:      #555555;
  --accent:       #06b6d4;
  --accent-hover: #0891b2;
  --accent-dim:   rgba(6,182,212,0.12);
  --success:      #10b981;
  --warning:      #f59e0b;
  --error:        #ef4444;
  --purple:       #8b5cf6;
  --radius:       12px;
  --radius-sm:    8px;
  --radius-lg:    16px;
  --shadow:       0 4px 24px rgba(0,0,0,0.4);
  --shadow-lg:    0 8px 48px rgba(0,0,0,0.6);
  --transition:   0.2s ease;
  --font:         'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: var(--font); cursor: pointer; }
ul { list-style: none; }
input, textarea, select { font-family: var(--font); }
::selection { background: var(--accent); color: #fff; }

/* ============================================================
   PAGE TRANSITION
   ============================================================ */
.page-transition { animation: fadeInUp 0.4s ease both; }
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  color: var(--text);
}
.gradient-text {
  background: linear-gradient(135deg, var(--accent) 0%, var(--purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.text-accent  { color: var(--accent) !important; }
.text-muted   { color: var(--muted)  !important; }
.text-success { color: var(--success)!important; }
.text-error   { color: var(--error)  !important; }
.font-medium  { font-weight: 500; }
.text-sm      { font-size: 13px; }
.text-xs      { font-size: 12px; }

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}
@media (min-width: 768px)  { .container { padding: 0 32px; } }
@media (min-width: 1280px) { .container { padding: 0 48px; } }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  user-select: none;
  text-decoration: none;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.08) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}
.btn:hover::after { transform: translateX(100%); }
.btn:active { transform: scale(0.97); }

.btn-accent {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn-accent:hover { background: var(--accent-hover); border-color: var(--accent-hover); box-shadow: 0 0 20px rgba(6,182,212,0.35); }

.btn-ghost {
  background: transparent;
  color: var(--text-2);
  border-color: var(--border-2);
}
.btn-ghost:hover { background: var(--surface-2); border-color: var(--border-2); color: var(--text); }

.btn-danger { background: rgba(239,68,68,.15); color: var(--error); border-color: rgba(239,68,68,.25); }
.btn-danger:hover { background: var(--error); color: #fff; }

.btn-lg  { padding: 13px 28px; font-size: 15px; border-radius: var(--radius); }
.btn-sm  { padding: 7px 14px; font-size: 13px; }
.btn-xs  { padding: 4px 10px; font-size: 12px; border-radius: 6px; }
.btn-block { width: 100%; }

/* Ripple effect via JS */
.btn .ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  transform: scale(0);
  animation: ripple-anim 0.55s linear;
  pointer-events: none;
}
@keyframes ripple-anim {
  to { transform: scale(4); opacity: 0; }
}

/* ============================================================
   SITE ANNOUNCEMENT BANNER
   ============================================================ */
.site-banner {
  background: linear-gradient(90deg, var(--accent), var(--purple));
  color: #fff;
  text-align: center;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
  position: relative;
  z-index: 100;
}
.site-banner .container { display: flex; align-items: center; justify-content: center; gap: 12px; }
.banner-link { color: #fff; text-decoration: underline; font-weight: 600; opacity: .9; }
.banner-link:hover { opacity: 1; }

/* ============================================================
   HEADER / NAVBAR
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(10,10,10,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 64px;
}
.site-logo {
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.5px;
  flex-shrink: 0;
}
.site-logo:hover { color: var(--accent); }

.main-nav {
  display: none;
  align-items: center;
  gap: 4px;
}
@media (min-width: 768px) { .main-nav { display: flex; } }

.nav-link {
  padding: 6px 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  position: relative;
}
.nav-link:hover, .nav-link.active { color: var(--text); background: var(--surface-2); }
.nav-link.active { color: var(--accent); }
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

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

.cart-btn {
  position: relative;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  color: var(--muted);
  border: 1px solid transparent;
  background: transparent;
  transition: all var(--transition);
}
.cart-btn:hover { color: var(--text); background: var(--surface-2); border-color: var(--border); }

.cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--bg);
}
.cart-badge.pulse { animation: badge-pulse 0.4s ease; }
@keyframes badge-pulse {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.5); }
  100% { transform: scale(1); }
}

/* User Menu */
.user-menu { position: relative; }
.user-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
}
.user-btn:hover { border-color: var(--border-2); }
.user-avatar { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; }
.user-avatar-placeholder {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--purple));
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.user-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 6px;
  min-width: 160px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: all 0.18s ease;
  z-index: 200;
}
.user-menu.open .user-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.user-dropdown a {
  display: block;
  padding: 8px 12px;
  font-size: 13px;
  color: var(--text-2);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.user-dropdown a:hover { background: var(--surface-2); color: var(--text); }
.user-dropdown hr { border: none; border-top: 1px solid var(--border); margin: 4px 0; }
.user-dropdown .logout-link { color: var(--error); }

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--muted);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (min-width: 768px) { .hamburger { display: none; } }

/* Mobile nav */
@media (max-width: 767px) {
  .main-nav {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 16px;
    gap: 4px;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 80;
  }
  .main-nav.open { transform: translateY(0); opacity: 1; visibility: visible; }
  .nav-link { padding: 12px 16px; font-size: 15px; }
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero-section {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 0%, rgba(6,182,212,0.08) 0%, transparent 70%);
}
.particle-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.particle-canvas-full {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}
.particle-canvas-sm {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  padding: 80px 0 60px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent-dim);
  border: 1px solid rgba(6,182,212,0.25);
  color: var(--accent);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 28px;
  animation: fadeInUp 0.5s ease 0.1s both;
}
.hero-title {
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -2px;
  margin-bottom: 24px;
  animation: fadeInUp 0.5s ease 0.2s both;
}
.hero-subtitle {
  font-size: clamp(16px, 2vw, 18px);
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.7;
  animation: fadeInUp 0.5s ease 0.3s both;
}
.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
  animation: fadeInUp 0.5s ease 0.4s both;
}
.hero-stats {
  display: flex;
  gap: 40px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.5s ease 0.5s both;
}
.hero-stat { text-align: center; }
.hero-stat .stat-num {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 4px;
}
.hero-stat span:last-child {
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section { padding: 80px 0; }
.section-alt { background: var(--surface); }
.section-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 36px;
}
.section-header.center { justify-content: center; text-align: center; }
.section-title {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
  letter-spacing: -0.5px;
}
.section-subtitle {
  color: var(--muted);
  margin-top: 6px;
  font-size: 15px;
}

/* ============================================================
   PRODUCT CARDS
   ============================================================ */
.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 480px)  { .products-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 900px)  { .products-grid { grid-template-columns: repeat(3,1fr); } }
@media (min-width: 1200px) { .products-grid { grid-template-columns: repeat(4,1fr); } }

.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
  border-color: var(--border-2);
}
.product-card:hover::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(6,182,212,0.4), rgba(139,92,246,0.4));
  z-index: -1;
  opacity: 0;
  animation: gradientBorderIn 0.3s ease forwards;
}
@keyframes gradientBorderIn { to { opacity: 1; } }

/* Animate on scroll */
.animate-card {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.animate-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.product-card-img-link { display: block; }
.product-card-img {
  width: 100%;
  height: 180px;
  background-color: var(--surface-2);
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}
.product-card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(0,0,0,0.4));
}
.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  z-index: 1;
}
.badge-featured   { background: rgba(245,158,11,0.9);  color: #fff; }
.badge-bestseller { background: rgba(239,68,68,0.9);   color: #fff; }

.product-card-body {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.product-category {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--accent);
}
.product-title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
}
.product-title a { color: var(--text); transition: color var(--transition); }
.product-title a:hover { color: var(--accent); }
.product-desc { font-size: 13px; color: var(--muted); line-height: 1.5; }

.tech-badges { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 2px; }
.tech-badge {
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
  padding: 2px 8px;
  border-radius: 100px;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
}
.stars { color: var(--warning); font-size: 13px; }
.rating-value { font-size: 12px; color: var(--muted); font-weight: 600; }

.product-card-footer {
  padding: 12px 16px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.product-price-block { display: flex; align-items: baseline; gap: 6px; }
.price-main { font-size: 18px; font-weight: 800; color: var(--text); }
.price-original {
  font-size: 13px;
  color: var(--muted);
  text-decoration: line-through;
}

/* Add to cart button – loading state */
.add-to-cart-btn.loading { opacity: 0.7; pointer-events: none; }
.add-to-cart-btn.added { background: var(--success); border-color: var(--success); }

/* ============================================================
   CATEGORY CARDS
   ============================================================ */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 16px;
}
@media (min-width: 600px) { .categories-grid { grid-template-columns: repeat(3,1fr); } }
@media (min-width: 900px) { .categories-grid { grid-template-columns: repeat(4,1fr); } }
.categories-grid-lg { grid-template-columns: repeat(2,1fr); }
@media (min-width: 600px) { .categories-grid-lg { grid-template-columns: repeat(3,1fr); } }
@media (min-width: 900px) { .categories-grid-lg { grid-template-columns: repeat(4,1fr); } }

.category-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
}
.category-card:hover { transform: translateY(-3px); border-color: var(--accent); }
.category-img {
  height: 120px;
  background-color: var(--surface-2);
  background-size: cover;
  background-position: center;
}
.category-img-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: var(--muted-2);
}
.category-body { padding: 14px 16px; }
.category-name  { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.category-desc  { font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.category-count { font-size: 12px; color: var(--accent); font-weight: 600; }

/* ============================================================
   BUNDLE CARDS
   ============================================================ */
.bundles-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 640px)  { .bundles-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px) { .bundles-grid { grid-template-columns: repeat(3,1fr); } }

.bundle-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.bundle-card:hover { transform: translateY(-4px); border-color: var(--purple); }
.bundle-card-header { padding: 24px 24px 0; }
.bundle-card-body   { padding: 12px 24px; flex: 1; }
.bundle-card-footer { padding: 16px 24px 24px; }

.bundle-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent), var(--purple));
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 100px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.bundle-pricing { margin-top: 16px; }
.bundle-price-main { font-size: 28px; font-weight: 900; color: var(--text); display: block; }
.bundle-price-orig { font-size: 14px; color: var(--muted); text-decoration: line-through; }
.bundle-savings    { color: var(--success); font-size: 13px; font-weight: 600; margin-top: 4px; display: block; }

/* Bundle detail */
.bundle-detail-header { text-align: center; padding: 40px 0 32px; }
.bundle-detail-desc  { color: var(--muted); margin: 12px 0; font-size: 16px; max-width: 600px; margin-left: auto; margin-right: auto; }
.bundle-detail-pricing { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 20px 0; flex-wrap: wrap; }

/* ============================================================
   PAGE HERO SMALL (sub-page headers)
   ============================================================ */
.page-hero-sm {
  background: linear-gradient(180deg, rgba(6,182,212,0.06) 0%, transparent 100%);
  border-bottom: 1px solid var(--border);
  padding: 40px 0;
}
.page-hero-sm h1 { font-size: clamp(24px, 4vw, 40px); font-weight: 800; margin-bottom: 8px; }
.page-hero-sm p  { color: var(--muted); }
.page-title-standalone { font-size: clamp(22px, 3vw, 32px); font-weight: 800; margin-bottom: 28px; }

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 28px;
}
.breadcrumb a { color: var(--muted); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span:last-child { color: var(--text-2); }

/* ============================================================
   PRODUCT LISTING LAYOUT (filters + grid)
   ============================================================ */
.products-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
}
@media (min-width: 900px) { .products-layout { grid-template-columns: 240px 1fr; } }

.filter-sidebar {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  position: sticky;
  top: 80px;
}
@media (max-width: 899px) {
  .filter-sidebar {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: 280px;
    z-index: 300;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    border-radius: 0;
    border-left: none;
  }
  .filter-sidebar.open { transform: translateX(0); }
}

.filter-sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.filter-sidebar-header h3 { font-size: 15px; font-weight: 700; }
.filter-clear { font-size: 12px; color: var(--accent); cursor: pointer; }

.filter-group { margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.filter-group:last-child { border-bottom: none; margin-bottom: 0; }
.filter-label { display: block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: var(--muted); margin-bottom: 10px; }
.filter-option {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-2);
  padding: 5px 0;
  cursor: pointer;
}
.filter-option:hover { color: var(--text); }
.filter-option input { accent-color: var(--accent); }
.filter-count { color: var(--muted); font-size: 11px; }
.price-range-inputs { display: flex; align-items: center; gap: 8px; }

.products-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.products-count { font-size: 14px; color: var(--muted); flex: 1; }
.products-sort  { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.filter-toggle-btn { display: none; }
@media (max-width: 899px) { .filter-toggle-btn { display: inline-flex; } }

/* ============================================================
   PRODUCT DETAIL PAGE
   ============================================================ */
.product-detail-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
@media (min-width: 768px) { .product-detail-layout { grid-template-columns: 1fr 1fr; } }

/* Gallery */
.product-gallery { position: sticky; top: 80px; }
.gallery-main {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  margin-bottom: 12px;
  aspect-ratio: 16/10;
}
.gallery-main-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.gallery-main:hover .gallery-main-img { transform: scale(1.02); }
.gallery-placeholder { height: 100%; display: flex; align-items: center; justify-content: center; color: var(--muted-2); font-size: 48px; }
.gallery-thumbs { display: flex; gap: 8px; overflow-x: auto; }
.thumb-btn {
  flex-shrink: 0;
  width: 64px;
  height: 48px;
  border-radius: 6px;
  overflow: hidden;
  background: var(--surface-2);
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color 0.2s;
}
.thumb-btn.active   { border-color: var(--accent); }
.thumb-btn:hover    { border-color: var(--border-2); }
.thumb-btn img      { width: 100%; height: 100%; object-fit: cover; }

/* Product info */
.product-category-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--accent);
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}
.product-detail-title { font-size: clamp(20px, 3vw, 32px); font-weight: 800; margin-bottom: 14px; letter-spacing: -0.5px; }
.product-meta-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.version-badge { background: var(--accent-dim); border: 1px solid rgba(6,182,212,0.25); color: var(--accent); font-size: 12px; font-weight: 600; padding: 2px 10px; border-radius: 100px; }
.sales-count { font-size: 13px; color: var(--muted); }
.product-short-desc { color: var(--text-2); line-height: 1.6; margin-bottom: 16px; }
.tech-stack-row { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }

.product-pricing {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.price-main-lg { font-size: 36px; font-weight: 900; color: var(--text); }
.price-orig-lg { font-size: 18px; color: var(--muted); text-decoration: line-through; }
.discount-badge { background: rgba(16,185,129,0.15); border: 1px solid rgba(16,185,129,0.3); color: var(--success); font-size: 13px; font-weight: 700; padding: 3px 10px; border-radius: 100px; }

.file-info-row { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); margin-bottom: 16px; background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 8px 12px; }

.product-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.product-guarantee { font-size: 12px; color: var(--muted); display: flex; gap: 16px; flex-wrap: wrap; }

/* Product Tabs */
.product-tabs { border-top: 1px solid var(--border); }
.tab-nav { display: flex; gap: 0; border-bottom: 1px solid var(--border); overflow-x: auto; }
.tab-btn {
  padding: 14px 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  border: none;
  background: transparent;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: all 0.2s ease;
  margin-bottom: -1px;
}
.tab-btn:hover  { color: var(--text); }
.tab-btn.active { color: var(--accent); border-bottom-color: var(--accent); }

.tab-panel { display: none; padding: 28px 0; }
.tab-panel.active { display: block; }

/* Content styles inside tabs */
.prose-content {
  color: var(--text-2);
  line-height: 1.8;
  font-size: 15px;
  white-space: pre-wrap;
}
.feature-list, .requirements-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.feature-list li, .requirements-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text-2);
  font-size: 14px;
}
.check-icon { color: var(--success); flex-shrink: 0; font-weight: 700; margin-top: 1px; }
.req-icon   { color: var(--accent);  flex-shrink: 0; }

/* Changelog accordion */
.changelog-item { border: 1px solid var(--border); border-radius: var(--radius-sm); margin-bottom: 8px; overflow: hidden; }
.changelog-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 14px 18px;
  background: var(--surface-2);
  border: none;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  transition: background var(--transition);
}
.changelog-toggle:hover { background: var(--border); }
.changelog-arrow { color: var(--muted); margin-left: auto; }
.changelog-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.changelog-item.open .changelog-content { max-height: 400px; }
.changelog-content ul { padding: 14px 18px; display: flex; flex-direction: column; gap: 6px; }
.changelog-content li { font-size: 13px; color: var(--text-2); padding-left: 14px; position: relative; }
.changelog-content li::before { content: '–'; position: absolute; left: 0; color: var(--accent); }

/* Reviews */
.reviews-summary { display: flex; align-items: center; gap: 10px; margin-bottom: 24px; }
.reviews-avg { font-size: 48px; font-weight: 900; color: var(--text); }
.reviews-list { display: flex; flex-direction: column; gap: 20px; }
.review-item { border-bottom: 1px solid var(--border); padding-bottom: 20px; }
.review-header { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.reviewer-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--purple));
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.review-meta { font-size: 12px; color: var(--muted); margin-top: 2px; }
.review-title { font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.review-body  { font-size: 14px; color: var(--text-2); line-height: 1.6; }

.review-form-wrap {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.review-form-wrap h3 { margin-bottom: 20px; }

/* Star rating input */
.star-rating-input {
  display: flex;
  flex-direction: row-reverse;
  gap: 4px;
  margin: 8px 0;
}
.star-rating-input input { display: none; }
.star-rating-input label {
  font-size: 28px;
  color: var(--border-2);
  cursor: pointer;
  transition: color 0.1s;
}
.star-rating-input label:hover,
.star-rating-input label:hover ~ label,
.star-rating-input input:checked ~ label { color: var(--warning); }

/* ============================================================
   FORMS
   ============================================================ */
.form-control {
  width: 100%;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  color: var(--text);
  font-size: 14px;
  font-family: var(--font);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-control:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(6,182,212,0.12); }
.form-control::placeholder { color: var(--muted-2); }
.form-control:disabled { opacity: 0.5; cursor: not-allowed; }
.form-control-sm { padding: 7px 10px; font-size: 13px; }
select.form-control { cursor: pointer; }
textarea.form-control { resize: vertical; min-height: 100px; }

/* Floating label */
.form-group { margin-bottom: 16px; }
.form-group.floating-label { position: relative; }
.form-group.floating-label .form-control { padding-top: 20px; padding-bottom: 6px; }
.form-group.floating-label label {
  position: absolute;
  top: 12px;
  left: 14px;
  font-size: 14px;
  color: var(--muted);
  pointer-events: none;
  transition: all 0.18s ease;
  transform-origin: left top;
}
.form-group.floating-label .form-control:focus ~ label,
.form-group.floating-label .form-control:not(:placeholder-shown) ~ label {
  transform: translateY(-8px) scale(0.8);
  color: var(--accent);
  font-weight: 600;
}
.form-label { display: block; font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 6px; }
.form-hint  { font-size: 12px; color: var(--muted); margin-top: 4px; }

/* ============================================================
   AUTH PAGES
   ============================================================ */
.auth-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.auth-container {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  position: relative;
  z-index: 1;
}
.auth-card {
  background: rgba(17,17,17,0.9);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  width: 100%;
  max-width: 440px;
  box-shadow: var(--shadow-lg);
}
.auth-card-wide { max-width: 600px; }

.auth-header { text-align: center; margin-bottom: 28px; }
.auth-logo { font-size: 20px; font-weight: 800; color: var(--accent); display: block; margin-bottom: 8px; }
.auth-header p { color: var(--muted); font-size: 14px; }

.btn-google {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}
.btn-google:hover { background: var(--border); border-color: var(--border-2); }

.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
  color: var(--muted);
  font-size: 12px;
}
.auth-divider::before,
.auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }

.auth-meta { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; font-size: 13px; color: var(--muted); }
.auth-link { color: var(--accent); font-weight: 500; }
.auth-switch { text-align: center; margin-top: 20px; font-size: 13px; color: var(--muted); }
.auth-switch a { color: var(--accent); font-weight: 600; }
.auth-alt-link { text-align: center; margin-top: 14px; font-size: 13px; }
.auth-alt-link a { color: var(--accent); }

/* ============================================================
   CART PAGE
   ============================================================ */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: start;
}
@media (min-width: 768px) { .cart-layout { grid-template-columns: 1fr 340px; } }

.cart-items { display: flex; flex-direction: column; gap: 12px; }
.cart-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  transition: border-color 0.2s;
}
.cart-item:hover { border-color: var(--border-2); }
.cart-item-img, .cart-item-img-placeholder {
  width: 72px;
  height: 56px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
  background: var(--surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted-2);
  font-size: 20px;
}
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-info h3 { font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.cart-item-info h3 a:hover { color: var(--accent); }
.cart-item-price { text-align: right; flex-shrink: 0; }
.cart-remove-btn {
  background: transparent;
  border: none;
  color: var(--muted);
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  transition: color 0.2s;
  flex-shrink: 0;
}
.cart-remove-btn:hover { color: var(--error); }

.cart-summary-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  position: sticky;
  top: 80px;
}
.cart-summary-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 20px; }
.summary-row { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; font-size: 14px; color: var(--text-2); }
.summary-total { font-weight: 800; font-size: 18px; color: var(--text); border-top: 1px solid var(--border); margin-top: 8px; padding-top: 12px !important; }
.coupon-section { margin: 16px 0; }
.coupon-input-row { display: flex; gap: 8px; }
.cart-guarantees { display: flex; flex-direction: column; gap: 4px; margin-top: 16px; font-size: 11px; color: var(--muted); text-align: center; }

/* ============================================================
   CHECKOUT PAGE
   ============================================================ */
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: start;
}
@media (min-width: 768px) { .checkout-layout { grid-template-columns: 1fr 400px; } }

.checkout-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.checkout-item:last-child { border-bottom: none; }
.card-footer { padding: 16px; border-top: 1px solid var(--border); }

.payment-methods { display: flex; flex-direction: column; gap: 8px; }
.payment-method-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: border-color 0.2s;
}
.payment-method-card:has(input:checked) { border-color: var(--accent); background: var(--accent-dim); }
.payment-method-card input { accent-color: var(--accent); flex-shrink: 0; }
.payment-method-body { display: flex; align-items: center; gap: 10px; flex: 1; }
.payment-method-icon { font-size: 20px; width: 32px; text-align: center; }
.payment-method-body strong { display: block; font-size: 14px; }
.payment-method-body span  { font-size: 12px; color: var(--muted); }

.stripe-card-element {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================================
   ALERTS
   ============================================================ */
.alert {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  border: 1px solid;
}
.alert-success { background: rgba(16,185,129,.1);  border-color: rgba(16,185,129,.25); color: #6ee7b7; }
.alert-danger  { background: rgba(239,68,68,.1);   border-color: rgba(239,68,68,.25);  color: #fca5a5; }
.alert-warning { background: rgba(245,158,11,.1);  border-color: rgba(245,158,11,.25); color: #fcd34d; }
.alert-info    { background: rgba(6,182,212,.1);   border-color: rgba(6,182,212,.25);  color: #67e8f9; }

/* ============================================================
   BADGES (global)
   ============================================================ */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}
.badge-success { background: rgba(16,185,129,.15); color: #6ee7b7; }
.badge-warning { background: rgba(245,158,11,.15); color: #fcd34d; }
.badge-danger  { background: rgba(239,68,68,.15);  color: #fca5a5; }
.badge-info    { background: rgba(6,182,212,.15);  color: #67e8f9; }
.badge-accent  { background: rgba(139,92,246,.15); color: #c4b5fd; }
.badge-muted   { background: rgba(136,136,136,.1); color: var(--muted); }

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.page-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: all 0.2s;
  text-decoration: none;
}
.page-link:hover { color: var(--text); border-color: var(--border-2); }
.page-link.active { background: var(--accent); color: #fff; border-color: var(--accent); }
.page-link.disabled { opacity: 0.3; pointer-events: none; }

/* ============================================================
   TOAST NOTIFICATIONS
   ============================================================ */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}
.toast {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 18px;
  font-size: 14px;
  font-weight: 500;
  max-width: 360px;
  box-shadow: var(--shadow-lg);
  pointer-events: auto;
  animation: toastSlideIn 0.35s cubic-bezier(.34,1.56,.64,1) both;
}
.toast.hiding { animation: toastSlideOut 0.3s ease forwards; }
@keyframes toastSlideIn {
  from { opacity: 0; transform: translateX(40px) scale(0.95); }
  to   { opacity: 1; transform: translateX(0) scale(1); }
}
@keyframes toastSlideOut {
  to { opacity: 0; transform: translateX(40px); }
}
.toast-success { border-left: 3px solid var(--success); }
.toast-error   { border-left: 3px solid var(--error);   }
.toast-info    { border-left: 3px solid var(--accent);  }
.toast-icon    { font-size: 18px; flex-shrink: 0; }

/* ============================================================
   PROMO POPUP
   ============================================================ */
.promo-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(4px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.3s ease;
}
.promo-popup-overlay.hidden { display: none; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.promo-popup {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  max-width: 480px;
  width: 100%;
  position: relative;
  box-shadow: var(--shadow-lg);
  animation: popupIn 0.4s cubic-bezier(.34,1.56,.64,1);
}
@keyframes popupIn {
  from { opacity: 0; transform: scale(0.9) translateY(20px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
.promo-popup-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 28px;
  height: 28px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 14px;
  color: var(--muted);
  transition: all 0.2s;
}
.promo-popup-close:hover { background: var(--border); color: var(--text); }
.promo-popup h2 { font-size: 22px; font-weight: 800; margin-bottom: 12px; }
.promo-popup p  { color: var(--muted); margin-bottom: 20px; }

.promo-coupon-box {
  background: var(--accent-dim);
  border: 1px dashed rgba(6,182,212,0.4);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.promo-coupon-code { font-size: 20px; font-weight: 800; color: var(--accent); letter-spacing: 2px; }
.promo-copy-btn { font-size: 12px; color: var(--accent); background: transparent; border: 1px solid rgba(6,182,212,0.3); padding: 4px 10px; border-radius: 6px; cursor: pointer; }

/* ============================================================
   WHATSAPP BUTTON
   ============================================================ */
.whatsapp-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 52px;
  height: 52px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  z-index: 8000;
  text-decoration: none;
  animation: waBounce 2.5s ease-in-out infinite;
  transition: transform 0.2s, box-shadow 0.2s;
}
.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,0.55);
  animation: none;
}
.whatsapp-btn svg { width: 28px; height: 28px; fill: #fff; }
@keyframes waBounce {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}
/* Push up when toast is visible */
.toast-container ~ .whatsapp-btn { bottom: 80px; }

/* ============================================================
   FEATURES GRID (homepage)
   ============================================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 20px;
}
@media (min-width: 768px) { .features-grid { grid-template-columns: repeat(4,1fr); } }
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color 0.2s;
}
.feature-card:hover { border-color: var(--accent); }
.feature-icon { font-size: 28px; margin-bottom: 12px; }
.feature-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.feature-card p   { font-size: 13px; color: var(--muted); line-height: 1.6; }

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  position: relative;
  background: linear-gradient(135deg, rgba(6,182,212,0.08), rgba(139,92,246,0.08));
  border-top: 1px solid var(--border);
  padding: 80px 0;
  overflow: hidden;
  text-align: center;
}
.cta-content { position: relative; z-index: 1; }
.cta-content h2 { font-size: clamp(24px,4vw,40px); font-weight: 800; margin-bottom: 12px; }
.cta-content p  { color: var(--muted); margin-bottom: 28px; font-size: 16px; }
.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   ANNOUNCEMENTS & OFFERS PAGE
   ============================================================ */
.offers-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 640px)  { .offers-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px) { .offers-grid { grid-template-columns: repeat(3,1fr); } }

.offer-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s, border-color 0.25s;
}
.offer-card:hover { transform: translateY(-3px); border-color: var(--accent); }
.offer-banner {
  height: 140px;
  background-color: var(--surface-2);
  background-size: cover;
  background-position: center;
}
.offer-body { padding: 20px; }
.offer-discount-badge {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 10px;
}
.offer-dates { font-size: 12px; color: var(--muted); display: flex; flex-direction: column; gap: 2px; margin-top: 10px; }

.announcement-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 16px;
}
.announcement-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.announcement-header h3 { font-size: 17px; font-weight: 700; }
.announcement-content { font-size: 14px; color: var(--text-2); line-height: 1.7; white-space: pre-wrap; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.info-box {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.7;
}

/* ============================================================
   EMPTY STATES
   ============================================================ */
.empty-state {
  text-align: center;
  padding: 60px 20px;
}
.empty-icon { font-size: 48px; margin-bottom: 16px; display: block; opacity: 0.6; }
.empty-state h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.empty-state p  { color: var(--muted); font-size: 14px; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 60px 0 32px;
  margin-top: auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 40px;
}
@media (min-width: 640px)  { .footer-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }

.footer-logo { font-size: 16px; font-weight: 800; color: var(--accent); display: block; margin-bottom: 10px; }
.footer-tagline { font-size: 13px; color: var(--muted); line-height: 1.6; max-width: 260px; margin-bottom: 16px; }
.footer-social { display: flex; gap: 10px; }
.social-link {
  width: 36px;
  height: 36px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: all 0.2s;
}
.social-link:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

.footer-links h4 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: var(--muted); margin-bottom: 14px; }
.footer-links a  { display: block; font-size: 14px; color: var(--muted); padding: 4px 0; transition: color 0.2s; }
.footer-links a:hover { color: var(--text); }

.footer-bottom { border-top: 1px solid var(--border); padding-top: 24px; text-align: center; font-size: 13px; color: var(--muted); }

/* ============================================================
   SKELETON LOADING
   ============================================================ */
.skeleton {
  background: linear-gradient(90deg, var(--surface) 25%, var(--surface-2) 50%, var(--surface) 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s infinite;
  border-radius: var(--radius-sm);
}
@keyframes skeleton-shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.skeleton-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.skeleton-img  { height: 180px; }
.skeleton-line { height: 14px; margin: 8px 16px; }
.skeleton-line.w-3-4 { width: 75%; }
.skeleton-line.w-1-2 { width: 50%; }

/* ============================================================
   RESPONSIVE UTILITIES
   ============================================================ */
@media (max-width: 639px) {
  .hero-actions { flex-direction: column; align-items: center; }
  .section { padding: 48px 0; }
  .product-detail-layout { grid-template-columns: 1fr; }
}
