/* Have To Buy Consolidated Frontend CSS */

/* ========================================================= */
/* Styles from home_index.blade.php */
/* ========================================================= */
/* Product Skeleton Loader & Shimmer Animation */
.product-slider-wrapper {
    position: relative;
    min-height: 240px;
    width: 100%;
}

.product-slider-wrapper.is-loading .product-skeleton-slider {
    display: flex !important;
    position: relative;
    z-index: 2;
}

.product-slider-wrapper.is-loading .product-slider {
    opacity: 0 !important;
    pointer-events: none;
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100% !important;
    z-index: 1;
    visibility: hidden !important;
}

.product-slider-wrapper.is-loaded .product-skeleton-slider {
    display: none !important;
}

.product-slider-wrapper.is-loaded .product-slider {
    display: block !important;
    position: static !important;
    opacity: 1 !important;
    pointer-events: auto;
    visibility: visible !important;
    animation: fadeInProduct 0.35s ease-in-out forwards;
}

/* Prevent image drag blocking touch swipe on mobile */
.product-slider,
.product-slider * {
    -webkit-user-drag: none !important;
    -khtml-user-drag: none !important;
    -moz-user-drag: none !important;
    -o-user-drag: none !important;
    user-drag: none !important;
}

.product-slider,
.product-slider .owl-stage-outer,
.product-slider .owl-stage,
.product-slider .owl-item,
.product-slider .item,
.product-slider .havetoBuy-card,
.product-slider .image-container {
    touch-action: pan-y !important;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    user-select: none !important;
}

.product-slider .image-container img,
.product-slider img {
    pointer-events: none !important;
    -webkit-user-drag: none !important;
    user-drag: none !important;
    -webkit-user-select: none !important;
    user-select: none !important;
}

.product-slider .owl-stage {
    display: flex !important;
}

.product-slider .owl-item {
    display: flex !important;
    flex: 1 0 auto !important;
    height: auto !important;
}

.product-slider .owl-item .item {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    height: 100% !important;
}

.product-slider .havetoBuy-card {
    -webkit-user-drag: none !important;
    user-drag: none !important;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    width: 100% !important;
    touch-action: pan-y !important;
    justify-content: space-between !important;
}

.product-slider .havetoBuy-card .content-wrapper,
.havetoBuy-card .content-wrapper {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
    justify-content: space-between !important;
    padding: 8px 10px 10px 10px !important;
}

.product-slider .havetoBuy-card .add-btn {
    pointer-events: auto !important;
    position: relative;
    z-index: 10;
    touch-action: manipulation !important;
}

@keyframes fadeInProduct {
    from {
        opacity: 0;
        transform: translateY(3px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-skeleton-slider {
    display: none;
    flex-direction: row;
    flex-wrap: nowrap;
    overflow: hidden;
    gap: 15px;
    width: 100%;
    padding: 4px 0 12px 0;
}

.product-skeleton-item {
    flex: 0 0 calc((100% - (15px * 5)) / 6);
    background: #ffffff;
    border: 1px solid #edf2f7;
    border-radius: 8px;
    padding: 10px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

@media (max-width: 575px) {
    .product-skeleton-item {
        flex: 0 0 calc((100% - (8px * 2)) / 2.3);
    }
}

@media (min-width: 576px) and (max-width: 767px) {
    .product-skeleton-item {
        flex: 0 0 calc((100% - (15px * 2)) / 3);
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .product-skeleton-item {
        flex: 0 0 calc((100% - (15px * 3)) / 4);
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .product-skeleton-item {
        flex: 0 0 calc((100% - (15px * 4)) / 5);
    }
}

@media (min-width: 1200px) and (max-width: 1399px) {
    .product-skeleton-item {
        flex: 0 0 calc((100% - (15px * 5)) / 6);
    }
}

@media (min-width: 1400px) and (max-width: 1599px) {
    .product-skeleton-item {
        flex: 0 0 calc((100% - (15px * 6)) / 7);
    }
}

@media (min-width: 1600px) {
    .product-skeleton-item {
        flex: 0 0 calc((100% - (15px * 7)) / 8);
    }
}

@media (min-width: 1920px) {
    .product-skeleton-item {
        flex: 0 0 calc((100% - (15px * 8)) / 9);
    }
}

@media (min-width: 2400px) {
    .product-skeleton-item {
        flex: 0 0 calc((100% - (15px * 9)) / 10);
    }
}

.skeleton-shimmer-effect {
    background: #f1f3f6;
    background-image: linear-gradient(90deg, #f1f3f6 0px, #e4e7ed 40px, #f1f3f6 80px);
    background-size: 600px 100%;
    background-repeat: no-repeat;
    animation: skeleton-shimmer 1.5s infinite linear;
}

@keyframes skeleton-shimmer {
    0% {
        background-position: -300px 0;
    }

    100% {
        background-position: 300px 0;
    }
}

.product-skeleton-item .skeleton-img-box {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 6px;
    margin-bottom: 10px;
}

.product-skeleton-item .skeleton-circle {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #e2e6ec;
}

.product-skeleton-item .skeleton-line-title {
    height: 14px;
    border-radius: 4px;
    width: 85%;
    margin-bottom: 8px;
}

.product-skeleton-item .skeleton-line-price {
    height: 12px;
    border-radius: 4px;
    width: 55%;
    margin-bottom: 12px;
}

.product-skeleton-item .skeleton-line-btn {
    height: 26px;
    border-radius: 13px;
    width: 65px;
    margin-top: auto;
}

.category-title {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
}

.havetoBuy-card .sale-price {
    font-size: 16px;
    font-weight: 600;
    color: #1a202c;
}

.category-img img {
    object-fit: cover;
}

.category-title p {
    margin: 0;
    line-height: 1.2;
    text-align: center;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.carousel-wrap {
    width: 100%;
    position: relative;
    margin-top: 5px;
}

.owl-carousel .item {
    position: relative;
    z-index: 100;
    -webkit-backface-visibility: hidden;
}

/* Hero Main Banner Carousel Absolute Vertical Centering */
.hero-slider-section .hero-carousel-wrapper,
.hero-carousel-wrapper,
.main-banner-carousel {
    position: relative !important;
    width: 100%;
}

.hero-custom-arrow {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 44px !important;
    height: 44px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.96) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.95) !important;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.16) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #216798 !important;
    font-size: 15px !important;
    z-index: 30 !important;
    margin: 0 !important;
    padding: 0 !important;
    cursor: pointer !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    transition: all 0.28s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    outline: none !important;
}

.hero-custom-arrow.hero-arrow-prev {
    left: 20px !important;
    right: auto !important;
}

.hero-custom-arrow.hero-arrow-next {
    right: 20px !important;
    left: auto !important;
}

.hero-custom-arrow:hover {
    background: #216798 !important;
    color: #ffffff !important;
    transform: translateY(-50%) scale(1.1) !important;
    box-shadow: 0 8px 24px rgba(33, 103, 152, 0.4) !important;
    border-color: #7EB04D !important;
}

.hero-custom-arrow i {
    font-size: 15px !important;
    line-height: 1 !important;
    transition: transform 0.2s ease !important;
}

.hero-custom-arrow.hero-arrow-prev:hover i {
    transform: translateX(-2px) !important;
}

.hero-custom-arrow.hero-arrow-next:hover i {
    transform: translateX(2px) !important;
}

.hero-slider-section .owl-nav,
.hero-carousel-wrapper .owl-nav,
.main-banner-carousel .owl-nav {
    display: none !important;
}

.hero-carousel-wrapper .owl-dots,
.main-banner-carousel .owl-dots,
.hero-slider-section .owl-dots {
    position: absolute !important;
    bottom: 16px !important;
    top: auto !important;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 6px 14px !important;
    background: rgba(15, 23, 42, 0.52) !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
    border-radius: 30px !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25) !important;
    z-index: 30 !important;
    margin: 0 !important;
}

.hero-carousel-wrapper .owl-dots .owl-dot,
.main-banner-carousel .owl-dots .owl-dot,
.hero-slider-section .owl-dots .owl-dot {
    display: inline-block !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    border: none !important;
    outline: none !important;
    cursor: pointer !important;
    line-height: 1 !important;
}

.hero-carousel-wrapper .owl-dots .owl-dot span,
.main-banner-carousel .owl-dots .owl-dot span,
.hero-slider-section .owl-dots .owl-dot span {
    display: block !important;
    width: 8px !important;
    height: 8px !important;
    margin: 0 !important;
    background: rgba(255, 255, 255, 0.6) !important;
    border-radius: 50% !important;
    transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}

.hero-carousel-wrapper .owl-dots .owl-dot.active span,
.main-banner-carousel .owl-dots .owl-dot.active span,
.hero-slider-section .owl-dots .owl-dot.active span {
    width: 28px !important;
    height: 8px !important;
    border-radius: 6px !important;
    background: linear-gradient(90deg, #7EB04D 0%, #216798 100%) !important;
    box-shadow: 0 0 12px rgba(126, 176, 77, 0.8) !important;
}

.hero-carousel-wrapper .owl-dots .owl-dot:hover span,
.main-banner-carousel .owl-dots .owl-dot:hover span,
.hero-slider-section .owl-dots .owl-dot:hover span {
    background: rgba(255, 255, 255, 0.95) !important;
}

@media (max-width: 768px) {

    .hero-custom-arrow,
    .hero-slider-section .owl-nav,
    .hero-carousel-wrapper .owl-nav,
    .main-banner-carousel .owl-nav {
        display: none !important;
    }

    .hero-carousel-wrapper .owl-dots,
    .main-banner-carousel .owl-dots,
    .hero-slider-section .owl-dots {
        bottom: 8px !important;
        padding: 3px 8px !important;
        gap: 5px !important;
    }
}

.text-truncate-2line {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-height: 2.8em;
    font-weight: normal;
    font-size: 0.9rem;
}

.product-card {
    background-color: #fff;
}

.product-card-link {
    color: inherit;
}

.product-card-link:hover {
    text-decoration: none;
    color: inherit;
}

.product-card-link:hover .product-card {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.offer-details {
    font-size: 0.85rem;
}

.list-price {
    font-size: 0.8rem;
}

.product-price-section sup {
    font-size: 0.75rem;
    top: -0.5em;
}

.product-price-section .fs-4 {
    font-size: 1.25rem !important;
}

.havetoBuy-card .product-title {
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.35 !important;
    margin-bottom: 6px !important;
    color: #1a202c !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    height: 36px !important;
    min-height: 36px !important;
    max-height: 36px !important;
    text-align: left !important;
    word-break: break-word !important;
}

.havetoBuy-card .price-section {
    display: flex !important;
    align-items: flex-end !important;
    justify-content: space-between !important;
    margin-top: auto !important;
    padding-top: 4px !important;
    width: 100% !important;
    min-height: 36px !important;
}

.havetoBuy-card .price-box {
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
    min-height: 34px !important;
    text-align: left !important;
}

.havetoBuy-card .mrp {
    font-size: 11px !important;
    color: #718096 !important;
    font-weight: 500 !important;
    text-decoration: line-through !important;
    line-height: 1.2 !important;
    margin-bottom: 2px !important;
    display: block !important;
}

.havetoBuy-card .sale-price {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #1a202c !important;
    line-height: 1.2 !important;
    margin: 0 !important;
}

.havetoBuy-card .add-btn {
    cursor: pointer;
    border: 1px solid #FFA500 !important;
    border-radius: 6px !important;
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    max-width: 32px !important;
    padding: 0 !important;
    font-size: 14px !important;
    background-color: rgba(255, 165, 0, 0.08) !important;
    color: #FFA500 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    align-self: flex-end !important;
    margin-bottom: 0 !important;
    transition: all 0.2s ease-in-out !important;
}

.havetoBuy-card .add-btn:hover {
    background-color: #FFA500 !important;
    color: #fff !important;
}

.havetoBuy-card .add-btn.disabled,
.havetoBuy-card .add-btn.cursor-not-allowed,
.havetoBuy-card .add-btn:disabled {
    border-color: #cbd5e1 !important;
    background-color: #f1f5f9 !important;
    color: #94a3b8 !important;
    cursor: not-allowed !important;
}

.havetoBuy-card .add-btn.disabled:hover,
.havetoBuy-card .add-btn.cursor-not-allowed:hover,
.havetoBuy-card .add-btn:disabled:hover {
    border-color: #cbd5e1 !important;
    background-color: #f1f5f9 !important;
    color: #94a3b8 !important;
}

.discount-ribbon {
    position: absolute;
    top: 0;
    left: 10px;
    background-color: #009BDE;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    font-weight: 700;
    text-align: center;
    padding: 8px 8px 14px 8px;
    font-size: 0.8rem;
    line-height: 1.2;
    clip-path: polygon(0% 0%, 100% 0%, 100% calc(100% - 6px), 75% 100%, 50% calc(100% - 6px), 25% 100%, 0% calc(100% - 6px));
    border-radius: 2px 2px 0 0;
}

@media screen and (max-width: 767px) {
    .single-slide {
        height: 180px;
        width: 100%;
    }
}

@media only screen and (max-width: 600px) {
    .lg-0 {
        width: 33.333333%;
    }

    .discount-ribbon {
        left: 5px;
        padding: 6px 5px 10px 5px;
        font-size: 10px;
        color: #fff;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    }
}

@media (max-width: 767px) {
    .havetoBuy-card .image-container {
        aspect-ratio: 1 / 0.9;
    }

    .havetoBuy-card .image-container img {
        object-fit: cover;
    }
}


@media (max-width: 767px) {
    .banner .container {
        padding-left: 5px !important;
        padding-right: 5px !important;
    }

    .banner-responsive-img {
        width: 100% !important;
        height: auto !important;
        min-height: unset !important;
        max-height: none !important;
        display: block;
    }
}

/* Custom Services Slider Styles */
.services-slider-section {
    background-color: #fcfdfe;
    padding-top: 15px;
    padding-bottom: 25px;
    border-top: 1px solid #f1f5f9;
}

/* .services-slider-section .feature-h5 h5 {
                                        font-size: 1.25rem;
                                        font-weight: 700;
                                        color: #1e293b;
                                        border-left: 4px solid #FFA500;
                                        padding-left: 10px;
                                        margin-bottom: 0;
                                    } */
.services-slider.owl-carousel .owl-stage-outer {
    padding: 10px 4px !important;
    margin: -10px -4px !important;
}

.services-slider.owl-carousel .owl-stage {
    display: flex !important;
}

.services-slider.owl-carousel .owl-item {
    display: flex !important;
    flex-direction: column;
    height: auto;
}

.service-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    color: inherit !important;
    text-decoration: none !important;
}

.service-card-inner {
    background-color: #ffffff !important;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
}

.service-card:hover .service-card-inner {
    transform: translateY(-6px);
    box-shadow: 0 14px 28px -4px rgba(0, 155, 222, 0.22), 0 6px 12px -2px rgba(0, 0, 0, 0.06);
    border-color: #009BDE;
}

.service-card .image-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #f8fafc;
}

.service-card .image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .image-container img {
    transform: scale(1.08);
}

.service-category-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: linear-gradient(135deg, #FFA500 0%, #FFA500 100%) !important;
    color: #ffffff !important;
    font-size: 10.5px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 3px 8px rgba(0, 155, 222, 0.35);
    z-index: 10;
}

.service-card .content-wrapper {
    padding: 14px 16px 16px 16px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #ffffff !important;
}

.service-card .service-title {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 6px;
    color: #1e293b !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 40px;
    text-align: left;
    transition: color 0.25s ease;
    line-height: 1.4;
}

.service-card:hover .service-title {
    color: #009BDE !important;
}

.service-card .service-short-desc {
    font-size: 12px;
    color: #64748b !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 36px;
    text-align: left;
    line-height: 1.45;
    margin-bottom: 12px;
}

.service-card .learn-more-link,
.service-card .card-link {
    font-size: 12px;
    font-weight: 700;
    color: #009BDE !important;
    background: #edf7fd !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.25s ease;
    padding: 6px 14px;
    border-radius: 20px;
    text-decoration: none !important;
    width: auto;
    border: 1px solid rgba(0, 155, 222, 0.15);
}

.service-card:hover .learn-more-link,
.service-card:hover .card-link {
    background: #009BDE !important;
    color: #ffffff !important;
    border-color: #009BDE !important;
    box-shadow: 0 4px 12px rgba(0, 155, 222, 0.35);
}

.service-card .learn-more-link i,
.service-card .card-link i {
    transition: transform 0.2s ease;
    font-size: 11px;
}

.service-card:hover .learn-more-link i,
.service-card:hover .card-link i {
    transform: translateX(4px);
}

@media (max-width: 575px) {
    .service-card .content-wrapper {
        padding: 10px;
    }

    .service-card .service-title {
        font-size: 12px;
        min-height: 32px;
        margin-bottom: 4px;
    }

    .service-card .service-short-desc {
        font-size: 10.5px;
        min-height: 28px;
        margin-bottom: 8px;
    }

    .service-card .service-category-badge {
        font-size: 8.5px;
        padding: 2px 6px;
        top: 6px;
        left: 6px;
    }

    .service-card .learn-more-link,
    .service-card .card-link {
        font-size: 10.5px;
        padding: 4px 8px;
        gap: 4px;
    }
}

/* ========================================================= */
/* Styles from product_details.blade.php */
/* ========================================================= */
/* Product Skeleton Loader & Shimmer Animation */
.product-slider-wrapper {
    position: relative;
    min-height: 240px;
    width: 100%;
}

.product-slider-wrapper.is-loading .product-skeleton-slider {
    display: flex !important;
    position: relative;
    z-index: 2;
}

.product-slider-wrapper.is-loading .product-slider {
    opacity: 0 !important;
    pointer-events: none;
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100% !important;
    z-index: 1;
    visibility: hidden !important;
}

.product-slider-wrapper.is-loaded .product-skeleton-slider {
    display: none !important;
}

.product-slider-wrapper.is-loaded .product-slider {
    display: block !important;
    position: static !important;
    opacity: 1 !important;
    pointer-events: auto;
    visibility: visible !important;
    animation: fadeInProduct 0.35s ease-in-out forwards;
}

@keyframes fadeInProduct {
    from {
        opacity: 0;
        transform: translateY(3px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-skeleton-slider {
    display: none;
    flex-direction: row;
    flex-wrap: nowrap;
    overflow: hidden;
    gap: 15px;
    width: 100%;
    padding: 4px 0 12px 0;
}

.product-skeleton-item {
    flex: 0 0 calc((100% - (15px * 5)) / 6);
    background: #ffffff;
    border: 1px solid #edf2f7;
    border-radius: 8px;
    padding: 10px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

@media (max-width: 575px) {
    .product-skeleton-item {
        flex: 0 0 calc((100% - (8px * 2)) / 2.3);
    }
}

@media (min-width: 576px) and (max-width: 767px) {
    .product-skeleton-item {
        flex: 0 0 calc((100% - (15px * 2)) / 3);
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .product-skeleton-item {
        flex: 0 0 calc((100% - (15px * 3)) / 4);
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .product-skeleton-item {
        flex: 0 0 calc((100% - (15px * 4)) / 5);
    }
}

@media (min-width: 1200px) and (max-width: 1399px) {
    .product-skeleton-item {
        flex: 0 0 calc((100% - (15px * 5)) / 6);
    }
}

@media (min-width: 1400px) and (max-width: 1599px) {
    .product-skeleton-item {
        flex: 0 0 calc((100% - (15px * 6)) / 7);
    }
}

@media (min-width: 1600px) {
    .product-skeleton-item {
        flex: 0 0 calc((100% - (15px * 7)) / 8);
    }
}

@media (min-width: 1920px) {
    .product-skeleton-item {
        flex: 0 0 calc((100% - (15px * 8)) / 9);
    }
}

@media (min-width: 2400px) {
    .product-skeleton-item {
        flex: 0 0 calc((100% - (15px * 9)) / 10);
    }
}

.skeleton-shimmer-effect {
    background: #f1f3f6;
    background-image: linear-gradient(90deg, #f1f3f6 0px, #e4e7ed 40px, #f1f3f6 80px);
    background-size: 600px 100%;
    background-repeat: no-repeat;
    animation: skeleton-shimmer 1.5s infinite linear;
}

@keyframes skeleton-shimmer {
    0% {
        background-position: -300px 0;
    }

    100% {
        background-position: 300px 0;
    }
}

.product-skeleton-item .skeleton-img-box {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 6px;
    margin-bottom: 10px;
}

.product-skeleton-item .skeleton-circle {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #e2e6ec;
}

.product-skeleton-item .skeleton-line-title {
    height: 14px;
    border-radius: 4px;
    width: 85%;
    margin-bottom: 8px;
}

.product-skeleton-item .skeleton-line-price {
    height: 12px;
    border-radius: 4px;
    width: 55%;
    margin-bottom: 12px;
}

.product-skeleton-item .skeleton-line-btn {
    height: 26px;
    border-radius: 13px;
    width: 65px;
    margin-top: auto;
}

.btn-buynow,
.btn-addtocart {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    font-weight: 600;
    padding: 10px 0;
    /* border-radius: 5px; */
    text-decoration: none;
}

@media (max-width: 767px) {

    figure.zoom img {
        width: 100%;
        height: 300px !important;
        display: flex;
        justify-content: center;
        align-items: center;
        border: 1px solid #eee;
        border-radius: 8px;
    }

    figure.zoom {
        position: relative;
        width: 100%;
        height: 300px;
        overflow: hidden;
        cursor: zoom-in;
    }
}

.havetoBuy-card {
    background-color: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    position: relative;
}

.havetoBuy-card:hover {
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    color: inherit;
}

.havetoBuy-card .image-container {
    position: relative;
    overflow: hidden;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 1 / 1;
    /* padding: 6px; */
    border-top-left-radius: 0.5rem;
    border-top-right-radius: 0.5rem;
}

.havetoBuy-card .image-container img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease-in-out;
}

.havetoBuy-card:hover .image-container img {
    transform: scale(1.05);
}

.havetoBuy-card .content-wrapper {
    padding: 8px 8px 10px 8px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.havetoBuy-card .product-title {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
    margin-bottom: 6px;
    color: #1a202c;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 35px;
    min-height: 35px;
    text-align: left;
    word-break: break-word;
}

.havetoBuy-card .price-section {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-top: auto;
    min-height: 38px;
    gap: 4px;
}

.havetoBuy-card .price-box {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 36px;
    flex-grow: 1;
    overflow: hidden;
}

.havetoBuy-card .sale-price {
    font-size: 15px;
    font-weight: 700;
    color: #1a202c;
    line-height: 1.2;
    white-space: nowrap;
}

.havetoBuy-card .mrp {
    font-size: 11px;
    color: #94a3b8;
    font-weight: 500;
    text-decoration: line-through;
    line-height: 1.2;
    margin-bottom: 2px;
    white-space: nowrap;
}

.havetoBuy-card .add-btn {
    cursor: pointer;
    border: 1px solid #FFA500 !important;
    border-radius: 6px !important;
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    max-width: 32px !important;
    padding: 0 !important;
    font-size: 14px !important;
    background-color: rgba(255, 165, 0, 0.08) !important;
    color: #FFA500 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    align-self: flex-end !important;
    transition: all 0.2s ease-in-out !important;
    margin-bottom: 0 !important;
}

.havetoBuy-card .add-btn:hover {
    background-color: #FFA500 !important;
    color: #fff !important;
}

.havetoBuy-card .add-btn.disabled,
.havetoBuy-card .add-btn.cursor-not-allowed,
.havetoBuy-card .add-btn:disabled {
    border-color: #cbd5e1 !important;
    background-color: #f1f5f9 !important;
    color: #94a3b8 !important;
    cursor: not-allowed !important;
}

.havetoBuy-card .add-btn.disabled:hover,
.havetoBuy-card .add-btn.cursor-not-allowed:hover,
.havetoBuy-card .add-btn:disabled:hover {
    border-color: #cbd5e1 !important;
    background-color: #f1f5f9 !important;
    color: #94a3b8 !important;
}

.havetoBuy-card .add-btn i {
    margin: 0 !important;
    font-size: 14px;
}

.discount-ribbon {
    position: absolute;
    top: 0;
    left: 10px;
    background-color: #009BDE;
    color: white;
    font-weight: 700;
    text-align: center;
    padding: 8px 8px 14px 8px;
    font-size: 0.8rem;
    line-height: 1.2;
    z-index: 10;
    clip-path: polygon(0% 0%, 100% 0%, 100% calc(100% - 6px), 75% 100%, 50% calc(100% - 6px), 25% 100%, 0% calc(100% - 6px));
    border-radius: 2px 2px 0 0;
}

@media only screen and (max-width: 600px) {
    .discount-ribbon {
        left: 5px;
        padding: 6px 5px 10px 5px;
        font-size: 10px;
    }
}

@media (max-width: 767px) {
    .havetoBuy-card .image-container {
        aspect-ratio: 1 / 0.9;
    }

    .havetoBuy-card .image-container img {
        object-fit: cover;
    }

    /*
                                    .product-slider.owl-carousel .owl-stage {
                                        padding-left: 15px !important;
                                    } */
}

.product-slider .owl-nav {
    position: absolute;
    top: 40%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    pointer-events: none;
}

.product-slider .owl-nav button {
    pointer-events: all;
    width: 40px;
    height: 40px;
    border-radius: 50% !important;
    color: #333 !important;
    font-size: 20px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.product-slider .owl-nav button:hover {
    background: #f0f0f000 !important;
}

.product-slider .owl-prev {
    left: -20px;
}

.product-slider .owl-next {
    right: -20px;
}

/* .trending-badge {
                            position: absolute;
                            top: 10px;
                            right: 10px;
                            background: linear-gradient(135deg, #ff512f, #dd2476);
                            color: #fff;
                            font-size: 12px;
                            font-weight: 600;
                            padding: 4px 10px;
                            border-radius: 20px;
                            z-index: 10;
                            box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
                            letter-spacing: 0.3px;
                        } */

.trending-badge {
    position: absolute;
    bottom: 5px;
    right: 10px;
    background: linear-gradient(135deg, #009ee1, #FED813);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    z-index: 10;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.3px;
}

.custom-owl-nav {
    display: flex;
    gap: 6px;
    align-items: center;
}

.custom-owl-nav .owl-prev,
.custom-owl-nav .owl-next {
    width: 32px;
    height: 32px;
    background: #0091D7 !important;
    border-radius: 50% !important;
    color: #fff !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px !important;
    transition: all 0.2s ease-in-out;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    touch-action: manipulation;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.custom-owl-nav .owl-prev:hover,
.custom-owl-nav .owl-next:hover {
    background: #007bb5 !important;
    color: #fff !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    transform: scale(1.05);
}

.custom-owl-nav .owl-prev.disabled,
.custom-owl-nav .owl-next.disabled {
    opacity: 0.35 !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
    transform: none !important;
    box-shadow: none !important;
}

/* Prevent image drag blocking touch swipe on mobile */
.product-slider,
.product-slider * {
    -webkit-user-drag: none !important;
    -khtml-user-drag: none !important;
    -moz-user-drag: none !important;
    -o-user-drag: none !important;
    user-drag: none !important;
}

.product-slider,
.product-slider .owl-stage-outer,
.product-slider .owl-stage,
.product-slider .owl-item,
.product-slider .item,
.product-slider .havetoBuy-card,
.product-slider .image-container {
    touch-action: pan-y !important;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    user-select: none !important;
}

.product-slider .image-container img,
.product-slider img {
    pointer-events: none !important;
    -webkit-user-drag: none !important;
    user-drag: none !important;
    -webkit-user-select: none !important;
    user-select: none !important;
}

.product-slider .havetoBuy-card {
    -webkit-user-drag: none !important;
    user-drag: none !important;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    touch-action: pan-y !important;
}

.product-slider .havetoBuy-card .add-btn {
    pointer-events: auto !important;
    position: relative;
    z-index: 10;
    touch-action: manipulation !important;
}

/* Hide default nav that is inside the carousel */
#trending-product-section .product-slider .owl-nav {
    display: none;
}

.feature-h5 {
    margin-bottom: 0;
}

/* ========================================================= */
/* Styles from product_index.blade.php */
/* ========================================================= */
/* Product Grid Skeleton & Shimmer */
.product-grid-wrapper {
    position: relative;
    min-height: 350px;
    width: 100%;
}

.product-grid-wrapper.is-loading .product-grid-skeleton {
    display: grid !important;
}

.product-grid-wrapper.is-loading .real-product-grid {
    display: none !important;
}

.product-grid-wrapper.is-loaded .product-grid-skeleton {
    display: none !important;
}

.product-grid-wrapper.is-loaded .real-product-grid {
    display: grid !important;
    animation: fadeInGridProduct 0.35s ease-in-out forwards;
}

@keyframes fadeInGridProduct {
    from {
        opacity: 0;
        transform: translateY(3px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Grid for all screens (Handles Ultra-Wide & 50% Zoom smoothly without gaps) */
.product-grid-wrapper .real-product-grid,
.product-grid-wrapper .product-grid-skeleton {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    width: 100%;
    margin: 0;
    padding: 0;
}

@media (min-width: 576px) {

    .product-grid-wrapper .real-product-grid,
    .product-grid-wrapper .product-grid-skeleton {
        grid-template-columns: repeat(3, 1fr);
        gap: 14px;
    }
}

@media (min-width: 768px) {

    .product-grid-wrapper .real-product-grid,
    .product-grid-wrapper .product-grid-skeleton {
        grid-template-columns: repeat(4, 1fr);
        gap: 15px;
    }
}

@media (min-width: 992px) {

    .product-grid-wrapper .real-product-grid,
    .product-grid-wrapper .product-grid-skeleton {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (min-width: 1200px) {

    .product-grid-wrapper .real-product-grid,
    .product-grid-wrapper .product-grid-skeleton {
        grid-template-columns: repeat(6, 1fr);
    }
}

@media (min-width: 1400px) {

    .product-grid-wrapper .real-product-grid,
    .product-grid-wrapper .product-grid-skeleton {
        grid-template-columns: repeat(7, 1fr);
    }
}

@media (min-width: 1600px) {

    .product-grid-wrapper .real-product-grid,
    .product-grid-wrapper .product-grid-skeleton {
        grid-template-columns: repeat(8, 1fr);
    }
}

@media (min-width: 1920px) {

    .product-grid-wrapper .real-product-grid,
    .product-grid-wrapper .product-grid-skeleton {
        grid-template-columns: repeat(9, 1fr);
    }
}

@media (min-width: 2200px) {

    .product-grid-wrapper .real-product-grid,
    .product-grid-wrapper .product-grid-skeleton {
        grid-template-columns: repeat(10, 1fr);
    }
}

@media (min-width: 2600px) {

    .product-grid-wrapper .real-product-grid,
    .product-grid-wrapper .product-grid-skeleton {
        grid-template-columns: repeat(12, 1fr);
    }
}

@media (min-width: 3200px) {

    .product-grid-wrapper .real-product-grid,
    .product-grid-wrapper .product-grid-skeleton {
        grid-template-columns: repeat(14, 1fr);
    }
}

.product-grid-col {
    display: flex;
    width: 100%;
    height: 100%;
}

.product-skeleton-item {
    background: #ffffff;
    border: 1px solid #edf2f7;
    border-radius: 8px;
    padding: 10px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    height: 100%;
}

.skeleton-shimmer-effect {
    background: #f1f3f6;
    background-image: linear-gradient(90deg, #f1f3f6 0px, #e4e7ed 40px, #f1f3f6 80px);
    background-size: 600px 100%;
    background-repeat: no-repeat;
    animation: skeleton-shimmer 1.5s infinite linear;
}

@keyframes skeleton-shimmer {
    0% {
        background-position: -300px 0;
    }

    100% {
        background-position: 300px 0;
    }
}

.product-skeleton-item .skeleton-img-box {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 6px;
    margin-bottom: 10px;
}

.product-skeleton-item .skeleton-circle {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #e2e6ec;
}

.product-skeleton-item .skeleton-line-title {
    height: 14px;
    border-radius: 4px;
    width: 85%;
    margin-bottom: 8px;
}

.product-skeleton-item .skeleton-line-price {
    height: 12px;
    border-radius: 4px;
    width: 55%;
    margin-bottom: 12px;
}

.product-skeleton-item .skeleton-line-btn {
    height: 26px;
    border-radius: 13px;
    width: 65px;
    margin-top: auto;
}

.trending-badge {
    position: absolute;
    bottom: 5px;
    right: 10px;
    background: linear-gradient(135deg, #009ee1, #FED813);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    z-index: 10;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.3px;
}

.havetoBuy-card {
    background-color: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    position: relative;
}

.havetoBuy-card:hover {
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    color: inherit;
}

.havetoBuy-card .image-container {
    position: relative;
    overflow: hidden;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 1 / 1;
    border-top-left-radius: 0.5rem;
    border-top-right-radius: 0.5rem;
}

.havetoBuy-card .image-container img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease-in-out;
}

.havetoBuy-card:hover .image-container img {
    transform: scale(1.05);
}

.havetoBuy-card .content-wrapper {
    padding: 8px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.havetoBuy-card .sale-price {
    font-size: 16px;
    font-weight: 600;
    color: #1a202c;
}

.category-title {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
}

.category-img img {
    object-fit: cover;
}

.category-title p {
    margin: 0;
    line-height: 1.2;
    text-align: center;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
}


.text-truncate-2line {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-height: 2.8em;
    font-weight: normal;
    font-size: 0.9rem;
}

.product-card {
    background-color: #fff;
}

.product-card-link {
    color: inherit;
}

.product-card-link:hover {
    text-decoration: none;
    color: inherit;
}

.product-card-link:hover .product-card {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.offer-details {
    font-size: 0.85rem;
}

.list-price {
    font-size: 0.8rem;
}

.product-price-section sup {
    font-size: 0.75rem;
    top: -0.5em;
}

.product-price-section .fs-4 {
    font-size: 1.25rem !important;
}

.discount-ribbon {
    position: absolute;
    top: 0;
    left: 10px;
    background-color: #009BDE;
    color: white;
    font-weight: 700;
    text-align: center;
    padding: 8px 8px 14px 8px;
    font-size: 0.8rem;
    line-height: 1.2;
    z-index: 10;
    clip-path: polygon(0% 0%, 100% 0%, 100% calc(100% - 6px), 75% 100%, 50% calc(100% - 6px), 25% 100%, 0% calc(100% - 6px));
    border-radius: 2px 2px 0 0;
}

.havetoBuy-card .product-title {
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.35 !important;
    margin-bottom: 6px !important;
    color: #1a202c !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    height: 36px !important;
    min-height: 36px !important;
    max-height: 36px !important;
    text-align: left !important;
    word-break: break-word !important;
}

.havetoBuy-card .price-section {
    display: flex !important;
    align-items: flex-end !important;
    justify-content: space-between !important;
    margin-top: auto !important;
    padding-top: 4px !important;
    width: 100% !important;
    min-height: 36px !important;
}

.havetoBuy-card .price-box {
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
    min-height: 34px !important;
    text-align: left !important;
}

.havetoBuy-card .sale-price {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #1a202c !important;
    line-height: 1.2 !important;
    margin: 0 !important;
}

.havetoBuy-card .mrp {
    font-size: 11px !important;
    color: #718096 !important;
    font-weight: 500 !important;
    text-decoration: line-through !important;
    line-height: 1.2 !important;
    margin-bottom: 2px !important;
    display: block !important;
}

.havetoBuy-card .add-btn {
    cursor: pointer;
    border: 1px solid #FFA500 !important;
    border-radius: 6px !important;
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    max-width: 32px !important;
    padding: 0 !important;
    font-size: 14px !important;
    background-color: rgba(255, 165, 0, 0.08) !important;
    color: #FFA500 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    align-self: flex-end !important;
    margin-bottom: 0 !important;
    transition: all 0.2s ease-in-out !important;
}

.havetoBuy-card .add-btn:hover {
    background-color: #FFA500 !important;
    color: #fff !important;
}

.havetoBuy-card .add-btn.disabled,
.havetoBuy-card .add-btn.cursor-not-allowed,
.havetoBuy-card .add-btn:disabled {
    border-color: #cbd5e1 !important;
    background-color: #f1f5f9 !important;
    color: #94a3b8 !important;
    cursor: not-allowed !important;
}

.havetoBuy-card .add-btn.disabled:hover,
.havetoBuy-card .add-btn.cursor-not-allowed:hover,
.havetoBuy-card .add-btn:disabled:hover {
    border-color: #cbd5e1 !important;
    background-color: #f1f5f9 !important;
    color: #94a3b8 !important;
}

@media screen and (max-width: 767px) {
    .single-slide {
        height: 180px;
        width: 100%;
    }
}

@media only screen and (max-width: 600px) {
    .lg-0 {
        width: 33.333333%;
    }

    .discount-ribbon {
        left: 5px;
        padding: 6px 5px 10px 5px;
        font-size: 10px;
    }
}

/* ========================================================= */
/* UNIQUE SPECIAL OFFER PRODUCTS PAGE STYLES */
/* ========================================================= */
.special-offer-hero {
    background: linear-gradient(135deg, #009bde 0%, #232F3E 45%, #009bde 100%);
    border-bottom: 2px solid rgba(255, 165, 0, 0.25);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    margin-bottom: 10px;
}

.special-offer-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 80% 20%, rgba(255, 122, 0, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 20% 80%, rgba(16, 185, 129, 0.15) 0%, transparent 45%);
    pointer-events: none;
}

.special-offer-sparkle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(40px);
}

.sparkle-1 {
    width: 250px;
    height: 250px;
    background: rgba(245, 158, 11, 0.18);
    top: -50px;
    right: 10%;
}

.sparkle-2 {
    width: 200px;
    height: 200px;
    background: rgba(16, 185, 129, 0.15);
    bottom: -50px;
    left: 5%;
}

.special-offer-hot-badge {
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.4);
    box-shadow: 0 0 15px rgba(239, 68, 68, 0.25);
}

.pulse-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #ef4444;
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
    animation: pulseDotAnim 1.6s infinite;
}

@keyframes pulseDotAnim {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 7px rgba(239, 68, 68, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
    }
}

.text-highlight-gradient {
    background: linear-gradient(90deg, #fbbf24, #f59e0b, #34d399);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 900;
}

.offer-feature-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 5px 12px;
    border-radius: 20px;
    color: #f8fafc;
    font-size: 12px;
    font-weight: 500;
    backdrop-filter: blur(6px);
}

.offer-stat-box {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    min-width: 220px;
}

.offer-stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(251, 191, 36, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
}

.offer-pill-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #e2e8f0;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.25s ease;
    cursor: pointer;
}

.offer-pill-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    transform: translateY(-1px);
}

.offer-pill-btn.active {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    border-color: #f59e0b;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.35);
}

/* Unique Special Offer Card Styles */
.offer-special-card {
    border: 1px solid #fee2e2 !important;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.05);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
}


.special-deal-tag {
    position: absolute;
    top: 6px;
    right: 6px;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #ffffff;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.5px;
    padding: 2px 7px;
    border-radius: 4px;
    z-index: 9;
    box-shadow: 0 2px 6px rgba(220, 38, 38, 0.35);
    text-transform: uppercase;
}

.offer-discount-ribbon {
    background: linear-gradient(135deg, #009BDE, #009BDE) !important;
    box-shadow: 0 4px 10px rgba(225, 29, 72, 0.3);
}

.offer-save-badge {
    display: inline-flex;
    align-items: center;
    background: #ecfdf5;
    color: #059669;
    border: 1px solid #a7f3d0;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 4px;
    width: fit-content;
    margin-bottom: 4px;
}

.offer-sale-price {
    color: #dc2626 !important;
    font-size: 17px !important;
    font-weight: 700 !important;
}

.offer-add-btn {
    background: linear-gradient(135deg, #fff1f2, #ffe4e6) !important;
    border-color: #FFA500 !important;
    color: #FFA500 !important;
}

.offer-add-btn:hover {
    background: linear-gradient(135deg, #FFA500, #FFA500) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(225, 29, 72, 0.3);
}

/* ========================================================= */
/* MOBILE RESPONSIVE OPTIMIZATIONS (TABLETS & PHONES) */
/* ========================================================= */
@media (max-width: 767px) {
    .special-offer-hero {
        padding-top: 1.25rem !important;
        padding-bottom: 1.25rem !important;
    }

    .special-offer-title {
        font-size: 1.5rem !important;
        line-height: 1.25 !important;
        margin-bottom: 6px !important;
    }

    .special-offer-hero p {
        font-size: 12.5px !important;
        margin-bottom: 12px !important;
        line-height: 1.45 !important;
    }

    .offer-feature-pill {
        font-size: 11px !important;
        padding: 4px 9px !important;
        gap: 4px !important;
    }

    .offer-stat-box {
        width: 100% !important;
        min-width: 100% !important;
        margin-top: 8px !important;
        padding: 10px 14px !important;
    }

    .offer-stat-icon {
        width: 40px !important;
        height: 40px !important;
        border-radius: 8px !important;
    }

    .offer-stat-icon i {
        font-size: 1.25rem !important;
    }

    .offer-stat-box .fs-4 {
        font-size: 1.2rem !important;
    }

    /* Horizontal Scrollable Discount Filter Pills on Mobile */
    .offer-filter-bar {
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 6px !important;
        margin-top: 1rem !important;
        scrollbar-width: none;
    }

    .offer-filter-bar::-webkit-scrollbar {
        display: none;
    }

    .offer-filter-bar>span {
        flex-shrink: 0;
        font-size: 12px !important;
    }

    .offer-pill-btn {
        flex-shrink: 0;
        white-space: nowrap !important;
        padding: 5px 11px !important;
        font-size: 11.5px !important;
    }
}

@media only screen and (max-width: 575px) {
    .special-offer-hero {
        padding-top: 1rem !important;
        padding-bottom: 1rem !important;
    }

    .special-offer-title {
        font-size: 1.35rem !important;
    }

    .special-offer-hot-badge {
        font-size: 10px !important;
        padding: 2px 8px !important;
    }

    /* Compact Product Cards on Small Mobile */
    .product-grid-wrapper .real-product-grid,
    .product-grid-wrapper .product-grid-skeleton {
        gap: 8px !important;
    }

    .special-deal-tag {
        top: 4px !important;
        right: 4px !important;
        font-size: 7.5px !important;
        padding: 1.5px 4px !important;
    }

    .offer-discount-ribbon,
    .discount-ribbon {
        left: 4px !important;
        font-size: 9px !important;
        padding: 4px 4px 8px 4px !important;
    }

    .offer-save-badge {
        font-size: 9px !important;
        padding: 1px 4px !important;
        margin-bottom: 2px !important;
    }

    .offer-sale-price {
        font-size: 13.5px !important;
    }

    .havetoBuy-card .product-title {
        font-size: 11.5px !important;
        min-height: 28px !important;
        line-height: 1.25 !important;
    }

    .havetoBuy-card .content-wrapper {
        padding: 6px !important;
    }

    .havetoBuy-card .add-btn {
        font-size: 14px !important;
        padding: 2px 6px !important;
        max-width: 44px !important;
        height: 28px !important;
    }

    .express-delivery-badge {
        font-size: 9px !important;
        padding: 2px 5px !important;
    }
}

/* ========================================================= */
/* Styles from category_details.blade.php */
/* ========================================================= */
/* Product Grid Skeleton & Shimmer */
.product-grid-wrapper {
    position: relative;
    min-height: 350px;
    width: 100%;
}

.product-grid-wrapper.is-loading .product-grid-skeleton {
    display: grid !important;
}

.product-grid-wrapper.is-loading .real-product-grid {
    display: none !important;
}

.product-grid-wrapper.is-loaded .product-grid-skeleton {
    display: none !important;
}

.product-grid-wrapper.is-loaded .real-product-grid {
    display: grid !important;
    animation: fadeInGridProduct 0.35s ease-in-out forwards;
}

@keyframes fadeInGridProduct {
    from {
        opacity: 0;
        transform: translateY(3px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Grid for all screens (Handles Ultra-Wide & 50% Zoom smoothly without gaps) */
.product-grid-wrapper .real-product-grid,
.product-grid-wrapper .product-grid-skeleton {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    width: 100%;
    margin: 0;
    padding: 0;
}

@media (min-width: 576px) {

    .product-grid-wrapper .real-product-grid,
    .product-grid-wrapper .product-grid-skeleton {
        grid-template-columns: repeat(3, 1fr);
        gap: 14px;
    }
}

@media (min-width: 768px) {

    .product-grid-wrapper .real-product-grid,
    .product-grid-wrapper .product-grid-skeleton {
        grid-template-columns: repeat(4, 1fr);
        gap: 15px;
    }
}

@media (min-width: 992px) {

    .product-grid-wrapper .real-product-grid,
    .product-grid-wrapper .product-grid-skeleton {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (min-width: 1200px) {

    .product-grid-wrapper .real-product-grid,
    .product-grid-wrapper .product-grid-skeleton {
        grid-template-columns: repeat(6, 1fr);
    }
}

@media (min-width: 1400px) {

    .product-grid-wrapper .real-product-grid,
    .product-grid-wrapper .product-grid-skeleton {
        grid-template-columns: repeat(7, 1fr);
    }
}

@media (min-width: 1600px) {

    .product-grid-wrapper .real-product-grid,
    .product-grid-wrapper .product-grid-skeleton {
        grid-template-columns: repeat(8, 1fr);
    }
}

@media (min-width: 1920px) {

    .product-grid-wrapper .real-product-grid,
    .product-grid-wrapper .product-grid-skeleton {
        grid-template-columns: repeat(9, 1fr);
    }
}

@media (min-width: 2200px) {

    .product-grid-wrapper .real-product-grid,
    .product-grid-wrapper .product-grid-skeleton {
        grid-template-columns: repeat(10, 1fr);
    }
}

@media (min-width: 2600px) {

    .product-grid-wrapper .real-product-grid,
    .product-grid-wrapper .product-grid-skeleton {
        grid-template-columns: repeat(12, 1fr);
    }
}

@media (min-width: 3200px) {

    .product-grid-wrapper .real-product-grid,
    .product-grid-wrapper .product-grid-skeleton {
        grid-template-columns: repeat(14, 1fr);
    }
}

.product-grid-col {
    display: flex;
    width: 100%;
    height: 100%;
}

.product-skeleton-item {
    background: #ffffff;
    border: 1px solid #edf2f7;
    border-radius: 8px;
    padding: 10px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    height: 100%;
}

.skeleton-shimmer-effect {
    background: #f1f3f6;
    background-image: linear-gradient(90deg, #f1f3f6 0px, #e4e7ed 40px, #f1f3f6 80px);
    background-size: 600px 100%;
    background-repeat: no-repeat;
    animation: skeleton-shimmer 1.5s infinite linear;
}

@keyframes skeleton-shimmer {
    0% {
        background-position: -300px 0;
    }

    100% {
        background-position: 300px 0;
    }
}

.product-skeleton-item .skeleton-img-box {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 6px;
    margin-bottom: 10px;
}

.product-skeleton-item .skeleton-circle {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #e2e6ec;
}

.product-skeleton-item .skeleton-line-title {
    height: 14px;
    border-radius: 4px;
    width: 85%;
    margin-bottom: 8px;
}

.product-skeleton-item .skeleton-line-price {
    height: 12px;
    border-radius: 4px;
    width: 55%;
    margin-bottom: 12px;
}

.product-skeleton-item .skeleton-line-btn {
    height: 26px;
    border-radius: 13px;
    width: 65px;
    margin-top: auto;
}

.havetoBuy-card {
    background-color: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    position: relative;
}

.havetoBuy-card:hover {
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    color: inherit;
}

.havetoBuy-card .image-container {
    position: relative;
    overflow: hidden;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 1 / 1;
    border-top-left-radius: 0.5rem;
    border-top-right-radius: 0.5rem;
}

.havetoBuy-card .image-container img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease-in-out;
}

.havetoBuy-card:hover .image-container img {
    transform: scale(1.05);
}

.havetoBuy-card .content-wrapper {
    padding: 8px 10px 10px 10px !important;
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important;
    justify-content: space-between !important;
}

.havetoBuy-card .product-title {
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.35 !important;
    margin-bottom: 6px !important;
    color: #1a202c !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    height: 36px !important;
    min-height: 36px !important;
    max-height: 36px !important;
    text-align: left !important;
    word-break: break-word !important;
}

.havetoBuy-card .price-section {
    display: flex !important;
    align-items: flex-end !important;
    justify-content: space-between !important;
    margin-top: auto !important;
    padding-top: 4px !important;
    width: 100% !important;
    min-height: 36px !important;
}

.havetoBuy-card .price-box {
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
    min-height: 34px !important;
    text-align: left !important;
}

.havetoBuy-card .sale-price {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #1a202c !important;
    line-height: 1.2 !important;
    margin: 0 !important;
}

.havetoBuy-card .mrp {
    font-size: 11px !important;
    color: #718096 !important;
    font-weight: 500 !important;
    text-decoration: line-through !important;
    line-height: 1.2 !important;
    margin-bottom: 2px !important;
    display: block !important;
}

.havetoBuy-card .add-btn {
    cursor: pointer;
    border: 1px solid #FFA500 !important;
    border-radius: 6px !important;
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    max-width: 32px !important;
    padding: 0 !important;
    font-size: 14px !important;
    background-color: rgba(255, 165, 0, 0.08) !important;
    color: #FFA500 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    align-self: flex-end !important;
    margin-bottom: 0 !important;
    transition: all 0.2s ease-in-out !important;
}

.havetoBuy-card .add-btn:hover {
    background-color: #FFA500 !important;
    color: #ffffff !important;
}

.havetoBuy-card .add-btn.disabled,
.havetoBuy-card .add-btn.cursor-not-allowed,
.havetoBuy-card .add-btn:disabled {
    border-color: #cbd5e1 !important;
    background-color: #f1f5f9 !important;
    color: #94a3b8 !important;
    cursor: not-allowed !important;
}

.havetoBuy-card .add-btn.disabled:hover,
.havetoBuy-card .add-btn.cursor-not-allowed:hover,
.havetoBuy-card .add-btn:disabled:hover {
    border-color: #cbd5e1 !important;
    background-color: #f1f5f9 !important;
    color: #94a3b8 !important;
}

.discount-ribbon {
    position: absolute;
    top: 0;
    left: 10px;
    background-color: #009BDE;
    color: white;
    font-weight: 700;
    text-align: center;
    padding: 8px 8px 14px 8px;
    font-size: 0.8rem;
    line-height: 1.2;
    z-index: 10;
    clip-path: polygon(0% 0%, 100% 0%, 100% calc(100% - 6px), 75% 100%, 50% calc(100% - 6px), 25% 100%, 0% calc(100% - 6px));
    border-radius: 2px 2px 0 0;
}

@media only screen and (max-width: 600px) {
    .discount-ribbon {
        left: 5px;
        padding: 6px 5px 10px 5px;
        font-size: 10px;
    }

    .havetoBuy-card .add-btn {
        max-width: 65px;
    }
}

@media only screen and (max-width: 575px) {

    .product-grid-wrapper .real-product-grid,
    .product-grid-wrapper .product-grid-skeleton {
        gap: 8px !important;
    }

    .discount-ribbon {
        left: 4px !important;
        font-size: 9px !important;
        padding: 4px 4px 8px 4px !important;
    }

    .havetoBuy-card .product-title {
        font-size: 11.5px !important;
        min-height: 28px !important;
        line-height: 1.25 !important;
    }

    .havetoBuy-card .content-wrapper {
        padding: 6px !important;
    }

    .havetoBuy-card .sale-price {
        font-size: 13.5px !important;
    }

    .havetoBuy-card .mrp {
        font-size: 10px !important;
    }

    .havetoBuy-card .add-btn {
        font-size: 14px !important;
        padding: 2px 6px !important;
        max-width: 44px !important;
        height: 28px !important;
    }

    .express-delivery-badge {
        font-size: 9px !important;
        padding: 2px 5px !important;
    }
}

/* ========================================================= */
/* Styles from subcategory_detail.blade.php */
/* ========================================================= */
/* Product Grid Skeleton & Shimmer */
.product-grid-wrapper {
    position: relative;
    min-height: 350px;
    width: 100%;
}

.product-grid-wrapper.is-loading .product-grid-skeleton {
    display: grid !important;
}

.product-grid-wrapper.is-loading .real-product-grid {
    display: none !important;
}

.product-grid-wrapper.is-loaded .product-grid-skeleton {
    display: none !important;
}

.product-grid-wrapper.is-loaded .real-product-grid {
    display: grid !important;
    animation: fadeInGridProduct 0.35s ease-in-out forwards;
}

@keyframes fadeInGridProduct {
    from {
        opacity: 0;
        transform: translateY(3px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Grid for all screens (Handles Ultra-Wide & 50% Zoom smoothly without gaps) */
.product-grid-wrapper .real-product-grid,
.product-grid-wrapper .product-grid-skeleton {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    width: 100%;
    margin: 0;
    padding: 0;
}

@media (min-width: 576px) {

    .product-grid-wrapper .real-product-grid,
    .product-grid-wrapper .product-grid-skeleton {
        grid-template-columns: repeat(3, 1fr);
        gap: 14px;
    }
}

@media (min-width: 768px) {

    .product-grid-wrapper .real-product-grid,
    .product-grid-wrapper .product-grid-skeleton {
        grid-template-columns: repeat(4, 1fr);
        gap: 15px;
    }
}

@media (min-width: 992px) {

    .product-grid-wrapper .real-product-grid,
    .product-grid-wrapper .product-grid-skeleton {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (min-width: 1200px) {

    .product-grid-wrapper .real-product-grid,
    .product-grid-wrapper .product-grid-skeleton {
        grid-template-columns: repeat(6, 1fr);
    }
}

@media (min-width: 1400px) {

    .product-grid-wrapper .real-product-grid,
    .product-grid-wrapper .product-grid-skeleton {
        grid-template-columns: repeat(7, 1fr);
    }
}

@media (min-width: 1600px) {

    .product-grid-wrapper .real-product-grid,
    .product-grid-wrapper .product-grid-skeleton {
        grid-template-columns: repeat(8, 1fr);
    }
}

@media (min-width: 1920px) {

    .product-grid-wrapper .real-product-grid,
    .product-grid-wrapper .product-grid-skeleton {
        grid-template-columns: repeat(9, 1fr);
    }
}

@media (min-width: 2200px) {

    .product-grid-wrapper .real-product-grid,
    .product-grid-wrapper .product-grid-skeleton {
        grid-template-columns: repeat(10, 1fr);
    }
}

@media (min-width: 2600px) {

    .product-grid-wrapper .real-product-grid,
    .product-grid-wrapper .product-grid-skeleton {
        grid-template-columns: repeat(12, 1fr);
    }
}

@media (min-width: 3200px) {

    .product-grid-wrapper .real-product-grid,
    .product-grid-wrapper .product-grid-skeleton {
        grid-template-columns: repeat(14, 1fr);
    }
}

.product-grid-col {
    display: flex;
    width: 100%;
    height: 100%;
}

.product-skeleton-item {
    background: #ffffff;
    border: 1px solid #edf2f7;
    border-radius: 8px;
    padding: 10px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    height: 100%;
}

.skeleton-shimmer-effect {
    background: #f1f3f6;
    background-image: linear-gradient(90deg, #f1f3f6 0px, #e4e7ed 40px, #f1f3f6 80px);
    background-size: 600px 100%;
    background-repeat: no-repeat;
    animation: skeleton-shimmer 1.5s infinite linear;
}

@keyframes skeleton-shimmer {
    0% {
        background-position: -300px 0;
    }

    100% {
        background-position: 300px 0;
    }
}

.product-skeleton-item .skeleton-img-box {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 6px;
    margin-bottom: 10px;
}

.product-skeleton-item .skeleton-circle {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #e2e6ec;
}

.product-skeleton-item .skeleton-line-title {
    height: 14px;
    border-radius: 4px;
    width: 85%;
    margin-bottom: 8px;
}

.product-skeleton-item .skeleton-line-price {
    height: 12px;
    border-radius: 4px;
    width: 55%;
    margin-bottom: 12px;
}

.product-skeleton-item .skeleton-line-btn {
    height: 26px;
    border-radius: 13px;
    width: 65px;
    margin-top: auto;
}

.havetoBuy-card {
    background-color: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    position: relative;
}

.havetoBuy-card:hover {
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    color: inherit;
}

.havetoBuy-card .image-container {
    position: relative;
    overflow: hidden;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 1 / 1;
    border-top-left-radius: 0.5rem;
    border-top-right-radius: 0.5rem;
}

.havetoBuy-card .image-container img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease-in-out;
}

.havetoBuy-card:hover .image-container img {
    transform: scale(1.05);
}

.havetoBuy-card .content-wrapper {
    padding: 8px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.havetoBuy-card .product-title {
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.35 !important;
    margin-bottom: 6px !important;
    color: #1a202c !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    height: 36px !important;
    min-height: 36px !important;
    max-height: 36px !important;
    text-align: left !important;
    word-break: break-word !important;
}

.havetoBuy-card .price-section {
    display: flex !important;
    align-items: flex-end !important;
    justify-content: space-between !important;
    margin-top: auto !important;
    padding-top: 4px !important;
    width: 100% !important;
    min-height: 36px !important;
}

.havetoBuy-card .price-box {
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
    min-height: 34px !important;
    text-align: left !important;
}

.havetoBuy-card .sale-price {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #1a202c !important;
    line-height: 1.2 !important;
    margin: 0 !important;
}

.havetoBuy-card .mrp {
    font-size: 11px !important;
    color: #718096 !important;
    font-weight: 500 !important;
    text-decoration: line-through !important;
    line-height: 1.2 !important;
    margin-bottom: 2px !important;
    display: block !important;
}

.havetoBuy-card .add-btn {
    cursor: pointer;
    border: 1px solid #FFA500 !important;
    border-radius: 6px !important;
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    max-width: 32px !important;
    padding: 0 !important;
    font-size: 14px !important;
    background-color: rgba(255, 165, 0, 0.08) !important;
    color: #FFA500 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    align-self: flex-end !important;
    margin-bottom: 0 !important;
    transition: all 0.2s ease-in-out !important;
}

.havetoBuy-card .add-btn:hover {
    background-color: #FFA500 !important;
    color: #ffffff !important;
}

.havetoBuy-card .add-btn.disabled,
.havetoBuy-card .add-btn.cursor-not-allowed,
.havetoBuy-card .add-btn:disabled {
    border-color: #cbd5e1 !important;
    background-color: #f1f5f9 !important;
    color: #94a3b8 !important;
    cursor: not-allowed !important;
}

.havetoBuy-card .add-btn.disabled:hover,
.havetoBuy-card .add-btn.cursor-not-allowed:hover,
.havetoBuy-card .add-btn:disabled:hover {
    border-color: #cbd5e1 !important;
    background-color: #f1f5f9 !important;
    color: #94a3b8 !important;
}

.discount-ribbon {
    position: absolute;
    top: 0;
    left: 10px;
    background-color: #009BDE;
    color: white;
    font-weight: 700;
    text-align: center;
    padding: 8px 8px 14px 8px;
    font-size: 0.8rem;
    line-height: 1.2;
    z-index: 10;
    clip-path: polygon(0% 0%, 100% 0%, 100% calc(100% - 6px), 75% 100%, 50% calc(100% - 6px), 25% 100%, 0% calc(100% - 6px));
    border-radius: 2px 2px 0 0;
}

@media only screen and (max-width: 600px) {
    .discount-ribbon {
        left: 5px;
        padding: 6px 5px 10px 5px;
        font-size: 10px;
    }
}

@media only screen and (max-width: 575px) {

    .product-grid-wrapper .real-product-grid,
    .product-grid-wrapper .product-grid-skeleton {
        gap: 8px !important;
    }

    .discount-ribbon {
        left: 4px !important;
        font-size: 9px !important;
        padding: 4px 4px 8px 4px !important;
    }

    .havetoBuy-card .product-title {
        font-size: 11.5px !important;
        min-height: 28px !important;
        line-height: 1.25 !important;
    }

    .havetoBuy-card .content-wrapper {
        padding: 6px !important;
    }

    .havetoBuy-card .sale-price {
        font-size: 13.5px !important;
    }

    .havetoBuy-card .mrp {
        font-size: 10px !important;
    }

    .havetoBuy-card .add-btn {
        font-size: 14px !important;
        padding: 2px 6px !important;
        max-width: 44px !important;
        height: 28px !important;
    }

    .express-delivery-badge {
        font-size: 9px !important;
        padding: 2px 5px !important;
    }
}