* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #fff;
    color: #333;
    line-height: 1.6;
}

.section-small-flip-white {
    margin-top: 0px;
	flex-direction: row-reverse;
	background-color: #FFFFFF;
	padding: 16px 16px 16px 16px;
	display: flex;
	justify-content: center;
    text-align: center;
}

.section-small-flip-white h2 {
    color: rgb(210, 0, 0);
    font-size: 32px;
}

.section-small-flip-white h2 {
    color: rgb(210, 0, 0);
    font-size: 32px;
}

.section-small-flip-white p {
	font-size: 16px;
    margin-bottom: 32px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    max-height: 40px;
    width: auto;
    height: auto;
    margin-right: 10px;
}

.menu-icon {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

nav {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-size: 16px;
    font-weight: 700;
    padding-left: 16px;
}

.nav-buttons button {
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    background-color: #FF0000;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.nav-buttons button:hover {
    background-color: #e03d00;
}

.btn-border {
    background-color: #fff;
    color: #FF0000;
    border: 1px solid #FF0000;
}

.hero {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 80px 20px 40px;
    background-color: #fff;
    margin-top: 60px;
    background-image: url('images/jual-alat-gym-terlengkap.webp');
    background-size: cover;
    height: 480px;
    background-position: center 35%;
    /* Adjusted to move the image down by 50px */
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.hero .text {
    position: relative;
    z-index: 2;
    flex: 1;
    padding-right: 20px;
    color: white;
    text-align: left;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.hero h1 {
    font-size: 44px;
    margin-bottom: 0px;
}

.hero p {
    font-size: 18px;
    margin-top: 12px;
}

.hero img {
    max-width: 300px;
    border-radius: 10px;
}

.popular-products {
    padding: 20px;
}

.popular-products h2 {
    font-size: 1.5rem;
    height: 24px;
}

.popular-products p {
    margin-top: 12px;
    font-size: 14px;
    margin-bottom: 12px;
}

.category-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    overflow-x: auto;
    scrollbar-width: none;
}

.category-buttons::-webkit-scrollbar {
    display: none;
}

.category-buttons button {
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    background-color: #fff;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    white-space: nowrap;
    margin: 4px 2px;
}

.category-buttons button.active {
    background-color: #FF0000;
    color: #fff;
}

.product-container {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.product {
    flex: 0 0 calc(25% - 10px);
    background-color: #fff;
    border-radius: 4px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    margin: 4px 0;
}

.product img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    cursor: pointer;
}

.product-content {
    padding: 16px;
    text-align: left;
}

.product h3 {
    font-size: 1rem;
    margin: 0;
}

.price {
    display: flex;
    flex-direction: column;
}

.price-original {
    color: #FF0000;
    font-weight: 700;
    font-size: 1rem;
}

.price-diskon {
    font-size: 0.75rem;
    text-decoration: line-through;
    color: #808080;
}

.type-ongkir {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
}

.img-gratis-ongkir {
    width: 20px;
    height: 20px;
    border-radius: 0;
}

.type-ongkir p {
    font-size: 0.75rem;
    color: #009B58;
    font-weight: 700;
    font-style: italic;
    padding-bottom: 6px;
}

.product-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    padding-top: 12px;
}

.product-buttons button {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    background-color: #FF0000;
    color: #fff;
    font-size: 0.875rem;
    width: 100%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

/* Image Grid */
.image-grid {
    padding: 20px;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.grid-item img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* WhatsApp Button */
.wa-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.wa-button img {
    width: 35px;
    height: 35px;
}

.section-small-flip-white .cn-row-white .cnt12 {
	align-content: start;
	display: flex;
	padding-left: 16px;
	padding-right: 16px;
	width: 50%;
}

@media (min-width: 1025px) and (max-width: 1280px) {
	.section-small-flip-white .cn-row-white .cnt11 {
		width: 50%;
	}

    .section-small-flip-white .cn-row-white .cnt12 {
		width: 50%;
	}
}

@media (min-width: 768px) and (max-width: 1024px) {

	.section-small-flip-white .cn-row-white {
		flex-direction: column;
	}

    .section-small-flip-white .cn-row-white .cnt11 {
		width: 100%;
	}

    .section-small-flip-white .cn-row-white .cnt12 {
		justify-content: center;
		width: 100%;
		padding: 40px 0px 0px 0px;
	}
}

@media (min-width: 481px) and (max-width: 767px) {
	

	.section-small-flip-white .cn-row-white {
		flex-direction: column;
	}

    .section-small-flip-white .cn-row-white .cnt11 {
		width: 100%;
	}

    .section-small-flip-white .cn-row-white .cnt12 {
		justify-content: center;
		width: 100%;
		padding: 40px 0px 0px 0px;
	}

    .cn-column .cns21 .h2primary {
		color: rgb(210, 0, 0);;
		font-family: 'Poppins', sans-serif;
		text-align: center;
		justify-content: center;
		font-size: 28px;
	}

	.section-step .cn-column .cns21 .h2primary {
		color: rgb(210, 0, 0);;
		font-family: 'Poppins', sans-serif;
		text-align: center;
		justify-content: center;
		font-size: 28px;
	}

	.cns21 .desc-primary {
		font-size: 16px;
		text-align: center;
		color: black;
	}

	.cns21 .desc-primary-white {
		font-size: 16px;
		text-align: center;
	}

    .cns21 {
		width: 100%;
	}

	.cns21 h2 {
		text-align: center;
		justify-content: start;
	}
}

@media (min-width: 320px) and (max-width: 480px) {
	.section-small-flip-white .cn-row-white .cnt11 {
		width: 100%;
	}
}

@media (min-width: 280px) and (max-width: 480px) {

	.section-small-flip-white .cn-row-white {
		flex-direction: column;
	}

    .section-small-flip-white .cn-row-white .cnt12 {
		justify-content: center;
		width: 100%;
		padding: 40px 0px 0px 0px;
	}

    .cn-column .cns21 .h2primary {
		color: rgb(210, 0, 0);;
		font-family: 'Poppins', sans-serif;
		text-align: center;
		justify-content: center;
		font-size: 28px;
	}

	.section-step .cn-column .cns21 .h2primary {
		color: rgb(210, 0, 0);;
		font-family: 'Poppins', sans-serif;
		text-align: center;
		justify-content: center;
		font-size: 28px;
	}

	.cns21 .desc-primary {
		font-size: 16px;
		text-align: center;
	}

	.cns21 .desc-primary-white {
		font-size: 16px;
		text-align: center;
	}

	.cns21 .desc-primary {
		font-size: 16px;
		text-align: center;
		color: black;
	}

	.cns21 .desc-primary-white {
		font-size: 16px;
		text-align: start;
	}
    
    .cns21 h2 {
		text-align: start;
		justify-content: start;
	}

    .cns21 {
		width: 100%;
	}

	.cns21 .title {
		text-align: start;
	}

	.cns21 p {
		text-align: start;
	}
}

@media (min-width: 280px) and (max-width: 319px) {

	.section-small-flip-white .cn-row-white .cnt11 {
		width: 100%;
	}

    .section-small-flip-white .cn-row-white .cnt12 {
		justify-content: center;
		width: 100%;
		padding: 40px 0px 0px 0px;
	}
}

/* Mobile Styles */
@media (max-width: 980px) {
    .menu-icon {
        display: block;
    }

    nav {
        display: none;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: -250px;
        width: 250px;
        height: 100%;
        background-color: #f5f5f5;
        box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
        padding: 20px;
        gap: 15px;
        transition: left 0.3s ease;
        z-index: 1000;
    }

    nav.open {
        display: flex;
        left: 0;
    }

    .nav-links {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .nav-links a {
        padding-left: 0;
    }

    .nav-buttons {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin-top: 20px;
    }



    .product {
        flex: 0 0 calc(50% - 10px);
    }

    .grid-container {
        grid-template-columns: 1fr;
    }

    .hero {
        flex-direction: column;
        text-align: center;
    }

    .hero .text {
        padding: 0;
        text-align: center;
    }
}

@media (min-width: 980px) {

    .drawer-logo,
    .close-icon {
        display: none;
    }
}

.type-ongkir {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 20px;
    margin-top: 4px;
}

.type-ongkir .img-gratis-ongkir {
    width: 20px;
    height: 20px;
    border-radius: 0;
}

.type-ongkir p {
    font-size: 12px;
    color: #009B58;
    font-weight: bold;
    font-style: italic;
    padding-top: 8px;
}

.rating {
    display: flex;
    align-items: center;
    margin-top: 2px;
}

.rating-star {
    color: #FFD700;
    margin-right: 4px;
    font-size: 14px;
}

.rating-count {
    font-size: 14px;
    color: grey;
    margin-left: 4px;
}

.ratingValue {
    margin-left: 4px;
    font-size: 14px;
    color: grey;
}