@charset "UTF-8";

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 22px 20px 70px;
}

.hero {
  position: relative;
  height: 420px;
  border-radius: 26px;
  overflow: hidden;
  background: url('https://images.unsplash.com/photo-1507525428034-b723cf961d3e?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
  box-shadow: 0 20px 45px rgba(0, 49, 112, .22);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 30, 67, .72), rgba(0, 84, 162, .22), rgba(0,0,0,.08));
}
.hero-content {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 62px;
  color: #fff;
  max-width: 650px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.25);
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 16px;
}
.hero h1 {
  margin: 0;
  font-size: 44px;
  line-height: 1.18;
  letter-spacing: -1.4px;
}
.hero p {
  margin: 14px 0 26px;
  font-size: 18px;
  opacity: .92;
  line-height: 1.6;
}
.hero-btns {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.section { margin-top: 34px; }
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 16px;
}
.section-title {
  margin: 0;
  font-size: 25px;
  font-weight: 950;
  letter-spacing: -0.8px;
}
.more {
  font-size: 14px;
  font-weight: 800;
  color: #0f57c8;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.product-card {
  position: relative;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(15, 43, 87, .08);
  transition: transform .2s ease, box-shadow .2s ease;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(15, 43, 87, .14);
}
.product-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #e8eef6;
  display: block;
}
.product-body { padding: 14px 15px 16px; }
.product-name {
  font-size: 16px;
  font-weight: 900;
  margin-bottom: 7px;
  letter-spacing: -0.4px;
}
.product-date {
  font-size: 13px;
  color: #7d8898;
  font-weight: 700;
}
.soldout {
  position: absolute;
  right: 12px;
  top: 12px;
  padding: 7px 10px;
  border-radius: 999px;
  background: #ef3333;
  color: #fff;
  font-size: 12px;
  font-weight: 950;
}

.content-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 22px;
}
.panel {
  background: #fff;
  border-radius: 20px;
  padding: 22px;
  box-shadow: 0 10px 28px rgba(15, 43, 87, .08);
  min-height: 420px;
}
.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.panel h3 {
  margin: 0;
  font-size: 22px;
  font-weight: 950;
  letter-spacing: -0.6px;
}

.reserve-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 8px;
}
.reserve-table th {
  background: #176be3;
  color: #fff;
  padding: 13px 10px;
  font-size: 14px;
}
.reserve-table th:first-child { border-radius: 12px 0 0 12px; }
.reserve-table th:last-child { border-radius: 0 12px 12px 0; }
.reserve-table td {
  background: #f7faff;
  padding: 13px 10px;
  text-align: center;
  font-size: 14px;
  border-top: 1px solid #e5edf8;
  border-bottom: 1px solid #e5edf8;
}
.reserve-table td:first-child {
  border-left: 1px solid #e5edf8;
  border-radius: 12px 0 0 12px;
  font-weight: 800;
}
.reserve-table td:last-child {
  border-right: 1px solid #e5edf8;
  border-radius: 0 12px 12px 0;
}
.state {
  display: inline-flex;
  justify-content: center;
  min-width: 78px;
  padding: 7px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 950;
}
.state-ok { background: #e4f8ec; color: #138146; }
.state-warn { background: #fff1dc; color: #d06a00; }
.state-end { background: #ffe5e8; color: #d9233f; }

.catch-empty {
  height: 320px;
  border-radius: 16px;
  background: linear-gradient(135deg, #eef6ff, #ffffff);
  border: 1px dashed #c9d8ec;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #7e8da3;
  font-weight: 800;
}

@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .content-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 36px; }
}

@media (max-width: 720px) {
  .container { padding: 14px 14px 50px; }
  .hero { height: 340px; border-radius: 20px; }
  .hero-content { padding: 0 24px; }
  .hero h1 { font-size: 30px; }
  .hero p { font-size: 15px; }
  .product-grid { grid-template-columns: 1fr; }
  .section-title { font-size: 22px; }
  .panel { padding: 16px; }
  .reserve-table thead { display: none; }
  .reserve-table, .reserve-table tbody, .reserve-table tr, .reserve-table td { display: block; width: 100%; }
  .reserve-table { border-spacing: 0; }
  .reserve-table tr {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    background: #f7faff;
    border: 1px solid #e5edf8;
    border-radius: 14px;
    margin-bottom: 10px;
    padding: 12px 14px;
  }
  .reserve-table td {
    border: 0 !important;
    border-radius: 0 !important;
    padding: 2px 0;
    background: transparent;
    text-align: left;
  }
  .reserve-table td:nth-child(2) { font-size: 13px; color: #7d8898; }
  .reserve-table td:nth-child(3) { grid-row: 1 / span 2; grid-column: 2; }
}
