

@font-face {
  font-family: 'Cormorant';
  src: url('/fonts/Cormorant.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Tilda';
  src: url('/fonts/Tilda.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}


body {
    font-family: Tilda, sans-serif;
    margin: 0;
    height: 100vh;
    padding: 0;
    background-image: url('/pics/image.jpg');
    background-size: cover;
    background-attachment: fixed;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    z-index: -1;
}

/* Для мобильных устройств — фон с изображением */
@media (max-width: 768px) {
    body::before {
        background-image: url('/pics/image.jpg');
        background-size: cover;
        background-position: center;
        background-color: transparent;
    }
}


.title {
    text-align: center;
    font-family: Sft, sans-serif;
    font-size: 45px;
}

button {
    background-color: #8E0105;
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-family: Tilda, sans-serif;
    font-size: 14px;
    margin-bottom: 5px;
    border-radius: 5px;
    display: inline-block;
    width: 110px;
}

.wishlist {
    font-family: Cormorant;
    display: block;
    margin: 0 auto;
    font-size: 3em;
    color: #4C3C2E;
    margin-bottom: 30px;
    margin-top: 60px;
    text-align: center;
}

.line {
    width: 95%; 
    height: 2px; 
    background-color: black;
    margin: auto;
    margin-bottom: 15px;
}

.shapka {
    display: flex;
    justify-content: center;
    padding: 0 3%;
    margin-bottom: 30px;
    margin-top: 30px;
}

.back {
    display: block;
    margin: 0 auto;
    width: 95%;
    height: 300px;
    object-fit: cover;
    margin-bottom: 10px;
}

.desc {
    display: block;
    margin: 0 auto;
    width: 80%;
    margin-bottom: 30px;
}

.desc__text {
    margin-bottom: 15px;
    font-family: Tilda, sans-serif;
    text-align: center;
    color: #645A4F;
    text-transform: uppercase;
    font-size: 14px;

}

.gift-grid {
    display: grid;
    gap: 15px;
    width: 95%;
    margin: 0 auto;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.gift-card {
    padding: 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.gift-image {
    width: 100%;
    border-radius: 2px;
    margin-bottom: 10px;
    object-fit: cover;
    background-color: white;
}

.gift-name {
    font-size: 16px;
    margin: 5px 0;
    font-family: Tilda, sans-serif;
    color: #1f1f1f;
    margin-bottom: 5px;
}

.gift-subtitle {
    color: #565656;
    font-size: 12px;
    margin-bottom: 10px;
    margin-top: 0px;
    color: #584D42;
}

.gift-link-button {
    background-color: #645A4F;
    color: #fff;
    text-decoration: none;
    padding: 8px 16px;
    font-size: 14px;
    border-radius: 5px;
    margin-bottom: 10px;
    display: inline-block;
    width: 100px;
    font-family: Tilda, sans-serif;
}


.linein {
    width: 95%; 
    height: 1px; 
    background-color: rgb(167, 167, 167);
    margin: auto;
    margin-bottom: 10px;
    margin-top: 10px;
}

.lineend {
    width: 95%; 
    height: 2px; 
    background-color: #71533B;
    margin: auto;
    margin-bottom: 10px;
    margin-top: 60px;
}

.bottom-button {
    background-color: #80766C;
    color: #F9FAFA;
    text-decoration: none;
    padding: 15px 0;
    font-size: 10px;
    display: block;
    border-radius: 5px;
    text-align: center;
    width: 95%;
    margin: 0 auto;
    margin-top: 5px;
    margin-bottom: 20px;
    font-size: 14px;
}

.footer-button {
    padding-bottom: 5px;
}

/* Адаптивное поведение */
@media (min-width: 481px) {
    .gift-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

	
.logo {
    width: 40px;
}

.reserve-button {
    background-color: #80766C;
}

.reserve-button {
    width: 100%;
}