:root {
    --primary-color: #D2B6F8;
    --seconday-color: #e8e8e8;
}


body {
    margin: 0;
    padding: 0;
    right: 0;
    gap: 5px;
    overflow-x: hidden;
}

.navbar{
    z-index: 3;
}

.navbar-top{
    z-index: 3;
}

.logo{
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1 0 0;
    align-self: stretch;
    position: relative; 
    padding: 10px;
    text-align: center;
    padding-top: 0;
}

.logo img{
    height: 270px;
}

.icons {
    position: absolute;
    top: 10px;
    right: 20px;
    display: flex;
    gap: 20px;
}

.icons a,
.logo a {
    display: block;
}

.icons img {
    width: 30px;
    height: 30px;
    transition: 0.5s ease;
    cursor: pointer;
}

.icons img:hover {
    transform: scale(1.2);
}


.custom-dropdown {
    background-color: var(--primary-color); 
    color: white;
    width: 100%;
    border: none;
}
  
.custom-dropdown .dropdown-item {
    color: white;
}


.custom-dropdown .dropdown-item:hover {
    background: none;
    text-decoration: underline;
}

.nav-item{
    text-decoration: none;
    color: #FFF;
    font-family: "Zilla Slab";
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    text-transform: none;
    transition: color 0.3s, font-size 0.3s;
    margin-right: 20px;
    padding-top: 10px;
    padding-bottom: 10px;
}

.nav-link{
    color: white;
}

.content {
    padding-top: 250px;
    height: auto;
    gap: 15px;
}

.c-item {
    height: 480px;
}

.c-img {
    height: 100%;
    object-fit: cover;
}

.scrollable-tabs-container {
    background-color: none;
    margin: 25px auto;
    margin-top: 30px;
    padding-top: 10px;
    border-radius: 30px;
    overflow: hidden;
    position: relative;
}

.scrollable-tabs-container ul::-webkit-scrollbar {
    display: none;
}

.scrollable-tabs-container ul {
    display: flex;
    gap: 20px;
    padding: 12px 24px;
    margin: 0;
    list-style: none;
    overflow-x: auto; 
    -ms-overflow-style: none;
    scrollbar-width: none;
    scroll-behavior: smooth;
    white-space: nowrap; 
}

.scrollable-tabs-container li {
    flex: 0 0 auto; 
    display: inline-block;
    min-width: 100px; 
    border-radius: 10px;
    padding: 0; 
    margin: 5;
    background: var(--primary-color);
}

.scrollable-tabs-container a {
    color: white;
    text-decoration: none;
    padding: 10px;
    display: inline-block; 
    user-select: none;
    white-space: nowrap;
    width: 100%;
}

.scrollable-tabs-container .card-category {
    padding: 4px;
    margin: 4px;
    font-size: 0.8em;  
    white-space: nowrap; 
}

.category-previous-button,
.category-next-button {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    background-color: white;
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-previous-button::before,
.category-next-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--primary-color);
    border-top: 2px solid var(--primary-color);
}

.category-previous-button::before {
    transform: translate(-50%, -50%) rotate(-135deg);
}

.category-next-button::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.category-previous-button:hover,
.category-next-button:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transform: scale(1.1);
}

.scrollable-tabs-container .right-arrow,
.scrollable-tabs-container .left-arrow {
    position: absolute;
    height: 100%;
    width: 100px;
    top: 0;
    display: none;
    align-items: center;
    padding: 0 10px;
    z-index: 1;
}

.scrollable-tabs-container .right-arrow.active,
.scrollable-tabs-container .left-arrow.active {
    display: flex;
}

.scrollable-tabs-container .right-arrow {
    right: 0;
    background: linear-gradient(to left, white 50%, transparent);
    justify-content: flex-end;
}

.scrollable-tabs-container .left-arrow {
    left: 0; 
    background: linear-gradient(to right, white 50%, transparent);
}

.popular-products h2,
.most-seller-products h2{
    text-align: center;
    color: var(--primary-color);
}
  
.cards-popular,
.cards-most-seller {
    display: grid;
    text-align: center;
    gap: 16px; 
    width: 100%;
}

.card {
    background-color: white;
    width: 100%;
    height: auto;
    color: white;
    display: flex;
    align-items: center;
    border-radius: 8px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.image-container {
    width: 100%;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: white; 
}

.product-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

#btn-sepete-ekle{
    font-size: calc(0.5em + 0.5vw); 
    width: 100%;
}

.quantity-selector {
    display: inline-flex;
    border: 1px solid #ccc;
    border-radius: 5px;
    overflow: hidden;
}

.quantity-btn {
    width: 40px;
    height: 40px;
    background-color: white;
    border: none;
    border-right: 1px solid #ccc;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    user-select: none; 
}

.quantity-btn:last-child {
    border-right: none;
}

#quantity-value {
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 15px;
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
    user-select: none; 
    color: #000;
}

.btn-favori{
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    border: none;
    background-color: var(--seconday-color);
    position: relative;
    box-shadow: 6px 6px 12px #c5c5c5, -6px -6px 12px #ffffff;
}

.btn-favori .icon-fav path {
    fill: #FFFFFF; 
    transition: fill 0.2s linear;
}
  
.btn-favori:hover > .icon-fav {
    transform: scale(1.2);
    cursor: pointer;
}

.btn-favori.clicked .icon-fav path {
    fill: var(--primary-color); 
}

.card .product-info{
    flex-grow: 1;
    gap: 2px;
    background: white;
    width: 100%;
}

.card .product-name {
    color: #000;
    font-size: 10px;
    font-weight: bold;
    margin: 10px 0;
}

.product-brand, .product-category {
    font-size: 8px;
    color: #666;
    margin: 5px 0;
}

.product-price {
    color: #000;
    font-size: 10px;
    font-weight: bold;
}

.view-all-container {
    display: flex;
    margin: 2px;
    width: 100%;
}

.container-brands{
    background-color: var(--seconday-color);
    height: auto;
    display: flex;
    justify-content: center;
    gap: 50px; 
    padding: 20px;
    margin: 20px 0px 5px 0px;
}

.container-brands .card-brand{
    position: relative;
    width: 200px;
    height: 200px;
    border-radius: 14px;
    z-index: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 20px 20px 60px #bebebe, -20px -20px 60px #ffffff;
}

.container-brands .bg {
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px; 
    bottom: 5px; 
    z-index: 1;
    background: rgba(255, 255, 255, .95);
    backdrop-filter: blur(24px);
    border-radius: 10px;
    overflow: hidden;
    outline: 2px solid white;
  }

.container-brands .card-img {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    z-index: 0;
    border-radius: 14px;
}
  
  .container-brands .blob {
    position: absolute;
    z-index: 0;
    top: 50%;
    left: 50%;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background-color: #D2B6F8;
    opacity: 1;
    filter: blur(12px);
    animation: blob-bounce 5s infinite ease;
  }

  @keyframes blob-bounce {
    0% {
      transform: translate(-100%, -100%) translate3d(0, 0, 0);
    }
  
    25% {
      transform: translate(-100%, -100%) translate3d(100%, 0, 0);
    }
  
    50% {
      transform: translate(-100%, -100%) translate3d(100%, 100%, 0);
    }
  
    75% {
      transform: translate(-100%, -100%) translate3d(0, 100%, 0);
    }
  
    100% {
      transform: translate(-100%, -100%) translate3d(0, 0, 0);
    }
  }


.footer {
    width: 100%;
    background-color: var(--primary-color);
}
  
.footer .top{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
}
  

.footer .top .div-one, 
.footer .top .div-two, 
.footer .top .div-three, 
.footer .top .div-four {
    flex: 1 1 25%; 
    box-sizing: border-box;
}

.footer .bottom .div-left, 
.footer .bottom .div-right {
  flex: 1 1 50%;
  box-sizing: border-box;
}

.footer .div-one{
    display: flex;
    justify-content: center;
}

.footer h3{
    text-align: center;
    margin-top: 30px;
    color: white;
}

.footer ul{
    list-style: none;
    margin-top: 30px;
    padding: 0;
    justify-content: center;
    text-align: center;
}

.footer li{
    color: white;
    margin: 10px;
}

.footer a{
    text-decoration: none;
    color: white;
}

.footer .bottom .div-left{
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer .bottom .div-left p{
    text-align: center;
    color: white;
}

.footer .bottom .div-right ul{
    margin: 0;
}

.icon-list{
    display: inline-flex;
    list-style: none;
    height: fit-content;
    width: 100%;
    font-family: "Poppins", sans-serif;
    justify-content: center;   
}

.icon-list .icon{
    position: relative;
    background: var(--seconday-color);
    border-radius: 50%;
    margin: 10px;
    width: 50px;
    height: 50px;
    font-size: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.68, -0.55, 0.265, 1.55);  
}

.icon-list .tooltip{
    position: absolute;
    top: 0;
    font-size: 14px;
    background: var(--seconday-color);
    color: var(--seconday-color);
    padding: 5px 8px;
    border-radius: 5px;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);   
}

.icon-list .tooltip::before{
    position: absolute;
    content: "";
    height: 8px;
    width: 8px;
    background: var(--seconday-color);
    bottom: -3px;
    left: 50%;
    transform: translate(-50%) rotate(45deg);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.icon-list .icon:hover .tooltip{
    top: -45px;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.icon-list .icon:hover span,
.icon-list .icon:hover .tooltip {
  text-shadow: 0px -1px 0px rgba(0, 0, 0, 0.1);
}

.icon-list .instagram:hover,
.icon-list .instagram:hover .tooltip,
.icon-list .instagram:hover .tooltip::before {
  background: #e4405f;
  color: #fff;
}

.icon-list .whatsapp:hover,
.icon-list .whatsapp:hover .tooltip,
.icon-list .whatsapp:hover .tooltip::before {
  background: #25d366;
  color: #fff;
}

.icon-list .telegram:hover,
.icon-list .telegram:hover .tooltip,
.icon-list .telegram:hover .tooltip::before {
  background: #0088cc;
  color: #fff;
}


@media (max-width: 576px) {

    body{
        width: 100%;
        overflow-x: hidden; 
    }

    .icons img{
        width: 20px;
        height: 20px;
    }
    .icons{
        gap: 5px;
        padding-left: 5px;
    }

    .bag-collapse-content {
        width: 200px;
    }

    .navbar{
        padding: 0;
    }

    .container-fluid{
        background: var(--primary-color);
        margin: 0;
    }

    .navbar-toggler{
        background-color: var(--primary-colorß);
        border: none;
    }

    .navbar-toggler:hover {
        background-color: var(--primary-color);
        color: white;
    }
    
    .navbar-toggler:focus {
        border: none;
        box-shadow: none;
    }

    .content{
        margin-top: 5px;
        padding-top: 5px;
    }

    .c-item {
        height: 250px;
    }

    .scrollable-tabs-container li {
        min-width: 150px;
        width: 150px;
    }

    .scrollable-tabs-container .card-category{
        white-space: wrap;
    }

    .cards-popular,
    .cards-most-seller {
        grid-template-columns: repeat(2, 1fr); 
        padding: 5px;
        width: 100%;
        height: auto;
        overflow-x: hidden; 
    }

    .view-all-container{
        display: flex;
        justify-content: center;
    }

    .footer .top .div-one, 
    .footer .top .div-two, 
    .footer .top .div-three, 
    .footer .top .div-four {
      flex: 1 1 50%;
    }
}


@media (min-width: 577px) and (max-width: 768px) {

    .navbar{
        padding: 0;
    }

    .container-fluid{
        background: var(--primary-color);
        margin: 0;
    }

    .navbar-toggler{
        background-color: var(--primary-color);
        border: none;
    }

    .navbar-toggler:hover {
        background-color: var(--primary-color); 
        color: white; 
    }
    
    .navbar-toggler:focus {
        border: none;
        box-shadow: none;
    }

    .content{
        margin-top: 5px;
        padding-top: 5px;
    }
    .c-item {
        height: 350px;
    }

    .cards-popular,
    .cards-most-seller {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        width: 100%; 
        box-sizing: border-box;
    }

    .card{
        width: 100%; 
        box-sizing: border-box;
    }

    .view-all-container{
        display: flex;
        justify-content: flex-end;
    }

}
  

@media (min-width: 769px) {

    .navbar-top{
        width: 100%;
        height: auto;
        display: flex;
        align-items: center;
        text-align: center;
        justify-content: space-between;
        position: fixed;
        top: 0;
        background:white;
    }
    
    .navbar{
        padding: 0;
        position: fixed;
        top: 220px;
        width: 100%;
    }  

    .container-fluid{
        background: var(--primary-color);
        margin: 0px;
        padding: 0;
    }

    .navbar-nav {
        margin-left: auto;
        margin-right: auto;
    }

    .nav-link {
        color: white;
        transition: none;
    }

    .nav-link:hover, 
    .nav-link:focus, 
    .nav-link:active {
    color: white; 
    text-decoration: none; 
    }

 
    .navbar-nav .nav-item.dropdown .nav-link.dropdown-toggle:focus,
    .navbar-nav .nav-item.dropdown .nav-link.dropdown-toggle:hover,
    .navbar-nav .nav-item.dropdown .nav-link.dropdown-toggle[aria-expanded="true"] {
        color: white;
    }


    .nav-item:hover{
        color: white;
        font-size: calc(1em + 1px);
    }

    .navbar-expand-lg .navbar-nav .dropdown-menu {
        position: unset;
    }

    .cards-popular,
    .cards-most-seller {
        grid-template-columns: repeat(4, 1fr);
        padding: 15px;
    }

    .product-brand,
    .product-category{
        font-size: 12px;
    }

    .product-price{
        font-size: 15px;
    }

    .view-all-container{
        display: flex;
        justify-content: flex-end;
        margin-right: 40px;
        padding-right: 10px;
    }

    .btn-secondary {
        margin-right: 0;
    }
    
}


.btn-lila{
    display: inline-block;
    transition: all 0.2s ease-in;
    position: relative;
    overflow: hidden;
    z-index: 1;
    color: #090909;
    padding: 0.7em 1.7em;
    cursor: pointer;
    font-size: 18px;
    border-radius: 0.5em;
    background: var(--seconday-color);
    border: 1px solid var(--seconday-color);
    box-shadow: 6px 6px 12px #c5c5c5, -6px -6px 12px #ffffff;
}

.btn-lila:active {
    color: #666;
    box-shadow: inset 4px 4px 12px #c5c5c5, inset -4px -4px 12px #ffffff;
}

.btn-lila:before {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%) scaleY(1) scaleX(1.25);
    top: 100%;
    width: 140%;
    height: 180%;
    background-color: rgba(0, 0, 0, 0.05);
    border-radius: 50%;
    display: block;
    transition: all 0.5s 0.1s cubic-bezier(0.55, 0, 0.1, 1);
    z-index: -1;
}
  
.btn-lila:after {
    content: "";
    position: absolute;
    left: 55%;
    transform: translateX(-50%) scaleY(1) scaleX(1.45);
    top: 180%;
    width: 160%;
    height: 190%;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: block;
    transition: all 0.5s 0.1s cubic-bezier(0.55, 0, 0.1, 1);
    z-index: -1;
}

.btn-lila:hover {
    color: #ffffff;
    border: 1px solid var(--primary-color);
}

.btn-lila:hover:before {
    top: -35%;
    background-color: var(--primary-color);
    transform: translateX(-50%) scaleY(1.3) scaleX(0.8);
}

.btn-lila:hover:after {
    top: -45%;
    background-color: var(--primary-color);
    transform: translateX(-50%) scaleY(1.3) scaleX(0.8);
}

.btn-secondary {
    border: none;
    background: none;
    cursor: pointer;
    padding: 10px;
}

.btn-secondary span {
    padding-bottom: 7px;
    letter-spacing: 4px;
    font-size: 14px;
    text-transform: uppercase;
}

.hover-underline-animation {
    position: relative;
    color: var(--primary-color);
    padding-bottom: 20px;
}

.hover-underline-animation:after{
    content: "";
    position: absolute;
    width: 94%;
    transform: scaleX(0);
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-color);
    transform-origin: bottom center;
    transition: transform 0.25s ease-out;
}
  
.btn-secondary:hover .hover-underline-animation:after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.product-pricing {
    margin-bottom: 10px;
}

.original-price {
    text-decoration: line-through;
    color: gray;
}

.discounted-price {
    font-size: 1.2rem;
    font-weight: bold;
    color: black;
}

.discount-badge {
    background-color: var(--primary-color); 
    color: black;
    padding: 3px 8px;
    border-radius: 50%;
    font-size: 0.9rem;
}
