/**
 * @file
 * Styles for deal detail page.
 *
 * Based on Screen 20 (Cashback Detail) wireframe design.
 */

/* ========================================
   LAYOUT
   ======================================== */

.deal-detail {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem 3rem;
}

/* Breadcrumb */
.deal-detail__breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  font-size: 14px;
}

.deal-detail__breadcrumb a {
  color: #6b7280;
  text-decoration: none;
  transition: color 0.2s ease;
}

.deal-detail__breadcrumb a:hover {
  color: #DA6630;
}

.deal-detail__breadcrumb-separator {
  color: #e5e7eb;
}

.deal-detail__breadcrumb span:last-child {
  color: #1a1a2e;
  font-weight: 500;
}

/* Header */
.deal-detail__header {
  margin-bottom: 2rem;
}

.deal-detail__title {
  font-size: 32px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.deal-detail__expired-notice {
  background-color: #fef2f2;
  border: 2px solid #ef4444;
  border-radius: 8px;
  padding: 1rem 1.5rem;
  color: #ef4444;
  margin-bottom: 1rem;
}

/* ========================================
   TWO-COLUMN LAYOUT
   ======================================== */

.deal-detail__content {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 2rem;
  margin-bottom: 3rem;
}

/* ========================================
   MAIN CONTENT (LEFT COLUMN)
   ======================================== */

.deal-detail__main {
  min-width: 0;
}

/* Gallery */
.deal-detail__gallery {
  margin-bottom: 2rem;
}

.deal-detail__image {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 1rem;
}

.deal-detail__image img {
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: cover;
  display: block;
}

.deal-detail__thumbnails {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}

.deal-detail__thumbnail {
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.2s ease;
}

.deal-detail__thumbnail:hover,
.deal-detail__thumbnail.active {
  border-color: #DA6630;
}

.deal-detail__thumbnail img {
  width: 100%;
  height: 80px;
  object-fit: cover;
  display: block;
}

/* Action Buttons */
.deal-detail__actions {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.deal-detail__share,
.deal-detail__favorite {
  padding: 0.75rem 1.5rem;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  background-color: #ffffff;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  color: #1a1a2e;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.deal-detail__share:hover,
.deal-detail__favorite:hover {
  border-color: #DA6630;
  color: #DA6630;
}

.deal-detail__favorite.favorited {
  background-color: #fef3ee;
  border-color: #DA6630;
  color: #DA6630;
}

/* Description Sections */
.deal-detail__description,
.deal-detail__what-included,
.deal-detail__terms {
  background-color: #ffffff;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.deal-detail__description h3,
.deal-detail__what-included h3,
.deal-detail__terms h3 {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 1rem;
}

.deal-detail__description p,
.deal-detail__what-included p,
.deal-detail__terms p {
  font-size: 15px;
  line-height: 1.6;
  color: #6b7280;
}

.deal-detail__what-included ul {
  list-style: none;
  padding: 0;
}

.deal-detail__what-included li {
  padding: 0.5rem 0;
  font-size: 15px;
  color: #1a1a2e;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.deal-detail__what-included li::before {
  content: "✓";
  color: #10b981;
  font-weight: 700;
  font-size: 16px;
}

/* ========================================
   SIDEBAR (RIGHT COLUMN)
   ======================================== */

.deal-detail__sidebar {
  position: sticky;
  top: 2rem;
  align-self: start;
}

/* Offer Card */
.deal-detail__pricing-card {
  background-color: #ffffff;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.deal-detail__offer-header {
  text-align: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid #e5e7eb;
}

.deal-detail__offer-title {
  font-size: 16px;
  font-weight: 700;
  color: #DA6630;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.deal-detail__offer-subtitle {
  font-size: 14px;
  color: #6b7280;
}

/* Pricing */
.deal-detail__pricing {
  text-align: center;
  margin-bottom: 1rem;
}

.deal-detail__original-price {
  display: block;
  font-size: 16px;
  color: #6b7280;
  text-decoration: line-through;
  margin-bottom: 0.25rem;
}

.deal-detail__deal-price {
  display: block;
  font-size: 36px;
  font-weight: 700;
  color: #1a1a2e;
  line-height: 1;
}

.deal-detail__discount {
  display: inline-block;
  background-color: #d1fae5;
  color: #10b981;
  padding: 0.375rem 0.75rem;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  margin-top: 0.5rem;
}

.deal-detail__cashback {
  display: block;
  background-color: #fef3ee;
  color: #DA6630;
  padding: 0.75rem;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  margin-top: 1rem;
  text-align: center;
}

/* Countdown */
.deal-detail__countdown {
  text-align: center;
  padding: 1rem;
  background-color: #fef3ee;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.deal-detail__countdown-label {
  display: block;
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 0.5rem;
}

.deal-detail__countdown-timer {
  display: block;
  font-size: 24px;
  font-weight: 700;
  color: #ef4444;
}

/* CTA Button */
.deal-detail__cta {
  display: block;
  width: 100%;
  padding: 1rem;
  background-color: #DA6630;
  color: white;
  text-align: center;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
  margin-bottom: 0.75rem;
}

.deal-detail__cta:hover {
  background-color: #c55828;
  transform: translateY(-2px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Print/Download Voucher Buttons */
.deal-detail__print-btn,
.deal-detail__download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 20px;
  margin-top: 10px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 10px;
  transition: all 0.2s ease;
  cursor: pointer;
}

.deal-detail__print-btn {
  background-color: #68468F;
  color: #ffffff;
}

.deal-detail__print-btn:hover {
  background-color: #563a75;
  transform: translateY(-2px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  color: #ffffff;
}

.deal-detail__download-btn {
  background-color: #f9fafb;
  color: #1a1a2e;
  border: 2px solid #e5e7eb;
}

.deal-detail__download-btn:hover {
  background-color: #f3f4f6;
  border-color: #68468F;
  color: #68468F;
  transform: translateY(-2px);
}

/* Features List */
.deal-detail__features {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.deal-detail__features li {
  padding: 0.5rem 0;
  font-size: 14px;
  color: #1a1a2e;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.deal-detail__features li::before {
  content: "✓";
  color: #10b981;
  font-weight: 700;
}

/* How Cashback Works */
.deal-detail__cashback-info {
  background-color: #f9fafb;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.deal-detail__cashback-info h4 {
  font-size: 16px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 1rem;
}

.deal-detail__cashback-steps {
  list-style: none;
  padding: 0;
  counter-reset: step-counter;
}

.deal-detail__cashback-steps li {
  position: relative;
  padding-left: 2.5rem;
  margin-bottom: 1rem;
  font-size: 14px;
  color: #6b7280;
  line-height: 1.5;
  counter-increment: step-counter;
}

.deal-detail__cashback-steps li::before {
  content: counter(step-counter);
  position: absolute;
  left: 0;
  top: 0;
  width: 28px;
  height: 28px;
  background-color: #DA6630;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
}

/* Merchant Info */
.deal-detail__merchant {
  background-color: #ffffff;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.deal-detail__merchant h4 {
  font-size: 14px;
  font-weight: 600;
  color: #6b7280;
  margin-bottom: 0.5rem;
}

.deal-detail__merchant p {
  font-size: 16px;
  font-weight: 600;
  color: #1a1a2e;
}

/* Stats */
.deal-detail__stats {
  display: flex;
  justify-content: space-around;
  padding: 1rem;
  background-color: #f9fafb;
  border-radius: 8px;
  font-size: 13px;
  color: #6b7280;
}

/* ========================================
   RELATED DEALS
   ======================================== */

.deal-detail__related {
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 2px solid #e5e7eb;
}

.deal-detail__related h2 {
  font-size: 24px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 1.5rem;
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 1024px) {
  .deal-detail__content {
    grid-template-columns: 1fr;
  }

  .deal-detail__sidebar {
    position: static;
  }
}

@media (max-width: 767px) {
  .deal-detail {
    padding: 1rem;
  }

  .deal-detail__title {
    font-size: 24px;
  }

  .deal-detail__thumbnails {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ========================================
   SHORT DESCRIPTION
   ======================================== */

.deal-detail__short-description {
  font-size: 16px;
  line-height: 1.6;
  color: #6b7280;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e5e7eb;
}

/* ========================================
   DISCOUNT CODE
   ======================================== */

.deal-detail__discount-code {
  background-color: #fef3ee;
  border: 2px dashed #DA6630;
  border-radius: 10px;
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
}

.deal-detail__discount-code-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #6b7280;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.deal-detail__discount-code-container {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.deal-detail__discount-code-value {
  flex: 1;
  background-color: #ffffff;
  border: 2px solid #DA6630;
  border-radius: 6px;
  padding: 0.75rem 1rem;
  font-size: 18px;
  font-weight: 700;
  font-family: 'Courier New', Courier, monospace;
  color: #DA6630;
  letter-spacing: 2px;
  text-align: center;
}

.deal-detail__copy-code-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background-color: #DA6630;
  color: #ffffff;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.deal-detail__copy-code-btn:hover {
  background-color: #c55828;
  transform: translateY(-1px);
}

.deal-detail__copy-code-btn.copied {
  background-color: #10b981;
}

.deal-detail__copy-code-btn.copied i::before {
  content: "\f00c"; /* Font Awesome check icon */
}

/* ========================================
   STORE INFORMATION
   ======================================== */

.deal-detail__store-info {
  background-color: #f5f3f7;
  border: 2px solid #e5e7eb;
  border-radius: 10px;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}

.deal-detail__store-info-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 14px;
  font-weight: 700;
  color: #68468F;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.deal-detail__store-info-title i {
  color: #68468F;
}

.deal-detail__store-name {
  font-size: 16px;
  font-weight: 600;
  color: #1a1a2e;
  margin-bottom: 0.25rem;
}

.deal-detail__store-address {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.5;
  margin-bottom: 0.25rem;
}

.deal-detail__store-city {
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 0.75rem;
}

.deal-detail__map-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 14px;
  font-weight: 600;
  color: #68468F;
  text-decoration: none;
  transition: color 0.2s ease;
}

.deal-detail__map-link:hover {
  color: #563a75;
  text-decoration: underline;
}

/* ========================================
   CTA NOTE
   ======================================== */

.deal-detail__cta-note {
  font-size: 13px;
  color: #6b7280;
  text-align: center;
  margin-top: 0.75rem;
}

.deal-detail__cta-note strong {
  color: #DA6630;
  font-weight: 700;
}

/* ========================================
   VOUCHER BADGE
   ======================================== */

.badge--success {
  background-color: #d1fae5;
  color: #10b981;
}

/* ========================================
   PRINT VOUCHER BUTTON
   ======================================== */

[data-print-voucher] {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

[data-print-voucher] i {
  font-size: 16px;
}

/* ========================================
   SIDEBAR DISCOUNT CODE BOX
   ======================================== */

.deal-detail__discount-code-sidebar {
  margin: 1rem 0;
  padding: 1rem;
  background-color: #fef3ee;
  border: 2px dashed #DA6630;
  border-radius: 8px;
  text-align: center;
}

.deal-detail__discount-code-sidebar .deal-detail__discount-code-label {
  display: block;
  font-size: 12px;
  color: #6b7280;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.deal-detail__discount-code-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: white;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  border: 1px solid #e5e7eb;
}

.deal-detail__discount-code-box code {
  font-family: 'Monaco', 'Consolas', monospace;
  font-size: 16px;
  font-weight: 700;
  color: #DA6630;
  letter-spacing: 1px;
}

.deal-detail__copy-btn {
  background: none;
  border: none;
  color: #6b7280;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.deal-detail__copy-btn:hover {
  background-color: #f3f4f6;
  color: #DA6630;
}

/* ========================================
   SHORT DESCRIPTION STYLING
   ======================================== */

.deal-detail__short-description {
  background-color: #f9fafb;
  border-left: 4px solid #DA6630;
  padding: 1rem 1.25rem;
  margin: 1rem 0;
  border-radius: 0 8px 8px 0;
}

.deal-detail__short-description p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: #374151;
}

/* ========================================
   STORE INFO EMPTY STATE
   ======================================== */

.deal-detail__store-info--empty {
  background-color: #f9fafb;
  border: 1px dashed #e5e7eb;
}

.deal-detail__store-note {
  color: #6b7280;
  font-style: italic;
  font-size: 14px;
  margin: 0;
}

/* ========================================
   LOCATION SECTION (In Description)
   ======================================== */

.deal-detail__location-section {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e5e7eb;
}

.deal-detail__location-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 18px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 1rem;
}

.deal-detail__location-title i {
  color: #DA6630;
  font-size: 20px;
}

.deal-detail__location-card {
  background: linear-gradient(135deg, #f5f3f7 0%, #fef3ee 100%);
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 10px;
}

.deal-detail__location-card--empty {
  background: #f9fafb;
  border: 2px dashed #e5e7eb;
}

.deal-detail__location-name {
  font-size: 18px;
  font-weight: 600;
  color: #1a1a2e;
  margin: 0 0 0.5rem 0;
}

.deal-detail__location-address {
  font-size: 15px;
  color: #374151;
  margin: 0 0 0.25rem 0;
  line-height: 1.5;
}

.deal-detail__location-city {
  font-size: 14px;
  color: #6b7280;
  margin: 0 0 1rem 0;
}

.deal-detail__location-directions {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  background-color: #DA6630;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.deal-detail__location-directions:hover {
  background-color: #c55828;
  transform: translateY(-2px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  color: #fff !important;
}

.deal-detail__location-directions i {
  font-size: 16px;
}

.deal-detail__location-note {
  color: #6b7280;
  font-style: italic;
  font-size: 14px;
  margin: 0;
}

/* ========================================
   RESPONSIVE ADJUSTMENTS
   ======================================== */

@media (max-width: 576px) {
  .deal-detail__discount-code-container {
    flex-direction: column;
  }

  .deal-detail__discount-code-value {
    width: 100%;
  }

  .deal-detail__copy-code-btn {
    width: 100%;
    justify-content: center;
  }

  .deal-detail__discount-code-box {
    flex-direction: column;
    gap: 0.5rem;
  }
}

/* ========================================
   UPCOMING DEAL NOTICE
   ======================================== */

.deal-detail__upcoming-notice,
.deal-detail__sidebar-upcoming {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  background: linear-gradient(135deg, #f5f3f7 0%, #e8e4ed 100%);
  border: 2px solid #68468F;
  border-radius: 10px;
  color: #68468F;
  font-size: 15px;
  font-weight: 600;
}

.deal-detail__upcoming-notice i,
.deal-detail__sidebar-upcoming i {
  font-size: 18px;
}

.deal-detail__main-cta--upcoming {
  margin-top: 1.5rem;
}

/* ========================================
   IMAGE LIGHTBOX
   ======================================== */

/* Image Link for Lightbox */
.deal-detail__image-link {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  cursor: zoom-in;
}

.deal-detail__zoom-hint {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: rgba(0, 0, 0, 0.75);
  color: white;
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
  z-index: 5;
}

.deal-detail__image-link:hover .deal-detail__zoom-hint {
  opacity: 1;
}

/* Lightbox Modal */
.deal-lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}

.deal-lightbox.active {
  display: flex;
}

.deal-lightbox__close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: white;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
  z-index: 10001;
}

.deal-lightbox__close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.deal-lightbox__image {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

/* ========================================
   SOCIAL PROOF
   ======================================== */

.deal-detail__social-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
  padding: 12px 0;
  align-items: center;
}

/* Live Viewers */
.deal-detail__live-viewers {
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: #fef3ee;
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  color: #DA6630;
}

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

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

.deal-detail__live-count {
  font-weight: 700;
}

/* Recent Claims */
.deal-detail__recent-claims {
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: #fee2e2;
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  color: #ef4444;
}

.deal-detail__recent-claims i {
  color: #ef4444;
}

/* Badges */
.deal-detail__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.deal-detail__badge--trending {
  background-color: #fee2e2;
  color: #ef4444;
}

.deal-detail__badge--popular {
  background-color: #fef3c7;
  color: #f59e0b;
}

.deal-detail__badge--hot {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: white;
}

/* ========================================
   URGENCY INDICATORS
   ======================================== */

.deal-detail__urgency {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 12px;
}

.deal-detail__urgency--warning {
  background-color: #fef3c7;
  color: #f59e0b;
  border: 2px solid #f59e0b;
}

.deal-detail__urgency--critical {
  background-color: #fee2e2;
  color: #ef4444;
  border: 2px solid #ef4444;
  animation: urgency-pulse 1.5s ease-in-out infinite;
}

@keyframes urgency-pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4);
  }
  50% {
    transform: scale(1.02);
    box-shadow: 0 0 0 8px rgba(239, 68, 68, 0);
  }
}

.urgency-pulse {
  animation: urgency-pulse 1.5s ease-in-out infinite;
}

/* ========================================
   STOCK WARNING
   ======================================== */

.deal-detail__stock-warning {
  background-color: #fef3c7;
  border: 2px solid #f59e0b;
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 12px;
  text-align: center;
  font-size: 14px;
}

.deal-detail__stock-warning i {
  color: #f59e0b;
  margin-right: 6px;
}

.deal-detail__stock-warning strong {
  color: #ef4444;
  font-size: 18px;
}

.deal-detail__stock-bar {
  height: 6px;
  background-color: #e5e7eb;
  border-radius: 3px;
  margin-top: 8px;
  overflow: hidden;
}

.deal-detail__stock-fill {
  height: 100%;
  background: linear-gradient(90deg, #ef4444 0%, #f59e0b 100%);
  border-radius: 3px;
  transition: width 0.3s ease;
}

.deal-detail__sold-out {
  background-color: #fee2e2;
  color: #ef4444;
  padding: 16px;
  border-radius: 8px;
  text-align: center;
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 12px;
}

/* ========================================
   TRUST BADGES
   ======================================== */

.deal-detail__trust-badges {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  background-color: #f9fafb;
  border-radius: 10px;
  margin-top: 16px;
}

.deal-detail__trust-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #6b7280;
}

.deal-detail__trust-badge i {
  color: #10b981;
  font-size: 16px;
}

/* ========================================
   COUNTDOWN ENHANCEMENTS
   ======================================== */

.countdown-urgent {
  color: #ef4444 !important;
  font-weight: 700 !important;
  animation: countdown-flash 1s ease-in-out infinite;
}

@keyframes countdown-flash {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

.countdown-warning {
  color: #f59e0b !important;
  font-weight: 600;
}

.countdown-expired {
  color: #ef4444 !important;
  text-decoration: line-through;
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 767px) {
  .deal-lightbox__close {
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    font-size: 20px;
  }

  .deal-detail__zoom-hint {
    bottom: 10px;
    left: 10px;
    padding: 6px 10px;
    font-size: 11px;
  }

  .deal-detail__social-proof {
    gap: 8px;
  }

  .deal-detail__live-viewers,
  .deal-detail__recent-claims {
    padding: 6px 10px;
    font-size: 12px;
  }

  .deal-detail__trust-badges {
    padding: 12px;
  }

  .deal-detail__trust-badge {
    font-size: 12px;
  }
}

/* ========================================
   SHARE MODAL
   ======================================== */
.share-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.share-modal[hidden] {
  display: none;
}

.share-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(2px);
  animation: shareModalFadeIn 200ms ease;
}

.share-modal__content {
  position: relative;
  width: 100%;
  max-width: 400px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  animation: shareModalSlideUp 300ms ease;
  overflow: hidden;
}

.share-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px 12px;
}

.share-modal__title {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a2e;
  margin: 0;
}

.share-modal__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  color: #6b7280;
  background: transparent;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: background 150ms ease, color 150ms ease;
}

.share-modal__close:hover {
  background: #f9fafb;
  color: #1a1a2e;
}

.share-modal__body {
  padding: 12px 24px 24px;
}

.share-modal__copy-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px 20px;
  font-size: 15px;
  font-weight: 600;
  color: #1a1a2e;
  background: #ffffff;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  cursor: pointer;
  transition: all 200ms ease;
}

.share-modal__copy-btn:hover {
  border-color: #DA6630;
  color: #DA6630;
}

.share-modal__copy-btn--copied {
  border-color: #10b981;
  color: #10b981;
  background: #d1fae5;
}

.share-modal__divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 20px 0;
  color: #9ca3af;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
}

.share-modal__divider::before,
.share-modal__divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #e5e7eb;
}

.share-modal__platforms {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.share-modal__platform {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  text-decoration: none;
  border-radius: 10px;
  transition: opacity 150ms ease, transform 150ms ease;
}

.share-modal__platform:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  color: #ffffff;
  text-decoration: none;
}

.share-modal__platform svg {
  flex-shrink: 0;
}

.share-modal__platform--whatsapp {
  background: #25D366;
}

.share-modal__platform--email {
  background: #6b7280;
}

.share-modal__platform--facebook {
  background: #1877F2;
}

.share-modal__platform--instagram {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

@keyframes shareModalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes shareModalSlideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 480px) {
  .share-modal__content {
    max-width: 100%;
  }

  .share-modal__platforms {
    grid-template-columns: 1fr;
  }
}
