/* ============== Product Details ============== */

/* Active category styling */


.product-info {
    background-color: var(--sky-white);
}

.product-info .category.active {
    background-color: var(--border);
    border: 2px solid var(--border);
}

.product-info .category .product-name {
    color: var(--dark);
    font-weight: var(--fw-medium);
    font-size: var(--xl-size);
    margin-top: 8px;
    text-align: center;
}

.product-info .category {
    /* width: 180px !important;
  height: 180px !important; */
    border: 0;
    box-shadow: 0px 1px 7px -4px var(--black);
}

.product-section {
    display: none;
}

.product-section.active {
    display: block;
}

.product-icon {
    background-color: var(--sky-white);
    border-radius: 50%;
    box-shadow: 0px 0px 6px -3px var(--dark);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 70px;
    height: 70px;

}

.product-icon img {
    width: 35px;
    height: 35px;
}


.all-category-card {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: repeat(1, 1fr);
    gap: 10px;
}



/* ============== All Product ==============  */

/* Filters */
.filter-panel {
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 15px;
    background: transparent;
    width: 100%;
}

.filter-panel .filter-button i {
    font-weight: var(--fw-bold);
    font-size: var(--common-size);
    color: var(--dark);
}

#toggleFilter {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    padding: 0;
    margin: 0;
}

.accordion-section {
    border: 1px solid var(--border);
    margin-block: 15px;
    padding: 10px;
    border-radius: 8px;
}

.accordion-header {
    background: none;
    border: none;
    width: 100%;
    font-weight: var(--fw-medium);
    font-size: var(--lg-size);
    color: var(--dark);
    cursor: pointer;
    position: relative;
}

.accordion-header .arrow {
    position: absolute;
    right: 0;
}

.accordion-content {
    display: none;
    padding: 5px 0 10px 0;
}

.accordion-content.active {
    display: block;
}

.filter-text p {
    font-size: var(--mediuum-size);
    font-weight: var(--fw-normal);
    margin-bottom: 5px;
    color: var(--dark);
    /* border-bottom: 1px solid var(--border); */
}

/* .color-options {
  display: flex;
  justify-content: space-evenly;
  padding: 5px 0;
}

.color {
  width: 20px;
  height: 20px;
  box-shadow: 1px 1px 3px -1px var(--dark);
  cursor: pointer;
} */

.color-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    /* space between colors */
}

.color-options input[type="checkbox"] {
    display: none;
    /* hide the actual checkbox */
}

.color-options .color {
    display: inline-block;
    width: 20px;
    height: 20px;
    box-shadow: 1px 1px 3px -1px var(--dark);
    cursor: pointer;
    border: 2px solid transparent;
    transition: border 0.2s ease;
}

/* highlight when the checkbox is checked */
.color-options input[type="checkbox"]:checked+.color {
    border: 2px solid #000;
    /* or your highlight color */
}







/* price range  */
.price-slider {
    margin-top: 10px;
    position: relative;
    width: 100%;
}

.slider-track {
    position: relative;
    height: 40px;
}

.slider-track input[type="range"] {
    position: absolute;
    width: 100%;
    pointer-events: none;
    -webkit-appearance: none;
    background: transparent;
    height: 2px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
}

.slider-track::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: var(--light-dark);
    top: 50%;
    transform: translateY(-50%);
    border-radius: 50px;
    z-index: 1;
}

.range-fill {
    position: absolute;
    height: 4px;
    background-color: var(--dark);
    top: 50%;
    transform: translateY(-50%);
    border-radius: 50px;
    z-index: 1;
}

input[type="range"]::-webkit-slider-thumb {
    pointer-events: auto;
    width: 10px;
    height: 10px;
    background: var(--dark);
    border-radius: 50px;
    -webkit-appearance: none;
    border: none;
}

.go-btn {
    background-color: transparent;
    margin-top: 10px;
}






.rating-check {
    width: 14px;
    height: 14px;
    appearance: none;
    -webkit-appearance: none;
    border: 1px solid var(--dark);
    border-right: 2px solid var(--dark);
    border-bottom: 2px solid var(--dark);
    cursor: pointer;
    background-color: var(--light-white);
    position: relative;
    display: inline-block;
}

/* When checked: black background and checkmark */
.rating-check:checked {
    background-color: var(--dark);
}

/* Show checkmark when checked */
.rating-check:checked::after {
    content: '✓';
    color: var(--light-white);
    font-size: 10px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -55%);
    font-weight: bold;
}








/* right-side  */
.all-product {
    background-color: var(--sky-white);
}



.all-product .view-buuton {
    border: 0;
    background-color: transparent;
    font-size: var(--common-size);
    font-weight: var(--fw-normal);
    color: var(--dark);
}

.all-product .product-card {
    border: 1px solid var(--border);
    border-radius: 8px;
}

.all-product .product-card .card-body {
    background-color: var(--light-white);
}

.all-product .product-card .camera-img {
    width: 100%;
    height: 200px;
}

.all-product .product-card .camera-img img {
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}


.all-product .product-card .card-body {
    border-radius: 8px;
}


.all-product .product-card .card-body .card-title {
    font-size: clamp(14px, 1.2vw, 18px);
    font-weight: var(--fw-semi-bold);
    color: var(--dark);
}

.all-product .product-card .card-body .card-text {
    font-size: var(--common-size);
    font-weight: var(--fw-normal);
    color: var(--dark);
}

.all-product .product-card .card-body .product-price {
    font-size: clamp(16px, 1.1vw, 22px);
    font-weight: var(--fw-medium);
    color: var(--dark);
}

.all-product .product-card .card-body .price-offer {
    font-size: var(--common-size);
    font-weight: var(--fw-normal);
    color: var(--light-dark);
    text-decoration: line-through;
}

.all-product .product-card .card-body .fill {
    color: var(--product-rating-stars-color);
}

.all-product .product-card .card-body .not-fill {
    color: var(--dark);
}

.all-product .product-card .card-body .off-btn {
    padding-inline: 0.50rem;
    padding-block: 0.10rem;
    font-size: var(--common-size);
    font-weight: var(--fw-medium);
    color: var(--sky-white);
}

.all-product .product-card .card-body .rating-point {
    font-size: clamp(14px, 1.1vw, 16px);
    font-weight: var(--fw-bold);
    color: var(--dark);
}

.all-product .product-card .card-body .card-button button {
    padding-inline: 15px;
    font-size: var(--common-size);
    font-weight: var(--fw-medium);
    color: var(--dark);
    border-color: var(--border);
}

.all-product .product-card .card-body .card-button button:hover {
    background-color: var(--light-white);
}

.slider-track {
    position: relative;
    height: 32px;
    margin-top: 16px;
    width: 100%;
}

input[type="range"]::-webkit-slider-thumb {
    appearance: none;
    width: 16px;
    height: 16px;
    background: #007bff;
    border-radius: 50%;
    cursor: pointer;
    border: 1px solid #fff;
    box-shadow: 0 0 1px #000;
    margin-top: -6px;
}

input[type="range"]::-webkit-slider-runnable-track {
    height: 4px;
    border-radius: 2px;
}

input[type="range"]::-ms-fill-lower,
input[type="range"]::-ms-fill-upper {
    border-radius: 2px;
}

/* .all-product .product-section .product-heading {
  font-size: clamp(18px, 1.7vw, 24px);
  font-weight: var(--fw-bold);
  color: var(--dark);
} */
