/* Shop Styles - Cyberpunk Theme Extension */

/* ===== NAVIGATION HEADER ===== */
.nav-tabs {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.nav-tab {
  font-family: var(--font-display);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 12px 24px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.nav-tab::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-neon);
  opacity: 0;
  transition: opacity 0.3s;
}

.nav-tab:hover,
.nav-tab.active {
  background: rgba(0, 245, 255, 0.1);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  box-shadow: 0 0 20px rgba(0, 245, 255, 0.2);
}

.nav-tab:hover::before,
.nav-tab.active::before {
  opacity: 1;
}

/* Cart icon in header */
.cart-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.cart-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  min-width: 20px;
  height: 20px;
  background: var(--accent-magenta);
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 0 10px var(--accent-magenta);
  animation: pulse 2s infinite;
}

.cart-badge.empty {
  display: none;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

/* ===== SHOP FILTERS ===== */
.shop-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 40px;
  padding: 20px;
  background: var(--bg-card);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  align-items: flex-end;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 150px;
}

.filter-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.filter-select,
.filter-input {
  padding: 10px 14px;
  background: var(--bg-secondary);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: all 0.3s;
  outline: none;
  height: 42px;
  box-sizing: border-box;
}

.filter-select:focus,
.filter-input:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 15px rgba(0, 245, 255, 0.2);
}

.filter-select option {
  background: var(--bg-secondary);
  color: var(--text-primary);
}

.search-wrapper {
  flex: 1;
  min-width: 200px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.search-wrapper .filter-input {
  width: 100%;
  padding-left: 40px;
}

.search-icon {
  position: absolute;
  left: 12px;
  bottom: 12px;
  width: 18px;
  height: 18px;
  color: var(--text-secondary);
}

/* Filter toggle button - hidden on desktop */
.filter-toggle-btn {
  display: none !important;
}

@media (max-width: 768px) {
  .filter-toggle-btn {
    display: flex !important;
  }
}

/* Category pills */
.category-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.category-pill {
  padding: 8px 16px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  color: var(--text-secondary);
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.3s;
}

.category-pill:hover,
.category-pill.active {
  background: rgba(0, 245, 255, 0.15);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

.category-pill .count {
  margin-left: 6px;
  opacity: 0.6;
}

/* ===== PRODUCT GRID ===== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 25px;
}

/* ===== PRODUCT CARD ===== */
.product-card {
  background: var(--bg-card);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  cursor: pointer;
  animation: cardAppear 0.6s ease-out backwards;
  display: flex;
  flex-direction: column;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-neon);
  opacity: 0;
  transition: opacity 0.3s;
}

.product-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 245, 255, 0.3);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.4),
    0 0 30px rgba(0, 245, 255, 0.1);
}

.product-card:hover::before {
  opacity: 1;
}

.product-image {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--bg-secondary);
}

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

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

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  background: rgba(0, 245, 255, 0.9);
  color: var(--bg-primary);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 4px;
}

.product-badge.sale {
  background: var(--accent-magenta);
  color: white;
}

.product-badge.out-of-stock {
  background: rgba(136, 136, 160, 0.9);
}

.product-info {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-category {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.product-name {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-description {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-price {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.price-current {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent-magenta);
}

.price-old {
  font-size: 0.9rem;
  color: var(--text-secondary);
  text-decoration: line-through;
}

.product-stock {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.product-stock.in-stock {
  color: #4ade80;
}

.product-stock.low-stock {
  color: #fbbf24;
}

.product-stock.out-of-stock {
  color: #f87171;
}

/* Add to cart button on card */
.add-to-cart-btn {
  width: 100%;
  padding: 12px;
  background: transparent;
  border: 1px solid var(--accent-cyan);
  border-radius: 8px;
  color: var(--accent-cyan);
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: all 0.3s;
  text-transform: uppercase;
  margin-top: auto;
}

.add-to-cart-btn:hover:not(:disabled) {
  background: var(--accent-cyan);
  color: var(--bg-primary);
  box-shadow: 0 0 20px rgba(0, 245, 255, 0.4);
}

.add-to-cart-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* ===== PRODUCT PAGE ===== */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  max-width: 1100px;
  margin: 0 auto;
}

.product-gallery {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.gallery-main {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

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

.gallery-thumbnails {
  display: grid;
  grid-template-columns: repeat(auto-fill, 60px);
  gap: 10px;
  max-height: 280px;
  overflow-y: auto;
  padding: 4px;
  scrollbar-width: thin;
  scrollbar-color: var(--accent-cyan) transparent;
}

.gallery-thumbnails::-webkit-scrollbar {
  width: 6px;
}

.gallery-thumbnails::-webkit-scrollbar-track {
  background: transparent;
}

.gallery-thumbnails::-webkit-scrollbar-thumb {
  background: var(--accent-cyan);
  border-radius: 3px;
}

.gallery-thumb {
  width: 60px;
  height: 60px;
  min-width: 60px;
  min-height: 60px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.3s;
  box-sizing: border-box;
}

.gallery-thumb:hover,
.gallery-thumb.active {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 15px rgba(0, 245, 255, 0.3);
}

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

.product-details {
  display: flex;
  flex-direction: column;
}

.product-details .product-category {
  font-size: 0.8rem;
  margin-bottom: 10px;
}

.product-details .product-name {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 16px;
  -webkit-line-clamp: unset;
}

.product-details .product-description {
  font-size: 1rem;
  margin-bottom: 24px;
  -webkit-line-clamp: unset;
}

.product-details .product-price {
  font-size: 2rem;
  margin-bottom: 24px;
}

.product-details .price-current {
  font-size: 2rem;
}

/* Variant selector */
.variant-selector {
  margin-bottom: 24px;
}

.variant-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.variant-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.variant-option {
  padding: 10px 20px;
  background: var(--bg-secondary);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s;
}

.variant-option:hover,
.variant-option.selected {
  background: rgba(0, 245, 255, 0.15);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

.variant-option.out-of-stock {
  opacity: 0.4;
  cursor: not-allowed;
  text-decoration: line-through;
}

/* Variant description */
.variant-description {
  margin-top: 20px;
  margin-bottom: 24px;
  padding: 16px 20px;
  background: rgba(0, 245, 255, 0.08);
  border: 1px solid rgba(0, 245, 255, 0.2);
  border-left: 3px solid var(--accent-cyan);
  border-radius: 0 12px 12px 0;
  position: relative;
}

.variant-description::before {
  content: 'ℹ️ О варианте';
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-cyan);
  margin-bottom: 8px;
}

.variant-description p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-primary);
}

/* Quantity selector */
.quantity-selector {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 24px;
}

.quantity-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
}

.quantity-controls {
  display: flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  overflow: hidden;
}

.qty-btn {
  width: 44px;
  height: 44px;
  background: var(--bg-secondary);
  border: none;
  color: var(--text-primary);
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s;
}

.qty-btn:hover:not(:disabled) {
  background: var(--accent-cyan);
  color: var(--bg-primary);
}

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

.qty-value {
  width: 50px;
  text-align: center;
  font-family: var(--font-display);
  font-size: 1rem;
  background: transparent;
  border: none;
  color: var(--text-primary);
}

/* Primary add to cart */
.btn-primary {
  padding: 16px 40px;
  background: var(--accent-cyan);
  border: none;
  border-radius: 8px;
  color: var(--bg-primary);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 0 20px rgba(0, 245, 255, 0.3);
}

.btn-primary:hover:not(:disabled) {
  background: var(--accent-magenta);
  box-shadow: 0 0 30px rgba(255, 0, 170, 0.5);
  transform: translateY(-2px);
}

.btn-primary:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* ===== CART ===== */
.cart-container {
  max-width: 900px;
  margin: 0 auto;
}

.cart-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}

.cart-item {
  display: flex;
  gap: 20px;
  padding: 20px;
  background: var(--bg-card);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.cart-item-image {
  width: 120px;
  height: 120px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}

.cart-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.cart-item-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.cart-item-variant {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.cart-item-stock {
  font-size: 0.8rem;
  color: var(--accent-cyan);
  margin-bottom: 8px;
}

.cart-item-price {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--accent-magenta);
  margin-top: auto;
}

.cart-item-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 15px;
}

.remove-item {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 8px;
  transition: color 0.3s;
}

.remove-item:hover {
  color: #f87171;
}

/* Cart summary */
.cart-summary {
  padding: 30px;
  background: var(--bg-card);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.cart-summary h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.summary-row.total {
  border-bottom: none;
  margin-top: 10px;
  font-size: 1.2rem;
  font-weight: 700;
}

.summary-row.total .value {
  color: var(--accent-magenta);
  font-family: var(--font-display);
}

/* ===== CHECKOUT FORM ===== */
.checkout-form {
  margin-top: 40px;
  padding: 30px;
  background: var(--bg-card);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.checkout-form h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: 24px;
  color: var(--text-primary);
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.form-label .required {
  color: var(--accent-magenta);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg-secondary);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: all 0.3s;
  outline: none;
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 15px rgba(0, 245, 255, 0.2);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-secondary);
  opacity: 0.6;
}

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

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

/* Empty cart */
.empty-cart {
  text-align: center;
  padding: 80px 20px;
}

.empty-cart-icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 24px;
  color: var(--text-secondary);
  opacity: 0.3;
}

.empty-cart h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.empty-cart p {
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.btn-secondary {
  display: inline-block;
  padding: 14px 32px;
  background: transparent;
  border: 1px solid var(--accent-cyan);
  border-radius: 8px;
  color: var(--accent-cyan);
  font-family: var(--font-display);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
  transition: all 0.3s;
}

.btn-secondary:hover {
  background: var(--accent-cyan);
  color: var(--bg-primary);
  box-shadow: 0 0 20px rgba(0, 245, 255, 0.4);
}

/* Order success */
.order-success {
  text-align: center;
  padding: 60px 20px;
  background: var(--bg-card);
  border-radius: 16px;
  border: 1px solid rgba(0, 245, 255, 0.3);
}

.order-success-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  color: #4ade80;
}

.order-success h2 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.order-success p {
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.order-number {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--accent-cyan);
  margin: 20px 0;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .product-detail {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  /* Mobile: reorder product details so action items come before description */
  .product-details {
    display: flex;
    flex-direction: column;
  }

  .product-details .product-category { order: 1; }
  .product-details .product-name { order: 2; }
  .product-details .product-price { order: 3; margin-bottom: 16px; }
  .product-details .variant-selector { order: 4; }
  .product-details .variant-description { order: 5; }
  .product-details .product-stock { order: 6; }
  .product-details .quantity-selector { order: 7; }
  .product-details .btn-primary { order: 8; }
  .product-details #added-notification { order: 9; }
  .product-details .product-description {
    order: 10;
    margin-top: 24px;
    margin-bottom: 0;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .cart-item {
    flex-direction: column;
  }

  .cart-item-image {
    width: 100%;
    height: 200px;
  }

  .cart-item-actions {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

@media (max-width: 768px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .shop-filters {
    flex-direction: column;
    padding: 12px;
    gap: 12px;
  }

  /* Mobile: show only search by default */
  .shop-filters .search-wrapper {
    order: 1;
    min-width: 100%;
  }

  .shop-filters .filter-toggle-btn {
    order: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 10px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    color: var(--text-secondary);
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
  }

  .shop-filters .filter-toggle-btn:hover {
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
  }

  .shop-filters .filter-toggle-btn.active {
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
  }

  .shop-filters .filter-toggle-btn svg {
    transition: transform 0.2s;
  }

  .shop-filters .filter-toggle-btn.active svg {
    transform: rotate(180deg);
  }

  /* Hide filter groups by default on mobile */
  .shop-filters .filter-group {
    order: 3;
    width: 100%;
    display: none;
  }

  .shop-filters.filters-open .filter-group {
    display: flex;
  }

  /* Price filters full width on mobile */
  .shop-filters .filter-group:has(#min-price),
  .shop-filters .filter-group:has(#max-price) {
    width: 100% !important;
    min-width: 100% !important;
  }

  .shop-filters .filter-group .filter-input {
    width: 100%;
  }

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

  .nav-tabs {
    gap: 10px;
  }

  .nav-tab {
    padding: 10px 16px;
    font-size: 0.8rem;
  }

  /* Hide category dropdown on mobile, use pills only */
  .shop-filters .filter-group:has(#category-filter) {
    display: none !important;
  }
}

/* ===== PREORDER STYLES ===== */
/* Override out-of-stock styles for preorder variants - make them look available */
.variant-option.preorder {
  opacity: 1 !important;
  cursor: pointer !important;
  text-decoration: none !important;
  border-color: var(--accent-yellow, #fbbf24);
  color: var(--accent-yellow, #fbbf24);
  background: rgba(251, 191, 36, 0.1);
}

.variant-option.preorder:hover {
  background: rgba(251, 191, 36, 0.2);
  box-shadow: 0 0 15px rgba(251, 191, 36, 0.3);
}

.variant-option.preorder.selected {
  background: rgba(251, 191, 36, 0.25);
  border-color: var(--accent-yellow, #fbbf24);
  box-shadow: 0 0 20px rgba(251, 191, 36, 0.4);
}

.product-stock.preorder {
  color: var(--accent-yellow, #fbbf24);
}

.btn-primary.preorder-btn {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  box-shadow: 0 0 20px rgba(251, 191, 36, 0.4);
}

.btn-primary.preorder-btn:hover {
  box-shadow: 0 0 30px rgba(251, 191, 36, 0.6);
}

.cart-item.preorder-item {
  border-color: rgba(251, 191, 36, 0.3);
}

.cart-item-image {
  position: relative;
}

.preorder-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: #000;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.cart-item-preorder-note {
  color: var(--accent-yellow, #fbbf24);
  font-size: 0.8rem;
  margin-top: 4px;
}

/* ===== MAIN NAVIGATION ===== */
.logo-link {
  text-decoration: none;
}

.main-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.nav-link {
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 18px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-neon);
  opacity: 0;
  transition: opacity 0.3s;
}

.nav-link:hover,
.nav-link.active {
  background: rgba(0, 245, 255, 0.1);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  box-shadow: 0 0 15px rgba(0, 245, 255, 0.15);
}

.nav-link:hover::before,
.nav-link.active::before {
  opacity: 1;
}

.nav-link.cart-link {
  position: relative;
}

.nav-link .cart-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 18px;
  height: 18px;
  background: var(--accent-magenta);
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 0 8px var(--accent-magenta);
}

/* ===== BREADCRUMBS ===== */
.breadcrumbs {
  margin-bottom: 30px;
}

.breadcrumb-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-cyan);
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s;
}

.breadcrumb-link:hover {
  color: var(--accent-magenta);
}

.breadcrumb-link svg {
  transition: transform 0.3s;
}

.breadcrumb-link:hover svg {
  transform: translateX(-4px);
}

/* ===== FOOTER ===== */
.footer {
  margin-top: 80px;
  padding: 40px 0 20px;
  background: var(--bg-card);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 30px;
}

.footer-brand {
  max-width: 300px;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--accent-cyan);
  letter-spacing: 0.1em;
}

.footer-desc {
  margin-top: 10px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.footer-legal {
  margin-top: 8px;
  font-size: 0.8rem;
  color: var(--text-secondary);
  opacity: 0.7;
}

.footer-nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s;
}

.footer-nav a:hover {
  color: var(--accent-cyan);
}

.footer-contact {
  text-align: right;
}

.footer-contact .telegram-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-cyan);
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.3s;
}

.footer-contact .telegram-link:hover {
  color: var(--accent-magenta);
}

.footer-bottom {
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
}

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

/* ===== RESPONSIVE NAVIGATION ===== */
@media (max-width: 768px) {
  .main-nav {
    gap: 6px;
  }

  .nav-link {
    padding: 8px 12px;
    font-size: 0.75rem;
  }

  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-brand {
    max-width: 100%;
  }

  .footer-contact {
    text-align: center;
  }
}
