/* ============================================================
   URBAN STYLE - Design System
   Based on Stitch Project: #ff5e24 / Inter / Round 8px
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:wght,FILL@100..700,0..1&display=swap');

/* --- CSS Variables (Design Tokens) --- */
:root {
  --primary: #ff5e24;
  --primary-hover: #e8531e;
  --primary-light: rgba(255, 94, 36, 0.1);
  --primary-shadow: rgba(255, 94, 36, 0.2);
  --bg-light: #f8f6f5;
  --bg-dark: #23140f;
  --text-main: #181210;
  --text-muted: #8d6a5e;
  --text-light: #6c757d;
  --border-color: #e7deda;
  --border-light: #f0ebe8;
  --white: #ffffff;
  --success: #198754;
  --danger: #dc3545;
  --radius: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 24px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
  --shadow-primary: 0 8px 25px rgba(255, 94, 36, 0.2);
  --transition: all 0.3s ease;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-main);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary); }

img { max-width: 100%; height: auto; }

/* --- Material Symbols --- */
.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  vertical-align: middle;
}
.filled-icon { font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24; }

/* --- Utility Classes --- */
.text-primary { color: var(--primary) !important; }
.bg-primary { background-color: var(--primary) !important; }
.bg-primary:hover { background-color: var(--primary-hover) !important; }
.text-muted-custom { color: var(--text-muted); }
.text-uppercase-spaced { text-transform: uppercase; letter-spacing: 0.15em; font-size: 0.75rem; font-weight: 700; }
.font-black { font-weight: 900; }
.tracking-tight { letter-spacing: -0.03em; }
.tracking-tighter { letter-spacing: -0.05em; }

/* --- Promo Bar --- */
.promo-bar {
  background: var(--primary);
  color: var(--white);
  text-align: center;
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* --- Header / Navbar --- */
.navbar-urban {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  padding: 0 1.5rem;
  height: 72px;
  z-index: 1030;
}
.navbar-urban .navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.navbar-logo {
  height: 44px;
  width: auto;
  object-fit: contain;
}
.footer-logo {
  height: 60px;
  width: auto;
  object-fit: contain;
}
.navbar-urban .nav-link {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-main);
  padding: 0.5rem 1rem !important;
  transition: var(--transition);
}
.navbar-urban .nav-link:hover,
.navbar-urban .nav-link.active { color: var(--primary); }

.nav-icon-btn {
  position: relative;
  padding: 0.5rem;
  border-radius: 50%;
  transition: var(--transition);
  color: var(--text-main);
  background: none;
  border: none;
  cursor: pointer;
}
.nav-icon-btn:hover { background: var(--primary-light); color: var(--primary); }

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

.search-input {
  background: #f5f2f0;
  border: none;
  border-radius: var(--radius);
  padding: 0.5rem 0.75rem 0.5rem 2.5rem;
  font-size: 0.875rem;
  width: 280px;
  transition: var(--transition);
}
.search-input:focus {
  outline: none;
  box-shadow: 0 0 0 2px var(--primary-light);
  background: var(--white);
}
.search-wrap { position: relative; }
.search-wrap .material-symbols-outlined {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 1.25rem;
}

/* --- Hero Banner --- */
.hero-banner {
  position: relative;
  width: 100%;
  min-height: 85vh;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.hero-banner .hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.hero-banner .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.15) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 2rem 0;
}
.hero-tag {
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}
.hero-title {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 900;
  color: var(--white);
  line-height: 0.9;
  letter-spacing: -0.05em;
  margin-bottom: 1.5rem;
}
.hero-text {
  color: #ccc;
  font-size: 1.15rem;
  max-width: 500px;
  margin-bottom: 2rem;
}

/* --- Buttons --- */
.btn-primary-urban {
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  padding: 0.875rem 2.5rem;
  font-weight: 700;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
  box-shadow: var(--shadow-primary);
  cursor: pointer;
}
.btn-primary-urban:hover {
  background: var(--primary-hover);
  color: var(--white);
  transform: translateY(-1px);
}
.btn-primary-urban:active { transform: scale(0.98); }

.btn-outline-urban {
  background: transparent;
  color: var(--text-main);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 0.75rem 2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
  cursor: pointer;
}
.btn-outline-urban:hover { border-color: var(--primary); color: var(--primary); }

.btn-dark-urban {
  background: var(--text-main);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  padding: 0.75rem 2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.75rem;
  transition: var(--transition);
  cursor: pointer;
}
.btn-dark-urban:hover { background: var(--primary); color: var(--white); }

/* --- Section Headers --- */
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2.5rem;
}
.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  font-style: italic;
  margin: 0;
}
.section-title::after {
  content: '';
  display: block;
  width: 50px;
  height: 4px;
  background: var(--primary);
  margin-top: 0.5rem;
  border-radius: 2px;
}
.section-link {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main);
  border-bottom: 2px solid var(--primary);
  padding-bottom: 2px;
}
.section-link:hover { color: var(--primary); }

/* --- Product Cards --- */
.product-card {
  cursor: pointer;
  transition: var(--transition);
}
.product-card:hover { transform: translateY(-4px); }
.product-card .card-img-wrap {
  position: relative;
  aspect-ratio: 3/4;
  background: #f2f2f2;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 1rem;
}
.product-card .card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.product-card:hover .card-img-wrap img { transform: scale(1.08); }

.product-badge {
  position: absolute;
  top: 0.75rem; left: 0.75rem;
  background: var(--white);
  color: var(--text-main);
  font-size: 0.6rem;
  font-weight: 700;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  text-transform: uppercase;
}
.product-badge.badge-primary {
  background: var(--primary);
  color: var(--white);
}

.quick-add-btn {
  position: absolute;
  bottom: 1rem; left: 1rem; right: 1rem;
  background: var(--white);
  color: var(--text-main);
  border: none;
  border-radius: var(--radius);
  padding: 0.75rem;
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  opacity: 0;
  transform: translateY(8px);
  transition: var(--transition);
  box-shadow: var(--shadow-lg);
  cursor: pointer;
}
.product-card:hover .quick-add-btn { opacity: 1; transform: translateY(0); }
.quick-add-btn:hover { background: var(--primary); color: var(--white); }

.product-name { font-weight: 700; font-size: 1rem; margin-bottom: 0.25rem; }
.product-category { color: var(--text-light); font-size: 0.8rem; margin-bottom: 0.25rem; }
.product-price { color: var(--primary); font-weight: 900; font-size: 1.15rem; }
.product-price-old { color: var(--text-muted); text-decoration: line-through; font-size: 0.95rem; font-weight: 400; }

/* --- CTA / Newsletter Banner --- */
.cta-banner {
  background: #000;
  border-radius: var(--radius-2xl);
  padding: 4rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(255,94,36,0.15) 0%, transparent 70%);
}
.cta-banner h3 { font-size: 2.5rem; font-weight: 900; color: var(--white); text-transform: uppercase; position: relative; }
.cta-banner p { color: #999; position: relative; max-width: 500px; margin: 1rem auto 2rem; }
.cta-form { position: relative; max-width: 500px; margin: 0 auto; display: flex; gap: 0.75rem; }
.cta-form input {
  flex: 1;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--white);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
}
.cta-form input::placeholder { color: #666; }
.cta-form input:focus { outline: none; border-color: var(--primary); }

/* --- Testimonial Cards --- */
.testimonial-card {
  background: #f9f7f6;
  padding: 2rem;
  border-radius: var(--radius-xl);
}
.testimonial-stars { display: flex; gap: 2px; color: var(--primary); margin-bottom: 1rem; }
.testimonial-text { color: var(--text-light); font-style: italic; margin-bottom: 1.5rem; font-size: 0.95rem; line-height: 1.6; }
.testimonial-author { display: flex; align-items: center; gap: 0.75rem; }
.testimonial-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  overflow: hidden;
  background: #ddd;
}
.testimonial-avatar img { width: 100%; height: 100%; object-fit: cover; }
.testimonial-name { font-weight: 700; font-size: 0.875rem; }
.testimonial-location { font-size: 0.75rem; color: var(--text-muted); }

/* --- Footer --- */
.footer-urban {
  background: var(--white);
  border-top: 1px solid var(--border-light);
  padding: 4rem 0 2rem;
}
.footer-urban h4 {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 1.5rem;
}
.footer-urban ul { list-style: none; padding: 0; margin: 0; }
.footer-urban ul li { margin-bottom: 0.75rem; }
.footer-urban ul li a { color: var(--text-light); font-size: 0.875rem; transition: var(--transition); }
.footer-urban ul li a:hover { color: var(--primary); }
.footer-brand { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 1.25rem; }
.footer-brand span { color: var(--primary); }
.footer-brand h2 { font-size: 1.15rem; font-weight: 900; font-style: italic; letter-spacing: -0.04em; margin: 0; }
.footer-desc { color: var(--text-light); font-size: 0.875rem; line-height: 1.6; }
.footer-social a {
  width: 40px; height: 40px;
  background: #f5f2f0;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  color: var(--text-main);
}
.footer-social a:hover { background: var(--primary); color: var(--white); }
.footer-bottom {
  border-top: 1px solid var(--border-light);
  padding-top: 1.5rem;
  margin-top: 3rem;
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* --- Breadcrumbs --- */
.breadcrumb-urban {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  padding: 1.5rem 0;
  margin: 0;
  list-style: none;
  background: none;
}
.breadcrumb-urban a { color: var(--text-muted); }
.breadcrumb-urban a:hover { color: var(--primary); }
.breadcrumb-urban .active { font-weight: 600; color: var(--primary); }
.breadcrumb-urban .separator { color: var(--text-muted); font-size: 0.75rem; }

/* --- Form Controls --- */
.form-control-urban {
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  height: 48px;
  transition: var(--transition);
}
.form-control-urban:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-light);
  outline: none;
}
.form-label-urban { font-size: 0.875rem; font-weight: 600; margin-bottom: 0.5rem; }

/* --- Responsive --- */
@media (max-width: 991.98px) {
  .hero-banner { min-height: 70vh; }
  .hero-title { font-size: 3rem; }
  .cta-banner h3 { font-size: 1.75rem; }
  .cta-form { flex-direction: column; }
  .search-input { width: 200px; }
}
@media (max-width: 767.98px) {
  .hero-banner { min-height: 60vh; }
  .hero-title { font-size: 2.5rem; }
  .section-header { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .navbar-urban { height: 60px; padding: 0 1rem; }
  .search-input { display: none; }
}

/* --- Animations --- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-in { animation: fadeInUp 0.6s ease forwards; }

/* --- Floating WhatsApp Button --- */
.whatsapp-float {
  position: fixed;
  width: 56px;
  height: 56px;
  bottom: 24px;
  right: 24px;
  background-color: #25d366;
  color: #ffffff !important;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3), 0 8px 32px rgba(0, 0, 0, 0.15);
  z-index: 9999;
  transition: var(--transition);
  cursor: pointer;
  text-decoration: none;
}
.whatsapp-float:hover {
  background-color: #20ba5a;
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4), 0 12px 40px rgba(0, 0, 0, 0.2);
}
.whatsapp-float svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}
@media (max-width: 767.98px) {
  .whatsapp-float {
    width: 48px;
    height: 48px;
    bottom: 16px;
    right: 16px;
  }
  .whatsapp-float svg {
    width: 24px;
    height: 24px;
  }
}
