/* ════════════════════════════════════════════════════════════════════════════════
   Kmacims Product Detail Page - Enhanced Display
   Shows Business Snapshot, Features, Cross-Sell, and Professional Layout
   ════════════════════════════════════════════════════════════════════════════════ */

/* ─────────────────────────────────────────────────────────────────────────────
   BUSINESS SNAPSHOT SECTION
   ───────────────────────────────────────────────────────────────────────────── */

.product-business-snapshot {
    background: linear-gradient(135deg, #f8f9fa 0%, #eef0f2 100%);
    padding: var(--space-8);
    border-radius: 12px;
    margin-bottom: var(--space-8);
    border-left: 5px solid #2d8c2d;
}

.snapshot-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: var(--space-6);
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.snapshot-title::before {
    content: '📋';
    font-size: 1.5rem;
}

.snapshot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--space-6);
}

.snapshot-item {
    background: white;
    padding: var(--space-4);
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    border: 1px solid #e0e0e0;
}

.snapshot-label {
    font-size: 0.8rem;
    color: #999;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: var(--space-2);
}

.snapshot-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: #2d8c2d;
    line-height: 1.3;
}

@media (max-width: 768px) {
    .product-business-snapshot {
        padding: var(--space-6);
    }

    .snapshot-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-4);
    }

    .snapshot-item {
        padding: var(--space-3);
    }

    .snapshot-value {
        font-size: 1rem;
    }
}

/* ─────────────────────────────────────────────────────────────────────────────
   PRODUCT DETAILS TABS
   ───────────────────────────────────────────────────────────────────────────── */

.product-details-tabs {
    margin-bottom: var(--space-10);
}

.product-tabs-header {
    display: flex;
    gap: 0;
    border-bottom: 3px solid #e0e0e0;
    margin-bottom: var(--space-6);
    flex-wrap: wrap;
}

.product-tab-btn {
    padding: var(--space-3) var(--space-6);
    background: none;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
    position: relative;
    top: 3px;
}

.product-tab-btn.active {
    color: #2d8c2d;
    border-bottom-color: #2d8c2d;
}

.product-tab-btn:hover {
    color: #1a1a1a;
}

.product-tab-content {
    display: none;
}

.product-tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ─────────────────────────────────────────────────────────────────────────────
   FEATURES LIST
   ───────────────────────────────────────────────────────────────────────────── */

.product-features-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-6);
}

.product-feature-item {
    display: flex;
    gap: var(--space-3);
    align-items: flex-start;
    padding: var(--space-4);
    background: #f9f9f9;
    border-radius: 8px;
    border-left: 4px solid #2d8c2d;
}

.product-feature-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.product-feature-text {
    flex: 1;
}

.product-feature-text h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 var(--space-1) 0;
}

.product-feature-text p {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
    line-height: 1.4;
}

/* ─────────────────────────────────────────────────────────────────────────────
   WHAT'S INCLUDED SECTION
   ───────────────────────────────────────────────────────────────────────────── */

.whats-included {
    background: white;
    padding: var(--space-8);
    border-radius: 12px;
    margin-bottom: var(--space-8);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.whats-included-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: var(--space-6);
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.whats-included-title::before {
    content: '✓';
    font-size: 1.8rem;
    color: #2d8c2d;
}

.included-items {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-6);
}

.included-item {
    display: flex;
    gap: var(--space-3);
    align-items: center;
}

.included-item::before {
    content: '✓';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: #E8F5E9;
    color: #2d8c2d;
    border-radius: 50%;
    font-weight: 700;
    flex-shrink: 0;
}

.included-item span {
    font-size: 0.95rem;
    color: #1a1a1a;
    line-height: 1.4;
}

/* ─────────────────────────────────────────────────────────────────────────────
   PERFECT FOR SECTION
   ───────────────────────────────────────────────────────────────────────────── */

.perfect-for {
    background: #F3E5FF;
    padding: var(--space-6);
    border-radius: 8px;
    margin-bottom: var(--space-8);
    border-left: 5px solid #6A1B9A;
}

.perfect-for-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: var(--space-3);
}

.perfect-for-text {
    font-size: 0.95rem;
    color: #333;
    line-height: 1.6;
}

/* ─────────────────────────────────────────────────────────────────────────────
   CUSTOMERS ALSO BOUGHT - CROSS SELL
   ───────────────────────────────────────────────────────────────────────────── */

.customers-also-bought {
    margin-top: var(--space-12);
    margin-bottom: var(--space-8);
}

.customers-also-bought-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: var(--space-6);
}

.cross-sell-products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: var(--space-6);
}

.cross-sell-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid #f0f0f0;
}

.cross-sell-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.cross-sell-image {
    width: 100%;
    aspect-ratio: 1;
    background: #e0e0e0;
    overflow: hidden;
}

.cross-sell-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.cross-sell-card:hover .cross-sell-image img {
    transform: scale(1.05);
}

.cross-sell-content {
    padding: var(--space-4);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.cross-sell-card h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 var(--space-2) 0;
    line-height: 1.3;
    flex: 1;
}

.cross-sell-card p {
    font-size: 0.85rem;
    color: #666;
    margin: 0 0 var(--space-3) 0;
    line-height: 1.4;
    flex: 1;
}

.cross-sell-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-3);
    border-top: 1px solid #f0f0f0;
    gap: var(--space-2);
}

.cross-sell-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: #2d8c2d;
}

.cross-sell-btn {
    padding: 8px 16px;
    background: #2d8c2d;
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.cross-sell-btn:hover {
    background: #1f6b1f;
    transform: translateY(-2px);
}

/* ─────────────────────────────────────────────────────────────────────────────
   WHY CHOOSE THIS PRODUCT
   ───────────────────────────────────────────────────────────────────────────── */

.why-choose {
    background: linear-gradient(135deg, #2d8c2d 0%, #1f6b1f 100%);
    color: white;
    padding: var(--space-8);
    border-radius: 12px;
    margin-bottom: var(--space-8);
}

.why-choose-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--space-6);
}

.why-choose-content {
    line-height: 1.8;
}

.why-choose-content h3 {
    font-size: 1.1rem;
    margin-top: var(--space-6);
    margin-bottom: var(--space-2);
}

.why-choose-content p {
    margin: 0 0 var(--space-4) 0;
}

/* ─────────────────────────────────────────────────────────────────────────────
   BADGES & OUTCOMES DISPLAY
   ───────────────────────────────────────────────────────────────────────────── */

.product-badges-section {
    margin-bottom: var(--space-6);
}

.product-badges-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: #999;
    text-transform: uppercase;
    margin-bottom: var(--space-3);
}

.product-badges-list {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
}

.product-outcomes-section {
    margin-bottom: var(--space-6);
}

.product-outcomes-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: #999;
    text-transform: uppercase;
    margin-bottom: var(--space-3);
}

.product-outcomes-list {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
}

.outcome-tag {
    background: #f0f0f0;
    padding: var(--space-2) var(--space-4);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #1a1a1a;
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.outcome-tag::before {
    content: '→';
}

/* ─────────────────────────────────────────────────────────────────────────────
   PRODUCT SIDEBAR - PRICE & CTA
   ───────────────────────────────────────────────────────────────────────────── */

.product-sidebar {
    position: sticky;
    top: 100px;
}

.product-price-box {
    background: white;
    padding: var(--space-6);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-bottom: var(--space-6);
}

.product-discount-badge {
    background: #FFE5E5;
    color: #C92A2A;
    padding: var(--space-2) var(--space-4);
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: var(--space-3);
    display: inline-block;
}

.product-current-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2d8c2d;
    margin-bottom: var(--space-3);
}

.product-original-price {
    font-size: 1.1rem;
    color: #999;
    text-decoration: line-through;
    margin-bottom: var(--space-4);
}

.product-cta-buttons {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.product-buy-btn {
    background: linear-gradient(135deg, #2d8c2d 0%, #1f6b1f 100%);
    color: white;
    padding: var(--space-4) var(--space-6);
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
}

.product-buy-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(45, 140, 45, 0.3);
}

.product-guarantee {
    background: #E8F5E9;
    padding: var(--space-4);
    border-radius: 8px;
    font-size: 0.9rem;
    color: #2e7d32;
    text-align: center;
    border: 2px solid #C8E6C9;
}

.product-guarantee::before {
    content: '✓ ';
    font-weight: 700;
}

/* ─────────────────────────────────────────────────────────────────────────────
   RESPONSIVE
   ───────────────────────────────────────────────────────────────────────────── */

@media (max-width: 768px) {
    .product-details-page {
        display: block;
    }

    .product-sidebar {
        position: static;
        order: -1;
        margin-bottom: var(--space-8);
    }

    .whats-included {
        padding: var(--space-6);
    }

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

    .product-tabs-header {
        flex-wrap: wrap;
    }

    .product-tab-btn {
        flex: 1;
        text-align: center;
        padding: var(--space-2) var(--space-3);
        font-size: 0.9rem;
    }

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

    .product-current-price {
        font-size: 2rem;
    }

    .why-choose {
        padding: var(--space-6);
    }
}

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

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

    .product-current-price {
        font-size: 1.75rem;
    }

    .product-features-list {
        grid-template-columns: 1fr;
    }

    .included-items {
        grid-template-columns: 1fr;
    }
}
