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

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--gold-primary) var(--bg-primary);
}

/* Custom Scrollbar for Chrome, Safari and Opera */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--gold-primary);
  border-radius: var(--border-radius-sm);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gold-hover);
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headings);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

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

button, input, select, textarea {
  font-family: inherit;
  background: transparent;
  border: none;
  outline: none;
  color: inherit;
}

ul {
  list-style: none;
}

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

/* Custom Cursor (Luxury Apple/Nike-like effect) */
.custom-cursor {
  width: 8px;
  height: 8px;
  background: var(--gold-primary);
  border-radius: 50%;
  position: fixed;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 10000;
  transition: width 0.2s, height 0.2s, background-color 0.2s;
}

.custom-cursor-follower {
  width: 32px;
  height: 32px;
  border: 1px solid var(--gold-primary);
  border-radius: 50%;
  position: fixed;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 9999;
  transition: transform 0.1s ease-out, width 0.2s, height 0.2s, border-color 0.2s;
}

/* Cursor Hover states */
body.hovered-interactive .custom-cursor {
  width: 14px;
  height: 14px;
  background-color: var(--text-primary);
}
body.hovered-interactive .custom-cursor-follower {
  width: 48px;
  height: 48px;
  border-color: var(--text-primary);
  transform: translate(-50%, -50%) scale(1.2);
}

/* Hide cursor on touch devices */
@media (max-width: 1024px) {
  .custom-cursor, .custom-cursor-follower {
    display: none;
  }
}

/* Layout Containers */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Glassmorphic Utilities */
.glass-panel {
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-md);
}

.glass-panel:hover {
  border-color: var(--border-active);
  box-shadow: var(--shadow-gold);
}

/* Luxury Gold Gradients */
.gold-text {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.btn-gold {
  background: var(--gold-gradient);
  color: var(--bg-primary) !important;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 14px 28px;
  border-radius: var(--border-radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: var(--transition-medium);
}

.btn-gold::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: 0.5s;
}

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

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

.btn-outline {
  border: 1px solid var(--gold-primary);
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
  padding: 13px 27px;
  border-radius: var(--border-radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: var(--transition-medium);
}

.btn-outline:hover {
  background: rgba(212, 175, 55, 0.05);
  border-color: var(--gold-hover);
  box-shadow: var(--gold-glow);
  transform: translateY(-2px);
}

/* Header Navbar Styles */
.header {
  height: var(--header-height);
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  transition: var(--transition-medium);
  border-bottom: 1px solid transparent;
}

.header.scrolled {
  background: rgba(5, 5, 5, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  height: 70px;
  border-bottom: 1px solid var(--border-light);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-headings);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.logo span {
  font-size: 12px;
  letter-spacing: 0.25em;
  color: var(--gold-primary);
  display: block;
  font-weight: 500;
  font-family: var(--font-body);
}

.logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
  transition: var(--transition-medium);
}

.logo:hover .logo-img {
  transform: scale(1.05);
}

.header.scrolled .logo-img {
  height: 40px;
}

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

.nav-link {
  font-weight: 500;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  position: relative;
  padding: 8px 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold-primary);
  transition: var(--transition-fast);
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.action-btn {
  font-size: 18px;
  color: var(--text-secondary);
  cursor: pointer;
  position: relative;
  transition: var(--transition-fast);
  padding: 4px;
}

.action-btn:hover {
  color: var(--gold-primary);
}

.badge {
  position: absolute;
  top: -4px;
  right: -6px;
  background: var(--gold-primary);
  color: var(--bg-primary);
  font-size: 9px;
  font-weight: 700;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.menu-toggle {
  display: none;
  font-size: 20px;
}

/* Side Drawers (Cart and Wishlist) */
.drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.drawer-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.drawer {
  position: fixed;
  top: 0;
  right: -450px;
  width: 100%;
  max-width: 420px;
  height: 100%;
  background: var(--bg-secondary);
  border-left: 1px solid var(--border-glass);
  z-index: 2001;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
  transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.drawer.active {
  right: 0;
}

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

.drawer-title {
  font-family: var(--font-headings);
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 10px;
}

.drawer-close {
  font-size: 20px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition-fast);
}

.drawer-close:hover {
  color: var(--text-primary);
  transform: rotate(90deg);
}

.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
}

.drawer-footer {
  padding: 24px;
  border-top: 1px solid var(--border-light);
  background: var(--bg-tertiary);
}

/* Cart Item Cards */
.drawer-item {
  display: flex;
  gap: 16px;
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-light);
}

.drawer-item-img {
  width: 70px;
  height: 70px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius-sm);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.drawer-item-img img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.drawer-item-details {
  flex: 1;
}

.drawer-item-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.drawer-item-brand {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gold-primary);
  margin-bottom: 6px;
}

.drawer-item-meta {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.drawer-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.drawer-qty-control {
  display: flex;
  align-items: center;
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius-sm);
}

.drawer-qty-btn {
  width: 24px;
  height: 24px;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-secondary);
}

.drawer-qty-btn:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

.drawer-qty-val {
  width: 28px;
  text-align: center;
  font-size: 12px;
  font-weight: 500;
}

.drawer-item-price {
  font-weight: 600;
  font-size: 14px;
}

.drawer-item-remove {
  color: var(--text-muted);
  font-size: 12px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.drawer-item-remove:hover {
  color: #ef4444;
}

/* Drawer Summaries */
.drawer-summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 14px;
}

.drawer-summary-row.total {
  font-size: 18px;
  font-weight: 700;
  font-family: var(--font-headings);
  border-top: 1px solid var(--border-light);
  padding-top: 12px;
  margin-top: 12px;
  margin-bottom: 24px;
}

.drawer-btn {
  width: 100%;
}

/* Empty States */
.drawer-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
  color: var(--text-secondary);
}

.drawer-empty-icon {
  font-size: 48px;
  color: var(--border-active);
  margin-bottom: 16px;
}

/* Footer Section */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-light);
  padding: 80px 0 30px 0;
  position: relative;
  z-index: 10;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 2fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-brand .logo {
  margin-bottom: 16px;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: 24px;
  max-width: 320px;
}

.footer-socials {
  display: flex;
  gap: 16px;
}

.social-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: var(--transition-medium);
}

.social-icon:hover {
  border-color: var(--gold-primary);
  color: var(--gold-primary);
  box-shadow: var(--gold-glow);
  transform: translateY(-3px);
}

.footer-col h4 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 24px;
  color: var(--text-primary);
  position: relative;
  display: inline-block;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 24px;
  height: 1px;
  background: var(--gold-primary);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link {
  font-size: 14px;
  color: var(--text-secondary);
}

.footer-link:hover {
  color: var(--gold-primary);
  padding-left: 6px;
}

.footer-newsletter h4 {
  margin-bottom: 16px;
}

.footer-newsletter p {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.newsletter-form {
  display: flex;
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius-sm);
  overflow: hidden;
  background: var(--bg-primary);
  transition: var(--transition-fast);
}

.newsletter-form:focus-within {
  border-color: var(--gold-primary);
  box-shadow: var(--gold-glow);
}

.newsletter-form input {
  flex: 1;
  padding: 12px 16px;
  font-size: 14px;
}

.newsletter-btn {
  background: var(--gold-gradient);
  color: var(--bg-primary);
  font-weight: 600;
  padding: 0 20px;
  cursor: pointer;
}

.footer-bottom {
  border-top: 1px solid var(--border-light);
  padding-top: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-muted);
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.academy-status {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #10b981;
}

.status-dot {
  width: 8px;
  height: 8px;
  background-color: #10b981;
  border-radius: 50%;
  animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

/* Premium Search Modal Overlay */
.search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(16px);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.search-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.search-container {
  width: 100%;
  max-width: 700px;
  padding: 24px;
  text-align: center;
}

.search-close {
  position: absolute;
  top: 40px;
  right: 40px;
  font-size: 32px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition-fast);
}

.search-close:hover {
  color: var(--text-primary);
  transform: rotate(90deg);
}

.search-input-wrapper {
  position: relative;
  margin-bottom: 40px;
}

.search-input-field {
  width: 100%;
  font-size: 36px;
  font-family: var(--font-headings);
  border-bottom: 2px solid var(--border-light);
  padding: 16px 0;
  text-align: center;
  transition: var(--transition-medium);
}

.search-input-field:focus {
  border-color: var(--gold-primary);
}

.search-icon-inside {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  color: var(--text-muted);
}

.search-suggestions-title {
  font-family: var(--font-headings);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold-primary);
  margin-bottom: 16px;
}

.search-suggestions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.suggestion-tag {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-light);
  padding: 8px 16px;
  border-radius: var(--border-radius-xl);
  font-size: 13px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.suggestion-tag:hover {
  border-color: var(--gold-primary);
  color: var(--gold-primary);
  background: rgba(212, 175, 55, 0.05);
}

/* Mobile responsive fixes */
@media (max-width: 991px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .nav-links {
    display: none; /* Mobile menu sidebar */
  }
  .menu-toggle {
    display: block;
  }
}

@media (max-width: 575px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

/* WhatsApp Quick Button styles */
.whatsapp-quick-btn {
  background-color: #25d366 !important;
  color: #ffffff !important;
  border-color: #25d366 !important;
}

.whatsapp-quick-btn:hover {
  background-color: #20ba5a !important;
  border-color: #20ba5a !important;
  box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3) !important;
  color: #ffffff !important;
  transform: translateY(-2px);
}

