*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Plus Jakarta Sans", "Lucida Sans", "Lucida Sans Regular",
        "Lucida Grande", "Lucida Sans Unicode", Geneva, Verdana, sans-serif;
}

.content-max-width {
    max-width: 1120px !important;
    margin: 0 auto !important;
}

.bg-container-overlay {
    background-image: url("/User/assets/images/home/hero-bg.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: top;
}

.bg-container-overlay-cover {
    background-image: url("/User/assets/images/home/hero-bg.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top;
    width: 100%;
    min-height: 100vh;
}

.bg-container-overlay-product {
    background-image: url("/User/assets/images/home/hero-bg.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top;
    width: 100%;
    min-height: 100vh;
    background-attachment: fixed !important;
}

.slick-prev,
.slick-prev::before {
    position: absolute;
    left: 5rem;
    z-index: 100;
    font-size: 35px !important;
    opacity: 1 !important;
}

.slick-next,
.slick-next::before {
    position: absolute;
    right: 5rem;
    font-size: 35px !important;
    opacity: 1 !important;
}

@media (max-width: 1024px) {
    .slick-prev,
    .slick-prev::before {
        left: 3rem;
        font-size: 20px !important;
    }

    .slick-next,
    .slick-next::before {
        right: 3rem;
        font-size: 20px !important;
    }
}

.slick-dots {
    position: absolute;
    top: 90%;
    z-index: 1000;
    max-height: 20px;
}

.slick-dots li button::before {
    color: #fff !important;
}

.slick-track {
    margin-left: none !important;
    margin-right: none !important;
}

.panel {
    padding-top: 15rem;
    min-height: 100vh;
}

@media (max-width: 768px) {
    .slick-dots {
        top: 80%;
    }
    .panel {
        padding-top: 8rem;
    }
}

.order-title-common {
    font-size: 26px;
}

.is-invalid {
    border: 1px solid #e11223;
}

.invalid-feedback {
    color: #e11223;
    display: block;
}

.modal_cart_quantity {
    font-size: 12px;
}

.modal_action_btn {
    border: none;
    border-radius: 4px;
    font-size: 12px;
    color: #fff;
    transition: all 0.5s ease;
}

.modal_action_btn:hover {
    stroke: #ff0270; /* This might still not work for the SVG itself */
    font-weight: 600;
    transform: scale(1.01); /* Properly apply scaling */
    text-decoration: none;
}

.modal_action_btn svg path,
.modal_action_btn svg line {
    transition: stroke 0.5s ease;
}

.modal_action_btn:hover svg path,
.modal_action_btn:hover svg line {
    stroke: #ff0270; /* Apply hover effect on SVG paths */
}

.cart_to_checkout_btn {
    background-color: #333;
    text-decoration: none;
    display: block;
    border: none;
    border-radius: 4px;
    text-align: center;
    font-size: 14px;
    color: #fff;
    padding: 5px 7px;
    transition: all 0.5s ease;
}

.cart_to_checkout_btn:hover {
    background-color: #646262;
    font-weight: 600;
    scale: 1.01;
}

.product_on_category_container {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    column-gap: 30px;
    row-gap: 30px;
}

@media (max-width: 1024px) {
    .product_on_category_container {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        column-gap: 10px;
    }
}

@media (max-width: 768px) {
    .product_on_category_container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 480px) {
    .product_on_category_container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.product_link_on_category {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 1.5rem 0rem;
}

.product_link_on_category > span {
    color: #333;
    text-align: center;
    width: 100%;
}

.product_img_on_category {
    max-height: 205px;
    max-width: 205px;
    border-radius: 8px;
}

@media (max-width: 480px) {
    .product_img_on_category {
        max-height: 150px;
        max-width: 150px;
        border-radius: 8px;
    }
}
