/* ========== Variables ========== */
:root {
    --color-primary: #385A41;
    --color-primary-reverse: #ffffff;
    --color-white: #ffffff;
    --color-black: #000000;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 14px;
    --radius-xl: 16px;
    --radius-full: 999px;
}

/* ========== Base ========== */
body { background-color: #fff; }
body, button, input, textarea, select { font-family: var(--main-font) !important; }


/* ========== Navbar ========== */
.navbar-brand img {
    max-height: 4rem;
    max-width: 100px;
    width: auto;
}
.main-nav-container.fixed-pinned .navbar-brand img { max-height: 60px; }
.main-nav-container.fixed-pinned .main-menu > li > a {
    padding-top: 36px;
    padding-bottom: 30px;
}


/* ========== Photos Slider ========== */
section.s-block.s-block--photos-slider salla-slider.photos-slider .swiper-slide { width: 100%; }
section.s-block.s-block--photos-slider .carousel-slider .swiper-wrapper > div { padding: 0; }
section:first-of-type.s-block.s-block--photos-slider { margin-top: 0; }
[dir="rtl"] salla-slider.photos-slider .swiper { padding: 0; }

section.s-block.s-block--photos-slider .s-slider-block__title-nav,
.s-slider-block__title-left,
.slide--cat-entry h2,
.store-footer a h3:nth-child(1),
.s-slider-v-centered .s-slider-block__title-nav button { display: none; }

.s-block--photos-slider img,
salla-slider.photos-slider .swiper-slide { border-radius: 0 !important; }


/* ========== Categories ========== */
.slide--cat-entry {
    background-color: transparent;
    border-color: transparent;
    height: 15rem;
    padding: 0;
}
.slide--cat-entry:hover { background: transparent; box-shadow: none; }
.rounded-full { border-radius: 0; }
.w-16 {width: 15rem;}
.sm\:py-16 { background: var(--color-white); }

.h-16 {
    height: auto;
    display: inline-block;
    transition: transform 0.3s ease;
    transform-origin: center;
    will-change: transform;
}
.h-16:hover { transform: scale(1.06); }

.s-block--categories .swiper-wrapper { justify-content: center !important; }
@media (max-width: 768px) {
    .s-block--categories .swiper-wrapper { justify-content: flex-start !important; }
}

@media (min-width: 1024px) {
    salla-slider .slide--one-sixth {
        width: 22.6667%;
    }
}

@media (max-width: 768px) {
    salla-slider .slide--one-sixth {
        width: 67% !important;
    }
}


/* ========== Slider Titles ========== */
.s-slider-block__title { display: flex; justify-content: center; }
.s-slider-block__title-right { padding: 0; }

.s-slider-block__title h2:where([dir="rtl"], [dir="rtl"] *) {
    padding-left: 0;
    color: var(--color-primary);
    font-size: 24px;
}

.carousel-slider .swiper-wrapper > div {padding: 0.625rem;}

/* ========== Slider Titles ========== */
.s-slider-block__title { display: flex; justify-content: center; }
.s-slider-block__title-right { padding: 0; }

.s-slider-block__title h2:where([dir="rtl"], [dir="rtl"] *) {
    padding-left: 0;
    color: var(--color-primary);
    font-size: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
}
.s-slider-block__title h2:where([dir="rtl"], [dir="rtl"] *)::before,
.s-slider-block__title h2:where([dir="rtl"], [dir="rtl"] *)::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--color-primary);
}

.carousel-slider .swiper-wrapper > div {padding: 0.625rem;}

@media (max-width: 768px) {
    .salla-slider .slide--one-sixth {
        width: 67%;
    }
}

/* ========== Buttons ========== */
.s-button-btn,
.s-price-range-number-input {
    border-radius: var(--radius-sm);
    background: var(--color-primary);
    color: var(--color-white);
}

:is(button.tab-trigger.is-active, .s-button-btn.s-button-wide).s-button-outline.s-button-primary-outline {
    background: var(--color-primary);
    color: var(--color-white);
    border: solid 2px var(--color-primary);
}
button.tab-trigger.is-active.s-button-outline.s-button-primary-outline {
    font-weight: var(--fw-medium);
    border-radius: var(--radius-md);
}
.s-button-btn.s-button-wide.s-button-outline.s-button-primary-outline { font-weight: var(--fw-bold); }
.s-block--tabs-produtcs .tab-trigger { background: unset; }


/* ========== Product Cards ========== */
.s-product-card-vertical {
    flex-direction: column;
    border-radius: var(--radius-sm);
    border: solid 1.5px var(--color-primary);
}

.s-product-card-content-title a {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4;
    min-height: calc(1.4em * 2);
    max-height: calc(1.4em * 2);
    justify-content: center;
    font-weight: var(--fw-medium);
    font-size: 14px;
}

.s-product-card-content-sub { display: flex; justify-content: center; gap: 0.75rem; }

.s-product-card-price,
.s-product-card-starting-price h4 { font-size: 14px; font-weight: 700; line-height: 1.25rem; }
/* ========== Features ========== */
.s-block--features__item { border: solid 2px var(--color-primary); }


/* ========== Footer ========== */
.store-footer,
.store-footer__inner { background: var(--color-primary) !important; }

.store-footer__inner { padding: 5rem; color: #000; }

.footer-is-light .store-footer { border-radius: 0; }
.footer-is-light .store-footer .store-footer__inner {
    background: #FFFAFA !important;
    border-radius: 0 !important;
    color: var(--color-primary);
}

.copyright-text p { color: var(--color-white); }

.s-social-list { display: flex; gap: 0.625rem; justify-content: center; }

footer .flex.items-center.m-0 { position: relative; display: flex; justify-content: center; }

footer .flex.items-center.m-0::after {
    content: '';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 160px;
    height: 150px;
    border-radius: 6px;
    background: url(https://cdn.files.salla.network/homepage/1619790447/14c0c1ab-ef12-43fe-af45-c861ac34ee96.webp) center / contain no-repeat;
}

@media (max-width: 769px) {
    footer * {
        justify-content: center;
        margin: auto;
        text-align: center;
    }
}

/* ========== Grid Override ========== */
@media (min-width: 1024px) {
    .lg\:grid-cols-6 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.copyright-text p a:hover {
    opacity: .75;
    color: azure;
}
.banner--fixed img {
    border-radius: 0;
    border-style: none;
    display: block;
    -o-object-fit: cover;
    object-fit: cover;
    width: 100%;
}