/* Orders Overlay Styles */

.orders-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.orders-wrapper.active {
  display: flex;
  opacity: 1;
}

.orders-overlay {
  background: white;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  width: 90%;
  max-width: 900px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transform: scale(0.9) translateY(20px);
  transition: transform 0.3s ease;
}

.orders-wrapper.active .orders-overlay {
  transform: scale(1) translateY(0);
}

/* Close Button */
.orders-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 28px;
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  z-index: 10001;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.orders-close-btn:hover {
  background: rgba(239, 68, 68, 0.2);
  color: #ffffff;
  transform: scale(1.1);
}

/* Orders Header */
.orders-header {
  background: linear-gradient(135deg, #042D6B, #1e40af);
  color: white !important;
  padding: 30px 80px 30px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.orders-header h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  color: white !important;
}

.orders-header h2 span {
  color: white !important;
}

/* Orders Content */
.orders-content {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  background: #f9fafb;
}

/* Order Card */
.order-card {
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  margin-bottom: 24px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.order-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.order-card-header {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  padding: 20px;
  border-bottom: 2px solid #e2e8f0;
}

.order-card-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.order-number-section {
  flex: 1;
}

.order-number-label {
  font-size: 12px;
  color: #6b7280;
  font-weight: 500;
  margin-bottom: 4px;
}

.order-number {
  font-size: 18px;
  font-weight: 700;
  color: #0B1340;
  letter-spacing: 0.5px;
}

.order-status-badge {
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  border: 2px solid;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.order-status-draft,
.order-status-awaiting_payment {
  background: #fff7ed;
  border-color: #fb923c;
  color: #ea580c;
}

.order-status-paid,
.order-status-processing,
.order-status-shipped,
.order-status-delivered {
  background: #ecfdf5;
  border-color: #059669;
  color: #047857;
}

.order-status-settled {
  background: #f3f4f6;
  border-color: #9ca3af;
  color: #4b5563;
}

.order-status-cancelled {
  background: #fef2f2;
  border-color: #ef4444;
  color: #dc2626;
}

.order-status-refunded {
  background: #ecfdf5;
  border-color: #059669;
  color: #047857;
}

.order-status-payment_failed {
  background: #fef2f2;
  border-color: #ef4444;
  color: #dc2626;
}

.order-status-cancel_requested {
  background: #fff7ed;
  border-color: #fb923c;
  color: #ea580c;
}

.order-status-return_requested,
.order-status-return_approved,
.order-status-return_in_transit,
.order-status-return_received,
.order-status-refund_requested {
  background: #eff6ff;
  border-color: #3b82f6;
  color: #1d4ed8;
}

.order-status-vendor_declined {
  background: #fef2f2;
  border-color: #ef4444;
  color: #dc2626;
}

.order-status-disputed {
  background: #f3e8ff;
  border-color: #a855f7;
  color: #7e22ce;
}

.order-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: #6b7280;
}

.order-meta i {
  font-size: 14px;
  margin-right: 6px;
}

.order-card-body {
  padding: 20px;
  background: white;
}

/* Order Item */
.order-item {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f1f5f9;
}

.order-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.order-item-image {
  width: 70px;
  height: 70px;
  border-radius: 12px;
  object-fit: cover;
  background: #f3f4f6;
  flex-shrink: 0;
  border: 1px solid #e5e7eb;
  transition: opacity 0.3s ease;
}

.order-item-image.loading {
  background: linear-gradient(90deg, #f3f4f6 25%, #e5e7eb 50%, #f3f4f6 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  opacity: 0.7;
}

.order-item-image.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

.order-item-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.order-item-name {
  font-size: 15px;
  font-weight: 600;
  color: #0B1340;
  line-height: 1.5;
}

.order-item-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.order-item-quantity {
  font-size: 12px;
  color: #6b7280;
}

.order-item-vendor {
  font-size: 12px;
  color: #6b7280;
  display: flex;
  align-items: center;
  gap: 4px;
}

.order-item-vendor i {
  font-size: 11px;
}

.order-item-vendor strong {
  color: #0B1340;
  font-weight: 600;
}

.order-item-price-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.order-item-price {
  font-size: 15px;
  font-weight: 700;
  color: #1d4ed8;
}

.order-item-savings {
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #86efac;
}

/* Condition Badges */
.condition-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  border: 1px solid;
}

.condition-badge-new {
  background: #ecfdf5;
  border-color: rgba(5, 150, 105, 0.4);
  color: #047857;
}

.condition-badge-new i {
  color: #059669;
}

.condition-badge-used {
  background: #fff7ed;
  border-color: rgba(251, 146, 60, 0.4);
  color: #ea580c;
}

.condition-badge-used i {
  color: #fb923c;
}

/* Order Total */
.order-total-divider {
  height: 2px;
  background: linear-gradient(90deg, #e5e7eb 0%, #f1f5f9 50%, #e5e7eb 100%);
  margin: 20px 0;
}

.order-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.order-total-label {
  font-size: 18px;
  font-weight: 700;
  color: #0B1340;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.order-total-amount {
  font-size: 24px;
  font-weight: 800;
  color: #1d4ed8;
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* View Details Button */
.order-view-details-btn {
  width: 100%;
  padding: 14px 20px;
  background: linear-gradient(135deg, #1e40af 0%, #0B1340 100%);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.3s ease;
  margin-top: 16px;
  box-shadow: 0 4px 12px rgba(30, 64, 175, 0.2);
}

.order-view-details-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(30, 64, 175, 0.3);
  background: linear-gradient(135deg, #1d4ed8 0%, #042D6B 100%);
}

.order-view-details-btn:active {
  transform: translateY(0);
}

.order-view-details-btn i:first-child {
  font-size: 16px;
}

.order-view-details-btn i:last-child {
  margin-left: auto;
  font-size: 14px;
}

/* Shipping Address */
.order-address-section {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 2px solid #f1f5f9;
  background: #fafbfc;
  padding: 16px;
  border-radius: 12px;
  margin-bottom: 12px;
}

.order-address-row {
  display: flex;
  gap: 8px;
}

.order-address-icon {
  font-size: 20px;
  color: #3b82f6;
  flex-shrink: 0;
}

.order-address-content {
  flex: 1;
}

.order-address-label {
  font-size: 11px;
  font-weight: 700;
  color: #6b7280;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.order-address-recipient {
  font-size: 14px;
  font-weight: 500;
  color: #0B1340;
  margin-bottom: 2px;
}

.order-address-line {
  font-size: 13px;
  color: #1f2937;
  line-height: 1.4;
}

/* Empty/Loading/Error States */
.orders-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  text-align: center;
}

.orders-state-icon {
  font-size: 64px;
  margin-bottom: 20px;
  opacity: 0.5;
}

.orders-state-title {
  font-size: 20px;
  font-weight: 600;
  color: #0B1340;
  margin-bottom: 12px;
}

.orders-state-description {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.6;
  max-width: 400px;
}

.orders-loading .orders-state-icon {
  color: #3b82f6;
  animation: spin 1s linear infinite;
}

.orders-empty .orders-state-icon {
  color: #9ca3af;
}

.orders-error .orders-state-icon {
  color: #ef4444;
}

/* Loading Spinner Animation */
@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Order Menu Dropdown */
.order-menu-wrapper {
  position: relative;
}

.order-menu-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: #6b7280;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.order-menu-btn:hover {
  background: #f3f4f6;
  color: #0B1340;
}

.order-menu-dropdown {
  position: absolute;
  top: 40px;
  right: 0;
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  min-width: 200px;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.2s ease;
}

.order-menu-dropdown.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.order-menu-item {
  width: 100%;
  padding: 12px 16px;
  border: none;
  background: transparent;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  font-size: 14px;
  color: #0B1340;
  transition: background 0.2s ease;
}

.order-menu-item:first-child {
  border-radius: 8px 8px 0 0;
}

.order-menu-item:last-child {
  border-radius: 0 0 8px 8px;
}

.order-menu-item:hover {
  background: #f3f4f6;
}

.order-menu-item i {
  font-size: 16px;
  color: #6b7280;
  width: 16px;
}

/* ORDER DETAILS OVERLAY */
.order-details-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(5px);
  z-index: 10001;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.order-details-wrapper.active {
  display: flex;
  opacity: 1;
}

.order-details-overlay {
  background: white;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  width: 90%;
  max-width: 800px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transform: scale(0.9) translateY(20px);
  transition: transform 0.3s ease;
}

.order-details-wrapper.active .order-details-overlay {
  transform: scale(1) translateY(0);
}

.order-details-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 28px;
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  z-index: 10002;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.order-details-close-btn:hover {
  background: rgba(239, 68, 68, 0.2);
  color: #ffffff;
  transform: scale(1.1);
}

.order-details-header {
  background: linear-gradient(135deg, #042D6B, #1e40af);
  color: white !important;
  padding: 30px 80px 30px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.order-details-header h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  color: white !important;
}

.order-details-content {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
  background: #f9fafb;
}

.order-detail-section {
  background: white;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.order-detail-section-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid #f1f5f9;
}

.order-detail-section-header i {
  font-size: 20px;
  color: #1e40af;
}

.order-detail-section-header h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #0B1340;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.order-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.order-info-item {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
}

.order-info-label {
  font-size: 13px;
  color: #6b7280;
  font-weight: 500;
}

.order-info-value {
  font-size: 13px;
  color: #0B1340;
  font-weight: 600;
  text-align: right;
}

.order-detail-item {
  background: #f8fafc;
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 12px;
  display: flex;
  gap: 12px;
  border: 1px solid #e5e7eb;
}

.order-detail-item:last-child {
  margin-bottom: 0;
}

.order-detail-item-image {
  width: 80px;
  height: 80px;
  border-radius: 10px;
  object-fit: cover;
  background: white;
  flex-shrink: 0;
  border: 1px solid #e5e7eb;
  transition: opacity 0.3s ease;
}

.order-detail-item-image.loading {
  background: linear-gradient(90deg, #f3f4f6 25%, #e5e7eb 50%, #f3f4f6 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  opacity: 0.7;
}

.order-detail-item-image.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
}

.order-detail-item-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.order-detail-item-name {
  font-size: 15px;
  font-weight: 600;
  color: #0B1340;
  line-height: 1.4;
}

.order-detail-item-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 12px;
  color: #6b7280;
}

.order-detail-item-vendor {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: #6b7280;
}

.order-detail-item-vendor i {
  font-size: 11px;
}

.order-detail-item-vendor strong {
  color: #0B1340;
  font-weight: 600;
}

.order-detail-item-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 4px;
}

.order-detail-item-price {
  font-size: 16px;
  font-weight: 700;
  color: #1d4ed8;
}

.order-detail-item-savings {
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #86efac;
}

.order-detail-item-actions {
  margin-top: 8px;
}

.order-detail-item-details-btn {
  width: 100%;
  padding: 10px 16px;
  background: #0B1340;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.order-detail-item-details-btn:hover {
  background: #1e40af;
  transform: translateY(-1px);
}

.order-detail-address {
  background: #f8fafc;
  border-radius: 10px;
  padding: 16px;
  border-left: 4px solid #3b82f6;
}

.order-detail-address-name {
  font-size: 14px;
  font-weight: 600;
  color: #0B1340;
  margin-bottom: 6px;
}

.order-detail-address-line {
  font-size: 13px;
  color: #1f2937;
  line-height: 1.5;
}

.order-detail-actions-grid {
  display: grid;
  gap: 10px;
}

.order-detail-action-btn {
  padding: 14px 16px;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  color: #0B1340;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.2s ease;
}

.order-detail-action-btn:hover {
  background: #e5e7eb;
  border-color: #0B1340;
  transform: translateX(4px);
}

.order-detail-action-btn i {
  font-size: 18px;
  color: #6b7280;
}

.order-detail-action-btn .fa-chevron-right {
  margin-left: auto;
  font-size: 14px;
}

.order-detail-total {
  background: linear-gradient(135deg, #0B1340 0%, #1e40af 100%);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.order-detail-total-label {
  font-size: 18px;
  font-weight: 700;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.order-detail-total-amount {
  font-size: 28px;
  font-weight: 800;
  color: #4ADE80;
}

/* Responsive */
@media (max-width: 768px) {
  .orders-overlay {
    width: 95%;
    max-height: 95vh;
  }

  .orders-header {
    padding: 20px 60px 20px 20px;
  }

  .orders-header h2 {
    font-size: 20px;
  }

  .orders-content {
    padding: 12px;
  }

  .order-card-header-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .order-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .order-item {
    gap: 10px;
  }

  .order-item-image {
    width: 50px;
    height: 50px;
  }

  .order-details-overlay {
    width: 95%;
    max-height: 90vh;
  }

  .order-details-header {
    padding: 20px 60px 20px 20px;
  }

  .order-details-header h2 {
    font-size: 20px;
  }

  .order-details-content {
    padding: 16px;
  }

  .order-info-grid {
    grid-template-columns: 1fr;
  }

  .order-detail-item {
    flex-direction: column;
  }

  .order-detail-item-image {
    width: 100%;
    height: 150px;
  }
}

/* PRODUCT DETAILS OVERLAY */
.product-details-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(5px);
  z-index: 10002;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.product-details-wrapper.active {
  display: flex;
  opacity: 1;
}

.product-details-overlay {
  background: white;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  width: 90%;
  max-width: 700px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transform: scale(0.9) translateY(20px);
  transition: transform 0.3s ease;
}

.product-details-wrapper.active .product-details-overlay {
  transform: scale(1) translateY(0);
}

.product-details-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 28px;
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  z-index: 10003;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.product-details-close-btn:hover {
  background: rgba(239, 68, 68, 0.2);
  color: #ffffff;
  transform: scale(1.1);
}

.product-details-header {
  background: linear-gradient(135deg, #042D6B, #1e40af);
  color: white !important;
  padding: 30px 80px 30px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.product-details-header h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  color: white !important;
}

.product-details-header h2 span {
  color: white !important;
}

.product-details-header h2 i {
  color: white !important;
}

.product-details-content {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
  background: #f9fafb;
}

.product-image-container {
  position: relative;
  width: 100%;
  height: 250px;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 20px;
  cursor: pointer;
  border: 1px solid #e5e7eb;
  transition: all 0.3s ease;
}

.product-image-container:hover {
  border-color: #1e40af;
  box-shadow: 0 8px 20px rgba(30, 64, 175, 0.15);
  transform: translateY(-2px);
}

.product-image-container img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 0.3s ease;
}

.product-image-container img.loading {
  opacity: 0;
}

.product-image-container.loading {
  background: linear-gradient(90deg, #f3f4f6 25%, #e5e7eb 50%, #f3f4f6 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

.product-image-overlay {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
  pointer-events: none;
}

.product-image-overlay i {
  font-size: 14px;
}

.product-name-section {
  background: white;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.product-name-title {
  font-size: 18px;
  font-weight: 700;
  color: #0B1340;
  line-height: 1.4;
  margin-bottom: 8px;
}

.product-name-subtitle {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.4;
}

.product-pricing-section {
  background: white;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.product-pricing-section h3 {
  font-size: 14px;
  font-weight: 700;
  color: #0B1340;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid #f1f5f9;
}

.pricing-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
}

.pricing-row.highlight {
  background: linear-gradient(90deg, rgba(74, 222, 128, 0.1) 0%, rgba(74, 222, 128, 0.05) 100%);
  padding: 16px;
  border-radius: 10px;
  margin: 8px 0;
}

.pricing-row.strikethrough .pricing-value {
  text-decoration: line-through;
  opacity: 0.6;
}

.pricing-label {
  font-size: 14px;
  color: #6b7280;
  font-weight: 500;
}

.pricing-row.highlight .pricing-label {
  font-size: 15px;
  font-weight: 600;
  color: #0B1340;
}

.pricing-value {
  font-size: 16px;
  font-weight: 700;
  color: #1d4ed8;
}

.pricing-row.highlight .pricing-value {
  font-size: 20px;
  color: #4ADE80;
}

.pricing-savings .pricing-value {
  color: #047857;
}

.pricing-divider {
  height: 1px;
  background: #e5e7eb;
  margin: 8px 0;
}

.product-info-section {
  background: white;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.product-info-section h3 {
  font-size: 14px;
  font-weight: 700;
  color: #0B1340;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid #f1f5f9;
}

.product-info-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: #f8fafc;
  border-radius: 10px;
  margin-bottom: 10px;
}

.product-info-row:last-child {
  margin-bottom: 0;
}

.product-info-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(30, 64, 175, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.product-info-icon i {
  font-size: 18px;
  color: #1e40af;
}

.product-info-text {
  flex: 1;
}

.product-info-label {
  font-size: 11px;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  margin-bottom: 2px;
}

.product-info-value {
  font-size: 14px;
  font-weight: 600;
  color: #0B1340;
}

.product-description-section {
  background: white;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.product-description-section h3 {
  font-size: 14px;
  font-weight: 700;
  color: #0B1340;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.product-description-text {
  font-size: 14px;
  color: #1f2937;
  line-height: 1.6;
}

.product-economic-operator {
  background: white;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.product-economic-operator h3 {
  font-size: 14px;
  font-weight: 700;
  color: #0B1340;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 2px solid #f1f5f9;
}

.economic-operator-warning {
  font-size: 12px;
  color: #d97706;
  background: #fef3c7;
  border: 1px solid #fbbf24;
  border-radius: 8px;
  padding: 10px 12px;
  margin-bottom: 16px;
  line-height: 1.5;
  font-weight: 500;
}

.economic-operator-info {
  background: #f8fafc;
  border-radius: 10px;
  padding: 16px;
  border-left: 4px solid #3b82f6;
}

.economic-operator-name {
  font-size: 15px;
  font-weight: 600;
  color: #0B1340;
  margin-bottom: 8px;
}

.economic-operator-detail {
  font-size: 13px;
  color: #1f2937;
  line-height: 1.5;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.economic-operator-detail i {
  width: 16px;
  color: #6b7280;
  font-size: 12px;
}

/* IMAGE VIEWER OVERLAY */
.image-viewer-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 10003;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.image-viewer-wrapper.active {
  display: flex;
  opacity: 1;
}

.image-viewer-container {
  position: relative;
  width: 90%;
  height: 90%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-viewer-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 32px;
  color: white;
  cursor: pointer;
  z-index: 10004;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease;
}

.image-viewer-close-btn:hover {
  background: rgba(239, 68, 68, 0.8);
  transform: scale(1.1);
}

.image-viewer-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
  cursor: zoom-in;
}

.image-viewer-image.zoomed {
  cursor: zoom-out;
}

.image-viewer-zoom-hint {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 12px 20px;
  border-radius: 30px;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: fadeInOut 3s ease-in-out;
}

@keyframes fadeInOut {
  0%, 100% { opacity: 0; }
  10%, 90% { opacity: 1; }
}

/* Responsive for Product Details */
@media (max-width: 768px) {
  .product-details-overlay {
    width: 95%;
    max-height: 90vh;
  }

  .product-details-header {
    padding: 20px 60px 20px 20px;
  }

  .product-details-header h2 {
    font-size: 20px;
  }

  .product-details-content {
    padding: 16px;
  }

  .product-image-container {
    height: 200px;
  }

  .pricing-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .product-info-row {
    flex-direction: column;
    align-items: flex-start;
  }
}
