/* =============================================
   Seasonal Availability Chart — Siddhi Global
   Modern Premium Design
   ============================================= */

.sgn-seasonal-section {
  padding: 80px 0 60px;
  background: linear-gradient(135deg, #f0fdf4 0%, #f8fafc 50%, #f0f9ff 100%);
  position: relative;
}

.sgn-seasonal-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #a5d6a7, transparent);
}

.sgn-seasonal-section .container {
  max-width: 1140px;
}

/* ---- Section Header ---- */
.sgn-seasonal-header {
  text-align: center;
  margin-bottom: 45px;
}

.sgn-seasonal-header h2 {
  font-family: "Poppins", sans-serif;
  font-size: 30px;
  font-weight: 700;
  background: linear-gradient(135deg, #1b5e20, #2e7d32, #43a047);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
  letter-spacing: 0.3px;
}

.sgn-seasonal-header p {
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  color: #78909c;
  margin: 0;
  letter-spacing: 0.4px;
}

/* ---- Table Wrapper ---- */
.sgn-seasonal-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 16px;
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.05),
    0 10px 30px -5px rgba(46, 125, 50, 0.1),
    0 0 0 1px rgba(46, 125, 50, 0.06);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* ---- Table ---- */
.sgn-seasonal-table {
  width: 100%;
  min-width: 820px;
  border-collapse: separate;
  border-spacing: 0;
  font-family: "Poppins", sans-serif;
  font-size: 13.5px;
}

/* Header */
.sgn-seasonal-table thead th {
  background: linear-gradient(135deg, #1b5e20 0%, #2e7d32 50%, #388e3c 100%);
  color: #fff;
  font-weight: 500;
  font-size: 12.5px;
  text-align: center;
  padding: 15px 10px;
  position: sticky;
  top: 0;
  z-index: 2;
  white-space: nowrap;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  border: none;
}

.sgn-seasonal-table thead th:first-child {
  text-align: left;
  padding-left: 24px;
  border-radius: 16px 0 0 0;
}

.sgn-seasonal-table thead th:nth-child(2) {
  text-align: left;
}

.sgn-seasonal-table thead th:last-child {
  border-radius: 0 16px 0 0;
}

/* Body rows */
.sgn-seasonal-table tbody tr {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.sgn-seasonal-table tbody tr:nth-child(odd) {
  background: rgba(255, 255, 255, 0.6);
}

.sgn-seasonal-table tbody tr:nth-child(even) {
  background: rgba(245, 250, 245, 0.5);
}

.sgn-seasonal-table tbody tr:hover {
  background: rgba(200, 230, 201, 0.4);
  transform: scale(1.005);
  box-shadow: 0 2px 12px rgba(46, 125, 50, 0.08);
}

.sgn-seasonal-table tbody tr:last-child td:first-child {
  border-radius: 0 0 0 16px;
}

.sgn-seasonal-table tbody tr:last-child td:last-child {
  border-radius: 0 0 16px 0;
}

/* Cells */
.sgn-seasonal-table tbody td {
  padding: 14px 10px;
  text-align: center;
  color: #555;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  vertical-align: middle;
  transition: background 0.2s ease;
}

.sgn-seasonal-table tbody td:first-child {
  text-align: left;
  padding-left: 24px;
  font-weight: 600;
  color: #2e3a2f;
  white-space: nowrap;
  font-size: 13.5px;
}

.sgn-seasonal-table tbody td:nth-child(2) {
  text-align: left;
  color: #78909c;
  font-size: 12px;
  font-weight: 400;
}

.sgn-seasonal-table tbody tr:last-child td {
  border-bottom: none;
}

/* Availability indicators */
.sgn-avail {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  vertical-align: middle;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1),
              filter 0.25s ease;
  cursor: default;
  border-radius: 4px;
}

.sgn-avail:hover {
  transform: scale(1.4);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
}

.sgn-avail svg {
  width: 20px;
  height: 20px;
  display: block;
}

.sgn-unavail {
  color: #ddd;
  font-size: 16px;
  line-height: 1;
  font-weight: 300;
}

/* ---- Legend ---- */
.sgn-seasonal-legend {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  margin-top: 18px;
  padding-right: 8px;
  font-family: "Poppins", sans-serif;
  font-size: 12px;
  color: #78909c;
}

.sgn-seasonal-legend span {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ---- Responsive ---- */
@media (max-width: 767px) {
  .sgn-seasonal-section {
    padding: 40px 15px 25px;
  }

  .sgn-seasonal-header h2 {
    font-size: 22px;
  }

  .sgn-seasonal-table {
    font-size: 12.5px;
  }

  .sgn-seasonal-table thead th {
    padding: 12px 8px;
    font-size: 10.5px;
  }

  .sgn-seasonal-table tbody td {
    padding: 10px 8px;
  }

  .sgn-avail {
    width: 18px;
    height: 18px;
  }

  .sgn-avail svg {
    width: 16px;
    height: 16px;
  }
}
