/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-black: #0a0a0a;
  --secondary-black: #1a1a1a;
  --accent-gold: #ffd700;
  --gold-gradient: linear-gradient(135deg, #ffd700, #ffed4e, #ffd700);
  --text-white: #ffffff;
  --text-gray: #cccccc;
  --text-dark-gray: #888888;
  --border-gold: rgba(255, 215, 0, 0.3);
  --shadow-gold: 0 0 20px rgba(255, 215, 0, 0.3);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --responsive-unit: clamp(8px, 1vw, 16px);
  --max-container-width: 1440px;
  --min-container-width: 320px;
  --vh: 1vh;
  --vw: 1vw;
}

html {
  scroll-behavior: smooth;
  font-size: clamp(14px, 1.5vw, 16px);
}

body {
  font-family: "Inter", sans-serif;
  background: var(--primary-black);
  color: var(--text-white);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  width: min(90%, var(--max-container-width));
  min-width: var(--min-container-width);
  margin: 0 auto;
  padding: 0 var(--responsive-unit);
}

/* Header Styles */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-gold);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo-3d {
  font-family: "Orbitron", monospace;
  position: relative;
}

.logo-text {
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  font-weight: 900;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
  display: block;
  line-height: 1;
}

.logo-sub {
  font-size: clamp(0.6rem, 1.2vw, 0.7rem);
  font-weight: 400;
  color: var(--text-gray);
  letter-spacing: 2px;
  display: block;
  margin-top: -5px;
}

.nav-menu {
  display: flex;
  gap: clamp(1rem, 2vw, 2rem);
}

.nav-link, .nav-btn, .login-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 500;
  background: none;
  color: var(--text-white);
  border: none;
  text-decoration: none;
  transition: var(--transition);
}

.nav-link:hover, .nav-btn:hover, .login-btn:hover {
  background: var(--accent-gold);
  color: var(--primary-black);
}

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

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: clamp(0.5rem, 1vw, 1rem);
}

.auth-buttons {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.login-btn {
  background: none;
  color: var(--accent-gold);
  border: 1px solid var(--accent-gold);
}

.login-btn:hover {
  background: var(--accent-gold);
  color: var(--primary-black);
}

.register-btn {
  background: var(--gold-gradient);
  color: var(--primary-black);
  border-color: var(--accent-gold);
}

.register-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.user-menu {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.user-greeting {
  color: var(--text-gray);
  font-size: clamp(0.8rem, 1vw, 0.9rem);
}

.logout-btn {
  background: transparent;
  color: var(--text-gray);
  border-color: var(--text-dark-gray);
}

.logout-btn:hover {
  background: #ff4444;
  color: white;
  border-color: #ff4444;
}

/* Authentication Pages Styling */
.auth-container {
  min-height: calc(100vh - 200px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 0;
  background: linear-gradient(135deg, var(--primary-black), var(--secondary-black));
}

.auth-form {
  background: var(--secondary-black);
  border: 1px solid var(--border-gold);
  border-radius: 20px;
  padding: clamp(2rem, 4vw, 3rem);
  width: 100%;
  max-width: 500px;
  box-shadow: var(--shadow-gold);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.auth-form::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.1), transparent);
  transition: left 0.6s ease;
}

.auth-form:hover::before {
  left: 100%;
}

.auth-form h1 {
  font-family: "Orbitron", monospace;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 2rem;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.auth-form h1 i {
  font-size: 1.2em;
}

.alert {
  padding: 1rem;
  border-radius: 10px;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
}

.alert-error {
  background: rgba(255, 68, 68, 0.1);
  border: 1px solid rgba(255, 68, 68, 0.3);
  color: #ff4444;
}

.alert-success {
  background: rgba(76, 175, 80, 0.1);
  border: 1px solid rgba(76, 175, 80, 0.3);
  color: #4CAF50;
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

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

.form-group input {
  width: 100%;
  padding: 0.8rem 1rem;
  background: var(--primary-black);
  border: 1px solid var(--border-gold);
  border-radius: 10px;
  color: var(--text-white);
  font-size: 1rem;
  transition: var(--transition);
  box-sizing: border-box;
}

.form-group input:focus {
  outline: none;
  border-color: var(--accent-gold);
  box-shadow: var(--shadow-gold);
  background: rgba(255, 215, 0, 0.05);
}

.form-group input::placeholder {
  color: var(--text-dark-gray);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-primary {
  background: var(--gold-gradient);
  color: var(--primary-black);
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.5);
}

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

.btn-secondary:hover {
  background: var(--accent-gold);
  color: var(--primary-black);
  border-color: var(--accent-gold);
}

.btn-success {
  background: linear-gradient(135deg, #4CAF50, #45a049);
  color: white;
  box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.btn-success:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(76, 175, 80, 0.5);
}

.btn-danger {
  background: linear-gradient(135deg, #ff4444, #cc0000);
  color: white;
  box-shadow: 0 4px 15px rgba(255, 68, 68, 0.3);
}

.btn-danger:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 68, 68, 0.5);
}

.btn-small {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: white;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
}

.checkout-btn {
  background: var(--gold-gradient);
  color: var(--primary-black);
  font-weight: 700;
  font-size: 1.1rem;
  padding: 1rem 2rem;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.checkout-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.5);
}

.btn-full {
  width: 100%;
  padding: 1rem;
  font-size: 1.1rem;
}

.auth-links {
  margin-top: 2rem;
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-gold);
}

.auth-links p {
  margin: 0.5rem 0;
  color: var(--text-gray);
}

.auth-links a {
  color: var(--accent-gold);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
}

.auth-links a:hover {
  color: var(--text-white);
  text-decoration: underline;
}

/* Active state for navigation buttons */
.nav-btn.active {
  background: var(--accent-gold);
  color: var(--primary-black);
  border-color: var(--accent-gold);
}

/* Additional Form Styling */
form {
  width: 100%;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="number"],
textarea,
select {
  width: 100%;
  padding: 0.8rem 1rem;
  background: var(--primary-black);
  border: 1px solid var(--border-gold);
  border-radius: 10px;
  color: var(--text-white);
  font-size: 1rem;
  transition: var(--transition);
  box-sizing: border-box;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--accent-gold);
  box-shadow: var(--shadow-gold);
  background: rgba(255, 215, 0, 0.05);
}

input[type="text"]::placeholder,
input[type="email"]::placeholder,
input[type="password"]::placeholder,
input[type="tel"]::placeholder,
input[type="number"]::placeholder,
textarea::placeholder {
  color: var(--text-dark-gray);
}

/* Setup and utility pages styling */
.setup-notice {
  background: var(--secondary-black);
  border: 1px solid var(--border-gold);
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  margin: 2rem 0;
  box-shadow: var(--shadow-gold);
}

.setup-notice h2 {
  color: var(--accent-gold);
  margin-bottom: 1rem;
  font-family: "Orbitron", monospace;
}

.setup-notice p {
  color: var(--text-gray);
  margin-bottom: 1.5rem;
}

/* Admin link styling */
.admin-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--gold-gradient);
  color: var(--primary-black);
  padding: 0.8rem 1.5rem;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.admin-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.5);
}

.currency-select {
  background: var(--secondary-black);
  color: var(--text-white);
  border: 1px solid var(--border-gold);
  padding: 0.5rem;
  border-radius: 8px;
  font-size: clamp(0.8rem, 1vw, 0.9rem);
  cursor: pointer;
  transition: var(--transition);
}

.currency-select:hover {
  border-color: var(--accent-gold);
  box-shadow: var(--shadow-gold);
}

.search-container {
  display: flex;
  align-items: center;
  background: var(--secondary-black);
  border: 1px solid var(--border-gold);
  border-radius: 25px;
  overflow: hidden;
  transition: var(--transition);
}

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

.search-input {
  background: transparent;
  border: none;
  padding: 0.7rem 1rem;
  color: var(--text-white);
  outline: none;
  width: clamp(150px, 20vw, 200px);
  font-size: clamp(0.8rem, 1vw, 0.9rem);
}

.search-input::placeholder {
  color: var(--text-dark-gray);
}

.search-btn {
  background: transparent;
  border: none;
  padding: 0.7rem 1rem;
  color: var(--accent-gold);
  cursor: pointer;
  font-size: 1.1rem;
}

.cart-btn {
  position: relative;
  background: var(--gold-gradient);
  border: none;
  padding: clamp(0.5rem, 1vw, 0.7rem) clamp(0.8rem, 1.2vw, 1rem);
  border-radius: 25px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--primary-black);
  transition: var(--transition);
  min-height: 44px;
}

.cart-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(255, 215, 0, 0.4);
}

.cart-count {
  background: var(--accent-gold);
  color: var(--primary-black);
  border-radius: 50%;
  padding: 0.2em 0.6em;
  font-size: 0.9em;
  margin-left: 0.2em;
  font-weight: bold;
  vertical-align: middle;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  background: transparent;
  border: none;
  cursor: pointer;
  gap: 4px;
  padding: 0.5rem;
  min-height: 44px;
  min-width: 44px;
  z-index: 1001;
}

.mobile-menu-btn span {
  width: 25px;
  height: 3px;
  background: var(--accent-gold);
  transition: var(--transition);
  border-radius: 2px;
}

/* Mobile Menu Active States */
.mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 998;
}

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

/* Slidedown Animation */
@keyframes slideDown {
  from {
    transform: translateY(-20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Hero Section */
.hero {
  min-height: calc(var(--vh, 1vh) * 100);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
}

.globe-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(400px, 80vw);
  height: min(400px, 80vw);
}

.globe {
  width: min(200px, 40vw);
  height: min(200px, 40vw);
  background: radial-gradient(circle at 30% 30%, rgba(255, 215, 0, 0.3), rgba(255, 215, 0, 0.1), transparent);
  border: 2px solid var(--border-gold);
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: rotate 20s linear infinite;
}

.globe-rings {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.ring {
  position: absolute;
  border: 1px solid var(--border-gold);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.ring-1 {
  width: min(250px, 50vw);
  height: min(250px, 50vw);
  animation: rotate 15s linear infinite reverse;
}

.ring-2 {
  width: min(300px, 60vw);
  height: min(300px, 60vw);
  animation: rotate 25s linear infinite;
}

.ring-3 {
  width: min(350px, 70vw);
  height: min(350px, 70vw);
  animation: rotate 30s linear infinite reverse;
}

@keyframes rotate {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.hero-content {
  text-align: center;
  z-index: 2;
  max-width: 800px;
  padding: 0 2rem;
  margin-bottom: 4rem;
}

.hero-title {
  font-family: "Orbitron", monospace;
  margin-bottom: 1.5rem;
}

.title-main {
  display: block;
  font-size: clamp(2.5rem, 8vw, 6rem);
  font-weight: 900;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 50px rgba(255, 215, 0, 0.5);
  line-height: 1;
}

.title-sub {
  display: block;
  font-size: clamp(1.2rem, 4vw, 3rem);
  font-weight: 400;
  color: var(--text-gray);
  letter-spacing: 3px;
  margin-top: 0.5rem;
}

.hero-description {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: var(--text-gray);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: clamp(1rem, 3vw, 3rem);
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.stat {
  text-align: center;
  min-width: 80px;
}

.stat-number {
  display: block;
  font-size: clamp(2rem, 5vw, 2.5rem);
  font-weight: 700;
  color: var(--accent-gold);
  font-family: "Orbitron", monospace;
}

.stat-label {
  font-size: clamp(0.8rem, 1vw, 0.9rem);
  color: var(--text-gray);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cta-btn {
  position: relative;
  background: linear-gradient(135deg, var(--accent-gold), #ffed4e, var(--accent-gold));
  border: none;
  color: var(--primary-black);
  padding: clamp(1rem, 2vw, 1.2rem) clamp(2rem, 4vw, 3rem);
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  font-weight: 700;
  letter-spacing: 2px;
  cursor: pointer;
  border-radius: 60px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  text-transform: uppercase;
  min-height: 56px;
  box-shadow: 
    0 8px 32px rgba(255, 215, 0, 0.3),
    0 4px 16px rgba(255, 215, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  font-family: "Orbitron", monospace;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  margin-bottom: 2rem;
}

.cta-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.6s ease;
  z-index: 1;
}

.cta-btn:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 
    0 16px 48px rgba(255, 215, 0, 0.4),
    0 8px 24px rgba(255, 215, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
  background: linear-gradient(135deg, #ffed4e, var(--accent-gold), #ffed4e);
}

.cta-btn:hover::before {
  left: 100%;
}

.cta-btn:active {
  transform: translateY(-2px) scale(0.98);
  box-shadow: 
    0 8px 24px rgba(255, 215, 0, 0.3),
    0 4px 12px rgba(255, 215, 0, 0.2);
}

.cta-btn span {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cta-btn span i {
  font-size: 1.1em;
  transition: transform 0.3s ease;
}

.cta-btn:hover span i {
  transform: rotate(-15deg) scale(1.1);
}

.cta-btn::after {
  content: '→';
  position: relative;
  z-index: 2;
  font-size: 1.2em;
  font-weight: 900;
  transition: transform 0.3s ease;
}

.cta-btn:hover::after {
  transform: translateX(4px);
}

.btn-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.6) 0%, transparent 70%);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.6s ease;
  z-index: 0;
  pointer-events: none;
}

.cta-btn:hover .btn-glow {
  width: 300px;
  height: 300px;
}

.shipping-route {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(26, 26, 26, 0.8);
  padding: clamp(0.5rem, 1vw, 1rem) clamp(1rem, 2vw, 2rem);
  border-radius: 50px;
  border: 1px solid var(--border-gold);
  backdrop-filter: blur(10px);
  width: min(90%, 800px);
  z-index: 1;
}

.route-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: clamp(0.7rem, 1vw, 0.8rem);
  color: var(--text-gray);
}

.flag {
  font-size: clamp(1rem, 2vw, 1.5rem);
}

.route-arrow {
  font-size: clamp(1rem, 2vw, 1.5rem);
  color: var(--accent-gold);
  animation: pulse 2s infinite;
}

.route-destinations {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

/* Categories Section */
.categories {
  padding: clamp(3rem, 5vw, 5rem) 0;
  background: linear-gradient(135deg, var(--primary-black), var(--secondary-black));
}

.section-title {
  font-family: "Orbitron", monospace;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: clamp(2rem, 3vw, 3rem);
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
  gap: clamp(1rem, 2vw, 2rem);
  max-width: 1000px;
  margin: 0 auto;
}

.category-card {
  background: var(--secondary-black);
  border: 1px solid var(--border-gold);
  border-radius: 20px;
  padding: clamp(1.5rem, 2vw, 2rem);
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.category-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.1), transparent);
  transition: var(--transition);
}

.category-card:hover::before {
  left: 100%;
}

.category-card:hover {
  transform: translateY(-10px);
  border-color: var(--accent-gold);
  box-shadow: var(--shadow-gold);
}

.category-icon {
  font-size: clamp(2rem, 3vw, 3rem);
  margin-bottom: 1rem;
  display: block;
}

.category-card h3 {
  font-size: clamp(1.2rem, 1.5vw, 1.5rem);
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--accent-gold);
}

.category-card p {
  color: var(--text-gray);
  font-size: clamp(0.8rem, 1vw, 0.9rem);
}

/* Flash Deals */
.flash-deals {
  padding: clamp(2rem, 3vw, 3rem) 0;
  background: var(--primary-black);
}

.deals-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: clamp(1rem, 2vw, 2rem);
  flex-wrap: wrap;
  gap: 1rem;
}

.countdown {
  display: flex;
  gap: clamp(0.5rem, 1vw, 1rem);
  flex-wrap: wrap;
}

.countdown-item {
  background: var(--secondary-black);
  border: 1px solid var(--border-gold);
  border-radius: 10px;
  padding: clamp(0.8rem, 1vw, 1rem);
  text-align: center;
  min-width: min(80px, 20vw);
}

.countdown-number {
  display: block;
  font-size: clamp(1.2rem, 1.5vw, 1.5rem);
  font-weight: 700;
  color: var(--accent-gold);
  font-family: "Orbitron", monospace;
}

.countdown-label {
  font-size: clamp(0.7rem, 0.8vw, 0.8rem);
  color: var(--text-gray);
  text-transform: uppercase;
}

/* Products Section */
.products {
  padding: clamp(3rem, 5vw, 5rem) 0;
  background: var(--secondary-black);
}

.filters {
  display: flex;
  justify-content: center;
  gap: clamp(0.5rem, 1vw, 1rem);
  margin-bottom: clamp(2rem, 3vw, 3rem);
  flex-wrap: wrap;
}

.filter-btn {
  background: transparent;
  border: 1px solid var(--border-gold);
  color: var(--text-gray);
  padding: clamp(0.5rem, 0.7vw, 0.7rem) clamp(1rem, 1.5vw, 1.5rem);
  border-radius: 25px;
  cursor: pointer;
  transition: var(--transition);
  font-weight: 500;
  font-size: clamp(0.8rem, 1vw, 0.9rem);
  min-height: 40px;
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--gold-gradient);
  color: var(--primary-black);
  border-color: var(--accent-gold);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr));
  gap: clamp(1rem, 2vw, 2rem);
}

.product-card {
  background: var(--primary-black);
  border: 1px solid var(--border-gold);
  border-radius: 20px;
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-gold);
  border-color: var(--accent-gold);
}

.product-image {
  position: relative;
  height: clamp(200px, 25vw, 250px);
  overflow: hidden;
}

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

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

.product-badge {
  position: absolute;
  top: clamp(0.5rem, 1vw, 1rem);
  left: clamp(0.5rem, 1vw, 1rem);
  background: var(--gold-gradient);
  color: var(--primary-black);
  padding: clamp(0.2rem, 0.3vw, 0.3rem) clamp(0.5rem, 0.8vw, 0.8rem);
  border-radius: 15px;
  font-size: clamp(0.7rem, 0.8vw, 0.8rem);
  font-weight: 600;
}

.product-info {
  padding: clamp(1rem, 1.5vw, 1.5rem);
}

.product-title {
  font-size: clamp(1rem, 1.2vw, 1.2rem);
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-white);
}

.product-description {
  color: var(--text-gray);
  font-size: clamp(0.8rem, 0.9vw, 0.9rem);
  margin-bottom: 1rem;
  line-height: 1.4;
}

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

.price-current {
  font-size: clamp(1.1rem, 1.3vw, 1.3rem);
  font-weight: 700;
  color: var(--accent-gold);
  font-family: "Orbitron", monospace;
}

.price-original {
  font-size: clamp(0.9rem, 1vw, 1rem);
  color: var(--text-dark-gray);
  text-decoration: line-through;
}

.product-actions {
  display: flex;
  gap: clamp(0.3rem, 0.5vw, 0.5rem);
  flex-direction: column;
}

.add-to-cart-btn {
  background: var(--gold-gradient);
  border: none;
  color: var(--primary-black);
  padding: clamp(0.6rem, 0.8vw, 0.8rem);
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  min-height: 40px;
  font-size: clamp(0.8rem, 0.9vw, 0.9rem);
}

.add-to-cart-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

.view-details-btn {
  background: transparent;
  border: 1px solid var(--border-gold);
  color: var(--accent-gold);
  padding: clamp(0.6rem, 0.8vw, 0.8rem);
  border-radius: 10px;
  cursor: pointer;
  transition: var(--transition);
  min-height: 40px;
  font-size: clamp(0.8rem, 0.9vw, 0.9rem);
}

.view-details-btn:hover {
  background: var(--accent-gold);
  color: var(--primary-black);
}

.out-of-stock-btn {
  background: #666;
  border: none;
  color: #ccc;
  padding: clamp(0.6rem, 0.8vw, 0.8rem);
  border-radius: 10px;
  font-weight: 600;
  cursor: not-allowed;
  min-height: 40px;
  font-size: clamp(0.8rem, 0.9vw, 0.9rem);
  opacity: 0.6;
}

.btn-primary {
  flex: 1;
  background: var(--gold-gradient);
  border: none;
  color: var(--primary-black);
  padding: clamp(0.6rem, 0.8vw, 0.8rem);
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  min-height: 40px;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

.btn-secondary {
  background: transparent;
  border: 1px solid var(--border-gold);
  color: var(--accent-gold);
  padding: clamp(0.6rem, 0.8vw, 0.8rem) clamp(0.8rem, 1vw, 1rem);
  border-radius: 10px;
  cursor: pointer;
  transition: var(--transition);
  min-height: 40px;
}

.btn-secondary:hover {
  background: var(--accent-gold);
  color: var(--primary-black);
}

.btn-whatsapp {
  background: #25D366;
  border: none;
  color: white;
  padding: clamp(0.6rem, 0.8vw, 0.8rem);
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  min-height: 40px;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.btn-whatsapp:hover {
  background: #128C7E;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
}

.btn-danger {
  background: #dc3545;
  border: none;
  color: white;
  padding: clamp(0.6rem, 0.8vw, 0.8rem);
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  min-height: 40px;
}

.btn-danger:hover {
  background: #c82333;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(220, 53, 69, 0.4);
}

/* Product Card Specific Styles */
.product-card .product-actions {
  margin-top: 1rem;
}

.product-card .add-to-cart-btn,
.product-card .view-details-btn,
.product-card .out-of-stock-btn {
  width: 100%;
  margin-bottom: 0.5rem;
}

.product-card .add-to-cart-btn:last-child,
.product-card .view-details-btn:last-child,
.product-card .out-of-stock-btn:last-child {
  margin-bottom: 0;
}

/* About Section */
.about {
  padding: clamp(3rem, 5vw, 5rem) 0;
  background: var(--primary-black);
}

.about-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}

.about-text h2 {
  margin-bottom: clamp(1.5rem, 2vw, 2rem);
}

.about-text p {
  font-size: clamp(1rem, 1.1vw, 1.1rem);
  color: var(--text-gray);
  margin-bottom: clamp(1.5rem, 2vw, 2rem);
  line-height: 1.8;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: clamp(1rem, 1.5vw, 1.5rem);
}

.feature {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: clamp(0.8rem, 1vw, 1rem);
  background: var(--secondary-black);
  border-radius: 15px;
  border: 1px solid var(--border-gold);
}

.feature-icon {
  font-size: clamp(1.5rem, 2vw, 2rem);
  width: clamp(40px, 5vw, 60px);
  text-align: center;
}

.feature-text h4 {
  color: var(--accent-gold);
  margin-bottom: 0.3rem;
  font-size: clamp(1rem, 1.1vw, 1.1rem);
}

.feature-text p {
  color: var(--text-gray);
  margin: 0;
  font-size: clamp(0.8rem, 0.9vw, 0.9rem);
}

.logistics-map {
  position: relative;
  height: clamp(200px, 30vw, 300px);
  background: radial-gradient(circle, rgba(255, 215, 0, 0.1), transparent);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: clamp(1rem, 2vw, 2rem);
}

.map-point {
  position: relative;
  text-align: center;
  color: var(--accent-gold);
  font-weight: 600;
  font-size: clamp(0.9rem, 1vw, 1rem);
}

.point-pulse {
  width: clamp(15px, 2vw, 20px);
  height: clamp(15px, 2vw, 20px);
  background: var(--accent-gold);
  border-radius: 50%;
  margin: 0 auto 0.5rem;
  animation: pulse-point 2s infinite;
}

@keyframes pulse-point {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.7;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.shipping-line {
  position: absolute;
  top: 50%;
  left: 20%;
  right: 20%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-gold), transparent, var(--accent-gold));
  animation: flow 3s infinite;
}

@keyframes flow {
  0% {
    opacity: 0.3;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0.3;
  }
}

/* Contact Section */
.contact {
  padding: clamp(3rem, 5vw, 5rem) 0;
  background: var(--secondary-black);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: clamp(1rem, 2vw, 2rem);
  max-width: 1200px;
  margin: 0 auto;
}

.contact-card {
  background: var(--primary-black);
  border: 1px solid var(--border-gold);
  border-radius: 20px;
  padding: clamp(1.5rem, 2vw, 2rem);
  text-align: center;
  transition: var(--transition);
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-gold);
  border-color: var(--accent-gold);
}

.contact-icon {
  font-size: clamp(2rem, 3vw, 3rem);
  margin-bottom: 1rem;
  display: block;
}

.contact-card h3 {
  font-size: clamp(1.1rem, 1.3vw, 1.3rem);
  color: var(--accent-gold);
  margin-bottom: 0.5rem;
}

.contact-card p {
  color: var(--text-gray);
  margin-bottom: 1rem;
  font-size: clamp(0.9rem, 1vw, 1rem);
}

.contact-link {
  color: var(--text-white);
  text-decoration: none;
  font-weight: 600;
  font-size: clamp(1rem, 1.1vw, 1.1rem);
  transition: var(--transition);
}

.contact-link:hover {
  color: var(--accent-gold);
}

/* Footer */
.footer {
  background: var(--primary-black);
  border-top: 1px solid var(--border-gold);
  padding: clamp(2rem, 3vw, 3rem) 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
  gap: clamp(1rem, 2vw, 2rem);
  margin-bottom: clamp(1.5rem, 2vw, 2rem);
}

.footer-section h4 {
  color: var(--accent-gold);
  margin-bottom: 1rem;
  font-size: clamp(1rem, 1.1vw, 1.1rem);
}

.footer-section p {
  color: var(--text-gray);
  line-height: 1.6;
  font-size: clamp(0.9rem, 1vw, 1rem);
}

.payment-methods {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.payment-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-gray);
  font-size: clamp(0.9rem, 1vw, 1rem);
}

.payment-currencies {
  color: var(--accent-gold);
  font-weight: 600;
  font-family: "Orbitron", monospace;
}

.coverage-flags {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: clamp(0.9rem, 1vw, 1rem);
}

.footer-bottom {
  text-align: center;
  padding-top: clamp(1.5rem, 2vw, 2rem);
  border-top: 1px solid var(--border-gold);
  color: var(--text-dark-gray);
  font-size: clamp(0.8rem, 0.9vw, 0.9rem);
}

/* Cart Drawer */
.cart-drawer {
  position: fixed;
  top: 0;
  right: -400px;
  width: 400px;
  height: 100vh;
  background: var(--primary-black);
  border-left: 2px solid var(--accent-gold);
  z-index: 1000;
  transition: right 0.3s ease;
  display: flex;
  flex-direction: column;
  border-radius: 18px 0 0 18px !important;
  box-shadow: 0 8px 32px rgba(0,0,0,0.25) !important;
  max-width: 400px !important;
  min-width: 300px !important;
}

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

.cart-header {
  padding: 1.2rem 1.5rem !important;
  border-bottom: 1px solid var(--border-gold);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--secondary-black);
}

.cart-header h3 {
  color: var(--accent-gold);
  margin: 0;
  font-size: 1.3rem;
}

.cart-close {
  background: none;
  border: none;
  color: var(--text-gray);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.cart-close:hover {
  background: var(--accent-gold);
  color: var(--primary-black);
}

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

.cart-item {
  display: flex;
  align-items: center;
  gap: 0.7rem !important;
  padding: 0.7rem !important;
  border-radius: 10px !important;
  margin-bottom: 1rem;
  background: var(--secondary-black);
}

.cart-item img {
  border-radius: 8px !important;
  width: 48px !important;
  height: 48px !important;
  object-fit: cover !important;
}

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

.cart-item-info h4 {
  color: var(--accent-gold);
  margin: 0 0 0.5rem 0;
  font-size: 1rem;
}

.cart-item-price {
  color: var(--text-gray);
  margin: 0;
  font-size: 0.97rem !important;
}

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

.quantity-btn {
  background: var(--accent-gold);
  border: none;
  color: var(--primary-black);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.3s ease;
}

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

.quantity {
  color: var(--accent-gold);
  font-weight: bold;
  min-width: 20px;
  text-align: center;
}

.remove-btn {
  background: #dc3545;
  border: none;
  color: white;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.3s ease;
}

.remove-btn:hover {
  background: #c82333;
  transform: scale(1.1);
}

.cart-footer {
  padding: 1.2rem 1.5rem !important;
  border-top: 1px solid var(--border-gold);
  background: var(--secondary-black);
}

.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--accent-gold);
}

.checkout-btn {
  width: 100%;
  background: #25D366;
  border: none;
  color: white;
  padding: 1rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.checkout-btn:hover {
  background: #128C7E;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
}

.cart-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

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

.empty-cart {
  text-align: center;
  padding: 2rem;
  color: var(--text-gray);
}

.empty-cart i {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--text-dark-gray);
}

.add-to-cart-notification {
  position: fixed;
  top: 20px;
  right: 20px;
  background: #28a745;
  color: white;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  display: none;
  align-items: center;
  gap: 0.5rem;
  z-index: 1002;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  animation: slideIn 0.3s ease;
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Add to Cart Notification */
.add-to-cart-notification {
  position: fixed;
  top: 20px;
  right: 20px;
  background: #25D366;
  color: white;
  padding: 1rem 2rem;
  border-radius: 10px;
  z-index: 1001;
  animation: slideIn 0.3s ease;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Modal Improvements */
.product-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

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

.modal-content {
  background: var(--primary-black);
  border: 2px solid var(--accent-gold);
  border-radius: 20px;
  max-width: 90%;
  max-height: 90%;
  overflow-y: auto;
  position: relative;
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.product-modal.active .modal-content {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: var(--text-gray);
  font-size: 2rem;
  cursor: pointer;
  z-index: 1001;
  transition: all 0.3s ease;
}

.modal-close:hover {
  color: var(--accent-gold);
  transform: scale(1.1);
}

.modal-body {
  padding: 2rem;
}

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

.modal-product-image {
  text-align: center;
}

.modal-product-image img {
  max-width: 100%;
  border-radius: 15px;
  border: 1px solid var(--border-gold);
}

.modal-product-info h2 {
  color: var(--accent-gold);
  margin: 0 0 1rem 0;
  font-size: 1.8rem;
}

.modal-category {
  color: var(--text-gray);
  margin: 0 0 1rem 0;
  padding: 0.5rem 1rem;
  background: var(--secondary-black);
  border-radius: 20px;
  display: inline-block;
  border: 1px solid var(--border-gold);
}

.modal-description {
  color: var(--text-gray);
  line-height: 1.6;
  margin: 0 0 1.5rem 0;
}

.modal-price {
  font-size: 1.5rem;
  color: var(--accent-gold);
  font-weight: bold;
  margin: 0 0 1rem 0;
}

.modal-stock {
  color: var(--text-gray);
  margin: 0 0 1.5rem 0;
}

.modal-add-to-cart {
  background: linear-gradient(135deg, #FFD700, #FFA500);
  border: none;
  color: var(--primary-black);
  padding: 1rem 2rem;
  border-radius: 15px;
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  width: 100%;
}

.modal-add-to-cart:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.5);
}

.modal-out-of-stock {
  background: #666;
  border: none;
  color: #ccc;
  padding: 1rem 2rem;
  border-radius: 15px;
  font-weight: 600;
  font-size: 1rem;
  cursor: not-allowed;
  opacity: 0.6;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  width: 100%;
}

/* Tablet and Mobile Responsive Design */
@media (max-width: 1024px) {
  .nav-menu {
    gap: 1rem;
  }
  
  .nav-link {
    padding: 0.4rem 0.8rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none !important;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--secondary-black);
    border-bottom: 1px solid var(--border-gold);
    padding: 2rem;
    z-index: 999;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  }
  
  .nav-menu.mobile-active {
    display: flex !important;
    flex-direction: column;
    gap: 1.5rem;
    animation: slideDown 0.3s ease-out;
  }
  
  .mobile-menu-btn {
    display: flex !important;
  }
  
  .nav-link {
    padding: 1rem;
    font-size: 1.1rem;
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
    text-align: center;
    border-radius: 0;
  }
  
  .nav-link:last-child {
    border-bottom: none;
  }
  
  .nav-actions {
    gap: 0.3rem;
  }
  
  .auth-buttons {
    gap: 0.3rem;
  }
  
  .nav-btn {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
  }
  
  .nav-btn span {
    display: none;
  }
  
  .user-menu {
    gap: 0.5rem;
  }
  
  .user-greeting {
    display: none;
  }
  
  .cta-btn {
    padding: clamp(0.8rem, 1.5vw, 1rem) clamp(1.5rem, 3vw, 2rem);
    font-size: clamp(0.9rem, 1.1vw, 1rem);
    min-height: 48px;
    letter-spacing: 1px;
  }
  
  .cta-btn span {
    gap: 0.4rem;
  }
  
  .cta-btn span i {
    font-size: 1em;
  }
  
  .product-detail {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .product-detail-image {
    min-height: 300px;
  }

  .cart-drawer {
    max-width: 100vw !important;
    min-width: 0 !important;
    border-radius: 0 !important;
  }

  .modal-product {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .modal-content {
    margin: 1rem;
    max-width: calc(100% - 2rem);
  }
  
  .product-navigation {
    flex-direction: column;
  }

  .product-navigation .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .auth-form {
    padding: 1.5rem;
    margin: 1rem;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .auth-form h1 {
    font-size: 1.5rem;
  }
  
  .cta-btn {
    padding: 0.7rem 1.5rem;
    font-size: 0.9rem;
    min-height: 44px;
    letter-spacing: 0.5px;
  }
  
  .cta-btn span {
    gap: 0.3rem;
  }
  
  .cta-btn span i {
    font-size: 0.9em;
  }
  
  .product-detail-info h1 {
    font-size: 1.5rem;
  }

  .add-to-cart-btn,
  .view-details-btn,
  .btn-whatsapp {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
  }

  .cart-item {
    flex-direction: column;
    text-align: center;
  }

  .cart-item-controls {
    justify-content: center;
  }
}

/* Product Detail Page Styles */
.product-detail-container {
  padding: clamp(2rem, 4vw, 4rem) 0;
  min-height: 60vh;
}

.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  margin-bottom: 2rem;
}

.product-detail-image {
  background: var(--secondary-black);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}

.product-detail-image img {
    width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.product-detail-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.product-detail-info h1 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--accent-gold);
  margin: 0;
  font-weight: 700;
}

.product-category {
  color: var(--text-gray);
  font-size: 1rem;
  margin: 0;
  padding: 0.5rem 1rem;
  background: var(--secondary-black);
  border-radius: 20px;
  display: inline-block;
  border: 1px solid var(--border-gold);
}

.product-detail-info .product-price {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  color: var(--accent-gold);
  font-weight: 700;
}

.product-stock {
  color: var(--text-gray);
  font-size: 1rem;
  margin: 0;
}

.product-description {
  background: var(--secondary-black);
  padding: 1.5rem;
  border-radius: 15px;
  border: 1px solid var(--border-gold);
}

.product-description h3 {
  color: var(--accent-gold);
  margin: 0 0 1rem 0;
  font-size: 1.2rem;
}

.product-description p {
  color: var(--text-gray);
  line-height: 1.6;
  margin: 0;
}

.product-navigation {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

/* Enhanced Button Styles */
.add-to-cart-btn {
  background: linear-gradient(135deg, #FFD700, #FFA500);
  border: none;
  color: var(--primary-black);
  padding: 1rem 2rem;
  border-radius: 15px;
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
  position: relative;
  overflow: hidden;
}

.add-to-cart-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s;
}

.add-to-cart-btn:hover::before {
  left: 100%;
}

.add-to-cart-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.5);
}

.add-to-cart-btn:active {
  transform: translateY(-1px);
}

.view-details-btn {
  background: transparent;
  border: 2px solid var(--accent-gold);
  color: var(--accent-gold);
  padding: 1rem 2rem;
  border-radius: 15px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
}

.view-details-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: var(--accent-gold);
  transition: width 0.3s ease;
  z-index: -1;
}

.view-details-btn:hover::before {
  width: 100%;
}

.view-details-btn:hover {
  color: var(--primary-black);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

.out-of-stock-btn {
  background: #666;
  border: none;
  color: #ccc;
  padding: 1rem 2rem;
  border-radius: 15px;
  font-weight: 600;
  font-size: 1rem;
  cursor: not-allowed;
  opacity: 0.6;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-whatsapp {
  background: #25D366;
  border: none;
  color: white;
  padding: 1rem 2rem;
  border-radius: 15px;
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  background: #128C7E;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
  color: white;
  text-decoration: none;
}

/* Product Card Button Improvements */
.product-card .product-actions {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-top: 1rem;
}

.product-card .add-to-cart-btn,
.product-card .view-details-btn,
.product-card .out-of-stock-btn {
  width: 100%;
  padding: 0.8rem 1.5rem;
  font-size: 0.9rem;
  border-radius: 12px;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
  :root {
    --primary-black: #000000;
    --secondary-black: #111111;
    --text-white: #ffffff;
    --accent-gold: #ffff00;
  }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .globe,
  .ring,
  .route-arrow,
  .point-pulse,
  .shipping-line,
  .whatsapp-pulse {
    animation: none !important;
  }
}

@media (max-width: 600px) {
  .header .container, .nav-container {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 0.5rem;
  }
  .nav-menu {
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
    align-items: flex-start;
  }
  .nav-link, .nav-btn, .login-btn {
    width: auto;
    text-align: left;
    padding: 0.8rem 0.8rem;
    font-size: 1.1rem;
  }
  .nav-actions, .auth-buttons {
    width: 100%;
    justify-content: flex-start;
    margin-top: 0.5rem;
  }
  .cart-count {
    font-size: 1.1rem;
  }
  .cart-drawer {
    max-width: 100vw !important;
    min-width: 0 !important;
    border-radius: 0 !important;
  }
  .cart-item {
    flex-direction: column !important;
    align-items: flex-start !important;
    text-align: left !important;
    gap: 0.5rem !important;
  }
  .cart-header, .cart-footer {
    padding: 1rem !important;
  }
}   