/*
Theme Name: Lumber Liquidators
Description: A simple tool that helps to get started on journey to a new floor at the BEST PRICE around.
Author: Ansharah
Version: 1.1
*/

@font-face {
    font-family: 'Tahoma';
    src: url('tahoma.ttf') format('truetype');
}

:root {
    --primaryColor: #fdd835;
}

.bg-yellow {
    background-color: #fdd835;
}

a {
    text-decoration: none;
}

ul {
    list-style: none;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Tahoma', sans-serif;
}

body {
    overflow-x: hidden;
}

/**** HERO ****/
.floor-finder-hero {
  height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.floor-finder-hero .middle {
  position: relative;
  width: 100%;
  height: calc(90vh - 250px);
}

.floor-finder-hero .middle .hero-img2 {
  position: absolute;
  top: 30px;
  left: 30px;
  width: 200px;
}

.floor-finder-hero .middle .hero-img {
  width: 100%;
  height: 100%;
  /* height: calc(90vh - 250px); */
  object-fit: cover;
}

.floor-finder-hero .middle .start-swiping-btn {
  left: 50%;
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #000;
  color: #fff;
  padding: 12px 24px;
  text-decoration: none;
}


/**** NAVBAR ****/
.navbar {
    background-color: var(--primaryColor);
    z-index: 3;
    flex-shrink: 0;
    position: sticky;
    min-height: 10vh;
    top: 0;
    width: 100%;
    margin: 0;
    padding: 0;
}

.navbar img {
    width: 100px;
    height: auto;
}

.header-heading {
    font-weight: bold;
    font-size: 25px;
}

.header-icons {
    font-size: x-large;
    color: #000;
}

.cart-btn {
  position: relative;
}

.cart-btn .cart-count {
  top: -6px;
  position: absolute;
  right: 2px;
  background-color: red;
  color: #fff;
  border-radius: 50%;
  padding: 2px 8px;
  font-weight: bold;
  font-size: 14px;
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}


/***** Filter   *****/
.filter-sidebar {
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.accordion-button {
    background-color: #f8f9fa;
    color: #333;
    border: none;
    border-radius: 0.375rem;
}

.accordion-button:not(.collapsed) {
    color: #007bff;
    background-color: #e9ecef;
}

.accordion-body {
    padding: 1rem;
}

.filter-group {
    margin-bottom: 20px;
}

.filter-group label {
    font-weight: bold;
    display: block;
    margin-bottom: 10px;
}

.color-options img {
    width: 30px;
    height: 30px;
    border-radius: 4px;
    margin-right: 8px;
    cursor: pointer;
}

.slider-label {
    display: flex;
    justify-content: space-between;
}

.toggle-group {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.toggle-group label {
    display: block;
    margin-left: 8px;
}

.filter-group .form-check {
    margin-bottom: 10px;
}

.range-inputs {
    display: flex;
    justify-content: space-between;
}

.slider-label {
    font-weight: bold;
}

/** CHECKOUT **/
.input {
    position: relative;
}

.form-label {
    position: absolute;
    left: 0;
    top: 0;
    padding: calc(.5rem * 0.75) calc(.5rem * .5);
    margin: calc(.5rem * 0.75 + 3px) calc(.5rem * 3.5);
    background: #fff;
    white-space: nowrap;
    transform: translate(0, 0);
    transform-origin: 0 0;
    transition: transform 120ms ease-in;
    font-weight: bold;
    line-height: 1.2;
    font-size: 18px;
}

.form-input {
    box-sizing: border-box;
    display: block;
    width: 100%;
    border: 1px solid currentColor;
    padding: calc(.5rem * 1.5) .5rem;
    color: currentColor;
    background: transparent;
    border-radius: 4px;
}

.form-input:focus,
.form-input:not(:placeholder-shown) {
    &+.form-label {
        transform: translate(.25rem, -65%) scale(.8);
        color: var(--color-accent);
    }
}

/** CART **/
.cart-item img {
    width: 75px;
    height: 75px;
    object-fit: cover;
}

.cart-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
}

.cart-item .item-details {
    flex-grow: 1;
    margin-left: 1rem;
}

.cart-item .item-details h6 {
    margin: 0;
}

.cart-summary {
    margin-top: 2rem;
}

/** Swiper **/

.swiper {
    display: flex;
    flex-direction: column;
    position: relative;
    opacity: 0;
    transition: opacity 0.1s ease-in-out;
    overflow: visible;
    /*max-width: 400px;*/
}

.loaded.swiper {
    opacity: 1;
}

.icons {
    position: absolute;
    top: 50%;
    margin-top: -30px;
    z-index: 2;
    width: 100%;
    text-align: center;
    pointer-events: none;
}

.icons i {
    font-size: 12rem;
    opacity: 0;
    /*transform: scale(0.3);*/
    transition: all 0.2s ease-in-out;
    position: absolute;
    width: 100px;
    margin-left: -50px;
}

.swiper_love .fa-heart {
    opacity: 1;
    transform: scale(1);
}

.swiper_nope .fa-remove {
    opacity: 1;
    transform: scale(1);
}

.swiper_cards {
    flex-grow: 1;
    padding-top: 10px;
    display: flex;
    justify-content: center;
    z-index: 1;
    /*max-width: 400px;*/
}

.swiper_card {
    display: inline-block;
    width: 90vw;
    max-width: 400px;
    height: 70vh;
    background: #FFFFFF;
    padding-bottom: 40px;
    border-radius: 8px;
    position: absolute;
    will-change: transform, opacity;
    transition: all 0.3s ease-in-out;
    cursor: grab;
}

.moving.swiper_card {
    transition: none;
    cursor: grabbing;
}

.swiper--buttons {
    flex: 0 0 100px;
    text-align: center;
    padding-top: 20px;
}

.swiper--buttons button {
    border-radius: 50%;
    line-height: 60px;
    width: 60px;
    border: 0;
    background: #FFFFFF;
    display: inline-block;
    margin: 0 8px;
}

.swiper--buttons button:focus {
    outline: 0;
}

.swiper--buttons i {
    font-size: 32px;
    vertical-align: middle;
}

.fa-heart {
    color: #00e673;
}

.fa-remove {
    color: #ff8080;
}

/* Extras */
.promo_container {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 10;
    overflow: hidden;
    width: 100px;
    height: 100px;
    pointer-events: none;
}

.promo_container .promo_tag {
    position: absolute;
    display: block;
    width: 140px;
    padding: 10px 0;
    background: linear-gradient(45deg, #ff6347, #ff4500);
    color: white;
    text-align: center;
    font-weight: bold;
    transform: rotate(45deg);
    top: 20px;
    right: -30px;
    font-size: 0.9rem;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
    pointer-events: none;
}

.clearance_sale {
    display: block;
    width: 120px;
    color: #262626;
    text-align: center;
    font-weight: bold;
    transform: rotate(-10deg);
    font-size: 1.2rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.4);
    text-shadow: 1px 1px 1px #000;
    line-height: 1;
    text-transform: uppercase;
    background-color: var(--primaryColor);
    padding: 5px;
    border-radius: 5px;
    position: absolute;
    top: 40px;
    left: 10px;
    z-index: 10;
    pointer-events: none;
}

/* Image carousel */
.carousel {
    width: 100%;
    max-width: 600px;
    margin: auto;
    height: 100%;
    /*max-height: 100%;*/
    overflow: hidden;
    pointer-events: auto;
    height: 70vh;
    border-radius: 15px;
}

.image-container {
    width: 100%;
    height: 100%;
    position: absolute;
    display: flex;
    transition: transform 0.3s ease;
    pointer-events: auto;
}

.carousel-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
}

.carousel-image.active {
    display: block;
}

.tile_navigation {
    position: absolute;
    top: 10px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    z-index: 10;
    pointer-events: none;
}

.tile {
    flex: 1;
    height: 8px;
    background-color: #ddd;
    cursor: pointer;
    transition: background-color 0.3s;
    border-radius: 15px;
    margin: 0 5px;
}

.tile.active {
    background-color: var(--primaryColor);
}

/* Product brief info */
.toggle_product_details {
    background: rgba(0, 0, 0, 0.5);
    border-radius: 5px;
    color: #fff;
    border: none;
    padding: 10px;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s, transform 0.3s;
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    width: auto;
    margin-left: 10px;
    margin-right: 10px;
    z-index: 5;
    pointer-events: auto;
}

.toggle_product_details .old-price {
    text-decoration: line-through;
    font-size: 1rem;
    margin: 0;
}

.toggle_product_details .new-price {
    font-size: 1.25rem;
    font-weight: bold;
    margin: 0;
}

.toggle_product_details .product-info {
    font-size: 0.875rem;
    margin-top: 10px;
}

/* Product Description */
.product_details {
    display: none;
    background-color: var(--primaryColor);
    padding: 3px;
    pointer-events: none;
    /*margin-top: 25px;*/
    position: relative;
}

.product_details .description {
    background: #fff;
    margin: 5px 0;
    padding: 13px;
    border-radius: 25px;
}

.product_details .close-details {
    display: block;
    border: none;
    padding: 10px;
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 10px;
    border-radius: 5px;
    font-size: 1rem;
    transition: background-color 0.3s;
    pointer-events: auto;
}

.show-details {
    display: block;
    animation: slideIn 0.5s forwards;
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}


.noCardsMessage {
    display: none;
}

.noUi-connect{
    background-color: var(--primaryColor);
}