/* styles.css */
body {
    font-family: 'Arial', sans-serif;
    padding-top: 80px;
}

.bg-main {
    background-color: #00BE51;
}

.scrolling-wrapper {
    overflow-x: auto;
    white-space: nowrap;
}

.category-image-wrapper {
    position: relative;
    width: 100%;
    height: 100px;
    /* Adjust the height to maintain aspect ratio */
    overflow: hidden;
    border-radius: 8px;
}

.product-image-wrapper {
    position: relative;
    width: 100%;
    height: 150px;
    /* Adjust the height to maintain aspect ratio */
    overflow: hidden;
    border-radius: 8px;
}

.category-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-discount-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background-color: red;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
}

.product-title {
    white-space: pre-wrap;
    /* Allows text to wrap */
    overflow-wrap: break-word;
    /* Prevents long words from breaking layout */
    text-align: left;
    /* Aligns text to the left */
}

.dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 5px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
}

.dot.active {
    background-color: rgba(255, 255, 255, 1);
}

.pagination a {
    text-decoration: none;
}

.product-card {
    margin-bottom: 20px;
}

.bg-custom-brown {
    background-color: #00BE51;
}

button.bg-custom-brown:disabled {
    color: grey;
    background-color: #d3d3d3;
    /* Set your desired color for the disabled button */
    cursor: not-allowed;
    /* Optionally change the cursor to indicate it's disabled */
    opacity: 0.6;
    /* Optionally adjust opacity to give a disabled look */
}




.scrolling-headline {
    width: 100%;
    background-color: #D6FFE7;
    color: red;
    padding: 10px 0;
    box-sizing: border-box;
    font-size: 16px;
    /* You can adjust the size as needed */
    font-weight: bold;
}

.fixed-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.cart-icon {
    position: relative;
}

.cart-icon .badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background-color: red;
    color: white;
    border-radius: 50%;
    padding: 0.1em 0.5em;
    font-size: 0.75rem;
    font-weight: bold;
}

.carousel-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.carousel-inner {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-item {
    min-width: 100%;
    box-sizing: border-box;
    position: relative;
}

.carousel-dots {
    text-align: center;
    margin-top: 10px;
}

.carousel-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin: 0 5px;
    background-color: #ccc;
    border-radius: 50%;
    cursor: pointer;
}

.carousel-dot.active {
    background-color: #333;
}

.badge-discount {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: red;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.875rem;
    font-weight: bold;
}

.order-button {
    display: block;
    width: 100%;
    text-align: center;
}