/* ===== Products Page Styles ===== */

/* Header Green Variant */
.header-green {
    background: var(--color-primary);
}

.logo-icon-white {
    background: rgba(255, 255, 255, 0.2);
}

.logo-text-white {
    color: var(--color-white);
}

.nav-link-white {
    color: rgba(255, 255, 255, 0.9);
}

.nav-link-white:hover {
    color: var(--color-white);
}

.nav-link-white.active {
    color: var(--color-white);
    font-weight: 700;
}

.nav-link-white.active::after {
    background: #5dd88a;
}

/* Hero Section */
.products-hero {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.products-hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Products Section */
.products-section {
    padding: 80px 0;
    background: #F9FAFB;
}

.products-section-label {
    font-size: 12px;
    font-weight: 800;
    color: var(--color-primary);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 48px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.products-section-label span {
    width: 134px;
    height: 26px;
    line-height: 26px;
    background: #E8F4EF;
    border-radius: 10px 10px 10px 10px;
    text-align: center;
    font-family: Inter, Inter;
    font-weight: bold;
    font-size: 12px;
    color: #04865A;

    letter-spacing: 1px;
    text-align: center;
    font-style: normal;
    text-transform: none;

}

.product-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 0;
    margin-bottom: 40px;
    box-shadow: var(--shadow-card);
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 0;
    align-items: stretch;
    overflow: hidden;
}

.product-card-reverse {
    grid-template-columns: 1fr 2fr;
}

.product-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 48px;
}

.product-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: Inter, Inter;
    font-weight: bold;
    font-size: 12px;
    color: #AAB5AF;
    line-height: 18px;
    text-align: left;
    font-style: normal;
    text-transform: none;
}



.product-number {
    font-size: 11px;
    font-weight: 700;
    color: var(--color-text-light);
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.product-card-reverse .product-number {
    font-size: 13px;
    font-weight: 500;
    color: #6b7280;
}

.product-name {
    font-size: 32px;
    font-weight: 800;
    color: var(--color-primary);
    letter-spacing: -0.5px;
    font-family: Inter, Inter;
    font-weight: 900;
    font-size: 20px;
    color: #04865A;
    line-height: 30px;
    text-align: left;
    font-style: normal;
    text-transform: none;
}

.product-description {
    font-size: 15px;
    color: var(--color-text-light);
    line-height: 1.7;
}

.product-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 8px;
}

.product-details-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 8px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: 20px;

}

.product-details-list .product-detail-item {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
    border-bottom: 1px solid #e5e7eb;
}

.product-details-list .product-detail-item:last-child {
    border-bottom: none;
}

.product-details-list .detail-label {
    font-size: 13px;
    font-weight: 500;
    color: #6b7280;
}

.product-details-list .detail-value {
    font-size: 14px;
    font-weight: 700;
    color: #374151;
    text-align: right;
}

.product-detail-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.detail-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--color-text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-value {
    font-size: 15px;
    font-weight: 700;
    color: var(--color-black);
}

.product-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 8px;
}

.btn-product-apply {
    background: linear-gradient(45deg, #06A06E 0%, #025E40 100%);
    box-shadow: 0px 8px 24px 0px rgba(4, 134, 90, 0.35);
    color: #fff !important;
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 700;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-product-apply::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, #04865A 0%, #025E40 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-product-apply:hover::before {
    color: #fff !important;
    /* opacity: 1; */
    background: linear-gradient(45deg, #04865A 0%, #89e9c9 100%);
}

.btn-product-apply:hover {
    color: #fff !important;
    box-shadow: 0px 8px 24px 0px rgba(4, 134, 90, 0.5);
    background: linear-gradient(70deg, #04865A 0%, #025E40 100%);
}

.btn-product-apply>* {
    position: relative;
    z-index: 1;
    color: var(--color-white);
}

.apply-icon-circle {
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.apply-icon-img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.product-privacy-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--color-primary);
    font-weight: 500;
    transition: color var(--transition);
}

.product-privacy-link:hover {
    color: var(--color-primary-dark);
}

.product-privacy-link img {
    width: 11px;
    height: 11px;
    flex-shrink: 0;
}

.product-visual {
    display: flex;
    align-items: stretch;
    justify-content: stretch;
    overflow: hidden;
}

.product-illustration-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.product-illustration {
    width: 100%;
    height: 280px;
    position: relative;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, #f0f9f4 0%, #e0f4ea 100%);
}

.product-illustration-2 {
    background: #e8dcc6;
    background: linear-gradient(135deg, #e8dcc6 0%, #d4c4a8 100%);
}

/* Illustration Placeholders */
.illustration-cards {
    position: absolute;
    width: 120px;
    height: 80px;
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
    border-radius: 12px;
    top: 20%;
    left: 20%;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    transform: rotate(-8deg);
}

.illustration-cards::before {
    content: '';
    position: absolute;
    width: 100px;
    height: 70px;
    background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
    border-radius: 12px;
    top: -10px;
    left: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: rotate(5deg);
}

.illustration-coins {
    position: absolute;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    border-radius: 50%;
    bottom: 20%;
    right: 25%;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.illustration-coins::before {
    content: '';
    position: absolute;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    border-radius: 50%;
    top: -15px;
    left: -10px;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.2);
}

.illustration-money {
    position: absolute;
    width: 100px;
    height: 60px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 8px;
    top: 30%;
    left: 15%;
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.25);
    transform: rotate(12deg);
}

/* Product 2 Illustrations */
.illustration-money-wings {
    position: absolute;
    width: 120px;
    height: 80px;
    top: 18%;
    left: 15%;
    z-index: 2;
}

/* Money body */
.illustration-money-wings::before {
    content: '';
    position: absolute;
    width: 100px;
    height: 60px;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
    transform: rotate(-8deg);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-8deg);
}

/* Brown strap */
.illustration-money-wings::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 8px;
    background: #8b4513;
    border-radius: 4px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-8deg);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Left wing */
.illustration-money-wings {
    background-image:
        url("data:image/svg+xml,%3Csvg width='30' height='25' viewBox='0 0 30 25' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 12.5 Q5 5, 10 8 Q15 12, 20 10 Q25 8, 30 12.5 Q25 17, 20 15 Q15 13, 10 17 Q5 20, 0 12.5 Z' fill='rgba(255,255,255,0.95)'/%3E%3C/svg%3E"),
        url("data:image/svg+xml,%3Csvg width='30' height='25' viewBox='0 0 30 25' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 12.5 Q5 5, 10 8 Q15 12, 20 10 Q25 8, 30 12.5 Q25 17, 20 15 Q15 13, 10 17 Q5 20, 0 12.5 Z' fill='rgba(255,255,255,0.95)'/%3E%3C/svg%3E");
    background-size: 30px 25px, 30px 25px;
    background-position: -8px 50%, calc(100% + 8px) 50%;
    background-repeat: no-repeat;
}

.illustration-coin-wings {
    position: absolute;
    width: 65px;
    height: 65px;
    top: 42%;
    left: 48%;
    z-index: 2;
}

/* Coin body */
.illustration-coin-wings::before {
    content: '';
    position: absolute;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* P symbol on coin */
.illustration-coin-wings::after {
    content: 'P';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 22px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    font-family: Arial, sans-serif;
}

/* Coin wings */
.illustration-coin-wings {
    background-image:
        url("data:image/svg+xml,%3Csvg width='20' height='18' viewBox='0 0 20 18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 9 Q3 3, 7 5 Q10 8, 13 6 Q16 4, 20 9 Q16 14, 13 12 Q10 10, 7 13 Q3 16, 0 9 Z' fill='rgba(255,255,255,0.95)'/%3E%3C/svg%3E"),
        url("data:image/svg+xml,%3Csvg width='20' height='18' viewBox='0 0 20 18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 9 Q3 3, 7 5 Q10 8, 13 6 Q16 4, 20 9 Q16 14, 13 12 Q10 10, 7 13 Q3 16, 0 9 Z' fill='rgba(255,255,255,0.95)'/%3E%3C/svg%3E");
    background-size: 20px 18px, 20px 18px;
    background-position: -6px 50%, calc(100% + 6px) 50%;
    background-repeat: no-repeat;
}

.illustration-coins-scattered {
    position: absolute;
    bottom: 12%;
    left: 8%;
    right: 8%;
    height: 45px;
}

.illustration-coins-scattered::before {
    content: '';
    position: absolute;
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    border-radius: 50%;
    box-shadow: 0 3px 8px rgba(245, 158, 11, 0.3);
    left: 8%;
    bottom: 0;
}

.illustration-coins-scattered::after {
    content: '';
    position: absolute;
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    border-radius: 50%;
    box-shadow: 0 3px 8px rgba(245, 158, 11, 0.3);
    right: 12%;
    bottom: 8px;
}

.illustration-bag {
    position: absolute;
    width: 80px;
    height: 100px;
    background: linear-gradient(135deg, #ec4899 0%, #be185d 100%);
    border-radius: 12px;
    top: 15%;
    left: 20%;
    box-shadow: 0 8px 24px rgba(236, 72, 153, 0.3);
}

.illustration-pos {
    position: absolute;
    width: 70px;
    height: 50px;
    background: linear-gradient(135deg, #6366f1 0%, #4338ca 100%);
    border-radius: 8px;
    bottom: 25%;
    right: 20%;
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.25);
}

.illustration-shopping {
    position: absolute;
    width: 60px;
    height: 80px;
    background: linear-gradient(135deg, #f97316 0%, #c2410c 100%);
    border-radius: 8px;
    top: 40%;
    right: 15%;
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.25);
    transform: rotate(-10deg);
}

/* ID and Eligibility Section */
.id-eligibility-section {
    padding: 80px 0;
    background: #fff;
}

.id-eligibility-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.id-section-title,
.eligibility-section-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--color-black);
    margin-bottom: 16px;
    letter-spacing: -0.3px;
}

.eligibility-section {
    background: linear-gradient(35deg, #F0FAF4 0%, #E8F4EF 100%);
    border-radius: 24px 24px 24px 24px;
    border: 1px solid rgba(4, 134, 90, 0.13);
    padding: 38px;
    box-sizing: border-box;
}

.eligibility-section-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.eligibility-dot {
    width: 12px;
    height: 12px;
    background: var(--color-primary);
    border-radius: 50%;
    flex-shrink: 0;
}

.id-section-desc {
    font-size: 14px;
    color: var(--color-text-light);
    margin-bottom: 24px;
    line-height: 1.6;
}

.id-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border: 1px solid #E0E7EB;
    border-radius: 10px;
    background: #F9FAFB;
    overflow: hidden;
}

.id-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    font-size: 14px;
    font-weight: 600;
    color: #4A4A4A;
    border-bottom: 1px solid #E0E7EB;
}

.id-item:nth-child(odd) {
    border-right: 1px solid #E0E7EB;
}

.id-item:nth-last-child(-n+2) {
    border-bottom: none;
}

.id-icon {
    width: 8px;
    height: 8px;
    background: #52B7B5;
    border-radius: 50%;
    flex-shrink: 0;
}

.eligibility-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.eligibility-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    font-size: 15px;
    color: var(--color-text);
    line-height: 1.6;
}

.eligibility-check {
    flex-shrink: 0;
    margin-top: 2px;
}

/* Footer Green Variant */
.footer-green {
    background: var(--color-primary);
    padding: 60px 0 30px;
}

.footer-green .footer-top {
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 48px;

    padding-bottom: 32px;
}

.footer-green .logo-text {
    font-size: 16px;
}

.footer-registration,
.footer-certificate {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 8px;
    line-height: 1.5;
}

.footer-trust {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
}

.trust-icon {
    width: 24px;
    height: 24px;
    background: #22c55e;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-email-label,
.footer-address-label {
    font-size: 12px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 8px;
}

.footer-green .footer-email {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
}

.footer-address {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-top: 4px;
}

.footer-download-social {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.btn-store-footer {
    background: rgba(255, 255, 255, 0.15);
    color: var(--color-white);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 600;
    border-radius: var(--radius-md);
    display: inline-flex;
    align-items: center;
    gap: 7px;
    transition: all var(--transition);
    cursor: pointer;
    font-family: inherit;
    width: 100%;
    justify-content: center;
    margin-bottom: 10px;
}

.btn-store-footer:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
}

.social-icon-footer {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition);
}

.social-icon-footer:hover {
    background: rgba(255, 255, 255, 0.25);
}

.social-icon-footer img {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
}

/* Responsive */
@media (max-width: 992px) {

    .product-card,
    .product-card-reverse {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .product-card-reverse .product-header {
        flex-direction: column;
        gap: 8px;
    }

    .id-eligibility-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

@media (max-width: 768px) {
    .products-hero-title {
        font-size: 32px;
    }

    .product-card {
        padding: 32px 24px;
    }

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

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