@font-face {
    font-family: 'MyCustomFont';
    src: url('/static/fonts/Poppins-SemiBold.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'MyCustomFont', sans-serif;
    text-decoration: none;
    list-style: none;
    scrollbar-width: auto;
    scrollbar-color: var(--main-color) #f2f2f2;
    accent-color: greenyellow;
}


:root{
    --bg2-color: #c1c1c1 ;
    --text-color: #000;
    --bg-color: #e5e5e5;
    --main-color: #b6c816;
    --second-color: #ffffff;
    --second-hover-color: #f6f7fb;
    --other-color: #eef2f7;
    --big-font: 3.5rem;
    --p-font:1rem;
    --hover-color: #f6f7fb;
    --main-hover-color: #9aab0f;
    --input-border-color: #d1d5db;
    --input-focus-ring-color: rgba(182, 200, 22, 0.2);
    --placeholder-color: #6b7280;
}

html.dark, body.dark {
    --bg2-color: #2e2e2e;
    --text-color: #e5e5e5;
    --bg-color: #1a1a1a;
    --main-color: #a4c800;
    --second-color: #15181e;
    --other-color: #1e2430;
    --hover-color: #1b1f27;
    --main-hover-color: #819c0d;
    --input-border-color: #4b5563;
    --input-focus-ring-color: rgba(164, 200, 0, 0.2);
    --placeholder-color: #9ca3af;
}

  *::-webkit-scrollbar {
    width: 9px;
}


  *::-webkit-scrollbar-thumb {
    border-radius: 41px;
    border: 58px solid var(--main-color);
    background-color: red;
}

.dropdown:hover .dropdown-content {
    display: block;
}


.profile-dropdown.show {
    display: block;
}

::selection {
    background: var(--main-color);
    color: #fff;
  }

.no-search {
pointer-events: none;
-webkit-user-drag: none;
user-select: none;
}


  @keyframes bounce {
    0%, 100% { transform: translateY(-5px); }
    50% { transform: translateY(5px); }
  }

  .animate-\[bounce_1s_infinite\] {
    animation: bounce 1s infinite;
  }

  .animate-\[bounce_1s_infinite_150ms\] {
    animation: bounce 1s infinite 150ms;
  }

  .animate-\[bounce_1s_infinite_300ms\] {
    animation: bounce 1s infinite 300ms;
  }

  @keyframes spin-slow {
    to { transform: rotate(360deg); }
  }
  .animate-spin-slow {
    animation: spin-slow 3s linear infinite;
  }

body.scroll-locked,
html.scroll-locked {
    overflow: hidden !important;
    position: fixed !important;
    width: 100% !important;
    height: 100% !important;
    -webkit-overflow-scrolling: touch !important;
    touch-action: none !important;
    overscroll-behavior: none !important;
}

body.scroll-locked {
    -webkit-overflow-scrolling: touch;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}

.scroll-locked * {
    -webkit-overflow-scrolling: touch;
    touch-action: none;
    overscroll-behavior: none;
}

@supports (-webkit-appearance: none) {
    body.scroll-locked {
        position: fixed !important;
        overflow: hidden !important;
        -webkit-overflow-scrolling: auto !important;
    }
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--text-color) !important;
    width: 44px;
    height: 44px;
    transition: all 0.3s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    color: var(--main-color) !important;
    transform: scale(1.1);
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 18px;
    font-weight: bold;
    color: inherit !important;
}

.swiper-button-next:not(.swiper-button-disabled),
.swiper-button-prev:not(.swiper-button-disabled) {
    color: var(--text-color) !important;
}

.swiper-button-next:not(.swiper-button-disabled):hover,
.swiper-button-prev:not(.swiper-button-disabled):hover {
    color: var(--main-color) !important;
}

.swiper-pagination {
    bottom: 0px !important;
}

@media (min-width: 768px) {
    .swiper-pagination {
        bottom: 15px !important;
    }
}

@media (min-width: 1024px) {
    .swiper-pagination {
        display: none !important;
    }
}

.swiper-pagination-bullet {
    background: var(--main-color) !important;
    opacity: 0.4;
    transition: all 0.3s ease;
    width: 12px;
    height: 12px;
    margin: 0 4px !important;
}

.swiper-pagination-bullet-active {
    opacity: 1 !important;
    transform: scale(1.3);
    background: var(--main-color) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.product-swiper {
    padding-bottom: 30px;
}

.popular-designs-swiper {
    padding-bottom: 30px;
}

@media (min-width: 768px) {
    .product-swiper {
        padding-bottom: 45px;
    }

    .popular-designs-swiper {
        padding-bottom: 45px;
    }
}

@media (min-width: 1024px) {
    .product-swiper {
        padding-bottom: 60px;
    }

    .popular-designs-swiper {
        padding-bottom: 60px;
    }
}

.bottom-nav-safe {
    padding-bottom: env(safe-area-inset-bottom);
}

.bottom-sheet-safe {
    padding-bottom: max(16px, env(safe-area-inset-bottom));
}

.bn-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10002389000;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    align-items: center;
    height: 64px;
    padding-bottom: env(safe-area-inset-bottom);
    background: var(--second-color);
    border-top: 1px solid var(--other-color);
    backdrop-filter: blur(6px);
}

#bottom-sheet-more{
    z-index: 10002201;
}

.bn-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    height: 100%;
    color: var(--text-color);
}
.bn-item i { font-size: 22px; line-height: 1; color: inherit; opacity: 0.85; transition: opacity 0.2s ease, color 0.2s ease; }
.bn-item:hover { color: var(--main-color); }
.bn-item:hover i { opacity: 1; }
.bn-label { font-size: 11px; line-height: 1; white-space: nowrap; }
.bn-badge {
    position: absolute;
    top: -6px; right: -8px;
    width: 20px; height: 20px;
    border-radius: 9999px;
    display: flex; align-items: center; justify-content: center;
    background: var(--main-color); color: #fff; font-size: 10px;
}

/* Remove reserved space for bottom nav on desktop */
@media (min-width: 1024px) {
  body { padding-bottom: 0 !important; }
}

.product-swiper .swiper-slide {
    height: auto;
    transition: transform 0.3s ease;
}

.product-swiper .swiper-slide a {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-swiper .swiper-wrapper {
    transition-timing-function: ease-out;
}

.product-swiper .swiper-slide-active {
    transform: scale(1.02);
}

.product-swiper .swiper-slide-prev,
.product-swiper .swiper-slide-next {
    opacity: 0.8;
}
