/* ========================================
   SCENT - Perfume Shop CSS
   ======================================== */

/* CSS Variables */
:root {
  --primary: #e11d48;
  --primary-dark: #be123c;
  --secondary: #be123c;
  --bg: #f9fafb;
  --card-bg: #ffffff;
  --text: #111827;
  --text-muted: #6b7280;
  --border: #e5e7eb;
  --nav-bg: #f8f9fa;
  --hero-bg: #f0f2f5;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

a {
  text-decoration: none;
  color: inherit;
}

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

ul, ol {
  list-style: none;
}

/* Container */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* ========================================
   Navigation
   ======================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--nav-bg);
  box-shadow: var(--shadow);
}

.nav-top {
  background: var(--nav-bg);
  padding: 0.75rem 0;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
  max-width: 1280px;
  margin: 0 auto;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-circle {
  width: 36px;
  height: 36px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
}

.nav-search {
  display: flex;
  align-items: center;
  background: white;
  border: 1px solid var(--border);
  border-radius: 25px;
  padding: 0.5rem 1rem;
  width: 350px;
}

.nav-search:focus-within {
  border-color: var(--primary);
}

.search-input-field {
  flex: 1;
  border: none;
  outline: none;
  font-size: 0.9rem;
  background: transparent;
}

.search-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  padding: 0;
  display: flex;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-phone {
  font-size: 0.9rem;
  color: var(--text);
  font-weight: 500;
}

.nav-phone:hover {
  color: var(--primary);
}

.nav-icon-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text);
  padding: 0.5rem;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-icon-btn:hover {
  color: var(--primary);
}

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

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.hamburger span {
  width: 25px;
  height: 2px;
  background: var(--text);
  transition: var(--transition);
}

/* Bottom Navigation */
.nav-bottom {
  background: var(--nav-bg);
  border-top: 1px solid var(--border);
}

.nav-bottom .nav-menu {
  display: flex;
  gap: 2rem;
  padding: 0.75rem 0;
}

.nav-bottom .nav-link {
  font-size: 0.9rem;
  color: var(--text);
  font-weight: 500;
  position: relative;
  padding: 0.25rem 0;
}

.nav-bottom .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
}

.nav-bottom .nav-link:hover::after,
.nav-bottom .nav-link.active::after {
  width: 100%;
}

.nav-bottom .nav-link.active {
  color: var(--primary);
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: white;
  z-index: 200;
  padding: 1rem;
}

.mobile-menu.active {
  display: block;
}

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.mobile-menu-close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-nav-link {
  display: block;
  padding: 1rem 0;
  font-size: 1.1rem;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
  background: var(--hero-bg);
  padding: 0;
}

.hero-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  min-height: 400px;
}

.hero-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem;
}

.hero-title {
  font-size: 4rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.hero-tagline {
  font-size: 1.5rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.hero-tagline .highlight {
  color: var(--primary);
  font-weight: 600;
}

.hero-btn {
  display: inline-block;
  background: var(--primary);
  color: white;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
  width: fit-content;
}

.hero-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.hero-image {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-height: 450px;
}

/* ========================================
   Section Titles
   ======================================== */
.section-title {
  font-size: 28px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 2.5rem;
  position: relative;
  padding-bottom: 1rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--primary);
}

/* ========================================
   Categories
   ======================================== */
.categories {
  background: white;
  padding: 80px 0;
}

.categories-grid {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: var(--transition);
}

.category-card:hover {
  transform: scale(1.05);
}

.category-circle {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  border: 3px solid var(--border);
  overflow: hidden;
  transition: var(--transition);
}

.category-card:hover .category-circle {
  border-color: var(--primary);
}

.category-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-name {
  margin-top: 0.75rem;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
}

/* ========================================
   Products Section
   ======================================== */
.products-section {
  padding: 80px 0;
  background: var(--bg);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
}

.product-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.product-image {
  position: relative;
  aspect-ratio: 1;
  background: #f9fafb;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--primary);
  color: white;
}

.product-badge.best-seller {
  background: #10b981;
}

.product-badge.iconic {
  background: #8b5cf6;
}

.product-gender {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 600;
  background: rgba(0,0,0,0.7);
  color: white;
}

.product-actions {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  opacity: 0;
  transition: var(--transition);
}

.product-card:hover .product-actions {
  opacity: 1;
}

.product-action-btn {
  padding: 0.5rem 0.75rem;
  border: none;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.product-action-btn.add-cart {
  background: var(--primary);
  color: white;
}

.product-action-btn.add-cart:hover {
  background: var(--primary-dark);
}

.product-action-btn.whatsapp {
  background: #25d366;
  color: white;
}

.product-action-btn.whatsapp:hover {
  background: #128c7e;
}

.product-action-btn.favorite {
  background: white;
  color: var(--text-muted);
  padding: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-action-btn.favorite.active {
  color: var(--primary);
}

.product-action-btn.favorite.active svg {
  fill: var(--primary);
}

.product-info {
  padding: 1rem;
}

.product-brand {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.product-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.product-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin-bottom: 0.5rem;
}

.note-pill {
  font-size: 0.7rem;
  padding: 0.2rem 0.5rem;
  background: #f3f4f6;
  color: var(--text-muted);
  border-radius: 4px;
}

.product-sizes {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 0.5rem;
}

.size-pill {
  font-size: 0.7rem;
  padding: 0.2rem 0.5rem;
  background: #f3f4f6;
  color: var(--text-muted);
  border-radius: 4px;
}

.product-price {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.price-current {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
}

.price-original {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

/* ========================================
   Brands Section
   ======================================== */
.brands-section {
  padding: 80px 0;
  background: white;
}

.brands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 1.5rem;
}

.brand-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
}

.brand-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
}

.brand-card img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 0.5rem;
}

.brand-card-name {
  font-size: 0.8rem;
  text-align: center;
  color: var(--text-muted);
}

/* ========================================
   FAQ Section
   ======================================== */
.faq-section {
  padding: 80px 0;
  background: var(--bg);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: white;
  border-radius: var(--radius);
  margin-bottom: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.faq-question {
  width: 100%;
  padding: 1.25rem;
  background: none;
  border: none;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question:hover {
  color: var(--primary);
}

.faq-icon {
  transition: var(--transition);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer-content {
  padding: 0 1.25rem 1.25rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ========================================
   Footer
   ======================================== */
.footer {
  background: #1f2937;
  color: white;
  padding: 4rem 0 0;
}

.footer-grid {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
}

.footer-brand h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.footer-brand p {
  color: #9ca3af;
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: #9ca3af;
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: white;
}

.footer-contact p {
  color: #9ca3af;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.footer-contact a {
  color: #9ca3af;
}

.footer-contact a:hover {
  color: var(--primary);
}

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.5rem 1rem;
  border-top: 1px solid #374151;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copyright {
  color: #9ca3af;
  font-size: 0.85rem;
}

.footer-payments {
  display: flex;
  gap: 1rem;
}

.payment-icon {
  color: #9ca3af;
  font-size: 0.85rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.social-link {
  color: #9ca3af;
  transition: var(--transition);
}

.social-link:hover {
  color: var(--primary);
}

/* ========================================
   Search Modal
   ======================================== */
.search-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 150;
  align-items: flex-start;
  justify-content: center;
  padding-top: 100px;
}

.search-overlay.active {
  display: flex;
}

.search-modal {
  background: white;
  border-radius: var(--radius);
  width: 90%;
  max-width: 600px;
  max-height: 70vh;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.search-input-wrapper {
  display: flex;
  align-items: center;
  padding: 1rem;
  border-bottom: 1px solid var(--border);
  gap: 0.75rem;
}

.search-input-wrapper svg {
  color: var(--text-muted);
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  min-width: 20px;
  min-height: 20px;
}

.search-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 1rem;
}

.search-close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  padding: 0.25rem;
}

.search-results {
  max-height: 400px;
  overflow-y: auto;
}

.search-result-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1rem;
  cursor: pointer;
  transition: var(--transition);
}

.search-result-item:hover {
  background: #f9fafb;
}

.search-result-item img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 4px;
}

.search-result-info {
  flex: 1;
}

.search-result-name {
  font-weight: 600;
  font-size: 0.9rem;
}

.search-result-brand {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.search-result-price {
  color: var(--primary);
  font-weight: 600;
}

/* ========================================
   Cart Sidebar
   ======================================== */
.cart-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 150;
}

.cart-overlay.active {
  display: block;
}

.cart-sidebar {
  position: fixed;
  top: 0;
  right: -400px;
  width: 400px;
  max-width: 100%;
  height: 100%;
  background: white;
  z-index: 151;
  display: flex;
  flex-direction: column;
  transition: right 0.3s ease;
}

.cart-sidebar.active {
  right: 0;
}

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem;
  border-bottom: 1px solid var(--border);
}

.cart-header h3 {
  font-size: 1.25rem;
}

.cart-close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  padding: 0.25rem;
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
}

.cart-empty {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--text-muted);
}

.cart-empty svg {
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
}

.cart-item {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

.cart-item-image {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}

.cart-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-details {
  flex: 1;
}

.cart-item-name {
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

.cart-item-size {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.cart-item-price {
  font-weight: 600;
  color: var(--primary);
}

.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.qty-btn {
  width: 28px;
  height: 28px;
  border: 1px solid var(--border);
  background: white;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qty-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.qty-value {
  font-weight: 600;
  min-width: 20px;
  text-align: center;
}

.cart-item-remove {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.8rem;
  cursor: pointer;
  margin-top: 0.5rem;
}

.cart-item-remove:hover {
  color: var(--primary);
}

.cart-footer {
  padding: 1.25rem;
  border-top: 1px solid var(--border);
}

.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.cart-total-label {
  font-weight: 600;
}

.cart-total-value {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
}

.cart-checkout-btn {
  width: 100%;
  padding: 1rem;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: var(--radius);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.cart-checkout-btn:hover {
  background: var(--primary-dark);
}

/* ========================================
   Favorites Sidebar
   ======================================== */
.favorites-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 150;
}

.favorites-overlay.active {
  display: block;
}

.favorites-sidebar {
  position: fixed;
  top: 0;
  right: -400px;
  width: 400px;
  max-width: 100%;
  height: 100%;
  background: white;
  z-index: 151;
  display: flex;
  flex-direction: column;
  transition: right 0.3s ease;
}

.favorites-sidebar.active {
  right: 0;
}

.favorites-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem;
  border-bottom: 1px solid var(--border);
}

.favorites-header h3 {
  font-size: 1.25rem;
}

.favorites-close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  padding: 0.25rem;
}

.favorites-items {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
}

.favorites-empty {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--text-muted);
}

.favorite-item {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

.favorite-item-image {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}

.favorite-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.favorite-item-details {
  flex: 1;
}

.favorite-item-name {
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

.favorite-item-brand {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.favorite-item-price {
  font-weight: 600;
  color: var(--primary);
}

.favorite-item-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.favorite-item-btn {
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
}

.favorite-item-btn.add-cart {
  background: var(--primary);
  color: white;
}

.favorite-item-btn.remove {
  background: #f3f4f6;
  color: var(--text-muted);
}

/* ========================================
   Product Modal
   ======================================== */
.product-modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.7);
  z-index: 200;
}

.product-modal-overlay.active {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.product-modal {
  background: white;
  border-radius: var(--radius);
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}

.product-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: white;
  border: none;
  cursor: pointer;
  z-index: 10;
  padding: 0.5rem;
  border-radius: 50%;
  box-shadow: var(--shadow);
}

.product-modal-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  padding: 2rem;
}

.product-modal-image img {
  width: 100%;
  border-radius: var(--radius);
}

.product-modal-info h2 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.product-modal-brand {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.product-modal-brand a {
  color: var(--primary);
}

.product-modal-meta {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.product-modal-badge {
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--primary);
  color: white;
}

.product-modal-gender {
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  background: #f3f4f6;
  color: var(--text-muted);
}

.product-modal-size-selector {
  margin-bottom: 1.5rem;
}

.product-modal-size-title {
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.product-modal-sizes {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.product-modal-size {
  padding: 0.75rem 1.5rem;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.product-modal-size:hover {
  border-color: var(--primary);
}

.product-modal-size.active {
  border-color: var(--primary);
  background: var(--primary);
  color: white;
}

.product-modal-size-name {
  font-weight: 600;
  font-size: 0.9rem;
}

.product-modal-size-price {
  font-size: 0.8rem;
  opacity: 0.8;
}

.product-modal-price {
  margin-bottom: 1.5rem;
}

.product-modal-price-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

.product-modal-actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.btn-add-cart-modal {
  flex: 1;
  padding: 1rem;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.btn-add-cart-modal:hover {
  background: var(--primary-dark);
}

.btn-whatsapp-modal {
  padding: 1rem 1.5rem;
  background: #25d366;
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
}

.btn-whatsapp-modal:hover {
  background: #128c7e;
}

.btn-favorite-modal {
  padding: 1rem;
  background: #f3f4f6;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}

.btn-favorite-modal.active {
  background: var(--primary);
  color: white;
}

.product-modal-description {
  margin-bottom: 1.5rem;
}

.product-modal-description h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.product-modal-description p {
  color: var(--text-muted);
  line-height: 1.7;
}

.product-modal-notes {
  margin-bottom: 1.5rem;
}

.product-modal-notes h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.product-modal-notes-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.product-modal-note {
  padding: 0.5rem 1rem;
  background: #f3f4f6;
  border-radius: 20px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ========================================
   Floating Buttons
   ======================================== */
.floating-buttons {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  z-index: 50;
}

.floating-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
}

.floating-btn:hover {
  transform: scale(1.1);
}

.floating-btn.whatsapp {
  background: #25d366;
  color: white;
}

.floating-btn.phone {
  background: var(--primary);
  color: white;
}

/* ========================================
   Toast Notification
   ======================================== */
.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #1f2937;
  color: white;
  padding: 1rem 2rem;
  border-radius: var(--radius);
  font-weight: 500;
  z-index: 300;
  opacity: 0;
  transition: all 0.3s ease;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.toast.success {
  background: #10b981;
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 1024px) {
  .hero-container {
    flex-direction: column;
  }
  
  .hero-content {
    padding: 2rem;
    text-align: center;
  }
  
  .hero-title {
    font-size: 3rem;
  }
  
  .hero-btn {
    margin: 0 auto;
  }
  
  .hero-image {
    height: 300px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .product-modal-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-search {
    display: none;
  }
  
  .nav-phone {
    display: none;
  }
  
  .hamburger {
    display: flex;
  }
  
  .nav-bottom {
    display: none;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-tagline {
    font-size: 1.2rem;
  }
  
  .categories-grid {
    gap: 1rem;
  }
  
  .category-circle {
    width: 90px;
    height: 90px;
  }
  
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .brands-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .floating-buttons {
    bottom: 1rem;
    right: 1rem;
  }
  
  .floating-btn {
    width: 48px;
    height: 48px;
  }
}

@media (max-width: 480px) {
  .products-grid {
    grid-template-columns: 1fr;
  }
  
  .brands-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .cart-sidebar,
  .favorites-sidebar {
    width: 100%;
    right: -100%;
  }
}

/* ========================================
   Product Detail Page
   ======================================== */
.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.product-detail-image {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.product-detail-image img {
  width: 100%;
  height: auto;
  display: block;
}

.product-detail-info h1 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.product-brand-link {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.product-brand-link a {
  color: var(--primary);
}

.product-detail-badges {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.detail-badge {
  padding: 0.35rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  background: var(--primary);
  color: white;
}

.detail-badge.best-seller {
  background: #10b981;
}

.detail-badge.iconic {
  background: #8b5cf6;
}

.detail-gender {
  padding: 0.35rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  background: #f3f4f6;
  color: var(--text-muted);
}

.size-selector-detail {
  margin-bottom: 1.5rem;
}

.size-selector-detail h3 {
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

.size-options-detail {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.size-option-detail {
  padding: 0.75rem 1.25rem;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.size-option-detail:hover {
  border-color: var(--primary);
}

.size-option-detail.active {
  border-color: var(--primary);
  background: var(--primary);
  color: white;
}

.size-option-detail .size-name {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
}

.size-option-detail .size-price {
  display: block;
  font-size: 0.8rem;
  opacity: 0.8;
  margin-top: 0.25rem;
}

.product-detail-price {
  margin-bottom: 1.5rem;
}

.product-detail-price .current-price {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary);
}

.product-detail-price .original-price {
  font-size: 1.1rem;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-left: 0.75rem;
}

.product-detail-actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.btn-add-to-cart {
  flex: 1;
  min-width: 150px;
  padding: 1rem 1.5rem;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
}

.btn-add-to-cart:hover {
  background: var(--primary-dark);
}

.btn-whatsapp-order {
  padding: 1rem 1.5rem;
  background: #25d366;
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
}

.btn-whatsapp-order:hover {
  background: #128c7e;
}

.btn-favorite-detail {
  width: 50px;
  height: 50px;
  background: #f3f4f6;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.btn-favorite-detail.active {
  background: var(--primary);
  color: white;
}

.product-description-detail {
  margin-bottom: 1.5rem;
}

.product-description-detail h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.product-description-detail p {
  color: var(--text-muted);
  line-height: 1.7;
}

.product-notes-detail h3 {
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

.notes-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.note-tag {
  padding: 0.5rem 1rem;
  background: #f3f4f6;
  border-radius: 20px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .product-detail-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ========================================
   Login Page
   ======================================== */
.login-page {
  min-height: calc(100vh - 200px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: var(--bg);
}

.login-container {
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 420px;
  padding: 2.5rem;
}

.login-header {
  text-align: center;
  margin-bottom: 2rem;
}

.login-header .nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.login-header h1 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.login-header p {
  color: var(--text-muted);
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 500;
}

.form-group input {
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  transition: var(--transition);
}

.form-group input:focus {
  outline: none;
  border-color: var(--primary);
}

.form-group .forgot-password {
  font-size: 0.85rem;
  color: var(--primary);
  text-align: right;
  margin-top: 0.25rem;
}

.btn-login {
  padding: 1rem;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  margin-top: 0.5rem;
}

.btn-login:hover {
  background: var(--primary-dark);
}

.login-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.5rem 0;
}

.login-divider::before,
.login-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.login-divider span {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.btn-whatsapp-login {
  padding: 1rem;
  background: #25d366;
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: var(--transition);
}

.btn-whatsapp-login:hover {
  background: #128c7e;
}

.login-footer {
  text-align: center;
  margin-top: 1.5rem;
  color: var(--text-muted);
}

.login-footer a {
  color: var(--primary);
  font-weight: 500;
}

/* ========================================
   Dashboard Page
   ======================================== */
.dashboard-page {
  padding: 3rem 0;
  background: var(--bg);
  min-height: calc(100vh - 200px);
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2rem;
}

.dashboard-sidebar {
  background: white;
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  height: fit-content;
}

.dashboard-user {
  text-align: center;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.5rem;
}

.dashboard-avatar {
  width: 80px;
  height: 80px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  margin: 0 auto 1rem;
}

.dashboard-user h3 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.dashboard-user p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.dashboard-nav-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  color: var(--text);
  cursor: pointer;
  transition: var(--transition);
  margin-bottom: 0.5rem;
}

.dashboard-nav-item:hover,
.dashboard-nav-item.active {
  background: #f3f4f6;
  color: var(--primary);
}

.dashboard-nav-item svg {
  width: 20px;
  height: 20px;
}

.dashboard-content {
  background: white;
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.dashboard-section {
  display: none;
}

.dashboard-section.active {
  display: block;
}

.dashboard-section h2 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.order-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  margin-bottom: 1rem;
}

.order-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.order-id {
  font-weight: 600;
}

.order-status {
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.order-status.pending {
  background: #fef3c7;
  color: #d97706;
}

.order-status.processing {
  background: #dbeafe;
  color: #2563eb;
}

.order-status.completed {
  background: #d1fae5;
  color: #059669;
}

.order-items-list {
  margin-bottom: 1rem;
}

.order-item {
  display: flex;
  gap: 1rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
}

.order-item:last-child {
  border-bottom: none;
}

.order-item img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 4px;
}

.order-item-details h4 {
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.order-item-details p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.order-total {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}

.empty-state {
  text-align: center;
  padding: 3rem;
  color: var(--text-muted);
}

.empty-state svg {
  width: 64px;
  height: 64px;
  margin-bottom: 1rem;
  opacity: 0.5;
}

@media (max-width: 768px) {
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
  
  .dashboard-sidebar {
    display: flex;
    overflow-x: auto;
    gap: 0.5rem;
    padding: 1rem;
  }
  
  .dashboard-nav-item {
    white-space: nowrap;
    margin-bottom: 0;
  }
}

/* ========================================
   Checkout Page
   ======================================== */
.checkout-page {
  padding: 3rem 0;
  background: var(--bg);
}

.checkout-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 2rem;
}

.checkout-form {
  background: white;
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.checkout-form h2 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.checkout-section {
  margin-bottom: 2rem;
}

.checkout-section h3 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.checkout-section h3 svg {
  color: var(--primary);
}

.checkout-summary {
  background: white;
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  height: fit-content;
  position: sticky;
  top: 100px;
}

.checkout-summary h3 {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.checkout-items {
  margin-bottom: 1.5rem;
  max-height: 300px;
  overflow-y: auto;
}

.checkout-item {
  display: flex;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
}

.checkout-item:last-child {
  border-bottom: none;
}

.checkout-item img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 4px;
}

.checkout-item-info {
  flex: 1;
}

.checkout-item-info h4 {
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

.checkout-item-info p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.checkout-item-price {
  font-weight: 600;
  color: var(--primary);
}

.checkout-totals {
  border-top: 1px solid var(--border);
  padding-top: 1rem;
}

.checkout-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
}

.checkout-row.total {
  font-size: 1.1rem;
  font-weight: 700;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.checkout-row.total span:last-child {
  color: var(--primary);
}

.btn-place-order {
  width: 100%;
  padding: 1rem;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  margin-top: 1.5rem;
  transition: var(--transition);
}

.btn-place-order:hover {
  background: var(--primary-dark);
}

@media (max-width: 1024px) {
  .checkout-grid {
    grid-template-columns: 1fr;
  }
  
  .checkout-summary {
    position: static;
  }
}

/* ========================================
   Size Selection Modal
   ======================================== */
.size-modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 200;
  align-items: center;
  justify-content: center;
}

.size-modal {
  background: white;
  border-radius: var(--radius);
  width: 90%;
  max-width: 400px;
  position: relative;
  overflow: hidden;
}

.size-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 10;
  padding: 0.5rem;
  color: var(--text-muted);
}

.size-modal-close:hover {
  color: var(--text);
}

.size-modal-content {
  display: flex;
  flex-direction: column;
}

.size-modal-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.size-modal-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.size-modal-info {
  padding: 1.5rem;
}

.size-modal-info h3 {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.size-modal-brand {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.size-modal-sizes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.size-modal-option {
  padding: 0.75rem 1rem;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  flex: 1;
  min-width: 80px;
}

.size-modal-option:hover {
  border-color: var(--primary);
}

.size-modal-option.active {
  border-color: var(--primary);
  background: var(--primary);
  color: white;
}

.size-modal-size-name {
  display: block;
  font-weight: 600;
  font-size: 0.85rem;
}

.size-modal-size-price {
  display: block;
  font-size: 0.75rem;
  opacity: 0.8;
  margin-top: 0.25rem;
}

.size-modal-price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1rem;
}

.size-modal .btn-add-to-cart {
  width: 100%;
  padding: 1rem;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.size-modal .btn-add-to-cart:hover {
  background: var(--primary-dark);
}
