@font-face {
    font-family: "BYekan";
    src: url(../fonts/BYekan.eot);
    src: url(../fonts/BYekan.eot?#iefix) format("embedded-opentype"), url(../fonts/BYekan.woff) format("woff"), url(../fonts/BYekan.ttf) format("truetype"), url(../fonts/BYekan.svg) format("svg");
    font-weight: 400;
    font-style: normal;
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

:root {
    --hue: 240;
    --yellow-color: hsl(48, 100%, 51%);
    --primary-color: hsl(var(--hue), 16%, 18%);
    --secondary-color: hsl(var(--hue), 16%, 12%);
    --title-color: hsl(var(--hue), 8%, 15%);
    --text-color: hsl(var(--hue), 8%, 35%);
    --body-color: hsl(var(--hue), 100%, 99%);
    --container-color: #fff;
    --fs-xxl: 1.5rem;
    --fs-lg: 1.25rem;
    --fs-md: 0.935rem;
    --space-1: 0.5rem;
    --space-2: 1rem;
    --space-3: 1.5rem;
    --space-4: 2rem;
    --space-5: 2.5rem;
    --zi-soft: 10;
    --zi-hard: 100;
    --zi-modal: 1000;
}

@media screen and (max-width: 968px) {
    :root {
        --fs-xxl: 1.75rem;
        --fs-lg: 1.5rem;
        --fs-md: 1rem;
    }
}

body {
    background-color: #f9f9f9;
    font-family: "BYekan", sans-serif;
}

button {
    cursor: pointer;
    border: 0;
    outline: 0;
}

input,
select,
option,
button {
    font-family: "BYekan", sans-serif;
}

ul {
    list-style-type: none;
}

a {
    text-decoration: none;
}

main {
    min-height: 512px;
    height: 100%;
    margin-block: 2.5rem;
}

.container {
    width: 100%;
    max-width: 1300px;
    padding-inline: 1.5rem;
    margin-inline: auto;
}

/* quick access */
.quickaccess {
    background-color: #333;
}

.quickaccess__container {
    width: 100%;
    height: 3rem;
    overflow: hidden;
}

.quickaccess__content {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    column-gap: 1.5rem;
    height: 100%;
    font-size: 0.85rem;
}

.quickaccess__link {
    color: #f1f1f1;
    font-weight: bold;
    font-size: 0.65rem;
    transition: 0.4s;
}

    .quickaccess__link:hover {
        opacity: 0.75;
    }

    .quickaccess__link i {
        padding-left: 0.25rem;
    }

.quickaccess__link {
    display: inline-flex;
    flex-direction: row-reverse;
    align-items: center;
}

.quickaccess__form {
    display: flex;
}

.quickaccess__dropdown {
    width: 95px;
    padding: 0.25rem 0.5rem;
    font-size: 0.65rem;
}

.quickaccess__searchbox {
    position: relative;
}

.quickaccess__input {
    width: 100%;
    height: 100%;
    padding-inline: 0.2rem 2.2rem;
    font-size: 0.75rem;
    color: #555;
}

.quickaccess__dropdown,
.quickaccess__input {
    border: none;
}

.quickaccess__dropdown {
    border-left: 1px solid #ccc;
}

    .quickaccess__dropdown:focus,
    .quickaccess__input:focus {
        outline: none;
    }

.quickaccess__button {
    position: absolute;
    left: 0;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 0.5rem;
    background-color: #fff;
    border: none;
    cursor: pointer;
    border-right: 1px solid #ccc;
}

@media screen and (max-width: 768px) {
    .quickaccess {
        padding-block: 1rem;
    }

    .quickaccess__container {
        height: auto;
        overflow: visible;
    }

    .quickaccess__content {
        display: flex;
        flex-direction: column-reverse;
    }

    .quickaccess__link {
        display: none;
    }
}

/* dropdown */

.dropdown__overlay {
    position: fixed;
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
    display: none;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(3px);
    z-index: var(--zi-soft);
}

body.active .dropdown__overlay {
    display: block;
}

.dropdown {
    position: relative;
    width: 230px;
    z-index: var(--zi-hard);
}

    .dropdown.active .dropdown__arrow,
    .dropdown.active .dropdown__close {
        transform: rotate(-180deg);
    }

    .dropdown.active .dropdown__arrow {
        opacity: 0;
    }

    .dropdown.active .dropdown__close {
        opacity: 1;
    }

    .dropdown.active .dropdown__list {
        opacity: 1;
        top: 2.5rem;
        pointer-events: initial;
    }

.dropdown__button,
.dropdown__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-1);
}

.dropdown__button {
    background-color: hsl(206, 12%, 27%);
    width: 100%;
    padding: var(--space-1);
    z-index: 100;
}

.dropdown__label {
    display: flex;
    align-items: center;
    color: var(--container-color);
    gap: 0.25rem;
}

.dropdown__icon,
.dropdown__indicator {
    font-size: var(--fs-sm);
    color: var(--container-color);
}

.dropdown__name {
    font-size: 0.7rem;
    font-weight: var(--fw-medium);
}

.dropdown__indicator {
    position: relative;
    width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
}

.dropdown__arrow,
.dropdown__close {
    position: absolute;
    transition: opacity 0.1s, transform 0.4s;
}

.dropdown__close {
    opacity: 0;
}

.dropdown__list {
    background-color: hsl(206, 12%, 27%);
    display: grid;
    position: absolute;
    top: 3rem;
    left: 0;
    width: 100%;
    transform-origin: 10rem -2rem;
    pointer-events: none;
    opacity: 0;
    transition: 0.4s;
    z-index: 100;
}

.dropdown__item {
    position: relative;
    padding: 0.3rem var(--space-1);
}

.dropdown__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    cursor: pointer;
    transition: color 0.3s;
    color: var(--container-color);
}

.dropdown__item:hover {
    background-color: hsl(207, 11%, 36%);
}

.dropdown__item--initial.dropdown__item--initial {
    position: initial;
}

.dropdown__content {
    position: absolute;
    background-color: var(--container-color);
    padding: var(--space-2) var(--space-3);
    gap: 0.25rem var(--space-3);
    min-height: 100%;
    top: 0;
    right: 100%;
    display: none;
    transform-origin: center;
    grid-template-columns: repeat(4, 1fr);
}

.dropdown__link {
    display: inline-block;
    width: 128px;
    color: var(--text-color);
    font-size: 0.65rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    align-items: center;
    gap: 0.5rem;
}

    .dropdown__link:hover {
        opacity: 0.75;
    }

    .dropdown__link i {
        color: var(--text-color);
        font-size: 0.5rem;
        margin-left: 0.25rem;
        opacity: 0.25;
    }

.dropdown__item:hover > .dropdown__content {
    display: grid;
}

/* nav */
.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 3.5rem;
    z-index: 1000;
    transition: 0.4s;
}

    .nav.fixed {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        max-width: initial;
        background-color: var(--body-color);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

.nav__list {
    display: flex;
    align-items: center;
    column-gap: 1.5rem;
}

.nav__link {
    color: #333;
    font-size: 0.85rem;
}

.nav__item:nth-child(2) .nav__link {
    position: relative;
}

.nav__sublist {
    display: none;
    position: absolute;
    transform: translateX(5%);
    background-color: #f9f9f9;
    border: 1px solid #ccc;
    padding: 0.5rem 0.75rem 1rem 1.5rem;
    z-index: 1000;
}

.nav__list:nth-child(2):hover .nav__sublist,
.nav__item:nth-child(3):hover .nav__sublist {
    min-width: 128px;
}

.nav__item:nth-child(2):hover .nav__sublist {
    display: block;
}

.nav__item:nth-child(3):hover .nav__sublist {
    display: block;
}

.nav__sublink {
    color: #333;
    font-size: 0.75rem;
}

    .nav__sublink i {
        font-size: 0.5rem;
        margin-left: 0.25rem;
    }

    .nav__sublink:hover {
        opacity: 0.75;
    }

.nav__link i {
    margin-right: 0.25rem;
}

.nav__link:hover {
    opacity: 0.75;
}

.nav__action {
    display: none;
    align-items: center;
    gap: 0.5rem;
}

.nav__home {
    color: #333;
    transition: opacity 0.4s;
}

    .nav__home:hover {
        opacity: 0.5;
    }

.nav__quickaccess {
    display: flex;
    justify-content: center;
    align-items: center;
    column-gap: 1rem;
}

.nav__login {
    align-items: center;
    gap: 0.5rem;
}

    .nav__login span {
        font-size: 0.75rem;
    }

.nav__login,
.nav__cart {
    display: inline-flex;
    background-color: transparent;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    color: #333;
}

    .nav__login:hover,
    .nav__cart:hover {
        opacity: 0.75;
    }

.nav__cart {
    position: relative;
}

.nav__badge {
    position: absolute;
    top: -7px;
    right: -7px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    font-size: 0.5rem;
}

.nav__badge--dark {
    background-color: #333;
    color: #f1f1f1;
}

.nav__toggle {
    display: none;
}

.nav__social {
    display: flex;
    gap: var(--space-2);
}

.nav__link--social {
    font-size: var(--fs-lg);
}

.nav__wholesale {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    width: 128px;
    height: 32px;
    background-color: var(--yellow-color);
    border-radius: 8px;
    font-size: 0.75rem;
}

.nav__call {
    color: var(--text-color);
}

.nav__side {
    display: none;
}

@media screen and (max-width: 910px) {
    .nav__list {
        display: none;
    }

    .nav__social {
        display: none;
    }

    .nav__side {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        max-width: 320px;
        background-color: var(--container-color);
        display: block;
        height: 100vh;
        overflow-y: auto;
        z-index: 10000;
        transition: 0.4s;
    }

    .nav__action {
        display: flex;
    }

    .nav__side.active {
        right: 0;
    }

    .nav__close {
        position: absolute;
        top: -0.25rem;
        left: var(--space-1);
        font-size: 2rem;
        cursor: pointer;
        color: #aaa;
    }

    .nav__side a {
        color: var(--text-color);
    }

    .nav__side__list {
        margin-top: 4rem;
    }

    .nav__side__list__link {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.25rem var(--space-1);
        font-size: 0.85rem;
    }

    .nav__side__sublist {
        grid-template-columns: repeat(2, 1fr);
        padding: var(--space-1);
        background-color: #eee;
        display: none;
    }

        .nav__side__sublist.active {
            display: grid;
        }

    .nav__side__sublist__link {
        display: inline-block;
        width: 128px;
        font-size: 0.75rem;
        white-space: nowrap;
        text-overflow: ellipsis;
        overflow: hidden;
    }

        .nav__side__sublist__link:hover {
            opacity: 0.75;
        }

    .nav__toggle {
        display: block;
        font-size: 1.1rem;
        cursor: pointer;
    }
}

/* mobile menu */
.nav__menu {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3.5rem;
    background-color: var(--body-color);
    box-shadow: 0 -4px 8px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

    .nav__menu ul {
        display: flex;
        height: 100%;
        align-items: center;
        justify-content: center;
        gap: var(--space-4);
    }

    .nav__menu a {
        display: flex;
        flex-direction: column;
        align-items: center;
        color: var(--text-color);
        font-size: var(--fs-md);
    }

        .nav__menu a span {
            font-size: 0.75rem;
        }

@media screen and (min-width: 910px) {
    .nav__menu {
        display: none;
    }

    .nav__wholesale {
        display: none;
    }
}

/* dropdown */
.side__dropdown--button {
    cursor: pointer;
}

.side__dropdown--arrow {
    font-size: 1.5rem;
    font-weight: initial;
    transition: transform 0.4s;
}

.side__dropdown--content,
.side__dropdown--group,
.side__dropdown--list {
    display: grid;
}

.side__dropdown--container {
    background-color: var(--primary-color-lighten);
    height: 0;
    overflow: hidden;
    transition: height 0.4s;
}

.side__dropdown--content {
    row-gap: 1.75rem;
}

.side__dropdown--group {
    padding-left: 2.5rem;
    row-gap: 0.5rem;
}

    .side__dropdown--group:first-child {
        margin-top: 1.25rem;
    }

    .side__dropdown--group:last-child {
        margin-bottom: 1.25rem;
    }

.side__dropdown--icon {
    font-size: 1.25rem;
    color: var(--primary-color);
}

.side__dropdown--title {
    font-size: var(--fs-sm);
    font-weight: var(--fw-semi-bold);
    color: var(--title-color);
}

.side__dropdown--list {
    row-gap: 0.25rem;
}

.side__dropdown--link {
    font-size: var(--fs-xs);
    font-weight: var(--fw-medium);
    color: var(--text-color);
    transition: color 0.3s;
}

    .side__dropdown--link:hover {
        color: var(--title-color);
    }

.active--dropdown .side__dropdown--arrow {
    transform: rotate(180deg);
}

/* sm srn */
@media screen and (max-width: 300px) {
    .side__dropdown--group {
        padding-left: 1.5rem;
    }
}

/* modal */
.modal__button {
    display: inline-block;
    background-color: var(--primary-color);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    transition: 0.3s;
}

    .modal__button:hover {
        background-color: var(--secondary-color);
    }

.modal__container {
    position: fixed;
    top: 0;
    left: 0;
    background-color: hsla(var(--hue), 18%, 75%, 0.8);
    backdrop-filter: blur(4px);
    width: 100%;
    height: 100vh;
    display: grid;
    align-items: flex-end;
    overflow: hidden;
    transition: all 0.3s;
    z-index: var(--zi-modal);
    visibility: hidden;
    opacity: 0;
}

    .modal__container.active {
        opacity: 1;
        visibility: visible;
    }

.modal__content {
    position: relative;
    background-color: var(--container-color);
    padding: 3rem 2rem 2rem;
    border-radius: 1rem 1rem 0 0;
    transition: all 0.3s;
    transform: translateY(10%);
}

.modal__container.active .modal__content {
    transform: translateY(0);
}

.modal__img {
    width: 150px;
    margin-bottom: 0.75rem;
}

.modal__close {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background-color: var(--primary-color);
    color: #fff;
    border-radius: 0.25rem;
    font-size: var(--fs-md);
    position: absolute;
    top: 2rem;
    left: 2rem;
    padding: 0.25rem;
    cursor: pointer;
}

.modal__title {
    font-size: var(--fs-xxl);
    color: var(--title-color);
    font-weight: 500;
}

.modal__button--block {
    display: block;
    width: 100%;
    margin: 0.5rem auto 0;
}

.modal__data {
    padding-block: 1.5rem;
}

.modal__group {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-inline: auto;
}

.modal__hint {
    color: #777;
    font-size: 0.75rem;
}

    .modal__hint i {
        margin-left: 0.15rem;
    }

.modal__label {
    color: #555;
}

.modal__input {
    padding: 0.5rem 0.2rem;
    font-size: 0.75rem;
    text-align: left;
    direction: ltr;
    color: #555;
}

@media screen and (min-width: 576px) {
    .modal__content {
        margin: auto;
        width: 380px;
        border-radius: 1.25rem;
    }

    .modal__img {
        width: 170px;
    }
}

/* carousel */
.carousel {
    margin-block: 1rem;
    flex-basis: 70%;
}

.carousel__link {
    transition: 0.4s;
}

    .carousel__link:hover {
        opacity: 0.75;
    }

.carousel__img {
    width: 100%;
    border-radius: var(--space-1);
}

.swiper-pagination-bullet {
    width: 0.5rem;
    height: 0.5rem;
    transition: width 0.2s;
}

.swiper-pagination-bullet-active {
    width: 20px;
    border-radius: 8px;
    background-color: #333;
}

/* banner */
.banner {
    margin-block: var(--space-5);
}

.banner__content {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-3);
}

.banner__img {
    width: 100%;
    border-radius: var(--space-1);
}

.banner__link {
    transition: opacity 0.4s;
}

    .banner__link:hover {
        opacity: 0.75;
    }

@media screen and (min-width: 540px) {
    .banner__content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (min-width: 1024px) {
    .banner__content {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* product */
.product {
    margin-block: var(--space-5);
}

.product__data h4 {
    margin-bottom: var(--space-3);
}

.product__item {
    width: 100%;
    max-width: 256px;
    background-color: var(--container-color);
    color: var(--text-color);
    border-radius: var(--space-1);
    overflow: hidden;
}

.product__img {
    display: block;
    width: 100%;
}

.product__data {
    padding: var(--space-2) var(--space-1) var(--space-1);
}

.product__link {
    transition: 0.4s;
}

    .product__link:hover {
        opacity: 0.75;
    }

.product__title {
    color: #555;
    font-size: var(--fs-md);
}

.product__description {
    color: #777;
    font-size: 0.65rem;
}

.product__price {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    font-size: 0.75rem;
    padding-block: 0.5rem;
    color: #333;
}

.product__badge {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 2rem;
    height: 1.5rem;
    border-radius: 50%;
    background-color: #fb3449;
    color: #fff;
}

.product__oldprice {
    margin-left: var(--space-1);
    font-size: 0.6rem;
    color: #666;
}

.product__price {
    font-size: var(--fs-md);
}

/* brand  */
.brand {
    margin-block: var(--space-5);
}

.brand__link {
    transition: 0.4s;
}

    .brand__link:hover {
        opacity: 0.75;
    }

.brand__data h4 {
    margin-bottom: var(--space-3);
}

.brand__slide {
    width: 200px;
    height: auto;
}

.brand__img {
    max-width: 200px;
    width: 100%;
    border-radius: var(--space-1);
}

/* specification */
.specification {
    margin-block: 4rem;
}

.specification__list {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--space-3);
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #777;
}

.specification__item {
    background-color: var(--container-color);
    padding: var(--space-2);
    border-radius: var(--space-1);
    color: var(--title-color);
    display: flex;
    align-items: center;
    gap: var(--space-1);
    font-size: 0.85rem;
}

    .specification__item img {
        width: 36px;
    }

@media screen and (max-width: 1024px) {
    .specification__list {
        grid-template-columns: repeat(2, 1fr);
        justify-content: center;
        text-align: right;
        gap: 1rem;
    }
}

@media screen and (max-width: 568px) {
    .specification__item {
        font-size: 0.75rem;
    }

        .specification__item i {
            font-size: 0.85rem;
        }
}

/* contact */
.contact {
    margin-block: 2rem;
}

.contact__img {
    width: 100%;
    border-radius: 4px;
}

.contact__data {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 1rem;
    margin-block: 1rem;
}

.contact__list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.contact__item {
    padding: 1rem;
    text-align: center;
    width: 100%;
    max-width: 256px;
    border: 1px solid #ececec;
}

.contact__title {
    color: #333;
}

.contact__description {
    color: #666;
    font-size: 0.75rem;
}

.contact__item ul {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.contact__item a {
    color: #666;
    font-size: 1.25rem;
}

    .contact__item a:hover {
        color: #333;
    }

.contact__interaction {
    border: 1px solid #ececec;
    padding: 1rem;
}

.contact__header {
    margin-bottom: 1.5rem;
}

    .contact__header p {
        color: #666;
        font-size: 0.9rem;
    }

.contact__label {
    color: #666;
    font-size: 0.75rem;
}

.contact__group {
    margin-block: 0.5rem;
    max-width: 368px;
}

.contact_input {
    width: 100%;
    padding: 0.25rem;
    border: 1px solid #ccc;
    resize: none;
}

.contact__button {
    display: inline-block;
    background-color: var(--primary-color);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    transition: 0.3s;
}

    .contact__button:hover {
        opacity: 0.75;
    }

@media screen and (max-width: 768px) {
    .contact__data {
        grid-template-columns: 1fr;
    }
}

/* about */
.about {
    margin-block: 2rem;
    overflow: hidden;
}

.about__data {
    position: relative;
}

    .about__data h6 {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%) rotate(-45deg);
        line-height: 1.1;
        font-size: 8rem;
        color: rgba(0, 0, 0, 0.1);
    }

    .about__data p {
        color: #666;
        font-size: 0.85rem;
        margin-bottom: 0.75rem;
    }

.about__img {
    width: 100%;
}

/* level */
.level {
    margin-block: 2rem;
}

.level__list {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    font-size: 0.75rem;
}

.level__item {
    color: #ccc;
}

    .level__item.active {
        color: #333;
        font-weight: 700;
    }

    .level__item i {
        margin-left: 0.25rem;
    }

/* category */

.category {
    margin-block: var(--space-5);
}

.category__content {
    display: grid;
    gap: var(--space-4);
}

.category__filter {
    display: none;
}

.category__action {
    display: flex;
    justify-content: space-between;
}

.category__help, .category__order {
    display: inline-block;
    padding: var(--space-1) var(--space-2);
    font-size: 0.75rem;
    background-color: var(--container-color);
}

.category__cta {
    display: flex;
    gap: var(--space-1);
}

.category__list {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-2);
    margin-block: var(--space-4);
}

    .category__list .product__item {
        max-width: initial;
        margin-inline: auto;
    }

@media screen and (min-width: 540px) {
    .category__list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (min-width: 1024px) {
    .category__list {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* item */
.item__data {
    display: grid;
    background-color: var(--container-color);
    padding: var(--space-2);
    grid-template-columns: repeat(3, 1fr);
    align-items: start;
    gap: var(--space-3);
}

.item__img {
    cursor: pointer;
}

.item__img--lg {
    width: 100%;
    max-width: 350px;
}

.item__list--img {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-3);
}

.item__title--details {
    font-size: 0.75rem;
}

.item__subtitle {
    font-size: 0.65rem;
    color: #777;
}

.item__line {
    position: relative;
    width: 100%;
    height: 1px;
    background-color: #eee;
    margin-block: var(--space-2);
}

.item__code {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 0.1rem 0.25rem;
    position: absolute;
    top: -0.75rem;
    right: var(--space-1);
    font-size: 0.6rem;
    color: #999;
    background-color: var(--container-color);
}

.item__count {
    margin-bottom: 1rem;
    padding: 0.25rem;
    background-color: #fff;
    font-size: 0.75rem;
    color: #666;
    outline: none;
    width: 64px;
}

.item__details {
    font-size: 0.75rem;
}

    .item__details span {
        color: #555;
    }

    .item__details a {
        display: inline-block;
        border-bottom: 1px dotted #666;
        margin-left: 0.25rem;
    }

.item__description {
    margin-block: var(--space-2);
}

.item__list--description {
    display: grid;
    gap: 0.25rem;
}

.item__title--description {
    font-size: 0.75rem;
    margin-bottom: var(--space-1);
}

.item__item--description {
    display: flex;
    align-items: center;
    gap: var(--space-1);
    font-size: 0.75rem;
    color: #666;
}

.item__image.active {
    opacity: 0.65;
}

.item__item--description i {
    color: #999;
    font-size: 0.5rem;
}

.item__action {
    display: grid;
    gap: var(--space-3);
}

.item__volume {
    background-color: #f1f1f1;
    padding: var(--space-2);
}

.item__label {
    display: inline-flex;
    font-size: 0.75rem;
    margin-bottom: var(--space-2);
}

.item__list--volume {
    display: flex;
    gap: var(--space-1);
    flex-wrap: wrap;
}

.item__item--volume button {
    display: inline-flex;
    padding: 0.25rem 0.5rem;
    background-color: var(--container-color);
    color: var(--text-color);
}

.item__price {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
    background-color: #f1f1f1;
    padding: var(--space-2);
    font-size: 0.85rem;
}

    .item__price div:first-child {
        display: flex;
        gap: var(--space-2);
    }

        .item__price div:first-child span:first-child {
            text-decoration: line-through;
        }

        .item__price div:first-child span:first-child {
            text-decoration: line-through;
        }

        .item__price div:first-child span:last-child {
            display: inline-flex;
            justify-content: center;
            align-items: center;
            width: 48px;
            height: 32px;
            border-radius: 8px;
            background-color: #ff6347;
            color: var(--container-color);
        }

    .item__price a.btn-link {
        font-size: 0.75rem;
        text-align: center;
        background-color: var(--container-color);
        color: var(--text-color);
        padding: 0.25rem var(--space-2);
    }

    .category__shipping--item {
        display: flex;
        justify-content: space-between;
        background-color: #f1f1f1;
        padding: var(--space-1) var(--space-2);
    }

.item__info {
    font-size: 0.75rem;
    background-color: var(--container-color);
    padding: var(--space-2);
    margin-top: var(--space-3);
}

    .item__info p {
        color: var(--text-color);
    }

    .item__info a {
        border-bottom: 1px dotted var(--text-color);
    }

.item__relate {
    color: var(--text-color);
    margin-block: var(--space-4);
}

.item__title--relate {
    font-size: 1.25rem;
}

@media screen and (max-width: 768px) {
    .item__data {
        grid-template-columns: 1fr;
    }

    .item__price {
        text-align: initial;
        align-items: initial;
    }

    .item__img--lg {
        max-width: initial;
    }
}

/* footer */
.footer {
    background-color: #eee;
}

.category__header {
    display: flex;
    justify-content: space-between;
}

.footer__content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding-block: 4rem;
}

    .footer__content h4 {
        font-size: 1.1rem;
    }

.footer__link {
    color: #333;
    font-size: 0.75rem;
}

    .footer__link:hover {
        opacity: 0.75;
    }

.footer__phone a {
    font-size: 0.75rem;
    color: #333;
}

.footer__bottom {
    text-align: center;
    font-size: 0.75rem;
    background-color: #555;
    color: #fff;
}

.footer__social {
    display: flex;
    gap: var(--space-2);
}

.footer__link--social {
    font-size: var(--fs-lg);
}

.footer__support {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
    font-weight: bold;
}

.footer__credit {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

a[referrerpolicy="origin"] img {
    width: 100%;
    max-width: 128px;
}

.footer__logo {
    width: 100%;
    max-width: 128px;
    display: block;
    margin-inline: auto;
}

@media screen and (max-width: 868px) {
    .footer__content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media screen and (max-width: 512px) {
    .footer__content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/*auth*/
.auth {
    padding-block: 5rem;
    padding-inline: 1rem;
    width: 100%;
    max-width: 512px;
    margin-inline: auto;
}

.auth-container {
    text-align: center;
    margin-block: 2rem;
}

.auth-muted {
    color: #666;
}

.d-block {
    display: block;
}

.auth-input {
    text-align: left;
    direction: ltr;
    width: 100%;
    padding: 1rem 0.5rem;
    border-radius: 0.5rem;
    border: none;
    background-color: var(--container-color);
}

.auth-danger {
    color: tomato;
    display: inline-block;
    direction: rtl;
}

.auth-btn {
    padding: 1rem 2rem;
    text-align: center;
    display: block;
    width: 100%;
    border-radius: 12px;
    background-color: var(--primary-color);
    color: #fff;
}

/*shopping cart*/

.cart__header {
    margin-block: 2.5rem;
    padding-right: 1rem;
}

    .cart__header i {
        margin-left: 0.75rem;
    }

.cart__discount {
    display: grid;
    grid-template-columns: 90% 1fr;
    direction: ltr;
}

    .cart__discount button {
        width: 100%;
        background-color: #000;
        color: #fff;
        padding: 0.5rem 1rem;
    }

.cart__action {
    display: grid;
    grid-template-columns: 1fr 256px;
    gap: 2rem;
    align-items: center;
    min-width: 0;
}

.cart__data {
    min-width: 0;
}

@media screen and (max-width: 1100px) {
    .cart__action {
        grid-template-columns: minmax(0, 1fr);
    }
}

.cart__total {
    display: flex;
    justify-content: space-between;
    padding-block: 1rem;
}

.cart__input {
    padding: 0.5rem;
}

    .cart__input:focus {
        outline: 1px solid #444444;
    }

.cart__payment {
    display: grid;
    gap: 1.5rem;
}

@media screen and (max-width: 768px) {
    #shop-cart {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
    }

    .item__price {
        padding: 0.5rem 1rem;
    }

    .item__cart {
        display: flex;
        align-items: center;
        justify-content: space-between;
        height: 100%;
    }

    .item__count {
        margin-bottom: 0;
    }

    .item__price div:first-child {
        align-items: center;
    }

    .btn-mobile-sm {
        padding: 0.5rem 1rem !important;
    }
}

/* checkout */

.checkout__help, .user-help {
    color: #444;
    font-size: 0.75rem;
}

.checkout__grid {
    display: grid;
    gap: 1.5rem;
}

.checkout__col--full {
    grid-template-columns: 1fr;
}

.checkout__col--half {
    grid-template-columns: repeat(2, 1fr);
}

@media screen and (max-width: 868px) {
    .checkout__col--half {
        grid-template-columns: 1fr;
    }
}

.checkout__col--quarter {
    grid-template-columns: repeat(3, 1fr);
}

.checkout__transfer {
    margin-bottom: 1.5rem;
}

/* user */
.user__info {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: 320px 1fr;
    margin-block: 2.5rem;
}

@media screen and (max-width: 768px) {
    .user__info {
        grid-template-columns: 1fr;
    }
}

/* utils */
.table-responsive {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
}

.table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
}

    .table th, .table td {
        padding: 1.5rem 0.25rem;
    }

.tr {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.table-borderless {
    border: none;
}

.table-striped tr:nth-child(2n+1) {
    background-color: #f1f1f1;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
}

.btn-sm {
    font-size: 0.75rem;
    padding: 0.15rem 0.65rem;
}

.text-white {
    color: #ffffff;
}

.btn-success {
    background-color: lightgreen;
}

.btn-danger {
    background-color: lightcoral;
}

.btn-dark {
    background-color: #000000;
    color: #ffffff;
}

.btn i {
    margin-right: 0.5rem;
}

.breadcrumb {
    background-color: #f1f1f1;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    margin-block: 2.5rem;
}

    .breadcrumb ul {
        display: inline-flex;
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    .breadcrumb i {
        margin-right: 0.25rem;
    }

    .breadcrumb a {
        color: #555;
    }

.d-none {
    display: none;
}

.text-danger {
    color: tomato;
}

.d-flex {
    display: flex;
}

.items-center {
    align-items: center;
}

.gap-3 {
    gap: 1.5rem;
}

.cursor-pointer {
    cursor: pointer;
}

.form-group {
    padding-block: 1rem;
}

    .form-group label {
        display: block;
        margin-bottom: 0.5rem;
        color: #888888;
        font-size: 0.75rem;
    }

.ml-1 {
    margin-left: 0.5rem;
}

.form-control {
    padding: 0.5rem 1rem;
    display: block;
    width: 100%;
    border-radius: 0.5rem;
    border: 0;
}

    .form-control:focus {
        outline: 1px solid #555555;
    }


.py-3 {
padding-block: 1.5rem;
}

.my-5 {
    margin-block: 2.5rem;
}

.py-5 {
    padding-block: 2.5rem;
}

.px-3 {
    padding-inline: 1.5rem;
}

.mt-2 {
    margin-top: 1rem;
}

.w-100 {
    width: 100%;
}

.max-width-512 {
    max-width: 512px;
}

.mt-1 {
    margin-top: 0.5rem;
}

.mt-3 {
    margin-top: 1.5rem;
}

.h1 {
    font-size: 1.5rem;
}

.mx-auto {
    margin-inline: auto;
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.d-inline-block {
    display: inline-block;
}

.pl-3 {
    padding-left: 1.5rem;
}

.border-bottom {
    border-bottom: 3px solid #ddd;
}

.pb-0 {
    padding-block: 0;
}

.list-group {
    display: flex;
    flex-direction: column;
    border-radius: 0.5rem;
    overflow: hidden;
}

.list-group-item {
    padding: 1rem;
    color: #333;
    transition: background-color 0.4s;
    background-color: #eee;
}

    .list-group-item:hover {
        background-color: #ccc;
    }

.h6 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

h1 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.direction-ltr {
    direction: ltr;
}

.online-payment {
    margin-block: 3rem;
}

.alert {
    padding: 2rem 1.5rem;
}

.alert-warning {
    background-color: #fff3cd;
    border: 1px solid #fff3cd;
    border-radius: 0.5rem;
}

.alert-success {
    background-color: #d4edda;
    border: 1px solid #d4edda;
    border-radius: 0.5rem;
}

.alert-info {
    background-color: #d1ecf1;
    border: 1px solid #d1ecf1;
    border-radius: 0.5rem;
}

.clearfix {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    margin-top: 1.5rem;
}

.online-payment-img {
    width: 100%;
    max-width: 128px;
}

