/* Product page styles */
.product-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Back button */
.back-button-container {
    margin-bottom: 30px;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(168, 85, 247, 0.1);
    border: 1px solid rgba(168, 85, 247, 0.2);
    color: #c084fc;
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.back-btn:hover {
    background: rgba(168, 85, 247, 0.2);
    transform: translateX(-4px);
}

.back-btn svg {
    width: 18px;
    height: 18px;
}

/* Product layout */
.product-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
}

/* Product info left side */
.product-info {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(168, 85, 247, 0.15);
    border-radius: 24px;
    padding: 40px;
}

.product-header {
    margin-bottom: 32px;
}

.product-title {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #ffffff, #c084fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.product-description {
    font-size: 16px;
    color: #aaa;
    line-height: 1.6;
}

.product-section {
    margin-bottom: 32px;
}

.product-section h3 {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.product-section h3 svg {
    width: 24px;
    height: 24px;
    color: #a855f7;
}

.features-list, .perks-list {
    list-style: none;
    padding: 0;
}

.features-list li, .perks-list li {
    padding: 10px 0;
    padding-left: 28px;
    position: relative;
    color: #ccc;
    font-size: 15px;
    border-bottom: 1px solid rgba(168, 85, 247, 0.08);
}

.features-list li::before, .perks-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #22c55e;
    font-weight: bold;
}

/* Product sidebar right side */
.product-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.price-card {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.05), rgba(124, 58, 237, 0.05));
    border: 1px solid rgba(168, 85, 247, 0.2);
    border-radius: 24px;
    padding: 32px;
    margin-bottom: 24px;
}

.price-label {
    font-size: 14px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.price-value {
    font-size: 56px;
    font-weight: 900;
    color: #c084fc;
    margin-bottom: 24px;
}

.price-value small {
    font-size: 20px;
    font-weight: 600;
    color: #a855f7;
}

.duration-info {
    background: rgba(168, 85, 247, 0.08);
    border-radius: 12px;
    padding: 12px;
    text-align: center;
    margin-bottom: 24px;
}

.duration-info span {
    color: #c084fc;
    font-weight: 600;
}

/* Payment methods */
.payment-methods {
    margin-bottom: 24px;
}

.payment-methods-title {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 16px;
}

.payment-options {
    display: flex;
    gap: 16px;
}

.payment-option {
    flex: 1;
    position: relative;
}

.payment-option input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.payment-option label {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid rgba(168, 85, 247, 0.2);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.payment-option input:checked + label {
    border-color: #a855f7;
    background: rgba(168, 85, 247, 0.1);
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.2);
}

.payment-option label svg {
    width: 32px;
    height: 32px;
    color: #c084fc;
}

.payment-option label span {
    font-size: 14px;
    font-weight: 500;
    color: #ccc;
}

.payment-option input:checked + label span {
    color: #c084fc;
}

.buy-btn {
    width: 100%;
    background: linear-gradient(135deg, #a855f7, #7c3aed);
    border: none;
    color: white;
    padding: 16px;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    margin-bottom: 16px;
}

.buy-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(168, 85, 247, 0.4);
}

.buy-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.security-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 12px;
    color: #666;
    text-align: center;
}

.security-note svg {
    width: 16px;
    height: 16px;
}

/* Slots info */
.slots-info {
    background: rgba(168, 85, 247, 0.05);
    border: 1px solid rgba(168, 85, 247, 0.15);
    border-radius: 16px;
    padding: 20px;
}

.slots-info h4 {
    font-size: 14px;
    color: #c084fc;
    margin-bottom: 12px;
}

.slots-info p {
    font-size: 13px;
    color: #888;
    line-height: 1.5;
}

/* Responsive */
@media (max-width: 968px) {
    .product-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .product-sidebar {
        position: static;
    }
    
    .product-title {
        font-size: 32px;
    }
    
    .product-info {
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .payment-options {
        flex-direction: column;
    }
    
    .price-value {
        font-size: 42px;
    }
}





.product-info-message {
    background: rgba(168, 85, 247, 0.08);
    border: 1px solid rgba(168, 85, 247, 0.15);
    border-radius: 12px;
    padding: 12px 16px;
    margin-top: 16px;
    font-size: 13px;
    color: #c084fc;
}

/* Убираем псевдоэлемент с эмодзи */
.product-info-message::before {
    content: none;
}

/* Стили для скидки на странице товара */
.price-value.has-sale {
    display: flex;
    align-items: baseline;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.price-value .old-price {
    font-size: 32px;
    font-weight: 600;
    color: #888;
    text-decoration: line-through;
}

.price-value .old-price small {
    font-size: 16px;
    color: #666;
}

.price-value .new-price {
    font-size: 56px;
    font-weight: 900;
    color: #c084fc;
}

.price-value .new-price small {
    font-size: 20px;
    font-weight: 600;
    color: #a855f7;
}

.discount-badge {
    display: inline-block;
    background: linear-gradient(135deg, #a855f7, #7c3aed);
    color: white;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 700;
    margin-left: 10px;
    box-shadow: 0 2px 10px rgba(168, 85, 247, 0.3);
}

@media (max-width: 600px) {
    .price-value.has-sale {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }
    
    .price-value .old-price {
        font-size: 24px;
    }
    
    .price-value .new-price {
        font-size: 40px;
    }
    
    .discount-badge {
        margin-left: 0;
        font-size: 14px;
        padding: 4px 12px;
    }
}