/* ===== ANKA SHOES TOPTAN - GLOBAL STYLES ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #0f172a;
  --primary-light: #1e293b;
  --accent: #f59e0b;
  --accent-dark: #d97706;
  --accent-light: #fbbf24;
  --surface: #ffffff;
  --muted: #f8fafc;
  --border: #e2e8f0;
  --text: #1e293b;
  --text-muted: #64748b;
  --success: #10b981;
  --danger: #ef4444;
  --info: #3b82f6;
  --radius: 0.75rem;
  --radius-lg: 1.25rem;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 25px -5px rgba(0,0,0,0.1);
  --shadow-xl: 0 20px 50px -12px rgba(0,0,0,0.15);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--surface);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

/* Container */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(15, 23, 42, 0.95); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: var(--transition);
}
.navbar.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,0.3); }
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; height: 72px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo-text { font-size: 1.25rem; font-weight: 800; color: #fff; letter-spacing: -0.5px; }
.nav-logo-text span { color: var(--accent); }
.nav-logo-badge {
  font-size: 0.6rem; font-weight: 700; color: var(--accent);
  background: rgba(245,158,11,0.15); padding: 2px 8px; border-radius: 20px;
  text-transform: uppercase; letter-spacing: 1px;
}
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
  color: rgba(255,255,255,0.7); font-size: 0.9rem; font-weight: 500;
  transition: var(--transition); position: relative;
}
.nav-links a:hover { color: #fff; }
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px;
  background: var(--accent); transition: var(--transition);
}
.nav-links a:hover::after { width: 100%; }

.nav-cart {
  position: relative; display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 12px; background: rgba(255,255,255,0.05);
  transition: var(--transition); color: #fff;
}
.nav-cart:hover { background: rgba(245,158,11,0.2); }
.nav-cart svg { width: 22px; height: 22px; }
.cart-count {
  position: absolute; top: -4px; right: -4px; width: 20px; height: 20px;
  border-radius: 50%; background: var(--accent); color: var(--primary);
  font-size: 0.7rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.cart-count:empty { display: none; }

/* Mobile menu */
.menu-toggle {
  display: none; width: 44px; height: 44px; border-radius: 12px;
  background: rgba(255,255,255,0.05); color: #fff;
  align-items: center; justify-content: center;
}
.menu-toggle svg { width: 24px; height: 24px; }
.mobile-menu {
  display: none; position: fixed; top: 72px; left: 0; right: 0; bottom: 0;
  background: var(--primary); z-index: 999; padding: 24px;
  flex-direction: column; gap: 8px;
}
.mobile-menu.active { display: flex; }
.mobile-menu a {
  color: rgba(255,255,255,0.8); font-size: 1.1rem; font-weight: 500;
  padding: 16px; border-radius: var(--radius); transition: var(--transition);
}
.mobile-menu a:hover { background: rgba(255,255,255,0.05); color: #fff; }

@media (max-width: 768px) {
  .nav-links { display: none; }
  .menu-toggle { display: flex; }
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 28px; border-radius: var(--radius); font-weight: 600;
  font-size: 0.95rem; transition: var(--transition); white-space: nowrap;
}
.btn-primary { background: var(--accent); color: var(--primary); }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(245,158,11,0.3); }
.btn-dark { background: var(--primary); color: #fff; }
.btn-dark:hover { background: var(--primary-light); }
.btn-outline { border: 2px solid var(--border); color: var(--text); background: transparent; }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-outline-white { border: 2px solid rgba(255,255,255,0.3); color: #fff; background: transparent; }
.btn-outline-white:hover { border-color: #fff; background: rgba(255,255,255,0.05); }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; border-radius: var(--radius-lg); }
.btn-sm { padding: 8px 18px; font-size: 0.85rem; }
.btn-danger { background: var(--danger); color: #fff; }
.btn-danger:hover { opacity: 0.9; }
.btn-success { background: var(--success); color: #fff; }
.btn-success:hover { opacity: 0.9; }

/* ===== PRODUCT CARDS ===== */
.product-card {
  background: var(--surface); border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border); transition: var(--transition);
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--accent); }
.product-card-img {
  position: relative; aspect-ratio: 1; overflow: hidden; background: var(--muted);
}
.product-card-img img {
  width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease;
}
.product-card:hover .product-card-img img { transform: scale(1.05); }
.product-card-badge {
  position: absolute; top: 12px; left: 12px; padding: 4px 12px;
  border-radius: 20px; font-size: 0.75rem; font-weight: 700;
  background: var(--accent); color: var(--primary);
}
.product-card-body { padding: 16px; }
.product-card-name {
  font-size: 0.95rem; font-weight: 600; color: var(--text);
  margin-bottom: 4px; line-height: 1.3;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.product-card-sku { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 8px; }
.product-card-meta {
  display: flex; align-items: center; gap: 8px; margin-bottom: 8px;
  font-size: 0.8rem; color: var(--text-muted);
}
.product-card-meta span { display: flex; align-items: center; gap: 4px; }
.product-card-colors { display: flex; gap: 4px; margin-bottom: 12px; }
.color-dot {
  width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--border);
}
.product-card-price {
  display: flex; align-items: baseline; gap: 6px; margin-bottom: 12px;
}
.product-card-price .pair-price { font-size: 1.25rem; font-weight: 800; color: var(--accent-dark); }
.product-card-price .pair-label { font-size: 0.8rem; color: var(--text-muted); }
.product-card-box-price { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 12px; }
.product-card-box-price strong { color: var(--text); }

/* ===== FORMS ===== */
.form-group { margin-bottom: 16px; }
.form-label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 12px 16px; border: 2px solid var(--border);
  border-radius: var(--radius); font-size: 0.95rem; color: var(--text);
  background: var(--surface); transition: var(--transition);
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(245,158,11,0.1);
}
.form-textarea { resize: vertical; min-height: 100px; }

/* ===== BADGES ===== */
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 12px; border-radius: 20px; font-size: 0.75rem; font-weight: 600;
}
.badge-accent { background: rgba(245,158,11,0.1); color: var(--accent-dark); }
.badge-success { background: rgba(16,185,129,0.1); color: var(--success); }
.badge-danger { background: rgba(239,68,68,0.1); color: var(--danger); }
.badge-info { background: rgba(59,130,246,0.1); color: var(--info); }
.badge-dark { background: var(--primary); color: #fff; }

/* ===== SECTION HEADERS ===== */
.section-tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 16px; border-radius: 20px; font-size: 0.8rem; font-weight: 600;
  background: rgba(245,158,11,0.1); color: var(--accent-dark); margin-bottom: 12px;
}
.section-title {
  font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 800; color: var(--primary);
  line-height: 1.2; margin-bottom: 12px;
}
.section-subtitle { font-size: 1rem; color: var(--text-muted); max-width: 600px; }
.section-line { width: 60px; height: 4px; background: var(--accent); border-radius: 2px; margin-top: 16px; }

/* ===== TRUST CARDS ===== */
.trust-card {
  padding: 24px; border-radius: var(--radius-lg); background: var(--surface);
  border: 1px solid var(--border); text-align: center; transition: var(--transition);
}
.trust-card:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow); }
.trust-card-icon {
  width: 56px; height: 56px; border-radius: 16px; margin: 0 auto 12px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(245,158,11,0.1); color: var(--accent-dark); transition: var(--transition);
}
.trust-card:hover .trust-card-icon { background: var(--accent); color: var(--primary); }
.trust-card-icon svg { width: 28px; height: 28px; }
.trust-card h3 { font-size: 0.9rem; font-weight: 700; margin-bottom: 4px; }
.trust-card p { font-size: 0.8rem; color: var(--text-muted); }

/* ===== FOOTER ===== */
.footer { background: var(--primary); color: rgba(255,255,255,0.7); padding: 60px 0 24px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; margin-bottom: 40px; }
.footer h4 { color: #fff; font-size: 1rem; font-weight: 700; margin-bottom: 16px; }
.footer a { display: block; padding: 4px 0; font-size: 0.9rem; transition: var(--transition); }
.footer a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px;
  font-size: 0.85rem;
}
.footer-bottom a:hover { color: var(--accent); }

/* ===== LOADING SCREEN ===== */
#ls {
  position: fixed; inset: 0; z-index: 9999; background: var(--primary);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24px;
  transition: opacity 0.5s ease;
}
#ls.hide { opacity: 0; pointer-events: none; }
#ls .logo { font-size: 2rem; font-weight: 900; color: #fff; }
#ls .logo span { color: var(--accent); }
#ls .progress-bar { width: 200px; height: 3px; background: rgba(255,255,255,0.1); border-radius: 2px; overflow: hidden; }
#ls .progress-fill { height: 100%; background: var(--accent); border-radius: 2px; transition: width 0.3s; width: 0%; }
#ls .pct { font-size: 0.85rem; color: rgba(255,255,255,0.5); }

/* ===== UTILITIES ===== */
.text-center { text-align: center; }
.text-accent { color: var(--accent); }
.text-muted { color: var(--text-muted); }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.grid { display: grid; }
.hidden { display: none !important; }

/* ===== WHATSAPP FLOAT ===== */
.wa-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 900;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,0.4);
  transition: var(--transition); overflow: hidden;
}
.wa-float:hover { transform: scale(1.1); box-shadow: 0 6px 24px rgba(37,211,102,0.5); }
.wa-float svg { width: 28px; height: 28px; flex-shrink: 0; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .container { padding: 0 16px; }
  .nav-inner { height: 64px; }
}
