* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #ddeaf5;
  color: #1a2a38;
}

.site-header {
  background: #ffffff;
  padding: 24px 36px;
  border-bottom: 1px solid #c8dff0;
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-header h1 {
  margin: 0;
  color: #2c5f82;
}

.site-header p {
  margin: 8px 0 0;
  color: #3d5a72;
}

main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 24px;
}

.section-title {
  margin-top: 0;
  font-size: 28px;
}

.categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 44px;
}

.category-card {
  background: #ffffff;
  border: 1px solid #c8dff0;
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 4px 18px rgba(44, 95, 130, 0.08);
}

.category-card h3 {
  margin: 0 0 8px;
  color: #1a2a38;
}

.category-card p {
  margin: 0;
  color: #3d5a72;
  font-size: 14px;
  line-height: 1.5;
}

.products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.product-card {
  position: relative;
  background: #ffffff;
  border: 1px solid #c8dff0;
  border-top: 5px solid #a0c4de;
  border-radius: 14px;
  padding: 22px;
  box-shadow: 0 4px 18px rgba(44, 95, 130, 0.08);
}

.product-card h3 {
  margin: 0 0 8px;
  color: #1a2a38;
}

.category-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #e05c3a;
  font-weight: bold;
  margin-bottom: 10px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 12px 0;
}

.chip {
  background: #eaf3fa;
  color: #3d5a72;
  border-radius: 6px;
  padding: 3px 8px;
  font-size: 12px;
}

.badge {
  background: #e05c3a;
  color: #ffffff;
  border-radius: 999px;
  padding: 4px 9px;
  font-size: 11px;
  font-weight: bold;
  white-space: nowrap;
}

.price {
  font-size: 28px;
  font-weight: bold;
  color: #2c5f82;
  margin-top: 16px;
}

.save {
  color: #2d9e4f;
  font-weight: bold;
  font-size: 14px;
  margin-top: 2px;
}

.button,
.cart-button,
.checkout-button {
  border: 0;
  cursor: pointer;
  background: #2c5f82;
  color: white;
  padding: 10px 16px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
}

.button {
  margin-top: 16px;
  display: inline-block;
}

.cart-button span {
  background: #e05c3a;
  color: white;
  border-radius: 999px;
  padding: 2px 7px;
  margin-left: 6px;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: -390px;
  width: 360px;
  max-width: 100%;
  height: 100vh;
  background: #ffffff;
  box-shadow: -8px 0 30px rgba(0, 0, 0, 0.18);
  transition: right 0.25s ease;
  z-index: 9999;
  display: flex;
  flex-direction: column;
}

.cart-drawer.open {
  right: 0;
}

.cart-header,
.cart-footer {
  padding: 18px;
  border-bottom: 1px solid #c8dff0;
}

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-header h2 {
  margin: 0;
}

.cart-header button {
  background: transparent;
  border: 0;
  font-size: 28px;
  cursor: pointer;
}

.cart-items {
  flex: 1;
  overflow: auto;
  padding: 18px;
}

.cart-item {
  border-bottom: 1px solid #eaf3fa;
  padding: 12px 0;
}

.cart-item-title {
  font-weight: bold;
}

.cart-item-price {
  color: #2c5f82;
  font-weight: bold;
  margin-top: 4px;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  margin-bottom: 14px;
}

.checkout-button {
  width: 100%;
}

@media (max-width: 700px) {
  .site-header-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 24px;
  align-items: start;
}

.checkout-form-card,
.order-summary-card {
  background: #ffffff;
  border: 1px solid #c8dff0;
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 4px 18px rgba(44, 95, 130, 0.08);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-grid label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: #3d5a72;
  font-weight: bold;
  font-size: 14px;
}

.form-grid input,
.form-grid select {
  border: 1px solid #c8dff0;
  border-radius: 8px;
  padding: 10px;
  font-size: 15px;
}

.consent-box {
  margin: 22px 0;
  background: #eaf3fa;
  border: 1px solid #c8dff0;
  border-radius: 10px;
  padding: 16px;
  color: #3d5a72;
  line-height: 1.5;
}

.summary-item,
.summary-total {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid #eaf3fa;
}

.summary-total {
  border-bottom: 0;
  border-top: 2px solid #1a2a38;
  margin-top: 12px;
  font-size: 18px;
}

.summary-note {
  background: #ddeaf5;
  border-radius: 8px;
  padding: 12px;
  color: #3d5a72;
  font-size: 14px;
  line-height: 1.5;
}

@media (max-width: 800px) {
  .checkout-layout {
    grid-template-columns: 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }
}
.admin-table-wrap {
  background: #ffffff;
  border: 1px solid #c8dff0;
  border-radius: 14px;
  overflow-x: auto;
  box-shadow: 0 4px 18px rgba(44, 95, 130, 0.08);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 900px;
}

.admin-table th,
.admin-table td {
  padding: 12px 14px;
  border-bottom: 1px solid #eaf3fa;
  text-align: left;
  font-size: 14px;
}

.admin-table th {
  background: #eaf3fa;
  color: #1a2a38;
  font-weight: bold;
}

.admin-table td {
  color: #3d5a72;
}

.admin-table a {
  color: #2c5f82;
  font-weight: bold;
  text-decoration: none;
}