@font-face {
    font-family: "Proxima Nova Regular";
    src: url("/fonts/ProximaNova-Regular.otf") format("opentype");
    font-weight: normal;
    font-style: normal;
}

:root {
    --color-yellow: #ffe600;
    --color-purple: #8d1890;
    --color-light-purple: #8533af;
    --color-blue: #2968c8;
    --color-light-blue: #3583fa;
    --color-red: #d12440;
    --color-green: #01a651;
    --color-background: #e7e7e7;
    --font-proxima-nova: "Proxima Nova Regular", -apple-system, Roboto, Arial, sans-serif;
}

.bg-purple {
    background-color: var(--color-purple);
}

.bg-blue {
    background-color: var(--color-blue);
}

.btn-transparent {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.2);
    font-weight: bold;
}

.btn-transparent:hover {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.2);
}

.info-title {
    font-size: 1.2rem;
    color: #4b4b4b;
}

.info-subtitle {
    font-size: 1.2rem;
    font-weight: normal;
    color: #4b4b4b;
}

.rounded-left {
    border-top-left-radius: calc(var(--bs-border-radius) - (var(--bs-border-width)));
    border-bottom-left-radius: calc(var(--bs-border-radius) - (var(--bs-border-width)));
}

.rounded-right {
    border-top-right-radius: calc(var(--bs-border-radius) - (var(--bs-border-width)));
    border-bottom-right-radius: calc(var(--bs-border-radius) - (var(--bs-border-width)));
}

body {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: var(--color-background);
    font-size: var(--font-proxima-nova);
}

header {
    background-color: var(--color-yellow);
    font-size: 0.8rem;
}

.carousel-control-prev,
.carousel-control-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

.carousel-control-prev {
    left: 0;
}

.carousel-control-next {
    right: 0;
}

#product-list {
    background-color: #fff;
}

.product-card {
    cursor: pointer;
    height: 250px;
}

.product-image {
    width: 150px;
    max-height: 150px;
}

.product-title {
    font-size: 16px;
    margin-top: 10px;
    height: 45px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-card:hover .product-title {
    color: var(--color-light-blue);
}

.product-price {
    font-size: 1.4rem;
    margin-top: 5px;
}

.free-shipping {
    color: var(--color-green);
    margin-top: 5px;
}

.card-hover {
    transition: transform 0.3s ease;
}

.card-hover:hover {
    transform: scale(1.03);
}

.meli-plus-logo {
    width: 5%;
}

.mercado-play-card {
    background: url('/clone-mercado-livre/img/streamings/mercado-play-banner.webp') no-repeat center center;
    background-size: cover;
    padding: 5%;
}

.mercado-play-logo {
    width: 20%;
}

.mercado-play-card h3 {
    display: block;
    width: 70%;
    word-wrap: break-word;
}

.card-img-top {
    object-fit: cover;
    border-radius: 0;
}

.meli-plus-text-sm {
    font-size: 0.9rem;
}

.img-sm:hover {
    border: 3px solid var(--color-light-blue);
}

.card-destaques {
    background-color: var(--color-blue);
}

.streaming-1 {
    background-image: linear-gradient(to top, rgba(11, 64, 75, 1) 0%, rgba(11, 64, 75, 0.1) 50%), url('/clone-mercado-livre/img/streamings/disney-plus-banner.jpg');
    background-size: cover;
}

.streaming-2 {
    background-image: linear-gradient(to top, rgba(130, 26, 143, 1) 0%, rgba(130, 26, 143, 0.1) 50%), url('/clone-mercado-livre/img/streamings/max-banner.png');
    background-size: cover;
}

.card-streaming {
    margin-top: 25%;
}

.footer {
    bottom: 0;
    overflow: hidden;
    background-color: #fff;
    border-top: 1px solid #e6e6e6;
}

.footer p {
    font-size: 0.9rem;
    line-height: 1.3;
    color: #8a7373;
}

.footer a {
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

.footer>.text-sm {
    padding: 0 3%;
    color: #9999a6;
    line-height: 1.7;
    font-size: 0.8rem;
}

@media (max-width: 770px) {
    .product-card {
        height: 100%;
    }

    .product-image {
        width: 100%;
        max-height: 300px;
    }
}