.product-front {
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.active-page {
    border-color: #dddddd;
    background-color: rgba(37, 37, 37, 0.1);
}

.new-arrivals-products .new-arrivals-item {
    padding: 10px;
}

.best-sellers-item {
    padding: 10px;
}

.product .product-box .product-detail.detail-inline {
    display: flex !important;
    width: 100% !important;
    align-items: center !important;
}

.product-detail .detail-inline .detail-title {
    width: 100%;
    padding: 5px 10px 5px 5px;
}

.product .product-box .product-imgbox {
    padding: 10px;
}

.product-box:hover {
    box-shadow: 0px 0px 5px 1px #959595;
}

.collection-product-wrapper .product-wrapper-grid .product-box {
    margin-top: 15px !important;
}

.product .product-box .product-detail.detail-inline {
    display: flex !important;
    width: 100% !important;
    align-items: center !important;
}

.product-detail .detail-inline .detail-title {
    width: 100%;
    padding: 5px 10px 5px 5px;
}

.product .product-box .product-detail .detail-title {
    width: 100% !important;
}

.product .product-box .product-imgbox {
    padding: 10px;
}

.product-box:hover {
    box-shadow: 0px 0px 5px 1px #959595;
}

.collection-product-wrapper .product-wrapper-grid .product-box {
    margin-top: 15px !important;
}

.product .product-box .product-imgbox .on-sale {
    position: absolute;
    width: 150px;
    background: red;
    color: white;
    text-align: center;
    font-weight: bold;
    font-size: 12px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
    z-index: 1;
    top: 10px;
    right: -40px;
    transform: rotate(45deg);
    padding: 3px 6px 0 25px !important;
}







/* start in skeleton mode (only for this page) */
html.ab-home-loaded .ab-home-skeleton {
    display: none !important;
}

html.ab-home-loaded .ab-home-real {
    visibility: visible !important;
}

/* While loading */
html:not(.ab-home-loaded) .ab-home-real {
    visibility: hidden;
}

/* wrapper must have height even when real content is hidden */
.ab-home-skel-wrap {
    position: relative;
    min-height: 900px;
    /* important: prevents collapse */
}

/* overlay */
.ab-home-skeleton {
    position: absolute;
    inset: 0;
    z-index: 50;
    background: #fff;
    pointer-events: none;
}

.ab-skel-container {
    padding: 12px 12px 20px 12px;
}

.ab-skel-card {
    background: #fff;
    border-radius: 10px;
}

.ab-skel-gap {
    height: 10px;
}

.ab-skel-box {
    border-radius: 10px;
    background: #eee;
}

.ab-skel-line {
    height: 12px;
    border-radius: 8px;
    background: #eee;
    width: 100%;
}

.ab-skel-line.sm {
    height: 10px;
    width: 65%;
}

.ab-skel-line.lg {
    height: 14px;
    width: 35%;
}

.ab-skel-hero {
    height: 560px;
    width: 100%;
    border-radius: 14px;
}

.ab-skel-banner-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 12px;
}

.ab-skel-banner-left {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.ab-skel-banner-wide {
    height: 120px;
}

.ab-skel-banner-tall {
    height: 140px;
}

.ab-skel-banner-right {
    height: 272px;
}

.ab-skel-products {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 12px;
}

.ab-skel-product-card {
    padding: 0;
}

.ab-skel-thumb {
    height: 140px;
}

.ab-skel-row {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.ab-skel-price {
    width: 55%;
}

.ab-skel-name {
    width: 95%;
}

.ab-skel-name2 {
    width: 80%;
}

/* shimmer */
.ab-skel-shimmer {
    position: relative;
    overflow: hidden;
}

.ab-skel-shimmer:after {
    content: "";
    position: absolute;
    top: 0;
    left: -150px;
    width: 150px;
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.65), rgba(255, 255, 255, 0));
    animation: abShimmer 1.2s infinite;
}

@keyframes abShimmer {
    0% {
        left: -150px;
    }

    100% {
        left: 100%;
    }
}

@media(max-width: 1024px) {
    .ab-skel-products {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media(max-width: 600px) {
    .ab-skel-products {
        grid-template-columns: repeat(3, 1fr);
    }

    .ab-skel-hero {
        height: 200px;
    }
}

@media(max-width: 480px) {
    .ab-skel-products {
        grid-template-columns: repeat(2, 1fr);
    }

    .ab-skel-banner-grid {
        grid-template-columns: 1fr;
    }

    .ab-skel-banner-right {
        height: 160px;
    }
}