/*
Theme Name: Astra Child
Template: astra
Description: Дочерняя тема для Astra с кастомными шаблонами заявок на подарки
Author: Ваше имя
Version: 1.0.0
*/

/* Стили для страницы заявки на подарок */
.gift-request-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

.gift-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 40px;
    border-radius: 20px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.gift-header h1 {
    margin: 0 0 10px 0;
    font-size: 32px;
    color: white;
}

.gift-subtitle {
    opacity: 0.9;
    font-size: 18px;
}

.gift-info-box {
    background: white;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.gift-info-row {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.gift-info-row:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.gift-info-label {
    font-weight: 600;
    color: #667eea;
    margin-bottom: 8px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.gift-info-value {
    font-size: 18px;
    color: #333;
}

.progress-section {
    background: #f8f9ff;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    text-align: center;
}

.progress-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.progress-bar-container {
    background: #e0e0e0;
    border-radius: 50px;
    height: 30px;
    overflow: hidden;
    margin-bottom: 15px;
    position: relative;
}

.progress-bar-fill {
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    height: 100%;
    border-radius: 50px;
    transition: width 0.5s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 14px;
}

.progress-text {
    font-size: 24px;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 10px;
}

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

.share-section {
    background: white;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    text-align: center;
}

.share-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.share-description {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.share-link-box {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.share-link-input {
    flex: 1;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 14px;
    font-family: monospace;
}

.copy-button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s;
    font-size: 16px;
}

.copy-button:hover {
    transform: translateY(-2px);
}

.copy-button:active {
    transform: translateY(0);
}

.copy-button.copied {
    background: #4caf50;
}

.instructions {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.instructions h3 {
    margin-top: 0;
    color: #856404;
}

.instructions ol {
    margin: 10px 0;
    padding-left: 20px;
}

.instructions li {
    margin-bottom: 8px;
    color: #856404;
}

.comments-section {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.comments-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
}

/* Стили для комментариев WordPress */
.comment-list {
    list-style: none;
    padding: 0;
}

.comment {
    border-bottom: 1px solid #f0f0f0;
    padding: 20px 0;
}

.comment:last-child {
    border-bottom: none;
}

.comment-author {
    font-weight: 600;
    color: #667eea;
    margin-bottom: 5px;
}

.comment-content {
    color: #333;
    line-height: 1.6;
}

/* Форма комментариев */
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    font-size: 14px;
}

.comment-form input[type="submit"] {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    font-size: 16px;
}

.comment-form input[type="submit"]:hover {
    opacity: 0.9;
}

@media (max-width: 768px) {
    .gift-header {
        padding: 30px 20px;
    }
    
    .gift-header h1 {
        font-size: 24px;
    }
    
    .share-link-box {
        flex-direction: column;
    }
    
    .copy-button {
        width: 100%;
    }
}