@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

* {
    box-sizing: border-box;
}


html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

body {
    line-height: 1;
    font-family: "Roboto", sans-serif;
    font-size: 12px;
}

ol,
ul {
    list-style: none;
}

blockquote,
q {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}


.container {
    height: 100px;
    width: 320px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.bg-ad {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.bg-ad img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.content {
    height: 100px;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 5px;
    box-sizing: border-box;
}

.first-content,
.second-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.first-content {
    flex-basis: 36%;
    gap: 8px;
    align-items: start;
}

.logo-brand {
    width: 50px;
    height: 20px;
    padding: 3px 4px;
    background-color: #fff;
    border-radius: 4px;
    overflow: hidden;
}

.brand-img {
    width: 100%;
    height: 100%;

}

.brand-img img {
    width: 100%;
    object-fit: cover;
}

.category {
    color: #fff;
    font-size: 13px;
    font-weight: bolder;
    text-transform: uppercase;
}

.second-content {
    flex-basis: 64%;
}

.products {
    width: 190px;
    height: 85px;
    overflow: hidden;
    position: relative;
}

.product-item>div {
    position: relative;
    width: 190px;
    height: 85px;
    display: flex;
    border-radius: 6px;
    overflow: hidden;
    background-color: #fff;
}

.product-img {
    width: 63px;
    height: 100%;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-desc {
    width: 130px;
    padding: 6px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-desc--name {
    font-size: 11px;
    font-weight: 500;
    overflow: hidden;
    text-wrap: wrap;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.product-desc--discounted {
    font-size: 8px;
    color: #A7A7A7;
    text-decoration: line-through;
}

.product-desc--price {
    color: #ED1D24;
    font-weight: 900;
    font-size: 11px;
}

.product-desc--btn {
    width: 90px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 900;
    color: #fff;
    background-color: #ED1D24;
    padding: 4px;
    text-transform: uppercase;
    text-align: center;
}

.discount-percent {
    position: absolute;
    top: 0;
    left: 0;
    width: 30px;
    height: 15px;
    padding: 3px;
    background-color: #fff;
    font-size: 9px;
    font-weight: 500;
    color: #ED4C2C;
    text-align: center;
}

.cta-product {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}