* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background: #fef5f0;
    color: #2d2d2d;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    width: 1100px;
    max-width: 95%;
    margin: 0 auto;
}

.site-header {
    background-color: #e85d75;
    color: white;
    padding: 18px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}
.logo {
  font-size: 28px;
}

.nav {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

.nav a:hover {
  text-decoration: underline;
}

.main-content {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
}

.home-box {
  background-color: white;
  padding: 45px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(232, 93, 117, 0.15);
}

.home-box h2 {
  margin-bottom: 15px;
}

.home-box p {
  margin-bottom: 10px;
}

.features {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin: 25px 0;
  flex-wrap: wrap;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.feature-icon {
  font-size: 40px;
}

.feature-item p {
  font-size: 14px;
  font-weight: bold;
  color: #e85d75;
}

.home-buttons {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.btn-link {
  display: inline-block;
  background-color: #e85d75;
  color: white;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 8px;
  transition: 0.3s;
}

.btn-link:hover {
  background-color: #d14560;
}

.form-box {
  width: 420px;
  max-width: 100%;
  background-color: white;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  border-top: 5px solid #e85d75;
}

.form-box h2 {
  text-align: center;
  margin-bottom: 25px;
}

.input-group {
  margin-bottom: 18px;
}

.input-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: bold;
  font-size: 14px;
}

.input-group input {
  width: 100%;
  padding: 12px;
  border: 1px solid #cfcfcf;
  border-radius: 10px;
  font-size: 14px;
  outline: none;
  transition: 0.3s;
}

.input-group input:focus {
border-color: #e85d75;
box-shadow: 0 0 8px rgba(232, 93, 117, 0.2);
}

.btn {
width: 100%;
padding: 12px;
background-color: #e85d75;
color: white;
border: none;
border-radius: 8px;
font-size: 16px;
cursor: pointer;
transition: 0.3s;
}

.btn:hover {
background-color: #d14560;
}

.error-message{
color: red;
font-size: 14px;
margin-bottom: 15px;
min-height: 18px;
text-align: center;
}

.site-footer {
background-color: #3a3a3a;
color: white;
text-align: center;
padding: 20px 0;
}

.footer-column {
margin-top: 15px;
}

.footer-column h3 {
color: #ffb6c1;
margin-bottom: 8px;
}

@media (max-width 768px) {
.header-container {
flex-direction: column;
}

.logo {
font-size: 24px;
}

.form-box {
padding: 20px;
}

.home-box {
padding: 25px;
}
}

.catalog-box{
display: flex;
flex-wrap: wrap;
gap: 20px;
padding: 15px;
justify-content: center;
}

.card{
display: block;
border: 3px solid #ffb6c1;
background: white;
width: 320px;
border-radius: 15px;
overflow: hidden;
box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.card-img {
width: 100%;
height: 220px;
border-bottom: 3px solid #ffb6c1;
}

.card-img img{
width: 100%;
height: 100%;
object-fit: cover;
display: block;
}

.card-info {
width: 100%;
padding: 15px;
display: flex;
flex-direction: column;
gap: 8px;
}

.card-info h3 {
font-size: 18px;
color: #e85d75;
margin-bottom: 5px;
}

.card-info p {
font-size: 14px;
line-height: 1.4;
}

.card-info button {
color: white;
background:#e85d75;
border: none;
padding: 12px;
font-size: 14px;
cursor: pointer;
border-radius: 8px;
margin-top: 8px;
}

.card-info button:hover {
background:#d14560;
transform: scale(1.02);
}


body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #fef5f0;
}


.site-header {
  background: #e85d75;
  color: white;
  padding: 18px 0;
}

.header-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav a {
  color: white;
  margin-left: 15px;
  text-decoration: none;
}


.oplata-box {
  max-width: 350px;
  margin: 60px auto;
  background: white;
  padding: 25px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}


.opalta {
  text-align: center;
  margin-bottom: 10px;
}


.oplata-box-text {
  display: flex;
  flex-direction: column;
  gap: 8px;
}


.oplata-box input {
  width: 100%;
  padding: 8px;
}


.card-input {
  display: flex;
  gap: 10px;
}

.oplata-box button {
  margin-top: 10px;
  padding: 10px;
  background: #e85d75;
  color: white;
  border: none;
  cursor: pointer;
  border-radius: 6px;
}

.oplata-box button:hover {
  background: #d14560;
}

.site-footers {
background-color: #222;
color: white;
text-align: center;
position: fixed;
bottom: 0;
width: 100%;
}