/* SuperFlow Air Legacy Pages - Shared Stylesheet
   Brand colors: Dark Blue (#1a2744), Medium Blue (#2c5282), Light Blue (#3182ce),
   Accent Red (#e53e3e), White (#ffffff), Light Gray (#f7fafc)
   ---------------------------------------------------------------- */

/* Reset and Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: #2d3748;
    background-color: #ffffff;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: #2c5282;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #3182ce;
    text-decoration: underline;
}

/* Layout */
.sf-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.sf-header {
    background: linear-gradient(135deg, #1a2744 0%, #2c5282 100%);
    color: #ffffff;
    padding: 20px 0;
    border-bottom: 3px solid #e53e3e;
}

.sf-header .sf-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

.sf-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #ffffff;
}

.sf-logo:hover {
    color: #ffffff;
    text-decoration: none;
}

.sf-logo-img {
    height: 50px;
    width: auto;
}

.sf-logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.sf-logo-text span {
    color: #e53e3e;
}

.sf-nav {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.sf-nav a {
    color: #e2e8f0;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 5px 0;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
}

.sf-nav a:hover {
    color: #ffffff;
    border-bottom-color: #e53e3e;
    text-decoration: none;
}

/* Breadcrumbs */
.sf-breadcrumb {
    padding: 12px 0;
    font-size: 0.85rem;
    color: #718096;
    border-bottom: 1px solid #e2e8f0;
}

.sf-breadcrumb a {
    color: #4a5568;
}

.sf-breadcrumb a:hover {
    color: #2c5282;
}

.sf-breadcrumb .separator {
    margin: 0 8px;
    color: #cbd5e0;
}

/* Product Page Layout */
.sf-product {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 40px 0;
}

.sf-product-gallery {
    position: relative;
}

.sf-product-main-image {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    background: #f7fafc;
    padding: 20px;
    margin-bottom: 15px;
}

.sf-product-main-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.sf-product-thumbnails {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.sf-product-thumbnails img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border: 2px solid #e2e8f0;
    border-radius: 4px;
    cursor: pointer;
    transition: border-color 0.2s;
}

.sf-product-thumbnails img:hover,
.sf-product-thumbnails img.active {
    border-color: #2c5282;
}

.sf-product-info {
    padding-top: 10px;
}

.sf-product-info h1 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1a2744;
    margin-bottom: 10px;
    line-height: 1.3;
}

.sf-product-brand {
    font-size: 0.9rem;
    color: #718096;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.sf-product-sku {
    font-size: 0.85rem;
    color: #a0aec0;
    margin-bottom: 15px;
}

.sf-product-sku strong {
    color: #4a5568;
}

.sf-product-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
}

.sf-stars {
    color: #ecc94b;
    font-size: 1.1rem;
    letter-spacing: 2px;
}

.sf-rating-count {
    font-size: 0.85rem;
    color: #718096;
}

.sf-product-price {
    margin-bottom: 20px;
    display: flex;
    align-items: baseline;
    gap: 12px;
}

.sf-price-current {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1a2744;
}

.sf-price-compare {
    font-size: 1.1rem;
    color: #a0aec0;
    text-decoration: line-through;
}

.sf-price-badge {
    background: #e53e3e;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 3px;
    text-transform: uppercase;
}

/* Discontinued Notice */
.sf-discontinued {
    background: #fff5f5;
    border: 1px solid #fed7d7;
    border-left: 4px solid #e53e3e;
    padding: 15px 20px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.sf-discontinued p {
    font-size: 0.9rem;
    color: #c53030;
    font-weight: 500;
    margin: 0;
}

.sf-discontinued p strong {
    display: block;
    font-size: 1rem;
    margin-bottom: 4px;
}

/* Product Description */
.sf-product-description {
    padding: 40px 0;
    border-top: 1px solid #e2e8f0;
}

.sf-product-description h2 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a2744;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e53e3e;
    display: inline-block;
}

.sf-product-description p {
    margin-bottom: 15px;
    line-height: 1.8;
    color: #4a5568;
}

.sf-product-description ul {
    margin: 15px 0;
    padding-left: 25px;
}

.sf-product-description li {
    margin-bottom: 8px;
    line-height: 1.6;
    color: #4a5568;
}

.sf-product-description strong,
.sf-product-description b {
    color: #2d3748;
}

/* Specifications Table */
.sf-specs {
    margin: 30px 0;
}

.sf-specs h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a2744;
    margin-bottom: 15px;
}

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

.sf-specs-table tr:nth-child(even) {
    background: #f7fafc;
}

.sf-specs-table td {
    padding: 10px 15px;
    border-bottom: 1px solid #e2e8f0;
    font-size: 0.9rem;
}

.sf-specs-table td:first-child {
    font-weight: 600;
    color: #2d3748;
    width: 40%;
}

.sf-specs-table td:last-child {
    color: #4a5568;
}

/* Collection Page Grid */
.sf-collection-header {
    padding: 30px 0;
    text-align: center;
}

.sf-collection-header h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #1a2744;
    margin-bottom: 10px;
}

.sf-collection-header p {
    color: #718096;
    font-size: 1rem;
}

.sf-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 25px;
    padding: 20px 0 60px;
}

.sf-product-card {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    background: #ffffff;
    text-decoration: none;
    color: inherit;
    display: block;
}

.sf-product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    color: inherit;
}

.sf-product-card-image {
    aspect-ratio: 1;
    overflow: hidden;
    background: #f7fafc;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sf-product-card-image img {
    max-height: 100%;
    object-fit: contain;
}

.sf-product-card-info {
    padding: 15px;
}

.sf-product-card-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1a2744;
    margin-bottom: 5px;
    line-height: 1.4;
}

.sf-product-card-brand {
    font-size: 0.8rem;
    color: #a0aec0;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sf-product-card-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a2744;
}

.sf-product-card-price .sf-price-compare {
    font-size: 0.85rem;
    margin-left: 5px;
}

.sf-product-card-status {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: #718096;
    background: #edf2f7;
    padding: 2px 8px;
    border-radius: 3px;
    margin-top: 5px;
}

/* Blog Layout */
.sf-blog-header {
    padding: 30px 0;
    text-align: center;
    border-bottom: 1px solid #e2e8f0;
}

.sf-blog-header h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #1a2744;
}

.sf-blog-list {
    padding: 40px 0;
    max-width: 800px;
    margin: 0 auto;
}

.sf-blog-card {
    padding: 25px 0;
    border-bottom: 1px solid #e2e8f0;
}

.sf-blog-card h2 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.sf-blog-card h2 a {
    color: #1a2744;
}

.sf-blog-card h2 a:hover {
    color: #2c5282;
}

.sf-blog-card .sf-blog-meta {
    font-size: 0.85rem;
    color: #a0aec0;
    margin-bottom: 10px;
}

.sf-blog-card p {
    color: #4a5568;
    line-height: 1.7;
}

.sf-blog-card .sf-read-more {
    display: inline-block;
    margin-top: 10px;
    color: #2c5282;
    font-weight: 500;
    font-size: 0.9rem;
}

/* Blog Post */
.sf-blog-post {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 0;
}

.sf-blog-post h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #1a2744;
    margin-bottom: 10px;
    line-height: 1.3;
}

.sf-blog-post .sf-blog-meta {
    font-size: 0.9rem;
    color: #a0aec0;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e2e8f0;
}

.sf-blog-post .sf-blog-content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #4a5568;
}

.sf-blog-post .sf-blog-content p {
    margin-bottom: 18px;
}

.sf-blog-post .sf-blog-content h2 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #1a2744;
    margin: 30px 0 15px;
}

.sf-blog-post .sf-blog-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2d3748;
    margin: 25px 0 10px;
}

.sf-blog-post .sf-blog-content ul,
.sf-blog-post .sf-blog-content ol {
    margin: 15px 0;
    padding-left: 25px;
}

.sf-blog-post .sf-blog-content li {
    margin-bottom: 8px;
}

.sf-blog-post .sf-blog-content img {
    border-radius: 8px;
    margin: 20px 0;
}

/* About Page */
.sf-about {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 0;
}

.sf-about h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #1a2744;
    margin-bottom: 20px;
}

.sf-about p {
    margin-bottom: 18px;
    line-height: 1.8;
    color: #4a5568;
}

/* Footer */
.sf-footer {
    background: #1a2744;
    color: #a0aec0;
    padding: 40px 0 20px;
    margin-top: 60px;
}

.sf-footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.sf-footer h6 {
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.sf-footer ul {
    list-style: none;
    padding: 0;
}

.sf-footer ul li {
    margin-bottom: 8px;
}

.sf-footer ul li a {
    color: #a0aec0;
    font-size: 0.85rem;
    transition: color 0.2s;
}

.sf-footer ul li a:hover {
    color: #ffffff;
    text-decoration: none;
}

.sf-footer-bottom {
    border-top: 1px solid #2d3748;
    padding-top: 20px;
    text-align: center;
    font-size: 0.8rem;
    color: #718096;
}

.sf-footer-bottom p {
    margin-bottom: 5px;
}

/* Archive Notice */
.sf-archive-notice {
    background: #ebf8ff;
    border: 1px solid #bee3f8;
    border-left: 4px solid #3182ce;
    padding: 12px 20px;
    border-radius: 4px;
    margin: 20px 0;
    font-size: 0.85rem;
    color: #2c5282;
}

/* Reviews Section */
.sf-reviews {
    padding: 40px 0;
    border-top: 1px solid #e2e8f0;
}

.sf-reviews h2 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a2744;
    margin-bottom: 20px;
}

.sf-review {
    padding: 20px 0;
    border-bottom: 1px solid #edf2f7;
}

.sf-review-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.sf-review-author {
    font-weight: 600;
    color: #2d3748;
    font-size: 0.9rem;
}

.sf-review-date {
    font-size: 0.8rem;
    color: #a0aec0;
}

.sf-review-title {
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 5px;
}

.sf-review-body {
    color: #4a5568;
    font-size: 0.9rem;
    line-height: 1.6;
}

.sf-verified-badge {
    font-size: 0.7rem;
    background: #c6f6d5;
    color: #276749;
    padding: 1px 6px;
    border-radius: 3px;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
    .sf-product {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px 0;
    }

    .sf-header .sf-container {
        flex-direction: column;
        text-align: center;
    }

    .sf-nav {
        justify-content: center;
    }

    .sf-product-info h1 {
        font-size: 1.4rem;
    }

    .sf-collection-header h1 {
        font-size: 1.5rem;
    }

    .sf-product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .sf-footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .sf-product-grid {
        grid-template-columns: 1fr;
    }

    .sf-footer-grid {
        grid-template-columns: 1fr;
    }
}
