:root {
    --color-black: #222222;
    --color-black-rgb: 34, 34, 34;
    --color-white: #ffffff;
    --color-accent: #bc2222;
    --color-accent-rgb: 188, 34, 34;
    --color-dim: #636767;
}

/* Document */
html {
    font-size: 56%;
}

@media (min-width: 576px) {
    html {
        font-size: 62.5%;
    }
}

body {
    font-family: "Acme", sans-serif;
    font-weight: 400;
    color: var(--color-black);
    font-size: 1.6rem;
    text-align: start;
}

/* General */
p {
    margin-bottom: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-bottom: 0;
}

a {
    text-decoration: none;
    transition: all 0.5s ease;
    color: var(--color-black);
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

:focus,
:focus-within,
:focus-visible {
    outline: transparent;
}

.spacing-half {
    letter-spacing: 0.16rem;
}

.fs-12 {
    font-size: 12px;
}
.fs-14 {
    font-size: 14px;
}
.fs-20 {
    font-size: 20px;
}

.text-dim {
    color: var(--color-dim);
}

.bg-light-dim {
    background-color: #faf9f9;
}
/* /General */

/* Buttons */
.btn {
    --bs-btn-padding-x: 1.2rem;
    --bs-btn-padding-y: 0.6rem;
    min-width: 5.3rem;
    height: 5.3rem;
    border-radius: 0.8rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 400;
    white-space: nowrap;
    transition: all 0.25s ease-in-out;
}

.dir-ltr {
    direction: ltr;
}
.dir-rtl {
    direction: rtl;
}

/* Header */
.bg-mirror {
    background-color: rgba(var(--color-black-rgb), 0.35);
}

.main-header address {
    max-width: 25rem;
    width: 100%;
    margin: 0 auto;
    font-size: 2rem;
}

.offcanvas {
    max-width: 270px;
}

.offcanvas .btn[aria-expanded="true"] {
    background-color: var(--color-white);
    border-bottom-right-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
}

.offcanvas .btn[aria-expanded="false"] #minus,
.offcanvas .btn[aria-expanded="true"] #plus {
    display: none;
}
.offcanvas .btn[aria-expanded="false"] #plus,
.offcanvas .btn[aria-expanded="true"] #minus {
    display: inline;
}

.offcanvas .btn[aria-expanded="false"] {
    background-color: var(--color-white);
}

.offcanvas .collapse {
    background-color: rgba(217, 217, 217, 0.33);
}

.offcanvas-header {
    padding: 5.2rem 4.2rem;
}

.offcanvas-header img {
    width: 100%;
    height: 58px;
    border-radius: 12px;
}

.dropdown-menu {
    border-radius: 1.6rem;
    border-start-start-radius: 0 !important;
    padding: 1.2rem;
    gap: 0.8rem;
    /* column-gap: 1px; */
    max-height: 50vh;
    min-width: 0;
    /* width: 100%; */
    /* background-color: #d7d7d7; */
}

.dropdown:hover .dropdown-menu,
.dropdown-menu.show {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    transform: none !important;
    width: 100%;
    inset: 100% 0 auto 0 !important;
}
.dropdown-item:focus,
.dropdown-item:active,
.dropdown-item.active,
.dropdown-item:hover,

.collapse .subcat .subcat-item:hover a {
    color: var(--color-accent);
    background-color: var(--bs-dropdown-link-hover-bg);
}

.category-top {
    padding: 4rem 2.6rem;
    transform: translateY(-4rem);
    margin-bottom: -4rem;
    background-image: linear-gradient(
        90deg,
        #d7d7d7 0%,
        #fff 43.75%,
        #fff 55.73%,
        #d7d7d7 100%
    );
}

.nav {
    gap: 2rem;
}

.nav-link {
    --bs-nav-link-font-size: 2rem;
    padding: 0;
    color: #000;
    height: auto;
}

.nav-link:focus,
.nav-link.show,
.nav-link:active,
.btn.nav-link:active,
.nav-link:hover {
    color: #646363;
}

.download-apps a img {
    width: 137px;
    height: 42px;
}

.download-apps .qr {
    height: 116px;
    width: 116px;
}

.product-card {
    border-radius: 1.2rem;
}

.modal .brand-img,
.product-card .brand-img {
    top: 0.8rem;
    inset-inline-start: 0.8rem;
    padding-top: 1.75rem;
}

.modal .brand-img img,
.product-card .brand-img img {
    height: 3.8rem;
    width: 5.7rem;
    object-fit: contain;
}

.modal .carousel-indicators button,
.product-card .carousel-indicators button {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 100%;
    flex-shrink: 0;
    background-color: #cfcfcf;
    border: none;
}

.modal .carousel-indicators button.active,
.product-card .carousel-indicators button.active {
    width: 2rem;
    border-radius: 1rem;
    background-color: var(--color-accent);
    margin: 0 0.5rem;
}

.carousel-item,
.carousel-item img {
    height: 40rem;
}

.modal .stamp,
.product-card .stamp {
    color: var(--color-dim);
    pointer-events: none;
    background-color: rgba(255, 255, 255, 0.56);
}

.btn-check:checked + label .btn,
:not(.btn-check) + label .btn:active,
.btn-check:checked + .btn,
.btn.active,
.btn.show,
.btn:first-child:active,
:not(.btn-check) + .btn:active {
    border-color: rgba(var(--color-accent-rgb), 0.3) !important;
}

.btn-check + .btn {
    padding: 0 0.75rem;
    height: 4rem;
    min-width: 5.2rem;
    border-width: 2px !important;
}

.items-grid .col-md {
    flex: 0 0 20%;
    max-width: 20%;
}

.items-grid .btn-check + label .btn {
    padding: 0.75rem;
    white-space: normal;
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
    background-color: #f6f3f3;
}

.modal {
    --bs-modal-width: 80%;
}

.hidden {
    display: none;
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.loader {
    width: 48px;
    height: 48px;
    border: 5px solid #292929;
    border-bottom-color: transparent;
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
}
