/* Home */

.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 5px ;
    margin-bottom: 10px;
}

.header .search {
    display: flex;
    column-gap: 20px;
    border: 1px solid #e7e7e7;
    align-items: center;
    padding: 0 30px;
    border-radius: 10px;
}
.header .search-box{
    height: 40px;
    display: flex;
    cursor: pointer;
    padding: 10px 20px;
    border-radius: 30px;
    align-items: center;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.2);
}
/* .header .search-box:hover input {
    width: 400px;
} */
.header .search-box input {
    width: 301px;
    outline: none;
    border: none;
    font-weight: 500;
    transition: 1.1s;
}
.header .search-box a {
    color: #42adfc;
}

/* .user-name {
    background-color: lightgray;
    border-radius: 10px;
    cursor: pointer;
}

.user-details {
    position: relative;

}

.user-dropdowns {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    right: 0;
    width: auto;
    background-color: white;
    border: 1px solid #ccc;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    z-index: 1000;
}

.user-details:hover .user-dropdowns,
.user-details:focus-within .user-dropdowns {
    display: flex;
}

.user-dropdowns a {
    padding: 15px;
    text-decoration: none;
    color: black;
}

.user-dropdowns i {
    margin-right: 6px;
}

.user-dropdowns a:hover {
    background-color: #f0f0f0;
} */

.user-name {
    background-color: lightgray;
    border-radius: 10px;
    cursor: pointer;

}

.user-details {
    position: relative;
}

.user-dropdowns {
    display: none;
    flex-direction: column;
    position: absolute;
    /* top: 100%; */
    right: -25%;
    width: 250px; 
    background-color: white;
    border: 1px solid #ccc;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    z-index: 1000;
    transition: opacity 0.3s ease, visibility 0.3s ease; 
    opacity: 0; 
    visibility: hidden;
}

.user-details:hover .user-dropdowns,
.user-details:focus-within .user-dropdowns {
    display: flex;
    opacity: 1;
    visibility: visible; 
}

.user-dropdowns a {
    padding: 15px;
    text-decoration: none;
    color: black;
    width: auto; 
    text-transform: capitalize;
}
.user-dropdowns a:hover {
    color: #0077b5;
}

.user-dropdowns i {
    margin-right: 6px; 
}





.header .cart{
    display:grid;
    grid-template-columns: repeat(4,1fr);
    grid-gap: 20px;
}



/* Navbar styles */
.navbar {
    position: relative;
    background-color: #42adfc;
    padding: 10px 0;
    
}
.navbar ul .button {
    display: none;

}
@media only screen and (max-width: 1010px) {
    .navbar {
        position: relative;
        background-color: #fff;
        padding: 10px 0;
    }
    .navbar .logo_header {
        display: block;
    }
    .navbar ul .button {
        display: block;
    }
    .navbar ul .button a {
        color: #fff !important;
    }
}
.navbar-nav {
    margin-right: 40px !important;
}

.navbar-nav .nav-item {
    margin-right: 50px;
    color: #fefeff;
}
.navbar-nav .nav-item .nav-link:hover{
    color: #fff;
}
.navbar-nav .nav-item .nav-link{
    color: #fff;
}
.navbar ul .sri:before {
    content: "";
    position: absolute;
    bottom: -2px;
    height: 4px;
    border-radius: 5px;
    width: 0;
    background-color: transparent;
    transition: width 0.3s ease, background-color 0.3s ease;
}



.navbar ul .button img {
    margin-left: .5rem;
    color: #fff;
}

.navbar ul .button:hover {
    background-color: #0d2252;
    color: #fff;
    border-radius: 2px;
}
.navbar ul .sri {
    font-weight: 600;
}
.navbar ul .sri:hover:before {
    width: 80%;
    background-color: #fff;
}

.navbar ul {
    list-style: none;
    padding: 0;
    margin-right: 0;
    /* align-items: center; */
}

.navbar ul li {
    position: relative;
}

.navbar ul li a {
    text-decoration: none;
    color: #fefeff;
    padding: 7px 20px;
    display: block;
    font-size: 16px;
    transition: background-color 0.3s ease, color 0.3s ease;
}
@media only screen and (max-width: 999px) {
    .navbar ul li a {
        color: #333 !important;
        margin-top: 10px;
    }
}
.navbar ul li:hover > ul {
    display: block;
}

.navbar ul li ul {
    display: none;
    position: absolute;
    margin-top: 1px;
    top: 100%;
    left: 0;
    background: #fff;
    border-radius: 7px;
    z-index: 111111;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.navbar ul li:hover > ul {
    opacity: 1;
    visibility: visible;
}

.navbar .tr {
    background-color: white;
    border: 1;
}
.navbar ul li ul {
    padding: 15px;
}
.navbar ul li ul li {
    width: 90%;
    border-top: 2px solid white;
}
.navbar ul li a{
    color: #fff;
}
.navbar ul li ul li ul {
    top: 0;
    left: 100%;
}
@media only screen and (max-width:992px) {
    .navbar ul li ul li ul {
        top: 0;
        left: 50%;
    }
}
.navbar ul li ul li a {
    margin: 0;
    width: 230px;
    font-size: 14px;
    color: #333;
}

.navbar ul li ul a {
    margin-left: .4rem;
    background-color: #fff;
    display: inline-block;
    margin-bottom: .5rem;
    transition: transform 0.3s ease-in-out;
}

.navbar ul li ul a:hover {
    transform: translateX(2px);
    color: #42adfc;
}

.navbar .login-button {
    border: 1px solid #fff;
    border-radius: 4px;
}

/* stick navbar */
.sticky-navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: white; 
    z-index: 1000;
}
.sticky-container {
    margin-top: 70px; 
}
.sticky-navbar a {
    /* font-weight: 200; */
    display: block;
    padding: 10px 20px;
    color: #0d2252 !important;
    text-decoration: none;
}
.sticky-navbar a:hover {
    color: #0d2252 !important;
}
.sticky-navbar .logo_header {
    display: block;
}

nav .logo_header {
    display: none;
}
.sticky-navbar ul li ul li a:hover {
    color: #42adfc !important;
}

/* Carousel */

#carouselExampleCaptions {
    margin-top: -60px;
}

.carousel-caption h5 {
    font-size: 50px;
    margin-bottom: 10px;
    margin-left: -90px;
    text-align: start;
    color: rgb(241, 235, 235);
    font-weight: bold;
}

.btn-success {
    background-color: #42adfc;
    border: 0;
    margin-bottom: 40px;
    padding: 10px;
    border-radius: 7px;
    text-align: start;
    margin-left: -108%;
}
.btn-success:hover{
    background-color: #42adfc;
}
.btn-success a {
    text-decoration: none;
    color: white;
}


/* Cards */

#top-offers {
    text-align: center;
    margin-bottom: 20px;
    margin-top: 30px;
}

.card-offers {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    grid-gap: 20px;
}

.card-offers .card .card-title {
    text-align: center;
}
.card-offers .card .card-image img{
    width: 100%;
}
.card-offers .card .button{
    margin-top: -5px;
    margin-bottom: 10px;
}
.card-offers .card .button a{
    background-color: #42adfc;
    padding: 5px 10px;
    text-decoration: none;
    color: #fff;
    border-radius: 5px;
}

.contact-form {
    display: grid ;
    grid-template-columns: auto auto;
    grid-gap: 50px;
}
.contact-form .btn-primary {
    background-color: #42adfc;
    border: none;
}
.contact-form-details {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    grid-gap: 30px;
}
.contact-form-details img {
    width: 100%;
    border-radius: 20px;
}

/* Footer */

footer {
    background-color: black;
}

.footer {
    padding: 10px;
    display: grid;
    grid-template-columns: repeat(4,1fr);
    color: #fff;
}

.footer .website-details {
    display: flex;
    flex-direction: column;
}
.footer .website-details i {
    margin-right: 5px;
}
.footer  p {
    font-size: 22px;
}
.footer a{
    margin-top: 10px;
    text-decoration: none;
    color:#fff;
}
.footer .footer-about {
    display: flex;
    flex-direction: column;
}

/* FOOTER */

@media only screen and (max-width: 768px) {
    .footer {
        padding: 20px;
        display: grid;
        grid-template-columns: repeat(2,1fr);
        color: #fff;
    }
    .footer-services {
        margin-top: 20px;
    }
}
@media only screen and (max-width: 500px) {
    .footer {
        padding: 20px;
        display: grid;
        grid-template-columns: repeat(1,1fr);
        color: #fff;
    }
    .footer-about {
        margin-top: 20px;
    }
}

#share {
    display: flex;
    column-gap: 10px;
}
#share a i{
    margin-left: 5px;
}
#share a:nth-child(1){
    display: inline-block;
    width: 30px;
    height: 30px;
    font-size: 13px;
    line-height: 30px;
    text-align: center;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    background-color: #3b5998;
}

#share a:nth-child(2){
    display: inline-block;
    width: 30px;
    height: 30px;
    font-size: 13px;
    line-height: 30px;
    text-align: center;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    background-color: #55acee;
}
#share a:nth-child(4){
    display: inline-block;
    width: 30px;
    height: 30px;
    font-size: 13px;
    line-height: 30px;
    text-align: center;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    background-color: #0077b5;
}
#share a:nth-child(3){
    display: inline-block;
    width: 30px;
    height: 30px;
    font-size: 13px;
    line-height: 30px;
    text-align: center;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    background-image: linear-gradient(#ea4335, #fbbc05, #34a853, #4285f4);
}



.gallery-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 20px;
    text-align: center;
}
@media only screen and (max-width:768px){
    .gallery-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 20px;
        text-align: center;
    }
}
@media only screen and (max-width:620px){
    .gallery-container {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        grid-gap: 20px;
        text-align: center;
    }
}
.gallery-container img {
    width: calc(50% - 10px);
    border-radius: 4px;
    padding-top: 10px;
}
.gallery-container .gallery-title figcaption {
    text-align: center;
    font-size: 15px !important;
    margin-top: 10px;

}
.gallery-container .gallery-item {
    margin: 0;
    margin-bottom: 1rem;
    overflow: hidden;
    position: relative;
    transition: transform 0.6s ease;
    border: 2px solid #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.image-path {
    margin: 0;
    margin-bottom: 1rem;
    overflow: hidden;
    position: relative;
    transition: transform 0.6s ease;
    border: 2px solid #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    text-decoration: none;
    color: #333;
}
.image-path:hover {
   color: #333;
}

section.top-offer {
    margin-left: 10px !important;
}

#categories-part {
    width: 200px;
}

.sidebar {
    width: 250px !important;
    margin-left: -30px;
}


.rating-rating {
    margin-top: 10px;
    display: flex;
    justify-content: center;
    column-gap: 20px;
    margin-bottom: 10px;
}

.rating-rating .rating p {
    color: #fff;
    font-weight: 600;
}

.rating-rating .rating {
    font-size: 14px;
    background-color: #388e3c;
    width: 58px;
    height: 20px;
    border-radius: 5px;
    margin-top: 3px;
    padding-left: 8px;
}
.rating-rating .rating i {
    color: #fff;
    font-size: 13px;
}


/* 23-05-24 */

/* .main_container {
    margin-bottom: 8rem;
} */

.main_container {
    margin-top: 20px;
    display: grid !important;
    grid-template-columns: 200px auto !important;
}

#Records .records{
    display: flex;
    flex-direction: column;
    width: 200px !important;
    height: 100%;
    font-size: 18px;
    border-radius: 15px;
}
.records a{
    color: black;
    font-weight: 500;
}
.records a.active {
    color: #42adfc;
}
.records {
    height: fit-content;
}

@media only screen and (max-width:768px){
    .main_container{
        display: flex;
        flex-direction: column;
    }
}

.blocks .content {
    display: none;
    padding: 18px;
    border-radius: 5px;
    margin-left: 30px;
}



.main_container {
    display: flex;
    flex-direction: row;
    width: 100%;
    margin-bottom: 10px;
}
/* @media (max-width: 768px) {
    .main_container {
        display: flex !important;
        flex-direction: column !important;
        width: 100%;
        margin-bottom: 10px;
    }
} */
.menu-wrapper , .wrapper-content {
    width: 100%;
}
.main_container .records {
    display: flex;
    flex-direction: column;
}
.main_container .records a{
    padding: 15px;
    text-decoration: none;
    padding: 20px;
}


.wrapper {
    margin-left: 6px;
}
.wrapper h2 {
    font-size: 18px;
    font-weight: 600;
}
.wrapper .price-input {
    display: flex;
    margin: 30px 0 30px;
}
.wrapper .price-input .filed {
    height: 45px;
    align-items: center;
    display: flex;
}
.wrapper .price-input .filed input {
    width: 100%;
    height: 100%;
    outline: none;
    text-align: center;
    border-radius: 5px;
    margin-left: 12px;
    border: 1px solid #999;
    font-size: 10px;
    -moz-appearance: textfield;
}

.wrapper .price-input input[type="number"]::-webkit-outer-spin-button,
.wrapper .price-input input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
}


.wrapper .price-input .separator {
    display: flex;
    font-size: 1;
    align-items: center;
    justify-content: center;
    font-size: 19px;
}

.slider {
    height: 5px;
    border-radius: 5px;
    background-color: #ddd;
    position: relative;
}
.slider .progress {
    height: 5px;
    position: absolute;
    left: 25%;
    right: 25%;
    border-radius: 5px;
    background-color: #42adfc;
}
/* .wrapper {
    margin-left: 50px !important;
} */
.wrapper .range-input {
    position: relative;
}
.wrapper .range-input input {
    position: absolute;
    top: -5px;
    height: 5px;
    background: none;
    pointer-events: none;
    -webkit-appearance: none;
}
.wrapper .range-input input[type="range"]::-webkit-slider-thumb{
    height: 17px;
    width: 17px;
    border-radius: 100%;
    -webkit-appearance: none;
    pointer-events: auto;
    background-color: #42adfc;
}
.wrapper .range-input input[type="range"]::-moz-range-thumb{
    height: 17px;
    width: 17px;
    border: none;
    border-radius: 100%;
    -moz-appearance: none;
    pointer-events: auto;
    background-color: #42adfc;
}

/* view Product */

.contact-form-details {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    grid-gap: 30px;
}
.contact-form-details img {
    width: 100%;
    border-radius: 20px;
}
.small-img {
    width: 87%;
    cursor: pointer;
    text-align: center;
    padding-left: 16px;
}

.small-img-group {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}
.small-img-col{
    flex-basis: 24%;
    cursor: pointer;
}
.sproduct-img {
    position: relative;
    overflow: hidden;
}

.sproduct-slider {
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
}

.slider-image {
    display: flex;
    transition: transform 0.5s ease;
}

.slider-main-image {
    flex: 0 0 100%;
}

.slider-main-image img {
    width: 100%;
}

.small-img-group {
    display: flex;
    justify-content: space-between;
}

.small-img-col {
    flex: 0 0 24%;
    margin-right: 10px;
}

/* .small-img {
    width: 100%;
    cursor: pointer;
} */

.wishlist {
    margin-top: 20px;
}


.sproduct-slider .prev-btn{
    position: absolute;
    top: 45.8%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-color: #FF8617;
    border: none;
    color: #fff;
    font-size: 20px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 1; 
}
.sproduct-slider .nxt-btn{
    position: absolute;
    top: 30%;
    right: 16px;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-color: #FF8617;
    border: none;
    color: #fff;
    font-size: 20px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 1; 
}
.sproduct-img .wishlist {
    position: absolute;
    top: 0;
    right: 30px;
}

.sproduct-img .wishlist a,
.sproduct-img .cart a{
    text-decoration: none;
    color: #333;
}
.sproduct-img .cart {
    position: absolute;
    right: 30px;
    bottom: 30%;
}
#MainImg {
    width: 60%;
    margin-left: 60px;
}

.rating {
    display: flex;
}
.rating  i {
    margin-top: 4px;
    color: gold;
}
.rating  p {
    margin-right: 10px;
}

.discount {
    display: flex;
    flex-direction: column;
}
.discount .actual-price {
    display: flex;
    column-gap: 10px;
}
.discount .actual-price h6 {
    font-size: 26px;
    font-weight: 300;
    color: red;
}
.discount .actual-price h5 {
    font-size: 26px;
    font-weight: 400;
    position: relative;
}
.discount .actual-price i {
    font-size: 12px;
    position: absolute;
    top: 7px;
}
.discount .actual-price span{
    margin-left: 10px;
}
.discount p {
    color: #514f4f;
    font-size: 14px;
}

.cart-buy {
    display: flex;
    column-gap: 70px;
    margin-bottom: 30px;
    margin-top: 20px;
}
.cart-buy .cart-button a,
.cart-buy .buy-button a {
    text-decoration: none;
    background-color: #42adfc;
    padding: 10px 20px;
    border-radius: 5px;
    color: #fff;
}

.brand-name {
    display: flex;
    column-gap: 110px;
}
.brand-name p {
    margin-top: -2px;
}
.model {
    display: flex;
    column-gap: 55px;
}
.model p {
    margin-top: -2px;
}
.service {
    display: flex;
    column-gap: 30px;
}
.service p {
    margin-top: -2px;
}
.os {
    display: flex;
    column-gap: 23px;
}
.os p {
    margin-top: -2px;
}
.network {
    display: flex;
    column-gap: 10px;
}
.network p {
    margin-top: -2px;
}

/* Corrected styling for related products */

.Related-title {
    margin-bottom: 30px;
    font-size: 26px;
    font-family: "Poppins", sans-serif;
    font-weight: 600;
}

.related-products {
    position: relative;
    overflow: hidden;
    padding: 20px;
}

.product-container {
    padding: 0 10px;
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch; 
    scrollbar-width: none; 
    -ms-overflow-style: none; 
}

.product-container::-webkit-scrollbar {
    display: none;
}

.product-card {
    flex: 0 0 auto;
    width: 250px;
    height: 450px;
    margin-right: 40px; /* Fixed missing unit 'px' */
}

.related-product-img {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.product-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover; 
}

.discount-tag {
    position: absolute;
    background-color: #42adfc;
    padding: 5px;
    border-radius: 5px;
    color: #fff;
    right: 15px;
    text-transform: capitalize;
}

.related-product-img:hover .card-btn {
    opacity: 1;
}

.pre-btn{
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-color: #FF8617;
    border: none;
    color: #fff;
    font-size: 20px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 1; 
}
.next-btn{
    position: absolute;
    top: 45%;
    right: 15px;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-color: #FF8617;
    border: none;
    color: #fff;
    font-size: 20px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 1;
}

.prev-btn-related {
    left: 10px;
}

.next-btn-related {
    right: 10px;
}

@media (max-width: 768px) {
    .product-container {
      flex-wrap: nowrap; 
      padding: 0;
      margin: 0 -10px; 
    }
  
    .product-card {
      width: 200px; 
      margin-right: 20px; 
    }
  
    .related-product-img {
      height: 250px; 
    }
  
    .card-btn {
      bottom: 5px; 
    }
  
    .prev-btn-related,
    .next-btn-related {
      width: 30px; 
      height: 30px;
      font-size: 16px;
    }
  }

.product-info {
    text-align: center;
}

.product-info h2{
    font-size: 24px;
    font-weight: 600;
    text-align: center;
}
.product-info p {
    text-align: center;
}
.product-info .product-price{
    margin-right: 16px;
}
.card-btn {
    position: relative;
}

.triangle {
    display: flex;
    column-gap: 20px;
    margin-bottom: 30px;
    position: relative;
}

.triangle .div1 {
    width: 200px;
    height: auto;
    border-top: 20px solid #FF8617;
    border-right: 10px solid transparent;
    border-left: 10px solid transparent;
}
.triangle .div2 {
    width: 200px;
    height: auto;
    border-bottom: 20px solid #FF8617;
    border-right: 10px solid transparent;
    border-left: 10px solid transparent;
}
.triangle p {
    position: absolute;
    top: 16%;
    left: 6%;
    font-weight: 600;
    color: #fff;
}


.card-container {
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(4,1fr);
    grid-gap: 30px;
}
@media only screen and  (max-width: 768px)  {
    .card-container {
        display: grid;
        grid-template-columns: repeat(2,1fr);
    }
}
@media only screen and  (max-width: 460px)  {
    .card-container {
        display: grid;
        grid-template-columns: repeat(1,1fr);
    }
}

.card-container .card img{
    width: 100%;
}
.card-container .card  .card-title{
    text-align: center;
    margin-top: 10px;
    margin-bottom: 10px;
}
.card-container .card  .card-title a{
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    color: #333;
}
#cart {
    display: flex !important;
}


