

:root {
  /* VoidNix Brand Colors - Pull&Bear Inspired */
  --accent: #9333ea; /* Roxo principal */
  --accent-hover: #7e22ce; /* Roxo escuro */
  --accent-light: #a855f7; /* Roxo claro */
  --accent-ultra: #c084fc; /* Roxo ultra claro */
  --dark: #000000; /* Preto puro */
  --dark-soft: #0a0a0a; /* Preto suave */
  --dark-card: #111111; /* Cards */
  --muted: #737373;
  --bg: #ffffff; /* Fundo branco clean */
  --card: #f9f9f9; /* Cards cinza claríssimo */
  --border: #e5e5e5; /* Bordas claras */
  --border-dark: #1a1a1a; /* Bordas escuras */
  --text: #000000; /* Texto preto */
  --text-light: #525252; /* Texto cinza */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.15);
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s ease;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

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

html, body {
  height: 100%;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body::before {
  display: none;
}

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

a:hover {
  opacity: 0.7;
}

img {
  max-width: 100%;
  display: block;
}

button {
  font-family: inherit;
  transition: var(--transition);
}

button:hover:not(:disabled) {
  transform: translateY(-2px);
}

button:active:not(:disabled) {
  transform: translateY(0);
}

button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Scrollbar personalizada */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--card);
  border-radius: 0;
}

::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 0;
  border: none;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--text-light);
  box-shadow: none;
}

/* Seleção de texto */
::selection {
  background: var(--accent);
  color: white;
}

/* Acessibilidade */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Layout principal */
.container {
  max-width: 1400px;
  padding: 0 40px;
  width: 100%;
  margin: 0 auto;
}

main.container {
  padding-top: 40px;
  padding-bottom: 80px;
}

header {
  background: #ffffff;
  padding: 0;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  height: 70px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  font-weight: 900;
  font-size: 24px;
  letter-spacing: -0.5px;
  margin: 0;
  transition: var(--transition);
  cursor: pointer;
  text-transform: uppercase;
}

.brand:hover {
  opacity: 0.7;
}

.brand > div:first-of-type {
  color: var(--text);
}

.brand .logo {
  width: 36px;
  height: 36px;
  border-radius: 0;
  object-fit: contain;
  filter: none;
}

.tagline {
  font-size: 9px;
  color: var(--muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.nav-links {
  display: flex;
  gap: 40px;
  align-items: center;
}

.nav-links a {
  padding: 0;
  border-radius: 0;
  font-weight: 600;
  color: var(--text);
  font-size: 14px;
  letter-spacing: 0.5px;
  transition: var(--transition);
  text-transform: uppercase;
  position: relative;
}

.nav-links a::before {
  display: none;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -25px;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--accent);
  transition: var(--transition);
}

.nav-links a.active::after,
.nav-links a:hover::after {
  width: 100%;
}

.nav-links a.active {
  color: var(--text);
  background: transparent;
  box-shadow: none;
}

.nav-links a:hover {
  color: var(--accent);
  background: transparent;
  box-shadow: none;
  transform: none;
}

.search-cart {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: flex-end;
}

.search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  padding: 0;
  border-radius: 0;
  border: none;
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
  box-shadow: none;
}

.search:focus-within {
  border-color: var(--accent);
  box-shadow: none;
  transform: none;
}

.search input {
  border: 0;
  background: transparent;
  outline: none;
  width: 180px;
  font-weight: 400;
  color: var(--text);
  font-size: 14px;
  text-align: left;
  padding: 8px 0;
}

.search input::placeholder {
  color: var(--muted);
  text-align: left;
}

.user-btn {
  background: transparent;
  color: var(--text);
  padding: 8px;
  border-radius: 0;
  border: none;
  cursor: pointer;
  font-size: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  flex-shrink: 0;
}

.user-btn:hover {
  background: transparent;
  color: var(--accent);
  border-color: transparent;
  box-shadow: none;
  transform: none;
}

.cart-btn {
  background: var(--accent);
  color: #ffffff;
  padding: 12px 24px;
  border-radius: 0;
  border: none;
  cursor: pointer;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  box-shadow: none;
  transition: var(--transition);
  text-transform: uppercase;
}

.cart-btn:hover {
  background: var(--accent-hover);
  box-shadow: none;
  transform: none;
}

.cart-btn::before {
  display: none;
}

/* Tabs e filtros */
.main-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 40px 0 60px;
  padding: 0;
  border-bottom: 1px solid var(--border);
}

.tabs {
  display: flex;
  gap: 40px;
  overflow-x: auto;
  padding-bottom: 0;
}

.tabs::-webkit-scrollbar {
  height: 0;
}

.tab {
  padding: 0 0 20px 0;
  background: transparent;
  border-radius: 0;
  cursor: pointer;
  font-weight: 600;
  white-space: nowrap;
  border: none;
  border-bottom: 3px solid transparent;
  transition: var(--transition);
  font-size: 14px;
  color: var(--text-light);
  position: relative;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.tab::before {
  display: none;
}

.tab:hover::before {
  display: none;
}

.tab:hover {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
  transform: none;
  box-shadow: none;
}

.tab.active {
  background: transparent;
  color: var(--text);
  border-color: var(--accent);
  box-shadow: none;
  transform: none;
}

/* Filtros inline */
.filters-inline {
  position: relative;
}

.filter-btn {
  background: transparent;
  border: 1px solid var(--border);
  padding: 12px 20px;
  border-radius: 0;
  cursor: pointer;
  font-weight: 600;
  font-size: 13px;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  box-shadow: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.filter-btn:hover {
  background: var(--text);
  color: #ffffff;
  border-color: var(--text);
  box-shadow: none;
  transform: none;
}

.filter-btn .arrow {
  font-size: 12px;
  transition: var(--transition);
}

.filter-btn.active .arrow {
  transform: rotate(90deg);
}

.filter-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 8px;
  background: var(--card);
  border: 1px solid var(--accent);
  border-radius: 8px;
  padding: 12px;
  min-width: 200px;
  display: none;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 4px 20px rgba(139, 92, 246, 0.3);
  z-index: 10;
}

.filter-dropdown.show {
  display: flex;
}

.filter-dropdown label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-weight: 400;
  font-size: 13px;
  color: var(--text);
  padding: 4px 0;
}

.filter-checkbox {
  width: 16px;
  height: 16px;
  cursor: pointer;
  accent-color: var(--text);
}

.layout {
  display: block;
}

.products-section {
  width: 100%;
}

aside {
  display: none;
}

.product-count {
  margin-bottom: 32px;
  color: var(--text-light);
  font-weight: 400;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Produtos */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 40px 24px;
}

/* Separadores de categoria */
.category-separator {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 60px 0 50px;
}

.separator-line {
  flex: 1;
  height: 1px;
  background: var(--border);
}

.separator-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  padding: 0;
  text-transform: uppercase;
  letter-spacing: 2px;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.separator-title::before {
  display: none;
}

.card {
  background: transparent;
  border-radius: 0;
  padding: 0;
  overflow: visible;
  box-shadow: none;
  position: relative;
  transition: var(--transition);
}

.card:hover {
  box-shadow: none;
  transform: none;
}

.product-image-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 0;
  cursor: pointer;
  background: var(--card);
  margin-bottom: 16px;
  aspect-ratio: 3/4;
  border: none;
  transition: var(--transition);
  box-shadow: none;
}

.product-image-wrapper:hover {
  border-color: transparent;
  box-shadow: none;
  transform: none;
}

.product-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.product-image-wrapper:hover .product-overlay {
  opacity: 1;
}

.view-details {
  color: white;
  font-weight: 700;
  font-size: 12px;
  padding: 14px 32px;
  border: 2px solid white;
  border-radius: 0;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  background: transparent;
  box-shadow: none;
}

.view-details:hover {
  background: white;
  color: var(--text);
  border-color: white;
  box-shadow: none;
  transform: none;
}

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 6px 12px;
  border-radius: 0;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  z-index: 5;
  letter-spacing: 1px;
  line-height: 1;
  display: inline-block;
  box-shadow: none;
}

.product-image-wrapper .badge-new,
.badge-new {
  background: var(--accent) !important;
  color: #ffffff !important;
  border: none !important;
  box-shadow: none !important;
  animation: none;
}

.product-image-wrapper .badge-sale,
.badge-sale {
  background: var(--text) !important;
  color: #ffffff !important;
  border: none !important;
  box-shadow: none !important;
}

.product-image-wrapper .badge-out-of-stock,
.badge-out-of-stock {
  background: #dc2626 !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  border: none !important;
  box-shadow: none !important;
}

.product-image-wrapper .badge-low-stock,
.badge-low-stock {
  background: #fbbf24 !important;
  color: #000000 !important;
  font-weight: 700 !important;
  border: none !important;
  box-shadow: none !important;
}

.thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  background: var(--card);
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: translateZ(0);
  -webkit-font-smoothing: subpixel-antialiased;
}

.product-title {
  font-size: 14px;
  margin: 0 0 6px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--text);
  letter-spacing: 0;
  transition: var(--transition-fast);
  text-transform: uppercase;
}

.card:hover .product-title {
  color: var(--text);
}

.price {
  font-weight: 700;
  color: var(--text);
  font-size: 15px;
}

.old {
  font-weight: 500;
  color: var(--muted);
  text-decoration: line-through;
  margin-left: 8px;
}

.size-select {
  margin-top: 12px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.size-btn {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 0;
  padding: 10px 16px;
  cursor: pointer;
  font-weight: 600;
  font-size: 12px;
  transition: var(--transition);
  color: var(--text);
  box-shadow: none;
}

.size-btn:hover {
  border-color: var(--text);
  background: #ffffff;
  box-shadow: none;
  transform: none;
}

.size-btn.selected {
  background: var(--text);
  color: #ffffff;
  border-color: var(--text);
  box-shadow: none;
  transform: none;
}

/* Tooltip de medidas dos tamanhos */
.size-guide-tooltip {
  position: absolute;
  z-index: 1000;
  margin-top: 8px;
  background: var(--card);
  border: 1px solid var(--accent);
  border-radius: 8px;
  padding: 0;
  box-shadow: 0 4px 20px rgba(139, 92, 246, 0.3);
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  pointer-events: none;
  min-width: 250px;
}

.size-guide-tooltip.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.size-tooltip-content {
  padding: 0;
}

.size-tooltip-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
  border-radius: 8px 8px 0 0;
  color: white;
}

.size-tooltip-header strong {
  font-size: 14px;
  font-weight: 600;
}

.close-tooltip {
  background: transparent;
  border: none;
  color: white;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.close-tooltip:hover {
  opacity: 1;
  transform: none;
}

.size-measurements {
  padding: 16px;
}

.measurement-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid rgba(139, 92, 246, 0.1);
  font-size: 13px;
}

.measurement-row:last-child {
  border-bottom: none;
}

.measurement-row span:first-child {
  color: var(--text-muted);
  font-weight: 500;
}

.measurement-row span:last-child {
  color: var(--accent-light);
  font-weight: 600;
}

.add-btn {
  margin-top: 12px;
  width: 100%;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
  color: #ffffff;
  padding: 12px 24px;
  border-radius: 12px;
  border: 2px solid var(--accent);
  cursor: pointer;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(168, 85, 247, 0.4);
}

.add-btn:hover {
  background: linear-gradient(135deg, var(--accent-hover) 0%, #7e22ce 100%);
  box-shadow: 0 6px 30px rgba(168, 85, 247, 0.6), 0 0 40px rgba(168, 85, 247, 0.3);
  transform: translateY(-3px);
}

.no-results {
  text-align: center;
  padding: 80px 20px;
  color: var(--text-light);
  background: transparent;
  border-radius: 0;
  border: none;
  margin: 40px 0;
}

.no-results p {
  font-size: 16px;
  font-weight: 400;
  color: var(--text-light);
}

/* Footer */
footer {
  margin-top: 100px;
  padding: 40px 0;
  color: var(--text-light);
  font-size: 13px;
  border-top: 1px solid var(--border);
  background: transparent;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-links a {
  transition: var(--transition);
  font-size: 13px;
  font-weight: 500;
  position: relative;
}

.footer-links a::after {
  content: '';\n  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-light) 100%);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--accent-light);
}

.footer-links a:hover::after {
  width: 100%;
}

/* Carrinho */
.cart-drawer {
  position: fixed;
  right: 0;
  top: 0;
  width: 450px;
  height: 100vh;
  background: #ffffff;
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
  border-radius: 0;
  padding: 0;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  z-index: 100;
  display: flex;
  flex-direction: column;
  border: none;
}

.cart-drawer.open {
  transform: translateX(0);
}

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

.cart-header h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.close-btn {
  background: transparent;
  border: none;
  font-size: 24px;
  font-weight: 300;
  cursor: pointer;
  color: var(--text);
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  transition: var(--transition);
}

.close-btn:hover {
  background: transparent;
  color: var(--text-light);
  box-shadow: none;
  transform: none;
}

.cart-items-container {
  flex: 1;
  overflow-y: auto;
  padding: 30px;
  background: #fafafa;
}

.cart-items-container::-webkit-scrollbar {
  width: 4px;
}

.cart-items-container::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 0;
}

.cart-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 0 0 24px 0;
  border-bottom: 1px solid var(--border);
  background: transparent;
  border-radius: 0;
  margin-bottom: 24px;
  transition: var(--transition);
}

.cart-item:hover {
  background: transparent;
  box-shadow: none;
  transform: none;
}

.cart-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.cart-item .mini {
  width: 100px;
  height: 133px;
  border-radius: 0;
  object-fit: cover;
  flex-shrink: 0;
  border: none;
  box-shadow: none;
  background: #f5f5f5;
}

.cart-item-info {
  flex: 1;
  min-width: 0;
}

.cart-item-title {
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cart-item-details {
  color: var(--muted);
  font-size: 13px;
}

.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg);
  border-radius: 8px;
  padding: 4px;
  flex-shrink: 0;
}

.quantity-btn {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  width: 28px;
  height: 28px;
  border-radius: 0;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  padding: 0;
  box-shadow: none;
}

.quantity-btn:hover:not(:disabled) {
  background: var(--text);
  border-color: var(--text);
  color: white;
  box-shadow: none;
  transform: none;
}

.quantity-display {
  min-width: 30px;
  text-align: center;
  font-weight: 600;
  font-size: 14px;
  color: var(--text);
}

.remove-btn {
  background: transparent;
  border: 0;
  cursor: pointer;
  color: var(--muted);
  font-size: 20px;
  padding: 4px 8px;
  border-radius: 4px;
  flex-shrink: 0;
}

.remove-btn:hover {
  background: var(--bg);
  color: #ef4444;
}

.empty-cart {
  text-align: center;
  padding: 80px 30px;
  color: var(--text-light);
  background: transparent;
  border-radius: 0;
  margin: 0;
}

.empty-cart::before {
  content: '🛒';
  font-size: 48px;
  display: block;
  margin-bottom: 16px;
  opacity: 0.3;
  filter: none;
}

.cart-footer {
  border-top: 1px solid var(--border);
  padding: 30px;
  background: #ffffff;
  border-radius: 0;
  margin: 0;
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding: 0;
  background: transparent;
  border-radius: 0;
  border: none;
}

.cart-total {
  font-weight: 700;
  font-size: 20px;
  color: var(--text);
}

.checkout-btn {
  width: 100%;
  padding: 18px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  background: var(--accent);
  color: #ffffff;
  border: none;
  border-radius: 0;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: none;
}

.checkout-btn:hover {
  background: var(--accent-hover);
  box-shadow: none;
  transform: none;
}

.overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: none;
  z-index: 90;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.overlay[aria-hidden="false"] {
  display: block;
  opacity: 1;
}

#modalOverlay {
  z-index: 140;
}

/* Modal de produto */
.product-modal {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow-y: auto;
}

.product-modal.open {
  display: flex;
}

.modal-content {
  background: #ffffff;
  border-radius: 0;
  max-width: 1200px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 10px 60px rgba(0, 0, 0, 0.2);
  animation: modalSlideIn 0.3s ease;
  border: none;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: scale(0.98);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: transparent;
  color: var(--text);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 0;
  font-size: 28px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: var(--transition);
  box-shadow: none;
  font-weight: 300;
}

.modal-close:hover {
  background: transparent;
  color: var(--text-light);
  box-shadow: none;
  transform: none;
}

.modal-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 80px;
  padding: 40px 60px;
}

.modal-image-section {
  position: relative;
}

.modal-image {
  width: 100%;
  height: 700px;
  object-fit: cover;
  border-radius: 0;
  box-shadow: none;
  background: #f5f5f5;
  border: none;
}

.modal-info-section {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.modal-title {
  font-size: 24px;
  font-weight: 700;
  margin: 0;
  line-height: 1.2;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.modal-price {
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
}

.modal-section {
  border-top: 1px solid var(--border);
  padding-top: 24px;
}

.modal-section h3 {
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text);
}

.modal-description {
  line-height: 1.7;
  color: var(--text);
  font-size: 14px;
}

.modal-details {
  list-style: none;
  padding: 0;
  margin: 0;
}

.modal-details li {
  padding: 10px 0;
  line-height: 1.6;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}

.modal-details li:last-child {
  border-bottom: none;
}

.modal-sizes {
  margin-top: 0;
}

.modal-add-btn {
  width: 100%;
  padding: 16px;
  font-size: 14px;
  margin-top: auto;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
  color: #ffffff;
  border: 2px solid var(--accent);
  border-radius: 12px;
  cursor: pointer;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(168, 85, 247, 0.4);
}

.modal-add-btn:hover {
  background: linear-gradient(135deg, var(--accent-hover) 0%, #7e22ce 100%);
  box-shadow: 0 6px 30px rgba(168, 85, 247, 0.6), 0 0 40px rgba(168, 85, 247, 0.3);
  transform: translateY(-3px);
}

/* Responsividade do modal */
@media (max-width: 768px) {
  /* Container e espaçamentos */
  .container {
    padding: 0 16px;
  }
  
  main.container {
    padding-top: 20px;
    padding-bottom: 32px;
  }
  
  /* Header mobile */
  .topbar {
    padding: 12px 0;
    gap: 12px;
  }
  
  .brand {
    font-size: 18px;
  }
  
  .brand .logo {
    width: 28px;
    height: 28px;
  }
  
  .search {
    flex: 1;
  }
  
  .search input {
    width: 100%;
    font-size: 12px;
  }
  
  .cart-btn {
    font-size: 12px;
    padding: 6px 10px;
    white-space: nowrap;
  }
  
  /* Grid de produtos mobile */
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 12px;
  }
  
  .product-badge {
    top: 8px;
    left: 8px;
    padding: 4px 8px;
    font-size: 9px;
  }
  
  .product-title {
    font-size: 12px;
    margin-bottom: 4px;
  }
  
  .price {
    font-size: 13px;
  }
  
  .size-btn {
    padding: 8px 12px;
    font-size: 11px;
  }
  
  .add-btn {
    padding: 10px 20px;
    font-size: 12px;
  }
  
  /* Carrinho mobile */
  .cart-drawer {
    width: 100% !important;
    max-width: 100% !important;
    height: 90vh;
    top: auto;
    bottom: 0;
    border-radius: 20px 20px 0 0;
  }
  
  .cart-header {
    padding: 20px 20px;
  }
  
  .cart-header h2 {
    font-size: 18px;
  }
  
  .cart-items-container {
    padding: 20px;
  }
  
  .cart-item {
    gap: 12px;
    padding-bottom: 16px;
    margin-bottom: 16px;
  }
  
  .cart-item .mini {
    width: 80px;
    height: 107px;
  }
  
  .cart-item-title {
    font-size: 13px;
  }
  
  .cart-item-details {
    font-size: 12px;
  }
  
  .cart-footer {
    padding: 20px;
  }
  
  /* Modal de produto */
  .modal-grid {
    grid-template-columns: 1fr !important;
    gap: 20px;
    padding: 20px;
  }
  
  .modal-image {
    height: 300px;
  }
  
  .modal-title {
    font-size: 22px;
  }
  
  .modal-price {
    font-size: 20px;
  }
  
  .product-modal {
    padding: 0;
  }
  
  .modal-content {
    max-height: 95vh;
    border-radius: 20px 20px 0 0;
    margin-top: auto;
  }
  
  /* Tabs e filtros */
  .tabs {
    gap: 16px;
    margin: 16px 0;
  }
  
  .tab {
    padding: 8px 12px;
    font-size: 13px;
  }
  
  /* Separadores de categoria */
  .category-separator {
    margin: 40px 0 30px;
    gap: 12px;
  }
  
  .separator-title {
    font-size: 14px;
  }
  
  /* Modais de perfil */
  .profile-modal-content {
    max-width: 100%;
    max-height: 95vh;
    border-radius: 20px 20px 0 0;
  }
  
  .profile-modal-header {
    padding: 20px;
  }
  
  .profile-modal-header h2 {
    font-size: 18px;
  }
  
  .profile-modal-body {
    padding: 20px;
  }
  
  .wishlist-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  
  .order-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  
  .order-card {
    padding: 16px;
  }
}

/* Utilitários */
.muted {
  color: var(--muted);
}

.btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 4px;
  background: var(--text);
  color: var(--bg);
  font-weight: 500;
  border: none;
  cursor: pointer;
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.btn:hover:not(:disabled) {
  background: var(--accent-hover);
  transform: none;
}

/* Modal de Login */
.login-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  background: #ffffff;
  max-width: 450px;
  width: calc(100% - 40px);
  max-height: 90vh;
  overflow-y: auto;
  border: 1px solid var(--border);
  border-radius: 0;
  z-index: 1003;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  box-shadow: 0 10px 60px rgba(0, 0, 0, 0.2);
}

.login-modal.show {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}

.login-content {
  padding: 40px 32px;
  position: relative;
}

.login-content .close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  background: transparent;
  border: 1px solid var(--border);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 18px;
  color: var(--muted);
  transition: var(--transition);
}

.login-content .close-btn:hover {
  background: var(--card);
  color: var(--text);
  transform: none;
}

.login-header {
  text-align: center;
  margin-bottom: 32px;
}

.login-header h2 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 12px;
  color: var(--text);
  text-transform: uppercase;
}

.login-subtitle {
  font-size: 14px;
  color: var(--muted);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-group input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 0;
  font-size: 15px;
  font-weight: 400;
  font-family: inherit;
  background: #ffffff;
  color: var(--text);
  transition: var(--transition);
}

.form-group input:focus {
  outline: none;
  border-color: var(--accent);
  background: #ffffff;
  box-shadow: none;
}

.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  font-size: 13px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  color: #ffffff;
  font-weight: 500;
  font-size: 14px;
}

.checkbox-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  cursor: pointer;
  accent-color: var(--text);
}

.link-text {
  color: #ffffff;
  font-weight: 600;
  text-decoration: underline;
  font-size: 14px;
}

.link-text:hover {
  color: #e0e0e0;
}
  opacity: 0.7;
}

.btn {
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}

.btn-primary {
  background: var(--accent);
  color: #ffffff;
  box-shadow: none;
  border: none;
  font-weight: 700;
  padding: 16px 28px;
  border-radius: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: none;
  box-shadow: none;
}

.btn-secondary {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}

.btn-secondary:hover {
  background: var(--card);
  transform: translateY(-1px);
}

.btn-full {
  width: 100%;
}

.form-divider {
  display: flex;
  align-items: center;
  margin: 24px 0;
  text-align: center;
}

.form-divider::before,
.form-divider::after {
  content: '';
  flex: 1;
  border-bottom: 2px solid rgba(255, 255, 255, 0.3);
}

.form-divider span {
  padding: 0 16px;
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.social-login {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.btn-social {
  width: 100%;
  padding: 14px 20px;
  border: 1px solid var(--border);
  border-radius: 0;
  background: #ffffff;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: var(--transition);
  box-shadow: none;
}

.btn-social:hover {
  background: #f5f5f5;
  transform: none;
  box-shadow: none;
  border-color: var(--text);
}

.social-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
}

.btn-google .social-icon {
  background: #4285f4;
  color: white;
  box-shadow: 0 2px 4px rgba(66, 133, 244, 0.3);
}

.btn-facebook .social-icon {
  background: #1877f2;
  color: white;
  box-shadow: 0 2px 4px rgba(24, 119, 242, 0.3);
}

.form-footer {
  text-align: center;
  font-size: 15px;
  color: #ffffff;
  font-weight: 500;
}

/* Perfil do utilizador */
.profile-menu {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.profile-menu-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: var(--transition);
}

.profile-menu-item:hover {
  background: var(--card);
  border-color: var(--text);
}

.menu-icon {
  font-size: 24px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--card);
  border-radius: 8px;
}

.menu-title {
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 2px;
}

.menu-desc {
  font-size: 12px;
  color: var(--muted);
}

/* ========================================
   RESPONSIVIDADE TOTAL
   Adaptável a todos os dispositivos 
======================================== */

/* Tablet e dispositivos médios (max-width: 1024px) */
@media (max-width: 1024px) {
  .container {
    padding: 0 24px;
  }
  
  main.container {
    padding-top: 32px;
    padding-bottom: 60px;
  }
  
  .product-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 30px 20px;
  }
  
  .topbar {
    gap: 24px;
  }
  
  .nav-links {
    gap: 28px;
  }
  
  .cart-drawer {
    width: 400px;
  }
}

/* Tablet pequeno (max-width: 900px) */
@media (max-width: 900px) {
  .container {
    padding: 0 20px;
  }
  
  main.container {
    padding-top: 24px;
    padding-bottom: 40px;
  }
  
  /* Header responsivo */
  .topbar {
    flex-wrap: wrap;
    gap: 16px;
    height: auto;
    padding: 16px 0;
  }
  
  nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    margin-left: 0;
  }
  
  .nav-links {
    gap: 24px;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
  }
  
  .nav-links::-webkit-scrollbar {
    height: 2px;
  }
  
  .nav-links a::after {
    bottom: -20px;
  }
  
  .brand {
    font-size: 20px;
  }
  
  .brand .logo {
    width: 32px;
    height: 32px;
  }
  
  .tagline {
    font-size: 8px;
  }
  
  .search-cart {
    gap: 12px;
  }
  
  .search input {
    width: 120px;
    font-size: 13px;
  }
  
  .user-btn {
    font-size: 18px;
    padding: 6px;
  }
  
  .cart-btn {
    font-size: 13px;
    padding: 8px 12px;
  }
  
  /* Grid de produtos */
  .product-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 24px 16px;
  }
  
  .product-image-wrapper {
    margin-bottom: 12px;
  }
  
  .product-title {
    font-size: 13px;
  }
  
  .price {
    font-size: 14px;
  }
  
  /* Carrinho drawer */
  .cart-drawer {
    width: 100%;
    max-width: 400px;
    left: auto;
    right: 0;
    top: 0;
    bottom: 0;
    border-radius: 0;
  }
  
  /* Controles principais */
  .main-controls {
    flex-direction: column;
    align-items: stretch;
    margin: 24px 0 32px;
    gap: 16px;
  }
  
  .tabs {
    order: 1;
    gap: 24px;
    justify-content: flex-start;
  }
  
  .filters-inline {
    order: 2;
    width: 100%;
  }
  
  .filter-btn {
    width: 100%;
    justify-content: space-between;
  }
  
  .filter-dropdown {
    left: 0;
    right: 0;
    width: 100%;
  }
  
  /* Modal de login */
  .login-modal {
    max-width: 100%;
    width: calc(100% - 32px);
  }
  
  .login-content {
    padding: 32px 24px;
  }
  
  /* Footer */
  footer {
    margin-top: 60px;
    padding: 32px 0;
  }
  
  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }
}

/* Mobile grande (max-width: 768px) */
@media (max-width: 768px) {
  /* Container e espaçamentos */
  .container {
    padding: 0 16px;
  }
  
  main.container {
    padding-top: 20px;
    padding-bottom: 32px;
  }
  
  /* Header mobile */
  .topbar {
    padding: 12px 0;
    gap: 12px;
  }
  
  .brand {
    font-size: 18px;
  }
  
  .brand .logo {
    width: 28px;
    height: 28px;
  }
  
  .search {
    flex: 1;
  }
  
  .search input {
    width: 100%;
    font-size: 12px;
  }
  
  .cart-btn {
    font-size: 12px;
    padding: 6px 10px;
  }
  
  /* Grid de produtos mobile */
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 12px;
  }
  
  .product-badge {
    top: 8px;
    left: 8px;
    padding: 4px 8px;
    font-size: 9px;
  }
  
  .product-title {
    font-size: 12px;
    margin-bottom: 4px;
  }
  
  .price {
    font-size: 13px;
  }
  
  .size-btn {
    padding: 8px 12px;
    font-size: 11px;
  }
  
  .add-btn {
    padding: 10px 20px;
    font-size: 12px;
  }
  
  /* Carrinho mobile */
  .cart-drawer {
    width: 100% !important;
    max-width: 100% !important;
    height: 90vh;
    top: auto;
    bottom: 0;
    border-radius: 20px 20px 0 0;
  }
  
  .cart-header {
    padding: 20px 20px;
  }
  
  .cart-header h2 {
    font-size: 18px;
  }
  
  .cart-items-container {
    padding: 20px;
  }
  
  .cart-item {
    gap: 12px;
    padding-bottom: 16px;
    margin-bottom: 16px;
  }
  
  .cart-item .mini {
    width: 80px;
    height: 107px;
  }
  
  .cart-item-title {
    font-size: 13px;
  }
  
  .cart-item-details {
    font-size: 12px;
  }
  
  .cart-footer {
    padding: 20px;
  }
  
  /* Modal de produto */
  .modal-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 20px;
  }
  
  .modal-image {
    height: 300px;
  }
  
  .modal-title {
    font-size: 22px;
  }
  
  .modal-price {
    font-size: 20px;
  }
  
  .product-modal {
    padding: 0;
  }
  
  .modal-content {
    max-height: 95vh;
    border-radius: 20px 20px 0 0;
    margin-top: auto;
  }
  
  /* Tabs e filtros */
  .tabs {
    gap: 16px;
    margin: 16px 0;
  }
  
  .tab {
    padding: 8px 12px;
    font-size: 13px;
  }
  
  /* Separadores de categoria */
  .category-separator {
    margin: 40px 0 30px;
    gap: 12px;
  }
  
  .separator-title {
    font-size: 14px;
  }
  
  /* Modais de perfil */
  .profile-modal-content {
    max-width: 100%;
    max-height: 95vh;
    border-radius: 20px 20px 0 0;
  }
  
  .profile-modal-header {
    padding: 20px;
  }
  
  .profile-modal-header h2 {
    font-size: 18px;
  }
  
  .profile-modal-body {
    padding: 20px;
  }
  
  .wishlist-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  
  .order-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  
  .order-card {
    padding: 16px;
  }
}

/* Mobile (max-width: 600px) */
@media (max-width: 600px) {
  /* Container ultra compacto */
  .container {
    padding: 0 12px;
  }
  
  main.container {
    padding-top: 16px;
    padding-bottom: 24px;
  }
  
  /* Header compacto */
  .topbar {
    flex-direction: column;
    align-items: stretch;
    padding: 10px 0;
    gap: 10px;
  }
  
  .brand {
    font-size: 16px;
    justify-content: center;
  }
  
  nav {
    width: 100%;
    justify-content: center;
  }
  
  .nav-links {
    justify-content: center;
    gap: 20px;
  }
  
  .nav-links a {
    font-size: 12px;
  }
  
  .search-cart {
    margin-left: 0;
    justify-content: space-between;
    width: 100%;
  }
  
  .search {
    flex: 1;
  }
  
  .search input {
    font-size: 12px;
    padding: 6px 0;
  }
  
  .user-btn {
    font-size: 16px;
  }
  
  .cart-btn {
    font-size: 11px;
    padding: 6px 8px;
  }
  
  /* Grid 2 colunas compacto */
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 8px;
  }
  
  .product-image-wrapper {
    margin-bottom: 8px;
  }
  
  .product-badge {
    top: 6px;
    left: 6px;
    padding: 3px 6px;
    font-size: 8px;
  }
  
  .view-details {
    font-size: 10px;
    padding: 10px 20px;
  }
  
  .product-title {
    font-size: 11px;
    margin-bottom: 3px;
  }
  
  .price {
    font-size: 12px;
  }
  
  .old {
    font-size: 11px;
    margin-left: 4px;
  }
  
  .size-select {
    margin-top: 8px;
    gap: 4px;
  }
  
  .size-btn {
    padding: 6px 10px;
    font-size: 10px;
  }
  
  .add-btn {
    padding: 8px 16px;
    font-size: 11px;
    margin-top: 8px;
  }
  
  /* Carrinho mobile */
  .cart-drawer {
    height: 95vh;
    border-radius: 16px 16px 0 0;
  }
  
  .cart-header {
    padding: 16px;
  }
  
  .cart-header h2 {
    font-size: 16px;
  }
  
  .close-btn {
    font-size: 20px;
    width: 28px;
    height: 28px;
  }
  
  .cart-items-container {
    padding: 16px;
  }
  
  .cart-item {
    gap: 10px;
    padding-bottom: 12px;
    margin-bottom: 12px;
  }
  
  .cart-item .mini {
    width: 70px;
    height: 93px;
  }
  
  .cart-item-title {
    font-size: 12px;
  }
  
  .cart-item-details {
    font-size: 11px;
  }
  
  .cart-footer {
    padding: 16px;
  }
  
  .checkout-btn {
    font-size: 13px;
    padding: 12px;
  }
  
  /* Modais */
  .modal-content {
    max-height: 100vh;
    border-radius: 0;
    width: 100%;
  }
  
  .modal-grid {
    padding: 16px;
    gap: 16px;
  }
  
  .modal-image {
    height: 250px;
  }
  
  .modal-title {
    font-size: 18px;
  }
  
  .modal-price {
    font-size: 18px;
  }
  
  .modal-description {
    font-size: 13px;
  }
  
  /* Login modal */
  .login-modal {
    width: calc(100% - 24px);
  }
  
  .login-content {
    padding: 24px 16px;
  }
  
  .login-header h2 {
    font-size: 20px;
  }
  
  .form-group input {
    padding: 12px 14px;
    font-size: 14px;
  }
  
  .btn-primary {
    padding: 14px 24px;
    font-size: 13px;
  }
  
  .btn-social {
    padding: 12px 16px;
    font-size: 14px;
  }
  
  /* Profile modals */
  .profile-modal-content {
    max-height: 100vh;
    border-radius: 0;
  }
  
  .profile-modal-header {
    padding: 16px;
  }
  
  .profile-modal-header h2 {
    font-size: 16px;
  }
  
  .profile-modal-body {
    padding: 16px;
  }
  
  .wishlist-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  
  .wishlist-item img {
    height: 150px;
  }
  
  .wishlist-item-info {
    padding: 10px;
  }
  
  .wishlist-item-title {
    font-size: 12px;
  }
  
  .wishlist-item-price {
    font-size: 13px;
  }
  
  .order-card {
    padding: 12px;
  }
  
  .order-header {
    margin-bottom: 8px;
    padding-bottom: 8px;
  }
  
  .order-number {
    font-size: 13px;
  }
  
  .order-date {
    font-size: 11px;
  }
  
  .order-status {
    padding: 4px 12px;
    font-size: 10px;
  }
  
  .order-item {
    font-size: 12px;
  }
  
  .order-total {
    font-size: 14px;
    margin-top: 8px;
    padding-top: 8px;
  }
  
  /* Categoria separadores */
  .category-separator {
    margin: 32px 0 24px;
    gap: 10px;
  }
  
  .separator-title {
    font-size: 12px;
  }
  
  /* Footer */
  footer {
    margin-top: 40px;
    padding: 24px 0;
    font-size: 12px;
  }
  
  .footer-content {
    gap: 12px;
  }
  
  .footer-links a {
    font-size: 12px;
  }
  
  /* Tabs */
  .tabs {
    gap: 12px;
    margin: 12px 0;
  }
  
  .tab {
    padding: 6px 10px;
    font-size: 12px;
  }
}

/* Mobile muito pequeno (max-width: 480px) */
@media (max-width: 480px) {
  .container {
    padding: 0 10px;
  }
  
  .brand {
    font-size: 14px;
  }
  
  .brand .logo {
    width: 24px;
    height: 24px;
  }
  
  .tagline {
    font-size: 7px;
  }
  
  .nav-links a {
    font-size: 11px;
  }
  
  .product-grid {
    gap: 10px 6px;
  }
  
  .modal-image {
    height: 200px;
  }
  
  .cart-item .mini {
    width: 60px;
    height: 80px;
  }
}

/* Orientação landscape para smartphones */
@media (max-height: 600px) and (orientation: landscape) {
  .cart-drawer {
    height: 100vh !important;
    border-radius: 0 !important;
  }
  
  .modal-content {
    max-height: 100vh;
    border-radius: 0;
  }
  
  .profile-modal-content {
    max-height: 100vh;
    border-radius: 0;
  }
}

/* Suporte para telas muito grandes */
@media (min-width: 1600px) {
  .container {
    max-width: 1600px;
  }
  
  .product-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }
}

/* Animações */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.card {
  animation: fadeIn 0.4s ease-out;
}

/* Estados de foco para acessibilidade */
*:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 0;
}

/* ===== MODAIS DE PERFIL ===== */
.profile-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 20px;
}

.profile-modal.show {
  display: flex;
}

.profile-modal-content {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 0;
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 10px 60px rgba(0, 0, 0, 0.2);
  animation: modalSlideIn 0.3s ease;
}

.profile-modal-header {
  padding: 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  background: var(--card);
  z-index: 1;
}

.profile-modal-header h2 {
  font-size: 20px;
  font-weight: 700;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.profile-modal-body {
  padding: 24px;
}

.order-card {
  background: #fafafa;
  border: 1px solid var(--border);
  border-radius: 0;
  padding: 24px;
  margin-bottom: 20px;
  transition: var(--transition);
  box-shadow: none;
}

.order-card:hover {
  border-color: var(--text);
  box-shadow: none;
  transform: none;
}

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

.order-number {
  font-weight: 700;
  color: var(--accent);
}

.order-date {
  color: var(--muted);
  font-size: 13px;
}

.order-status {
  padding: 6px 16px;
  border-radius: 0;
  font-size: 11px;
  font-weight: 700;
  background: var(--accent);
  color: #ffffff;
  box-shadow: none;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.order-items {
  margin: 12px 0;
}

.order-item {
  display: flex;
  gap: 12px;
  padding: 8px 0;
  color: var(--text-muted);
  font-size: 14px;
}

.order-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  font-weight: 700;
  font-size: 16px;
}

.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--muted);
}

.empty-state-icon {
  font-size: 64px;
  margin-bottom: 16px;
  opacity: 0.5;
}

.empty-state h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

.empty-state p {
  font-size: 14px;
  margin-bottom: 24px;
}

.wishlist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}

.wishlist-item {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 0;
  overflow: hidden;
  transition: var(--transition);
  position: relative;
  box-shadow: none;
}

.wishlist-item:hover {
  border-color: var(--text);
  box-shadow: none;
  transform: none;
}

.wishlist-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.wishlist-item-info {
  padding: 12px;
}

.wishlist-item-title {
  font-weight: 600;
  margin-bottom: 4px;
}

.wishlist-item-price {
  color: var(--accent);
  font-weight: 700;
}

.remove-wishlist {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.8);
  border: none;
  color: white;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: var(--transition);
}

.remove-wishlist:hover {
  background: #ef4444;
  transform: scale(1.1);
}

.settings-section {
  margin-bottom: 24px;
}

.settings-section h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--accent);
}

.settings-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px;
  background: var(--dark);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 8px;
  margin-bottom: 8px;
}

.settings-label {
  font-weight: 500;
}

.settings-value {
  color: var(--muted);
}

.btn-edit {
  padding: 10px 20px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 0;
  cursor: pointer;
  font-weight: 600;
  font-size: 12px;
  transition: var(--transition);
  box-shadow: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-edit:hover {
  background: var(--text);
  color: white;
  border-color: var(--text);
  box-shadow: none;
  transform: none;
}

@media (max-width: 600px) {
  .profile-modal-content {
    max-width: 100%;
    max-height: 100vh;
    border-radius: 0;
  }
  
  .wishlist-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }
  
  .order-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}
