/* SEARCH PAGE */

.search-page {
    padding: 170px 70px 130px;
    background: #f4eee7;
    min-height: 100vh;
}

.search-hero {
    max-width: 880px;
    margin: 0 auto 96px;
    text-align: center;
}

.search-hero span {
    display: block;
    margin-bottom: 24px;
    font-size: 11px;
    line-height: 1.2;
    letter-spacing: .34em;
    text-transform: uppercase;
    color: #a9947d;
}

.search-hero h1 {
    margin: 0 auto 32px;
    max-width: 720px;
    font-family: "DM Serif Display", serif;
    font-size: clamp(54px, 5vw, 92px);
    line-height: .96;
    font-weight: 400;
    letter-spacing: -0.045em;
    color: #2d2926;
}

.search-hero p {
    max-width: 560px;
    margin: 0 auto 44px;
    font-size: 17px;
    line-height: 1.8;
    color: #6b625a;
}

.search-page-form {
    max-width: 720px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
}

.search-page-form input {
    width: 100%;
    height: 58px;
    padding: 0 20px;
    border: 1px solid rgba(45, 41, 38, .16);
    background: rgba(255, 253, 249, .72);
    color: #2d2926;
    font-size: 16px;
}

.search-page-form input::placeholder {
    color: #9b9086;
}

.search-page-form button {
    height: 58px;
    padding: 0 32px;
    border: 0;
    background: #2d2926;
    color: #fff;
    font-size: 11px;
    letter-spacing: .22em;
    text-transform: uppercase;
    cursor: pointer;
}

.search-results-section {
    max-width: 1320px;
    margin: 0 auto;
}

.search-results-heading {
    margin-bottom: 52px;
    text-align: center;
}

.search-results-heading span {
    display: block;
    margin-bottom: 18px;
    font-size: 10px;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: #a9947d;
}

.search-results-heading h2 {
    margin: 0;
    font-family: "DM Serif Display", serif;
    font-size: clamp(38px, 3.6vw, 68px);
    line-height: 1;
    font-weight: 400;
    color: #2d2926;
}

.search-products-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 42px;
}

.search-product-card {
    text-align: center;
}

.search-product-image {
    display: block;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: #efe9e2;
}

.search-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .45s ease;
}

.search-product-card:hover .search-product-image img {
    transform: scale(1.035);
}

.search-product-info {
    margin-top: 22px;
}

.search-product-info h3 {
    margin: 0 0 10px;
    font-size: 20px;
    line-height: 1.3;
    font-weight: 400;
}

.search-product-info h3 a {
    color: #2d2926;
    text-decoration: none;
}

.search-product-info span,
.search-product-info .price {
    font-size: 14px;
    color: #6b625a;
}

.search-empty {
    max-width: 620px;
    margin: 0 auto;
    padding: 62px;
    text-align: center;
    background: rgba(255, 253, 249, .62);
    border: 1px solid rgba(45, 41, 38, .10);
}

.search-empty h2 {
    margin: 0 0 22px;
    font-family: "DM Serif Display", serif;
    font-size: 46px;
    line-height: 1.05;
    font-weight: 400;
    color: #2d2926;
}

.search-empty p {
    margin: 0 auto 34px;
    font-size: 16px;
    line-height: 1.8;
    color: #6b625a;
}

.search-empty a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 32px;
    background: #2d2926;
    color: #fff;
    text-decoration: none;
    font-size: 11px;
    letter-spacing: .22em;
    text-transform: uppercase;
}