:root {
    --primary-color: #D2B6F8;
    --seconday-color: #e8e8e8;
}


body {
    margin: 0;
    padding: 0;
    gap: 5px;
    overflow-x: hidden;
    width: 100%;
}

.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: 200px;
}

.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);
}

.bag-collapse-content {
    position: fixed;
    top: 0;
    right: 0;
    width: 300px; 
    height: 100%;
    background-color: #f8f9fa; 
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
    padding: 20px;
    overflow-y: auto;
    z-index: 4;
    transition: right 0.3s ease;
}

.bag-collapse-content .btn-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #e3d4f8; 
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
    color: white; 
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease; 
}

.bag-collapse-content .btn-close:hover {
    background-color: var(--primary-color); 
    transform: scale(1.1); 
    color: white; 
}

.bag-collapse-content .btn-close:focus {
    border: none;
    box-shadow: none;
}

.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;
}

#btn-satın-al{
    width: 100%;
}

.btn-sepetimi-goruntule{ 
    text-decoration: none;
    color: var(--primary-color);
    margin-top: 10px;
    text-align: center;
}

.btn-sepetimi-goruntule:hover{
    text-decoration: underline;
}

.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);
}

.content {
    padding-top: 250px;
    height: auto;
    gap: 15px;
    width: 100%;
}

.content .conteiner .row{
    width: 100%;
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}
  
.form-check-input:checked ~ .form-check-label {
    color: var(--primary-color);
}

.product-content {
    display: grid;
    gap: 10px;
    padding: 20px;
    overflow-y: auto; 
    margin-top: 10px;
}

.product-content a{
    display: flex;
    flex-direction: column;
}

.card {
    background-color: white;
    height: auto;
    color: white;
    display: flex;
    align-items: center;
    border-radius: 8px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow-x: visible;
    padding: 5px;
    padding-left: 0px;
}

.card p{
    font-size: 15px;
}

.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: 1.5rem;
    font-weight: bold;
    margin: 10px 0;
}

.product-brand, .product-category {
    font-size: 1rem;
    color: #666;
    margin: 5px 0;
}

.product-price {
    color: #000;
    font-size: 1.2rem;
    font-weight: bold;
}

.product-conteiner{
    padding: 20p;
}

.side-menu-col {
    display: block; 
}

.product-content-col {
    display: block; 
}


.collapse {
    display: none;
    list-style-type: none;
    padding-left: 15px;
}

.collapse.show {
    display: block;
}

.category-toggle {
    cursor: pointer;
}

.category-list, .category-list-mobile {
    padding-left: 0;
    list-style-type: none;
}

.category-list li, .category-list-mobile li {
    margin-bottom: 5px;
}


.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) {


    .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;
    }

    .small-buttons{
        width: 100%;
        display: flex;
        flex-direction: row;
        margin-top: 10px;
        gap: 5px;
    }

    .small-buttons button{
        background: var(--seconday-color);
        justify-content: center;
        width: 100%;
        border: none;
    }

    .modal-open{
        padding-right: 0;
    }

    .product-conteiner .row{
        width: 100%;
        display: flex;
        justify-content: center;
        margin: 0;
    }

    .side-menu-col {
        display: none; 
    }

    .product-content-col {
        width: 100%; 
        display: flex;
        justify-content: center;
    }

    .product-content {
        grid-template-columns: repeat(2, 1fr);
        max-height: 400px; 
        -ms-overflow-style: none;  
        scrollbar-width: none;  
    }

    .product-content::-webkit-scrollbar {
        display: none;
    }

    .order-content{
        display: none;
    }

    #quantity-value{
        padding: 3px;
        font-size: 10px;
    }

    .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;
    }
    .small-buttons{
        width: 100%;
        display: flex;
        flex-direction: row;
        margin-top: 10px;
        gap: 5px;
    }

    .small-buttons button{
        background: var(--seconday-color);
        justify-content: center;
        width: 100%;
        border: none;
    }

    .product-content {
        grid-template-columns: repeat(3, 1fr);
        max-height: 500px; 
    }

    .product-content::-webkit-scrollbar {
        display: none;
    }
    .product-content {
        -ms-overflow-style: none; 
        scrollbar-width: none;  
    }

    .side-menu-col {
        display: none; 
    }
    .product-content-col {
        width: 100%; 
    }

    .order-content{
        display: none;
    }
    

  }
  

  @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: 180px;
        width: 100%;
    }  

    .container-fluid{
        background: var(--primary-color);
        margin: 0;
        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;
    }

    .small-buttons{
        display: none;
    }

    .product-content {
        grid-template-columns: repeat(4, 1fr);
        max-height: 600px; 
    }

    .product-content::-webkit-scrollbar {
        display: none;
    }
    .product-content {
        -ms-overflow-style: none;  
        scrollbar-width: none; 
    }

    .product-conteiner{
        margin: 0;
        display: flex;
        width: 100%;
    }

    .side-menu-col{
        padding: 20px;
        box-shadow: 10px 0px 10px 0px #aaaaaa;
    }

    .filter-side-menu{
        margin-top: 10px;

    }

    .filter-side-menu h2{
        text-align: center;
    }

    .filter-side-menu .category-list{
        list-style: none;
    }

    .filter-side-menu .category-list a{
        text-decoration: none;
        color: #000;
    }

    .filter-side-menu .category-list a:hover{
        color: var(--primary-color);
    }

    .category-list > li {
        padding: 10px;
        margin-bottom: 5px;
    }

    .category-toggle {
        text-decoration: none;
        color: #000;
        display: block;
        cursor: pointer;
    }

    .collapse {
        list-style-type: none;
        padding: 10px;
        margin: 0;
        display: none; 
        padding-left: 20px; 
    }
    
    .collapse.show {
        display: block; 
    }

    .order-content{
        display: flex;
        justify-content: center;
        gap: 10px;
        margin: 20px 10px 10px 0px;
        padding: 5px;
        width: 100%;
    }

    .order-content button{
        border: none;
        background-color: var(--seconday-color);
        width: 100%;
    }

    .order-content button:hover{
        box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1), 
                0px -4px 8px rgba(0, 0, 0, 0.1), 
                4px 0px 8px rgba(0, 0, 0, 0.1), 
                -4px 0px 8px rgba(0, 0, 0, 0.1);
    }

    .toggle-icon {
        display: flex;
    }

    .side-menu-col li{
        display: flex;
        flex-direction: column;
    }

    .category-drop{
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }

}

.toggle-icon {
    margin-left: 10px; 
    color: #D2B6F8; 
    cursor: pointer; 
}

.category-toggle {
    text-decoration: none; 
    color: black; 
}
  
.category-toggle:hover {
    color: #D2B6F8; 
}

.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;
}
