/* Стили для главной страницы */

/* Герой секция */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    margin-bottom: 60px;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-text p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-features {
    list-style: none;
}

.hero-features li {
    display: inline-block;
    margin: 5px 10px;
    padding: 0 5px;
    background: #ff7000 linear-gradient(270deg, #d1d8bd, transparent);
    color: black;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    position: relative;
    box-shadow: 2px 2px 9px -1px black;
    cursor: pointer;
}

.hero-features li:active,
.hero-features li:focus
{
    background: #ff7000 linear-gradient(270deg, #e6a069, transparent);
    box-shadow: none;
}

.hero-features li:after {
    content: '';
    position: absolute;
    left: -10px;
    width: 8px;
    height: 25px;
    background: #ff7000 linear-gradient(90deg, #441f02, transparent);
    border-left: solid 2px #0c260f;
}
.hero-features li:before {
    content: '';
    font-size: 5rem;
    position: absolute;
    width: 6px;
    height: 25px;
    color: #277129;
    padding: 0;
    background: #ff7000;
    line-height: 0px;
    align-content: stretch;
    left: -7px;
    border-right: dashed 2px;
}
.hero-features i {
    color: var(--secondary-color);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image i {
    font-size: 12rem;
    opacity: 0.8;
}

/* Форма заказа */
.order-section {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: var(--shadow);
    margin-bottom: 60px;
}

.order-form {
    max-width: 800px;
    margin: 0 auto;
}

.products-container {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.product-card {
    background-color: var(--bg-color);
    border-radius: var(--border-radius);
    padding: 20px;
    border: 1px solid var(--gray-light);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: solid 1px #adadad;
    box-shadow: 0 1px 11px -3px black;
}

.product-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.product-header {
    margin-bottom: 15px;
}

.product-header h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.price-range {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
}

.product-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.product-controls button {
    width: 36px;
    height: 36px;
    border: 1px solid var(--gray);
    background-color: var(--white);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.product-controls button:hover {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.product-quantity {
    width: 80px;
    text-align: center;
    border: 1px solid var(--gray);
    border-radius: var(--border-radius);
    padding: 8px;
}

.unit {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Сводка заказа */
.form-summary {
    background-color: var(--bg-color);
    border-radius: var(--border-radius);
    padding: 20px;
    margin-bottom: 30px;
}

.form-summary h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

.summary-details {
    display: grid;
    gap: 10px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.summary-row span:first-child {
    font-weight: 500;
}

#total-amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.form-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 20px;
}

.form-notice {
    text-align: center;
    padding: 15px;
    background-color: #e8f5e9;
    border-radius: var(--border-radius);
    color: var(--primary-dark);
    font-size: 0.9rem;
}

/* Информационные карточки */
.info-section {
    margin-bottom: 60px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.info-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.info-card:hover {
    transform: translateY(-10px);
}

.info-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.info-card h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

.info-card p {
    color: var(--text-light);
    margin-bottom: 20px;
}

/* Успешное оформление заказа */
.order-success {
    text-align: center;
}

.success-icon {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

#modal-order-id {
    font-size: 2rem;
    color: var(--primary-color);
    margin: 10px 0;
    font-weight: 700;
}

.order-info {
    background-color: var(--bg-color);
    border-radius: var(--border-radius);
    padding: 20px;
    margin: 20px 0;
}

.order-info p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    justify-content: center;
}

.order-info i {
    color: var(--primary-color);
}

.telegram-info {
    background-color: #0088cc;
    color: var(--white);
    border-radius: var(--border-radius);
    padding: 20px;
    margin: 20px 0;
}

.telegram-info h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    margin-bottom: 15px;
}

.telegram-info ol {
    text-align: left;
    margin: 15px 0;
    padding-left: 20px;
}

.telegram-info code {
    background-color: rgba(255, 255, 255, 0.2);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: monospace;
}

.actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text h2 {
        font-size: 2rem;
    }

    .hero-image {
        order: -1;
    }

    .hero-image i {
        font-size: 8rem;
        display: flex;
        width: 100% !important;
        justify-content: center;
    }

    .hero-image i img {
        width: 320px !important;
    }
    .form-actions {
        flex-direction: column;
    }

    .actions {
        flex-direction: column;
    }
}

.hidden{
    display: none !important;
}

.close{
    width: 0px;
    height: 0px;
    background: #ea9393;
    text-align: center;
    padding: 10px;
    display: flex;
    align-items: center;
    flex-direction: column-reverse;
    flex-wrap: nowrap;
    align-content: center;
    position: absolute;
    justify-content: center;
    right: 0px;
    top: 0px;
    cursor: pointer;
    color: #000000;
    font-weight: 900;
    font-family: cursive;
}

.btn-check-inn{
    position: absolute;
    bottom: 29px;
    right: 3px;
    font-size: 2rem;
    border: none;
    color: #2e7d32;
    cursor: pointer;
}

.form-group{
    position: relative !important;
}