@font-face {
    font-family: "Dihjauti S";
    src: url('/static/fonts/DihjautiS-Regular.otf');
    font-stretch: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "TT Chocolates";
    src: url('/static/fonts/ChocolateClassicalSans-Regular.ttf');
    font-stretch: normal;
    font-style: normal;
    font-display: swap;
}

/* --- Основные переменные --- */

:root {
    --primary-color: #d9cbbf;
    --secondary-color: #b37f60;
    --background-color: #f7f4f0;
    --text-color: #333;
    --border-radius: 8px;
    --grid-gap: 20px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "TT Chocolates";
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.wrapper {
    max-width: 1200px;
    margin: 100px auto 40px;
}

/* --------------------------------------------  */
/* --- Font Rules --- */
/* --------------------------------------------  */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Dihjauti S";
    font-weight: normal;
}

p,
button {
    font-family: "TT Chocolates";
}

h1 {
    font-size: 52px;
}

h2 {
    font-size: 41.6px;
}

h3 {
    font-size: 31.2px;
}

h4 {
    font-size: 26px;
}

h5 {
    font-size: 21px;
}

h6 {
    font-size: 17px;
}

p {
    font-size: 15px;
}

button,
a {
    font-size: 13px;
}



/* --------------------------------------------  */
/* --- Pagination --- */
/* --------------------------------------------  */

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 30px 0;
    font-family: 'Arial', sans-serif;
    gap: 5px;
}

.pagination-link {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    text-decoration: none;
    color: #a06e52;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s ease;
    border: 1px solid #e6bcb1;
    background-color: #fff;
}

.pagination-link:hover:not(.disabled):not(.current-page) {
    background-color: #f8e9e5;
    color: #8a5a40;
    transform: translateY(-2px);
}

.pagination-link.current-page {
    background-color: #a06e52;
    color: white;
    border-color: #a06e52;
}

.pagination-link.disabled {
    color: #d3c7c3;
    border-color: #f0e6e3;
    cursor: not-allowed;
}

.pagination-link.first-page,
.pagination-link.last-page {
    width: auto;
    padding: 0 12px;
}

.pagination-link.prev-page,
.pagination-link.next-page {
    width: auto;
    padding: 0 15px;
}

/* Адаптивность */
@media (max-width: 576px) {
    .pagination-link:not(.first-page):not(.last-page):not(.prev-page):not(.next-page) {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
}

.favorite-icon {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 30px;
    height: 30px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.favorite-icon:hover {
    opacity: 1;
}

.favorite-icon.active {
    opacity: 1;
    background: #ff6b6b;
}

.favorite-icon.active img {
    filter: brightness(0) invert(1);
}

.favorite-icon img {
    width: 18px;
    height: 18px;
    transition: all 0.3s ease;
}

@keyframes heartPulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.3);
    }

    100% {
        transform: scale(1);
    }
}

.favorite-icon.just-added {
    animation: heartPulse 0.5s;
}

/* -------------------------------------- */
/* slider */
/* -------------------------------------- */


.slider {
    background-color: #2b2b2b;
    margin: 100px auto 40px;
    /*position: relative;*/
    max-width: 1200px;
    /*overflow: hidden;*/
    /*border-radius: 8px;*/
    /*box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);*/
}

/* -------------------------------------- */
/* heading */
/* -------------------------------------- */

.heading {
    text-align: center;
    margin-bottom: 40px;
}

.heading_title {
    font-size: 4rem;
    font-weight: 400;
    line-height: 1.2;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

@media (max-width: 992px) {
    .heading_title {
        font-size: 2rem;
    }
}

/* -------------------------------------- */
/* choosing_dresses */
/* -------------------------------------- */


.choosing_dresses {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.accessories_heading {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: start;
    gap: 1rem;
    position: relative;
    margin-bottom: 20px;
}

.choosing_dresses_title {
    font-size: 36px;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #000;
}

.choosing_dresses_subtitle {
    color: #D5B0A0;
    text-transform: uppercase;
    margin-left: 5px;
    font-size: 1.1rem;
}


.choosing_dresses_grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 5px;
}

.choosing_dresses_item {
    display: flex;
    background-color: #F6F4F0;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.choosing_dresses_item:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.choosing_dresses_item.reversed {
    flex-direction: row-reverse;
}

.img-container {
    flex: 0 0 50%;
    overflow: hidden;
}

.img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.choosing_dresses_content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
}

.choosing_dresses_content a {
    font-size: 13px;
    color: #D5B0A0;
    text-decoration: none;
    font-weight: bold;
}

@media (max-width: 992px) {
    .choosing_dresses_grid {
        grid-template-columns: 1fr;
    }

    .choosing_dresses_item,
    .choosing_dresses_item.reversed {
        flex-direction: column;
    }

    .img-container {
        width: 100%;
        height: 300px;
        flex: none;
    }
}

/* -------------------------------------- */
/* Write us */
/* -------------------------------------- */

.write_us {
    margin: 0 auto 40px;
    padding: 20px;
}

.container_write_us {
    display: flex;
    margin: 0 auto;
    justify-content: space-between;
    align-items: center;
    background-color: #d9cbbf;
    height: 710px;
    overflow: hidden;
}

.write_us_image-box {
    width: 50%;
    overflow: hidden;
}

.write_us_image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.write_us_text-form-box {
    width: 40%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    padding-right: 40px;
}

label,
input,
button {
    font-family: 'TT Chocolates', sans-serif;
}

.write_us_label {
    font-size: 14px;
    color: #b37f60;
    text-transform: uppercase;
}

.write_us_title {
    font-size: 36px;
    font-weight: bold;
    line-height: 1.3;
    margin-bottom: 15px;
}

.write_us_description {
    font-size: 14px;
    color: #666;
}

.write_us_contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.write_us_input-name {
    padding: 12px 16px;
    font-size: 14px;
    border: none;
    border-radius: 6px;
    background-color: #fff;
    outline: none;
    width: 100%;
}

.write_us_btn-submit {
    padding: 12px 20px;
    font-size: 14px;
    color: #fff;
    background-color: #b37f60;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.write_us_btn-submit:hover {
    background-color: #a06e52;
}

/* Адаптивность */
@media (max-width: 992px) {
    .container_write_us {
        flex-direction: column;
        gap: 40px;
        height: auto;
    }

    .write_us_image-box {
        width: 100%;
        flex: 1 0 100%;
    }

    .write_us_text-form-box {
        width: 80%;
        flex: 1 0 100%;
        padding-right: 0;
    }
}

@media (max-width: 576px) {
    .write_us_title {
        font-size: 28px;
    }
}


/* -------------------------------------- */
/* items-preview */
/* -------------------------------------- */


/* --- Основные стили для секции items_preview --- */

.items-preview_section {
    margin: 0 auto 40px;
    padding: 20px;
}

/* --- Заголовок --- */

.items-preview_header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    gap: 5px;
}

@media (max-width: 992px) {
    .items-preview_header {
        display: flex;
        flex-direction: column;
    }
}


.items-preview_line {
    width: 50px;
    height: 2px;
    background-color: #b37f60;
    position: absolute;
    top: 10%;
    left: 0;
    transform: translateY(-50%);
}

.items-preview_text_section {
    position: relative;
    width: 60%;
}

@media (max-width: 992px) {
    .items-preview_text_section {
        width: 100%;
        text-align: center;
    }
}

.items-preview_subtitle {
    font-size: 14px;
    color: #b37f60;
    text-transform: uppercase;
    margin-right: 20px;
    margin-left: 60px;
}

.items-preview_title {
    font-size: 36px;
    line-height: 1.2;
}

@media (max-width: 992px) {
    .items-preview_title {
        font-size: 1.2rem;
    }
}

.items-preview_button {
    padding: 10px 20px;
    font-size: 14px;
    color: #fff;
    background-color: #d9cbbf;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

@media (max-width: 992px) {
    .items-preview_button {
        padding: 8px 16px;
        font-size: 8px;
    }
}

.items-preview_button:hover {
    background-color: #c6b5a6;
}



/* Секция "Наши платья" */
.featured-dresses {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 30px;
    font-size: 2rem;
    color: #333;
}

.view-all {
    text-align: center;
    margin-top: 30px;
}

.view-all-link {
    display: inline-block;
    padding: 10px 20px;
    background: #f8f8f8;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.view-all-link:hover {
    background: #eee;
    color: #000;
}

/* Адаптивность */
@media (max-width: 768px) {
    .dresses-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }

    .img-section {
        height: 280px;
    }
}

@keyframes heartPulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.3);
    }

    100% {
        transform: scale(1);
    }
}

.favorite-icon.just-added {
    animation: heartPulse 0.5s;
}


/* -------------------------------------- */
/* --- Основные стили для секции accessories --- */
/* -------------------------------------- */

.accessories_section {
    color: #fff;
    margin: 0 auto 40px;
    padding: 20px;
}

.accessories_container {
    display: flex;
    gap: 20px;
    margin: 0 auto;
    background-color: #413D4C;
    overflow: hidden;
}

.accessories_content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 30px;
}

/* --- Текстовая часть --- */

.accessories_content {
    width: 50%;
}

@media (max-width: 992px) {
    .accessories_content {
        width: 100%;
    }
}

.accessories_line {
    border: 1px solid #D5B0A0;
    box-sizing: border-box;
    width: 60px;
    height: 1px;
}

.accessories_subtitle {
    color: #D5B0A0;
    text-transform: uppercase;
    margin-left: 5px;
    font-size: 1.2rem;
}

.accessories_title {
    font-size: 36px;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #fff;
}

.accessories_description {
    font-size: 14px;
    color: #ccc;
    margin-bottom: 30px;
}

/* --- Карточки аксессуаров --- */

.accessories_cards {
    display: flex;
    gap: 20px;
}

.accessories_card {
    width: 100px;
    text-align: center;
}

.accessories_container img {
    width: 100%;
    height: auto;
}

.accessories_card_title {
    font-size: 12px;
    margin-top: 10px;
    text-transform: uppercase;
}

/* --- Фоновое изображение модели --- */

.accessories_image {
    overflow: hidden;
}

.accessories_image img {
    width: 100%;
    height: auto;
    padding: 0;
    margin: 0;

}

/* --- Адаптивность --- */

@media (max-width: 992px) {
    .accessories_container {
        flex-direction: column;
        justify-content: center;
        gap: 20px;
    }

    .accessories_content {
        align-items: center;
    }

    .accessories_text {
        width: 100%;
        text-align: center;
    }

    .accessories_subtitle {
        margin-left: 0;
        font-size: 1.0rem;
    }

    .accessories_line {
        width: 50px;
    }

    .accessories_cards {
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    .accessories_title {
        font-size: 28px;
    }

    .accessories_description {
        font-size: 12px;
    }
}

/* -------------------------------------- */
/* --- Основные стили для секции счетчика --- */
/* -------------------------------------- */

.counter_section {
    margin: 0 auto 40px;
    padding: 20px;
}

.counter_section_line {
    width: 100%;
    height: 3px;
    background-color: #b37f60;
}

.counter_container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* --- Каждый блок счетчика --- */

.counter_item {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-wrap: wrap;
}

.counter_icon {
    width: 50px;
    height: 50px;
    margin-bottom: 10px;
}

.counter_stats {
    width: 70%;
    text-align: left;
}

.counter_number {
    font-size: 41px;
    font-weight: bold;
    color: #b37f60;
}

.counter_label {
    font-size: 14px;
    color: #b37f60;
    /* Цвет текста */
    text-transform: uppercase;
}

/* --- Адаптивность --- */

@media (max-width: 992px) {
    .counter_container {
        flex-direction: column;
        gap: 20px;
    }

    .counter_item {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .counter_number {
        font-size: 20px;
    }

    .counter_label {
        font-size: 12px;
    }
}


/* -------------------------------------- */
/* --- Основные стили для секции блога --- */
/* -------------------------------------- */


.blog_section {
    margin: 0 auto 40px;
    padding: 20px;
}

.blog_container {
    max-width: 1200px;
    margin: 0 auto;
}

/* --- Заголовок и кнопка --- */

.blog_header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    gap: 5px;
}

.blog_title {
    font-size: 1.2rem;
    line-height: 1.2;
}

.blog_button {
    padding: 10px 5px;
    font-size: 14px;
    font-weight: bold;
    color: #b37f60;
    background-color: transparent;
    border: 1px solid #b37f60;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

@media (max-width: 992px) {
    .blog_button {
        font-size: 0.6rem;
        text-wrap: nowrap;
    }
}

.blog_button:hover {
    background-color: #b37f60;
    color: #fff;
}

/* --- Блоки постов --- */

.blog_posts {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.blog_post:hover {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.blog_post {
    text-align: center;

}

.blog_image {
    width: 100%;
    height: 100%;
    transition: transform 0.3s ease;
    object-fit: cover;
}

.blog_post .img-container {
    height: 300px;
    overflow: hidden;
}

.blog_post:hover .blog_image {
    transform: scale(1.05);
}

.blog-text-area {
    padding: 10px;
}

.blog_author {
    display: inline-block;
    padding: 5px 10px;
    font-size: 14px;
    color: #b37f60;
    margin-top: 10px;
    margin-bottom: 5px;
    background-color: #F5EBE1;
}

.blog_post_title {
    font-size: 24px;
    font-weight: bold;
    margin: 10px 0;
}

.blog_description {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

.blog_read_more {
    font-size: 14px;
    color: #b37f60;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: end;
    gap: 5px;
    transition: color 0.3s ease;
}

.blog_read_more:hover {
    color: #a06e52;
}

.blog_read_more::after {
    content: "→";
}

/* --- Адаптивность --- */

@media (max-width: 992px) {
    .blog_posts {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .blog_title {
        font-size: 24px;
    }

    .blog_description {
        font-size: 12px;
    }
}

/* -------------------------------------- */
/* --- Основные стили для секции контактов --- */
/* -------------------------------------- */


.contact_section {

    margin: 0 auto 40px;
    padding: 20px;
}

.contact_container {
    display: flex;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    background-color: #f7f4f0;
    /* Пастельный фон */
}

/* --- Текстовая часть --- */



.contact_header {
    position: relative;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    flex-direction: row;
}

.contact_line {
    width: 50px;
    height: 2px;
    background-color: var(--secondary-color);
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.contact_subtitle {
    font-size: 14px;
    color: #b37f60;
    text-transform: uppercase;
    margin-left: 60px;
    /* Отступ от линии */
}

.contact_title {
    font-size: 36px;
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 30px;
    text-align: center;
}

.contact_details {
    display: grid;
    gap: 5px;
    grid-template-columns: repeat(2, 1fr);
}





.contact_link,
.contact_address {
    font-size: 18px;
    margin-bottom: 5px;
    font-weight: 600;
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact_description {
    color: #666;
    font-size: 12px;
    line-height: 1.4;
}

/* --- Карта --- */

.contact_map {
    flex: 1;
}

.contact_map iframe {
    width: 100%;
    height: 100%;
}


/* --- Адаптивность --- */

@media (max-width: 992px) {
    .contact_container {
        flex-direction: column;
        gap: 20px;
    }

    .contact_map iframe {
        height: revert-layer;
    }
}

@media (max-width: 768px) {
    .contact_title {
        font-size: 28px;
    }

    .contact_link,
    .contact_address {
        font-size: 16px;
    }

    .contact_description {
        font-size: 12px;
    }

    .contact_map iframe {
        height: revert-layer;
    }

    .contact_details {
        grid-template-columns: repeat(1, 1fr);
    }
}

/* --------------------------------------------  */
/* --- Боковое меню --- */
/* --------------------------------------------  */


.sidebar {
    width: 200px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 10px;
    position: sticky;
    top: 100px;
    height: fit-content;
}

.filter-title {
    text-align: center;
    font-size: 14px;
    text-transform: uppercase;
    color: #b37f60;
    margin-bottom: 10px;
}

.filters {
    list-style: none;
    padding: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    align-items: center;
    text-align: center;
    font-family: "Dihjauti S", serif;
}

.filters li {
    margin-bottom: 5px;
}

.filters a {
    display: block;
    padding: 10px;
    text-decoration: none;
    color: #333;
    transition: background-color 0.3s ease;
}

.filters a:hover,
.filters a.active {
    background-color: #d9cbbf;
}


/* --- Горизонтальное меню для мобильных --- */
.mobile-category-menu-items {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 5px;
    overflow-x: auto;
    padding: 10px 0;
    -webkit-overflow-scrolling: touch;
}

.mobile-category {
    flex-shrink: 0;
    padding: 8px 16px;
    font-size: 14px;
    text-decoration: none;
    color: #333;
    background-color: #f0f0f0;
    border-radius: 20px;
    margin: 0 6px;
    transition: background-color 0.3s ease, color 0.3s ease;
    white-space: nowrap;
}

.mobile-category:hover,
.mobile-category.active {
    background-color: #d9cbbf;
    color: white;
}

@media (max-width: 992px) {
    .mobile-category-menu {
        display: block;
    }
}

@media (min-width: 993px) {
    .mobile-category-menu {
        display: none;
    }
}

/* --- кастомный селект --- */
.custom-select {
    position: relative;
    display: inline-block;
    width: 100%;
}

.custom-select select {
    width: 100%;
    padding: 10px 40px 10px 10px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 8px;
    background-color: white;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    cursor: pointer;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.custom-select select:focus {
    border-color: #b37f60;
    outline: none;
    box-shadow: 0 0 5px rgba(180, 127, 96, 0.5);
}

.custom-select::after {
    content: "▾";
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    font-size: 16px;
    color: #b37f60;
    pointer-events: none;
}

.sort-select {
    font-family: "TT Chocolates", serif;
    font-size: 14px;
}

@media (max-width: 992px) {
    .sidebar {
        width: 100%;
        position: static;
        padding: 10px 0;
        box-shadow: none;
    }

    .filters {
        display: none;
    }

    .filter-title {
        display: none;
    }
}


/* --------------------------------------------  */
/* --- Основное содержимое --- */
/* --------------------------------------------  */


.catalog-container {
    display: flex;
    gap: 20px;
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
}

@media (max-width: 992px) {
    .catalog-container {
        flex-direction: column;
    }
}

.content {
    flex: 1;
}


.page-main-title {
    text-align: center;
    font-weight: normal;
    color: #3a3a6a;
    margin-bottom: 20px;
}

.sort-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.no-products {
    text-align: center;
    grid-column: 1 / -1;
    padding: 50px;
    font-size: 1.2rem;
    color: #666;
    min-height: 50vh;
}


/* CSS Grid Layout for About Section */
.about-section {
    padding: 2rem 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto 1fr;
    gap: 3rem 5rem;
    grid-template-areas:
        "heading image"
        "text image";
}

/* Grid item positioning */
.about-text_heading {
    grid-area: heading;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.about-text_heading .heading-top {
    display: flex;
    align-items: center;
    justify-content: start;
    gap: 1rem;
}

.about-image {
    grid-area: image;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-text {
    grid-area: text;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* Heading styles */
.heading_line {
    border: 1px solid #D5B0A0;
    box-sizing: border-box;
    width: 60px;
    height: 1px;
}

.text-container {
    display: flex;
    justify-content: start;
    align-items: center;
    text-decoration: none;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: bolder;
    color: #D5B0A0;
    font-size: 1.2rem;
    margin-left: 5px;
}

/* Image styles */
.about-image {
    overflow: hidden;
    border-radius: 8px;
}

.about-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
    transition: transform 0.3s ease-in-out;
}

.about-image img:hover {
    transform: scale(1.05);
}

/* Text styles */
h2 {
    font-size: 2.5rem;
    margin-bottom: 0;
    line-height: 1.2;
    color: #333;
    font-weight: 400;
}

.about-text_heading h2 {
    margin-bottom: 0;
}



p {
    font-family: 'TT Chocolates', sans-serif;
    text-decoration: none;
    /*font-size: 1rem;*/
    line-height: 1.6;
    color: #666;
}

.founder-name {
    font-weight: 600;
    font-size: 1.2rem;
    color: #D5B0A0;
    margin-bottom: 0.5rem;
}

.founder-title {
    font-size: 0.9rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Reviews Section */

.reviews-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    background-color: var(--background-color);
}

.reviews-image {
    overflow: hidden;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
}

.reviews-image img {
    width: 100%;
    height: 100%;
    min-height: 500px;
    border-radius: 8px;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease-in-out;
}

.reviews-image img:hover {
    transform: scale(1.02);
}

.reviews-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.reviews-heading {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Carousel Styles */

.reviews-carousel {
    position: relative;
    min-height: 200px;
    overflow: hidden;
}

@media (max-width: 992px) {
    .reviews-carousel {
        min-height: 400px;
    }
}

.review-item {
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.5s ease-in-out;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

.review-item.active {
    opacity: 1;
    transform: translateX(0);
}

.review-item.prev {
    transform: translateX(-100%);
}

.review-text {
    font-size: 1.1rem;
    line-height: 2;
    color: #666;
    margin-bottom: 1.5rem;
    font-style: italic;
    border: none;
    padding: 1rem 1.3rem;
}

.review-text::before {
    content: '"';
    font-size: 2rem;
    color: var(--secondary-color);
    line-height: 1;
}

.review-text::after {
    content: '"';
    font-size: 2rem;
    color: var(--secondary-color);
    line-height: 1;
}

.review-author {
    font-weight: 600;
    color: var(--secondary-color);
    font-size: 1rem;
}

/* Carousel Controls */

.carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2rem;
}

.carousel-btn {
    background: var(--secondary-color);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.carousel-btn:hover {
    background: var(--primary-color);
    transform: scale(1.1);
}

.carousel-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.carousel-dots {
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active,
.dot:hover {
    background: var(--secondary-color);
    transform: scale(1.2);
}

/* Team Section */

.team-section {
    padding: 5rem 0;
    background-color: #fff;
    width: 100%;
}

.team-text_heading {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    text-align: left;
    margin-bottom: 4rem;
    max-width: 440px;
}

.team-text_heading .heading-top {
    display: flex;
    align-items: center;
    justify-content: start;
    gap: 1rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
    max-width: 900px;
    margin: 0 auto;
}

.team-member {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.team-image {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease-in-out;
}

.team-image img:hover {
    transform: scale(1.05);
}

.team-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.team-name {
    font-size: 1.5rem;
    font-weight: 400;
    color: #333;
    margin-bottom: 0.5rem;
}

.team-description {
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 1.5rem;
    max-width: 300px;
}

.team-social {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    /*background-color: #D5B0A0;*/
    opacity: 0.8;
}

.social-link:hover {
    opacity: 1;
    transform: scale(1.1);
}

.social-link img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}


@media (max-width: 1024px) {
    .about-section {
        gap: 2rem 3rem;
    }

    .reviews-section {
        gap: 3rem;
    }

    .reviews-image {
        min-height: 400px;
    }

    .reviews-image img {
        min-height: 400px;
    }

    h2 {
        font-size: 2rem;
    }

    .team-grid {
        gap: 3rem;
    }
}

/* -------------------------------------- */
/* --- Основные стили для секции счетчика --- */
/* -------------------------------------- */

.counter_section {
    margin: 0 auto 40px;
    padding: 20px;
}

.counter_section_line {
    width: 100%;
    height: 3px;
    background-color: #b37f60;
}

.counter_container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* --- Каждый блок счетчика --- */

.counter_item {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-wrap: wrap;
}

.counter_icon {
    width: 50px;
    height: 50px;
    margin-bottom: 10px;
}

.counter_stats {
    width: 70%;
    text-align: left;
}

.counter_number {
    font-size: 41px;
    font-weight: bold;
    color: #b37f60;
}

.counter_label {
    font-size: 14px;
    color: #b37f60;
    /* Цвет текста */
    text-transform: uppercase;
}

/* --- Адаптивность --- */

@media (max-width: 992px) {
    .counter_container {
        flex-direction: column;
        gap: 20px;
    }

    .counter_item {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .counter_number {
        font-size: 20px;
    }

    .counter_label {
        font-size: 12px;
    }
}


@media (max-width: 768px) {
    .about-section {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto 1fr;
        gap: 2rem;
        padding: 3rem 0;
        grid-template-areas:
            "heading"
            "image"
            "text";
    }

    .about-text_heading {
        text-align: center;
    }

    .about-text_heading .heading-top {
        justify-content: center;
    }

    .about-image {
        justify-content: center;
    }

    .about-text {
        text-align: center;
    }

    .reviews-section {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 3rem 0;
    }

    .reviews-image {
        order: 1;
        min-height: 300px;
    }

    .reviews-image img {
        min-height: 300px;
    }

    .reviews-content {
        order: 2;
        text-align: center;
    }

    .reviews-heading {
        justify-content: center;
    }

    .carousel-controls {
        justify-content: center;
        gap: 2rem;
    }

    .team-section {
        padding: 3rem 0;
    }

    .team-text_heading {
        text-align: center;
    }

    .team-text_heading .heading-top {
        justify-content: center;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .text-container {
        font-size: 1rem;
    }
}


@media (max-width: 480px) {
    .wrapper {
        padding: 0 15px;
    }

    .about-section {
        padding: 2rem 0;
        gap: 1.5rem;
    }

    .reviews-section {
        padding: 2rem 0;
    }

    .reviews-image {
        min-height: 250px;
    }

    .reviews-image img {
        min-height: 250px;
    }

    .review-text {
        font-size: 1rem;
    }

    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
    }

    .team-section {
        padding: 2rem 0;
    }

    .team-grid {
        gap: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .text-container {
        font-size: 0.9rem;
    }

    .heading_line {
        width: 40px;
    }

    .team-name {
        font-size: 1.3rem;
    }

    .team-description {
        font-size: 0.9rem;
    }

    .social-link {
        width: 35px;
        height: 35px;
    }

    .social-link img {
        width: 20px;
        height: 20px;
    }
}

.blog-container {
    max-width: 1200px;
    margin: 100px auto;
    padding: 20px;
}

.blog-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* --- Общие стили для карточки новости --- */
.blog-card {
    display: flex;
    gap: 20px;
    align-items: center;
}

.blog-card:hover {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .blog-card {
        flex-direction: column-reverse;
    }
}

/* --- Левая часть: текстовый контент --- */
.blog-text-content {
    flex: 1;
    display: flex;
    padding-left: 10px;
    flex-direction: column;
    justify-content: center;
}

.blog-title {
    font-size: 32px;
    margin-bottom: 10px;
    color: #222;
}

.tags {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.tag {
    background-color: #F6F4F0;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    text-transform: uppercase;
    color: #D5B0A0;
}

.blog-description {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #555;
}

.open-button {
    background-color: #D5B0A0;
    color: white;
    border: none;
    padding: 15px 35px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    align-self: flex-start;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
}

.open-button:hover {
    background-color: #a06e52;
}

/* --- Правая часть: изображение --- */
.blog-image {
    flex: 1;
    overflow: hidden;
    height: 300px;
    width: 100%;
}

@media (max-width: 768px) {
    .blog-image {
        margin-top: 20px;
        height: auto;
        max-height: 300px;
    }
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* -------------------------------------- */
/* --- Contact Info Section --- */
/* -------------------------------------- */

.contact_section {
    margin: 40px 0;
    padding: 20px 0;
}

.contact_container {
    display: flex;
    gap: 40px;
    background-color: var(--background-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    min-height: 500px;
}

/* --- Текстовая часть --- */
.contact_info {
    flex: 1;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact_title {
    font-size: 36px;
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 30px;
    text-align: center;
    color: var(--text-color);
}

.contact_detail {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.contact_icon {
    font-size: 8px;
    color: var(--secondary-color);
    width: 30px;
    height: 30px;
}



.contact_link:hover {
    color: var(--secondary-color);
}



/* --- Карта --- */
.contact_map {
    flex: 1;
    min-height: 500px;
}

/* -------------------------------------- */
/* --- Contact Form Section --- */
/* -------------------------------------- */

.form_section {
    margin: 60px 0;
    padding: 60px 0;
    background-color: #f9f7f4;
}

.form_container {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.form_header {
    margin-bottom: 10px;
}

.form_title {
    font-size: 36px;
    font-weight: bold;
    color: var(--text-color);
    margin-bottom: 15px;
    font-family: 'Cormorant Infant', serif;
}

.form_subtitle {
    font-size: 16px;
    color: #666;
    line-height: 1.5;
    max-width: 500px;
    margin: 0 auto;
}

.contact_form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form_group {
    position: relative;
}

.form_input {
    width: 100%;
    padding: 15px 20px;
    font-size: 16px;
    border: none;
    border-radius: var(--border-radius);
    background-color: #f0f0f0;
    color: var(--text-color);
    outline: none;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    font-family: 'Cormorant Infant', serif;
}

.form_input:focus {
    background-color: #e8e8e8;
    box-shadow: 0 0 0 2px var(--secondary-color);
}

.form_input::placeholder {
    color: #999;
}

/* Checkbox styling */
.checkbox_group {
    display: flex;
    justify-content: center;
    margin: 10px 0;
}

.checkbox_label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    color: #666;
}

.checkbox_label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #ddd;
    border-radius: 3px;
    position: relative;
    background-color: #fff;
    transition: all 0.3s ease;
}

.checkbox_label input[type="checkbox"]:checked+.checkmark {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.checkbox_label input[type="checkbox"]:checked+.checkmark::after {
    content: "✓";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.checkbox_text {
    font-size: 14px;
    color: #666;
    line-height: 1.4;
}

.submit_btn {
    padding: 15px 40px;
    font-size: 14px;
    font-weight: bold;
    color: #fff;
    background-color: var(--secondary-color);
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Cormorant Infant', serif;
}

.submit_btn:hover {
    background-color: #a06e52;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(179, 127, 96, 0.3);
}

.submit_btn:active {
    transform: translateY(0);
}

/* -------------------------------------- */
/* --- Адаптивность --- */
/* -------------------------------------- */

@media (max-width: 992px) {
    .contact_container {
        flex-direction: column;
        gap: 0;
    }

    .contact_map {
        min-height: 300px;
    }

    .contact_title {
        font-size: 28px;
    }

    .form_title {
        font-size: 28px;
    }
}

@media (max-width: 768px) {

    .contact_info {
        padding: 30px 20px;
    }

    .contact_title {
        font-size: 24px;
        text-align: center;
    }

    .contact_subtitle {
        /*margin-left: 0;*/
        text-align: center;
    }

    .contact_line {
        left: 20px;
        transform: translate(-50%, -50%);
    }

    .form_container {
        padding: 0 20px;
    }

    .form_title {
        font-size: 24px;
    }

    .form_subtitle {
        font-size: 14px;
    }

    .submit_btn {
        padding: 12px 30px;
        font-size: 12px;
    }
}

label,
input,
button {
    font-family: 'TT Chocolates', sans-serif !important;
}


@media (max-width: 576px) {
    .contact_map {
        min-height: 250px;
    }

    .form_section {
        padding: 40px 0;
        margin: 40px 0;
    }
}

.post-container {
    max-width: 1200px;
    margin: 100px auto;
    padding: 20px;
}

.post-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.post-header {
    position: relative;
    margin-bottom: 5px;
}

.post-date {
    position: absolute;
    top: 0;
    left: 0;
    background-color: #e6bcb1;
    color: #fff;
    padding: 8px 12px;
    text-align: center;
    font-size: 12px;
    font-family: 'Georgia', serif;
}

.post-date .day {
    display: block;
    font-size: 20px;
    font-weight: bold;
    line-height: 1;
}

.post-date .month {
    font-size: 11px;
    text-transform: uppercase;
    line-height: 1.2;
}

.post-title {
    margin-left: 80px;
    font-size: 32px;
    font-weight: normal;
    color: #3a3a6a;
}

.post-image-wrapper {
    margin: 10px auto;
}

.post-image {
    width: 100%;
    max-width: 1200px;
    display: block;
    border: 1px solid #333;
}

.post-text-block {
    font-size: 14px;
    line-height: 1.6;
    color: #000;
    margin-bottom: 40px;
}

.post-text-block p {
    margin-bottom: 20px;
}

.post-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    border-top: 1px solid #444;
    padding-top: 20px;
}

.post-meta {
    font-size: 12px;
    color: #a06e52;
}

.post-socials {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.post-socials img {
    width: 28px;
    height: 28px;
    /*filter: brightness(0) saturate(100%) invert(97%) sepia(0%) saturate(1049%) hue-rotate(333deg) brightness(108%) contrast(100%);*/
}

.product-container {
    max-width: 1200px;
    margin: 0px auto;
    padding: 20px;
    display: flex;
    gap: 10px;
}

@media (max-width: 992px) {
    .product-container {
        flex-direction: column;
        padding: 0;
    }

    .button-primary {
        font-size: 14px;
    }

    .button-secondary {
        font-size: 14px;
    }
}


.breadcrumbs {
    margin: 1rem 0;
    font-size: 0.9rem;
    color: #666;
}

.breadcrumbs-link img {
    width: 10px;
    margin-right: 5px;
}

.breadcrumbs-link {
    color: #666;
    text-decoration: none;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.breadcrumbs-link:hover {
    color: var(--footer-link-hover);
}


/* Колонка с изображением */
.product-gallery {
    background-color: #fff;
    padding: 20px;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    flex: 1;
}

.product-gallery img {
    max-width: 100%;
    object-fit: cover;
    overflow: hidden;
}

.main-media-container {
    width: 100%;
    height: 500px;
    background-color: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    color: #999;
    font-size: 18px;
}

.main-media {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumbnails {
    display: flex;
    gap: 10px;
}

.thumbnail {
    width: 70px;
    height: 70px;
    background-color: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: #999;
}

.thumb-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Колонка с информацией */
.card-product-info {
    background-color: #fff;
    padding: 25px;
    border-radius: 4px;
    flex: 2;
}

.product-info {
    background-color: #fff;
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.price {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 25px;
    color: #D5B0A0;
}

.custom-select-wrapper {
    position: relative;
    width: 100%;
    max-width: 400px;
}

.custom-select {
    width: 100%;
    padding: 12px 16px;
    padding-right: 40px;
    /* Отступ для стрелочки */
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: var(--border-radius);
    background-color: #fff;
    color: var(--text-color);
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    outline: none;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.custom-select:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 2px rgba(179, 127, 96, 0.2);
}

.select-arrow {
    position: absolute;
    top: 50%;
    right: 16px;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 8px solid var(--text-color);
    pointer-events: none;
    transition: transform 0.3s ease;
}

/* При наведении на селект */
.custom-select:hover {
    border-color: var(--secondary-color);
}

/* Дополнительный эффект при открытии селекта (можно улучшить JS) */
.custom-select:focus+.select-arrow {
    transform: translateY(-50%) rotate(180deg);
}

.properties {
    text-align: left;
    margin-bottom: 25px;
}

.property {
    display: flex;
    margin-bottom: 12px;
}

.property-name {
    font-weight: bold;
    color: #666;
}

.property-value {
    color: #333;
    margin-left: 10px;
}

.details {
    margin: 25px 0;
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 4px;
    font-style: italic;
}

.sizes-section {
    margin: 25px 0;
}

.sizes-title {
    font-weight: bold;
    margin-bottom: 10px;
}

.size-option {
    padding: 8px 15px;
    margin: 5px;
    display: inline-block;
}

#size-form {
    margin-top: 20px;
}

.buttons {
    display: flex;
    gap: 15px;
    margin: 25px 0;
}

.button {
    padding: 12px 25px;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    text-align: center;
    flex: 1;
}

.button-primary {
    background-color: #D5B0A0;
    color: white;
    border: none;
    transition: all 0.3s ease;
}

.button-primary:hover {
    background-color: #b37f60;
    transition: all 0.3s ease;
}

/* Базовый стиль кнопки */
.button.button-secondary {
    background-color: white;
    color: #333;
    border: 1px solid #ddd;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Стиль для кнопки в избранном */
.button.button-secondary.in-wishlist {
    background-color: #fff0f0;
    color: #d23c3c;
    border-color: #ffb6b6;
    box-shadow: 0 0 10px rgba(255, 100, 100, 0.3);
}

/* Эффект "свечения" при hover */
.button.button-secondary:hover,
.button.button-secondary.in-wishlist:hover {
    box-shadow: 0 0 15px rgba(255, 100, 100, 0.5);
}

/* Анимация пульсации при добавлении */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 100, 100, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(255, 100, 100, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 100, 100, 0);
    }
}

.button-secondary.just-added {
    animation: pulse 0.7s;
}

.tabs {
    display: flex;
    border-bottom: 1px solid #ddd;
    margin: 30px 0 20px;
}

.tab {
    padding: 10px 20px;
    cursor: pointer;
    font-weight: bold;
    color: #666;
    position: relative;
    transition: all 0.3s ease;
}

.tab:hover {
    color: #8c7469;
}

.tab.active {
    color: #D5B0A0;
}

.tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #D5B0A0;
}

.tab-pane {
    display: none;
    padding: 15px 0;
    animation: fadeIn 0.3s ease;
}

.tab-pane.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* --- Блок карточек --- */

.product-grid {
    display: grid;
    gap: 20px;
    margin-bottom: 20px;
    grid-template-columns: repeat(3, 1fr);
}


/* Общие стили для карточек товаров */
.product-card {
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    background-color: white;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-card:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.img-section {
    position: relative;
    height: 350px;
    overflow: hidden;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image {
    transform: scale(1.03);
}



.product-name {
    /*font-size: 1.1rem;*/
    margin-bottom: 8px;
    color: #333;
    font-weight: bold;
}


@media (max-width: 992px) {
    .product-name {
        font-size: 1.8rem;
    }
}

.product-price {
    font-weight: bold;
    color: #000;
    margin-bottom: 20px;
}


/* -------------------------------------- */
/* --- Адаптивность --- */
/* -------------------------------------- */

@media (max-width: 992px) {
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

.wishlist-container {
    max-width: 1200px;
    margin: 100px auto;
    padding: 20px;
}

@media (max-width: 992px) {
    .catalog-container {
        flex-direction: column;
    }
}





.img-section {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-image:hover {
    transform: scale(1.05);
}

.product-price {
    font-size: 14px;
    color: #b37f60;
}

/* Стили для кнопок бронирования */
/* .rent-button {
    width: 100%;
    padding: 10px;
    background-color: #D5B0A0;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 14px;
    margin-top: 10px;
    transition: background-color 0.3s ease;
}

.rent-button:hover {
    background-color: #9a6b50;
} */

.rent-all-container {
    margin-top: 30px;
    text-align: center;
}

.rent-all-button {
    padding: 12px 24px;
    background-color: #8a5a44;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.rent-all-button:hover {
    background-color: #6d4735;
}


.no-products {
    min-height: 50vh;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    color: #333;
}

/* Адаптивные стили */
@media (max-width: 768px) {
    .rent-button {
        padding: 8px;
        font-size: 13px;
    }

    .rent-all-button {
        padding: 10px 20px;
        font-size: 15px;
    }
}

.form_message {
    font-size: 14px;
}

.form_message--success {
    color: #2e7d32;
    /* зелёный */
}

.form_message--error {
    color: #d32f2f;
    /* красный */
}

.form_error {
    color: #d32f2f;
    font-size: 13px;
    margin-top: 4px;
}


/* styles/modal.css or styles/styles.css */

.modal-content .contact_form .submit_btn.success {
    background-color: #28a745;
    /* Green for success */
    border-color: #28a745;
    color: white;
    cursor: default;
    /* No pointer on success */
}

.modal-content .contact_form .submit_btn.error {
    background-color: #dc3545;
    /* Red for error */
    border-color: #dc3545;
    color: white;
}

.modal-content .contact_form .submit_btn:disabled {
    background-color: #6c757d;
    /* Grey out when disabled */
    border-color: #6c757d;
    cursor: not-allowed;
}


.agreement-text-card {
    background-color: #F7F8F9;
    padding: 20px;
    margin-bottom: 20px;
}

.agreement-question {
    background-color: #fff;
    padding: 40px;
    margin-bottom: 20px;
}

.agreement-title {
    margin-bottom: 20px;
}

.agreement-description>p {
    margin-left: 10px;
}

.agreement-description>ul {
    margin-left: 30px;
}

.agreement_link {
    color: #88492E;
    text-decoration: underline;
    cursor: pointer;
}
