/* Certive Baby brand overrides */

.site-btn,
.primary-btn {
    background: #37AEE2;
}

.site-btn:hover,
.primary-btn:hover {
    background: #2a9fd4;
}

.header__menu ul li a:after {
    background: #37AEE2;
}

.header__menu ul li.active a:after,
.header__menu ul li a.active:after {
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
}

.header__menu ul li:hover a:after {
    background: #37AEE2;
}

.filter__controls li.active {
    color: #37AEE2;
}

.filter__controls li:hover {
    color: #37AEE2;
}

.filter__controls li.active:after {
    background: #37AEE2;
}

.filter__controls li:hover:after {
    background: #37AEE2;
}

.product__item.sale .product__item__text .product__price {
    color: #37AEE2;
}

.product__price-from {
    font-style: italic;
    color: #37AEE2;
    font-weight: 400;
    font-size: 14px;
    margin-right: 4px;
}

.product__item.sale .product__item__pic .label,
.product__item__pic .label.sale {
    background: #37AEE2;
}

.product__hover li:hover a {
    background: #37AEE2;
}

.categories__text a:after,
.discount__text a:after {
    background: #37AEE2;
}

.banner__text span {
    color: #37AEE2;
}

.banner__slider.owl-carousel .owl-dots button.active {
    background: #37AEE2;
}

.discount__text__title span {
    color: #6D5A4B;
}

/* Product card — Certive Baby */
.product-card {
    background: #fff;
    border: 1px solid #ebebeb;
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.product-card:hover {
    box-shadow: 0 8px 24px rgba(55, 174, 226, 0.12);
    transform: translateY(-2px);
}

.product-card__media {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #fafafa;
    overflow: hidden;
}

.product-card__label {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 1;
    padding: 4px 10px;
    border-radius: 4px;
    background: #37AEE2;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.product-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 10px;
    margin-bottom: 8px;
    font-size: 12px;
    line-height: 1.4;
    color: #888;
}

.product-card__stock {
    color: #6D5A4B;
}

.product-card__brand {
    color: #888;
}

.product-card__image-link {
    display: block;
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
}

.product-card__media img {
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center;
    display: block;
}

.product-card__wishlist {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    color: #bbb;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: color 0.15s ease, background 0.15s ease;
    padding: 0;
    font-size: 16px;
    line-height: 1;
}

.product-card__wishlist:hover,
.product-card__wishlist.is-active {
    color: #37AEE2;
    background: #fff;
}

.product-card__body {
    padding: 16px 16px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-card__title {
    margin: 0 0 10px;
    line-height: 1.45;
    min-height: 46px;
}

.product-card__title a {
    color: #6D5A4B;
    font-weight: 500;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card__title a:hover {
    color: #37AEE2;
}

.product-card__pricing {
    margin-bottom: 8px;
}

.product-card__price {
    display: block;
    color: #37AEE2;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 4px;
}

.product-card__price-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.product-card__price-old {
    color: #aaa;
    font-size: 13px;
    text-decoration: line-through;
}

.product-card__discount {
    display: inline-block;
    background: #6D5A4B;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 4px;
    line-height: 1.4;
}

.product-card__rating {
    margin-bottom: 14px;
    display: flex;
    gap: 2px;
}

.product-card__rating .fa {
    font-size: 14px;
    color: #ddd;
}

.product-card__rating .fa-star {
    color: #37AEE2;
}

.product-card__shopee-btn {
    width: 100%;
    margin-top: auto;
    border: none;
    border-radius: 999px;
    background: #EE4D2D;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    padding: 11px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.15s ease;
    line-height: 1;
}

.product-card__shopee-btn:hover,
.product-card__shopee-btn:focus {
    background: #d73211;
    color: #fff;
    text-decoration: none;
}

.product-card__shopee-btn__icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    display: block;
}

@media only screen and (max-width: 767px) {
    .product-card__body {
        padding: 12px 10px 14px;
    }

    .product-card__price {
        font-size: 15px;
    }

    .product-card__title {
        min-height: auto;
        margin-bottom: 8px;
    }

    .product-card__title a {
        font-size: 13px;
    }

    .product-card__shopee-btn {
        font-size: 12px;
        padding: 9px 12px;
        gap: 8px;
    }

    .product-card__shopee-btn__icon {
        width: 18px;
        height: 18px;
    }

    .product-card__wishlist {
        width: 32px;
        height: 32px;
        top: 8px;
        right: 8px;
        font-size: 14px;
    }
}

.landing-products__load-more-wrap {
    margin-top: 32px;
}

.landing-products__load-more:disabled {
    opacity: 0.7;
    cursor: wait;
}

.landing-products__load-more-spinner {
    display: inline-block;
}

.footer__social {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

@media only screen and (max-width: 767.98px) {
    .product-card__shopee-btn {
        min-height: 44px;
    }
}
