/* Основные стили страницы */
.order-success-page {
    background: linear-gradient(to bottom, #ffffff 0%, #f9f9f9 50%, #ffffff 100%);
    padding: 3rem 0;
    min-height: 100vh;
}

/* Заголовок успеха */
.success-header {
    text-align: center;
    margin-bottom: 2rem;
}

.success-icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 6rem;
    height: 6rem;
    background: linear-gradient(135deg, #C9A961 0%, #A88B4D 100%);
    position: relative;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.success-icon-wrapper:hover {
    box-shadow: 0 0 30px rgba(201, 169, 97, 0.3);
}

.success-icon-wrapper svg {
    width: 3rem;
    height: 3rem;
    color: white;
    stroke-width: 3;
}

.success-title {
    color: #2E1500;
    margin-bottom: 0.75rem;
    font-size: 2rem;
}

.success-subtitle {
    font-size: 1.125rem;
    color: rgba(46, 21, 0, 0.7);
    margin-bottom: 0.5rem;
}

.success-description {
    color: rgba(46, 21, 0, 0.6);
}

/* Карточка номера заказа */
.order-number-card {
    background: linear-gradient(to bottom right, rgba(201, 169, 97, 0.1) 0%, rgba(201, 169, 97, 0.05) 50%, transparent 100%);
    border: 2px solid #C9A961;
    padding: 1.5rem;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.order-number-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 8rem;
    height: 8rem;
    background: radial-gradient(circle, rgba(201, 169, 97, 0.2) 0%, transparent 70%);
    filter: blur(40px);
}

.order-number-content {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.order-info-block {
    display: flex;
    flex-direction: column;
}

.order-label {
    font-size: 0.875rem;
    color: rgba(46, 21, 0, 0.6);
    margin-bottom: 0.25rem;
}

.order-number {
    font-size: 1.75rem;
    color: #2E1500;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.order-date {
    font-size: 0.875rem;
    color: rgba(46, 21, 0, 0.6);
}

.order-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

/* Сетка информационных карточек */
.info-cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.info-card {
    background: white;
    border: 1px solid #e5e7eb;
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.info-card:hover {
    border-color: rgba(201, 169, 97, 0.3);
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(to bottom, #C9A961 0%, #A88B4D 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.info-card:hover::before {
    opacity: 1;
}

.info-card-full {
    grid-column: 1 / -1;
}

.info-card-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.info-card-icon {
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, #C9A961 0%, #A88B4D 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-card-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    /*color: white;*/
}

.info-card-title-block {
    flex: 1;
}

.info-card-title {
    color: #2E1500;
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.gold-underline {
    height: 2px;
    width: 3rem;
    background: linear-gradient(to right, #C9A961 0%, transparent 100%);
}

.info-card-content {
    margin-left: 4rem;
}

.info-details-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.info-detail-item {
    display: flex;
    flex-direction: column;
}

.info-detail-label {
    font-size: 0.875rem;
    color: rgba(46, 21, 0, 0.6);
    margin-bottom: 0.25rem;
}

.info-detail-value {
    color: #2E1500;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #C9A961;
}

.delivery-time-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.delivery-time-row svg {
    width: 1rem;
    height: 1rem;
    color: #C9A961;
}

.customer-info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-left: 4rem;
}

/* Секция товаров заказа */
.order-items-section {
    background: white;
    border: 1px solid #e5e7eb;
    padding: 1.5rem;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.order-items-section:hover {
    border-color: rgba(201, 169, 97, 0.3);
}

.section-header {
    margin-bottom: 1.5rem;
}

.section-title {
    color: #2E1500;
    margin-bottom: 0.5rem;
}

.order-items-list {
    display: flex;

    gap: 1rem;
    margin-bottom: 1.5rem;
}

.order-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid #e5e7eb;
    transition: border-color 0.3s ease;
}

.order-item:hover {
    border-color: rgba(201, 169, 97, 0.3);
}

.order-item-image {
    width: 5rem;
    height: 5rem;
    background-color: #f5f5f5;
    flex-shrink: 0;
    overflow: hidden;
}

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

.order-item-details {
    flex: 1;
}

.order-item-name {
    color: #2E1500;
    margin-bottom: 0.5rem;
}

.order-item-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.875rem;
}

.item-quantity {
    color: rgba(46, 21, 0, 0.6);
}

.item-price {
    color: #2E1500;
}

.separator-line {
    height: 1px;
    background: linear-gradient(to right, transparent 0%, rgba(201, 169, 97, 0.2) 50%, transparent 100%);
    margin: 1.5rem 0;
}

/* Итоговая сумма */
.price-summary {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-width: 28rem;
    margin-left: auto;
}

.price-row {
    display: flex;
    justify-content: space-between;
    color: rgba(46, 21, 0, 0.6);
}

.price-total-row {
    display: flex;
    justify-content: space-between;
    color: #2E1500;
}

.price-total-amount {
    font-size: 1.5rem;
}

/* Секция следующих шагов */
.next-steps-section {
    background: linear-gradient(to bottom right, #F9F6F2 0%, white 100%);
    border: 1px solid #e5e7eb;
    padding: 2rem;
    margin-bottom: 2rem;
}

.next-steps-title {
    color: #2E1500;
    margin-bottom: 1.5rem;
}

.next-steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.step-item {
    display: flex;
    gap: 1rem;
}

.step-number {
    width: 2.5rem;
    height: 2.5rem;
    background: linear-gradient(135deg, #C9A961 0%, #A88B4D 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: white;
    font-weight: 600;
}

.step-content {
    flex: 1;
}

.step-title {
    color: #2E1500;
    margin-bottom: 0.25rem;
}

.step-description {
    font-size: 0.875rem;
    color: rgba(46, 21, 0, 0.6);
}

/* Кнопки действий */
.action-buttons-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.action-button {
    background: linear-gradient(to right, #C9A961 0%, #A88B4D 100%);
    color: white;
    padding: 1rem 2rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.action-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(201, 169, 97, 0.3);
}

.action-button::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.action-button:hover::before {
    transform: translateY(0);
}

.button-content {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.button-icon {
    width: 1.25rem;
    height: 1.25rem;
}

.action-button-secondary {
    background: transparent;
    color: #2E1500;
    padding: 1rem 2rem;
    border: 2px solid #C9A961;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.action-button-secondary:hover {
    background: rgba(201, 169, 97, 0.1);
}

/* Секция поддержки */
.support-section {
    text-align: center;
}

.support-title {
    color: rgba(46, 21, 0, 0.6);
    margin-bottom: 0.75rem;
}

.support-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    font-size: 0.875rem;
}

.support-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #C9A961;
    transition: color 0.3s ease;
    text-decoration: none;
}

.support-link:hover {
    color: #A88B4D;
}

.support-link svg {
    width: 1rem;
    height: 1rem;
}

/* Адаптивность */
@media (min-width: 768px) {
    .info-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .order-number-content {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .customer-info-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .next-steps-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .action-buttons-wrapper {
        flex-direction: row;
    }
}

@media (max-width: 767px) {
    .order-success-page {
        padding: 1.5rem 0;
    }

    .order-number {
        font-size: 1.25rem;
    }

    .info-card {
        padding: 1rem;
    }

    .info-card-content {
        margin-left: 0;
        margin-top: 1rem;
    }

    .customer-info-grid {
        margin-left: 0;
        margin-top: 1rem;
    }

    .success-icon-wrapper {
        width: 5rem;
        height: 5rem;
    }

    .success-icon-wrapper svg {
        width: 2.5rem;
        height: 2.5rem;
    }

    .success-title {
        font-size: 1.5rem;
    }
}
