/* ========================================
   Product Pages Specific Styles
   ======================================== */

/* Product Header */
.product-header {
    text-align: center;
    padding: calc(80px + var(--spacing-3xl)) 0 var(--spacing-3xl);
}

.product-header-content {
    max-width: 700px;
    margin: 0 auto;
}

.product-icon-large {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    background: rgba(201, 162, 39, 0.2);
    border-radius: var(--radius-full);
    margin-bottom: var(--spacing-lg);
}

.product-icon-large i {
    font-size: 2.5rem;
    color: var(--color-gold);
}

.page-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.25rem;
    margin-bottom: var(--spacing-lg);
}

/* Product Overview */
.product-overview {
    padding: var(--spacing-4xl) 0;
    background: var(--color-bg-primary);
}

.overview-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: var(--spacing-3xl);
    align-items: start;
}

.overview-content h2 {
    font-size: 2rem;
    margin-bottom: var(--spacing-lg);
}

.overview-content .lead {
    font-size: 1.125rem;
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-lg);
}

.key-benefits {
    background: var(--color-bg-secondary);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    margin: var(--spacing-xl) 0;
}

.key-benefits h3 {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-md);
    color: var(--color-primary);
}

.key-benefits ul {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.key-benefits li {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    color: var(--color-text-secondary);
}

.key-benefits li i {
    color: var(--color-gold);
    margin-top: 4px;
}

.key-benefits li strong {
    color: var(--color-text-primary);
}

/* Sidebar Cards */
.overview-sidebar {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
    position: sticky;
    top: 100px;
}

.sidebar-card {
    background: var(--color-bg-primary);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.sidebar-card h3 {
    font-family: var(--font-primary);
    font-size: 1.125rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
    color: var(--color-primary);
}

.sidebar-card h3 i {
    color: var(--color-gold);
}

.quote-card {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    color: var(--color-text-light);
}

.quote-card h3 {
    color: var(--color-text-light);
}

.quote-card h3 i {
    color: var(--color-gold);
}

.quote-card .form-label {
    color: rgba(255, 255, 255, 0.9);
}

.quote-card .form-control {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--color-text-light);
}

.quote-card .form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.quote-card .form-control:focus {
    border-color: var(--color-gold);
    background: rgba(255, 255, 255, 0.15);
}

.contact-card p {
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-md);
}

.contact-link {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    color: var(--color-text-primary);
    font-weight: 500;
    padding: var(--spacing-sm) 0;
    border-bottom: 1px solid var(--color-bg-tertiary);
    transition: all var(--transition-fast);
}

.contact-link:last-child {
    border-bottom: none;
}

.contact-link:hover {
    color: var(--color-gold);
    padding-left: var(--spacing-sm);
}

.contact-link i {
    color: var(--color-gold);
    width: 20px;
}

.btn-block {
    width: 100%;
}

/* Coverage Options */
.coverage-options {
    padding: var(--spacing-4xl) 0;
    background: var(--color-bg-secondary);
}

.coverage-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
}

.coverage-card {
    background: var(--color-bg-primary);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    border: 2px solid transparent;
}

.coverage-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.coverage-card:first-child {
    border-color: var(--color-gold);
}

.coverage-header {
    padding: var(--spacing-xl);
    text-align: center;
    position: relative;
}

.coverage-header.comprehensive {
    background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-dark) 100%);
    color: var(--color-primary);
}

.coverage-header.third-party-fire {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    color: var(--color-text-light);
}

.coverage-header.third-party {
    background: var(--color-bg-secondary);
    color: var(--color-text-primary);
}

.coverage-badge {
    position: absolute;
    top: var(--spacing-sm);
    right: var(--spacing-sm);
    background: var(--color-primary);
    color: var(--color-text-light);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
}

.coverage-header h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-xs);
}

.coverage-header p {
    font-size: 0.9375rem;
    opacity: 0.9;
    margin-bottom: 0;
}

.coverage-body {
    padding: var(--spacing-xl);
}

.coverage-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-xl);
}

.coverage-list li {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: 0.9375rem;
    color: var(--color-text-secondary);
}

.coverage-list li i {
    width: 16px;
    text-align: center;
}

.coverage-list li .fa-check {
    color: var(--color-success);
}

.coverage-list li.not-included {
    opacity: 0.5;
}

.coverage-list li .fa-times {
    color: var(--color-text-muted);
}

/* FAQ Section */
.faq-section {
    padding: var(--spacing-4xl) 0;
    background: var(--color-bg-primary);
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.faq-item {
    background: var(--color-bg-secondary);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid transparent;
    transition: all var(--transition-fast);
}

.faq-item:hover,
.faq-item.active {
    border-color: var(--color-gold);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-lg);
    text-align: left;
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-text-primary);
    background: none;
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.faq-question:hover {
    color: var(--color-gold);
}

.faq-question i {
    color: var(--color-gold);
    transition: transform var(--transition-base);
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-base);
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer > * {
    padding: 0 var(--spacing-lg);
}

.faq-answer > *:last-child {
    padding-bottom: var(--spacing-lg);
}

.faq-answer ul,
.faq-answer ol {
    padding-left: calc(var(--spacing-lg) + var(--spacing-lg));
    list-style-position: outside;
}

.faq-answer ul {
    list-style-type: disc;
}

.faq-answer ol {
    list-style-type: decimal;
}

.faq-answer li {
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-xs);
}

/* Feature Grid (for product detail pages) */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
    margin-top: var(--spacing-3xl);
}

.feature-card {
    text-align: center;
    padding: var(--spacing-xl);
    background: var(--color-bg-primary);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--color-gold), var(--color-gold-dark));
    border-radius: var(--radius-full);
    margin-bottom: var(--spacing-md);
}

.feature-icon i {
    font-size: 1.5rem;
    color: var(--color-text-light);
}

.feature-card h4 {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-sm);
}

.feature-card p {
    color: var(--color-text-secondary);
    font-size: 0.9375rem;
    margin-bottom: 0;
}

/* Related Products */
.related-products {
    padding: var(--spacing-4xl) 0;
    background: var(--color-bg-secondary);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-xl);
}

/* Responsive */
@media (max-width: 992px) {
    .overview-grid {
        grid-template-columns: 1fr;
    }

    .overview-sidebar {
        position: static;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .sidebar-card {
        flex: 1;
        min-width: 280px;
    }

    .coverage-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .product-icon-large {
        width: 80px;
        height: 80px;
    }

    .product-icon-large i {
        font-size: 2rem;
    }

    .overview-sidebar {
        flex-direction: column;
    }

    .sidebar-card {
        min-width: 100%;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }
}

/* Product Comparison Table */
.comparison-table-wrapper {
    overflow-x: auto;
    margin: var(--spacing-xl) 0;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--color-bg-primary);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.comparison-table th,
.comparison-table td {
    padding: var(--spacing-md) var(--spacing-lg);
    text-align: left;
    border-bottom: 1px solid var(--color-bg-tertiary);
}

.comparison-table th {
    background: var(--color-primary);
    color: var(--color-text-light);
    font-weight: 600;
}

.comparison-table th:first-child {
    text-align: left;
}

.comparison-table th:not(:first-child) {
    text-align: center;
}

.comparison-table td:not(:first-child) {
    text-align: center;
}

.comparison-table tr:hover {
    background: var(--color-bg-secondary);
}

.comparison-table .check {
    color: var(--color-success);
}

.comparison-table .cross {
    color: var(--color-text-muted);
}

/* Process Steps */
.process-section {
    padding: var(--spacing-4xl) 0;
}

.process-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-top: var(--spacing-3xl);
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: var(--color-bg-tertiary);
    z-index: 0;
}

.process-step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 1;
    padding: 0 var(--spacing-md);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: var(--color-bg-primary);
    border: 3px solid var(--color-gold);
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-gold);
    margin-bottom: var(--spacing-md);
}

.process-step h4 {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-sm);
}

.process-step p {
    color: var(--color-text-secondary);
    font-size: 0.9375rem;
}

@media (max-width: 768px) {
    .process-steps {
        flex-direction: column;
        gap: var(--spacing-xl);
    }

    .process-steps::before {
        top: 0;
        bottom: 0;
        left: 39px;
        right: auto;
        width: 2px;
        height: auto;
    }

    .process-step {
        display: flex;
        text-align: left;
        gap: var(--spacing-lg);
        align-items: flex-start;
    }

    .step-number {
        width: 60px;
        height: 60px;
        font-size: 1.25rem;
        flex-shrink: 0;
    }
}
