@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

:root {
  --bg-dark: #0d232a; /* Dark Teal from Logo */
  --bg-darker: #08171d;
  --bg-card: rgba(255, 255, 255, 0.03);
  --bg-card-hover: rgba(255, 255, 255, 0.08);
  
  --gold-primary: #c49c65; /* Gold from Logo */
  --gold-light: #d4b380;
  --gold-dark: #a17f51;

  --text-light: #f5f0e8;
  --text-muted: #b0c0c5;
  --text-dark: #1a1a1a;

  --font-serif: 'Playfair Display', serif;
  --font-sans: 'Inter', sans-serif;
  
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
  --shadow-gold: 0 4px 15px rgba(196, 156, 101, 0.2);
  
  --radius: 12px;
  --radius-lg: 20px;
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-dark);
  color: var(--text-light);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Background mystical effect */
.bg-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: radial-gradient(circle at 50% 0%, rgba(196, 156, 101, 0.1) 0%, transparent 60%);
  pointer-events: none;
  z-index: -1;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  color: var(--gold-primary);
  font-weight: 600;
  line-height: 1.2;
}

h1 { font-size: 3.5rem; margin-bottom: 1rem; }
h2 { font-size: 2.5rem; margin-bottom: 1.5rem; text-align: center; }
h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }

p {
  margin-bottom: 1rem;
}

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

a:hover {
  color: var(--gold-light);
}

/* Header & Nav */
header {
  padding: 1.5rem 5%;
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 35, 42, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(196, 156, 101, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
}

.logo-text {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--gold-primary);
  letter-spacing: 2px;
}

.logo-slogan {
  font-family: var(--font-sans);
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--text-muted);
  margin-top: 2px;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-light);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--gold-primary);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.8rem;
  border-radius: 30px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

.btn-primary {
  background: var(--gold-primary);
  color: var(--bg-dark);
  box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(196, 156, 101, 0.3);
  color: var(--bg-darker);
}

.btn-outline {
  background: transparent;
  color: var(--gold-primary);
  border: 1px solid var(--gold-primary);
}

.btn-outline:hover {
  background: rgba(196, 156, 101, 0.1);
  color: var(--gold-light);
}

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

.btn-whatsapp:hover {
  background: #128C7E;
  color: white;
  transform: translateY(-2px);
}

/* Hero Section */
.hero {
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 4rem 5%;
  position: relative;
}

.hero p {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 600px;
  margin-bottom: 2rem;
}

.hero-logo-img {
  max-width: 250px;
  margin-bottom: 2rem;
  filter: drop-shadow(0 0 20px rgba(196, 156, 101, 0.2));
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

/* Catalog Section */
.catalog-section {
  padding: 5rem 5%;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid rgba(196, 156, 101, 0.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  flex-direction: column;
  height: 100%;
  transform: scale(1);
}

.product-card:hover {
  transform: translateY(-10px) scale(1.02);
  background: var(--bg-card-hover);
  border-color: rgba(196, 156, 101, 0.4);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(196, 156, 101, 0.2);
}

.product-image {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-bottom: 1px solid rgba(196, 156, 101, 0.1);
  transition: transform 0.5s ease;
}

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

.product-image-placeholder {
  width: 100%;
  aspect-ratio: 1/1;
  background: var(--bg-darker);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  border-bottom: 1px solid rgba(196, 156, 101, 0.1);
}

.product-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--gold-primary);
  margin-bottom: 0.5rem;
}

.product-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  flex: 1;
}

.product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}

.product-price {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--text-light);
}

.badge-encomenda {
  display: inline-block;
  background: rgba(196, 156, 101, 0.1);
  color: var(--gold-light);
  font-size: 0.75rem;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  border: 1px solid rgba(196, 156, 101, 0.2);
  margin-bottom: 1rem;
}

/* Custom Order Section */
.custom-order-section {
  padding: 4rem 5%;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.custom-order-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.custom-order-card {
  background: linear-gradient(135deg, rgba(13, 35, 42, 0.9), rgba(8, 23, 29, 0.9));
  border: 1px solid rgba(196, 156, 101, 0.3);
  border-radius: var(--radius-lg);
  padding: 4rem 2rem;
  box-shadow: var(--shadow-gold);
}

.custom-order-card h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  color: var(--gold-light);
  line-height: 1.2;
}

.custom-order-card p {
  color: var(--text-light);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 3rem;
  line-height: 1.6;
}

.custom-order-features {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.feature-box {
  background: rgba(13, 35, 42, 0.5);
  border: 1px solid rgba(196, 156, 101, 0.2);
  border-radius: var(--radius);
  padding: 1.5rem 2rem;
  min-width: 200px;
  transition: var(--transition);
}

.feature-box:hover {
  border-color: rgba(196, 156, 101, 0.5);
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.03);
}

.feature-emoji {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.feature-box h4 {
  font-family: var(--font-sans);
  color: var(--text-light);
  font-size: 1.1rem;
  margin-bottom: 0.2rem;
  font-weight: 600;
}

.feature-box span {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.btn-large {
  padding: 1.2rem 3rem;
  font-size: 1.2rem;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
}

.btn-large:hover {
  box-shadow: 0 15px 35px rgba(37, 211, 102, 0.4);
}

/* Footer */
footer {
  margin-top: auto;
  background: var(--bg-darker);
  border-top: 1px solid rgba(196, 156, 101, 0.1);
  padding: 3rem 5% 2rem;
  text-align: center;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
}

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

.footer-copy {
  font-size: 0.8rem;
  color: rgba(245, 240, 232, 0.5);
}

/* --- ADMIN LOGIN PAGE --- */
.admin-login-page {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-dark);
  z-index: 1000;
}

.login-card {
  background: var(--bg-darker);
  border: 1px solid rgba(196, 156, 101, 0.2);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  width: 100%;
  max-width: 400px;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.login-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

/* --- NOVO ADMIN PANEL SPECIFICS --- */
.admin-layout {
  display: flex;
  height: 100vh;
  overflow: hidden;
}

.sidebar {
  width: 260px;
  background: rgba(8, 23, 29, 0.95);
  border-right: 1px solid rgba(196, 156, 101, 0.1);
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  backdrop-filter: blur(10px);
}

.sidebar-header {
  padding: 2rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  border-bottom: 1px solid rgba(196, 156, 101, 0.05);
}

.sidebar-header .s-logo {
  font-size: 2rem;
}

.sidebar-header .s-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--gold-primary);
  line-height: 1.2;
}

.sidebar-header .s-title small {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  color: var(--text-muted);
}

.sidebar-nav {
  padding: 1.5rem 1rem;
  flex: 1;
}

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

.nav-item:hover {
  background: rgba(196, 156, 101, 0.05);
  color: var(--gold-light);
}

.nav-item.active {
  background: rgba(196, 156, 101, 0.1);
  color: var(--gold-primary);
  border-left: 3px solid var(--gold-primary);
}

.sidebar-footer {
  padding: 1.5rem;
  border-top: 1px solid rgba(196, 156, 101, 0.05);
}

.admin-main {
  flex: 1;
  overflow-y: auto;
  padding: 2rem 5%;
  background: var(--bg-dark);
}

.page-section {
  display: none;
  animation: fadeIn 0.3s ease-in-out;
}

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

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.page-header {
  margin-bottom: 2rem;
}

.page-header h2 {
  text-align: left;
  margin-bottom: 0.2rem;
}

/* Dashboard Stats */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.stat-card {
  background: rgba(13, 35, 42, 0.7);
  border: 1px solid rgba(196, 156, 101, 0.2);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.stat-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.stat-value {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  color: var(--gold-primary);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  color: var(--text-muted);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Photo Upload Area */
.photo-upload-area {
  width: 100%;
  border: 2px dashed rgba(196, 156, 101, 0.3);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  position: relative;
  transition: var(--transition);
  cursor: pointer;
  background: rgba(0, 0, 0, 0.2);
}

.photo-upload-area:hover, .photo-upload-area.dragover {
  border-color: var(--gold-primary);
  background: rgba(196, 156, 101, 0.05);
}

.photo-upload-area input[type="file"] {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

#img-preview-tag {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 2px solid var(--gold-primary);
  margin: 0 auto;
}

/* --- ADMIN PANEL SPECIFICS --- */
.admin-container {
  max-width: 1000px;
  margin: 3rem auto;
  padding: 0 5%;
  width: 100%;
}

.admin-card {
  background: var(--bg-card);
  border: 1px solid rgba(196, 156, 101, 0.2);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  backdrop-filter: blur(10px);
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  border-bottom: 1px solid rgba(196, 156, 101, 0.1);
  padding-bottom: 1.5rem;
}

/* Forms */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text-light);
  font-size: 0.9rem;
}

.form-control {
  width: 100%;
  padding: 0.8rem 1rem;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(196, 156, 101, 0.3);
  border-radius: var(--radius);
  color: var(--text-light);
  font-family: var(--font-sans);
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--gold-primary);
  box-shadow: 0 0 0 2px rgba(196, 156, 101, 0.2);
}

textarea.form-control {
  resize: vertical;
  min-height: 100px;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.5rem;
}

.admin-table th, .admin-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(196, 156, 101, 0.1);
}

.admin-table th {
  color: var(--gold-primary);
  font-weight: 500;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1px;
}

.admin-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.action-btns {
  display: flex;
  gap: 0.5rem;
}

.btn-small {
  padding: 0.4rem 0.8rem;
  font-size: 0.8rem;
  border-radius: 6px;
}

.btn-danger {
  background: rgba(220, 53, 69, 0.1);
  color: #ff6b6b;
  border: 1px solid rgba(220, 53, 69, 0.3);
}
.btn-danger:hover {
  background: rgba(220, 53, 69, 0.2);
}

/* Modals */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(8, 23, 29, 0.9);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: var(--bg-dark);
  border: 1px solid rgba(196, 156, 101, 0.2);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  width: 90%;
  max-width: 500px;
  transform: translateY(20px);
  transition: var(--transition);
}

.modal-overlay.active .modal-content {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--transition);
}

.modal-close:hover {
  color: var(--gold-primary);
}

/* --- NOVO REDESIGN (ESTILO ABC) --- */
.gradient-text {
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-badge {
  background: rgba(196, 156, 101, 0.1);
  border: 1px solid rgba(196, 156, 101, 0.3);
  color: var(--gold-light);
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 15px rgba(196, 156, 101, 0.1);
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 3rem;
  padding: 1.5rem 3rem;
  background: rgba(13, 35, 42, 0.6);
  border: 1px solid rgba(196, 156, 101, 0.15);
  border-radius: 24px;
  backdrop-filter: blur(10px);
}

.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-stat .num {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold-primary);
  line-height: 1;
  margin-bottom: 0.2rem;
}

.hero-stat .label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
}

/* Catalog Controls (Filtros e Busca) */
.catalog-controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.filter-tabs {
  display: flex;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.03);
  padding: 0.5rem;
  border-radius: 50px;
  border: 1px solid rgba(196, 156, 101, 0.1);
}

.filter-tab {
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 0.6rem 1.5rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.filter-tab:hover {
  color: var(--gold-light);
}

.filter-tab.active {
  background: var(--gold-primary);
  color: var(--bg-dark);
  box-shadow: 0 4px 10px rgba(196, 156, 101, 0.3);
}

.search-box {
  position: relative;
  width: 100%;
  max-width: 500px;
}

.search-box input {
  width: 100%;
  padding: 1rem 1rem 1rem 3rem;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(196, 156, 101, 0.2);
  border-radius: 50px;
  color: var(--text-light);
  font-size: 1rem;
  transition: var(--transition);
}

.search-box input:focus {
  outline: none;
  border-color: var(--gold-primary);
  box-shadow: 0 0 0 3px rgba(196, 156, 101, 0.1);
}

.search-box .search-icon {
  position: absolute;
  left: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
  color: var(--text-muted);
}

.results-count {
  font-size: 0.9rem;
  color: var(--gold-dark);
}

/* Modal Detalhe do Produto */
.detail-modal-content {
  background: var(--bg-darker);
  border: 1px solid rgba(196, 156, 101, 0.2);
  border-radius: 24px;
  width: 90%;
  max-width: 800px;
  display: flex;
  overflow: hidden;
  position: relative;
  transform: translateY(50px) scale(0.9);
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.modal-overlay.active .detail-modal-content {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.detail-modal-img {
  flex: 1;
  background: var(--bg-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid rgba(196, 156, 101, 0.1);
}

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

.detail-modal-body {
  flex: 1;
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
}

.detail-modal-title {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.detail-modal-desc {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 2rem;
  flex: 1;
}

.detail-modal-meta {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(196, 156, 101, 0.1);
}

.detail-modal-meta-item {
  background: rgba(196, 156, 101, 0.05);
  padding: 0.6rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(196, 156, 101, 0.1);
  font-size: 0.9rem;
  color: var(--text-muted);
}

.detail-modal-meta-item strong {
  color: var(--gold-light);
}

.detail-modal-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.detail-modal-price {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  color: var(--gold-primary);
  font-weight: 700;
  text-align: center;
}

/* WhatsApp Float */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: #25D366;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: var(--transition);
}

.whatsapp-float:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
}

/* Fade In Animations for Scroll */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }

/* Responsive */
@media (max-width: 768px) {
  h1 { font-size: 2.5rem; }
  header { padding: 1rem 5%; flex-direction: column; gap: 1rem; }
  .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }
  .hero { padding: 3rem 5%; min-height: 60vh; }
  .hero-stats { flex-direction: column; gap: 1.5rem; padding: 1.5rem; }
  .product-grid { grid-template-columns: 1fr; }
  .admin-table { display: block; overflow-x: auto; }
  .detail-modal-content { flex-direction: column; max-height: 90vh; overflow-y: auto; }
  .detail-modal-img { height: 250px; flex: none; }
  .detail-modal-body { padding: 2rem 1.5rem; }
  .filter-tabs { flex-wrap: wrap; justify-content: center; }
}

/* ══ CART SYSTEM STYLES ══ */
.cart-badge {
  background: #ff4757;
  color: white;
  border-radius: 50%;
  padding: 0.1rem 0.4rem;
  font-size: 0.7rem;
  margin-left: 0.3rem;
  font-weight: bold;
}

.cart-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--gold-primary);
  color: var(--bg-dark);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 4px 15px rgba(196, 156, 101, 0.4);
  z-index: 99;
  transition: transform 0.3s ease;
  text-decoration: none;
}
.cart-float:hover {
  transform: scale(1.1);
}
.cart-badge-float {
  position: absolute;
  top: 0;
  right: 0;
  background: #ff4757;
  color: white;
  border-radius: 50%;
  padding: 0.2rem 0.5rem;
  font-size: 0.8rem;
  font-weight: bold;
}

.cart-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(8, 23, 29, 0.8);
  backdrop-filter: blur(5px);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.cart-overlay.active {
  opacity: 1;
  visibility: visible;
}

.cart-sidebar {
  position: absolute;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 400px;
  height: 100vh;
  background: var(--bg-darker);
  border-left: 1px solid rgba(196, 156, 101, 0.2);
  display: flex;
  flex-direction: column;
  transition: right 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: -10px 0 30px rgba(0,0,0,0.5);
}
.cart-overlay.active .cart-sidebar {
  right: 0;
}

.cart-header {
  padding: 1.5rem;
  border-bottom: 1px solid rgba(196, 156, 101, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-body {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cart-item {
  display: flex;
  gap: 1rem;
  background: rgba(196, 156, 101, 0.05);
  padding: 0.8rem;
  border-radius: var(--radius);
  border: 1px solid rgba(196, 156, 101, 0.1);
  position: relative;
}
.cart-item img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
}
.cart-item-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.cart-item-title {
  font-size: 1rem;
  color: var(--gold-light);
  font-weight: 600;
}
.cart-item-price {
  font-size: 0.9rem;
  color: var(--text-muted);
}
.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}
.cart-btn {
  background: rgba(196, 156, 101, 0.2);
  border: none;
  color: var(--gold-light);
  width: 24px;
  height: 24px;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cart-btn:hover {
  background: var(--gold-primary);
  color: var(--bg-dark);
}
.cart-item-remove {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background: none;
  border: none;
  color: #ff4757;
  cursor: pointer;
  font-size: 1.2rem;
}

.cart-footer {
  padding: 1.5rem;
  border-top: 1px solid rgba(196, 156, 101, 0.1);
  background: rgba(8, 23, 29, 0.95);
}
.cart-total-row {
  display: flex;
  justify-content: space-between;
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: var(--text-light);
}
.cart-total-row strong {
  color: var(--gold-primary);
}
