body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  margin: 0;
  text-align: center;
  padding: 0 24px 60px 24px;
  background: linear-gradient(180deg, #eef6ff 0%, #dbeeff 45%, #f6f9fc 100%);
  color: #17324d;
}

#page-title {
  margin-top: 64px;
  margin-bottom: 10px;
  font-size: 38px;
  font-weight: 600;
  letter-spacing: 0.3px;
  color: #17324d;
}

#page-subtitle {
  color: #5a6d80;
  margin-bottom: 44px;
  font-size: 16px;
}

.language-switch {
  position: absolute;
  top: 20px;
  right: 20px;
}

.language-switch button {
  margin-left: 6px;
  padding: 2px;
  cursor: pointer;
  border: none;
  background: transparent;
}

.language-switch button:hover {
  opacity: 0.85;
}

.flag {
  width: 30px;
  height: auto;
  display: block;
  border-radius: 3px;
}

.products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(245px, 308px));
  gap: 28px;
  justify-content: center;
  max-width: 1550px;
  margin: 0 auto;
}

.card {
  background: rgba(255, 255, 255, 0.97);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(17, 52, 86, 0.12);
  overflow: hidden;
  text-align: center;
  padding-bottom: 22px;
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(2px);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 30px rgba(17, 52, 86, 0.18);
}

.card img {
  width: 100%;
  height: 245px;
  object-fit: cover;
  display: block;
}

.card h3 {
  margin: 20px 16px 10px 16px;
  font-size: 22px;
  font-weight: 600;
  color: #17324d;
  line-height: 1.25;
}

.card p {
  margin: 0 16px 18px 16px;
  color: #5a6d80;
  font-size: 14px;
  line-height: 1.5;
  min-height: 64px;
}

.card button {
  background: #17324d;
  color: white;
  border: none;
  padding: 11px 20px;
  cursor: pointer;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 4px 12px rgba(23, 50, 77, 0.16);
}

.card button:hover {
  background: #244c74;
}

.price-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(23, 50, 77, 0.92);
  color: white;
  font-size: 12px;
  padding: 7px 11px;
  border-radius: 20px;
  z-index: 2;
  font-weight: 600;
  letter-spacing: 0.2px;
}

.footer-logo {
  text-align: center;
  margin-top: 56px;
  margin-bottom: 18px;
}

.footer-logo img {
  width: 150px;
  opacity: 0.96;
}

.popup {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow-y: auto;
  background: rgba(10, 24, 38, 0.62);
}

.popup-content {
  background: white;
  margin: 7% auto;
  padding: 32px;
  width: 340px;
  border-radius: 14px;
  text-align: center;
  position: relative;
  box-shadow: 0 18px 38px rgba(0, 41, 89, 0.22);
}

.detail-popup-content {
  width: 90%;
  max-width: 760px;
}

.detail-image {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 22px;
}

.detail-popup-content h2 {
  font-size: 30px;
  margin-top: 0;
  margin-bottom: 18px;
  color: #17324d;
}

.detail-description {
  text-align: left;
  line-height: 1.7;
  color: #33485d;
  white-space: pre-line;
  margin-bottom: 22px;
  font-size: 15px;
}

.detail-description a {
  color: #17324d;
  font-weight: 600;
  text-decoration: underline;
}

.popup-content input,
.popup-content select {
  width: 100%;
  margin: 10px 0;
  padding: 11px;
  box-sizing: border-box;
  border: 1px solid #c9d7e6;
  border-radius: 8px;
  font-size: 14px;
}

.popup-content button {
  background: #17324d;
  color: white;
  border: none;
  padding: 11px 20px;
  cursor: pointer;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  margin-top: 10px;
}

.popup-content button:hover {
  background: #244c74;
}

.close {
  position: absolute;
  right: 14px;
  top: 8px;
  font-size: 26px;
  cursor: pointer;
  color: #17324d;
}

.date-only-wrap {
  display: flex;
  justify-content: center;
  margin: 10px 0;
}

.date-only {
  width: 42px !important;
  min-width: 42px;
  max-width: 42px;
  height: 42px;
  padding: 0 !important;
  border: 1px solid #c9d7e6;
  border-radius: 8px;
  background: white;
  color: transparent;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.date-only::-webkit-datetime-edit {
  display: none;
}

.date-only::-webkit-calendar-picker-indicator {
  opacity: 1;
  display: block;
  width: 24px;
  height: 24px;
  cursor: pointer;
  margin: auto;
}

.date-only::-webkit-inner-spin-button,
.date-only::-webkit-clear-button {
  display: none;
}

.success-message {
  display: none;
  margin-top: 12px;
  color: #1b6e2a;
  font-size: 14px;
  font-weight: 600;
}