/* Offers Page Styles */
.offers-page {
  scroll-margin-top: 100px;
  padding-top: 40px;
  padding-bottom: 60px;
}

.offers-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 2rem auto;
}

.offers-header h1 {
  font-size: var(--font-header-lg, 2.5rem);
  color: var(--deep-green);
  margin-bottom: 1rem;
}

.offers-header p {
  font-size: var(--font-body-lg, 1.125rem);
  color: var(--dark-gray);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Filter Buttons */
.offers-filter {
  display: flex;
  justify-content: safe center;
  gap: 2rem; 
  margin: 1.5rem 0 2rem;
  flex-wrap: nowrap;
  padding: 0.2rem 2rem; 
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  position: relative;
  scrollbar-color: var(--soft-gold) rgba(0, 0, 0, 0.05);
}

.offers-filter::-webkit-scrollbar {
  display: none;
}

.filter-btn {
  padding: 1rem 2rem; 
  border: 2px solid var(--soft-gold);
  border-radius: 50px;
  background: transparent; 
  cursor: pointer;
  font-weight: var(--font-medium);
  font-size: var(--font-body-lg);
  color: var(--deep-green);
  transition: var(--transition);
  white-space: nowrap;
  flex-shrink: 0;
  text-decoration: none;
  display: inline-block;
  min-width: fit-content;
  line-height: 1.5;
  text-transform: none !important;
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--soft-gold);
  color: var(--white);
  transform: translateY(2px);
}
/* Offers Grid */
.offers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* For exactly 3 cards layout when space allows */
@media (min-width: 900px) {
  .offers-grid {
    grid-template-columns: repeat(3, 1fr);
    max-width: 1000px;
  }
}

/* Offer Card */
.offer-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
  border: none;
  position: relative;
}

.offer-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Offer Image */
.offer-image {
  position: relative;
  height: 200px;
  overflow: hidden;
  width: 100%;
  flex-shrink: 0;
}

.offer-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

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

/* Chef Badge for Chef's Special Cards */
.chef-badge,
.offer-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: rgba(255, 255, 255, 0.95);
  color: var(--deep-green);
  padding: 0.35rem 0.85rem;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.7rem;
  font-weight: var(--font-semibold);
  text-transform: none;
  letter-spacing: normal;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 10;
}

.chef-badge i,
.offer-badge i {
  width: 14px;
  height: 14px;
  color: var(--soft-gold);
  flex-shrink: 0;
}

/* Offer Content */
.offer-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  text-align: center;
  background: var(--white);
  position: relative;
  z-index: 1;
}

.offer-content h3 {
  font-size: 1.1rem;
  color: var(--deep-green);
  margin-bottom: 0.5rem;
  line-height: 1.3;
  font-weight: var(--font-semibold, 600);
  letter-spacing: -0.01em;
}

.offer-content .price {
  font-weight: var(--font-semibold, 600);
  font-size: 0.95rem;
  color: var(--deep-green);
  margin-bottom: 0.75rem;
  display: block;
}

.offer-content .period {
  font-size: 0.875rem;
  color: var(--deep-green);
  font-weight: var(--font-medium);
}

.offer-content .description {
  color: var(--light-gray);
  line-height: 1.4;
  margin-bottom: 1.25rem;
  flex-grow: 1;
  font-size: 0.85rem;
}

/* Offer Actions */
.offer-actions {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-top: 0.75rem;
  border-top: 1px solid var(--off-white);
}

/* Offer Button */
.offer-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--soft-gold);
  color: var(--white);
  border-radius: 50px;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: var(--font-semibold, 600);
  text-transform: none;
  transition: var(--transition);
  margin: 0 auto;
  letter-spacing: normal;
  min-width: auto;
  width: 100%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.offer-btn:hover {
  background: var(--deep-green);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.offer-btn.reserve-btn {
  background: var(--deep-green);
}

.offer-btn.reserve-btn:hover {
  background: var(--soft-gold);
}

.offer-btn i {
  width: 16px;
  height: 16px;
}

/* No Offers State */
.no-offers {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem;
  background: var(--light-gray, --soft-white);
  border-radius: 15px;
}

.no-offers h3 {
  color: var(--soft-gold);
  margin-bottom: 0.5rem;
}

.no-offers p {
  color: var(--dark-gray);
}

/* Archive Hero Section - For Offer Archive */
.archive-hero {
  position: relative;
  width: 100%;
  height: 70vh;
  min-height: 450px;
  max-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 40px;
  margin-top: 80px;
}

.archive-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.archive-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.archive-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.4) 0%,
    rgba(0, 0, 0, 0.5) 50%,
    rgba(0, 0, 0, 0.6) 100%
  );
  z-index: 2;
}

.archive-hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: var(--white);
  max-width: 900px;
  padding: 0 2rem;
}

/* Archive Badge */
.archive-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.875rem;
  font-weight: var(--font-medium);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.archive-badge i {
  width: 18px;
  height: 18px;
}

/* Archive Title */
.archive-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: var(--font-bold);
  line-height: 1.2;
  margin-bottom: 1.25rem;
  color: var(--white);
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

/* Archive Subtitle */
.archive-subtitle {
  font-size: clamp(1rem, 2vw, 1.125rem);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.95);
  max-width: 750px;
  margin: 0 auto 2.5rem;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.2);
}

/* Archive Stats */
.archive-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  flex: 0 1 auto;
}

.stat-number {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: var(--font-bold);
  color: var(--white);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  white-space: nowrap;
}

.stat-label {
  font-size: clamp(0.65rem, 1.5vw, 0.875rem);
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
  letter-spacing: 0.2px;
  font-weight: var(--font-medium);
  text-align: center;
  line-height: 1.3;
}

.stat-divider {
  width: 1px;
  height: 35px;
  background: rgba(255, 255, 255, 0.3);
  flex-shrink: 0;
}

/* Responsive */
@media (max-width: 1080px) {
  .offers-filter {
    gap: 1rem;
    padding: 0 1rem;
    padding-bottom: 1rem;
    justify-content: flex-start;}
}
/* 760px Breakpoint (Tablet Portrait) */
@media (max-width: 760px) {
  /* Page Layout */
  .offers-page {
    padding-top: 30px;
    padding-bottom: 50px;
  }

  /* Header */
  .offers-header {
    margin-bottom: 1.5rem;
  }

  .offers-header h1 {
    font-size: 2rem;
  }

  .offers-header p {
    font-size: 1rem;
  }

  /* Filter Buttons */
  .offers-filter {
    gap: 1rem;
    padding: 0 1rem;
    padding-bottom: 1rem;
    scrollbar-width: thin;
    scrollbar-color: var(--soft-gold) var(--light-gray);
    -webkit-overflow-scrolling: touch;
  }

  .offers-filter::-webkit-scrollbar {
    display: block;
    height: 8px;
  }

  .offers-filter::-webkit-scrollbar-track {
    background: var(--light-gray);
    border-radius: 4px;
  }

  .offers-filter::-webkit-scrollbar-thumb {
    background: var(--soft-gold);
    border-radius: 4px;
  }

  .offers-filter::-webkit-scrollbar-thumb:hover {
    background: var(--deep-green);
  }

  .filter-btn {
    padding: 0.8rem 1.5rem;
    font-size: var(--font-body-md, 1rem);
  }

  /* Offers Grid */
  .offers-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    padding: 0 1rem;
  }

  /* Card Content */
  .offer-card {
    border-radius: 15px;
  }

  .offer-image {
    height: 180px;
  }

  .offer-content {
    padding: 1.25rem;
  }

  .offer-content h3 {
   font-size: 1.05rem;
   min-height: 2.4em;
  }

  .offer-content .price {
    font-size: 0.95rem;
    padding: 0.4rem;
  }

  .offer-content .description {
    font-size: 0.85rem;
    min-height: 4.5em;
  }

  .offer-btn {
    padding: 0.7rem 1.4rem;
    font-size: 0.8rem;
  }

  .chef-badge,
  .offer-badge {
    padding: 0.3rem 0.75rem;
    font-size: 0.65rem;
    top: 0.65rem;
    right: 0.65rem;
    gap: 0.3rem;
  }

  .chef-badge i,
  .offer-badge i {
    width: 12px;
    height: 12px;
  }

  /* Archive Hero */
  .archive-hero {
    height: 60vh;
    min-height: 380px;
    margin-top: 70px;
    margin-bottom: 35px;
  }

  .archive-hero-content {
    padding: 0 1.5rem;
  }

  .archive-badge {
    font-size: 0.8rem;
    padding: 0.45rem 1.1rem;
  }

  .archive-title {
    margin-bottom: 1rem;
  }

  .archive-subtitle {
    font-size: 0.95rem;
    margin-bottom: 2rem;
  }

  .archive-stats {
    gap: 1.5rem;
    margin-top: 1.75rem;
  }

  .stat-number {
    font-size: 1.85rem;
  }

  .stat-label {
    font-size: 0.75rem;
  }

  .stat-divider {
    height: 35px;
  }

  /* No Offers */
  .no-offers {
    padding: 2.5rem 1.5rem;
  }

  .no-offers h3 {
    font-size: 1.3rem;
  }

  .no-offers p {
    font-size: 0.95rem;
  }
}

/* 480px Breakpoint (Mobile) */
@media (max-width: 480px) {
  /* Page Layout */
  .offers-page {
    padding-top: 25px;
    padding-bottom: 40px;
  }

  /* Header */
  .offers-header {
    margin-bottom: 1.25rem;
    padding: 0 0.5rem;
  }

  .offers-header h1 {
    font-size: 1.65rem;
    margin-bottom: 0.75rem;
  }

  .offers-header p {
    font-size: 0.875rem;
    line-height: 1.5;
  }

  /* Filter Buttons */
  .offers-filter {
    gap: 0.75rem;
    margin: 1rem 0 1.25rem;
    padding: 0 0.75rem;
    padding-bottom: 0.85rem;
  }

  .filter-btn {
    padding: 0.7rem 1.2rem;
    font-size: 0.85rem;
  }

  /* Offers Grid */
  .offers-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 0 0.85rem;
  }

  /* Card Content */
  .offer-card {
    border-radius: 12px;
  }

  .offer-image {
    height: 160px;
  }

  .offer-content {
    padding: 1rem;
  }

  .offer-content h3 {
    font-size: 0.95rem;
    margin-bottom: 0.65rem;
    line-height: 1.35;
    min-height: 2.3em;
  }

  .offer-content .price {
    font-size: 0.9rem;
    margin-bottom: 0.65rem;
    padding: 0.35rem;
  }

  .offer-content .description {
    font-size: 0.8rem;
    margin-bottom: 0.85rem;
    line-height: 1.5;
    min-height: 4.2em;
  }

  .offer-btn {
    padding: 0.65rem 1.25rem;
    font-size: 0.75rem;
     min-width: auto;
  }

  .chef-badge,
  .offer-badge {
    top: 0.5rem;
    right: 0.5rem;
    padding: 0.25rem 0.65rem;
    font-size: 0.6rem;
    gap: 0.25rem;
  }

  .chef-badge i,
  .offer-badge i {
    width: 11px;
    height: 11px;
  }

  .offer-actions {
    padding-top: 0.65rem;
  }

  /* Archive Hero */
  .archive-hero {
    height: 45vh;
    min-height: 320px;
    margin-top: 60px;
    margin-bottom: 25px;
  }

  .archive-hero-content {
    padding: 0 1rem;
  }

  .archive-badge {
    font-size: 0.7rem;
    padding: 0.35rem 0.85rem;
    gap: 0.35rem;
    margin-bottom: 1rem;
  }

  .archive-badge i {
    width: 14px;
    height: 14px;
  }

  .archive-title {
    font-size: 1.65rem;
    margin-bottom: 0.75rem;
    line-height: 1.25;
  }

  .archive-subtitle {
    font-size: 0.85rem;
    line-height: 1.55;
    margin-bottom: 1.5rem;
  }

  .archive-stats {
    gap: 0.85rem;
    margin-top: 1.25rem;
  }

  .stat-item {
    gap: 0.3rem;
    min-width: 70px;
  }

  .stat-number {
    font-size: 1.45rem;
  }

  .stat-label {
    font-size: 0.65rem;
    letter-spacing: 0.15px;
    line-height: 1.25;
  }

  .stat-divider {
    height: 28px;
  }

  /* No Offers */
  .no-offers {
    padding: 2.5rem 1rem;
    border-radius: 10px;
  }

  .no-offers h3 {
    font-size: 1.15rem;
    margin-bottom: 0.65rem;
  }

  .no-offers p {
    font-size: 0.85rem;
    line-height: 1.5;
  }
}