* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #2c2c2c;
    background-color: #fff;
    font-size: 16px;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles - Elegant forest green */
.site-header {
    background: #2D5016;
    padding: 0;
    position: relative;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
}

.logo {
    color: #fff;
    text-decoration: none;
    font-size: 2rem;
    font-weight: 600;
}

nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 40px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: normal;
}

nav ul li a:hover {
    color: #f0f0f0;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: #fff;
    margin: 3px 0;
}

/* Recipe Header - Fresh sage gradient */
.recipe-header {
    background: linear-gradient(135deg, #F7F9F3 0%, #E8F5E8 100%);
    color: #2D5016;
    padding: 60px 0 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.recipe-title {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.recipe-intro {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 25px;
    line-height: 1.6;
}

/* Breadcrumb */
.breadcrumb-container {
    background: #f8f6f3;
    padding: 15px 0;
    border-bottom: 1px solid #e8e6e3;
}

.breadcrumb {
    font-size: 14px;
    color: #999;
    text-align: left;
}

.breadcrumb a {
    color: #999;
    text-decoration: none;
}

.breadcrumb a:hover {
    color: #2D5016;
}

/* Action Buttons - Fresh green theme */
.action-buttons {
    background: #f8f6f3;
    padding: 30px 0;
    border-bottom: 1px solid #e8e6e3;
}

.button-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.buttons-left,
.buttons-right {
    display: flex;
    gap: 15px;
}

.action-btn {
    background: #fff;
    border: 2px solid #2D5016;
    color: #2D5016;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.action-btn:hover {
    background: #2D5016;
    color: #fff;
    border-color: #2D5016;
}

.jump-btn {
    background: #2D5016;
    color: #fff;
    border-color: #2D5016;
}

.jump-btn:hover {
    background: #4A7C59;
    border-color: #4A7C59;
}

/* Main Content */
.main-content {
    padding: 50px 0;
    min-height: 100vh;
}

/* Author Bio Section - Green accent */
.author-bio-section {
    margin: 60px 0;
    padding: 0;
}

.author-card {
    display: flex;
    gap: 30px;
    background: linear-gradient(135deg, #fff 0%, #fafafa 100%);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid #f0ede8;
}

.author-image-container {
    position: relative;
    flex-shrink: 0;
    width: 120px;
    height: 120px;
}

.author-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid #2D5016;
    object-fit: cover;
}

.chef-badge {
    position: absolute;
    bottom: -5px;
    right: -5px;
    background: linear-gradient(135deg, #4A7C59 0%, #2D5016 100%);
    color: #fff;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 5px;
    min-width: 60px;
    min-height: 30px;
}

.author-content {
    flex: 1;
}

.author-header {
    margin-bottom: 20px;
}

.author-name {
    color: #2D5016;
    font-size: 1.8rem;
    margin-bottom: 12px;
    font-weight: 600;
}

.author-credentials {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.credential-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #666;
    font-size: 0.9rem;
}

.recipe-story {
    background: #f8f6f3;
    padding: 20px;
    border-radius: 12px;
    margin: 20px 0;
    border-left: 4px solid #2D5016;
}

.recipe-story h3 {
    color: #2D5016;
    font-size: 1.2rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.author-background p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
}

.author-link {
    color: #2D5016;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.author-link:hover {
    color: #4A7C59;
}

/* Image Containers */
.recipe-image-container {
    position: relative;
    margin: 30px 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.recipe-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.pinterest-pin-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #E60023;
    color: white;
    border: none;
    border-radius: 20px;
    padding: 8px 12px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.pinterest-pin-btn:hover {
    background: #c5001a;
}

/* Content Sections - Green accents */
.content-section {
    margin: 60px 0;
    padding: 40px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.content-section h2 {
    color: #2D5016;
    font-size: 2rem;
    margin-bottom: 25px;
    font-weight: 600;
    position: relative;
    padding-bottom: 15px;
}

.content-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: #2D5016;
    border-radius: 2px;
}

.content-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #333;
}

.tip-box {
    background: linear-gradient(135deg, #f8f6f3 0%, #f0ede8 100%);
    border-left: 4px solid #2D5016;
    padding: 25px;
    margin: 30px 0;
    border-radius: 8px;
}

.tip-box h3 {
    color: #2D5016;
    font-size: 1.3rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.ingredient-tips {
    background: #fafafa;
    padding: 25px;
    border-radius: 10px;
    margin: 25px 0;
}

.ingredient-tips h3 {
    color: #2D5016;
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.ingredient-tips ul {
    list-style: none;
    padding: 0;
}

.ingredient-tips li {
    margin-bottom: 15px;
    padding-left: 20px;
    position: relative;
}

.ingredient-tips li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: #2D5016;
    font-weight: bold;
}

.technique-highlight {
    background: linear-gradient(135deg, #F7F9F3 0%, #E8F5E8 100%);
    border: 1px solid #C8E6C9;
    padding: 25px;
    border-radius: 12px;
    margin: 25px 0;
}

.technique-highlight h3 {
    color: #2D5016;
    font-size: 1.3rem;
    margin-bottom: 15px;
}

/* FAQ Section */
.faq-section {
    margin: 60px 0;
}

.faq-section h2 {
    color: #2D5016;
    font-size: 2rem;
    margin-bottom: 30px;
    text-align: center;
}

.faq-item {
    background: #fff;
    border-radius: 8px;
    margin-bottom: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    border: 1px solid #f0f0f0;
}

.faq-question {
    width: 100%;
    background: #f8f8f8;
    border: none;
    padding: 16px 20px;
    text-align: left;
    font-size: 1rem;
    font-weight: 500;
    color: #333;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question:hover {
    background: #f0f0f0;
}

.faq-question .icon {
    font-size: 16px;
    color: #666;
    font-weight: bold;
}

.faq-question.active .icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    background: #fff;
}

.faq-answer.active {
    max-height: 300px;
    padding: 16px 20px;
}

.faq-answer p {
    font-size: 15px;
    line-height: 1.6;
    color: #555;
    margin: 0;
}

/* Troubleshooting Section */
.troubleshooting-section {
    margin: 60px 0;
    padding: 40px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.troubleshooting-section h2 {
    color: #2D5016;
    font-size: 2rem;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.troubleshooting-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #2D5016;
    border-radius: 2px;
}

.troubleshooting-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.troubleshoot-item {
    background: #fafafa;
    border-radius: 12px;
    padding: 25px;
    border-left: 4px solid #2D5016;
}

.problem-icon {
    background: #2D5016;
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.troubleshoot-item h3 {
    color: #2D5016;
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.solution p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 8px;
    color: #444;
}

.solution p strong {
    color: #2D5016;
}

/* Recipe Card - Green theme */
.recipe-card {
    background: linear-gradient(135deg, #fff 0%, #fafafa 100%);
    border-radius: 25px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
    margin: 80px 0;
    overflow: hidden;
    position: relative;
    border: 2px solid #f0ede8;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.recipe-card-header {
    padding: 50px;
    text-align: center;
    background: #fff;
}

.recipe-card h2 {
    color: #2D5016;
    font-size: 2.5rem;
    margin-bottom: 30px;
    font-weight: 600;
}

.recipe-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 25px;
    max-width: 600px;
    margin: 0 auto;
}

.meta-item {
    text-align: center;
    padding: 20px;
    background: #f8f6f3;
    border-radius: 15px;
}

.meta-item:hover {
    background: #f0ede8;
}

.meta-label {
    font-size: 0.9rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    display: block;
}

.meta-value {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2D5016;
}

.recipe-content {
    padding: 0 50px 50px;
}

.recipe-section {
    margin-bottom: 50px;
    padding: 40px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
}

.recipe-section h3 {
    color: #2D5016;
    font-size: 2rem;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 600;
}

.ingredient-category {
    color: #2D5016;
    font-size: 1.4rem;
    font-weight: 600;
    margin: 30px 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0ede8;
}

.ingredients-list {
    list-style: none;
    padding: 0;
}

.ingredient-item {
    padding: 20px 25px;
    margin-bottom: 12px;
    background: #fafafa;
    border-radius: 12px;
    cursor: pointer;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.ingredient-item:hover {
    background: #f0ede8;
    border-color: #e8dcc0;
}

.ingredient-text {
    font-size: 1.2rem;
    color: #333;
    position: relative;
    display: block;
    font-weight: 500;
    line-height: 1.4;
}

.ingredient-item.completed .ingredient-text {
    color: #999;
    position: relative;
}

.ingredient-item.completed .ingredient-text::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: #2D5016;
}

.ingredient-detail {
    font-size: 0.9rem;
    color: #666;
    margin-top: 8px;
    font-style: italic;
    opacity: 0;
    max-height: 0;
}

.ingredient-item:hover .ingredient-detail {
    opacity: 1;
    max-height: 50px;
}

.instructions-list {
    list-style: none;
    padding: 0;
    counter-reset: step-counter;
}

.instruction-step {
    counter-increment: step-counter;
    margin-bottom: 30px;
    display: flex;
    gap: 25px;
    padding: 30px;
    background: #fafafa;
    border-radius: 20px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
    position: relative;
}

.instruction-step::before {
    content: counter(step-counter);
    background: linear-gradient(135deg, #4A7C59 0%, #2D5016 100%);
    color: #fff;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.step-content h4 {
    color: #2D5016;
    font-size: 1.3rem;
    margin-bottom: 12px;
    font-weight: 600;
}

.step-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #444;
    margin: 0;
}

.notes-content {
    display: grid;
    gap: 25px;
}

.note-item {
    padding: 25px;
    background: #f8f6f3;
    border-radius: 15px;
    border-left: 4px solid #2D5016;
}

.note-item h4 {
    color: #2D5016;
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.note-item p {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
    margin: 0;
}

.recipe-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 50px;
    flex-wrap: wrap;
}

.primary-btn,
.secondary-btn {
    padding: 18px 35px;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    border: none;
    min-width: 180px;
    justify-content: center;
}

.primary-btn {
    background: linear-gradient(135deg, #2D5016 0%, #4A7C59 100%);
    color: #fff;
}

.secondary-btn {
    background: #fff;
    color: #2D5016;
    border: 2px solid #2D5016;
}

.secondary-btn:hover {
    background: #2D5016;
    color: #fff;
    border-color: #2D5016;
}

/* Footer - Elegant green theme */
footer {
    background: #2c2c2c;
    color: #e0e0e0;
    padding: 40px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: #4A7C59;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    color: #e0e0e0;
    text-decoration: none;
    font-size: 0.95rem;
}

.footer-section ul li a:hover {
    color: #4A7C59;
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid #444;
    padding: 30px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.social-links {
    display: flex;
    justify-content: center;
}

.social-links a {
    color: #e0e0e0;
    font-size: 24px;
}

.social-links a:hover {
    color: #4A7C59;
}

.footer-bottom p {
    color: #cccccc;
    font-size: 0.9rem;
    text-align: center;
    margin: 0;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #2D5016;
        z-index: 1000;
    }

    nav.active {
        display: block;
    }

    nav ul {
        flex-direction: column;
        padding: 20px 0;
        gap: 0;
    }

    nav ul li {
        text-align: center;
        padding: 10px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .container {
        padding: 0 15px;
    }

    .recipe-title {
        font-size: 2rem;
    }

    .recipe-intro {
        font-size: 1rem;
    }

    .recipe-image {
        height: 280px;
    }

    .pinterest-pin-btn {
        top: 10px;
        right: 10px;
        padding: 6px 10px;
        font-size: 12px;
    }

    .button-row {
        flex-direction: column;
        gap: 15px;
    }

    .buttons-left,
    .buttons-right {
        width: 100%;
        justify-content: center;
    }

    .author-card {
        flex-direction: column;
        text-align: center;
        padding: 25px;
    }

    .author-credentials {
        justify-content: center;
    }

    .content-section {
        padding: 25px;
    }

    .recipe-content {
        padding: 0 25px 25px;
    }

    .recipe-card {
        margin: 20px 10px;
        border-radius: 15px;
    }

    .recipe-card-header {
        padding: 25px 20px;
    }

    .recipe-card h2 {
        font-size: 1.8rem;
        line-height: 1.3;
        margin-bottom: 20px;
    }

    .recipe-meta {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        max-width: 100%;
    }

    .meta-item {
        padding: 15px 12px;
    }

    .recipe-section {
        padding: 20px 15px;
        margin-bottom: 25px;
    }

    .troubleshooting-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .recipe-card {
        margin: 15px 5px;
        border-radius: 12px;
    }

    .recipe-card-header {
        padding: 20px 15px;
    }

    .recipe-card h2 {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }

    .recipe-meta {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .meta-item {
        padding: 12px 10px;
    }

    .recipe-content {
        padding: 15px 12px;
    }

    .recipe-section {
        padding: 15px 12px;
        margin-bottom: 20px;
    }

    .author-card {
        padding: 20px;
    }

    .author-name {
        font-size: 1.5rem;
    }

    .credential-item {
        font-size: 0.85rem;
    }
}

/* Print Styles */
@media print {
    .site-header,
    .action-buttons,
    .breadcrumb-container,
    .pinterest-pin-btn,
    .social-links,
    footer {
        display: none;
    }

    .recipe-card {
        box-shadow: none;
        border: 1px solid #ddd;
    }

    body {
        font-size: 12px;
    }

    .recipe-title {
        font-size: 24px;
        color: #000;
    }
}
/* ===================================================
   AFFILIATE PRODUCTS SECTION - COMPLETE CSS
   =================================================== */

.affiliate-products-section {
    margin: 60px 0;
    padding: 40px;
    background: linear-gradient(135deg, #F7F9F3 0%, #E8F5E8 100%);
    border-radius: 20px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.affiliate-products-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2D5016, #4A7C59, #2D5016);
    background-size: 200% 100%;
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.products-header {
    text-align: center;
    margin-bottom: 40px;
}

.products-header h2 {
    color: #2D5016;
    font-size: 2rem;
    margin-bottom: 10px;
    font-weight: 600;
    position: relative;
    display: inline-block;
}

.products-header h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #2D5016;
    border-radius: 2px;
}

.products-header p {
    color: #666;
    font-size: 1.1rem;
    margin-top: 15px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    min-height: 200px;
}

.product-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(45, 80, 22, 0.05) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.product-card:hover::before {
    opacity: 1;
}

.product-image-container {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-card:hover .product-image {
    transform: scale(1.1);
}

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: linear-gradient(135deg, #2D5016 0%, #4A7C59 100%);
    color: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.discount-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, #FF4444 0%, #CC0000 100%);
    color: #fff;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 700;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(255, 0, 0, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 12px rgba(255, 0, 0, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 16px rgba(255, 0, 0, 0.5);
    }
}

.product-info {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-name {
    color: #2D5016;
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.4;
    min-height: 50px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-description {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 15px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f0f0;
}

.stars {
    color: #FFB800;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

.rating-count {
    color: #999;
    font-size: 0.85rem;
}

.product-pricing {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.old-price {
    color: #999;
    font-size: 1rem;
    text-decoration: line-through;
    font-weight: 400;
    position: relative;
}

.old-price::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: #ff0000;
    transform: translateY(-50%);
}

.product-price {
    color: #2D5016;
    font-size: 1.6rem;
    font-weight: 700;
    position: relative;
}

.product-price::before {
    content: 'NOW';
    position: absolute;
    top: -12px;
    left: 0;
    font-size: 0.65rem;
    color: #FF4444;
    font-weight: 600;
    letter-spacing: 1px;
}

.share-unlock-btn {
    width: 100%;
    background: linear-gradient(135deg, #FF6B6B 0%, #FF4444 100%);
    color: #fff;
    padding: 15px 20px;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 68, 68, 0.3);
    position: relative;
    overflow: hidden;
    margin-top: auto;
}

.share-unlock-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.share-unlock-btn:hover::before {
    left: 100%;
}

.share-unlock-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(255, 68, 68, 0.5);
    background: linear-gradient(135deg, #FF4444 0%, #CC0000 100%);
}

.share-unlock-btn:active {
    transform: scale(0.98);
}

.affiliate-btn {
    width: 100%;
    background: linear-gradient(135deg, #2D5016 0%, #4A7C59 100%);
    color: #fff;
    padding: 15px 20px;
    border-radius: 25px;
    text-decoration: none;
    text-align: center;
    font-weight: 600;
    font-size: 1rem;
    display: block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(45, 80, 22, 0.3);
    margin-top: auto;
}

.affiliate-btn:hover {
    background: linear-gradient(135deg, #4A7C59 0%, #2D5016 100%);
    transform: scale(1.02);
    box-shadow: 0 6px 20px rgba(45, 80, 22, 0.4);
}

/* ===================================================
   SHARE MODAL - COMPLETE CSS
   =================================================== */

.share-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    animation: fadeIn 0.3s ease;
    backdrop-filter: blur(5px);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.share-modal-content {
    background: #fff;
    border-radius: 25px;
    padding: 50px 40px;
    max-width: 500px;
    width: 90%;
    position: relative;
    animation: slideUp 0.4s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.share-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2.5rem;
    cursor: pointer;
    color: #999;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    line-height: 1;
}

.share-close:hover {
    color: #333;
    background: #f0f0f0;
    transform: rotate(90deg);
}

.thank-you-message {
    text-align: center;
    margin-bottom: 30px;
}

.thank-you-message h2 {
    color: #1B3A6B;
    font-size: 2.2rem;
    margin-bottom: 15px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.big-text {
    font-size: 1.2rem;
    color: #333;
    font-weight: 600;
    line-height: 1.6;
}

.share-buttons {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 30px;
}

.share-btn {
    width: 100%;
    padding: 16px 24px;
    border: none;
    border-radius: 12px;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    color: #fff;
}

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.share-btn:active {
    transform: translateY(-1px);
}

.share-btn.facebook {
    background: linear-gradient(135deg, #1877F2 0%, #0C63D4 100%);
}

.share-btn.facebook:hover {
    background: linear-gradient(135deg, #0C63D4 0%, #1877F2 100%);
}

.share-btn.twitter {
    background: linear-gradient(135deg, #1DA1F2 0%, #0D8BD9 100%);
}

.share-btn.twitter:hover {
    background: linear-gradient(135deg, #0D8BD9 0%, #1DA1F2 100%);
}

.share-btn.whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #1EBE57 100%);
}

.share-btn.whatsapp:hover {
    background: linear-gradient(135deg, #1EBE57 0%, #25D366 100%);
}

.share-btn.copy {
    background: linear-gradient(135deg, #666 0%, #444 100%);
}

.share-btn.copy:hover {
    background: linear-gradient(135deg, #444 0%, #666 100%);
}

.auto-redirect-message {
    background: linear-gradient(135deg, #FFF4E6 0%, #FFE8CC 100%);
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    border: 2px solid #FF9800;
    box-shadow: 0 4px 15px rgba(255, 152, 0, 0.2);
}

.auto-redirect-message p {
    font-size: 1.1rem;
    color: #D84315;
    font-weight: 600;
    margin-bottom: 15px;
}

.auto-redirect-message span {
    color: #FF4444;
    font-size: 1.4rem;
    font-weight: 800;
}

.progress-bar {
    width: 100%;
    height: 10px;
    background: #ddd;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #FF9800, #FF6B00, #FF9800);
    background-size: 200% 100%;
    width: 0%;
    transition: width 1s linear;
    animation: progressShimmer 2s infinite;
    box-shadow: 0 0 10px rgba(255, 152, 0, 0.5);
}

@keyframes progressShimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* Final Thank You Screen */
.final-thank-you {
    text-align: center;
    padding: 40px 20px;
}

.check-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: #fff;
    font-size: 4rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    animation: checkPop 0.5s ease;
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.4);
}

@keyframes checkPop {
    0% {
        transform: scale(0);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

.final-thank-you h2 {
    color: #1B3A6B;
    font-size: 2rem;
    margin-bottom: 15px;
    font-weight: 800;
}

.final-thank-you p {
    color: #666;
    font-size: 1.1rem;
}

/* ===================================================
   RESPONSIVE DESIGN - MOBILE & TABLET
   =================================================== */

@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .product-image-container {
        height: 200px;
    }
}

@media (max-width: 768px) {
    .affiliate-products-section {
        padding: 30px 20px;
        margin: 40px 0;
        border-radius: 15px;
    }
    
    .products-header h2 {
        font-size: 1.6rem;
    }
    
    .products-header p {
        font-size: 1rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .product-image-container {
        height: 220px;
    }
    
    .discount-badge {
        font-size: 0.75rem;
        padding: 6px 12px;
    }
    
    .product-name {
        font-size: 1.1rem;
        min-height: auto;
    }
    
    .product-price {
        font-size: 1.4rem;
    }
    
    /* Share Modal Mobile */
    .share-modal-content {
        padding: 40px 30px;
        width: 95%;
        border-radius: 20px;
    }
    
    .share-modal-content h2 {
        font-size: 1.5rem;
    }
    
    .share-btn {
        padding: 14px 20px;
        font-size: 0.95rem;
    }
    
    .thank-you-message h2 {
        font-size: 1.8rem;
    }
    
    .big-text {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .affiliate-products-section {
        padding: 25px 15px;
        margin: 30px 0;
    }
    
    .products-header h2 {
        font-size: 1.4rem;
    }
    
    .products-header p {
        font-size: 0.95rem;
    }
    
    .product-card {
        border-radius: 12px;
    }
    
    .product-info {
        padding: 15px;
    }
    
    .product-badge {
        font-size: 0.7rem;
        padding: 5px 10px;
    }
    
    .discount-badge {
        font-size: 0.7rem;
        padding: 5px 10px;
    }
    
    .share-unlock-btn {
        padding: 12px 16px;
        font-size: 0.9rem;
    }
    
    .share-modal-content {
        padding: 30px 20px;
    }
    
    .thank-you-message h2 {
        font-size: 1.6rem;
    }
    
    .final-thank-you h2 {
        font-size: 1.6rem;
    }
    
    .check-icon {
        width: 80px;
        height: 80px;
        font-size: 3rem;
    }
}

/* ===================================================
   PRINT STYLES
   =================================================== */

@media print {
    .affiliate-products-section,
    .share-modal {
        display: none !important;
    }
}

/* ===================================================
   LOADING SKELETON (OPTIONAL)
   =================================================== */

.product-card-skeleton {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    padding: 20px;
}

.skeleton-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    border-radius: 10px;
    margin-bottom: 15px;
}

.skeleton-text {
    height: 20px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    border-radius: 5px;
    margin-bottom: 10px;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

#productsGrid {
    min-height: 300px;
}

/* ===================================================
   ACCESSIBILITY ENHANCEMENTS
   =================================================== */

.share-unlock-btn:focus,
.share-btn:focus,
.share-close:focus {
    outline: 3px solid #1B3A6B;
    outline-offset: 3px;
}

/* ===================================================
   PERFORMANCE OPTIMIZATIONS
   =================================================== */

.product-card,
.share-modal {
    will-change: transform;
}