/* Стили для страниц сайта */


/* Общие стили для страниц */

.page-content {
    padding: 40px 0;
}

.page-title {
    text-align: center;
    margin-bottom: 40px;
}

.page-title h1 {
    font-size: 32px;
    color: #f4d03f;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.page-title h1::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background-color: #d4af37;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}


/* Стили для страницы О компании */

.about-page-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    margin-bottom: 40px;
    background-color: #1a1a1a;
}

.about-image {
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid #d4af37;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

.about-text h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #f4d03f;
}

.about-text h3 {
    font-size: 20px;
    margin: 20px 0 10px;
    color: #f4d03f;
}

.about-text p {
    margin-bottom: 15px;
    line-height: 1.7;
    color: #ccc;
}

.about-text ul {
    list-style-type: disc;
    margin-left: 20px;
    margin-bottom: 20px;
}

.about-text ul li {
    margin-bottom: 10px;
    color: #ccc;
}


/* Стили для страницы Контакты */

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background-color: #1a1a1a;
}

.contact-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.contact-block {
    background-color: #1a1a1a;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    border: 1px solid #d4af37;
}

.contact-block h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #f4d03f;
    display: flex;
    align-items: center;
}

.contact-block h3 i {
    color: #ff3366;
    margin-right: 10px;
}

.contact-block p {
    margin-bottom: 8px;
    color: #ccc;
}

.contact-block a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-block a:hover {
    color: #ff3366;
}

.contact-form-container {
    background-color: #1a1a1a;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid #d4af37;
}

.contact-form-container h3 {
    font-size: 22px;
    margin-bottom: 20px;
    text-align: center;
    color: #f4d03f;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #ccc;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #444444;
    border-radius: 4px;
    font-family: inherit;
    background-color: #444444;
    color: #ccc;
}

.contact-form textarea {
    resize: vertical;
}

.contact-form .submit-button {
    margin-top: 10px;
}


/* Стили для страницы Доставка и оплата */

.delivery-content {
    max-width: 900px;
    margin: 0 auto;
    background-color: #1a1a1a;
}

.delivery-method,
.payment-method {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    background-color: #1a1a1a;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    border: 1px solid #d4af37;
}

.delivery-icon,
.payment-icon {
    font-size: 30px;
    color: #ff3366;
    margin-right: 20px;
    width: 50px;
    text-align: center;
}

.delivery-details,
.payment-details {
    flex: 1;
}

.delivery-details h3,
.payment-details h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #f4d03f;
}

.delivery-details p,
.payment-details p {
    margin-bottom: 5px;
    color: #ccc;
}

.delivery-info h2,
.delivery-faq h2 {
    font-size: 24px;
    margin: 40px 0 20px;
    position: relative;
    padding-bottom: 10px;
    color: #f4d03f;
}

.delivery-info h2::after,
.delivery-faq h2::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 2px;
    background-color: #d4af37;
    bottom: 0;
    left: 0;
}

.payment-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.faq-item {
    background-color: #1a1a1a;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    margin-bottom: 20px;
    border: 1px solid #d4af37;
}

.faq-item h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #f4d03f;
}


/* Стили для страницы товара */

.breadcrumbs {
    margin-bottom: 30px;
    font-size: 14px;
    color: #ccc;
}

.breadcrumbs a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumbs a:hover {
    color: #ff3366;
}

.breadcrumbs span {
    color: #ccc;
}

.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
    background-color: #1a1a1a;
}

.product-gallery {
    position: relative;
}

.main-image {
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid #d4af37;
}

.main-image img {
    width: 100%;
    height: auto;
    display: block;
}

.gallery-thumbs {
    display: flex;
    gap: 10px;
}

.thumb {
    width: 80px;
    height: 80px;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.3s;
}

.thumb.active {
    border-color: #ff3366;
}

.thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info-detail h1 {
    font-size: 28px;
    margin-bottom: 15px;
    color: #f4d03f;
}

.product-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    color: #ccc;
}

.availability.in-stock {
    color: #4CAF50;
}

.product-price {
    margin-bottom: 25px;
}

.current-price {
    font-size: 28px;
    font-weight: 700;
    color: #ff3366;
}

.old-price {
    font-size: 20px;
    text-decoration: line-through;
    color: #999;
    margin-left: 10px;
}

.discount {
    display: inline-block;
    background-color: #ff3366;
    color: #d4af37;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 14px;
    margin-left: 10px;
}

.product-variants,
.product-colors,
.product-quantity {
    margin-bottom: 25px;
}

.product-variants h3,
.product-colors h3,
.product-quantity h3 {
    font-size: 16px;
    margin-bottom: 10px;
    color: #f4d03f;
}

.variant-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.variant-option {
    padding: 8px 15px;
    border: 1px solid #444444;
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.3s;
    background-color: #444444;
    color: #ccc;
}

.variant-option.active {
    border-color: #ff3366;
    background-color: #1a1a1a;
}

.color-options {
    display: flex;
    gap: 10px;
}

.color-option {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.3s;
    position: relative;
    background-color: #444444;
}

.color-option.active::after {
    content: '';
    position: absolute;
    width: 38px;
    height: 38px;
    border: 2px solid #ff3366;
    border-radius: 50%;
    top: -4px;
    left: -4px;
}

.color-option:hover {
    transform: scale(1.1);
}

.quantity-selector {
    display: flex;
    align-items: center;
    max-width: 120px;
}

.quantity-btn {
    width: 30px;
    height: 30px;
    background-color: #444444;
    border: 1px solid #d4af37;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d4af37;
    transition: all 0.3s;
}

.quantity-input {
    width: 60px;
    height: 30px;
    border: 1px solid #444444;
    text-align: center;
    background-color: #444444;
    color: #ccc;
}

.product-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.add-to-cart-btn {
    flex: 1;
    background-color: #ff3366;
    color: #d4af37;
    border: none;
    padding: 12px 20px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
    text-align: center;
    text-decoration: none;
}

.add-to-cart-btn:hover {
    background-color: #e62e5c;
}

.wishlist-btn {
    width: 45px;
    height: 45px;
    background-color: #444444;
    border: 1px solid #d4af37;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #d4af37;
    transition: all 0.3s;
}

.wishlist-btn:hover {
    background-color: #d4af37;
    color: #1a1a1a;
}

.product-delivery-info {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
    color: #ccc;
}

.delivery-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #ccc;
}

.delivery-item i {
    color: #ff3366;
}

.product-tabs {
    margin-bottom: 60px;
    background-color: #1a1a1a;
}

.tabs-header {
    display: flex;
    border-bottom: 1px solid #444444;
    margin-bottom: 30px;
}

.tab-btn {
    padding: 15px 25px;
    cursor: pointer;
    font-weight: 600;
    color: #ccc;
    position: relative;
    transition: color 0.3s;
}

.tab-btn.active {
    color: #ff3366;
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 3px;
    background-color: #ff3366;
    bottom: -1px;
    left: 0;
}

.tab-content {
    display: none;
    background-color: #1a1a1a;
}

.tab-content.active {
    display: block;
}

.tab-content h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #f4d03f;
}

.characteristics-list {
    list-style: none;
    color: #ccc;
}

.characteristics-list li {
    display: flex;
    padding: 10px 0;
    border-bottom: 1px solid #444444;
}

.char-name {
    width: 40%;
    font-weight: 600;
    color: #ccc;
}

.review-item {
    background-color: #1a1a1a;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #d4af37;
}

.review-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    color: #ccc;
}

.reviewer-name {
    font-weight: 600;
}

.review-rating {
    color: #ffc107;
}

.review-date {
    color: #999;
    font-size: 14px;
}

.add-review {
    margin-top: 40px;
}

.add-review h3 {
    font-size: 20px;
    margin-bottom: 20px;
}

.rating-select {
    color: #ccc;
    font-size: 24px;
    cursor: pointer;
}

.rating-select .fas {
    color: #ffc107;
}

.related-products h2 {
    font-size: 24px;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.related-products h2::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background-color: #ff3366;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}


/* Адаптивные стили */

@media (max-width: 991px) {
    .about-page-content {
        grid-template-columns: 1fr;
    }
    .contact-content {
        grid-template-columns: 1fr;
    }
    .product-detail {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .contact-info {
        grid-template-columns: 1fr;
    }
    .payment-methods {
        grid-template-columns: 1fr;
    }
    .tabs-header {
        flex-direction: column;
        border-bottom: none;
    }
    .tab-btn {
        border-bottom: 1px solid #ddd;
    }
    .tab-btn.active::after {
        display: none;
    }
}