@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: 600px;
    width: 300px;
    border-radius: 6px;
    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: 100%;
    padding: 75px 20px 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: end;
}

.second-content,
.first-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.first-content {
    gap: 10px;
    align-items: start;
}

.second-content {
    margin-top: 10px;
}

.logo-brand {
    width: 90px;
    height: 35px;
    padding: 5px 8px;
    background-color: #fff;
    border-radius: 5px;
    overflow: hidden;
}

.brand-img {
    width: 100%;
    height: 100%;

}

.brand-img img {
    width: 100%;
    object-fit: cover;
}

.category {
    color: #fff;
    font-size: 30px;
    font-weight: bolder;
    text-transform: uppercase;
}

.category-desc {
    color: #fff;
    font-size: 14px;
    min-height: 42px;
    overflow: hidden;
    text-wrap: wrap;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}


.products {
    width: 100%;
    position: relative;
}

.product-item>div {
    position: relative;
    width: 100%;
    height: 335px;
    display: flex;
    flex-direction: column;
    border-radius: 8px;
    overflow: hidden;
    background-color: #fff;
}

.discount-percent {
    position: absolute;
    top: 0;
    right: 0;
    width: 55px;
    height: 30px;
    padding: 3px;
    background-color: #fff;
    font-size: 15px;
    line-height: 25px;
    font-weight: 600;
    color: #ED4C2C;
    text-align: center;
    border-radius: 0 0 0 2px;
}

.product-img img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    object-position: center;
}

.product-desc {
    height: 100%;
    padding: 10px 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-desc--name {
    font-size: 18px;
    font-weight: 500;
    overflow: hidden;
    text-wrap: wrap;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.product-desc--discounted {
    font-size: 14px;
    color: #A7A7A7;
    text-decoration: line-through;
}

.product-desc--price {
    color: #ED1D24;
    font-weight: 900;
    font-size: 18px;
}

.product-desc--btn {

    border-radius: 4px;
    font-size: 14px;
    font-weight: 900;
    color: #fff;
    background-color: #ED1D24;
    padding: 15px;
    text-transform: uppercase;
    text-align: center;
}

.cta-product {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.tns-controls {
    position: absolute;
    top: 43%;
    right: -15px;
    z-index: 3;
}

.tns-controls button {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: none;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    background-image: url(../images/icon-arrow.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-color: #fff;
}

.tns-controls button[data-controls="prev"] {
    display: none;
}