/* 🛍️ Modern Store Design - Passend zu Webnützlich 2025 */

/* ============================================
   Hero Section
   ============================================ */
.store-hero {
  position: relative;
  background: linear-gradient(135deg, 
    rgba(0, 122, 204, 0.08) 0%,
    rgba(255, 255, 255, 0.95) 40%,
    rgba(0, 122, 204, 0.05) 100%
  );
  padding: 80px 20px 60px;
  text-align: center;
  overflow: hidden;
}

.store-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 122, 204, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 20s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-30px, -30px); }
}

.store-hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}

.store-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(0, 122, 204, 0.1);
  border: 1px solid rgba(0, 122, 204, 0.2);
  border-radius: 100px;
  color: var(--primary-blue);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 24px;
  animation: slideInDown 0.6s ease-out;
}

@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.store-hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  background: linear-gradient(135deg, #007acc 0%, #0056b3 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
  animation: slideInUp 0.6s ease-out 0.2s both;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.store-hero-subtitle {
  font-size: 1.25rem;
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: 40px;
  animation: slideInUp 0.6s ease-out 0.3s both;
}

/* Quick Stats */
.store-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  animation: slideInUp 0.6s ease-out 0.4s both;
}

.store-stat {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 122, 204, 0.1);
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.store-stat:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 122, 204, 0.15);
}

.store-stat i {
  font-size: 2rem;
  color: var(--primary-blue);
}

.store-stat div {
  text-align: left;
}

.store-stat strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1;
}

.store-stat span {
  font-size: 0.85rem;
  color: var(--gray-500);
}

/* ============================================
   Controls Section (Search + Filters)
   ============================================ */
.store-controls {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  padding: 32px 20px;
  border-bottom: 1px solid rgba(0, 122, 204, 0.1);
  position: sticky;
  top: 70px;
  z-index: 100;
}

.store-container {
  max-width: 1400px;
  margin: 0 auto;
}

/* Search Bar */
.store-search {
  position: relative;
  max-width: 600px;
  margin: 0 auto 24px;
}

.store-search i {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray-400);
  font-size: 1.1rem;
}

.store-search input {
  width: 100%;
  padding: 16px 56px 16px 56px;
  border: 2px solid rgba(0, 122, 204, 0.15);
  border-radius: 16px;
  font-size: 1rem;
  background: white;
  transition: all 0.3s ease;
  font-family: inherit;
}

.store-search input:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 4px rgba(0, 122, 204, 0.1);
}

.clear-search-btn {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--gray-200);
  border: none;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  color: var(--gray-600);
}

.clear-search-btn:hover {
  background: var(--gray-300);
  color: var(--gray-900);
}

/* Filter Tabs */
.store-filters {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.filter-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: white;
  border: 2px solid rgba(0, 122, 204, 0.15);
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gray-700);
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
}

.filter-btn:hover {
  border-color: var(--primary-blue);
  color: var(--primary-blue);
  transform: translateY(-2px);
}

.filter-btn.active {
  background: linear-gradient(135deg, #007acc 0%, #0056b3 100%);
  border-color: var(--primary-blue);
  color: white;
  box-shadow: 0 4px 12px rgba(0, 122, 204, 0.3);
}

.filter-btn i {
  font-size: 1rem;
}

/* Category Pills */
.store-categories {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.category-pill {
  padding: 8px 16px;
  background: rgba(0, 122, 204, 0.08);
  border: 1px solid rgba(0, 122, 204, 0.2);
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--primary-blue);
  cursor: pointer;
  transition: all 0.2s ease;
}

.category-pill:hover {
  background: rgba(0, 122, 204, 0.15);
  transform: scale(1.05);
}

.category-pill.active {
  background: var(--primary-blue);
  color: white;
}

/* ============================================
   Products Section
   ============================================ */
.store-products {
  padding: 60px 20px;
  min-height: 60vh;
}

/* Loading State */
.loading-state {
  text-align: center;
  padding: 80px 20px;
}

.loading-spinner {
  width: 50px;
  height: 50px;
  margin: 0 auto 20px;
  border: 4px solid rgba(0, 122, 204, 0.1);
  border-top: 4px solid var(--primary-blue);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.loading-state p {
  color: var(--gray-500);
  font-size: 1.1rem;
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 80px 20px;
}

.empty-state i {
  font-size: 4rem;
  color: var(--gray-300);
  margin-bottom: 20px;
}

.empty-state h3 {
  color: var(--gray-700);
  margin-bottom: 8px;
}

.empty-state p {
  color: var(--gray-500);
}

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
  max-width: 1400px;
  margin: 0 auto;
}

/* Product Card */
.product-card {
  position: relative;
  background: white;
  border: 2px solid rgba(0, 122, 204, 0.1);
  border-radius: 20px;
  padding: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #007acc, #0056b3);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.product-card:hover::before {
  transform: scaleX(1);
}

.product-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary-blue);
  box-shadow: 0 20px 40px rgba(0, 122, 204, 0.15);
}

/* Product Image */
.product-image-wrapper {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  border-radius: 18px 18px 0 0;
  background: linear-gradient(135deg, rgba(0, 122, 204, 0.05) 0%, rgba(0, 122, 204, 0.02) 100%);
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.product-card:hover .product-image {
  transform: scale(1.05);
}

/* Product Header */
.product-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 16px;
  padding: 28px 28px 0 28px;
}

.product-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, rgba(0, 122, 204, 0.1) 0%, rgba(0, 122, 204, 0.05) 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  flex-shrink: 0;
}

.product-badges {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-end;
}

.product-badge {
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-new {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
}

.badge-popular {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: white;
}

.badge-premium {
  background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
  color: white;
}

.badge-free {
  background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
  color: white;
}

/* Product Content */
.product-content {
  margin-bottom: 20px;
  padding: 0 28px;
  flex: 1;
}

.product-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 8px;
  line-height: 1.3;
}

.product-description {
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: 16px;
}

.product-category {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(0, 122, 204, 0.08);
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary-blue);
}

/* Product Footer */
.product-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
  padding: 20px 28px 16px 28px;
  border-top: 1px solid var(--gray-200);
}

.product-price {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.price-current {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary-blue);
}

.price-original {
  font-size: 1rem;
  color: var(--gray-400);
  text-decoration: line-through;
}

.price-free {
  font-size: 1.5rem;
  font-weight: 700;
  color: #10b981;
}

/* Product Actions */
.product-actions {
  display: flex;
  gap: 8px;
}

.product-actions-full {
  padding: 0 28px 28px 28px;
  width: 100%;
  display: flex;
  gap: 8px;
}

.product-btn {
  padding: 14px 24px;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  width: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, #007acc 0%, #0056b3 100%);
  color: white;
}

.btn-primary:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 122, 204, 0.4);
}

.btn-secondary {
  background: rgba(0, 122, 204, 0.1);
  color: var(--primary-blue);
}

.btn-secondary:hover {
  background: rgba(0, 122, 204, 0.2);
}

.btn-success {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
}

.btn-success:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

/* ============================================
   Floating Cart
   ============================================ */
.floating-cart {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
}

.floating-cart-toggle {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #007acc 0%, #0056b3 100%);
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 122, 204, 0.4);
  transition: all 0.3s ease;
  position: relative;
}

.floating-cart-toggle:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 32px rgba(0, 122, 204, 0.5);
}

.cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #ef4444;
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 12px;
  min-width: 24px;
  text-align: center;
}

.floating-cart-dropdown {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 400px;
  max-height: 600px;
  background: white;
  border: 2px solid rgba(0, 122, 204, 0.1);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  animation: slideInUp 0.3s ease-out;
}

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background: linear-gradient(135deg, rgba(0, 122, 204, 0.05) 0%, rgba(0, 122, 204, 0.02) 100%);
  border-bottom: 1px solid var(--gray-200);
}

.cart-header h3 {
  margin: 0;
  font-size: 1.2rem;
  color: var(--gray-900);
}

.cart-close {
  background: none;
  border: none;
  font-size: 1.2rem;
  color: var(--gray-500);
  cursor: pointer;
  transition: color 0.2s ease;
  padding: 4px;
}

.cart-close:hover {
  color: var(--gray-900);
}

.cart-items {
  max-height: 400px;
  overflow-y: auto;
  padding: 16px;
}

.cart-empty {
  text-align: center;
  padding: 40px 20px;
  color: var(--gray-400);
}

.cart-empty i {
  font-size: 3rem;
  margin-bottom: 12px;
  display: block;
}

.cart-item {
  display: flex;
  gap: 12px;
  padding: 12px;
  border-radius: 12px;
  margin-bottom: 8px;
  background: var(--gray-50);
  transition: background 0.2s ease;
}

.cart-item:hover {
  background: var(--gray-100);
}

.cart-item-icon {
  width: 50px;
  height: 50px;
  background: white;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.cart-item-info {
  flex: 1;
}

.cart-item-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 4px;
}

.cart-item-price {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary-blue);
}

.cart-item-remove {
  background: none;
  border: none;
  color: var(--gray-400);
  cursor: pointer;
  padding: 4px;
  transition: color 0.2s ease;
}

.cart-item-remove:hover {
  color: #ef4444;
}

.cart-footer {
  padding: 20px;
  border-top: 1px solid var(--gray-200);
  background: white;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  font-size: 1.1rem;
}

.cart-total strong {
  font-size: 1.4rem;
  color: var(--primary-blue);
}

.cart-checkout-btn {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  border: none;
  border-radius: 12px;
  color: white;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: inherit;
}

.cart-checkout-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.4);
}

/* ============================================
   Product Detail Modal
   ============================================ */
.product-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.product-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
}

.product-modal-content {
  position: relative;
  z-index: 2;
  background: white;
  border-radius: 24px;
  max-width: 1200px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
  animation: slideInUp 0.4s ease-out;
}

.product-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 10;
  width: 40px;
  height: 40px;
  background: white;
  border: 2px solid var(--gray-200);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 1.2rem;
  color: var(--gray-600);
}

.product-modal-close:hover {
  background: var(--error);
  border-color: var(--error);
  color: white;
  transform: rotate(90deg);
}

.product-modal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding: 40px;
}

/* Modal Gallery */
.product-modal-gallery {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.product-modal-main-image {
  width: 100%;
  height: 400px;
  border-radius: 16px;
  overflow: hidden;
  background: var(--gray-100);
}

.product-modal-main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-modal-thumbnails {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
  gap: 12px;
}

.modal-thumbnail {
  width: 100%;
  height: 80px;
  object-fit: cover;
  border-radius: 12px;
  border: 3px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  opacity: 0.6;
}

.modal-thumbnail:hover {
  opacity: 1;
  transform: scale(1.05);
}

.modal-thumbnail.active {
  border-color: var(--primary-blue);
  opacity: 1;
}

/* Modal Info */
.product-modal-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.product-modal-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.product-modal-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--gray-900);
  margin: 0;
  line-height: 1.2;
}

.product-modal-category {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(0, 122, 204, 0.1);
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary-blue);
}

.product-modal-price {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 16px 0;
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}

.product-modal-description {
  color: var(--gray-600);
  line-height: 1.7;
  font-size: 1.05rem;
}

.product-modal-features h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 12px;
}

.features-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.features-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  color: var(--gray-700);
  font-size: 1rem;
}

.features-list i {
  color: #10b981;
  font-size: 1.1rem;
}

.product-modal-actions {
  margin-top: auto;
  padding-top: 20px;
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 968px) {
  .product-modal-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 30px;
  }

  .product-modal-main-image {
    height: 300px;
  }
}

@media (max-width: 768px) {
  .store-hero {
    padding: 60px 16px 40px;
  }

  .store-hero-title {
    font-size: 2rem;
  }

  .store-hero-subtitle {
    font-size: 1.1rem;
  }

  .store-stats {
    gap: 16px;
  }

  .store-stat {
    flex: 1;
    min-width: 140px;
    padding: 12px 16px;
  }

  .store-stat i {
    font-size: 1.5rem;
  }

  .store-stat strong {
    font-size: 1.2rem;
  }

  .store-controls {
    padding: 20px 16px;
  }

  .store-search {
    margin-bottom: 16px;
  }

  .store-filters {
    gap: 8px;
  }

  .filter-btn {
    padding: 10px 16px;
    font-size: 0.85rem;
  }

  .products-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .floating-cart {
    bottom: 20px;
    right: 20px;
  }

  .floating-cart-toggle {
    width: 56px;
    height: 56px;
    font-size: 1.3rem;
  }

  .floating-cart-dropdown {
    width: calc(100vw - 40px);
    right: -10px;
  }

  .product-footer {
    justify-content: center;
  }

  .product-actions-full {
    padding: 0 20px 20px 20px;
  }

  .product-modal-content {
    margin: 20px;
    max-height: calc(100vh - 40px);
  }

  .product-modal-grid {
    padding: 20px;
  }

  .product-modal-close {
    top: 10px;
    right: 10px;
  }

  .product-modal-main-image {
    height: 250px;
  }

  .product-modal-title {
    font-size: 1.5rem;
  }

  /* Checkout Modal Responsive */
  #checkoutModal .product-modal-content {
    max-width: calc(100vw - 40px) !important;
  }

  #checkoutModal h2 {
    font-size: 1.3rem !important;
  }

  #checkoutModal .checkout-items > div {
    flex-wrap: wrap;
    gap: 12px !important;
  }

  #checkoutModal .checkout-items > div > div:first-child {
    font-size: 1.5rem !important;
  }

  #checkoutModal .checkout-items > div > div:nth-child(2) {
    flex: 1 1 100%;
    order: 3;
  }

  #checkoutModal .checkout-items > div > div:nth-child(3) {
    order: 2;
  }

  #checkoutModal .checkout-items button {
    order: 4;
  }
}

@media (max-width: 480px) {
  .store-hero-badge {
    font-size: 0.8rem;
    padding: 6px 16px;
  }

  .store-stats {
    flex-direction: column;
  }

  .store-stat {
    width: 100%;
  }

  /* Checkout Modal für sehr kleine Displays */
  #checkoutModal .product-modal-content {
    margin: 10px !important;
    padding: 0 !important;
  }

  #checkoutModal .product-modal-content > div {
    padding: 20px !important;
  }

  #checkoutModal h2 {
    font-size: 1.2rem !important;
  }

  #checkoutModal p {
    font-size: 0.9rem !important;
  }

  #checkoutModal .checkout-items > div {
    padding: 12px !important;
  }

  #checkoutModal #checkout-total {
    font-size: 1.5rem !important;
  }

  /* Buttons kleiner auf Mobile */
  #checkoutModal .product-btn {
    padding: 10px 16px !important;
    font-size: 0.9rem !important;
  }

  #checkoutModal button i {
    font-size: 0.85rem !important;
  }
}

/* ============================================
   Discount Code Styles
   ============================================ */
#discountCodeInput {
  transition: all 0.3s ease;
}

#discountCodeInput:focus {
  outline: none;
  border-color: var(--primary-blue) !important;
  box-shadow: 0 0 0 3px rgba(0, 122, 204, 0.1);
}

#discountStatus {
  min-height: 24px;
  display: flex;
  align-items: center;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive Discount Input */
@media (max-width: 580px) {
  .discount-code-section > div:first-child {
    flex-direction: column !important;
  }
  
  #discountCodeInput {
    width: 100% !important;
  }
  
  .discount-code-section button {
    width: 100% !important;
    justify-content: center;
  }
}
