@import url(https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap);
*,
body {
    margin: 0
}

:root,
body.dark-theme {
    --first-color: hsl(0, 89%, 52%)
}

.header,
body {
    transition: .4s
}

#buy-now-input,
.header {
    width: 100%
}

.control span,
.device__description span {
    font-size: .9rem;
    color: var(--title-color)
}

.featured__tag,
.featured__title,
.home__title,
.nav__link,
.nav__logo,
.products__title,
.section__title {
    text-transform: uppercase
}

.dark-theme .button--gray,
.dark-theme .change-theme,
.dark-theme .nav__shop,
.dark-theme .nav__toggle,
.new__card:hover .new__title {
    color: #262626
}

.textarea,
body,
button,
input {
    font-family: var(--body-font)
}

#joj,
a,
li a {
    text-decoration: none
}

:root {
    --header-height: 3.5rem;
    --button-color: hsl(0, 0%, 17%);
    --button-color-alt: hsl(0, 0%, 21%);
    --title-color: hsl(0, 0%, 15%);
    --text-color: hsl(0, 0%, 35%);
    --text-color-light: hsl(0, 0%, 55%);
    --body-color: hsl(0, 0%, 99%);
    --container-color: #fff;
    --border-color: hsl(0, 0%, 94%);
    --body-font: "Roboto", sans-serif;
    --biggest-font-size: 2rem;
    --h1-font-size: 1.5rem;
    --h2-font-size: 1.25rem;
    --h3-font-size: 1rem;
    --normal-font-size: 0.938rem;
    --small-font-size: 0.813rem;
    --smaller-font-size: 0.75rem;
    --font-medium: 500;
    --font-bold: 700;
    --mb-0-5: 0.5rem;
    --mb-0-75: 0.75rem;
    --mb-1: 1rem;
    --mb-1-5: 1.5rem;
    --mb-2: 2rem;
    --mb-2-5: 2.5rem;
    --mb-3: 3rem;
    --z-tooltip: 10;
    --z-fixed: 100
}

@media screen and (min-width:968px) {
    :root {
        --biggest-font-size: 2.5rem;
        --h1-font-size: 2.25rem;
        --h2-font-size: 1.5rem;
        --h3-font-size: 1.25rem;
        --normal-font-size: 1rem;
        --small-font-size: 0.875rem;
        --smaller-font-size: 0.813rem
    }
}

* {
    box-sizing: border-box;
    padding: 0
}

html {
    scroll-behavior: smooth
}

body,
button,
input {
    font-size: var(--normal-font-size)
}

body {
    background-color: var(--body-color);
    color: var(--text-color)
}

h1,
h2,
h3,
h4 {
    color: var(--title-color);
    font-weight: var(--font-medium)
}

ul {
    list-style: none
}

#joj {
    color: var(--text-color-light)
}

img {
    max-width: 100%;
    height: auto
}

button {
    cursor: pointer;
    border: none;
    outline: 0
}

body.dark-theme {
    --button-color: hsl(0, 0%, 24%);
    --button-color-alt: hsl(0, 0%, 28%);
    --title-color: hsl(0, 0%, 95%);
    --text-color: hsl(0, 0%, 75%);
    --body-color: hsl(0, 0%, 12%);
    --container-color: hsl(0, 0%, 16%);
    --border-color: hsl(0, 0%, 20%)
}

.change-theme {
    color: var(--title-color);
    font-size: 1.25rem;
    cursor: pointer
}

.nav__close,
.nav__link,
.nav__logo,
.nav__shop,
.nav__toggle,
.scroll-header .change-theme,
.scroll-header .nav__shop,
.scroll-header .nav__toggle {
    color: var(--title-color)
}

.dark-theme .scroll-header {
    box-shadow: 0 1px 4px hsla(0, 0%, 4%, .3)
}

.dark-theme::-webkit-scrollbar {
    background: #4c4c4c
}

.container {
    max-width: 1024px;
    margin-left: var(--mb-1-5);
    margin-right: var(--mb-1-5)
}

.minus,
.plus {
    margin-left: 2rem
}

.grid {
    display: grid
}

.main {
    overflow: hidden
}

.section {
    padding: 6.5rem 0 1rem
}

.section__title {
    position: relative;
    font-size: var(--h3-font-size);
    margin-bottom: var(--mb-3);
    letter-spacing: 2px;
    text-align: center
}

.home__price,
.home__title {
    margin-bottom: var(--mb-1)
}

.section__title::before {
    content: "";
    position: absolute;
    top: -1rem;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 67px;
    height: 1px;
    background-color: var(--first-color)
}

.header {
    background: 0 0;
    position: fixed;
    top: 0;
    left: 0;
    z-index: var(--z-fixed)
}

.button,
.buy__now,
.nav__link {
    transition: .3s
}

.nav {
    height: var(--header-height);
    display: flex;
    justify-content: space-between;
    align-items: center
}

.nav__logo {
    font-weight: var(--font-bold);
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    column-gap: .25rem
}

.nav__logo-icon {
    font-size: 1.25rem
}

.cart__card,
.nav__btns {
    display: flex;
    align-items: center;
    column-gap: 1rem
}

.nav__shop,
.nav__toggle {
    font-size: 1.25rem;
    cursor: pointer
}

@media screen and (max-width:767px) {
    .nav__menu {
        position: fixed;
        background-color: var(--body-color);
        top: 0;
        right: -100%;
        width: 100%;
        height: 100%;
        padding: 6rem 2rem 3.5rem;
        transition: .3s;
        z-index: 99999
    }
}

.nav__list {
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: 2rem
}

.nav__link {
    font-weight: var(--font-medium);
    font-size: var(--h2-font-size)
}

.active-link,
.nav__link:hover {
    color: var(--first-color)
}

.nav__close {
    font-size: 2rem;
    position: absolute;
    top: .9rem;
    right: 1.25rem;
    cursor: pointer
}

.show-cart,
.show-menu {
    right: 0
}

.scroll-header {
    background-color: var(--body-color);
    box-shadow: 0 1px 4px hsla(0, 4%, 15%, .1)
}

.buy__now,
.home__img-bg {
    background-color: var(--first-color)
}

.nav__btns .nav__shop span {
    display: inline-block;
    text-align: center;
    color: var(--text-color);
    font-size: 12px;
    font-weight: 700;
    position: absolute
}

.home__container {
    position: relative;
    row-gap: 2.5rem
}

.home__img {
    width: 240px
}

.home__img-bg {
    width: 258px;
    height: 430px;
    padding-bottom: 2rem;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    justify-self: flex-end;
    transform: translateX(1.5rem)
}

.home__social {
    position: absolute;
    top: 20%;
    left: -5rem;
    transform: rotate(-90deg);
    display: flex;
    column-gap: 1rem
}

.home__social-link {
    font-size: var(--smaller-font-size);
    color: var(--text-color-light);
    transition: .3s
}

.home__social-link:hover {
    color: var(--title-color)
}

.home__title {
    font-size: var(--biggest-font-size);
    font-weight: var(--font-bold)
}

.button,
.control span,
.device__description span,
.featured__tag,
.home__price {
    font-weight: var(--font-medium)
}

.device__description,
.home__description {
    margin-top: var(--mb-1-5)
}

.device__description {
    width: 310px
}

.home__price {
    display: inline-block;
    font-size: var(--h2-font-size);
    color: var(--first-color)
}

.share__button {
    margin-bottom: var(--mb-2);
    color: var(--title-color);
    font-size: 1.25rem;
    cursor: pointer
}

.cart__amount,
.cart__amount-conttent,
.home__btns {
    display: flex;
    align-items: center
}

.buy__now {
    z-index: -1000;
    opacity: 0;
    display: none;
    position: absolute;
    padding: 1rem;
    left: 1rem;
    top: 17rem
}

.active-modal {
    opacity: 1;
    display: block;
    z-index: 1000
}

#buynow,
#closenw {
    cursor: pointer
}

#nbtn {
    padding: 1rem;
    margin-top: .5rem
}

.home__button {
    box-shadow: 0 12px 24px hsla(0, 0%, 10%, .2)
}

/*=============== POPUP MODAL ===============*/
 .modal {
  position: fixed;
  inset: 0;
  background-color: hsla(5, 90%, 4%, .2);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(24px);
  display: grid;
  place-items: center;
  padding: 1rem .5rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 999999;
  transition: opacity .4s, visibility .4s;
}

.modal__card {
  position: relative;
  background-color: var(--body-color);
  padding: 1.5rem .65rem 1rem;
  display: grid;
  row-gap: 1.5rem;
  text-align: center;
  transform: rotateX(90deg);
  transition: transform .6s;
}

.modal__close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 1.5rem;
  color: var(--title-color);
  cursor: pointer;
}

.modal__img {
  width: 220px;
  justify-self: center;
  filter: drop-shadow(0 8px 16px hsla(5, 90%, 4%, .2));
}

.modal__name {
  font-size: var(--h2-font-size);
  color: var(--title-color);
  margin-bottom: .5rem;
  text-transform: capitalize;
}

.modal__info {
  margin-bottom: 1rem;
}

.modal__price {
  font-size: var(--h2-font-size);
  font-weight: var(--font-semi-bold);
  color: var(--first-color);
}

.modal__button {
  flex-grow: 1;
  outline: none;
  border: none;
  background-color: var(--first-color);
  padding-block: 1rem;
  color: var(--white-color);
  font: var(--font-semi-bold) var(--normal-font-size) var(--body-font);
  cursor: pointer;
  transition: background-color .4s;
}

.modal__button:hover {
  background-color: var(--first-color-alt);
}

.modal__button-ghost {
  background-color: var(--body-color);
  color: var(--title-color);
  border: 3px solid var(--first-color);
}

.modal__button-ghost:hover {
  background-color: var(--body-color);
}

/* Active modal */
.active-modal {
  opacity: 1;
  visibility: visible;
  pointer-events: initial;
}

.active-modal .modal__card {
  transform: rotateX(0);
}

.scrollup,
.swiper-button-next,
.swiper-button-prev,
.testimonial__quote {
    box-shadow: 0 4px 12px hsla(0, 0%, 20%, .1)
}

.questions__container {
    gap: 1.5rem;
    padding: 1.5rem 0
}

.questions__group {
    display: grid;
    row-gap: 1.5rem
}

.questions__item {
    background-color: var(--container-color);
    border-radius: .25rem
}

.questions__item-title {
    font-size: var(--normal-font-size);
    font-weight: var(--font-medium)
}

.questions__icon {
    font-size: 1.25rem;
    color: var(--title-color)
}

.questions__description {
    font-size: var(--small-font-size);
    padding: 0 1.25rem 1.25rem 2.5rem
}

.questions__header {
    display: flex;
    align-items: center;
    column-gap: .5rem;
    padding: .75rem .5rem;
    cursor: pointer;
    background-color: #bfbfbf
}

.questions__content {
    overflow: hidden;
    height: 0
}

.questions__content,
.questions__description,
.questions__header,
.questions__icon,
.questions__item,
.questions__item-title {
    transition: .3s
}

.questions__item:hover {
    box-shadow: 0 2px 8px hsla(var(--hue), 4%, 15%, .1)
}

.accordion-open .questions__content,
.accordion-open .questions__header {
    background-color: var(--first-color)
}

.accordion-open .questions__description,
.accordion-open .questions__icon,
.accordion-open .questions__item-title {
    color: #fff
}

.accordion-open .questions__icon {
    transform: rotate(45deg)
}

.countdown-container {
  max-width: 400px;
  margin: 20px auto;
  padding: 15px;
  border: 1px solid rgb(226, 232, 240);
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.urgency-message {
  color: var(--first-color);
  font-weight: bold;
  margin-bottom: 10px;
  text-align: center;
}

.progress-bar-bg {
  background-color: #fee2e2;
  height: 12px;
  border-radius: 6px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background-color: var(--first-color);
  transition: width 0.3s ease-out;
  width: 100%;
}

.product-info {
  display: flex;
  justify-content: space-between;
  margin: 8px 0;
  font-size: 14px;
  color: var(--text-color);
}

.button {
    display: inline-block;
    background-color: var(--button-color);
    color: #fff;
    padding: 1.25rem 2rem
}

.button:hover {
    background-color: var(--button-color-alt)
}

.button--gray {
    background-color: #bfbfbf;
    color: var(--title-color)
}

.button--gray:hover {
    background-color: #a0a0a0
}

.minus,
.products__button:hover {
    background-color: var(--button-color-alt)
}

.button--small {
    padding: 1rem 1.5rem
}

.plus {
    padding: .3rem
}

.minus {
    padding: 5px;
    color: var(--container-color)
}

.swiper-pagination {
    position: initial;
    margin-top: var(--mb-0-5)
}

.swiper-pagination-bullet {
    width: 5px;
    height: 5px;
    background-color: var(--title-color);
    opacity: 1
}

.swiper-pagination-bullet-active {
    width: 1.5rem;
    height: 5px;
    border-radius: .5rem
}

.feature__card,
.new__card,
.products__card {
    border: 1px solid var(--border-color);
    transition: .3s;
    text-align: center
}

.featured__container {
    row-gap: 2.5rem;
    column-gap: .5rem
}

.feature__card,
.new__card {
    position: relative;
    background-color: var(--container-color);
    padding-top: 2rem;
    overflow-y: hidden
}

.featured__tag {
    background-color: var(--first-color);
    padding: .5rem 1rem;
    color: #fff;
    font-size: var(--small-font-size);
    position: absolute;
    transform: rotate(-90deg);
    right: -1rem;
    top: 3rem
}

.featured__button,
.new__button {
    transform: translateY(1rem);
    opacity: 0
}

.featured__img,
.new__img {
    height: 100px;
    margin-bottom: var(--mb-1)
}

.featured__price,
.featured__title,
.new__price,
.new__title {
    font-size: var(--h3-font-size);
    font-weight: var(--font-bold)
}

.featured__title {
    margin-bottom: var(--mb-0-75)
}

.featured__price {
    display: block;
    color: var(--first-color);
    transition: .3s
}

.featured__button {
    font-size: var(--small-font-size);
    padding: 1rem
}

.feature__card:hover {
    box-shadow: 0 12px 32px hsla(0, 0%, 20%, .1);
    padding: 2rem 0 3rem
}

.feature__card:hover .featured__button {
    transform: translateY(0);
    opacity: 1
}

.feature__card:hover .featured__price {
    margin-bottom: var(--mb-1-5)
}

.story__container {
    row-gap: 7.5rem
}

.story__title {
    font-size: var(--h1-font-size);
    margin-bottom: var(--mb-1)
}

.story__description {
    margin-bottom: var(--mb-2-5)
}

.searchBox,
.story__images,
.testimonial__images {
    position: relative
}

.story__img,
.story__square {
    width: 250px;
    height: 250px;
    background-color: var(--first-color)
}

.story__img {
    position: absolute;
    left: 3rem;
    top: -3rem
}

.products__container {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem
}

.products__card {
    position: relative;
    background-color: var(--container-color);
    padding: 1.25rem
}

.new__card:hover .new__tag,
.products__button {
    background-color: var(--button-color)
}

.products__img {
    height: 125px;
    margin-bottom: var(--mb-1)
}

.products__price,
.products__title {
    font-size: var(--small-font-size);
    font-weight: var(--font-medium)
}

.logo {
    width: 50px;
    height: 60px;
}

.products__button {
    padding: .4rem;
    color: #fff;
    font-size: 1rem;
    position: absolute;
    right: 0;
    bottom: 0;
    transition: .3s
}

.products__price,
.testimonial__quote {
    color: var(--first-color)
}

.products__card:hover {
    box-shadow: 0 8px 32px hsla(0, 0%, 10%, .1)
}

.products__title {
    margin-bottom: var(--mb-0-5)
}

.testimonial__container {
    row-gap: 4rem
}

.testimonial__quote {
    display: inline-flex;
    background-color: var(--container-color);
    padding: .5rem .75rem;
    margin-bottom: var(--mb-2)
}

.testimonial__description {
    margin-bottom: var(--mb-1)
}

.testimonial__date {
    font-size: var(--normal-font-size);
    margin-bottom: var(--mb-2)
}

.testimonial__perfil {
    display: flex;
    align-items: center;
    column-gap: 1rem;
    margin-bottom: 7rem
}

.testimonial__perfil-img {
    width: 60px;
    height: 60px;
    border-radius: 3rem
}

.testimonial__perfil-data {
    display: flex;
    flex-direction: column;
    row-gap: .5rem
}

.testimonial__perfil-name {
    font-size: var(--h3-font-size);
    font-weight: var(--font-medium);
    color: var(--title-color)
}

.testimonial__perfil-detail {
    font-size: var(--small-font-size)
}

.testimonial__img,
.testimonial__square {
    width: 250px
}

.testimonial__square {
    height: 250px;
    background-color: var(--first-color);
    margin-left: auto
}

.testimonial__img {
    position: absolute;
    right: 2rem;
    top: 3rem
}

.testimonial-swiper {
    margin-left: initial;
    margin-right: initial
}

.swiper-button-next::after,
.swiper-button-prev::after {
    content: ""
}

.swiper-button-next,
.swiper-button-prev {
    top: initial;
    bottom: 5%;
    width: initial;
    height: initial;
    background-color: var(--container-color);
    padding: .25rem;
    font-size: 1.5rem;
    color: var(--first-color)
}

.new__tag,
.new__tag2 {
    color: #fff;
    text-transform: uppercase;
    transition: .3s;
    font-size: var(--small-font-size);
    background-color: var(--first-color);
    font-weight: var(--font-medium)
}

.swiper-button-next {
    right: initial;
    left: 4rem
}

.new__tag {
    padding: .5rem 1rem;
    position: absolute;
    top: .5rem;
    left: 1rem
}

.new__tag2 {
    padding: .5rem .7rem
}

.new__title {
    text-transform: uppercase;
    margin-bottom: var(--mb-0-75)
}

.new__price {
    display: block;
    color: var(--first-color);
    transition: .3s
}

.footer__link:hover,
.footer__social-link:hover,
.swap__title {
    color: var(--title-color)
}

.cart,
.scrollup {
    position: fixed;
    transition: .4s
}

.new__button {
    font-size: var(--small-font-size);
    padding: 1rem
}

.new__card:hover {
    background-color: var(--first-color);
    box-shadow: 0 12px 32px hsla(0, 0%, 20%, .1);
    padding: 2rem 0 3rem
}

.new__card:hover .new__button {
    transform: translateY(0);
    opacity: 1
}

.new__card:hover .new__price {
    color: #262626;
    margin-bottom: var(--mb-1-5)
}

.swap__bg {
    display: grid;
    background-color: var(--first-color);
    text-align: center;
    row-gap: 2.5rem
}

.swap__title {
    font-size: var(--h1-font-size);
    margin-bottom: var(--mb-1-5)
}

.swap__subscribe {
    display: grid;
    flex-direction: row;
    grid-template-rows: 2 1fr 2fr;
    row-gap: .75rem
}

.swap__input {
    border: none;
    outline: 0;
    background-color: #efefef;
    padding: 1.25rem 1rem;
    color: #262626;
    margin-top: 1rem
}

.textarea {
    height: 8rem;
    font-size: 1rem
}

::-webkit-file-upload-button {
    background-color: var(--button-color-alt);
    border: none;
    margin: .2rem;
    padding: .3rem;
    color: #fff;
    cursor: pointer
}

.cart__amount-box,
.cart__box {
    border: 1px solid var(--border-color)
}

.swap__description {
    color: #bfbfbf;
    margin-bottom: 1rem
}

.footer__link,
.footer__social-link,
body.dark .search-field input,
li a {
    color: var(--text-color)
}

.footer__container {
    row-gap: 2rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 3rem;
    grid-template-columns: repeat(2, 1fr)
}

.footer__title {
    font-size: var(--h2-font-size);
    margin-bottom: var(--mb-1-5)
}

.footer__links,
.footer__list {
    display: flex;
    flex-direction: column;
    row-gap: .75rem
}

.footer__social {
    display: flex;
    column-gap: 1rem
}

.footer__social-link {
    font-size: 1.25rem
}

.footer__copy {
    display: block;
    margin: 3.5rem 0 1rem;
    text-align: center;
    font-size: var(--smaller-font-size);
    color: var(--text-color-light)
}

.scrollup {
    right: 1rem;
    bottom: -30%;
    background-color: var(--container-color);
    display: inline-flex;
    padding: .25rem;
    z-index: var(--z-tooltip);
    opacity: .8
}

.scrollup:hover {
    opacity: 1
}

.searchBox .search-field,
.searchToggle i.cancel,
.searchToggle.active i.search {
    opacity: 0;
    pointer-events: none
}

.scrollup__icon {
    font-size: 1.5rem;
    color: var(--first-color)
}

.show-scroll {
    bottom: 3rem
}

::-webkit-scrollbar {
    width: .6rem;
    background: #bcbcbc
}

::-webkit-scrollbar-thumb {
    background: #2b2b2b
}

.cart {
    background-color: var(--body-color);
    z-index: var(--z-fixed);
    width: 100%;
    height: 100%;
    top: 0;
    right: -100%;
    padding: 3.5rem 2rem
}

.cart__amount-box,
.cart__box,
.searchBox .search-field {
    background-color: var(--container-color)
}

.cart__title-center {
    font-size: var(--h2-font-size);
    text-align: center;
    margin-bottom: var(--mb-3)
}

.cart__close {
    font-size: 2rem;
    color: var(--title-color);
    position: absolute;
    top: 1.25rem;
    right: .9rem;
    cursor: pointer
}

.cart__container {
    display: grid;
    row-gap: 1.5rem;
    height: 100%;
    overflow-y: scroll
}

.cart__box {
    padding: .75rem 1.25rem
}

.cart__img {
    width: 50px
}

.cart__title {
    font-size: var(--normal-font-size);
    margin-bottom: var(--mb-0-5)
}

.cart__price {
    display: block;
    font-size: var(--small-font-size);
    color: var(--first-color);
    margin-bottom: var(--mb-1-5)
}

.cart__amount {
    column-gap: 3rem
}

.cart__amount-conttent {
    column-gap: 1rem
}

.cart__amount-box {
    display: inline-flex;
    padding: .25rem;
    cursor: pointer
}

.cart__amount-trash {
    font-size: 1.15rem;
    color: var(--first-color);
    cursor: pointer
}

.cart__prices {
    display: flex;
    justify-content: space-between
}

.cart__prices-item {
    font-size: var(--small-font-size)
}

.cart__prices-total {
    font-size: var(--h3-font-size);
    font-weight: var(--font-medium)
}

.error-txt {
    background-color: var(--button-color);
    color: #fff;
    padding: 1.25rem 2rem;
    font-weight: var(--font-medium);
    transition: .3s;
    width: 90%;
    text-align: center;
    display: none
}

@media screen and (max-width:320px) {
    .container {
        margin-left: var(--mb-1);
        margin-right: var(--mb-1)
    }
    .home__img-bg {
        width: 220px
    }
    .home__title {
        font-size: var(--h1-font-size)
    }
    .home__button {
        font-size: var(--smaller-font-size)
    }
    .story__img,
    .story__square,
    .testimonial__img,
    .testimonial__square {
        width: 180px
    }
    .story__square,
    .testimonial__square {
        height: 180px
    }
    .products__container {
        grid-template-columns: repeat(1, 180px);
        justify-content: center
    }
    .swap__subscribe input,
    .textarea {
        width: 90%
    }
    .error-txt {
        width: 100%
    }
    .swap__bg .para1 {
        text-align: left
    }
    .swap__bg {
        padding: 1rem .51rem
    }
}

@media screen and (max-width:575px) {
    .swap__subscribe input,
    .textarea {
        width: 90%
    }
    .swap__bg .para1 {
        text-align: left
    }
    .swap__bg {
        padding: 1rem .51rem
    }
}

@media screen and (min-width:576px) {
    .home__img-bg {
        width: 340px
    }
    .featured__container {
        justify-content: center;
        align-items: flex-start;
        gap: 1.5rem
    }
    .swap__subscribe input,
    .textarea {
        width: 90%
    }
    .swap__bg .para1 {
        text-align: left
    }
    .swap__bg {
        padding: 1rem.51rem
    }
    .footer__container {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media screen and (max-width:766px) {
    .error-txt {
        width: 100%
    }
}

@media screen and (min-width:767px) {
    .featured__price,
    .featured__title,
    .nav__link,
    .new__price,
    .new__title {
        font-size: var(--normal-font-size)
    }
    .story__section-title,
    .swap__bg {
        text-align: initial
    }
    .section {
        padding: 5rem 0 1rem
    }
    .cart {
        width: 420px;
        box-shadow: -2px 0 4px hsla(0, 0%, 15%, .1)
    }
    .nav {
        height: calc(var(--header-height) + 1.5rem);
        justify-content: initial;
        column-gap: 3rem
    }
    .nav__close,
    .nav__toggle {
        display: none
    }
    .nav__list {
        flex-direction: row;
        column-gap: 2.5rem
    }
    .nav__link {
        text-transform: initial
    }
    .nav__btns {
        margin-left: auto
    }
    .home__container {
        padding-top: 6rem;
        grid-template-columns: 1fr max-content;
        align-items: center
    }
    .home__img-bg {
        order: 1;
        transform: translate(1.5rem, -6rem)
    }
    .home__data {
        padding: 0 0 3rem 6rem
    }
    .home__social {
        top: 36%;
        column-gap: 2rem
    }
    .featured__container {
        row-gap: .5rem;
        column-gap: .5rem
    }
    .featured__img {
        height: 150px;
        margin-bottom: var(--mb-1)
    }
    .description {
        width: 400px
    }
    .story__container,
    .testimonial__container {
        grid-template-columns: repeat(2, 1fr);
        align-items: center
    }
    .swap__bg {
        display: grid;
        grid-template-columns: 1fr 1fr
    }
    .story__section-title::before {
        margin: initial
    }
    .story__images {
        order: -1
    }
    .products__container {
        grid-template-columns: repeat(8, 120px);
        justify-content: center;
        gap: 1.8rem
    }
    .products__card {
        padding: 2rem 0
    }
    .products__img {
        height: 155px
    }
    .swap__bg {
        column-gap: 2rem;
        padding: 4.5rem
    }
    .swap__subscribe {
        flex-direction: row
    }
    .swap__input,
    .textarea {
        width: 100%
    }
    .footer__container {
        grid-template-columns: repeat(4, max-content);
        justify-content: space-between
    }
    .footer__title {
        font-size: var(--h3-font-size)
    }
}

@media screen and (min-width:992px) {
    .section__title {
        font-size: var(--h2-font-size)
    }
    .home__container {
        column-gap: 2rem
    }
    .home__img-bg {
        width: 480px;
        height: 680px
    }
    .home__img {
        width: 420px
    }
    .home__social {
        left: -6rem
    }
    .home__data {
        padding: 0 0 8rem 6rem
    }
    .featured__container {
        padding-top: 2rem
    }
    .featured__img {
        height: 200px;
        margin-bottom: var(--mb-1)
    }
    .story__container,
    .testimonial__container {
        column-gap: 8rem
    }
    .story__img,
    .story__square,
    .testimonial__img,
    .testimonial__square {
        width: 450px;
        height: 450px
    }
    .new__container,
    .products__container {
        grid-template-columns: repeat(4, 1fr);
        padding-top: 2rem
    }
    .testimonial__container {
        padding-bottom: 4rem
    }
}

@media screen and (min-width:1024px) {
    .container {
        margin-left: auto;
        margin-right: auto
    }
    .story__container {
        column-gap: 13rem;
        padding-top: 3rem
    }
    .testimonial__container {
        column-gap: 13rem
    }
    .story__img {
        left: 5rem;
        top: -5rem
    }
    .testimonial__img {
        right: 5rem;
        top: 5rem
    }
    .scrollup {
        right: 3rem
    }
    .swap__subscribe input,
    .textarea {
        width: 90%
    }
}

.darkLight-searchBox .dark-light,
.darkLight-searchBox .searchToggle {
    height: 40px;
    width: 40px;
    margin-top: 15px
}

.dark-light i,
.searchToggle i {
    position: absolute;
    color: var(--title-color);
    font-size: 22px;
    cursor: pointer;
    transition: .3s
}

.searchToggle.active i.cancel {
    opacity: 1;
    pointer-events: auto
}

.searchBox .search-field {
    position: absolute;
    bottom: -85px;
    right: 4px;
    height: 50px;
    width: 300px;
    display: flex;
    align-items: center;
    padding: 3px;
    border: .1px solid var(--container-color);
    border-radius: 6px;
    box-shadow: 0 5px 5px rgba(0, 0, 0, .1);
    transition: .3s
}

.searchToggle.active~.search-field {
    bottom: -70px;
    opacity: 1;
    pointer-events: auto
}

.search-field::before {
    content: '';
    position: absolute;
    right: 14px;
    top: -4px;
    height: 12px;
    width: 12px;
    background-color: var(--nav-color);
    transform: rotate(-45deg);
    z-index: -1
}

.search-field input {
    height: 100%;
    width: 100%;
    padding: 0 45px 0 15px;
    outline: 0;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 400;
    color: var(--search-text);
    background-color: var(--search-bar)
}

.search-field i {
    position: absolute;
    color: var(--text-color);
    right: 15px;
    font-size: 22px;
    cursor: pointer
}

.scrollup_whatsapp {
    position: fixed;
    left: 3rem;
    bottom: 3rem;
    background-color: var(--container-color);
    box-shadow: 0 4px 12px hsla(0, 0%, 20%, 0.1);
    display: inline-flex;
    padding: 0.25rem;
    z-index: var(--z-tooltip);
    opacity: 0.8;
    transition: 0.4s;
}

.scrollup_whatsapp:hover {
    opacity: 1;
}

.scrollup__icon {
    font-size: 1.5rem;
    color: var(--first-color);
}