.products-services {
    max-width: 768px;
    margin: 0 auto;
    padding: 40px 0px;
}

/* Header Products + switch */
.products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
	min-height:32px;
}

.products-services h2 {
    font-size: 24px;
    color: #2c3e50;
    font-weight: 400;
    margin: 0;
}

/* Switch currency */
.currency-switch-container {
    position: relative;
}

.currency-switch {
    position: relative;
    display: flex;
    align-items: center;
    background: #ecf0f1;
    border-radius: 25px;
    width: 110px;
    height: 36px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.currency-label {
    flex: 1;
    text-align: center;
    font-size: 11px;
    font-weight: 500;
    color: #7f8c8d;
    z-index: 2;
    transition: color 0.3s ease;
}

.currency-label.active {
    color: #fff;
}

.currency-toggle {
    position: absolute;
    left: 4px;
    top: 4px;
    width: 48px;
    height: 28px;
    background: #3498db;
    border-radius: 20px;
    transition: left 0.3s ease, background 0.3s ease;
    z-index: 1;
}

.currency-toggle.usd-active {
    left: 58px;
    background: #27ae60;
}

/* Grid produk */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.product-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.product-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.product-info {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-name {
    font-size: 16px;
    margin-bottom: 16px;
	line-height: 1.65em;
}

.product-price {
    margin-top: auto;
    font-size: 1.25rem;
    font-weight: 600;
    color: #27ae60;
}

/* Responsif tablet */
@media (max-width: 992px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
}

/* Responsif mobile */
@media (max-width: 768px) {
    .products-header {
        align-items: flex-start;
        gap: 10px;
    }

    .currency-switch {
        width: 100px;
        height: 32px;
    }

    .currency-toggle {
        width: 44px;
        height: 24px;
    }

    .currency-toggle.usd-active {
        left: 52px;
    }

    .products-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 0;
        padding-bottom: 15px;
        -webkit-overflow-scrolling: touch;
    }

    .product-card {
        flex: 0 0 calc(100% - 72px);
        scroll-snap-align: start;
        margin: 0 4px;
    }
}
