/* ==========================================================================
   EverClear Individual Product Page Styles (Drive, Polarised, etc.)
   ========================================================================== */

/* Product Hero Section */
.product-hero {
    background: linear-gradient(135deg, #2c5aa0 0%, #1e3a8a 100%);
    color: white;
    padding: 3rem 2rem;
    text-align: center;
    margin-bottom: 3rem;
}

.product-hero .hero-content h1 {
    font-size: 2.8rem;
    margin-bottom: 0.5rem;
    color: white;
}

.product-hero .subtitle {
    font-size: 1.3rem;
    opacity: 0.95;
    margin-bottom: 0.3rem;
}

.product-hero .tagline {
    font-size: 1.1rem;
    opacity: 0.85;
    max-width: 600px;
    margin: 0 auto;
}

/* Badge for hero */
.product-hero .badge {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.badge.premium {
    background: #ffc107;
    color: #333;
}

.badge.popular {
    background: #ff6b6b;
    color: white;
}

/* Container */
.product-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem 4rem;
}

/* Product Images Grid */
.product-images {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.product-images img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* Content Sections */
.content-section {
    margin-bottom: 3rem;
}

.content-section h2 {
    color: #2c5aa0;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.content-section h3 {
    color: #2c5aa0;
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
}

.content-section h4 {
    color: #333;
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
}

.content-section p {
    line-height: 1.8;
    color: #333;
    margin-bottom: 1rem;
}

/* Feature List */
.feature-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.feature-list li {
    padding: 0.8rem 0 0.8rem 2rem;
    position: relative;
    line-height: 1.6;
}

.feature-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
    font-size: 1.2rem;
}

/* Info Boxes */
.info-box {
    background: #f8f9fa;
    border-left: 4px solid #2c5aa0;
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 5px;
}

.info-box.highlight {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-left-color: #1e3a8a;
}

.info-box.warning {
    background: #fff3cd;
    border-left-color: #ffc107;
}

.info-box h3,
.info-box h4 {
    color: #2c5aa0;
    margin-bottom: 0.8rem;
}

.info-box.warning h3,
.info-box.warning h4 {
    color: #856404;
}

.info-box p {
    margin-bottom: 0.5rem;
}

.info-box ul {
    margin-left: 1.5rem;
    margin-top: 0.5rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 3rem;
    border-radius: 10px;
    text-align: center;
    margin: 3rem 0;
}

.cta-section h2 {
    color: #2c5aa0;
    margin-bottom: 1rem;
}

.cta-section p {
    max-width: 700px;
    margin: 0 auto 2rem;
    color: #333;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
}

.btn-primary {
    background: #2c5aa0;
    color: white;
}

.btn-primary:hover {
    background: #1e3a8a;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.btn-secondary {
    background: white;
    color: #2c5aa0;
    border: 2px solid #2c5aa0;
}

.btn-secondary:hover {
    background: #2c5aa0;
    color: white;
}

/* Related Products */
.related-products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.related-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    text-decoration: none;
    color: inherit;
    transition: all 0.3s;
    border: 1px solid #e0e0e0;
}

.related-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    border-color: #2c5aa0;
}

.related-card h4 {
    color: #2c5aa0;
    margin-bottom: 0.5rem;
}

.related-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Tint Options Grid */
.tint-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.tint-card {
    text-align: center;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    border: 2px solid transparent;
    transition: all 0.3s;
}

.tint-card:hover {
    border-color: #2c5aa0;
    background: white;
}

.tint-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    border: 3px solid #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .product-hero .hero-content h1 {
        font-size: 2rem;
    }
    
    .product-images {
        grid-template-columns: 1fr;
    }
    
    .product-images img {
        height: 300px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
}
/* === Unified Blue Hero Rectangle === */
:root{ --hero-height-desktop:480px; --hero-height-mobile:340px; }
.hero,.hero-small,.product-hero{
  min-height:var(--hero-height-desktop);
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
}
.hero>*,.hero-small>*,.product-hero>*{margin:0 auto;}
@media(max-width:768px){
  .hero,.hero-small,.product-hero{
    min-height:var(--hero-height-mobile);
    padding:3rem 1.5rem;
  }
}
