/* Stain Detail Page Styles */

.breadcrumb {
    background: white;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 14px;
}

.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.breadcrumb strong {
    color: var(--text-dark);
}

/* Stain Detail Hero */
.stain-detail {
    background: white;
}

.stain-hero {
    padding: 80px 20px;
    text-align: center;
    background: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%);
}

.stain-hero-image {
    display: none;
}

.coffee-stain-large {
    display: none;
}

.stain-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.stain-hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 25px;
    color: var(--text-dark);
}

.lead {
    font-size: 1.3rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 35px;
}

.difficulty-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: white;
    padding: 12px 25px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.badge-label {
    font-weight: 600;
    color: var(--text-dark);
}

.badge-value {
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
}

.badge-value.easy {
    background: #d1fae5;
    color: #065f46;
}

.badge-value.medium {
    background: #fed7aa;
    color: #92400e;
}

.badge-value.hard {
    background: #fee2e2;
    color: #991b1b;
}

/* Quick Facts */
.quick-facts {
    padding: 60px 20px;
    background: white;
}

.quick-facts h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: var(--text-dark);
}

.facts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    max-width: 1000px;
    margin: 0 auto;
}

.fact-card {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    padding: 30px 20px;
    border-radius: 15px;
    text-align: center;
    border: 2px solid #bae6fd;
    transition: all 0.3s ease;
}

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

.fact-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.fact-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.fact-card p {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 600;
}

/* Step-by-Step Guide */
.guide-section {
    padding: 60px 20px;
    background: var(--bg-light);
}

.guide-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--text-dark);
}

.step {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 30px;
    max-width: 900px;
    margin: 0 auto 40px;
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
}

.step-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.step-content p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 15px;
}

.step-content ul, .step-content ol {
    margin-left: 20px;
    color: var(--text-light);
    line-height: 1.8;
}

.step-content li {
    margin-bottom: 8px;
}

.tip {
    padding: 15px 20px;
    border-radius: 10px;
    margin-top: 20px;
    border-left: 4px solid;
}

.tip.warning {
    background: #fef3c7;
    border-color: #f59e0b;
    color: #92400e;
}

.tip.info {
    background: #dbeafe;
    border-color: #3b82f6;
    color: #1e40af;
}

.tip.success {
    background: #d1fae5;
    border-color: #10b981;
    color: #065f46;
}

/* Products Section */
.products-section {
    padding: 60px 20px;
    background: white;
}

.products-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.product-card {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.product-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.product-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    color: white;
}

.product-badge.bestseller {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.product-badge.recommended {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.product-image {
    font-size: 4rem;
    margin: 20px 0;
}

.product-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.product-desc {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 15px;
    min-height: 60px;
}

.product-rating {
    font-size: 0.9rem;
    margin-bottom: 10px;
    color: var(--text-light);
}

.product-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.product-link {
    display: inline-block;
    padding: 10px 25px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.product-link:hover {
    background: var(--secondary-color);
    transform: translateX(5px);
}

/* DIY Section */
.diy-section {
    padding: 60px 20px;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
}

.diy-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: var(--text-dark);
}

.diy-content {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.diy-content h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.diy-content > p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 30px;
}

.recipe {
    background: var(--bg-light);
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 25px;
}

.recipe h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.recipe ul, .recipe ol {
    margin-left: 20px;
    color: var(--text-light);
    line-height: 1.8;
}

.recipe li {
    margin-bottom: 10px;
}

/* FAQ Section */
.faq-section {
    padding: 60px 20px;
    background: white;
}

.faq-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--text-dark);
}

.faq-item {
    max-width: 800px;
    margin: 0 auto 30px;
    background: var(--bg-light);
    padding: 30px;
    border-radius: 15px;
    border-left: 4px solid var(--primary-color);
}

.faq-item h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.faq-item p {
    color: var(--text-light);
    line-height: 1.8;
}

/* Related Section */
.related-section {
    padding: 60px 20px;
    background: var(--bg-light);
}

.related-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: var(--text-dark);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    max-width: 1000px;
    margin: 0 auto;
}

.related-card {
    background: white;
    padding: 30px 20px;
    border-radius: 15px;
    text-align: center;
    text-decoration: none;
    color: var(--text-dark);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    box-shadow: var(--shadow);
}

.related-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.related-icon {
    font-size: 4rem;
    margin-bottom: 15px;
}

.related-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
    .stain-hero {
        padding: 50px 20px;
    }

    .stain-hero-content h1 {
        font-size: 2.5rem;
    }

    .lead {
        font-size: 1.1rem;
    }

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

    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        margin: 0 auto;
    }

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

    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* AdSense Container for Detail Pages */
.adsense-detail-container {
    max-width: 900px;
    margin: 50px auto;
    padding: 0 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.adsense-detail-container.after-hero {
    margin-top: 0;
    padding-top: 40px;
}

.adsense-detail-container.in-content {
    margin: 60px auto;
    padding: 30px 20px;
    background: var(--bg-light);
    border-radius: 10px;
}

.adsense-detail-container.before-footer {
    margin-bottom: 0;
    padding-bottom: 50px;
}

@media (max-width: 768px) {
    .adsense-detail-container {
        margin: 40px auto;
        padding: 0 10px;
    }
    
    .adsense-detail-container.in-content {
        margin: 50px auto;
        padding: 20px 10px;
    }
}

