/* VIPgold - Premium Luxury Gold Website */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&family=Fira+Sans:wght@300;400;500;600;700&display=swap');

/* Color Palette & Typography */
:root {
  /* Colors */
  --bg-primary: #0B0B0F;
  --bg-secondary: #12121A;
  --bg-tertiary: #1a1a24;
  --text-primary: #E8E8EC;
  --text-secondary: #B0B0BC;
  --gold-primary: #D4AF37;
  --gold-light: #F6E27A;
  --gold-dark: #B8960C;
  --gold-border: rgba(212, 175, 55, 0.25);
  --gold-glow: rgba(212, 175, 55, 0.15);
  --success: #2ecc71;
  --error: #e74c3c;
  --white: #ffffff;
  --black: #000000;
  
  /* Typography */
  --font-heading: 'Montserrat', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-body: 'Fira Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-weight: 400;
  letter-spacing: normal;
  background-image: 
    radial-gradient(ellipse at 0% 0%, rgba(212, 175, 55, 0.03) 0%, transparent 50%),
    radial-gradient(ellipse at 100% 100%, rgba(212, 175, 55, 0.03) 0%, transparent 50%);
}

/* Typography - GLAMIRA-inspired Luxury */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  color: var(--text-primary);
  letter-spacing: 0.02em;
}

h1 { 
  font-size: clamp(2.5rem, 5.5vw, 4.5rem); 
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.02em;
}
h2 { 
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.02em;
}
h3 { 
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.02em;
}
h4 {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.02em;
}

p { 
  color: var(--text-secondary);
  font-family: var(--font-body);
  line-height: 1.7;
  letter-spacing: normal;
}

li { 
  color: var(--text-secondary);
  font-family: var(--font-body);
  line-height: 1.6;
  letter-spacing: normal;
}

a {
  color: var(--gold-primary);
  text-decoration: none;
  transition: color 0.3s ease;
  font-family: var(--font-body);
}

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

/* Container */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 768px) {
  .container { padding: 0 2rem; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.875rem 2rem;
  border: none;
  border-radius: 4px;
  font-size: 0.95rem;
  font-weight: 500;
  font-family: var(--font-body);
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(
    90deg,
    var(--gold-dark) 0%,
    var(--gold-primary) 25%,
    var(--gold-light) 50%,
    var(--gold-primary) 75%,
    var(--gold-dark) 100%
  );
  background-size: 200% auto;
  color: var(--bg-primary);
  box-shadow: 0 4px 15px var(--gold-glow);
  animation: shimmer 3s linear infinite;
  position: relative;
  overflow: hidden;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
  animation-duration: 2s;
  color: #1a1a1a;
}

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

.btn-secondary:hover {
  background: var(--gold-primary);
  color: #1a1a1a;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
  color: #1a1a1a;
  border: none;
  font-weight: 600;
}
.btn-gold:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold-primary));
  box-shadow: 0 4px 20px rgba(212,175,55,0.3);
}

.btn-gold-outline {
  background: transparent;
  color: var(--gold-primary);
  border: 1.5px solid var(--gold-primary);
  font-weight: 600;
}
.btn-gold-outline:hover {
  background: rgba(212,175,55,0.1);
  color: var(--gold-light);
  border-color: var(--gold-light);
}

.btn-icon {
  width: 20px;
  height: 20px;
}

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

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
  letter-spacing: 0.02em;
  position: relative;
}

.logo span { 
  background: linear-gradient(
    90deg,
    var(--gold-dark) 0%,
    var(--gold-primary) 25%,
    var(--gold-light) 50%,
    var(--gold-primary) 75%,
    var(--gold-dark) 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 3s linear infinite;
  font-weight: 700;
}

.nav { display: none; }

@media (min-width: 1024px) {
  .nav {
    display: flex;
    gap: 2rem;
    align-items: center;
  }
}

.nav a {
  color: var(--text-primary);
  font-size: 1.05rem;
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: color 0.3s ease;
  position: relative;
}

.nav a:hover, .nav a.active { 
  color: var(--gold-light);
  text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

/* Nav dropdown (Zlato submenu) */
.nav-dropdown-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.nav-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-secondary);
  border: 1px solid var(--gold-border);
  border-radius: 0 0 10px 10px;
  padding: 0.75rem 0 0.5rem;
  min-width: 210px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  z-index: 200;
  white-space: nowrap;
}
.nav-dropdown-wrap:hover .nav-dropdown {
  display: block;
}
.nav-dropdown-wrap {
  padding-bottom: 1rem;
  margin-bottom: -1rem;
}
.nav-dropdown a {
  display: block;
  padding: 0.65rem 1.2rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
  transition: all 0.15s;
  text-shadow: none;
}
.nav-dropdown a:hover {
  color: var(--gold-primary);
  background: var(--gold-glow);
  text-shadow: none;
}

/* Language Switcher */
.header-lang {
  position: relative;
}
.header-lang-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  background: transparent;
  border: 1px solid var(--gold-border);
  border-radius: 6px;
  color: var(--text-secondary);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 0.45rem 0.6rem;
  cursor: pointer;
  transition: all 0.2s;
}
.header-lang-btn:hover {
  color: var(--gold-primary);
  border-color: var(--gold-primary);
}
.header-lang-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--bg-secondary);
  border: 1px solid var(--gold-border);
  border-radius: 10px;
  padding: 0.5rem 0;
  min-width: 150px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  z-index: 300;
}
.header-lang-dropdown.open {
  display: block;
}
.header-lang-dropdown a {
  display: block;
  padding: 0.6rem 1.1rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
  transition: all 0.15s;
}
.header-lang-dropdown a:hover {
  color: var(--gold-primary);
  background: var(--gold-glow);
}
.header-lang-dropdown a.active {
  color: var(--gold-primary);
  font-weight: 600;
}
.mobile-menu-langs {
  display: flex;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-top: 1px solid var(--gold-border);
  border-bottom: 1px solid var(--gold-border);
  margin: 0.5rem 0;
}
.mobile-menu-langs a {
  padding: 0.35rem 0.9rem;
  border: 1px solid var(--gold-border);
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
}
.mobile-menu-langs a.active {
  color: var(--bg-primary);
  background: var(--gold-primary);
  border-color: var(--gold-primary);
}

.header-cta { 
  display: none;
  font-size: 0.85rem;
  padding: 0.65rem 1.25rem;
}

@media (min-width: 768px) {
  .header-cta { display: flex; }
}

.mobile-menu-btn {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

@media (min-width: 1024px) {
  .mobile-menu-btn { display: none; }
}

.mobile-menu-btn span {
  width: 24px;
  height: 2px;
  background: var(--gold-primary);
  transition: all 0.3s ease;
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg-primary);
  padding: 2rem;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  z-index: 999;
}

.mobile-menu.active { transform: translateX(0); }

.mobile-menu a {
  display: block;
  padding: 1rem 1.5rem;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: 0.01em;
  border-bottom: 1px solid var(--gold-border);
  transition: background 0.3s ease, color 0.3s ease;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 70px;
  overflow: hidden;
  background: var(--bg-primary);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 70%;
  height: 100%;
  background: 
    radial-gradient(ellipse at 70% 30%, rgba(212, 175, 55, 0.12), transparent 50%),
    radial-gradient(ellipse at 90% 80%, rgba(212, 175, 55, 0.08), transparent 40%);
  pointer-events: none;
  z-index: 2;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to top, var(--bg-primary), transparent);
  pointer-events: none;
  z-index: 2;
}

/* Hero Video Background */
.hero-video-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%) scale(1.1);
  object-fit: cover;
  filter: saturate(1.1);
  opacity: 0.8;
}

.hero-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    linear-gradient(135deg, rgba(11, 11, 15, 0.85) 0%, rgba(18, 18, 26, 0.75) 50%, rgba(11, 11, 15, 0.9) 100%),
    radial-gradient(ellipse at 30% 20%, rgba(212, 175, 55, 0.1), transparent 60%),
    radial-gradient(ellipse at 70% 80%, rgba(212, 175, 55, 0.08), transparent 50%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 650px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 1rem;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid var(--gold-primary);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold-light);
  margin-bottom: 1.5rem;
  font-family: var(--font-body);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero h1 {
  margin-bottom: 1.5rem;
}

.hero h1 .gold { color: var(--gold-primary); }

.hero p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Gold Price Ticker */
.gold-price-section {
  padding: 2.5rem 0;
  background: var(--bg-primary);
  position: relative;
  overflow: hidden;
}

.gold-price-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 50%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(212, 175, 55, 0.05), transparent 60%);
  pointer-events: none;
}

.gold-price-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  align-items: stretch;
}

@media (min-width: 768px) {
  .gold-price-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1200px) {
  .gold-price-wrapper {
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 1.25rem;
  }
}

.gold-price-card {
  background: linear-gradient(135deg, rgba(18, 18, 26, 0.6), rgba(26, 26, 36, 0.4));
  backdrop-filter: blur(10px);
  border: 1px solid rgba(212, 175, 55, 0.15);
  border-radius: 12px;
  padding: 1.5rem 2rem;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(212, 175, 55, 0.1);
  position: relative;
  overflow: hidden;
  text-align: center;
  min-height: 100%;
  transition: all 0.3s ease;
}

.gold-price-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.1), transparent);
  animation: cardShine 3s infinite;
}

.gold-price-card:hover {
  border-color: rgba(212, 175, 55, 0.3);
  transform: translateY(-5px);
}

@keyframes cardShine {
  0%, 100% { left: -100%; }
  50% { left: 100%; }
}

.gold-price-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
}

@media (max-width: 1199px) {
  .gold-price-card {
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .gold-price-item {
    width: 100%;
  }
}

.gold-price-icon {
  width: 64px;
  height: 64px;
  min-width: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212, 175, 55, 0.15);
  border-radius: 16px;
  color: var(--gold-primary);
}

.gold-price-icon svg {
  width: 36px;
  height: 36px;
  stroke-width: 2;
}

@media (max-width: 1199px) {
  .gold-price-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 0.25rem;
  }
  
  .gold-price-icon svg {
    width: 28px;
    height: 28px;
  }
}

.gold-price-label {
  font-size: 1.1rem;
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-weight: 600;
  margin-bottom: 0.35rem;
  letter-spacing: 0.01em;
}

@media (max-width: 1199px) {
  .gold-price-label {
    font-size: 1rem;
  }
}

.gold-price-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold-primary);
  font-family: var(--font-heading);
  letter-spacing: 0.02em;
  text-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  justify-content: center;
}

@media (max-width: 1199px) {
  .gold-price-value {
    font-size: 1.5rem;
  }
}

.gold-price-value small {
  font-size: 0.85rem;
  color: var(--gold-primary);
  font-weight: 600;
  font-family: var(--font-body);
  opacity: 0.9;
}

.gold-price-value-secondary {
  font-size: 1rem;
  color: var(--text-secondary);
  font-weight: 500;
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  justify-content: center;
}

.gold-price-value-secondary small {
  color: var(--text-secondary);
  font-weight: 500;
}

.gold-price-change {
  font-size: 0.8rem;
  padding: 0.25rem 0.65rem;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-weight: 600;
}

.gold-price-change.up {
  background: rgba(46, 204, 113, 0.15);
  color: var(--success);
}

.gold-price-change.down {
  background: rgba(231, 76, 60, 0.15);
  color: var(--error);
}

.gold-price-updated {
  font-size: 0.7rem;
  color: var(--text-secondary);
  opacity: 0.7;
  margin-top: auto;
  text-align: center;
  line-height: 1.3;
}

.gold-price-note {
  font-size: 0.75rem;
  color: var(--text-secondary);
  opacity: 0.7;
  text-align: center;
  margin-top: 1rem;
}

/* Trust Badges */
.trust-badges {
  display: contents;
}

.trust-badges-full {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.trust-badge {
  background: linear-gradient(135deg, rgba(18, 18, 26, 0.6), rgba(26, 26, 36, 0.4));
  backdrop-filter: blur(10px);
  border: 1px solid rgba(212, 175, 55, 0.15);
  border-radius: 12px;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  text-align: center;
  min-height: 100%;
}

.trust-badge::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.05), transparent);
  transition: left 0.5s ease;
}

.trust-badge:hover {
  border-color: rgba(212, 175, 55, 0.3);
  transform: translateY(-5px);
}

.trust-badge:hover::before {
  left: 100%;
}

.trust-badge-icon {
  width: 56px;
  height: 56px;
  min-width: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212, 175, 55, 0.15);
  border-radius: 14px;
  color: var(--gold-primary);
  margin-bottom: 0.75rem;
}

.trust-badge-icon svg {
  width: 32px;
  height: 32px;
  stroke-width: 2;
}

.trust-badge-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  width: 100%;
}

.trust-badge-number {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--gold-primary);
  font-family: var(--font-heading);
  line-height: 1;
  text-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
}

.trust-badge-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  font-family: var(--font-heading);
  letter-spacing: 0.01em;
  line-height: 1.2;
}

.trust-badge-desc {
  font-size: 0.8rem;
  color: var(--text-secondary);
  opacity: 0.8;
  line-height: 1.3;
}

.trust-badge-extra {
  font-size: 0.75rem;
  color: var(--gold-primary);
  opacity: 0.9;
  font-weight: 500;
  margin-top: 0.15rem;
}

.trust-badge-phone {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold-primary);
  font-family: var(--font-heading);
  letter-spacing: 0.02em;
  margin: 0.25rem 0;
}

.trust-badge-clickable {
  cursor: pointer;
  text-decoration: none;
}

.trust-badge-clickable:hover {
  border-color: var(--gold-primary);
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.2);
}

.trust-badge-clickable .trust-badge-icon {
  background: rgba(212, 175, 55, 0.2);
}

.trust-badge-clickable:hover .trust-badge-icon {
  background: var(--gold-primary);
  color: var(--bg-primary);
}

.trust-badge-clickable .trust-badge-desc {
  color: var(--text-secondary);
  opacity: 0.9;
  font-weight: 500;
}

/* Categories Section */
.categories-section {
  padding: 5rem 0;
  background: 
    url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3z' fill='%23D4AF37' fill-opacity='0.02' fill-rule='evenodd'/%3E%3C/svg%3E"),
    var(--bg-primary);
  position: relative;
}

.categories-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-border), transparent);
}

.categories-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-border), transparent);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 { margin-bottom: 1rem; }

.section-header p {
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.7;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.category-card {
  position: relative;
  height: 320px;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  border: 1px solid var(--gold-border);
}

.category-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 60px rgba(212, 175, 55, 0.2);
  border-color: var(--gold-primary);
}

.category-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.4s ease;
}

.category-card:hover .category-card-bg {
  transform: scale(1.05);
}

.category-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11, 11, 15, 0.98) 0%, rgba(11, 11, 15, 0.7) 40%, transparent 70%);
}

.category-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
}

.category-card h3 {
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.category-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Products Grid */
.products-section {
  padding: 5rem 0;
  background: 
    linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  position: relative;
}

.products-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background: radial-gradient(ellipse at 100% 20%, rgba(212, 175, 55, 0.05), transparent 60%);
  pointer-events: none;
}

/* Products Layout */

.filter-checkboxes {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.filter-checkbox {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: color 0.2s ease;
}

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

.filter-checkbox input[type="checkbox"] {
  width: 16px;
  height: 16px;
  cursor: pointer;
  accent-color: var(--gold-primary);
  flex-shrink: 0;
}

.filter-checkbox span {
  font-size: 0.85rem;
  color: var(--text-primary);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}


.product-card {
  background: 
    linear-gradient(145deg, var(--bg-tertiary), var(--bg-secondary));
  border: 1px solid var(--gold-border);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  display: flex;
  flex-direction: column;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.1), transparent);
  transition: left 0.6s ease;
  z-index: 1;
  pointer-events: none;
}

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

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 
    0 20px 60px rgba(212, 175, 55, 0.15),
    0 0 0 1px var(--gold-primary);
  border-color: var(--gold-primary);
}

.product-card-image {
  position: relative;
  aspect-ratio: 1;
  background: var(--bg-secondary);
  overflow: hidden;
  display: block;
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}

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

.product-card-availability-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.3rem 0.6rem;
  border-radius: 5px;
  box-shadow: 0 2px 8px rgba(34, 197, 94, 0.4);
  z-index: 10;
}

.product-badges {
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  z-index: 10;
}

.badge {
  padding: 0.25rem 0.75rem;
  font-size: 0.7rem;
  font-weight: 600;
  font-family: var(--font-body);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 4px;
  background: var(--gold-primary);
  color: var(--bg-primary);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.badge.vip { 
  background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark)); 
}

.badge.new { 
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.25), rgba(212, 175, 55, 0.15));
  color: var(--gold-light);
  border: 1px solid var(--gold-primary);
  box-shadow: 0 2px 8px rgba(212, 175, 55, 0.2);
}

.badge.limited { 
  background: linear-gradient(135deg, #8B7355, #6B5A45);
  color: var(--gold-light);
  box-shadow: 0 2px 8px rgba(139, 115, 85, 0.3);
}

.badge.китай,
.badge.колекционерска {
  background: linear-gradient(135deg, #C0C0C0, #A8A8A8);
  color: #1a1a24;
  border: 1px solid #E8E8E8;
  box-shadow: 0 2px 8px rgba(192, 192, 192, 0.3);
}

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

.product-card-content h3 a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

.product-card-content h3 a:hover {
  color: var(--gold-primary);
}

.product-card-karat {
  font-size: 0.8rem;
  color: var(--gold-primary);
  margin-bottom: 0.5rem;
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.product-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.02em;
}

.product-card-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card-prices {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
  flex: 1;
  min-height: 90px;
  justify-content: center;
}

.product-card-prices:has(.product-unavailable-label) {
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* Price rows on cards */
.price-row {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.price-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  width: fit-content;
}

.price-label-sell {
  background: rgba(212, 175, 55, 0.15);
  color: var(--gold-primary);
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.price-label-buy {
  background: rgba(34, 197, 94, 0.1);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.25);
}

.price-values {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.product-card-price-buy {
  font-size: 1.4rem;
  font-weight: 700;
  color: #22c55e;
  font-family: var(--font-heading);
  display: flex;
  align-items: baseline;
  gap: 0.2rem;
}

.product-card-price-buy .currency {
  font-size: 0.85rem;
  font-weight: 600;
  color: #22c55e;
  font-family: var(--font-body);
}

.product-card-price-buy-secondary {
  font-size: 0.9rem;
  color: #16a34a;
  font-weight: 500;
  display: flex;
  align-items: baseline;
  gap: 0.2rem;
  padding-left: 0.5rem;
  border-left: 1px solid rgba(34, 197, 94, 0.2);
}

.product-card-price-buy-secondary .currency {
  font-size: 0.78rem;
  color: #16a34a;
}

.product-card-price {
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--gold-primary);
  font-family: var(--font-heading);
  letter-spacing: 0.02em;
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
}

.product-card-price .currency {
  font-size: 1rem;
  font-weight: 600;
  color: var(--gold-primary);
  font-family: var(--font-body);
}

.product-card-price-secondary {
  font-size: 1rem;
  color: var(--text-secondary);
  font-weight: 500;
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  padding-left: 0.75rem;
  border-left: 1px solid var(--gold-border);
}

.product-card-price-secondary .currency {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.product-unavailable-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(185, 28, 28, 0.12);
  color: #f87171;
  border: 1px solid rgba(185, 28, 28, 0.3);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.3rem 0.9rem;
  border-radius: 5px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.product-availability {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  font-weight: 600;
  margin: 0.5rem 0 0.25rem;
}

.product-availability.in-stock {
  color: #32c864;
}

.product-availability.delivery {
  color: #e7a33c;
}

.product-card-delivery {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: #e7a33c;
  margin-top: 0.3rem;
  margin-bottom: 0.75rem;
}

.product-unavailable-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(185, 28, 28, 0.1);
  color: #f87171;
  border: 1px solid rgba(185, 28, 28, 0.25);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.9rem;
  border-radius: 6px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

/* Last pieces notice - product detail page */
.product-last-pieces-notice {
  display: flex;
  align-items: center;
  width: fit-content;
  gap: 0.4rem;
  background: rgba(220, 38, 38, 0.12);
  color: #f87171;
  border: 1px solid rgba(220, 38, 38, 0.3);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.4rem 0.85rem;
  border-radius: 6px;
  letter-spacing: 0.03em;
  margin-top: 0.5rem;
}

/* Last pieces sticker - bottom left */
.product-card-last-pieces {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: linear-gradient(135deg, #dc2626, #b91c1c);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 0.3rem 0.65rem;
  border-radius: 5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  z-index: 11;
  box-shadow: 0 2px 8px rgba(220, 38, 38, 0.45);
  white-space: nowrap;
}

/* Promo styles */
.product-card-promo-badge {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: linear-gradient(135deg, #f97316, #ea580c);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.3rem 0.7rem;
  border-radius: 5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  z-index: 11;
  box-shadow: 0 2px 8px rgba(249, 115, 22, 0.4);
}

.promo-badge-inline {
  display: inline-block;
  background: linear-gradient(135deg, #f97316, #ea580c);
  color: #fff;
  font-size: 0.55rem;
  font-weight: 800;
  padding: 0.1rem 0.4rem;
  border-radius: 3px;
  letter-spacing: 0.06em;
  margin-left: 0.4rem;
  vertical-align: middle;
}

.promo-label-tag {
  display: inline-block;
  background: linear-gradient(135deg, #f97316, #ea580c);
  color: #fff;
  font-size: 0.5rem;
  font-weight: 800;
  padding: 0.08rem 0.35rem;
  border-radius: 3px;
  letter-spacing: 0.06em;
  margin-left: 0.3rem;
  vertical-align: middle;
}

.vat-badge-inline {
  display: inline-block;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #fff;
  font-size: 0.55rem;
  font-weight: 800;
  padding: 0.1rem 0.4rem;
  border-radius: 3px;
  letter-spacing: 0.06em;
  margin-left: 0.4rem;
  vertical-align: middle;
}

.vat-label-tag {
  display: inline-block;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #fff;
  font-size: 0.5rem;
  font-weight: 800;
  padding: 0.08rem 0.35rem;
  border-radius: 3px;
  letter-spacing: 0.06em;
  margin-left: 0.3rem;
  vertical-align: middle;
}

.promo-price {
  color: #fb923c !important;
}

.promo-price span {
  color: #fb923c !important;
}

.old-price {
  text-decoration: line-through;
  font-size: inherit !important;
  font-weight: 700 !important;
  color: #D4AF37 !important;
  opacity: 0.85;
  margin-top: 0.2rem;
}

.product-price-old {
  text-decoration: line-through;
  font-size: 1.3rem;
  font-weight: 700;
  color: #D4AF37;
  opacity: 0.85;
  margin-top: 0.3rem;
}

.product-price-block-sell.has-promo {
  background: rgba(251, 146, 60, 0.07);
  border-color: rgba(251, 146, 60, 0.25);
}

.product-price-block-sell.has-promo .product-price-block-label {
  color: #fb923c;
}

.source-price-loading {
  margin-top: 1rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-style: italic;
}

.source-price-error {
  margin-top: 1rem;
  color: #a52a2a;
  font-size: 0.85rem;
}

.source-price-result {
  background: var(--bg-secondary);
  border: 1px solid var(--gold-border);
  border-radius: 8px;
  padding: 1rem;
  text-align: center;
  margin-bottom: 2rem;
}

.source-price-label {
  font-size: 0.75rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.source-price-values {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.75rem;
}

.source-price-eur {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--gold-primary);
  font-family: var(--font-heading);
  letter-spacing: 0.02em;
}

.source-price-eur .currency {
  font-size: 0.85rem;
}

.source-price-bgn {
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-weight: 500;
  padding-left: 0.75rem;
  border-left: 1px solid var(--gold-border);
}

.source-price-bgn .currency {
  font-size: 0.8rem;
}

.product-card-actions {
  display: flex;
  gap: 0.75rem;
}

.product-card-actions .btn {
  flex: 1;
  padding: 0.625rem 1rem;
  font-size: 0.875rem;
}

.btn-cart-icon {
  flex: 0 0 auto !important;
  width: 42px;
  height: 42px;
  padding: 0 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212,175,55,0.1);
  border: 1.5px solid var(--gold-primary);
  color: var(--gold-primary);
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  flex-shrink: 0;
}
.btn-cart-icon:hover {
  background: var(--gold-primary);
  color: #1a1a1a;
}
.btn-cart-icon.btn-added {
  background: rgba(74,222,128,0.15);
  border-color: #4ade80;
  color: #4ade80;
}

/* Trust Section */
.trust-section {
  padding: 6rem 0;
  background: 
    radial-gradient(ellipse at 20% 50%, rgba(212, 175, 55, 0.05), transparent 50%),
    radial-gradient(ellipse at 80% 50%, rgba(212, 175, 55, 0.05), transparent 50%),
    var(--bg-primary);
  position: relative;
}

.trust-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-border), transparent);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.trust-item {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: linear-gradient(145deg, rgba(26, 26, 36, 0.5), transparent);
  border: 1px solid rgba(212, 175, 55, 0.1);
  border-radius: 16px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.trust-item:hover {
  border-color: var(--gold-border);
  transform: translateY(-4px);
}

.trust-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.25rem;
  color: var(--gold-primary);
  padding: 1rem;
  background: rgba(212, 175, 55, 0.1);
  border-radius: 50%;
}

.trust-item h4 {
  margin-bottom: 0.75rem;
  color: var(--text-primary);
  font-size: 1.2rem;
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.trust-item p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* CTA Section */
.cta-section {
  padding: 6rem 0;
  background: 
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23D4AF37' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"),
    linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
  border-top: 1px solid var(--gold-border);
  border-bottom: 1px solid var(--gold-border);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(212, 175, 55, 0.1), transparent 60%);
  pointer-events: none;
}

.cta-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.cta-content h2 { margin-bottom: 1rem; }

.cta-content p { margin-bottom: 2rem; }

.cta-phone {
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--gold-primary);
  font-family: var(--font-heading);
  margin-bottom: 1.5rem;
  display: block;
  letter-spacing: 0.02em;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.cta-phone:hover {
  color: var(--gold-light);
  text-shadow: 0 0 30px rgba(212, 175, 55, 0.5);
}

.cta-hours {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-top: 1.5rem;
}

/* Brand Partners */
.brand-partners {
  padding: 2.5rem 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--gold-border);
  border-bottom: 1px solid var(--gold-border);
}

.brand-partners-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.brand-partners-row img {
  height: 40px;
  width: auto;
  opacity: 0.5;
  filter: grayscale(100%) brightness(1.5);
  transition: all 0.3s ease;
}

.brand-partners-row img:hover {
  opacity: 1;
  filter: grayscale(0%) brightness(1);
}

@media (max-width: 768px) {
  .brand-partners-row {
    gap: 1.5rem;
  }
  .brand-partners-row img {
    height: 30px;
  }
}

/* Footer */
.footer {
  background: 
    url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3z' fill='%23D4AF37' fill-opacity='0.02' fill-rule='evenodd'/%3E%3C/svg%3E"),
    linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  padding: 5rem 0 2rem;
  border-top: 1px solid var(--gold-border);
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

.footer-brand .logo {
  display: inline-block;
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.9rem;
  max-width: 300px;
}

.footer-title {
  color: var(--text-primary);
  font-size: 1.05rem;
  margin-bottom: 1rem;
  font-weight: 600;
  font-family: var(--font-heading);
  letter-spacing: 0.02em;
}

.footer-links { list-style: none; }

.footer-links li { margin-bottom: 0.5rem; }

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.footer-links a:hover { color: var(--gold-primary); }

.footer-contact p {
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--gold-border);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gold-border);
  border-radius: 50%;
  color: var(--text-secondary);
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background: var(--gold-primary);
  color: var(--bg-primary);
  border-color: var(--gold-primary);
}

/* Sticky Call Button (Mobile) */
.sticky-call {
  display: flex;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem;
  background: var(--bg-secondary);
  border-top: 1px solid var(--gold-border);
  z-index: 998;
}

@media (min-width: 768px) {
  .sticky-call { display: none; }
}

.sticky-call .btn { width: 100%; }

/* Page Hero */
.page-hero {
  padding: 8rem 0 4rem;
  background: 
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23D4AF37' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"),
    linear-gradient(135deg, var(--bg-secondary), var(--bg-primary));
  text-align: center;
  border-bottom: 1px solid var(--gold-border);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 100%;
  background: radial-gradient(ellipse at 50% 0%, rgba(212, 175, 55, 0.1), transparent 60%);
  pointer-events: none;
}

.page-hero h1 { 
  margin-bottom: 1rem;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-family: var(--font-body);
  letter-spacing: 0.02em;
}

.breadcrumb a { color: var(--gold-primary); }

/* Catalog Layout */
.catalog-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 2rem;
  align-items: start;
}

.catalog-sidebar {
  position: sticky;
  top: 90px;
  background: var(--bg-secondary);
  border: 1px solid var(--gold-border);
  border-radius: 12px;
  padding: 1.25rem;
  max-height: calc(100vh - 110px);
  overflow-y: auto;
}

.catalog-sidebar::-webkit-scrollbar { width: 4px; }
.catalog-sidebar::-webkit-scrollbar-track { background: transparent; }
.catalog-sidebar::-webkit-scrollbar-thumb { background: var(--gold-border); border-radius: 4px; }

.sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--gold-border);
}

.sidebar-header h3 {
  font-size: 1rem;
  font-family: var(--font-heading);
  color: var(--gold-light);
  margin: 0;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.sidebar-reset {
  background: none;
  border: none;
  color: var(--gold-primary);
  font-size: 0.8rem;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  transition: all 0.2s;
}

.sidebar-reset:hover {
  background: rgba(212, 175, 55, 0.1);
  color: var(--gold-light);
}

.filter-block {
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(212, 175, 55, 0.08);
}

.filter-block:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.filter-block-title {
  font-size: 0.8rem;
  font-family: var(--font-body);
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.75rem;
}

.filter-select {
  background: var(--bg-tertiary);
  border: 1px solid var(--gold-border);
  color: var(--text-primary);
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  font-size: 0.85rem;
  font-family: var(--font-body);
  cursor: pointer;
}

.filter-select.full-width { width: 100%; }

.filter-select:focus {
  outline: none;
  border-color: var(--gold-primary);
}

.filter-input {
  background: var(--bg-tertiary);
  border: 1px solid var(--gold-border);
  color: var(--text-primary);
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  font-size: 0.85rem;
  font-family: var(--font-body);
  width: 100%;
}

.filter-input:focus {
  outline: none;
  border-color: var(--gold-primary);
}

.filter-input::placeholder { color: var(--text-muted); }

.price-range-inputs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.price-range-sep {
  color: var(--text-muted);
  flex-shrink: 0;
}

.filter-count {
  margin-left: auto;
  font-size: 0.75rem;
  color: var(--text-muted);
  background: rgba(255,255,255,0.05);
  padding: 0.1rem 0.4rem;
  border-radius: 8px;
  min-width: 20px;
  text-align: center;
}

.catalog-main { min-width: 0; }

.catalog-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.products-count-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.products-count-label span {
  color: var(--gold-light);
  font-weight: 600;
}

.mobile-only { display: none; }

.btn-sm {
  padding: 0.4rem 0.8rem;
  font-size: 0.8rem;
  gap: 0.35rem;
}

/* Mobile sidebar */
@media (max-width: 900px) {
  .catalog-layout {
    grid-template-columns: 1fr;
  }
  
  .catalog-sidebar {
    position: fixed;
    top: 0;
    left: -320px;
    width: 300px;
    height: 100vh;
    max-height: 100vh;
    border-radius: 0;
    border: none;
    border-right: 1px solid var(--gold-border);
    z-index: 1001;
    transition: left 0.3s ease;
    padding: 1.5rem;
  }
  
  .catalog-sidebar.open {
    left: 0;
  }
  
  .sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 1000;
  }
  
  .sidebar-overlay.active { display: block; }
  
  .mobile-only { display: inline-flex; }
}

/* Product Page */
.product-page { padding: 6rem 0 4rem; }

.product-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .product-layout {
    grid-template-columns: 1fr 1fr;
  }
}

/* Gallery */
.product-gallery { position: relative; }

.gallery-main {
  aspect-ratio: 1;
  background: var(--bg-secondary);
  border: 1px solid var(--gold-border);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 1rem;
  position: relative;
}

.gallery-availability-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  box-shadow: 0 2px 10px rgba(34, 197, 94, 0.4);
  z-index: 10;
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: zoom-in;
}

.gallery-thumbs {
  display: flex;
  gap: 0.75rem;
}

.gallery-thumb {
  width: 80px;
  height: 80px;
  background: var(--bg-secondary);
  border: 2px solid var(--gold-border);
  border-radius: 8px;
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.gallery-thumb:hover,
.gallery-thumb.active {
  border-color: var(--gold-primary);
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Product Info */
.product-info h1 {
  margin-bottom: 1rem;
  font-size: clamp(1.8rem, 3vw, 2.2rem);
}

.product-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.product-prices-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

/* Sell / Buy price blocks on product detail page */
.product-price-block {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 0.85rem 1rem;
  border-radius: 10px;
}

.product-price-block-sell {
  background: rgba(212, 175, 55, 0.07);
  border: 1px solid rgba(212, 175, 55, 0.25);
}

.product-price-block-buy {
  background: rgba(34, 197, 94, 0.07);
  border: 1px solid rgba(34, 197, 94, 0.25);
}

.product-price-block-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-price-block-sell .product-price-block-label {
  color: var(--gold-primary);
}

.product-price-block-buy .product-price-block-label {
  color: #22c55e;
}

.product-price-block-values {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.product-price-buy {
  font-size: 1.6rem;
  font-weight: 700;
  color: #22c55e;
  font-family: var(--font-heading);
  letter-spacing: 0.02em;
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
}

.product-price-buy .currency {
  font-size: 0.85rem;
  font-weight: 600;
  color: #22c55e;
  font-family: var(--font-body);
}

.product-price-buy-bgn {
  font-size: 0.95rem;
  color: #16a34a;
  font-weight: 500;
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
}

.product-price-buy-bgn .currency {
  font-size: 0.78rem;
  color: #16a34a;
}

.product-price {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold-primary);
  font-family: var(--font-heading);
  letter-spacing: 0.02em;
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
}

.product-price .currency {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold-primary);
  font-family: var(--font-body);
}

.product-price-bgn {
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-weight: 500;
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
}

.product-price-bgn .currency {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.product-description {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.8;
}

/* Product Specs */
.product-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.spec-card {
  background: var(--bg-secondary);
  border: 1px solid var(--gold-border);
  border-radius: 8px;
  padding: 1rem;
  text-align: center;
}

.spec-label {
  font-size: 0.75rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.spec-value {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--gold-primary);
  font-family: var(--font-heading);
  letter-spacing: 0.02em;
}

/* Product CTA */
.product-cta {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

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

/* Product Shipping Notice */
.product-shipping-notice {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: var(--bg-secondary);
  border: 1px solid var(--gold-border);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  margin-bottom: 1.25rem;
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.product-shipping-notice svg {
  color: var(--gold-primary);
}

.product-shipping-notice strong {
  color: var(--text-primary);
}

/* Product Full Description */
.product-full-description {
  margin-top: 2.5rem;
}

.full-desc-card {
  background: var(--bg-secondary);
  border: 1px solid var(--gold-border);
  border-radius: 12px;
  padding: 2rem 2.5rem;
}

.full-desc-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--gold-border);
  display: flex;
  align-items: center;
}

.full-desc-content {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

.full-desc-content h2 {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 1rem 0 0.5rem;
}

.full-desc-content h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0.8rem 0 0.4rem;
}

.full-desc-content h4 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0.6rem 0 0.3rem;
}

.full-desc-content p {
  margin-bottom: 0.5rem;
}

.full-desc-content p:empty,
.full-desc-content p br:only-child {
  margin-bottom: 0.25rem;
  line-height: 0.5;
}

.full-desc-content p:last-child {
  margin-bottom: 0;
}

.full-desc-content ul,
.full-desc-content ol {
  padding-left: 1.5em;
  margin-bottom: 0.5rem;
}

.full-desc-content ul { list-style-type: disc; }
.full-desc-content ol { list-style-type: decimal; }
.full-desc-content li { margin-bottom: 0.2rem; }

.full-desc-content blockquote {
  border-left: 3px solid var(--gold);
  padding-left: 1rem;
  margin: 0.5rem 0;
  font-style: italic;
  color: var(--text-muted);
}

.full-desc-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 0.5rem 0;
}

.full-desc-content th,
.full-desc-content td {
  border: 1px solid var(--gold-border);
  padding: 0.4rem 0.6rem;
  font-size: 0.9rem;
}

.full-desc-content a {
  color: var(--gold);
  text-decoration: underline;
}

@media (max-width: 768px) {
  .full-desc-card {
    padding: 1.5rem;
  }
}

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

.form-group label {
  display: block;
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  font-family: var(--font-body);
  letter-spacing: 0.02em;
}

.form-group label .required { color: var(--gold-primary); }

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  background: var(--bg-tertiary);
  border: 1px solid var(--gold-border);
  border-radius: 6px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--gold-primary);
}

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

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.form-checkbox input {
  width: 18px;
  height: 18px;
  accent-color: var(--gold-primary);
  margin-top: 2px;
}

.form-checkbox label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 0;
}

.form-checkbox a { color: var(--gold-primary); }

.form-submit {
  width: 100%;
  margin-top: 1rem;
}

/* Form States */
.form-message {
  padding: 1rem;
  border-radius: 6px;
  margin-bottom: 1rem;
  display: none;
}

.form-message.success {
  display: block;
  background: rgba(46, 204, 113, 0.15);
  border: 1px solid var(--success);
  color: var(--success);
}

.form-message.error {
  display: block;
  background: rgba(231, 76, 60, 0.15);
  border: 1px solid var(--error);
  color: var(--error);
}

/* Similar Products */
.similar-products {
  padding: 4rem 0;
  background: var(--bg-secondary);
}

/* Contact Page */
.contact-section { padding: 4rem 0; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-info h2 { margin-bottom: 2rem; }

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.contact-item-icon {
  width: 50px;
  height: 50px;
  background: var(--gold-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item-icon svg {
  width: 24px;
  height: 24px;
  color: var(--gold-primary);
}

.contact-item h4 {
  color: var(--text-primary);
  margin-bottom: 0.25rem;
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.contact-item p, .contact-item a {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.contact-map {
  background: var(--bg-secondary);
  border: 1px solid var(--gold-border);
  border-radius: 12px;
  height: 300px;
  margin-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
}

.contact-form-wrapper {
  background: var(--bg-secondary);
  border: 1px solid var(--gold-border);
  border-radius: 12px;
  padding: 2rem;
}

.contact-form-wrapper h3 { margin-bottom: 1.5rem; }

/* About Page */
.about-section { padding: 4rem 0; }

.about-content {
  max-width: 800px;
  margin: 0 auto;
}

.about-content h2 {
  margin-bottom: 1.5rem;
  margin-top: 3rem;
  padding-left: 1.1rem;
  border-left: 4px solid var(--gold-primary);
  color: var(--text-primary);
  letter-spacing: 0.01em;
}

.about-content h2:first-child { margin-top: 0; }

.about-content ul {
  margin: 0.5rem 0 1.5rem 1.5rem;
  line-height: 2;
  font-size: 1.05rem;
  color: var(--text-secondary);
}
.about-content ul li::marker {
  color: var(--gold-primary);
}

.about-content p {
  margin-bottom: 1rem;
  font-size: 1.05rem;
  line-height: 1.8;
}

.about-values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.about-value {
  background: var(--bg-secondary);
  border: 1px solid var(--gold-border);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
}

.about-value-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1rem;
  color: var(--gold-primary);
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), rgba(212, 175, 55, 0.05));
  border: 2px solid var(--gold-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  box-shadow: 
    0 0 20px rgba(212, 175, 55, 0.2),
    inset 0 0 20px rgba(212, 175, 55, 0.1);
  transition: all 0.3s ease;
  position: relative;
}

.about-value-icon::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, var(--gold-primary), var(--gold-light), var(--gold-primary));
  border-radius: 50%;
  z-index: -1;
  opacity: 0.6;
  animation: goldGlow 3s ease-in-out infinite;
}

.about-value:hover .about-value-icon {
  transform: translateY(-2px);
  box-shadow: 
    0 5px 25px rgba(212, 175, 55, 0.4),
    inset 0 0 25px rgba(212, 175, 55, 0.15);
  border-color: var(--gold-primary);
}

@keyframes goldGlow {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.6; }
}

.about-value h4 {
  margin-bottom: 0.5rem;
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* Policy Pages */
.policy-section { padding: 4rem 0; }

.policy-content {
  max-width: 800px;
  margin: 0 auto;
}

.policy-content h2 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.policy-content h2:first-child { margin-top: 0; }

.policy-content p {
  margin-bottom: 1rem;
  line-height: 1.8;
}

.policy-content ul {
  list-style: none;
  margin-bottom: 1rem;
}

.policy-content li {
  padding-left: 1.5rem;
  position: relative;
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
}

.policy-content li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  background: var(--gold-primary);
  border-radius: 50%;
}

/* 404 Page */
.error-section {
  min-height: calc(100vh - 70px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 0;
}

.error-content h1 {
  font-size: 8rem;
  color: var(--gold-primary);
  line-height: 1;
  margin-bottom: 1rem;
}

.error-content h2 { margin-bottom: 1rem; }

.error-content p { margin-bottom: 2rem; }

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  padding: 3rem 0;
}

.pagination-btn {
  min-width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-tertiary);
  border: 1px solid var(--gold-border);
  border-radius: 6px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.pagination-btn:hover,
.pagination-btn.active {
  background: var(--gold-primary);
  color: var(--bg-primary);
  border-color: var(--gold-primary);
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.35rem;
  padding: 2rem 0;
  flex-wrap: wrap;
}

.page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 0.5rem;
  background: var(--bg-tertiary);
  border: 1px solid var(--gold-border);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 0.9rem;
  font-family: var(--font-body);
  cursor: pointer;
  transition: all 0.2s ease;
}

.page-btn:hover:not(.disabled):not(.active) {
  border-color: var(--gold-primary);
  color: var(--gold-light);
  background: rgba(212, 175, 55, 0.08);
}

.page-btn.active {
  background: var(--gold-primary);
  border-color: var(--gold-primary);
  color: var(--bg-primary);
  font-weight: 600;
}

.page-btn.disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.page-ellipsis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 40px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.page-prev,
.page-next {
  font-size: 1.1rem;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in {
  animation: fadeIn 0.5s ease forwards;
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.shimmer {
  background: linear-gradient(
    90deg,
    var(--gold-dark) 0%,
    var(--gold-light) 50%,
    var(--gold-dark) 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 3s linear infinite;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 100px;
  right: 2rem;
  width: 50px;
  height: 50px;
  background: linear-gradient(
    90deg,
    var(--gold-dark) 0%,
    var(--gold-primary) 25%,
    var(--gold-light) 50%,
    var(--gold-primary) 75%,
    var(--gold-dark) 100%
  );
  background-size: 200% auto;
  border: none;
  border-radius: 50%;
  color: var(--bg-primary);
  cursor: pointer;
  box-shadow: 0 4px 15px var(--gold-glow);
  transition: all 0.3s ease;
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  animation: shimmer 3s linear infinite;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
  animation-duration: 2s;
}

.back-to-top svg {
  width: 24px;
  height: 24px;
  stroke-width: 2.5;
}

@media (max-width: 768px) {
  .back-to-top {
    bottom: 80px;
    right: 1rem;
    width: 45px;
    height: 45px;
  }
  
  .back-to-top svg {
    width: 20px;
    height: 20px;
  }
}

/* Lightbox Modal */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox.active {
  display: flex;
  opacity: 1;
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(212, 175, 55, 0.2);
  backdrop-filter: blur(10px);
  border: 1px solid var(--gold-primary);
  color: var(--gold-light);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10001;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: var(--gold-primary);
  color: var(--bg-primary);
  transform: scale(1.1);
}

.lightbox-close {
  top: 2rem;
  right: 2rem;
}

.lightbox-prev {
  left: 2rem;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-prev:hover {
  transform: translateY(-50%) scale(1.1);
}

.lightbox-next {
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next:hover {
  transform: translateY(-50%) scale(1.1);
}

.lightbox-close svg,
.lightbox-prev svg,
.lightbox-next svg {
  width: 24px;
  height: 24px;
  stroke-width: 2.5;
}

.lightbox-counter {
  position: absolute;
  bottom: -3rem;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(212, 175, 55, 0.2);
  backdrop-filter: blur(10px);
  border: 1px solid var(--gold-primary);
  color: var(--gold-light);
  padding: 0.5rem 1.5rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: var(--font-heading);
}

@media (max-width: 768px) {
  .trust-badges-full {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .lightbox-close {
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
  }
  
  .lightbox-prev,
  .lightbox-next {
    width: 40px;
    height: 40px;
  }
  
  .lightbox-prev {
    left: 1rem;
  }
  
  .lightbox-next {
    right: 1rem;
  }
  
  .lightbox-close svg,
  .lightbox-prev svg,
  .lightbox-next svg {
    width: 20px;
    height: 20px;
  }
  
  .lightbox-counter {
    bottom: -2.5rem;
    font-size: 0.8rem;
    padding: 0.4rem 1.2rem;
  }
}

/* Custom Cursor - DISABLED */
.cursor {
  display: none !important;
}

.cursor-dot {
  display: none !important;
}

.cursor.hover {
  display: none !important;
}

.cursor-particle {
  display: none !important;
}

a, button, .btn, .product-card, .category-card {
  cursor: pointer;
}

/* Utilities */
.text-center { text-align: center; }
.text-gold { color: var(--gold-primary); }
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }

/* Page padding for fixed header and mobile sticky */
main {
  padding-bottom: 80px;
}

@media (min-width: 768px) {
  main { padding-bottom: 0; }
}

/* Cookie Consent Banner */
#cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, rgba(18, 18, 26, 0.98), rgba(26, 26, 36, 0.98));
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(212, 175, 55, 0.3);
  padding: 1.5rem;
  z-index: 10000;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
}

#cookie-consent-banner.cookie-consent-show {
  transform: translateY(0);
}

#cookie-consent-banner.cookie-consent-hide {
  transform: translateY(100%);
}

.cookie-consent-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.cookie-consent-text {
  flex: 1;
}

.cookie-consent-text p {
  margin: 0;
  color: var(--text-primary);
  font-size: 0.9rem;
  line-height: 1.5;
}

.cookie-consent-text p:first-child {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.cookie-consent-text strong {
  color: var(--gold-primary);
}

.cookie-consent-text a {
  color: var(--gold-primary);
  text-decoration: underline;
}

.cookie-consent-text a:hover {
  color: var(--gold-light);
}

.cookie-consent-actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

.cookie-consent-actions .btn {
  padding: 0.6rem 1.5rem;
  font-size: 0.9rem;
  white-space: nowrap;
}

@media (max-width: 768px) {
  #cookie-consent-banner {
    padding: 1.25rem 1rem;
  }
  
  .cookie-consent-content {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }
  
  .cookie-consent-text p {
    font-size: 0.85rem;
  }
  
  .cookie-consent-actions {
    flex-direction: column;
  }
  
  .cookie-consent-actions .btn {
    width: 100%;
  }
}

/* About Page Social Links */
.about-social {
  display: flex;
  gap: 1.5rem;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.about-social-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  background: linear-gradient(135deg, rgba(18, 18, 26, 0.6), rgba(26, 26, 36, 0.4));
  backdrop-filter: blur(10px);
  border: 1px solid rgba(212, 175, 55, 0.15);
  border-radius: 12px;
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  min-width: 180px;
}

.about-social-link:hover {
  border-color: rgba(212, 175, 55, 0.3);
  transform: translateY(-2px);
  color: var(--gold-primary);
}

.about-social-link svg {
  width: 24px;
  height: 24px;
  color: var(--gold-primary);
}

.about-social-link:hover svg {
  color: var(--gold-light);
}

@media (max-width: 768px) {
  .about-social {
    flex-direction: column;
    gap: 1rem;
  }
  
  .about-social-link {
    min-width: auto;
  }
}

/* ============================================
   Header Auth / User Menu
   ============================================ */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header-login-btn {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.85rem;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  transition: all 0.2s;
}
.header-login-btn:hover {
  color: var(--gold-primary);
  background: var(--gold-glow);
}

/* Cart icon in header */
.header-cart-btn {
  position: relative;
  display: flex;
  align-items: center;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 0.6rem;
  border-radius: 8px;
  transition: all 0.2s;
}
.header-cart-btn svg {
  width: 24px;
  height: 24px;
}
.header-cart-btn:hover {
  color: var(--gold-primary);
  background: var(--gold-glow);
}
.header-cart-badge {
  position: absolute;
  top: 0;
  right: -2px;
  background: var(--gold-primary);
  color: var(--bg-primary);
  font-size: 0.65rem;
  font-weight: 700;
  min-width: 17px;
  height: 17px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.cart-badge-pulse {
  animation: cartBadgePulse 0.6s ease;
}
@keyframes cartBadgePulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.4); }
  100% { transform: scale(1); }
}

/* Cart hover dropdown */
.header-cart-wrap {
  position: relative;
}
.cart-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 480px;
  background: var(--bg-secondary);
  border: 1px solid var(--gold-border);
  border-radius: 14px;
  box-shadow: 0 16px 50px rgba(0,0,0,0.55), 0 0 0 1px rgba(212,175,55,0.1);
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.25s ease 0.3s, transform 0.25s ease 0.3s, visibility 0.25s ease 0.3s;
  pointer-events: none;
}
.header-cart-wrap:hover .cart-dropdown,
.cart-dropdown.force-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
  transition-delay: 0s;
}
.cart-dropdown::after {
  content: '';
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 14px;
}
.cart-dropdown::before {
  content: '';
  position: absolute;
  top: -8px;
  right: 12px;
  width: 14px;
  height: 14px;
  background: var(--bg-secondary);
  border-top: 1px solid var(--gold-border);
  border-left: 1px solid var(--gold-border);
  transform: rotate(45deg);
  z-index: 1;
}
.cart-dropdown-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.01em;
}
.cart-dropdown-timer {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--gold-primary);
  background: rgba(212,175,55,0.12);
  border: 1px solid rgba(212,175,55,0.25);
  padding: 0.3rem 0.65rem;
  border-radius: 10px;
}
.cart-dropdown-timer::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold-primary);
  animation: timerPulse 1.5s ease-in-out infinite;
  flex-shrink: 0;
}
.cart-dropdown-timer span {
  font-weight: 700;
  font-size: 0.85rem;
  font-variant-numeric: tabular-nums;
  color: #fff;
}
@keyframes timerPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}
.cart-dropdown-body {
  max-height: 440px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(212,175,55,0.3) transparent;
}
.cart-dropdown-body::-webkit-scrollbar { width: 4px; }
.cart-dropdown-body::-webkit-scrollbar-thumb { background: rgba(212,175,55,0.3); border-radius: 4px; }
.cart-dropdown-loading {
  padding: 2rem;
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.85rem;
}
.cart-dropdown-empty {
  padding: 2rem 1rem;
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.85rem;
}
.cart-dropdown-empty svg {
  display: block;
  margin: 0 auto 0.5rem;
  opacity: 0.4;
}
.cart-dd-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  color: var(--text-primary);
  transition: background 0.2s, box-shadow 0.3s, opacity 0.25s;
}
.cart-dd-item:hover {
  background: rgba(212,175,55,0.06);
}
.cart-dd-item-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1;
  min-width: 0;
  text-decoration: none;
  color: inherit;
}
.cart-dd-item-remove {
  background: rgba(255,107,107,0.1);
  border: 1px solid rgba(255,107,107,0.3);
  color: #ff6b6b;
  cursor: pointer;
  padding: 0.35rem;
  border-radius: 6px;
  transition: all 0.2s;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cart-dd-item-remove svg { width: 14px; height: 14px; }
.cart-dd-item-remove:hover {
  color: #fff;
  background: #ff6b6b;
  border-color: #ff6b6b;
  transform: scale(1.15);
}
.cart-dd-item.cart-dd-item-new {
  background: rgba(212,175,55,0.1);
  animation: cartItemHighlight 3s ease-out forwards;
}
@keyframes cartItemHighlight {
  0% { background: rgba(212,175,55,0.18); box-shadow: inset 3px 0 0 var(--gold-primary); }
  70% { background: rgba(212,175,55,0.08); box-shadow: inset 3px 0 0 var(--gold-primary); }
  100% { background: transparent; box-shadow: none; }
}
.cart-dd-item-img {
  width: 72px;
  height: 72px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid var(--gold-border);
  flex-shrink: 0;
}
.cart-dd-item-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.cart-dd-item-name {
  font-size: 0.95rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
  margin-bottom: 0.15rem;
}
.cart-dd-item-meta {
  font-size: 0.84rem;
  color: var(--text-secondary);
  margin-top: 0.1rem;
}
.cart-dd-item-price {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gold-primary);
  white-space: nowrap;
  align-self: center;
  letter-spacing: 0.01em;
}
.cart-dropdown-footer {
  padding: 1rem 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  background: rgba(0,0,0,0.15);
}
.cart-dd-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
  font-size: 1.05rem;
}
.cart-dd-total-value {
  font-weight: 800;
  color: var(--gold-primary);
  font-size: 1.2rem;
}
.cart-dd-total-bgn {
  font-size: 0.78rem;
  color: var(--text-secondary);
  font-weight: 400;
}
.cart-dd-actions {
  display: flex;
  gap: 0.5rem;
}
.cart-dd-actions a {
  flex: 1;
  text-align: center;
  padding: 0.65rem 0.85rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.15s;
}
.cart-dd-btn-view {
  background: rgba(212,175,55,0.1);
  color: var(--gold-primary);
  border: 1px solid rgba(212,175,55,0.2);
}
.cart-dd-btn-view:hover {
  background: rgba(212,175,55,0.18);
}
.cart-dd-btn-order {
  background: var(--gold-primary);
  color: #1a1a1a;
  font-weight: 600;
}
.cart-dd-btn-order:hover {
  background: var(--gold-light);
  color: #1a1a1a;
}
/* Cart icon shake animation on add */
.cart-icon-shake .header-cart-btn {
  animation: cartShake 0.6s ease;
}
@keyframes cartShake {
  0%, 100% { transform: rotate(0); }
  15% { transform: rotate(-12deg) scale(1.2); }
  30% { transform: rotate(10deg) scale(1.2); }
  45% { transform: rotate(-8deg) scale(1.15); }
  60% { transform: rotate(6deg) scale(1.1); }
  75% { transform: rotate(-3deg); }
}
/* Cart icon gold glow pulse on add */
.cart-icon-glow .header-cart-btn {
  animation: cartGlow 2s ease-out;
}
@keyframes cartGlow {
  0% { filter: drop-shadow(0 0 8px rgba(212,175,55,0.9)); color: var(--gold-primary); }
  50% { filter: drop-shadow(0 0 16px rgba(212,175,55,0.6)); color: var(--gold-primary); }
  100% { filter: none; color: inherit; }
}
/* Cart dropdown open animation */
.cart-dropdown.force-open {
  animation: cartDropdownEntry 0.35s ease-out;
}
@keyframes cartDropdownEntry {
  0% { opacity: 0; transform: translateY(12px) scale(0.97); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
/* Success banner inside dropdown */
.cart-dd-success {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  background: rgba(34,197,94,0.12);
  border-bottom: 1px solid rgba(34,197,94,0.2);
  font-size: 0.88rem;
  font-weight: 600;
  color: #4ade80;
  transition: opacity 0.4s ease;
}
.cart-dd-success svg { width: 18px; height: 18px; flex-shrink: 0; }
.cart-dd-success.fade-out { opacity: 0; }
@media (max-width: 768px) {
  .cart-dropdown { display: none !important; }
}

/* Product page quantity selector */
.product-qty-row {
  display: flex;
  gap: 0.75rem;
  align-items: stretch;
}
.product-qty-row .btn-add-to-cart {
  flex: 1;
}
.product-qty-control {
  display: flex;
  align-items: center;
  border: 1px solid var(--gold-border);
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg-secondary);
}
.product-qty-btn {
  width: 44px;
  height: 100%;
  border: none;
  background: transparent;
  color: var(--gold-primary);
  font-size: 1.25rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-qty-btn:hover {
  background: rgba(212,175,55,0.1);
}
.product-qty-btn:active {
  background: rgba(212,175,55,0.2);
}
.product-qty-input {
  width: 48px;
  text-align: center;
  border: none;
  background: transparent;
  color: var(--text-primary);
  font-size: 1.1rem;
  font-weight: 600;
  font-family: inherit;
  -moz-appearance: textfield;
  appearance: textfield;
}
.product-qty-input::-webkit-inner-spin-button,
.product-qty-input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  appearance: none;
  margin: 0;
}

/* Add to cart button */
.btn-add-to-cart {
  position: relative;
  overflow: hidden;
}
.btn-add-to-cart:disabled {
  opacity: 0.7;
  cursor: wait;
}
.btn-added {
  background: #2d8a4e !important;
  border-color: #2d8a4e !important;
}
.btn-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: btnSpin 0.6s linear infinite;
  vertical-align: middle;
}
@keyframes btnSpin {
  to { transform: rotate(360deg); }
}

/* Cart toast notification */
.cart-toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--bg-secondary);
  border: 1px solid var(--gold-border);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  z-index: 10000;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s ease;
  font-size: 0.9rem;
  color: var(--text-primary);
  max-width: 400px;
}
.cart-toast-show {
  transform: translateY(0);
  opacity: 1;
}
.cart-toast-success { border-color: var(--gold-primary); }
.cart-toast-warning { border-color: #e6a817; }
.cart-toast-error { border-color: #ff6b6b; }
.cart-toast-remove { border-color: #ff6b6b; background: rgba(30,10,10,0.97); }
.cart-toast-link {
  color: var(--gold-primary);
  text-decoration: none;
  font-weight: 600;
  white-space: nowrap;
}
.cart-toast-link:hover { text-decoration: underline; }

@media (max-width: 480px) {
  .cart-toast {
    left: 1rem;
    right: 1rem;
    bottom: 5rem;
    max-width: unset;
  }
}

.header-user-menu {
  position: relative;
}
.header-user-btn {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: none;
  border: 1px solid var(--gold-border);
  color: var(--text-secondary);
  padding: 0.45rem 0.75rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.85rem;
  font-family: inherit;
  transition: all 0.2s;
}
.header-user-btn:hover {
  color: var(--gold-primary);
  border-color: var(--gold-primary);
  background: var(--gold-glow);
}
.header-user-name {
  max-width: 100px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.header-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--bg-secondary);
  border: 1px solid var(--gold-border);
  border-radius: 10px;
  min-width: 180px;
  padding: 0.5rem 0;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  z-index: 100;
}
.header-dropdown.open {
  display: block;
}
.header-dropdown a {
  display: block;
  padding: 0.6rem 1.2rem;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.88rem;
  transition: all 0.15s;
}
.header-dropdown a:hover {
  color: var(--gold-primary);
  background: var(--gold-glow);
}
.header-dropdown-logout {
  border-top: 1px solid rgba(255,255,255,0.06);
  margin-top: 0.3rem;
  padding-top: 0.7rem !important;
}
.header-dropdown-logout:hover {
  color: var(--error) !important;
}

@media (max-width: 767px) {
  .header-user-name { display: none; }
  .header-user-btn svg:last-child { display: none; }
}

/* ============================================
   Auth Pages (Login, Register, Forgot, Reset)
   ============================================ */
.auth-page {
  padding: 3rem 0 4rem;
  min-height: 50vh;
}

.auth-card {
  background: var(--bg-secondary);
  border: 1px solid var(--gold-border);
  border-radius: 16px;
  padding: 2.5rem;
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
}
.auth-card-narrow {
  max-width: 460px;
}

.auth-header {
  text-align: center;
  margin-bottom: 2rem;
}
.auth-header h1 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold-primary);
  margin-bottom: 0.4rem;
}
.auth-header p {
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.auth-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}
.auth-icon svg {
  width: 28px;
  height: 28px;
}
.auth-icon-success {
  background: rgba(46,204,113,0.12);
  color: var(--success);
}
.auth-icon-error {
  background: rgba(231,76,60,0.12);
  color: var(--error);
}

.auth-alert {
  padding: 0.85rem 1.2rem;
  border-radius: 10px;
  margin-bottom: 1.5rem;
  font-size: 0.88rem;
  line-height: 1.6;
}
.auth-alert-success {
  background: rgba(46,204,113,0.1);
  color: var(--success);
  border: 1px solid rgba(46,204,113,0.2);
}
.auth-alert-error {
  background: rgba(231,76,60,0.1);
  color: var(--error);
  border: 1px solid rgba(231,76,60,0.2);
}
.auth-alert-warning {
  background: rgba(241,196,15,0.1);
  color: #f1c40f;
  border: 1px solid rgba(241,196,15,0.2);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.auth-form-group {
  margin-bottom: 1.15rem;
}
.auth-form-group label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
}
.auth-form-group label .req {
  color: var(--gold-primary);
}
.auth-form-group input,
.auth-form-group select,
.auth-form-group textarea {
  width: 100%;
  padding: 0.7rem 1rem;
  background: var(--bg-tertiary);
  border: 1px solid rgba(212,175,55,0.15);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
}
.auth-form-group input:focus,
.auth-form-group select:focus,
.auth-form-group textarea:focus {
  border-color: var(--gold-primary);
}
.auth-form-group input::placeholder,
.auth-form-group textarea::placeholder {
  color: rgba(176,176,188,0.4);
}
.auth-form-group .disabled-input {
  opacity: 0.5;
  cursor: not-allowed;
}

.auth-form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
}

.auth-form-hint {
  margin-top: 0.35rem;
  text-align: right;
}
.auth-form-hint a {
  color: var(--gold-primary);
  text-decoration: none;
  font-size: 0.82rem;
}
.auth-form-hint a:hover {
  text-decoration: underline;
}

.auth-checkbox {
  margin-top: 0.5rem;
}
.auth-checkbox label {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  cursor: pointer;
}
.auth-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--gold-primary);
  flex-shrink: 0;
}
.auth-checkbox span {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}
.auth-checkbox a {
  color: var(--gold-primary);
  text-decoration: underline;
}

.auth-remember {
  margin-top: -0.25rem;
  margin-bottom: 0.25rem;
}
.auth-checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--text-secondary);
}
.auth-checkbox-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--gold-primary);
  cursor: pointer;
}

.auth-submit {
  width: 100%;
  padding: 0.85rem;
  font-size: 1rem;
  font-weight: 600;
  margin-top: 0.5rem;
  border-radius: 10px;
  text-align: center;
}

.auth-footer {
  text-align: center;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 0.88rem;
  color: var(--text-secondary);
}
.auth-footer a {
  color: var(--gold-primary);
  text-decoration: none;
  font-weight: 500;
}
.auth-footer a:hover {
  text-decoration: underline;
}

@media (max-width: 600px) {
  .auth-card { padding: 1.5rem; border-radius: 12px; }
  .auth-form-row { grid-template-columns: 1fr; }
  .auth-header h1 { font-size: 1.3rem; }
}

/* ============================================
   Profile Page
   ============================================ */
.profile-page {
  padding-top: 2.5rem;
}

.profile-banner {
  margin-bottom: 1.5rem;
}

.profile-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 2rem;
  align-items: start;
}

.profile-nav {
  background: var(--bg-secondary);
  border: 1px solid var(--gold-border);
  border-radius: 12px;
  padding: 0.5rem;
  position: sticky;
  top: 5rem;
}
.profile-nav a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1rem;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.88rem;
  border-radius: 8px;
  transition: all 0.15s;
}
.profile-nav a svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.profile-nav a:hover {
  color: var(--text-primary);
  background: var(--gold-glow);
}
.profile-nav a.active {
  color: var(--gold-primary);
  background: rgba(212,175,55,0.1);
  font-weight: 600;
}

.profile-content {
  min-width: 0;
}

.profile-section {
  background: var(--bg-secondary);
  border: 1px solid var(--gold-border);
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 1.5rem;
}
.profile-section h2 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--gold-primary);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.profile-empty {
  text-align: center;
  padding: 3rem 2rem;
}
.profile-empty h2 {
  border: none;
  padding: 0;
  margin-bottom: 0.5rem;
}
.profile-empty p {
  color: var(--text-secondary);
  font-size: 0.92rem;
}

@media (max-width: 768px) {
  .profile-layout {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .profile-nav {
    position: static;
    display: flex;
    overflow-x: auto;
    gap: 0.25rem;
    padding: 0.35rem;
  }
  .profile-nav a {
    white-space: nowrap;
    flex-shrink: 0;
    font-size: 0.82rem;
    padding: 0.55rem 0.8rem;
  }
  .profile-nav a svg { display: none; }
  .profile-section { padding: 1.25rem; }
}

/* ==================== CART PAGE ==================== */
.cart-section {
  padding: 2rem 0 4rem;
}
.cart-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.6rem;
  margin-bottom: 2rem;
  color: var(--text-primary);
}
.cart-title svg { color: var(--gold-primary); }
.cart-title-count {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text-secondary);
  margin-left: 0.25rem;
}
.cart-price-timer {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gold-primary);
  background: linear-gradient(135deg, rgba(212,175,55,0.12), rgba(212,175,55,0.06));
  border: 1px solid rgba(212,175,55,0.3);
  padding: 0.45rem 0.9rem;
  border-radius: 20px;
  animation: timerGlow 3s ease-in-out infinite;
}
.cart-price-timer::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-primary);
  animation: timerPulse 1.5s ease-in-out infinite;
  flex-shrink: 0;
}
.cart-price-timer strong {
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.03em;
  background: rgba(212,175,55,0.15);
  padding: 0.15rem 0.5rem;
  border-radius: 8px;
  min-width: 3.5rem;
  text-align: center;
}
@keyframes timerGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(212,175,55,0); }
  50% { box-shadow: 0 0 12px 2px rgba(212,175,55,0.15); }
}

/* Empty cart */
.cart-empty {
  text-align: center;
  padding: 4rem 2rem;
  background: var(--bg-secondary);
  border: 1px solid var(--gold-border);
  border-radius: 16px;
}
.cart-empty h2 {
  font-size: 1.4rem;
  margin: 1.5rem 0 0.5rem;
  color: var(--text-primary);
}
.cart-empty p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
}
.cart-empty-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Cart layout */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 2rem;
  align-items: flex-start;
}

/* Cart items */
.cart-items {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.cart-item {
  display: flex;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--bg-secondary);
  border: 1px solid var(--gold-border);
  border-radius: 12px;
  transition: all 0.3s ease;
}
.cart-item:hover {
  border-color: var(--gold-primary);
  box-shadow: 0 4px 16px rgba(212,175,55,0.08);
}
.cart-item-image {
  width: 100px;
  height: 100px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg-primary);
  border: 1px solid var(--gold-border);
}
.cart-item-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.cart-item-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
}
.cart-item-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.5rem;
}
.cart-item-name {
  font-size: 1rem;
  margin: 0 0 0.25rem;
}
.cart-item-name a {
  color: var(--text-primary);
  text-decoration: none;
}
.cart-item-name a:hover {
  color: var(--gold-primary);
}
.cart-item-meta {
  font-size: 0.8rem;
  color: var(--text-secondary);
}
.cart-item-unit-price {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--gold-primary);
  margin-top: 0.25rem;
}
.cart-item-vat {
  display: inline-block;
  font-size: 0.7rem;
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
  background: rgba(212,175,55,0.12);
  color: var(--gold-primary);
  margin-left: 0.25rem;
}
.cart-item-no-vat {
  background: rgba(255,255,255,0.06);
  color: var(--text-secondary);
}
.cart-item-remove {
  background: rgba(255,107,107,0.08);
  border: 1px solid rgba(255,107,107,0.15);
  color: #ff6b6b;
  cursor: pointer;
  padding: 0.4rem;
  border-radius: 8px;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.cart-item-remove svg {
  width: 18px;
  height: 18px;
}
.cart-item-remove:hover {
  color: #fff;
  background: #ff6b6b;
  border-color: #ff6b6b;
  transform: scale(1.1);
}
.cart-item-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.75rem;
}

/* Quantity control */
.cart-qty-control {
  display: flex;
  align-items: center;
  border: 1px solid var(--gold-border);
  border-radius: 8px;
  overflow: hidden;
}
.cart-qty-btn {
  background: var(--bg-primary);
  border: none;
  color: var(--text-primary);
  width: 34px;
  height: 34px;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.cart-qty-btn:hover {
  background: var(--gold-glow);
  color: var(--gold-primary);
}
.cart-qty-input {
  width: 44px;
  height: 34px;
  text-align: center;
  border: none;
  border-left: 1px solid var(--gold-border);
  border-right: 1px solid var(--gold-border);
  background: var(--bg-secondary);
  color: var(--text-primary);
  font-size: 0.9rem;
  font-weight: 600;
  -moz-appearance: textfield;
  appearance: textfield;
}
.cart-qty-input::-webkit-outer-spin-button,
.cart-qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Item price */
.cart-item-price {
  text-align: right;
}
.cart-item-price-main {
  display: block;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold-primary);
  font-family: var(--font-heading);
}
.cart-item-price-main small {
  font-size: 0.8rem;
  font-weight: 400;
}
.cart-item-price-secondary {
  display: block;
  font-size: 0.78rem;
  color: var(--text-secondary);
}

/* Cart Summary */
.cart-summary {
  position: sticky;
  top: 5rem;
}
.cart-summary-inner {
  background: var(--bg-secondary);
  border: 1px solid var(--gold-border);
  border-radius: 16px;
  padding: 1.5rem;
}
.cart-summary-inner h3 {
  font-size: 1.1rem;
  margin: 0 0 1.25rem;
  color: var(--text-primary);
}
.cart-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 0.35rem;
}
.cart-summary-total {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gold-primary);
  font-family: var(--font-heading);
}
.cart-summary-bgn {
  font-size: 0.8rem;
  color: var(--text-muted);
}
.cart-summary-delivery {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: var(--text-secondary);
  background: rgba(212,175,55,0.06);
  border-radius: 8px;
  padding: 0.65rem 0.75rem;
  margin: 0.75rem 0;
}
.cart-summary-delivery.free-shipping {
  background: rgba(46,204,113,0.08);
  border: 1px solid rgba(46,204,113,0.2);
  color: #2ecc71;
}
.cart-summary-divider {
  border: none;
  border-top: 1px solid var(--gold-border);
  margin: 1rem 0;
}
.cart-checkout-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
  padding: 0.85rem;
  font-size: 1rem;
}
.cart-summary-notice {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 1rem;
}
.cart-summary-notice.notice-urgent {
  background: rgba(255, 59, 48, 0.1);
  border: 1px solid rgba(255, 59, 48, 0.25);
  border-radius: 8px;
  padding: 0.75rem 0.85rem;
  color: #ff6b6b;
  font-weight: 500;
  font-size: 0.82rem;
}
.cart-summary-notice.notice-urgent svg { color: #ff6b6b; }

@media (max-width: 900px) {
  .cart-layout {
    grid-template-columns: 1fr;
  }
  .cart-summary {
    position: static;
  }
}
@media (max-width: 600px) {
  .cart-item {
    flex-direction: column;
    align-items: flex-start;
  }
  .cart-item-image {
    width: 80px;
    height: 80px;
  }
  .cart-item-bottom {
    flex-wrap: wrap;
    gap: 0.75rem;
  }
}

/* ==================== CHECKOUT PAGE ==================== */
.checkout-section { padding: 2rem 0 4rem; }

/* Checkout choose step */
.checkout-choose {
  max-width: 720px;
  margin: 1rem auto 2rem;
}
.checkout-choose-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  position: relative;
}
.checkout-choose-card {
  background: linear-gradient(145deg, var(--bg-secondary), var(--bg-tertiary));
  border: 1px solid rgba(212,175,55,0.12);
  border-radius: 16px;
  padding: 2.5rem 2rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}
.checkout-choose-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.checkout-choose-card:hover {
  border-color: rgba(212,175,55,0.35);
  box-shadow: 0 8px 40px rgba(212,175,55,0.08), 0 0 0 1px rgba(212,175,55,0.15);
  transform: translateY(-2px);
}
.checkout-choose-card:hover::before { opacity: 1; }
.checkout-choose-card h2 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  margin: 1rem 0 0.5rem;
  color: var(--text-primary);
}
.checkout-choose-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 1.75rem;
  line-height: 1.65;
}
.checkout-choose-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(212,175,55,0.12), rgba(212,175,55,0.04));
  border: 1px solid rgba(212,175,55,0.2);
  color: var(--gold-primary);
}
.checkout-choose-icon.guest-icon {
  background: linear-gradient(135deg, rgba(176,176,188,0.1), rgba(176,176,188,0.04));
  border-color: rgba(176,176,188,0.15);
  color: var(--text-secondary);
}
.checkout-choose-divider {
  display: none;
}

/* Hide BGN (lev) price display site-wide — EUR only for now.
   Values are still computed/sent by JS/PHP, just visually hidden. */
.product-card-price-secondary,
.product-card-price-buy-secondary,
.product-price-bgn,
.product-price-buy-bgn,
.cart-item-price-secondary,
.cart-summary-bgn,
.cart-dd-total-bgn,
#checkout-total-bgn {
  display: none !important;
}
.checkout-choose-or {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 1px solid rgba(212,175,55,0.2);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.checkout-choose-register {
  margin-top: 1rem;
  font-size: 0.82rem;
  color: var(--text-secondary);
  text-align: center;
}
.checkout-choose-register button {
  background: none;
  border: none;
  color: var(--gold-primary);
  cursor: pointer;
  font-size: 0.82rem;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s;
}
.checkout-choose-register button:hover { color: var(--gold-light); }

@media (max-width: 560px) {
  .checkout-choose-grid { grid-template-columns: 1fr; }
  .checkout-choose-or { 
    position: static;
    transform: none;
    margin: -0.5rem auto;
  }
}
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 2rem;
  align-items: flex-start;
}
.checkout-form-col { display: flex; flex-direction: column; gap: 1.5rem; }
.checkout-summary-col { position: sticky; top: 5rem; }
.checkout-card {
  background: var(--bg-secondary);
  border: 1px solid var(--gold-border);
  border-radius: 14px;
  padding: 1.5rem;
}
.checkout-card-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.1rem;
  margin: 0 0 1.25rem;
  color: var(--text-primary);
}
.checkout-card-title svg { color: var(--gold-primary); }
.checkout-subsection-title {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin: 1rem 0 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.checkout-errors {
  background: rgba(255,107,107,0.1);
  border: 1px solid rgba(255,107,107,0.3);
  border-radius: 10px;
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  color: #ff6b6b;
  font-size: 0.9rem;
}
.checkout-errors p { margin: 0.2rem 0; }

/* Delivery options */
.delivery-options {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.delivery-option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: var(--bg-primary);
  border: 1px solid var(--gold-border);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s;
}
.delivery-option:hover { border-color: rgba(212,175,55,0.5); }
.delivery-option.selected,
.delivery-option:has(input:checked) {
  border-color: var(--gold-primary);
  background: rgba(212,175,55,0.06);
  box-shadow: 0 0 0 1px var(--gold-primary);
}
.delivery-option input[type="radio"] {
  accent-color: var(--gold-primary);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.delivery-option-content {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.delivery-option-content strong {
  font-size: 0.95rem;
  color: var(--text-primary);
}
.delivery-option-content span {
  font-size: 0.8rem;
  color: var(--text-secondary);
}
.delivery-details {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--gold-border);
}
.checkout-select {
  width: 100%;
  padding: 0.65rem 0.75rem;
  background: var(--bg-primary);
  border: 1px solid var(--gold-border);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 0.9rem;
  font-family: inherit;
}
.checkout-select:focus {
  border-color: var(--gold-primary);
  outline: none;
  box-shadow: 0 0 0 2px rgba(212,175,55,0.15);
}
.checkout-select:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Autocomplete search dropdowns */
.autocomplete-wrap {
  position: relative;
}
.checkout-input {
  width: 100%;
  padding: 0.65rem 0.75rem;
  background: var(--bg-primary);
  border: 1px solid var(--gold-border);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 0.9rem;
  font-family: inherit;
}
.checkout-input:focus {
  border-color: var(--gold-primary);
  outline: none;
  box-shadow: 0 0 0 2px rgba(212,175,55,0.15);
}
.checkout-input:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.autocomplete-list {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 100;
  max-height: 220px;
  overflow-y: auto;
  background: var(--bg-secondary);
  border: 1px solid var(--gold-border);
  border-top: none;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  scrollbar-width: thin;
  scrollbar-color: rgba(212,175,55,0.3) transparent;
}
.autocomplete-list.open {
  display: block;
}
.autocomplete-item {
  padding: 0.55rem 0.75rem;
  font-size: 0.88rem;
  color: var(--text-primary);
  cursor: pointer;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: background 0.1s;
}
.autocomplete-item:hover,
.autocomplete-item.active {
  background: rgba(212,175,55,0.1);
  color: var(--gold-primary);
}
.autocomplete-item:last-child {
  border-bottom: none;
}
.autocomplete-item mark {
  background: rgba(212,175,55,0.25);
  color: var(--gold-primary);
  border-radius: 2px;
  padding: 0 1px;
}

/* Invoice toggle */
.invoice-toggle {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.invoice-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1rem;
  background: var(--bg-primary);
  border: 1px solid var(--gold-border);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 0.9rem;
  color: var(--text-secondary);
}
.invoice-option:has(input:checked) {
  border-color: var(--gold-primary);
  color: var(--gold-primary);
}
.invoice-option input[type="radio"] {
  accent-color: var(--gold-primary);
}

/* Checkout item in sidebar */
.checkout-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.checkout-item:last-of-type { border-bottom: none; }
.checkout-item img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 6px;
  background: var(--bg-primary);
  border: 1px solid var(--gold-border);
}
.checkout-item-info {
  flex: 1;
  min-width: 0;
}
.checkout-item-name {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.checkout-item-qty {
  font-size: 0.75rem;
  color: var(--text-secondary);
}
.checkout-item-total {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gold-primary);
  white-space: nowrap;
}

@media (max-width: 900px) {
  .checkout-layout { grid-template-columns: 1fr; }
  .checkout-summary-col { position: static; order: -1; }
}

/* ==================== ORDER SUCCESS ==================== */
.order-success {
  text-align: center;
  padding: 3rem 2rem;
  background: var(--bg-secondary);
  border: 1px solid var(--gold-border);
  border-radius: 16px;
  max-width: 700px;
  margin: 0 auto;
}
.order-success-icon { margin-bottom: 1rem; }
.order-success h1 {
  font-size: 1.5rem;
  margin: 0 0 0.75rem;
  color: var(--text-primary);
}
.order-success-number {
  font-size: 1.2rem;
  color: var(--gold-primary);
  margin-bottom: 0.5rem;
}
.order-success-hint {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 0.5rem;
}
.order-payment-warning {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin: 1.25rem auto;
  max-width: 480px;
  background: rgba(255, 60, 60, 0.08);
  border: 1px solid rgba(255, 60, 60, 0.35);
  border-left: 4px solid #ff4444;
  border-radius: 10px;
  padding: 1rem 1.15rem;
  text-align: left;
}
.order-payment-warning-icon {
  color: #ff4444;
  flex-shrink: 0;
  margin-top: 2px;
}
.order-payment-deadline {
  font-size: 1.05rem;
  color: #ff4444;
  font-weight: 600;
  margin-bottom: 0.35rem;
}
.order-payment-deadline strong {
  color: #fff;
  background: rgba(255, 60, 60, 0.2);
  padding: 0.1rem 0.45rem;
  border-radius: 4px;
  font-size: 1.1rem;
}
.order-payment-consequence {
  font-size: 0.84rem;
  color: var(--text-secondary);
  line-height: 1.45;
}
.order-success-steps {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 2rem auto;
  max-width: 450px;
  text-align: left;
}
.order-step {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.order-step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gold-primary);
  color: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.order-step-text strong {
  display: block;
  color: var(--text-primary);
  font-size: 0.95rem;
}
.order-step-text span {
  font-size: 0.82rem;
  color: var(--text-secondary);
}
.order-success-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

/* ==================== ORDER DETAIL ==================== */
.order-detail-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.order-detail-date {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin: 0;
}
.order-status-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.85rem;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
}
.status-new { background: rgba(212,175,55,0.15); color: var(--gold-primary); }
.status-proforma { background: rgba(59,130,246,0.15); color: #60a5fa; }
.status-expired { background: rgba(255,107,107,0.15); color: #ff6b6b; }
.status-paid { background: rgba(34,197,94,0.15); color: #4ade80; }
.status-processing { background: rgba(168,85,247,0.15); color: #c084fc; }
.status-shipped { background: rgba(59,130,246,0.15); color: #60a5fa; }
.status-delivered { background: rgba(34,197,94,0.15); color: #4ade80; }
.status-completed { background: rgba(34,197,94,0.2); color: #22c55e; }
.status-cancelled { background: rgba(255,107,107,0.15); color: #ff6b6b; }
.status-refunded { background: rgba(255,107,107,0.1); color: #f87171; }

.order-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 1.5rem;
  font-size: 0.88rem;
  color: var(--text-secondary);
}
.order-info-grid strong { color: var(--text-primary); }

@media (max-width: 600px) {
  .order-info-grid { grid-template-columns: 1fr; }
}

/* ==================== PROFILE ORDERS LIST ==================== */
.profile-orders-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.profile-order-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--bg-primary);
  border: 1px solid var(--gold-border);
  border-radius: 10px;
  text-decoration: none;
  color: var(--text-primary);
  transition: all 0.2s;
}
.profile-order-row:hover {
  border-color: var(--gold-primary);
  box-shadow: 0 2px 12px rgba(212,175,55,0.08);
}
.profile-order-main {
  flex: 1;
  min-width: 0;
}
.profile-order-number {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--gold-primary);
}
.profile-order-date {
  font-size: 0.78rem;
  color: var(--text-secondary);
}
.profile-order-info {
  text-align: right;
}
.profile-order-info span {
  display: block;
  font-size: 0.82rem;
  color: var(--text-secondary);
}
.profile-order-total {
  font-weight: 600;
  color: var(--text-primary) !important;
  font-size: 0.95rem !important;
}
@media (max-width: 600px) {
  .profile-order-row { flex-wrap: wrap; gap: 0.5rem; }
}
