@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

/* ===== Base & Reset Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #dce0db; /* Dark outer backdrop from Dribbble shot */
    font-family: 'Plus Jakarta Sans', Arial, sans-serif;
    color: #111;
    -webkit-font-smoothing: antialiased;
    padding: 20px;
}
.header-container {
  width: 100%;
  position: relative;
  z-index: 1000;
}
/* ===== Breadcrumb ===== */
.breadcrumb {
    max-width: 1400px;
    margin: 0 auto 20px;
    font-size: 13px;
    color: #7a7a7a;
    padding: 0 20px;
}

.breadcrumb a {
    color: #7a7a7a;
    text-decoration: none;
    font-weight: 500;
}

.breadcrumb a:hover {
    color: #111;
}

.breadcrumb span {
    margin: 0 5px;
}

/* ===== Main App Container ===== */
.container {
    background: #f4f5ef; /* Soft off-white app background */
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px;
    border-radius: 32px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    margin-top: 150px;
}

/* ===== Product Image Box ===== */
.product-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    background-color: #ffffff;
    border-radius: 24px;
    padding: 40px;
    margin: 0 auto 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
    display: block;
}

/* ===== Typography ===== */
.container > h1 {
    font-size: 2.5rem;
    font-weight: 600;
    color: #111;
    letter-spacing: -1.5px;
    margin: 0 0 15px 0;
    line-height: 1.1;
}

.product-description {
    font-size: 16px;
    color: #7a7a7a;
    line-height: 1.6;
    margin: 0 0 20px 0;
}

/* Converts the date paragraph into a cute pill badge */
.date {
    font-size: 13px;
    color: #aaa;
    font-weight: 500;
    margin: 0 0 30px 0;
    display: inline-block;
    background: #ffffff;
    padding: 10px 20px;
    border-radius: 100px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

.date strong {
    color: #111;
}

/* ===== Tags Section (Bento Box) ===== */
.tags-section {
    background: #ffffff;
    border-radius: 24px;
    padding: 24px 30px;
    margin: 0 0 40px 0;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
    flex-wrap: wrap;
}

.tags-title {
    font-weight: 600;
    font-size: 14px;
    color: #111;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag {
    background: #f4f5ef;
    color: #111;
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.tag:hover {
    background: #caff33; /* Lime green from image */
    color: #111;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(202, 255, 51, 0.4);
}

/* ===== SEO Content (Bento Box) ===== */
.seo-content {
    background: #ffffff;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
}

.seo-content h2, .seo-content h3 {
    color: #111;
    margin: 0 0 15px 0;
    font-weight: 600;
    letter-spacing: -0.5px;
}

.seo-content h2 { 
    font-size: 24px; 
}

.seo-content h3 { 
    font-size: 18px; 
    margin-top: 30px; 
}

.seo-content p {
    color: #7a7a7a;
    font-size: 15px;
    line-height: 1.6;
    margin: 0 0 20px 0;
}

.seo-content ul {
    list-style: none;
    padding-left: 0;
    margin: 0 0 20px 0;
}

.seo-content li {
    color: #7a7a7a;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 12px;
    padding-left: 32px;
    position: relative;
}

/* Custom Lime Green Checkmarks matching the aesthetic */
.seo-content li::before {
    content: "\2713"; /* Checkmark Unicode */
    position: absolute;
    left: 0;
    top: 2px;
    color: #caff33;
    font-weight: bold;
    background: #111;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

/* ===== Error Message Styling ===== */
/* Overrides your inline `<p style="color: red;">` automatically */
.container > p[style*="color: red"] {
    background: #fff0f0;
    padding: 20px;
    border-radius: 16px;
    color: #e60000 !important;
    text-align: center;
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(230, 0, 0, 0.05);
}

/* =========================================================
   Responsive Grid Layout (The Magic)
   This automatically creates the 2-column layout on desktop
   without needing any wrapper <div>s in your HTML!
========================================================= */
@media (min-width: 1024px) {
    .container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto auto auto 1fr;
        gap: 0 40px;
        align-items: start;
    }
    
    /* Left Column */
    .product-image {
        grid-column: 1 / 2;
        grid-row: 1 / 5;
        margin: 0;
       
    }

    /* Right Column Elements */
    .container > h1 {
        grid-column: 2 / 3;
        grid-row: 1 / 2;
        font-size: 3.5rem;
    }

    .product-description {
        grid-column: 2 / 3;
        grid-row: 2 / 3;
    }

    .date {
        grid-column: 2 / 3;
        grid-row: 3 / 4;
        width: max-content;
    }

    .tags-section {
        grid-column: 2 / 3;
        grid-row: 4 / 5;
        margin: 0;
    }

    /* Full Width Bottom Elements */
    .seo-content {
        grid-column: 1 / 3;
        grid-row: 5 / 6;
        margin-top: 40px;
    }
    
    .container > p[style*="color: red"] {
        grid-column: 1 / -1;
    }
}

/* ===== Responsive Mobile Adjustments ===== */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }
    
    .container {
        padding: 20px;
        border-radius: 24px;
    }
    
    .product-image {
        padding: 20px;
        border-radius: 16px;
    }
    
    .container > h1 {
        font-size: 2rem;
    }
    
    .seo-content {
        padding: 25px;
    }
}



        /* ===== Welcome Popup Modal Styles ===== */
        .promo-modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(17, 17, 17, 0.4);
            backdrop-filter: blur(5px); /* Smooth background blur */
            z-index: 9999;
            display: flex;
            justify-content: center;
            align-items: center;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.4s ease, visibility 0.4s ease;
        }

        .promo-modal-overlay.show {
            opacity: 1;
            visibility: visible;
        }

        .promo-modal {
            background: #ffffff;
            width: 90%;
            max-width: 450px;
            border-radius: 32px;
            padding: 40px;
            text-align: center;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
            transform: translateY(30px) scale(0.95);
            transition: transform 0.4s ease;
            position: relative;
        }

        .promo-modal-overlay.show .promo-modal {
            transform: translateY(0) scale(1);
        }

        .promo-modal-close {
            position: absolute;
            top: 20px;
            right: 25px;
            font-size: 24px;
            color: #7a7a7a;
            cursor: pointer;
            background: none;
            border: none;
            transition: color 0.3s;
        }

        .promo-modal-close:hover {
            color: #111;
        }

        .promo-modal-title {
            color: #03045e;
            font-size: 24px;
            font-weight: 700;
            margin-bottom: 15px;
            font-family: 'Plus Jakarta Sans', Arial, sans-serif;
        }

        .promo-modal-text {
            color: #7a7a7a;
            font-size: 15px;
            line-height: 1.6;
            margin-bottom: 30px;
        }

        .promo-modal-btn {
            display: inline-block;
            background: #caff33;
            color: #111;
            text-decoration: none;
            font-weight: 600;
            font-size: 16px;
            padding: 15px 35px;
            border-radius: 100px;
            transition: all 0.3s ease;
            border: none;
            cursor: pointer;
            margin-bottom: 12px;
            
        }

        .promo-modal-btn:hover {
            background: #caff33;
            transform: translateY(-2px);
        }
        
         .promo-modal-btn1 {
            display: inline-block;
            background: #caff33;
            color: #111;
            text-decoration: none;
            font-weight: 600;
            font-size: 16px;
            padding: 15px 35px;
            border-radius: 100px;
            transition: all 0.3s ease;
            border: none;
            cursor: pointer;
        }

        .promo-modal-btn1:hover {
            background: #caff33;
            transform: translateY(-2px);
        }