/* ==========================================================================
   Product (color) page styles, copied verbatim from the inline <style> in
   cambria/brittanicca.php so brands/color.php matches the Cambria color pages.
   Load after /css/site-v2.css (same order as the inline block on the Cambria pages).
   ========================================================================== */
/* Product Page Styles */
.product-hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    overflow: hidden;
}

.product-hero .hero-background {
    position: absolute;
    inset: 0;
}

.product-hero .hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.product-hero .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(22, 23, 35, 0.95) 0%, rgba(22, 23, 35, 0.7) 50%, rgba(22, 23, 35, 0.4) 100%);
}

.product-hero-container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.product-hero-content {
    max-width: 550px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.2s ease;
}

.breadcrumb a:hover {
    color: var(--color-accent);
}

.breadcrumb span {
    color: rgba(255, 255, 255, 0.5);
}

.breadcrumb .current {
    color: rgba(255, 255, 255, 0.9);
}

.product-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--color-accent);
    color: var(--color-primary);
    padding: 0.375rem 1rem;
    border-radius: 50px;
    font-size: 0.8125rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.product-hero h1 {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.5rem;
    line-height: 1.1;
}

.product-tagline {
    font-size: 1.25rem;
    color: var(--color-accent);
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.product-description {
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.product-features-mini {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.product-feature-mini {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9375rem;
}

.product-feature-mini i {
    color: var(--color-accent);
}

.product-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.product-swatch-showcase {
    position: relative;
}

.main-swatch {
    width: 100%;
    max-width: 450px;
    aspect-ratio: 1;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}

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

.swatch-label {
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    text-align: center;
}

.swatch-label h3 {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 1.125rem;
    color: var(--color-primary);
    margin: 0;
}

.swatch-label p {
    font-size: 0.75rem;
    color: var(--color-gray);
    margin: 0.25rem 0 0;
}

@media (max-width: 968px) {
    .product-hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .product-hero-content {
        max-width: 100%;
    }

    .product-features-mini {
        max-width: 400px;
        margin: 0 auto 2rem;
    }

    .product-cta {
        justify-content: center;
    }

    .product-swatch-showcase {
        order: -1;
    }

    .main-swatch {
        max-width: 350px;
        margin: 0 auto;
    }
}

/* Product Details Section */
.product-details {
    padding: 5rem 0;
    background: #fff;
}

.product-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.product-specs h2 {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 2rem;
    font-weight: 500;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
}

.specs-table tr {
    border-bottom: 1px solid #eee;
}

.specs-table td {
    padding: 1rem 0;
}

.specs-table td:first-child {
    font-weight: 500;
    color: var(--color-primary);
    width: 40%;
}

.specs-table td:last-child {
    color: var(--color-gray);
}

.product-applications h2 {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 2rem;
    font-weight: 500;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
}

.applications-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.applications-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 0;
    font-size: 1rem;
    color: var(--color-secondary);
}

.applications-list li i {
    color: var(--color-accent);
    font-size: 1.25rem;
    margin-top: 0.125rem;
}

@media (max-width: 768px) {
    .product-details-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

/* Gallery Section */
.product-gallery {
    padding: 5rem 0;
    background: var(--color-light);
}

.gallery-header {
    text-align: center;
    margin-bottom: 3rem;
}

.gallery-header h2 {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 500;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Related Designs */
.related-designs {
    padding: 5rem 0;
    background: #fff;
}

.related-header {
    text-align: center;
    margin-bottom: 3rem;
}

.related-header h2 {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 500;
    color: var(--color-primary);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.related-card {
    background: var(--color-light);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
}

.related-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.related-card-image {
    aspect-ratio: 1;
    overflow: hidden;
}

.related-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-card-content {
    padding: 1rem;
    text-align: center;
}

.related-card h3 {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-primary);
    margin: 0;
}

@media (max-width: 768px) {
    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Quote Form Section */
.quote-section {
    padding: 5rem 0;
    background: var(--color-primary);
}

.quote-container {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.quote-container h2 {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 2.25rem;
    font-weight: 500;
    color: #fff;
    margin-bottom: 1rem;
}

.quote-container > p {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2rem;
}

.quote-form {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
}

.quote-form .form-group {
    margin-bottom: 1rem;
    text-align: left;
}

.quote-form label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-secondary);
    margin-bottom: 0.375rem;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 0.9375rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fff;
    transition: border-color 0.2s ease;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
    outline: none;
    border-color: var(--color-accent);
}

/* FAQ Section */
.faq-section {
    padding: 5rem 0;
    background: var(--color-light);
}

.faq-header {
    text-align: center;
    margin-bottom: 3rem;
}

.faq-header h2 {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 2.25rem;
    font-weight: 500;
    color: var(--color-primary);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}
