/* Delivery date calendar: horizontal date strip, theme-matched */
.ppg-delivery-calendar-section {
  padding-top: var(--ppg-section-padding, 48px);
  padding-bottom: 24px;
}

.ppg-delivery-calendar {
  width: 100%;
}

.ppg-delivery-calendar__banner {
  margin-bottom: 20px;
}

.ppg-delivery-calendar__heading {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  color: inherit;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.ppg-delivery-calendar__dates-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: flex-start;
}

.ppg-delivery-calendar__month-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.ppg-delivery-calendar__month-label {
  flex: 0 0 100%;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: inherit;
  opacity: 0.9;
  margin-bottom: 4px;
}

.ppg-delivery-calendar__dates {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ppg-delivery-calendar__date,
.ppg-delivery-calendar .ppg-date-card {
  min-width: 56px;
  padding: 12px 16px;
  background: #1A1A1A;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  font-family: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s, transform 0.15s ease;
}

.ppg-delivery-calendar__date:hover,
.ppg-delivery-calendar .ppg-date-card:hover {
  background: #1A1A1A;
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}

.ppg-delivery-calendar__date.ppg-date-card--selected,
.ppg-delivery-calendar .ppg-date-card--selected {
  background: #520975;
  border-color: #520975;
  color: #fff;
  box-shadow: none;
}

.ppg-delivery-calendar .ppg-date-card__day {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: inherit;
  opacity: 0.95;
  line-height: 1.2;
}

.ppg-delivery-calendar .ppg-date-card__num {
  font-size: 1.25rem;
  font-weight: 800;
  margin-top: 6px;
  color: inherit;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

/* Home & Meal Pack: calendar at bottom of banner – max-width, center, background image */
.ppg-delivery-calendar-section--hero {
  padding-top: 56px;
  padding-bottom: 48px;
  position: relative;
  background-image: url('hero-gym-neon.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.ppg-delivery-calendar-section--hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  pointer-events: none;
}

.ppg-delivery-calendar-section--hero .ppg-wrap.ppg-delivery-calendar-section__inner,
.ppg-delivery-calendar-section--hero .ppg-delivery-calendar-section__inner {
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}

.ppg-delivery-calendar-section--hero .ppg-delivery-calendar__banner {
  margin-bottom: 28px;
}

.ppg-delivery-calendar-section--hero .ppg-delivery-calendar__heading {
  font-size: 1.5rem;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.ppg-delivery-calendar-section--hero .ppg-delivery-calendar__month-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 10px;
}

.ppg-delivery-calendar-section--hero .ppg-delivery-calendar__dates {
  gap: 14px;
}

.ppg-delivery-calendar-section--hero .ppg-delivery-calendar__date,
.ppg-delivery-calendar-section--hero .ppg-delivery-calendar .ppg-date-card {
  min-width: 72px;
  padding: 16px 20px;
  background: #1A1A1A;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  color: #fff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.ppg-delivery-calendar-section--hero .ppg-delivery-calendar__date:hover,
.ppg-delivery-calendar-section--hero .ppg-delivery-calendar .ppg-date-card:hover {
  background: #1A1A1A;
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.ppg-delivery-calendar-section--hero .ppg-delivery-calendar__date.ppg-date-card--selected,
.ppg-delivery-calendar-section--hero .ppg-delivery-calendar .ppg-date-card--selected {
  background: #520975;
  border-color: #520975;
  color: #fff;
  box-shadow: none;
}

.ppg-delivery-calendar-section--hero .ppg-date-card__day {
  font-size: 0.8rem;
  font-weight: 700;
  color: inherit;
  opacity: 1;
}

.ppg-delivery-calendar-section--hero .ppg-date-card__num {
  font-size: 1.5rem;
  font-weight: 800;
  margin-top: 8px;
  color: inherit;
}

/* Home: meal-pack-style calendar (light design – same as former meal pack page) */
.ppg-delivery-calendar-section--light .ppg-delivery-calendar__heading {
  color: #333;
}

.ppg-delivery-calendar-section--light .ppg-delivery-calendar__month-label {
  color: #333;
}

.ppg-delivery-calendar-section--light .ppg-delivery-calendar__date,
.ppg-delivery-calendar-section--light .ppg-delivery-calendar .ppg-date-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: #333;
}

.ppg-delivery-calendar-section--light .ppg-delivery-calendar__date:hover,
.ppg-delivery-calendar-section--light .ppg-delivery-calendar .ppg-date-card:hover {
  background: #f0e6ff;
  border-color: rgba(108, 69, 183, 0.3);
  color: #333;
}

.ppg-delivery-calendar-section--light .ppg-delivery-calendar__date.ppg-date-card--selected,
.ppg-delivery-calendar-section--light .ppg-delivery-calendar .ppg-date-card--selected {
  background: #6c45b7;
  border-color: #6c45b7;
  color: #fff;
}

/* Meal pack page: calendar in category detail (View Meal) uses reference dark style via --with-bg; no light overrides for that section */
.ppg-meal-pack-page .ppg-delivery-calendar-section:not(.ppg-meal-pack-category-calendar) .ppg-delivery-calendar__heading {
  color: #333;
}

.ppg-meal-pack-page .ppg-delivery-calendar-section:not(.ppg-meal-pack-category-calendar) .ppg-delivery-calendar__month-label {
  color: #333;
}

.ppg-meal-pack-page .ppg-delivery-calendar-section:not(.ppg-meal-pack-category-calendar) .ppg-delivery-calendar__date,
.ppg-meal-pack-page .ppg-delivery-calendar-section:not(.ppg-meal-pack-category-calendar) .ppg-delivery-calendar .ppg-date-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: #333;
}

.ppg-meal-pack-page .ppg-delivery-calendar-section:not(.ppg-meal-pack-category-calendar) .ppg-delivery-calendar__date:hover,
.ppg-meal-pack-page .ppg-delivery-calendar-section:not(.ppg-meal-pack-category-calendar) .ppg-delivery-calendar .ppg-date-card:hover {
  background: #f0e6ff;
  border-color: rgba(108, 69, 183, 0.3);
  color: #333;
}

.ppg-meal-pack-page .ppg-delivery-calendar-section:not(.ppg-meal-pack-category-calendar) .ppg-delivery-calendar__date.ppg-date-card--selected,
.ppg-meal-pack-page .ppg-delivery-calendar-section:not(.ppg-meal-pack-category-calendar) .ppg-delivery-calendar .ppg-date-card--selected {
  background: #520975;
  border-color: #520975;
  color: #fff;
}

/* Meal Pack View Meal section: match reference design (dark, same as menu date selector) */
.ppg-meal-pack-category-calendar.ppg-delivery-calendar-section--with-bg {
  background: #0D0D0D;
  padding-top: 48px;
  padding-bottom: 32px;
}

.ppg-meal-pack-category-calendar.ppg-delivery-calendar-section--with-bg .ppg-delivery-calendar__heading {
  color: #FFFFFF;
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.1;
  margin-bottom: 8px;
}

.ppg-meal-pack-category-calendar.ppg-delivery-calendar-section--with-bg .ppg-delivery-calendar__month-label {
  color: #D9D9D9;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  line-height: 1.15;
  margin-bottom: 12px;
}

.ppg-meal-pack-category-calendar.ppg-delivery-calendar-section--with-bg .ppg-delivery-calendar__date,
.ppg-meal-pack-category-calendar.ppg-delivery-calendar-section--with-bg .ppg-delivery-calendar .ppg-date-card {
  background: #1A1A1A;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  color: #FFFFFF;
  min-width: 56px;
  padding: 12px 16px;
  box-shadow: none;
}

.ppg-meal-pack-category-calendar.ppg-delivery-calendar-section--with-bg .ppg-delivery-calendar__date:hover,
.ppg-meal-pack-category-calendar.ppg-delivery-calendar-section--with-bg .ppg-delivery-calendar .ppg-date-card:hover {
  background: #1A1A1A;
  border-color: rgba(255, 255, 255, 0.35);
  color: #FFFFFF;
}

.ppg-meal-pack-category-calendar.ppg-delivery-calendar-section--with-bg .ppg-delivery-calendar__date.ppg-date-card--selected,
.ppg-meal-pack-category-calendar.ppg-delivery-calendar-section--with-bg .ppg-delivery-calendar .ppg-date-card--selected {
  background: #520975;
  border-color: #520975;
  color: #FFFFFF;
  box-shadow: none;
}

.ppg-meal-pack-category-calendar.ppg-delivery-calendar-section--with-bg .ppg-date-card__day,
.ppg-meal-pack-category-calendar.ppg-delivery-calendar-section--with-bg .ppg-date-card__num {
  color: #FFFFFF;
}

.ppg-meal-pack-category-calendar.ppg-delivery-calendar-section--with-bg .ppg-delivery-calendar .ppg-date-card--selected .ppg-date-card__day,
.ppg-meal-pack-category-calendar.ppg-delivery-calendar-section--with-bg .ppg-delivery-calendar .ppg-date-card--selected .ppg-date-card__num {
  color: #FFFFFF;
}

/* Home: calendar section – solid background, no gradient */
.ppg-delivery-calendar-section--with-bg {
  position: relative;
  padding-top: 56px;
  padding-bottom: 56px;
  background: #0D0D0D;
  background-image: none;
}

.ppg-delivery-calendar-section--with-bg .ppg-wrap {
  position: relative;
  z-index: 1;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

.ppg-delivery-calendar-section--with-bg .ppg-delivery-calendar__heading {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 800;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  letter-spacing: 0.06em;
}

.ppg-delivery-calendar-section--with-bg .ppg-delivery-calendar__month-label {
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

.ppg-delivery-calendar-section--with-bg .ppg-delivery-calendar__date,
.ppg-delivery-calendar-section--with-bg .ppg-delivery-calendar .ppg-date-card {
  background: #1A1A1A;
  border: 2px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.ppg-delivery-calendar-section--with-bg .ppg-delivery-calendar__date:hover,
.ppg-delivery-calendar-section--with-bg .ppg-delivery-calendar .ppg-date-card:hover {
  background: #1A1A1A;
  border-color: rgba(255, 255, 255, 0.4);
  color: #FFFFFF;
  box-shadow: none;
}

.ppg-delivery-calendar-section--with-bg .ppg-delivery-calendar__date.ppg-date-card--selected,
.ppg-delivery-calendar-section--with-bg .ppg-delivery-calendar .ppg-date-card--selected {
  background: #520975;
  border-color: #520975;
  color: #FFFFFF;
  box-shadow: none;
}

.ppg-delivery-calendar-section--with-bg .ppg-date-card__day,
.ppg-delivery-calendar-section--with-bg .ppg-date-card__num {
  color: #FFFFFF;
}
.ppg-delivery-calendar-section--with-bg .ppg-delivery-calendar .ppg-date-card--selected .ppg-date-card__day,
.ppg-delivery-calendar-section--with-bg .ppg-delivery-calendar .ppg-date-card--selected .ppg-date-card__num {
  color: #FFFFFF;
}

/* Product single: delivery date dropdown – dark theme to match page */
.ppg-product-detail__delivery-date-wrap {
  margin-bottom: 20px;
  width: 100%;
}

.ppg-product-detail__delivery-date-label {
  display: block;
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: inherit;
}

/* Custom dropdown trigger (theme-matched) */
.ppg-delivery-date-dropdown {
  position: relative;
  max-width: 280px;
}

.ppg-delivery-date-trigger {
  width: 100%;
  padding: 12px 40px 12px 16px;
  font-size: 1rem;
  font-family: inherit;
  text-align: left;
  border: 1px solid #6c45b7;
  border-radius: 10px;
  background: #1a1a1a;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ppg-delivery-date-trigger:hover {
  background: #252525;
  border-color: #7c55c7;
}

.ppg-delivery-date-trigger:focus {
  outline: 2px solid #6c45b7;
  outline-offset: 2px;
}

.ppg-delivery-date-trigger__chevron {
  position: absolute;
  right: 14px;
  font-size: 0.65rem;
  opacity: 0.9;
}

/* Dropdown options list – dark theme */
.ppg-delivery-date-options {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: 4px;
  padding: 6px 0;
  background: #1a1a1a;
  border: 1px solid #6c45b7;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  z-index: 100;
  max-height: 280px;
  overflow-y: auto;
}

.ppg-delivery-date-option {
  display: block;
  width: 100%;
  padding: 10px 16px;
  font-size: 0.9375rem;
  font-family: inherit;
  text-align: left;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.ppg-delivery-date-option:hover {
  background: rgba(108, 69, 183, 0.25);
  color: #fff;
}

.ppg-delivery-date-option.ppg-delivery-date-option--selected {
  background: #6c45b7;
  color: #fff;
}

/* Cart: expired delivery date notice */
.ppg-cart-item-expired-date {
  margin-top: 8px;
  padding: 10px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.ppg-cart-item-expired-msg {
  margin: 0 0 8px;
  font-size: 0.875rem;
  color: #e57373;
}

.ppg-cart-update-date-form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.ppg-cart-update-date-form select {
  padding: 6px 10px;
  font-size: 0.875rem;
  min-width: 160px;
}
.ppg-delivery-calendar-section--with-bg .ppg-wrap {
  position: relative;
  z-index: 1;
  max-width: 960px;
  background: #0D0D0D;
  margin-left: auto;
  padding: 39px;
  margin-right: auto;
  border-radius: 14px;
}
.ppg-cart-item--delivery-expired td {
  background: #1A1A1A;
}