    @font-face {
    font-family: 'GeneralSansRegular';
    src: url(/assets/fonts/GeneralSans-Regular.woff2);
}
@font-face {
    font-family: 'GeneralSansRegularItalic';
    src: url(/assets/fonts/GeneralSans-RegularItalic.woff2);
}
@font-face {
    font-family: 'GeneralSansLight';
    src: url(/assets/fonts/GeneralSans-Light.woff2);
}
@font-face {
    font-family: 'BoskaLight';
    src: url(/assets/fonts/Boska-Light.woff2);
}
@font-face {
    font-family: 'BoskaItalicLight';
    src: url(/assets/fonts/Boska-LightItalic.woff2);
}
@font-face {
    font-family: 'BoskaItalicRegular';
    src: url(/assets/fonts/Boska-MediumItalic.woff2);
}

* {
    cursor: url('/storage/Artboard3.png'), auto !important;
    
}
body {
    font-family: 'GeneralSansRegular';
    background-color: #f6f5e9;
    overflow-x: hidden;
    cursor: url('/storage/Artboard2.png'), auto !important;
    padding-left: 30px !important;
    padding-right: 30px !important;
}



/* CSS */
.products-container {
    width: 100%;
    justify-self: center;
    display: flex;
    flex-wrap: wrap;              /* Allow items to wrap onto the next line */
    justify-content: flex-start;   /* Align items to the left */
}

.product {
    max-width: 260px; /* Adjusted max-width */
    width: calc(23% - 30px); /* Four items per row */
    margin: 10px; /* Maintain margin for spacing */
    position: relative;
    text-align: center;
    overflow: hidden;
    flex: 1 1 260px; /* Flexibility for product width */
    display: inline-block;
    transition: transform 0.3s ease-in-out; /* Smooth transition for zoom effect */
    border-radius: 10px; /* Optional: rounded corners for better visuals */
}

.product:hover {
    transform: scale(1.03); /* Zoom in when hovered */
}

.product:active {
    transform: scale(0.95); /* Slight zoom out when clicked */
}

.product-image {
    width: 100%;
    height: 350px;
    border-radius: 10px;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    position: relative;
    object-fit: cover; /* Ensure the image covers the area, cropping if necessary */
    aspect-ratio: 1 / 1; /* Set the aspect ratio to 1:1 */
}

.image-container {
    position: relative;
}


.coming-soon-label {
    position: absolute;
    top: 10px;
    right: 10px; /* Changed to right */
    background-color: rgba(255, 255, 255, 0.792); /* White background for button */
    color: black; /* Black text */
    padding: 5px 10px;
    font-size: 14px;
    border-radius: 5px;
    z-index: 2;
    font-weight: bold;
    display: inline-block;
    font-family: 'GeneralSansRegular', sans-serif; /* Applied GeneralSansRegular font */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Optional: subtle shadow */
}
.popup-buttons {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 11; /* Ensure the buttons are above the image */
    opacity: 0; /* Initially hidden */
    transition: opacity 0.3s ease-in-out; /* Smooth transition for showing buttons */
}

.popup-button {
    background-color: transparent; /* Transparent background */
    color: white; /* White text */
    border: 1px solid rgb(255, 255, 255); /* Black border */
    padding: 5px 10px;
    font-size: 12px;
    border-radius: 5px;
    cursor: pointer;
    font-family: 'GeneralSansRegular';
    transition: background-color 0.3s, border-color 0.3s; /* Transition for hover effect */
}

.popup-button:hover {
    background-color: rgba(255, 255, 255, 0.7); /* Add semi-transparent background on hover */
    border-color: white; /* Change border color to white on hover */
    color: #1c1c1a;
}

/* Show popup buttons on hover */
.image-container:hover .popup-buttons {
    opacity: 1; /* Show buttons when hovering over the image */
}

/* Darken image on hover */
.image-container:hover .product-image {
    filter: brightness(0.7); /* Darken the image when hovered */
}

.product-title {
    font-family: 'GeneralSansRegular', sans-serif;
    font-weight: bold;
    font-size: 20px;
    color: #1c1c1a;
    display: block;
    margin-top: 10px;
    text-align: left;
}

.product-description {
    font-family: 'GeneralSansRegular', sans-serif;
    font-weight: normal;
    font-size: 16px;
    color: #1c1c1a;
    display: block;
    margin-bottom: 24.674px;
    text-align: justify;
}

.product-link {
    font-family: 'GeneralSansRegular', sans-serif;
    font-weight: lighter;
    font-size: 15px;
    color: #1c1c1a;
    text-decoration: none;
    display: block;
    text-align: left;
}

.product-link:hover {
    text-decoration: underline;
}
.view-all-products {
    text-align: right; /* Center the button */
    margin: 0px; /* Add some margin for spacing */
}


.rating-icons {
    margin: 24.674px 0;
    display: flex;
    justify-content: left;
}


.icon {
    font-size: 20px; /* Size of the icons */
    color: #1c1c1a; /* Gold color for filled icons */
    margin: 0 5px; /* Spacing between icons */
}

.half-icon {
    position: relative; /* Positioning for the half icon */
}

.half-icon:before {
    content: '\2605'; /* Unicode for a filled icon */
    position: absolute;
    left: 0;
    top: 0;
    color: #1d1d1d; /* Color for the filled icon */
    clip-path: inset(0 50% 0 0); /* Clip to show half */
    z-index: -1; /* Place behind the outline */
}
.list-freeshipping {
    position: relative;
    width: 100%;
    height: 30px;
    background: #1c1c1a;
    margin-top: 17px;
    margin-bottom: 17px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    color: #fff;
    border-radius: 8px;
    overflow: hidden;
}
.list-freeshipping .text {
    position: absolute;
    opacity: 0;
    text-align: left;
    transform: translateY(-100%); /* Start above the container */
    animation: textCycle 6s linear infinite; /* Start cycling animation */
    animation-play-state: paused; /* Initial state is paused */
}

/* Show text1, then text2, then text3 */
.list-freeshipping .text:nth-child(1) {
    animation-delay: 0s;
}

.list-freeshipping .text:nth-child(2) {
    animation-delay: 2s;
}

.list-freeshipping .text:nth-child(3) {
    animation-delay: 4s;
}

/* Keyframes for cycling through texts */
@keyframes textCycle {
    0%, 20% {
        opacity: 1;
        transform: translateY(0); /* Text is fully visible */
    }
    33.33%, 100% {
        opacity: 0;
        transform: translateY(100%); /* Text moves down and out */
    }
}

/* Play/Pause button styling */
.play-button {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: #1c1c1a00;
    color: #1c1c1a;
    border: none;
    border-radius: 5px;
    padding: 5px 10px;
    cursor: pointer;
    font-size: 14px;
}

.play-button:hover {
    color: #333;
}
/* Responsive styles */
@media (max-width: 1080px) {
    .product {
        width: calc(33.33% - 20px); /* Show three items per row */
        margin: 10px;
    }
    .products-container {
        justify-content: center; /* Center items in the row */
    }
    .product-title {
        font-size: 18px;
    }
    .product-description,
    .product-link {
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    /* STYLE TAMBAHAN */
    body {
        padding: 0 !important;
    }
    .list-freeshipping {
        margin: 0 !important;
        border-radius: 0;
    }
    .product {
        width: calc(50% - 20px); /* Show two items per row */
        margin: 30px;
        max-width: 100%;
    }
    .products-container {
        justify-content: center; /* Center items in the row */
    }
    .product-title {
        font-size: 16px;
    }
    .product-description,
    .product-link {
        font-size: 12px;
    }
    .popup-button {
        font-size: 10px;
    }
}

@media (max-width: 480px) {
    .product {
        width: calc(100% - 20px); /* Show one item per row */
        margin: 30px;
    }
    .products-container {
        justify-content: center; /* Center item in the row */
    }
    .product-title {
        font-size: 14px;
    }
    .product-description,
    .product-link {
        font-size: 10px;
    }
    .popup-button {
        font-size: 8px;
        padding: 4px 8px;
    }
    .icon {
        font-size: 16px; /* Slightly smaller icons for ratings */
    }
}
