/* Плавная прокрутка для якорей */
html {
    scroll-behavior: smooth;
}

/* Контакты - аккордеон магазинов */
.contacts__stores-item-title {
    cursor: pointer;
    transition: all 0.3s ease;
}

.contacts__stores-item-title:hover {
    opacity: 0.8;
}

.contacts__stores-item-values {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.contacts__stores-item-title.active + .contacts__stores-item-values {
    max-height: none;
}

/* Hero секция */
.hero-section {
    width: 100vw;
    height: 475px;
    background: #F7F3EF;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    display: flex;
    align-items: center;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    overflow: visible;
}

.hero-container {
    max-width: 1246px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 60px;
}

.hero-content {
    max-width: 501px;
    position: relative;
    flex-shrink: 0;
}

.hero-title {
    color: #252420;
    font-size: 46px;
    font-family: 'Playfair Display', serif;
    font-weight: 400;
    line-height: 46px;
    margin-bottom: 24px;
    word-wrap: break-word;
}

.hero-description {
    opacity: 0.80;
    color: #252420;
    font-size: 16px;
    font-family: 'Circe', sans-serif;
    font-weight: 400;
    line-height: 25.60px;
    margin-bottom: 32px;
    word-wrap: break-word;
}

.hero-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 51px;
    background: #C3A083;
    border-radius: 555px;
    color: white;
    font-size: 16px;
    font-family: 'Circe', sans-serif;
    font-weight: 400;
    line-height: 24px;
    text-decoration: none;
    transition: background 0.3s ease;
    cursor: pointer;
}

.hero-button:hover {
    background: #b38f72;
    color: white;
}

.hero-image {
    max-width: 828px;
    width: 828px;
    height: 614px;
    position: relative;
    overflow: visible;
}

.hero-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

/* Планшеты и мобильные (до 992px) */
@media (max-width: 992px) {
    .hero-section {
        height: auto;
        padding: 80px 0 40px 0 !important;
    }

    .hero-container {
        flex-direction: column;
        text-align: center;
        gap: 40px;
        padding: 0 16px;
    }

    .hero-content {
        max-width: 100%;
        order: 2;
    }

    .hero-image {
        max-width: 100%;
        width: 100%;
        height: 600px;
        order: 1;
        padding-top: 40px;
    }

    .hero-title {
        font-size: 36px;
        line-height: 40px;
    }

    .hero-description {
        font-size: 15px;
        line-height: 24px;
    }
}

/* Мобильные (до 768px) */
@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0 30px 0 !important;
    }

    .hero-container {
        gap: 30px;
    }

    .hero-title {
        font-size: 32px;
        line-height: 36px;
        margin-bottom: 20px;
    }

    .hero-description {
        font-size: 14px;
        line-height: 22px;
        margin-bottom: 24px;
    }

    .hero-image {
        height: 500px;
        padding-top: 30px;
    }
}

/* Маленькие мобильные (до 576px) */
@media (max-width: 576px) {
    .hero-section {
        padding: 50px 0 30px 0 !important;
    }

    .hero-container {
        gap: 24px;
        padding: 0 12px;
    }

    .hero-title {
        font-size: 26px;
        line-height: 30px;
        margin-bottom: 16px;
    }

    .hero-description {
        font-size: 14px;
        line-height: 20px;
        margin-bottom: 20px;
    }

    .hero-button {
        padding: 12px 40px;
        font-size: 14px;
        width: 100%;
        max-width: 300px;
    }

    .hero-image {
        height: 420px;
        padding-top: 20px;
    }
}

/* Очень маленькие экраны (до 400px) */
@media (max-width: 400px) {
    .hero-section {
        padding: 40px 0 24px 0 !important;
    }

    .hero-title {
        font-size: 24px;
        line-height: 28px;
    }

    .hero-description {
        font-size: 13px;
        line-height: 19px;
    }

    .hero-button {
        padding: 10px 32px;
        font-size: 13px;
    }

    .hero-image {
        height: 350px;
        padding-top: 10px;
    }
}

/* Блок преимуществ */
.advantages {
    padding: 80px 0;
}

.advantages-container {
    max-width: 1246px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

.advantages .heading__title {
    text-align: center;
    margin-bottom: 60px;
}

.advantages .heading__title h2 {
    color: #252420;
    font-size: 42px;
    font-family: 'Playfair Display', serif;
    font-weight: 400;
    line-height: 46px;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px 30px;
}

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

.advantages-item-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: visible;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.advantages-item-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.advantages-item-text {
    color: #252420;
    font-size: 16px;
    font-family: 'Circe', sans-serif;
    font-weight: 400;
    line-height: 24px;
}

/* Адаптив для преимуществ */
@media (max-width: 992px) {
    .advantages {
        padding: 60px 0;
    }

    .advantages .heading__title {
        margin-bottom: 40px;
    }

    .advantages .heading__title h2 {
        font-size: 36px;
        line-height: 40px;
    }

    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 20px;
    }

    .advantages-item-image {
        width: 180px;
        height: 180px;
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .advantages {
        padding: 50px 0;
    }

    .advantages .heading__title h2 {
        font-size: 32px;
        line-height: 36px;
    }

    .advantages-grid {
        gap: 35px 15px;
    }

    .advantages-item-image {
        width: 160px;
        height: 160px;
        margin-bottom: 16px;
    }

    .advantages-item-text {
        font-size: 15px;
        line-height: 22px;
    }
}

@media (max-width: 576px) {
    .advantages {
        padding: 40px 0;
    }

    .advantages-container {
        padding: 0 16px;
    }

    .advantages .heading__title {
        margin-bottom: 30px;
    }

    .advantages .heading__title h2 {
        font-size: 28px;
        line-height: 32px;
    }

    .advantages-grid {
        gap: 30px 12px;
    }

    .advantages-item-image {
        width: 140px;
        height: 140px;
        margin-bottom: 12px;
    }

    .advantages-item-text {
        font-size: 14px;
        line-height: 20px;
    }
}

@media (max-width: 400px) {
    .advantages {
        padding: 30px 0;
    }

    .advantages .heading__title h2 {
        font-size: 24px;
        line-height: 28px;
    }

    .advantages-item-image {
        width: 120px;
        height: 120px;
    }

    .advantages-item-text {
        font-size: 13px;
        line-height: 19px;
    }
}

/* Форма оптовых заявок */
.wholesale-form-section {
    width: 100vw;
    background: #F7F3EF;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    padding: 80px 0;
    margin-top: 60px;
    margin-bottom: 60px;
    scroll-margin-top: 20px;
}

.wholesale-form-container {
    max-width: 1246px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.wholesale-form-left {
    max-width: 360px;
    flex-shrink: 0;
}

.wholesale-form-title {
    color: #252420;
    font-size: 42px;
    font-family: 'Playfair Display', serif;
    font-weight: 400;
    line-height: 42px;
    margin-bottom: 24px;
    word-wrap: break-word;
    text-align: left;
}

.wholesale-form-description {
    opacity: 0.50;
    color: #252420;
    font-size: 16px;
    font-family: 'Circe', sans-serif;
    font-weight: 400;
    word-wrap: break-word;
    text-align: left;
}

.wholesale-form-right {
    flex: 1;
    max-width: 645px;
}

.wholesale-form-fields {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 20px;
    margin-bottom: 20px;
}

.wholesale-form-group {
    display: flex;
    flex-direction: column;
}

.wholesale-form-label {
    color: #443A36;
    font-size: 16px;
    font-family: 'Circe', sans-serif;
    font-weight: 400;
    margin-bottom: 10px;
    word-wrap: break-word;
}

.wholesale-form-input {
    width: 100%;
    height: 48px;
    background: white;
    border-radius: 6px;
    border: none;
    padding: 0 26px;
    color: #443A36;
    font-size: 16px;
    font-family: 'Circe', sans-serif;
    font-weight: 700;
    line-height: 24px;
}

.wholesale-form-input::placeholder {
    opacity: 0.30;
    color: #443A36;
}

.wholesale-form-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.wholesale-form-agreement {
    flex: 1;
    opacity: 0.50;
    color: #252420;
    font-size: 14px;
    font-family: 'Circe', sans-serif;
    font-weight: 400;
    line-height: 20px;
    word-wrap: break-word;
}

.wholesale-form-agreement a {
    color: #252420;
    text-decoration: underline;
}

.wholesale-form-submit {
    width: 208px;
    height: 48px;
    background: #C3A083;
    border-radius: 555px;
    border: none;
    color: white;
    font-size: 16px;
    font-family: 'Circe', sans-serif;
    font-weight: 700;
    line-height: 24px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.wholesale-form-submit:hover {
    background: #b38f72;
}

.wholesale-form-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.wholesale-form-message {
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 14px;
    font-family: 'Circe', sans-serif;
    text-align: center;
}

.wholesale-form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.wholesale-form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

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

    .wholesale-form-left {
        max-width: 100%;
    }

    .wholesale-form-right {
        max-width: 100%;
    }

    .wholesale-form-fields {
        grid-template-columns: 1fr;
    }

    .wholesale-form-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .wholesale-form-submit {
        width: 100%;
    }

    .wholesale-form-title {
        font-size: 32px;
        line-height: 36px;
    }

    .wholesale-form-description {
        font-size: 14px;
    }
}

