/* Define the typewriter animation */
@keyframes typewriter {
    from {
      width: 0;
    }
    to {
      width: 100%;
    }
  }

  /* Apply the typewriter animation to the h1 element */
  #typewriter {
    overflow: hidden;
    white-space: nowrap;
    animation: typewriter 3s steps(30);
  }

/* Media query to modify the h1 style for mobile devices */
@media (max-width: 767px) {
    #typewriter {
      white-space: normal;
      text-overflow: ellipsis;
      overflow: hidden;
      display: -webkit-box;
      -webkit-box-orient: vertical;
      -webkit-line-clamp: 2;
      animation: none;
    }
  }

.ql-align-right {
	text-align: right;
}
.ql-align-center {
	text-align: center;
}
.ql-align-left {
	text-align: left;
}

.light-style .ql-editor blockquote,
.light-style .ql-content blockquote {
  font-size: 1.171875rem;
  margin-bottom: 1rem;
}
.ql-editor .ql-font-serif,
.ql-content .ql-font-serif {
  font-family: Georgia, "Times New Roman", serif;
}
.ql-editor .ql-font-monospace,
.ql-content .ql-font-monospace {
  font-family: "SFMono-Regular", Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}
.ql-size-large,
.ql-size-large {
  font-size: 1rem;
}
.ql-size-huge,
.ql-size-huge {
  font-size: 1.25rem;
}
.ql-size-small,
.ql-size-small {
  font-size: 0.75rem;
}
.ql-editor blockquote,
.ql-content blockquote {
  font-size: 1.171875rem;
  margin-bottom: 1rem;
}
.ql-font-monospace,
.ql-content .ql-font-monospace {
  font-family: "SFMono-Regular", Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}
.ql-editor .ql-font-serif,
 .ql-content .ql-font-serif {
  font-family: Georgia, "Times New Roman", serif;
}
.ql-size-huge,
.ql-size-huge {
  font-size: 1.25rem;
}
.ql-size-large,
.ql-content .ql-size-large {
  font-size: 1rem;
}
.ql-size-small,
.ql-size-small {
  font-size: 0.75rem;
}

/* Add space between cards on mobile phones */
.category-card {
    margin-bottom: 20px;
  }


  .btn-no-radius {
    border-radius: 0 !important;
  }


  .section-title {
    position: relative;
    font-weight: 500 !important;
    font-size: 1.2rem!important;
    z-index: 1;
    line-height:27.3px!important;
  }
  .section-title::after {
    content: "";
    position: absolute;
    height: 100%;
    width: 120%;
    inset-inline-start: -12%;
    bottom: 0;
    background: url("/frontend/assets/img/front-pages/icons/section-title-icon.png") no-repeat left bottom;
    background-size: contain;
    z-index: -1;
  }



  .e-product-price {
    font-size: 18px!important;
    font-weight: 700!important;
  }

  .e-product-price-popular {
    font-size: 14px!important;
    font-weight: 700!important;
  }

  .product-price-num {
    font-size: 17px!important;
    font-weight: 600;
    line-height: normal;
    color: #0F1111;
  }

.inline-pro {
    display: inline-block;
}


  .e-price-discount {
    font-size: 15px!important;
    line-height: 18px!important;
  }

  .e-price-discount-detailed {
    font-size: 15px;
  }


  .e-price-was {
    font-size: 13px;
  }

  .e-price-currency {
    position: relative;
    top: -0.3em;
    font-size: 15px;
  }
  .detailed-price-currency {
    position: relative;
    top: -.75em;
    font-size: 14px;
  }


  .engine-rating {
    font-size: 14px !important;
  }

  .product-detail-rating {
    font-size: 16px !important;
  }


  .middle-banner {
    height: 250px !important;
  }

  .card-img-zoom {
    overflow: hidden;
    transition: transform 0.10s;
}

.card-img-zoom:hover {
    transform: scale(1.02);
}


.smaller-image {
    max-width: 200px; /* Adjust the size as needed */
    max-height: 200px; /* Adjust the size as needed */
    margin-top: 0%!important;
}


.footer-quote-business{
    background-color: #000000 !important;
}

.quote {
    font-size: 36px;
    font-weight: 400;
    color: white;
    margin-bottom: 15px;
  }



  .btn-buy-now {
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease-in-out;
}

.btn-buy-now:hover {
    transform: scale(1.1);
}

.btn-buy-now .fas.fa-shopping-cart {
    position: relative;
    top: 2px;
    margin-right: 5px;
}

.btn-buy-now .badge-notifications {
    position: absolute;
    top: -8px;
    right: -8px;
    font-size: 10px;
    padding: 4px 6px;
    min-width: 16px;
    text-align: center;
}

.btn-buy-now .badge-notifications.bg-danger {
    background-color: red;
    color: white;
}




@media (min-width: 768px) {
    .product-checkbox {
        box-sizing: content-box;
    }
}




.cart-offcanvas {
    width: 500px !important;
}



.gallery-top {
    position: relative;
    width: 100%;
    height: 100%;
  }

  .gallery-top .swiper-slide {
    width: 100%;
    height: 100%;
  }

  .gallery-top .swiper-slide img {
    width: 100%;
    height: auto;
  }

  .gallery-thumbs {
    margin-top: 10px;
    text-align: center;
  }

  .gallery-thumbs .swiper-slide {
    width: auto;
    height: auto;
    opacity: 0.6;
    transition: opacity 0.3s ease;
  }

  .gallery-thumbs .swiper-slide-thumb-active {
    opacity: 1;
  }



  .underline-on-hover:hover {
    text-decoration: underline;

  }


  .pc-margin{
    margin-right: 20px;
  }




  .color-box-label {
    display: inline-block;
    width: 25px;
    height: 23px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
  }

  .color-box-label:hover {
    transform: scale(1.1);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  }

  .visually-hidden {
    position: absolute !important;
    clip: rect(1px, 1px, 1px, 1px);
    padding: 0 !important;
    border: 0 !important;
    height: 1px !important;
    width: 1px !important;
    overflow: hidden;
  }
  .color-box {
    display: inline-block;
    width: 25px;
    height: 23px;
    border-radius: 2px;
    margin-right: 5px;
  }



  .size-filter .form-check-inline {
    display: inline-block;
    margin-right: 10px;
  }

  .review-star-label {
    display: inline-block;
    cursor: pointer;
    margin-right: 5px;
  }

  .review-star-label .engine-rating {
    color: #FFD700; /* Adjust star color as needed */
  }

  .review-star-label .engine-rating.ti-star {
    color: #CCCCCC; /* Adjust empty star color as needed */
  }



  .range-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 5px;
  }

  .range-label {
    font-size: 12px;
  }

  .selected-color-filter {
    border: 2px solid red;
}


.selected-color-filter .check-mark {
    opacity: 1;
}



.badge-container {
    display: inline-block;
    position: relative;
    margin-right: 10px; /* Add desired space between badge containers */

  }



.selected-close-button {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 20px;
    height: 20px;
    background-color: transparent;
    border: none;
    color: #ff0000;
    font-weight: bold;
    cursor: pointer;
  }


#sticky-filters {
    position: sticky;
    top: 0;
}


@media (min-width: 992px) {
    /* Apply sticky positioning only for screens larger than 992px */
    .sticky-element {
      position: sticky;
      top: 20px; /* Adjust the top spacing as per your requirement */
    }
  }








@media (max-width: 1081px) {
    .card-body .col-sm-6 {
      width: 100%;
    }
  }

@media (max-width: 1080px) {
    .card-body .col-sm-6 {
      width: 50%;
    }
  }


  @media (max-width: 576px) {
    .card-body .col-sm-6 {
      width: 100%;
    }
  }


  @media (max-width: 768px) {
    .card-body .col-sm-6 {
      width: 100%;
    }
  }



  @media (max-width: 991.98px) {
    .section-py .card-body.border-end {
      border-right: 0 !important;
    }
  }



  .section-py {
    padding: 5rem 0;
  }
  @media (max-width: 1199.98px) {
    .section-py {
      padding: 4rem 0;
    }
  }
  @media (max-width: 767.98px) {
    .section-py {
      padding: 3rem 0;
    }
  }





 /* Make SVG smaller */
 .bs-stepper-icon svg {
    width: 10px; /* Adjust the width as needed */
    height: 10px; /* Adjust the height as needed */
  }





  .arrivals {
    flex-basis: 33.3333%;
    box-sizing: border-box;
    padding: 10px;
}





@media (max-width: 767px) {
    .app-brand-img {
      width: 100%;
    }
  }

@media (min-width: 768px) {
    .app-brand-img {
      width: 250px;
    }
  }




  @media (min-width: 1080px) {
    .app-brand-img {
        width: 100%;
    }
  }


  @media (min-width: 1081px) {
    .app-brand-img {
        width: 250px;
    }
  }

/* Custom CSS for Trending Badge */
.trending-badge {
    display: inline-block;
    background-color: teal;
    color: white;
    font-size: 14px;
    font-weight: bold;
    padding: 6px 10px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
  }

  /* Optional: Add a subtle shadow to make the badge stand out */
  .trending-badge {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  }



  /* Custom CSS for Amazon's Choice Badge */
.engine-choice-badge {
    display: inline-block;
    background-color: rgb(0, 0, 0);
    color: white;
    font-size: 12px;
    font-weight: bold;
    padding: 4px 8px;
    margin-right: 4px;
    border-radius: 2px;
    text-transform: uppercase;
    letter-spacing: 1px;
  }

  .engine-choice-badge .engine-badge-text-primary {
    color: white;
  }

  .engine-choice-badge .engine-badge-text-secondary {
    color: orange;
  }




    /* Custom CSS for Amazon's Choice Badge */
.engine-sale-badge {
    display: inline-block;
    background-color:  rgb(247, 0, 0);
    color: white;
    font-size: 12px;
    font-weight: bold;
    padding: 4px 8px;
    margin-right: 4px;
    border-radius: 2px;
    text-transform: uppercase;
    letter-spacing: 1px;
  }

  .engine-sale-badge .engine-badge-text-primary {
    color: white;
  }

  .engine-choice-badge .engine-badge-text-secondary {
    color: orange;
  }


  .add-card {
    border: none;
}

.add-card .card-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
    cursor: pointer;
}

.add-icon {
    font-size: 36px;
    margin-bottom: 10px;
}



.color-hover:hover {
    background-color: #f0f0f0; /* Change to your desired hover color */
    cursor: pointer; /* Add this line to set the cursor style */

}

.attribute-e-hover:hover {
    cursor: pointer; /* Add this line to set the cursor style */

}

.color-selected {
    border-color: #dc3545 !important; /* Change to your desired selected color */
}

.bg-danger-color {
    background-color: #dc3545 !important; /* Change to your desired danger color */
}



.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.spinner-border {
    width: 3rem;
    height: 3rem;
    color: #fff;
}



.engine-place-order-section {
    display: flex;
    align-items: center;
    border: 1px solid #dbdade;
    padding: 10px;
    background-color: #f9f9f9;
    border-radius: 0.375rem !important;
  }



  .engine-place-order-button:hover {
    background-color: #0056b3;

  }

  .engine-order-summary {
    text-align: left;
    margin-left: 15px;
    flex-grow: 1;

  }

  .engine-order-total {
    font-size: 18px!important;
    color: #B12704!important;
    line-height: 24px!important;
    font-weight: 700!important;
    text-rendering: optimizeLegibility;
  }

  .engine-place-order-terms {
    font-size: 14px;
    margin-top: 5px;

  }

  .engine-place-order-terms a {
    color: #007bff;
    text-decoration: none;
  }

  .engine-place-order-terms a:hover {
    text-decoration: underline;
  }

  .engine-total-and-terms {
    display: flex;
    flex-direction: column; /* Stack items vertically */
  }

  /* Hide the section on mobile devices */
  @media (max-width: 768px) {
      .engine-place-order-section {
          display: none;
      }
  }



#order-summary-widget {
    position: sticky;
    top: 20px; /* Adjust the top spacing as per your requirement */
    bottom: 400px; /* Adjust the bottom spacing as per your requirement */

}

/* Media query for large screens (e.g., screens with a minimum width of 992px) */
@media (min-width: 992px) {
    #order-summary-widget {
        position: sticky;
        top: 20px; /* Adjust the top spacing as per your requirement */
        bottom: 400px; /* Adjust the bottom spacing as per your requirement */
    }
}



.engine-number-circle {
    display: -ms-inline-flexbox;
    display: inline-flex;
    -ms-flex-line-pack: center;
    align-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 2em;
    height: 2em;
    padding: 0.5em 0;
    margin: 0.25rem;
    line-height: 1em;
    color: #fff;
    background-color: #007bff;
    border-radius: 1em;
  }

  .active .engine-number-circle {
    background-color: #007bff;
  }


  .engine-float-end {
    float: right !important;
  }


  .initials-avatar {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 35px;   /* Adjust size as needed */
    height: 35px;  /* Adjust size as needed */
    border-radius: 50%; /* Makes the div circular */
    background-color: #007bff; /* Choose a background color */
    color: white; /* Text color */
    font-size: 14px; /* Adjust font size as needed */
    font-weight: bold; /* Optional: makes the text bold */

    
}
