@media(min-width: 320px) and (max-width: 500px) {
    .home-product-category-img {
        display: none;
    }
}

.view-more {
    background: #FF66C4;
    color: white;
    padding: 8px 20px;
}

.view-more:hover {
    background: black;
    color: white;
}

.all-category {
    padding: 8px 10px !important;
}

.home-product-category-img {
    height: 745px !important;
    width: 100% !important;
}

@media (min-width: 1024px) and (max-width:1140px) {
    .all-category {
        padding: 12px 10px !important;
    }
}

@media (min-width: 1142px) and (max-width: 1436px) {
    .all-category {
        padding: 16px 10px !important;
    }
}

@media (min-width: 1142px) and (max-width:1436px) {
    .home-product-category-img {
        height: 710px !important;
        width: 100% !important;
    }
}

.btn-product {
    background-color: #F3B736 !important;
}

.intro-slide,
.intro-section .col-lg-5cols>.banner.banner-overlay {
    min-height: 400px !important;
}

@media (max-width: 764px) {

    .intro-slide,
    .intro-section .col-lg-5cols>.banner.banner-overlay {
        min-height: 300px !important;
        width: 100% !important;
    }
}

@media (max-width: 500px) {

    .intro-slide,
    .intro-section .col-lg-5cols>.banner.banner-overlay {
        min-height: 275px !important;
        width: 100% !important;
    }
}

@media (max-width: 464px) {

    .intro-slide,
    .intro-section .col-lg-5cols>.banner.banner-overlay {
        min-height: 260px !important;
        width: 100% !important;
    }
}

@media (max-width: 400px) {

    .intro-slide,
    .intro-section .col-lg-5cols>.banner.banner-overlay {
        min-height: 230px !important;
        width: 100% !important;
    }
}

@media (max-width: 350px) {

    .intro-slide,
    .intro-section .col-lg-5cols>.banner.banner-overlay {
        min-height: 220px !important;
        width: 100% !important;
    }
}

.menu-vertical {
    height: 350px !important;
    overflow-y: scroll !important;
}

.home-product-category-img {
    height: 896px !important;
    width: 100% !important;
}

.product-media>a img {
    border: 1px solid #2C3E50;
    margin-bottom: 13px;
    border-radius: 5px;
}


.ng-product-card {
    width: 334px;
    /* Your updated width */
    position: relative;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    /* Remove this line or comment it out if you want box-shadows to be visible, as shown in your example images. */
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    margin: 30px auto;
}

.ng-product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    border: 1px solid #F3B736;
}

.ng-product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(45deg, #18181b, #27272a);
    color: white;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 12px;
    z-index: 10;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.ng-product-tilt-effect {
    overflow: hidden;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.ng-product-image {
    height: 300px;
    overflow: hidden;
    position: relative;
}

.ng-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.19, 1, 0.22, 1);
}

.ng-product-card:hover .ng-product-image img {
    transform: scale(1.05);
}

.ng-product-info {
    padding: 25px;
    position: relative;
}

.ng-product-category {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #71717a;
    margin-bottom: 8px;
}

.ng-product-title {
    font-size: 20px;
    font-weight: 700;
    color: #18181b;
    margin: 0 0 12px 0;
    letter-spacing: -0.5px;
    line-height: 1.2;
    height: calc(1.2em * 2);
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.ng-product-title a {
    color: inherit;
    text-decoration: none;
}

.ng-product-description p {
    font-size: 14px;
    color: #52525b;
    line-height: 1.5;
    margin-bottom: 15px;
}

.ng-product-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.ng-feature {
    font-size: 11px;
    background-color: #f4f4f5;
    color: #71717a;
    padding: 4px 10px;
    border-radius: 12px;
    font-weight: 500;
}

.ng-product-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.ng-product-price {
    display: flex;
    flex-direction: column;
}

.ng-price-was {
    font-size: 14px;
    text-decoration: line-through;
    color: #a1a1aa;
    margin-bottom: 2px;
}

.ng-price-now {
    font-size: 22px;
    font-weight: 700;
    color: #18181b;
}
.ng-product-button {
    background: linear-gradient(45deg, #2C3E50, #27272a);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 10px 18px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    width: 100%; /* Make button take full width of container */
    min-height: 40px; /* Ensure consistent height */
    white-space: nowrap; /* Prevent text wrapping */
}

.ng-product-button::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            #F3B736,
            transparent);
    transition: all 0.6s ease;
}

.ng-product-button:hover {
    background: linear-gradient(45deg, #27272a, #3f3f46);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.ng-product-button:hover::before {
    left: 100%;
}

.ng-button-icon {
    transition: transform 0.3s ease;
    flex-shrink: 0; /* Prevent icon from shrinking */
}

.ng-product-button:hover .ng-button-icon {
    transform: rotate(-10deg) scale(1.1);
}

.button-text {
    flex-shrink: 0; /* Prevent text from shrinking */
}

/* Mobile Responsive Styles */
@media (max-width: 576px) {
    .ng-product-button {
        padding: 8px 12px;
        font-size: 11px;
        gap: 6px;
        border-radius: 10px;
        min-height: 36px;
    }

    .ng-button-icon {
        width: 14px;
        height: 14px;
    }
}

@media (max-width: 480px) {
    .ng-product-button {
        padding: 6px 10px;
        font-size: 10px;
        gap: 4px;
        border-radius: 8px;
        min-height: 32px;
    }

    .ng-button-icon {
        width: 12px;
        height: 12px;
    }
}

/* For very small cards, show icon only */
@media (max-width: 380px) {
    .ng-product-button {
        padding: 8px;
        gap: 0;
        min-width: 36px;
        min-height: 36px;
    }

    .button-text {
        display: none; /* Hide text on very small screens */
    }

    .ng-button-icon {
        width: 16px;
        height: 16px;
    }
}

/* Alternative: Compact text for very small screens */
@media (max-width: 360px) {
    .ng-product-button .button-text {
        display: block;
    }

    .ng-product-button .button-text::after {
        content: "Add"; /* Show only "Add" instead of "Add to Cart" */
    }

    .ng-product-button .button-text {
        font-size: 0; /* Hide original text */
    }
}

.ng-product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #f4f4f5;
    padding-top: 15px;
}

.ng-product-rating {
    display: flex;
    align-items: center;
    gap: 2px;
}

.ng-rating-count {
    margin-left: 8px;
    font-size: 12px;
    color: #71717a;
}

.ng-product-stock {
    font-size: 12px;
    font-weight: 600;
    color: #22c55e;
}

@media (max-width: 400px) {
    .ng-product-card {
        width: 90%;
    }

    .ng-product-title {
        font-size: 18px;
    }

    .ng-product-image {
        height: 300px;
    }

    .ng-product-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .ng-product-price {
        margin-bottom: 5px;
    }

    .ng-product-button {
        width: 100%;
        justify-content: center;
    }
}


.hd-product-card {
    width: 100%; /* Let Owl Carousel control the width */
    max-width: 200px; /* Maximum width for larger screens */
    background: white;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.07);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin: 0 5px; /* Small margin for spacing */
}

.hd-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.1);
}

.hd-product-image-wrapper {
    height: 120px; /* Reduced height for mobile */
    overflow: hidden;
}

.hd-product-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.hd-product-card:hover .hd-product-image-wrapper img {
    transform: scale(1.05);
}

.hd-product-details {
    padding: 12px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    flex-grow: 1;
}

.hd-product-price {
    width: 100%;
}

.hd-price-now {
    font-size: 16px; /* Reduced for mobile */
    font-weight: 700;
    color: #18181b;
    display: block;
    text-align: center;
}

.hd-price-was {
    font-size: 12px;
    text-decoration: line-through;
    color: #a1a1aa;
    margin-left: 5px;
}

.hd-product-button {
    background: linear-gradient(45deg, #2C3E50, #2C3E50);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 8px 10px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    margin-top: auto;
}

.hd-product-button:hover {
    background: linear-gradient(45deg, #F3B735, #F3B735);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.12);
}

.hd-button-icon {
    transition: transform 0.3s ease;
}

.hd-product-button:hover .hd-button-icon {
    transform: scale(1.1);
}

/* Mobile specific adjustments */
@media (max-width: 576px) {
    .hd-product-card {
        max-width: 150px; /* Smaller max width for mobile */
    }

    .hd-product-image-wrapper {
        height: 100px;
    }

    .hd-product-details {
        padding: 10px;
        gap: 6px;
    }

    .hd-price-now {
        font-size: 14px;
    }

    .hd-product-button {
        font-size: 11px;
        padding: 6px 8px;
    }
}

@media (max-width: 480px) {
    .hd-product-card {
        max-width: 130px;
    }

    .hd-product-image-wrapper {
        height: 90px;
    }

    .hd-price-now {
        font-size: 13px;
    }
}

