/* Promotions Page Styles - Horizontal Row Layout */

/* Featured Coupons Section */
.featured-coupons {
  padding: 60px 0;
  background: linear-gradient(135deg, var(--background-color) 0%, color-mix(in srgb, var(--surface-color), #f8f9fa 50%) 100%);
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 15px;
  position: relative;
  font-family: var(--heading-font);
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(135deg, var(--accent-color), color-mix(in srgb, var(--accent-color), black 20%));
  border-radius: 2px;
}

.section-subtitle {
  font-size: 18px;
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  margin: 0;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
  font-family: var(--default-font);
}


/* Coupon Row Layout */
.coupon-row {
  background: var(--surface-color);
  border-radius: 15px;
  box-shadow: 0 5px 20px color-mix(in srgb, var(--default-color), transparent 90%);
  margin-bottom: 25px;
  padding: 10px;
  transition: all 0.3s ease;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 92%);
  align-items: center;
}

.coupon-row:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px color-mix(in srgb, var(--accent-color), transparent 80%);
  border-color: var(--accent-color);
}

/* Store Box */
.store-box {
  text-align: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.store-box img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  border-radius: 12px;
  border: 3px solid color-mix(in srgb, var(--default-color), transparent 85%);
  padding: 12px;
  background: var(--surface-color);
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px color-mix(in srgb, var(--default-color), transparent 95%);
}

.coupon-row:hover .store-box img {
  border-color: var(--accent-color);
  transform: scale(1.08);
  box-shadow: 0 4px 16px color-mix(in srgb, var(--accent-color), transparent 70%);
}

/* Store Description */
.store-desc {
  padding-left: 20px;
}

.store-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 12px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-family: var(--heading-font);
}

.store-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--accent-color);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-family: var(--nav-font);
}

.expiry-date,
.usage-coupon {
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--default-font);
}

.expiry-date i,
.usage-coupon i {
  color: var(--accent-color);
  font-size: 16px;
}

.coupon-code {
  font-family: 'Courier New', monospace;
  font-weight: 700;
  color: var(--accent-color);
  background: color-mix(in srgb, var(--accent-color), transparent 95%);
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 14px;
  letter-spacing: 0.5px;
}

/* Copy Deal Button */
.copy-deal-btn {
  background: linear-gradient(135deg, var(--accent-color), color-mix(in srgb, var(--accent-color), black 10%));
  color: var(--contrast-color);
  border: none;
  padding: 15px 25px;
  border-radius: 25px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px color-mix(in srgb, var(--accent-color), transparent 70%);
  width: 100%;
  max-width: 150px;
  margin: 0 auto;
  font-family: var(--nav-font);
  text-decoration: none;
  outline: none;
  position: relative;
  overflow: hidden;
}

.copy-deal-btn:hover {
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent-color), black 10%), color-mix(in srgb, var(--accent-color), black 20%));
  transform: translateY(-2px);
  box-shadow: 0 8px 25px color-mix(in srgb, var(--accent-color), transparent 60%);
  color: var(--contrast-color);
}

.copy-deal-btn:focus {
  outline: none;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent-color), transparent 70%);
}

.copy-deal-btn:active {
  transform: translateY(0);
  box-shadow: 0 4px 15px color-mix(in srgb, var(--accent-color), transparent 70%);
}

.copy-deal-btn i {
  font-size: 18px;
  transition: transform 0.3s ease;
}

.copy-deal-btn:hover i {
  transform: scale(1.1);
}

/* No Coupons Row */
.no-coupons-row {
  text-align: center;
  padding: 60px 20px;
  background: var(--surface-color);
  border-radius: 15px;
  margin-bottom: 25px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 92%);
  box-shadow: 0 5px 20px color-mix(in srgb, var(--default-color), transparent 90%);
}

.no-coupons-content {
  max-width: 400px;
  margin: 0 auto;
}

.no-coupons-content i {
  font-size: 64px;
  color: color-mix(in srgb, var(--accent-color), transparent 60%);
  margin-bottom: 20px;
  display: block;
}

.no-coupons-content h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 15px;
  font-family: var(--heading-font);
}

.no-coupons-content p {
  font-size: 16px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin: 0;
  line-height: 1.5;
  font-family: var(--default-font);
}

/* Coupons Grid */
.coupons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Listing Card Style */
.coupon-listing-card {
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  border: 1px solid #e9ecef;
}

.coupon-listing-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 123, 255, 0.15);
  border-color: #007bff;
}

/* Featured Badge */
.coupon-listing-card .featured-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: linear-gradient(135deg, #ff6b35, #f7931e);
  color: white;
  padding: 8px 16px;
  border-radius: 25px;
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 10;
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
  animation: pulse 2s infinite;
}

.coupon-listing-card .featured-badge i {
  font-size: 14px;
}

/* Store Section */
.store-section {
  display: flex;
  align-items: center;
  padding: 30px 30px 20px;
  gap: 20px;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.store-logo {
  width: 80px;
  height: 80px;
  border-radius: 16px;
  overflow: hidden;
  border: 3px solid #e9ecef;
  transition: all 0.3s ease;
  flex-shrink: 0;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
}

.coupon-listing-card:hover .store-logo {
  border-color: #007bff;
  transform: scale(1.05);
}

.store-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
}

.store-info {
  flex: 1;
}

.store-name {
  font-size: 22px;
  font-weight: 700;
  color: #2c3e50;
  margin: 0 0 8px 0;
  line-height: 1.2;
}

.category-tag {
  background: linear-gradient(135deg, #e3f2fd, #bbdefb);
  color: #1976d2;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Discount Badge */
.discount-badge {
  background: linear-gradient(135deg, #28a745, #20c997);
  color: white;
  padding: 15px 20px;
  border-radius: 15px;
  text-align: center;
  min-width: 100px;
  box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.discount-text {
  display: block;
  font-size: 10px;
  font-weight: 500;
  opacity: 0.9;
  margin-bottom: 2px;
}

.discount-value {
  display: block;
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
}

.discount-off {
  display: block;
  font-size: 12px;
  font-weight: 600;
  margin-top: 2px;
}

/* Offer Section */
.offer-section {
  padding: 0 30px 20px;
}

.offer-title {
  font-size: 20px;
  font-weight: 700;
  color: #2c3e50;
  margin: 0 0 15px 0;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.offer-details {
  display: flex;
  gap: 25px;
  margin-bottom: 20px;
}

.expiry-info,
.coupon-type {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #6c757d;
}

.expiry-info i,
.coupon-type i {
  font-size: 16px;
  color: #007bff;
}

/* Action Section */
.action-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 25px 30px;
  background: #f8f9fa;
  border-top: 1px solid #e9ecef;
}

.coupon-code-display {
  flex: 1;
}

.code-label {
  display: block;
  font-size: 12px;
  color: #6c757d;
  margin-bottom: 5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.coupon-code {
  font-family: 'Courier New', monospace;
  font-size: 18px;
  font-weight: 700;
  color: #007bff;
  padding: 8px 12px;
  background: white;
  border: 2px dashed #007bff;
  border-radius: 8px;
  display: inline-block;
  letter-spacing: 1px;
}

/* Get Deal Button */
.get-deal-btn {
  background: linear-gradient(135deg, #007bff, #0056b3);
  color: white;
  border: none;
  padding: 15px 25px;
  border-radius: 25px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
  min-width: 150px;
  justify-content: center;
}

.get-deal-btn:hover {
  background: linear-gradient(135deg, #0056b3, #004085);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 123, 255, 0.4);
}

.get-deal-btn:active {
  transform: translateY(0);
}

.get-deal-btn i {
  font-size: 18px;
}

/* Success Indicator */
.success-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 30px;
  background: linear-gradient(135deg, #d4edda, #c3e6cb);
  color: #155724;
  font-size: 13px;
  font-weight: 600;
}

.success-indicator i {
  color: #28a745;
  font-size: 16px;
}

/* No Coupons State */
.no-coupons {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 80px 20px;
}

.no-coupons-content {
  text-align: center;
  max-width: 400px;
}

.no-coupons-content i {
  font-size: 64px;
  color: #dee2e6;
  margin-bottom: 20px;
  display: block;
}

.no-coupons-content h3 {
  font-size: 24px;
  font-weight: 700;
  color: #6c757d;
  margin-bottom: 15px;
}

.no-coupons-content p {
  font-size: 16px;
  color: #adb5bd;
  margin: 0;
  line-height: 1.5;
}

/* Responsive Design for Coupon Rows */
@media (max-width: 992px) {
  .coupon-row {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
  
  .store-desc {
    padding-left: 0;
  }
  
  .copy-deal-btn {
    max-width: 200px;
  }
}

@media (max-width: 768px) {
  .featured-coupons {
    padding: 40px 0;
  }
  
  .section-title {
    font-size: 28px;
  }
  
  .section-subtitle {
    font-size: 16px;
  }
  
  .coupon-row {
    padding: 20px;
    margin-bottom: 20px;
  }
  
  .store-box img {
    width: 80px;
    height: 80px;
  }
  
  .store-title {
    font-size: 18px;
  }
  
  .copy-deal-btn {
    width: 100%;
    max-width: none;
  }
}

@media (max-width: 576px) {
  .store-box img {
    width: 60px;
    height: 60px;
  }
  
  .store-title {
    font-size: 16px;
  }
  
  .store-name {
    font-size: 14px;
  }
  
  .expiry-date,
  .usage-coupon {
    font-size: 13px;
  }
  
  .coupon-code {
    font-size: 12px;
    padding: 3px 6px;
  }
}

@media (max-width: 1200px) {
  .coupons-grid {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
  }
}

@media (max-width: 768px) {
  .featured-coupons-section {
    padding: 40px 0;
  }
  
  .section-title {
    font-size: 28px;
  }
  
  .section-subtitle {
    font-size: 16px;
  }
  
  .coupons-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .store-section {
    flex-direction: column;
    text-align: center;
    gap: 15px;
    padding: 25px 20px 15px;
  }
  
  .discount-badge {
    margin-top: 15px;
  }
  
  .offer-section {
    padding: 0 20px 15px;
  }
  
  .offer-details {
    flex-direction: column;
    gap: 10px;
  }
  
  .action-section {
    flex-direction: column;
    align-items: stretch;
    gap: 15px;
    padding: 20px;
  }
  
  .get-deal-btn {
    width: 100%;
    min-width: auto;
  }
  
  .coupon-code {
    text-align: center;
    display: block;
    width: 100%;
    box-sizing: border-box;
  }
}

@media (max-width: 480px) {
  .coupon-listing-card {
    margin: 0 10px;
  }
  
  .store-section,
  .offer-section,
  .action-section {
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .store-logo {
    width: 60px;
    height: 60px;
  }
  
  .store-name {
    font-size: 18px;
  }
  
  .offer-title {
    font-size: 16px;
  }
}

/* Hero Slider */
.hero-slider {
  width: 100%;
  margin-bottom: 30px;
}

.slider-container {
  width: 100%;
  height: 300px;
  overflow: hidden;
  background: #f8f9fa;
  border-radius: 10px;
}

.slide {
  width: 100%;
  height: 100%;
  display: none;
}

.slide.active {
  display: block;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Main Heading */
.main-heading {
  text-align: center;
  margin: 40px 0;
  padding: 0 20px;
}

.main-heading h1 {
  font-size: 32px;
  font-weight: 700;
  color: #333;
  margin-bottom: 20px;
  line-height: 1.3;
}

/* Brands Heading */
.brands-heading {
  font-size: 24px;
  font-weight: 700;
  color: #333;
  margin: 30px 0 20px 0;
  padding-bottom: 10px;
  border-bottom: 2px solid #007bff;
  width: 100%;
}

/* Deal Body Styles */
.all-deals {
  margin-bottom: 40px;
}

.deal-body {
  background: #fff;
  margin-bottom: 15px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.deal-body:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  transform: translateY(-2px);
}

.deal-body-top {
  display: flex;
  align-items: center;
  padding: 20px;
}

.deal-img {
  text-align: center;
  margin-bottom: 10px;
}

.deal-img img {
  max-width: 80px;
  max-height: 80px;
  object-fit: contain;
  border-radius: 8px;
}

.deal-img-box {
  background: #007bff;
  color: white;
  padding: 5px 10px;
  font-size: 12px;
  text-align: center;
  border-radius: 4px;
  font-weight: 600;
}

.mydeal-offer {
  padding-left: 20px;
}

.deal-offer span a {
  color: #333;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  line-height: 1.4;
}

.deal-offer span a:hover {
  color: #007bff;
}

.deal-btn {
  text-align: center;
}

.deal-btn-code {
  background: #007bff;
  border: none;
  padding: 12px 20px;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.deal-btn-code a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
}

.deal-btn-code:hover {
  background: #0056b3;
  transform: translateY(-1px);
}

.deal-body-bottom {
  height: 1px;
  background: #f0f0f0;
}

.mob-coupon {
  padding-right: 20px !important;
}

/* Responsive Design */
@media (max-width: 768px) {
  .main-heading h1 {
    font-size: 24px;
  }
  
  .brands-heading {
    font-size: 20px;
  }
  
  .deal-body-top {
    flex-direction: column;
    text-align: center;
  }
  
  .mydeal-offer {
    padding-left: 0;
    margin: 15px 0;
  }
  
  .mob-coupon {
    border-right: none !important;
    border-bottom: 1px solid #eee;
    margin-bottom: 15px;
    padding-bottom: 15px;
  }
}

/* No Coupons Message */
.no-coupons {
  text-align: center;
  padding: 40px 20px;
  background: #f8f9fa;
  border-radius: 8px;
  margin: 20px 0;
}

.no-coupons p {
  font-size: 18px;
  color: #666;
  margin: 0;
}

/* Filter Section */
.promotions-filter {
  background: linear-gradient(135deg, var(--surface-color) 0%, color-mix(in srgb, var(--accent-color), transparent 95%) 100%);
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.filter-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-btn {
  background: var(--surface-color);
  border: 2px solid color-mix(in srgb, var(--default-color), transparent 85%);
  color: var(--default-color);
  padding: 10px 20px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: var(--nav-font);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--contrast-color);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px color-mix(in srgb, var(--accent-color), transparent 30%);
}

.search-filter {
  position: relative;
  max-width: 300px;
  width: 100%;
}

.search-filter input {
  padding: 12px 45px 12px 15px;
  border: 2px solid color-mix(in srgb, var(--default-color), transparent 85%);
  border-radius: 25px;
  background: var(--surface-color);
  font-size: 14px;
  transition: all 0.3s ease;
}

.search-filter input:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent-color), transparent 85%);
}

.search-filter i {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent-color);
  font-size: 16px;
}

/* Featured Promotions */
.featured-promotions {
  background: linear-gradient(135deg, var(--background-color) 0%, color-mix(in srgb, var(--surface-color), transparent 50%) 100%);
}

.featured-coupon-card {
  background: var(--surface-color);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px color-mix(in srgb, var(--default-color), transparent 90%);
  transition: all 0.4s ease;
  position: relative;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.featured-coupon-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px color-mix(in srgb, var(--accent-color), transparent 80%);
}

.coupon-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: linear-gradient(135deg, #ffd700, #ffb347);
  color: #333;
  padding: 6px 12px;
  border-radius: 15px;
  font-size: 12px;
  font-weight: 600;
  z-index: 2;
  box-shadow: 0 3px 10px rgba(255, 215, 0, 0.3);
}

.coupon-badge i {
  margin-right: 4px;
}

.coupon-header {
  display: flex;
  align-items: center;
  padding: 25px;
  gap: 15px;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 92%);
}

.store-logo {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid color-mix(in srgb, var(--accent-color), transparent 85%);
  flex-shrink: 0;
}

.store-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.featured-coupon-card:hover .store-logo img {
  transform: scale(1.1);
}

.store-info {
  flex: 1;
}

.store-info h4 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 5px 0;
  color: var(--heading-color);
}

.store-info .category {
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 500;
}

.savings-badge {
  background: linear-gradient(135deg, var(--accent-color), color-mix(in srgb, var(--accent-color), black 20%));
  color: var(--contrast-color);
  padding: 12px 16px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 14px;
  text-align: center;
  min-width: 70px;
}

.coupon-body {
  padding: 25px;
  flex: 1;
}

.coupon-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--heading-color);
  margin: 0 0 10px 0;
  line-height: 1.3;
}

.coupon-description {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 15px;
}

.coupon-meta .expiry {
  display: flex;
  align-items: center;
  gap: 8px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  font-size: 14px;
}

.coupon-footer {
  padding: 25px;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 92%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.coupon-code {
  background: color-mix(in srgb, var(--accent-color), transparent 95%);
  border: 2px dashed var(--accent-color);
  border-radius: 8px;
  padding: 10px 15px;
  flex: 1;
  text-align: center;
}

.code-text {
  font-family: 'Courier New', monospace;
  font-weight: 700;
  font-size: 16px;
  color: var(--accent-color);
  letter-spacing: 1px;
}

/* Regular Coupon Cards */
.promotions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 25px;
}

.coupon-card {
  background: var(--surface-color);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 25px color-mix(in srgb, var(--default-color), transparent 92%);
  transition: all 0.3s ease;
  position: relative;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  height: 100%;
}

.coupon-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px color-mix(in srgb, var(--default-color), transparent 85%);
}

.coupon-card.featured-item {
  border: 2px solid var(--accent-color);
}

.featured-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: linear-gradient(135deg, #ffd700, #ffb347);
  color: #333;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  z-index: 2;
  box-shadow: 0 3px 10px rgba(255, 215, 0, 0.3);
}

.coupon-content {
  padding: 25px;
}

.store-section {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.store-section .store-logo {
  width: 50px;
  height: 50px;
}

.store-details .store-name {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 5px 0;
  color: var(--heading-color);
}

.category-tag {
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
  padding: 3px 10px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 500;
}

.deal-section {
  margin-bottom: 20px;
}

.deal-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--heading-color);
  margin: 0 0 10px 0;
  line-height: 1.4;
}

.deal-meta .expiry-date {
  display: flex;
  align-items: center;
  gap: 6px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  font-size: 13px;
}

.action-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding-top: 15px;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 92%);
}

.coupon-code-display {
  flex: 1;
}

.code-label {
  font-size: 12px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  margin-bottom: 3px;
  display: block;
}

.code-value {
  font-family: 'Courier New', monospace;
  font-weight: 700;
  font-size: 14px;
  color: var(--accent-color);
  letter-spacing: 0.5px;
}

/* Copy & Visit Button */
.copy-visit-btn {
  background: linear-gradient(135deg, var(--accent-color), color-mix(in srgb, var(--accent-color), black 10%));
  color: var(--contrast-color);
  border: none;
  padding: 12px 20px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  box-shadow: 0 4px 15px color-mix(in srgb, var(--accent-color), transparent 70%);
}

.copy-visit-btn:hover {
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent-color), black 10%), color-mix(in srgb, var(--accent-color), black 20%));
  transform: translateY(-2px);
  box-shadow: 0 8px 25px color-mix(in srgb, var(--accent-color), transparent 60%);
}

.copy-visit-btn i {
  font-size: 16px;
}

/* Modal Styles */
.modal-content {
  border-radius: 20px;
  border: none;
  box-shadow: 0 20px 60px color-mix(in srgb, var(--default-color), transparent 80%);
}

.modal-header {
  background: linear-gradient(135deg, var(--accent-color), color-mix(in srgb, var(--accent-color), black 10%));
  color: var(--contrast-color);
  border-radius: 20px 20px 0 0;
  padding: 25px;
  border: none;
}

.modal-title {
  font-size: 18px;
  font-weight: 700;
  margin: 0;
}

.modal-store-name {
  font-size: 14px;
  opacity: 0.9;
  margin: 5px 0 0 0;
}

.modal-body {
  padding: 30px;
}

.modal-body h4 {
  color: var(--heading-color);
  font-size: 20px;
  margin-bottom: 20px;
}

.code-section label {
  font-weight: 600;
  color: var(--heading-color);
  margin-bottom: 10px;
  display: block;
}

.code-container {
  display: flex;
  gap: 10px;
  margin-bottom: 25px;
}

.code-container input {
  flex: 1;
  padding: 15px;
  border: 2px solid color-mix(in srgb, var(--accent-color), transparent 80%);
  border-radius: 10px;
  background: color-mix(in srgb, var(--accent-color), transparent 95%);
  font-family: 'Courier New', monospace;
  font-size: 16px;
  font-weight: 700;
  color: var(--accent-color);
  text-align: center;
  letter-spacing: 1px;
}

.instructions {
  background: color-mix(in srgb, var(--surface-color), transparent 50%);
  padding: 20px;
  border-radius: 12px;
  border-left: 4px solid var(--accent-color);
}

.instructions h6 {
  color: var(--heading-color);
  font-weight: 600;
  margin-bottom: 10px;
}

.instructions ol {
  margin: 0;
  padding-left: 20px;
}

.instructions li {
  margin-bottom: 8px;
  color: color-mix(in srgb, var(--default-color), transparent 10%);
}

.modal-footer {
  padding: 25px 30px;
  border: none;
  gap: 15px;
}

.modal-footer .btn {
  padding: 12px 25px;
  border-radius: 10px;
  font-weight: 600;
}

/* No Coupons State */
.no-coupons {
  text-align: center;
  padding: 60px 20px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.no-coupons p {
  font-size: 18px;
  margin: 0;
}

/* Responsive Design */
@media (max-width: 992px) {
  .filter-wrapper {
    flex-direction: column;
    align-items: stretch;
  }
  
  .filter-tabs {
    justify-content: center;
  }
  
  .search-filter {
    max-width: none;
  }
  
  .coupon-header {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
  
  .coupon-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 15px;
  }
  
  .action-section {
    flex-direction: column;
    align-items: stretch;
    gap: 15px;
  }
  
  .copy-visit-btn {
    justify-content: center;
  }
  
  .promotions-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .filter-tabs {
    flex-direction: column;
    gap: 8px;
  }
  
  .filter-btn {
    width: 100%;
    text-align: center;
  }
  
  .coupon-content {
    padding: 20px;
  }
  
  .modal-body {
    padding: 20px;
  }
  
  .modal-header {
    padding: 20px;
  }
  
  .modal-footer {
    padding: 20px;
    flex-direction: column;
  }
  
  .modal-footer .btn {
    width: 100%;
  }
  
  .code-container {
    flex-direction: column;
  }
}

@media (max-width: 576px) {
  .store-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  
  .coupon-title,
  .deal-title {
    font-size: 16px;
  }
  
  .filter-wrapper {
    gap: 15px;
  }
  
  .coupon-header {
    padding: 20px;
  }
  
  .coupon-body {
    padding: 20px;
  }
  
  .coupon-footer {
    padding: 20px;
  }
}

/* Animation Classes */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.6s ease-out forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Pulse animation for featured badges */
.coupon-badge,
.featured-badge {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

/* Loading skeleton (if needed) */
.skeleton {
  background: linear-gradient(90deg, 
    color-mix(in srgb, var(--default-color), transparent 95%) 25%, 
    color-mix(in srgb, var(--default-color), transparent 90%) 50%, 
    color-mix(in srgb, var(--default-color), transparent 95%) 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
}

@keyframes loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* Custom scrollbar for modal */
.modal-body::-webkit-scrollbar {
  width: 6px;
}

.modal-body::-webkit-scrollbar-track {
  background: color-mix(in srgb, var(--default-color), transparent 95%);
  border-radius: 3px;
}

.modal-body::-webkit-scrollbar-thumb {
  background: var(--accent-color);
  border-radius: 3px;
}

.modal-body::-webkit-scrollbar-thumb:hover {
  background: color-mix(in srgb, var(--accent-color), black 20%);
}
