:root {
  --primary-color: #2c1810;
  --secondary-color: #8b4513;
  --accent-color: #d4af37;
  --text-primary: #2c1810;
  --text-secondary: #6d4c41;
  --text-muted: #8d6e63;
  --background-primary: #faf8f5;
  --background-secondary: #f5f2ed;
  --border-color: #e8e0d6;
  --success-color: #2e7d32;
  --error-color: #d32f2f;
  --warning-color: #f57c00;
  
  --font-primary: 'Playfair Display', serif;
  --font-secondary: 'Source Code Pro', monospace;
  
  --shadow-sm: 0 2px 8px rgba(44, 24, 16, 0.08);
  --shadow-md: 0 4px 16px rgba(44, 24, 16, 0.12);
  --shadow-lg: 0 8px 32px rgba(44, 24, 16, 0.16);
  
  --border-radius: 8px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-secondary);
  background: linear-gradient(135deg, #faf8f5 0%, #f5f2ed 100%);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navigation */
.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: var(--transition);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.nav-brand .logo {
  height: 48px;
  width: auto;
  transition: var(--transition);
}

.nav-brand .logo:hover {
  transform: scale(1.05);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 500;
  font-size: 16px;
  transition: var(--transition);
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent-color);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent-color);
  border-radius: 1px;
}

.nav-more {
  position: relative;
}

.more-btn {
  background: none;
  border: 1px solid var(--border-color);
  padding: 8px 16px;
  border-radius: var(--border-radius);
  cursor: pointer;
  font-family: var(--font-secondary);
  font-weight: 500;
  color: var(--text-primary);
  transition: var(--transition);
}

.more-btn:hover {
  background: var(--background-secondary);
  border-color: var(--accent-color);
}

.more-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  background: white;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  min-width: 160px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: var(--transition);
}

.more-dropdown.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.more-dropdown a {
  display: block;
  padding: 12px 16px;
  text-decoration: none;
  color: var(--text-primary);
  transition: var(--transition);
  border-bottom: 1px solid var(--border-color);
}

.more-dropdown a:last-child {
  border-bottom: none;
}

.more-dropdown a:hover,
.more-dropdown a.active {
  background: var(--background-secondary);
  color: var(--accent-color);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.search-container {
  position: relative;
  display: flex;
  align-items: center;
}

.search-input {
  padding: 10px 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  font-family: var(--font-secondary);
  font-size: 14px;
  width: 200px;
  transition: var(--transition);
}

.search-input:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.search-btn {
  background: var(--accent-color);
  border: none;
  padding: 10px;
  border-radius: var(--border-radius);
  margin-left: 8px;
  cursor: pointer;
  color: white;
  transition: var(--transition);
}

.search-btn:hover {
  background: #b8941f;
  transform: translateY(-1px);
}

.cart-info {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font-size: 14px;
}

.cart-amount {
  font-weight: 600;
  color: var(--accent-color);
}

.cart-count {
  color: var(--text-muted);
  font-size: 12px;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  margin: 3px 0;
  transition: var(--transition);
}

/* Breadcrumb */
.breadcrumb {
  background: var(--background-secondary);
  padding: 16px 0;
  border-bottom: 1px solid var(--border-color);
}

.breadcrumb-nav {
  font-size: 14px;
  color: var(--text-muted);
}

.breadcrumb-nav a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition);
}

.breadcrumb-nav a:hover {
  color: var(--accent-color);
}

.separator {
  margin: 0 8px;
}

.current {
  color: var(--accent-color);
  font-weight: 500;
}

/* Cart Main */
.cart-main {
  padding: 48px 0;
  min-height: 60vh;
}

.cart-header {
  text-align: center;
  margin-bottom: 48px;
}

.cart-title {
  font-family: var(--font-primary);
  font-size: 48px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cart-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

.cart-content {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 48px;
  align-items: start;
}

/* Cart Items */
.cart-items {
  background: white;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.cart-table-wrapper {
  overflow-x: auto;
}

.cart-table {
  width: 100%;
  border-collapse: collapse;
}

.cart-table th {
  background: var(--background-secondary);
  padding: 20px 16px;
  text-align: left;
  font-weight: 600;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-color);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cart-table td {
  padding: 24px 16px;
  border-bottom: 1px solid var(--border-color);
  vertical-align: middle;
}

.cart-item:last-child td {
  border-bottom: none;
}

.product-remove {
  width: 60px;
}

.remove-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  padding: 8px;
  border-radius: 50%;
  transition: var(--transition);
}

.remove-btn:hover {
  background: var(--error-color);
  color: white;
  transform: scale(1.1);
}

.product-image {
  width: 80px;
}

.product-image img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color);
}

.product-name {
  min-width: 200px;
}

.product-name a {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
}

.product-name a:hover {
  color: var(--accent-color);
}

.product-price,
.product-subtotal {
  font-weight: 600;
  color: var(--accent-color);
  font-size: 16px;
}

.quantity-controls {
  display: flex;
  align-items: center;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  overflow: hidden;
  width: fit-content;
}

.qty-btn {
  background: var(--background-secondary);
  border: none;
  padding: 8px 12px;
  cursor: pointer;
  font-weight: 600;
  color: var(--text-primary);
  transition: var(--transition);
}

.qty-btn:hover {
  background: var(--accent-color);
  color: white;
}

.qty-input {
  border: none;
  padding: 8px 12px;
  width: 60px;
  text-align: center;
  font-family: var(--font-secondary);
  font-weight: 500;
}

.qty-input:focus {
  outline: none;
}

/* Cart Actions */
.cart-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px;
  background: var(--background-secondary);
  border-top: 1px solid var(--border-color);
}

.coupon-section {
  display: flex;
  gap: 12px;
}

.coupon-input {
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  font-family: var(--font-secondary);
  width: 200px;
}

.coupon-btn,
.update-cart-btn {
  padding: 12px 24px;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  background: white;
  cursor: pointer;
  font-family: var(--font-secondary);
  font-weight: 500;
  transition: var(--transition);
}

.coupon-btn:hover,
.update-cart-btn:hover {
  background: var(--accent-color);
  color: white;
  border-color: var(--accent-color);
}

/* Cart Summary */
.cart-summary {
  position: sticky;
  top: 120px;
}

.summary-card {
  background: white;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  padding: 32px;
}

.summary-title {
  font-family: var(--font-primary);
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 24px;
  color: var(--text-primary);
}

.summary-details {
  margin-bottom: 32px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-color);
}

.summary-row:last-child {
  border-bottom: none;
}

.summary-row.total {
  font-size: 18px;
  font-weight: 600;
  padding-top: 20px;
  border-top: 2px solid var(--border-color);
  margin-top: 16px;
}

.summary-row .label {
  color: var(--text-secondary);
}

.summary-row .value {
  font-weight: 600;
  color: var(--text-primary);
}

.summary-row .discount {
  color: var(--success-color);
}

.checkout-btn {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, var(--accent-color) 0%, #b8941f 100%);
  color: white;
  border: none;
  border-radius: var(--border-radius);
  font-family: var(--font-secondary);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.checkout-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.security-badges {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border-color);
}

.badge {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--text-secondary);
  font-size: 14px;
}

.badge svg {
  color: var(--success-color);
}

/* Empty Cart */
.empty-cart {
  text-align: center;
  padding: 80px 20px;
}

.empty-cart-content svg {
  color: var(--text-muted);
  margin-bottom: 24px;
}

.empty-cart-content h2 {
  font-family: var(--font-primary);
  font-size: 32px;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.empty-cart-content p {
  color: var(--text-secondary);
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.shop-now-btn {
  display: inline-block;
  padding: 16px 32px;
  background: var(--accent-color);
  color: white;
  text-decoration: none;
  border-radius: var(--border-radius);
  font-weight: 600;
  transition: var(--transition);
}

.shop-now-btn:hover {
  background: #b8941f;
  transform: translateY(-2px);
}

/* Footer */
.footer {
  background: var(--primary-color);
  color: white;
  padding: 48px 0 24px;
  margin-top: 80px;
}

.footer-content {
  margin-bottom: 32px;
}

.footer-section h3 {
  font-family: var(--font-primary);
  font-size: 20px;
  margin-bottom: 16px;
  color: var(--accent-color);
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 8px;
}

.footer-section ul li a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: var(--transition);
}

.footer-section ul li a:hover {
  color: var(--accent-color);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
}

/* WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
}

.whatsapp-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #25d366;
  color: white;
  padding: 16px 20px;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
  font-weight: 500;
}

.whatsapp-btn:hover {
  background: #128c7e;
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(37, 211, 102, 0.3);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cart-item {
  animation: fadeInUp 0.5s ease-out;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .cart-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .cart-summary {
    position: static;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }
  
  .mobile-toggle {
    display: flex;
  }
  
  .nav-actions {
    gap: 12px;
  }
  
  .search-input {
    width: 150px;
  }
  
  .cart-title {
    font-size: 36px;
  }
  
  .cart-table-wrapper {
    overflow-x: scroll;
  }
  
  .cart-table {
    min-width: 600px;
  }
  
  .cart-actions {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }
  
  .coupon-section {
    flex-direction: column;
  }
  
  .coupon-input {
    width: 100%;
  }
  
  .summary-card {
    padding: 24px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
  
  .cart-main {
    padding: 32px 0;
  }
  
  .cart-header {
    margin-bottom: 32px;
  }
  
  .cart-title {
    font-size: 28px;
  }
  
  .cart-subtitle {
    font-size: 16px;
  }
  
  .whatsapp-btn span {
    display: none;
  }
  
  .whatsapp-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    justify-content: center;
    padding: 16px;
  }
}
