/* Progressive Lenses Index Page Styles */

/* Hero Section */
.hero-small {
    background: linear-gradient(135deg, #2c5aa0 0%, #1e3a8a 100%);
    color: white;
    text-align: center;
    padding: 4rem 2rem;
    margin-bottom: 3rem;
}

.hero-small h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.hero-small p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
    color: white;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem 3rem;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

/* Product Card */
.product-card {
    display: flex;
    flex-direction: column;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Badge for Most Popular */
.badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #2c5aa0;
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 5px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 10;
}

/* Product Image */
.product-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    object-position: center 35%;
}

/* Product Content */
.product-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding: 1.5rem;
}

.product-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.tagline {
    font-size: 0.95rem;
    color: #6b7280;
    font-style: italic;
    margin-bottom: 0.75rem;
}

.description {
    flex-grow: 1;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #4b5563;
    margin-bottom: 1rem;
}

/* Tech Highlight Box */
.tech-highlight {
    margin-top: auto;
    background: #f3f4f6;
    border-left: 3px solid #2c5aa0;
    padding: 0.75rem;
    border-radius: 5px;
    margin-bottom: 1rem;
}

.tech-highlight p {
    font-size: 0.85rem;
    color: #374151;
    margin: 0;
    line-height: 1.5;
}

/* Button */
.btn-view {
    display: block;
    width: 100%;
    background: #2c5aa0;
    color: white;
    text-align: center;
    padding: 0.75rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s ease;
}

.btn-view:hover {
    background: #1e3a8a;
}

/* Comparison CTA Section */
.comparison-cta {
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    border: 2px solid #d1d5db;
    border-radius: 8px;
    padding: 3rem 2rem;
    text-align: center;
    margin-top: 3rem;
}

.comparison-cta h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
}

.comparison-cta p {
    font-size: 1.1rem;
    color: #4b5563;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.comparison-cta .btn-view {
    max-width: 400px;
    margin: 0 auto;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-small h1 {
        font-size: 2rem;
    }

    .hero-small p {
        font-size: 1rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .comparison-cta {
        padding: 2rem 1.5rem;
    }

    .comparison-cta h2 {
        font-size: 1.5rem;
    }

    .comparison-cta p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem 2rem;
    }

    .hero-small {
        padding: 3rem 1.5rem;
    }

    .product-content h3 {
        font-size: 1.15rem;
    }
}
/* === 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;
  }
}
