/* ===== RESET & BASE ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background: linear-gradient(135deg, #0f1724, #1e293b);
  color: #e6eef6;
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
}

a {
  color: #00d1ff;
  text-decoration: none;
  transition: color 0.3s ease;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* ===== HEADER ===== */
.header {
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(20px);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  border-bottom: 1px solid rgba(0, 209, 255, 0.3);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: #00d1ff;
  text-shadow: 0 0 10px rgba(0, 209, 255, 0.5);
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

.logo img {
  border-radius: 50%;
  border: 2px solid #00d1ff;
  box-shadow: 0 0 15px rgba(0, 209, 255, 0.5);
  transition: box-shadow 0.3s ease;
}

.logo img:hover {
  box-shadow: 0 0 25px rgba(0, 209, 255, 0.8);
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 1.5rem;
  align-items: center;
}

.nav-list li {
  position: relative;
}

.nav-list a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.nav-list a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 209, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.nav-list a:hover::before {
  left: 100%;
}

.nav-list a:hover {
  background: rgba(0, 209, 255, 0.1);
  color: #00d1ff;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 209, 255, 0.3);
}

.nav-icon {
  width: 1.25rem;
  height: 1.25rem;
  transition: transform 0.3s ease;
}

.nav-list a:hover .nav-icon {
  transform: scale(1.1);
}

.cart-btn {
  background: linear-gradient(135deg, #0b57a4, #00d1ff);
  border: none;
  color: #e6eef6;
  padding: 0.75rem;
  border-radius: 12px;
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 209, 255, 0.3);
}

.cart-btn:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 6px 25px rgba(0, 209, 255, 0.5);
}

.cart-count {
  position: absolute;
  top: -8px;
  right: -8px;
  background: #ff4757;
  color: #ffffff;
  border-radius: 50%;
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  min-width: 1.25rem;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  color: #e6eef6;
  cursor: pointer;
  padding: 0.5rem;
  transition: transform 0.3s ease;
}

.hamburger span {
  width: 24px;
  height: 3px;
  background: #00d1ff;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* ===== MINI CART ===== */
.mini-cart {
  position: fixed;
  top: 0;
  right: -400px;
  width: 380px;
  height: 100vh;
  background: rgba(15, 23, 42, 0.98);
  backdrop-filter: blur(25px);
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1001;
  padding: 2rem 1rem;
  overflow-y: auto;
  border-left: 1px solid rgba(0, 209, 255, 0.3);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
}

.mini-cart.active {
  right: 0;
}

.mini-cart-content h3 {
  color: #00d1ff;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  text-align: center;
}

.cart-items {
  margin: 1.5rem 0;
  max-height: 50vh;
  overflow-y: auto;
}

.cart-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(230, 238, 246, 0.2);
  transition: transform 0.2s ease;
}

.cart-item:hover {
  transform: translateX(-5px);
}

.cart-item img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
  border: 2px solid rgba(0, 209, 255, 0.3);
}

.cart-item p {
  margin: 0.25rem 0;
  font-size: 0.9rem;
}

.remove-btn {
  background: #ff4757;
  color: white;
  border: none;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.8rem;
  transition: background 0.3s ease;
}

.remove-btn:hover {
  background: #ff3742;
}

.cart-total {
  margin: 2rem 0;
  font-size: 1.3rem;
  text-align: center;
  color: #00d1ff;
  font-weight: 700;
}

/* ===== FOOTER ===== */
.footer {
  background: linear-gradient(135deg, #0f1724, #1e293b);
  padding: 5rem 0 3rem;
  border-top: 1px solid rgba(0, 209, 255, 0.3);
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 30% 70%, rgba(0, 209, 255, 0.05) 0%, transparent 50%),
              radial-gradient(circle at 70% 30%, rgba(11, 87, 164, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
  position: relative;
  z-index: 2;
}

.footer h3, .footer h4 {
  color: #00d1ff;
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
}

.footer p {
  margin-bottom: 1rem;
  color: rgba(230, 238, 246, 0.8);
  line-height: 1.6;
}

.footer a {
  display: block;
  margin-bottom: 0.75rem;
  transition: all 0.3s ease;
  padding: 0.5rem;
  border-radius: 8px;
}

.footer a:hover {
  color: #e6eef6;
  background: rgba(0, 209, 255, 0.1);
  transform: translateX(5px);
}

.payment-icons {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.payment-icons img {
  height: 50px;
  background: rgba(230, 238, 246, 0.1);
  border-radius: 8px;
  padding: 0.5rem;
  border: 1px solid rgba(0, 209, 255, 0.2);
  transition: all 0.3s ease;
}

.payment-icons img:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 15px rgba(0, 209, 255, 0.3);
}

.newsletter {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.newsletter input {
  flex: 1;
  padding: 1rem;
  border: 2px solid rgba(0, 209, 255, 0.3);
  border-radius: 12px;
  background: rgba(230, 238, 246, 0.1);
  color: #e6eef6;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.newsletter input:focus {
  outline: none;
  border-color: #00d1ff;
  box-shadow: 0 0 0 3px rgba(0, 209, 255, 0.2);
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(0, 209, 255, 0.2);
  padding-top: 2rem;
  color: rgba(230, 238, 246, 0.7);
  position: relative;
  z-index: 2;
}

/* ===== SHOP SPECIFIC STYLES ===== */

/* ===== MAIN LAYOUT ===== */
main {
  flex: 1;
  padding: 2rem 1rem;
  min-height: calc(100vh - 60px);
  margin-top: 60px;
}

main h1 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 3xl;
  color: #00d1ff;
}

/* ===== SEARCH & FILTERS ===== */
.flex {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.flex input, .flex select {
  flex: 1;
  min-width: 200px;
  padding: 0.75rem 1rem;
  border: 2px solid rgba(0, 209, 255, 0.3);
  border-radius: 12px;
  background: rgba(230, 238, 246, 0.1);
  color: #e6eef6;
  font-size: 1rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.flex input:focus, .flex select:focus {
  outline: none;
  border-color: #00d1ff;
  box-shadow: 0 0 0 3px rgba(0, 209, 255, 0.2);
  transform: scale(1.02);
}

/* ===== PRODUCT GRID ===== */
.grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* ===== LUX CARD ===== */
.lux-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 209, 255, 0.3);
  border-radius: 20px;
  padding: 1rem;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.lux-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 209, 255, 0.1), transparent);
  transition: left 0.6s ease;
}

.lux-card:hover::before {
  left: 100%;
}

.lux-card:hover {
  transform: translateY(-10px) rotateX(5deg);
  box-shadow: 0 20px 60px rgba(0, 209, 255, 0.4);
  border-color: rgba(0, 209, 255, 0.6);
}

.lux-card img {
  width: 100%;
  height: 200px;
  object-fit: contain;
  border-radius: 12px;
  margin-bottom: 1rem;
  transition: transform 0.3s ease;
  border: 2px solid rgba(0, 209, 255, 0.2);
}

.lux-card:hover img {
  transform: scale(1.05);
}

.lux-card h3 {
  margin-bottom: 0.5rem;
  color: #e6eef6;
  font-size: 1.25rem;
}

.lux-card p {
  margin-bottom: 0.5rem;
  color: rgba(230, 238, 246, 0.8);
  font-size: 0.9rem;
}

.lux-card .font-bold {
  font-size: 1.4rem;
  font-weight: 700;
  color: #00d1ff;
  margin-bottom: 1rem;
  text-shadow: 0 0 10px rgba(0, 209, 255, 0.3);
}

.lux-card .flex {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 1rem;
}

.lux-card button {
  flex: 1;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.lux-card button:first-child {
  background: linear-gradient(135deg, #0b57a4, #00d1ff);
  color: #e6eef6;
  border: none;
  box-shadow: 0 4px 15px rgba(0, 209, 255, 0.3);
}

.lux-card button:first-child:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 6px 25px rgba(0, 209, 255, 0.5);
}

.lux-card button:last-child {
  background: rgba(230, 238, 246, 0.1);
  color: #e6eef6;
  border: 2px solid rgba(0, 209, 255, 0.3);
  backdrop-filter: blur(10px);
}

.lux-card button:last-child:hover {
  background: rgba(0, 209, 255, 0.2);
  border-color: #00d1ff;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 209, 255, 0.3);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .nav-list {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 2rem;
    border-radius: 0 0 20px 20px;
    border: 1px solid rgba(0, 209, 255, 0.3);
    border-top: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: slideDown 0.3s ease;
  }

  @keyframes slideDown {
    from {
      opacity: 0;
      transform: translateY(-20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .nav-list.active {
    display: flex;
  }

  .hamburger {
    display: flex;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .flex {
    flex-direction: column;
  }

  .newsletter {
    flex-direction: column;
  }
}
