@import url("./common.css");


/* ----------------- shop banner start ------------  */

.shope_banner {
    background-image: url(../images/shop/shop_banner.png);
    background-size: cover;
    background-repeat: no-repeat;
    min-height: 500px;
    background-position: bottom center;
}

.shop_banner_inner {
    max-width: 1800px;
    padding: 100px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    margin: 0px auto;
    position: relative; 
}


/* ------ left section ------  */
.shop_banner_inner .left_section {
    width: 50%;
}

.blob-wrapper {
    position: absolute;
    left: 80px;
    width: 140px;
    height: 140px;
    top: 30%;
    transform: translateY(-50%);
    z-index: 1;
}

.blob-wrapper svg {
    width: 100%;
    height: 100%;
    rotate: 65deg;
}
.sale-blob-wrapper{
    position: absolute;
    left: -25px;
    width: 140px;
    height: 100px;
    top: 7%;
    transform: translateY(-50%);
    z-index: 1;
}
.sale-blob-wrapper svg {
    width: 100%;
    height: 100%;
    rotate: 65deg;
}
.tag-blob-wrapper{
    position: absolute;
    right: -25px;
    width: 140px;
    height: 120px;
    top: 8%;
    transform: translateY(-50%);
    z-index: 1;
}
.tag-blob-wrapper svg {
    width: 100%;
    height: 100%;
    rotate: 65deg;
}

.blob-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--white);
    font-weight: bold;
    font-size: 14px;
    pointer-events: none;
}

.shop_banner_inner .heading {
    font-size: 54px;
    line-height: 1.2;
    font-weight: bold;
    margin: 100px 0 40px 0;
    color: var(--white);
}

.shop_banner_inner .description {
    max-width: 550px;
    font-size: 20px;
    font-weight: 400;
    line-height: 28px;
    color: var(--white);
}

/* ------------- right section ------  */
.shop_banner_inner .right_section {
    width: 48%;
}

.shop_banner_inner .title {
    font-size: 30px;
    font-weight: 700;
    line-height: 38px;
    max-width: 200px;
    margin: 40px 0px 20px 0px;
    color: var(--white);
}

.shop_banner_inner .item_price {
    display: flex;
    justify-content: flex-start;
    gap: 10px;
    align-items: baseline;
    margin: 0px 0 0 0;
}

.shop_banner_inner .sale_price {
    font-size: 30px;
    font-weight: 700;
    line-height: 40px;
    color: var(--yellow-text);
}

.shop_banner_inner .price {
    font-size: 20px;
    font-weight: 400;
    line-height: 28px;
    color: var(--white);
    text-decoration: line-through;
}


/* ----------------- shop banner end ------------  */


/* ----------------- shop product start ------------  */



.product_section {
    max-width: 1800px;
    padding: 40px 100px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    background-color: var(--primary-color);
    margin: 0px auto;
    flex-direction: column;
}

.product_section_inner {
    width: 100%;
}

/* Header Styles */
.prodcut_section_heading {
    text-align: center;
    margin-bottom: 40px;
    font-size: 30px;
    font-weight: 700;
    line-height: 38px;
    color: var(--white);
}


/* Tabs Navigation */
.tabs-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
}

.tabs {
    display: flex;
    gap: 30px;
}

.tab {
    padding: 10px 0px;
    cursor: pointer;
    font-size: 20px;
    line-height: 28px;
    font-weight: 400;
    color: var(--white);
    position: relative;
    transition: all 0.3s ease;
}

.tab.active {
    color: var(--aqua-color);
}


.tab-arrows {
    display: flex;
    gap: 10px;
}

.arrow-btn {
    background: var(--secondary-text);
    border: 1px solid var(--secondary-text);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.arrow-btn:hover {
    background-color: var(--aqua-color);
    color: var(--white);
    border-color: var(--aqua-color);
}

/* Main Content Layout */
.content-wrapper {
    display: flex;
    gap: 30px;
}

/* Filters Sidebar */
.filters-sidebar {
    width: 280px;
    background-color: var(--dark-navy-blue);
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}


.filter-section {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px dashed var(--aqua-color);
}
.mobile-sidebar .filter-section{
    padding-top: 40px;
}

.filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    margin-bottom: 10px;
}

.filter-title {
    font-weight: 500;
    font-size: 22px;
    line-height: 24px;
    color: var(--accent-color);
}

.toggle-icon {
    font-size: 20px;
    color: var(--accent-color);
    padding: 3px 11px;
    background-color: var(--primary-color);
    border-radius: 50%;
}

.filter-content {
    display: block;
}

.filter-content.collapsed {
    display: none;
}

/* Price Range Filter */
.price-inputs {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.price-input {
    width: 30%;
    padding: 8px;
    border: 1px solid var(--primary-color);
    border-radius: 6px;
    background-color: var(--primary-color);
    box-shadow: none;
    color: var(--white);
}
.price-input:focus-visible{
    box-shadow: none;
    border: none;
    outline: 0;
}

.range-slider {
    height: 2px;
    background: var(--secondary-text);
    border-radius: 5px;
    position: relative;
    margin-bottom: 20px;
}

.range-slider .progress {
    height: 100%;
    left: 0%;
    right: 0%;
    position: absolute;
    background: var(--accent-color);
    border-radius: 5px;
}

.range-input {
    position: relative;
}

.range-input input {
    position: absolute;
    top: -25px;
    height: 5px;
    width: 100%;
    background: none;
    pointer-events: none;
    -webkit-appearance: none;
}

input[type="range"]::-webkit-slider-thumb {
    height: 17px;
    width: 17px;
    border-radius: 50%;
    background: var(--accent-color);
    pointer-events: auto;
    -webkit-appearance: none;
    cursor: pointer;
}

/* Checkbox Filters */
  .search-container {
    position: relative;
    margin-bottom: 10px;
  }

  .search-box {
    width: 100%;
    padding: 8px 30px 8px 8px;
    border: 1px solid var(--primary-color);
    background-color: var(--primary-color);
    border-radius: 6px;
    color: var(--white);
  }
  .search-box:focus-visible{
    outline: none;
  }

  .search-icon {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--white);
    pointer-events: none;
  }

.checkbox-group {
  max-height: 200px;
  overflow-y: auto;
  padding-top: 5px;
}

.checkbox-item {
  position: relative;
  display: flex;
  align-items: center;
  padding-left: 30px;
  margin-bottom: 10px;
  cursor: pointer;
  font-size: 15px;
  color: var(--white);
}
.checkbox-item label{
    cursor: pointer;
}

.checkbox-item input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  position: absolute;
  left: 0;
  top: -5px;
  width: 18px;
  height: 18px;
  background: var(--light-blue);
  border: 2px solid var(--voilat-light);
  border-radius: 4px;
  outline: none;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

.checkbox-item input[type="checkbox"]:checked {
  background-color: var(--accent-color); /* your accent color */
  border-color: var(--accent-color);
}

.checkbox-item input[type="checkbox"]::after {
  content: '';
  position: absolute;
  display: none;
}

.checkbox-item input[type="checkbox"]:checked::after {
  display: block;
  left: 5px;
  top: 1px;
  width: 5px;
  height: 10px;
  border: solid var(--white);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.clear-filters {
    width: 100%;
    padding: 0px;
    background: transparent;
    border: none;
    color: var(--white);
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    padding-bottom: 20px;
}

.clear-filters:hover {
    color: var(--accent-color);
}

/* Products Grid */
.products-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    width: 100%;
}

.product-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    position: relative;
}

.product-card:hover {
    transform: translateY(-5px);
}


.product-image {
    width: 100%;
    height: 250px;
    object-fit: contain;
    background-color: var(--white);
    padding: 20px;
}

.product-info {
    padding: 15px;
}

.product-category {
    font-size: 12px;
    color: var(--aqua-color);
    font-weight: 700;
    line-height: 19px;
    padding-bottom: 10px;
    margin-bottom: 5px;
}

.product-name {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 5px;
    line-height: 19px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    color: var(--black);
    text-decoration: none;
    cursor: pointer;
}

.product-brand {
    font-size: 14px;
    color: var(--black);
    margin-bottom: 10px;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-price {
    font-size: 18px;
    font-weight: bold;
    color: var(--black);
}

.add-to-cart {
    background: var(--gradient-color);
    color: var(--white);
    border: none;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.add-to-cart:hover {
    background-color: var(--aqua-color);
}
.pagination_main{
     width: 100%;
    background-color: var(--dark-navy-blue);
    
}
.pagination_inner{
    max-width: 1810px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    margin: 0px auto;
    position: relative; 
    padding: 0px 100px;
}
/* Pagination */
.pagination-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-left: 310px;
    padding: 10px 0px;
    
}

.pagination {
    display: flex;
    gap: 10px;
}

.pagination-arrows {
    display: flex;
    gap: 10px;
}


.page-number {
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: var(--white);
    color: var(--black);
     transition: transform 0.2s ease, background-color 0.2s ease;
}

.page-number.active {
    background-color: var(--aqua-color);
    color: var(--black);
     transition: transform 0.2s ease, background-color 0.2s ease;
}

.page-number:hover:not(.active) {
    background-color: var(--light-gray);
     transform: scale(1.1);
}

.pagination-arrow {
    background: var(--secondary-text);
    border: 1px solid var(--secondary-text);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pagination-arrow:hover {
    background-color: var(--aqua-color);
    color: var(--white);
    border-color: var(--aqua-color);
}



.pagination-arrow.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-arrow.disabled:hover {
    background-color: transparent;
    color: inherit;
    border-color: var(--secondary-text);
}

/* Mobile Filters Button */
.mobile-filters-btn {
    display: none;
    background-color: var(--accent-color);
    color: var(--white);
    border: none;
    padding: 10px 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    cursor: pointer;
}

/* Mobile Sidebar */
.mobile-sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 100;
}

.mobile-sidebar {
    position: fixed;
    top: 0;
    left: -300px;
    width: 280px;
    height: 100%;
    background-color: var(--dark-navy-blue);
    z-index: 101;
    overflow-y: auto;
    transition: left 0.3s ease;
    padding: 20px;
}

.mobile-sidebar.active {
    left: 0;
}

.close-sidebar {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 35px;
    cursor: pointer;
    color: var(--white);
}

/* Tab Content Animation */
.tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}


/* ----------------- shop product end ------------  */





/* ---------------- media query here ----------- */

@media (max-width: 1440px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media(max-width: 1200px) {
    .shope_banner {
        background: var(--dark-blue-violet);
    }

    .shop_banner_inner {
        padding: 100px 50px;
    }

    .product_section {
        padding: 40px 50px;
    }
    .pagination_inner{
        padding: 0px 50px
    }

    .blob-wrapper {
        left: 30px;
    }

    .shop_banner_inner .right_section {
        height: 100%;
        display: flex;
        justify-content: center;
        flex-direction: column;
        margin-top: 100px;
    }

    .shop_banner_inner .title {
        max-width: 60%;
        margin: 10px auto 20px auto;
    }

    .shop_banner_inner .item_price {
        width: 60%;
        margin: 0px auto;
    }
}
@media (max-width: 1066px) {
        .blob-wrapper {
        top: 15%;
        transform: translateY(0);
    }
}

@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 950px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width: 992px) {

    .shop_banner_inner {
        flex-direction: column;
    }

    .shop_banner_inner .left_section,
    .shop_banner_inner .right_section {
        width: 100%;
    }

    .blob-wrapper {
        left: 30px;
    }

    .shop_banner_inner .right_section {
        height: 100%;
        display: flex;
        justify-content: flex-start;
        flex-direction: column;
        margin-top: 40px;
    }

    .shop_banner_inner .title {
        max-width: 100%;
        margin: 10px 0 0px 0;
    }

    .shop_banner_inner .item_price {
        width: 100%;
    }
}

@media (max-width: 800px) {

     .filters-sidebar {
        display: none;
    }

    .mobile-filters-btn {
        display: block;
    }
}


/* Responsive Styles */


@media (max-width: 768px) {
        .shop_banner_inner {
        padding: 100px 20px;
    }

    .product_section {
        padding: 40px 20px;
    }
    .pagination_inner{
        padding: 0px 20px
    }

    .blob-wrapper {
        left: 0px;
    }

    .shop_banner_inner .heading {
        font-size: 34px;
        line-height: 42px;
        margin: 100px 0 20px 0;
    }

    .shop_banner_inner .description {
        font-size: 17px;
        line-height: 25px;
    }

    .shop_banner_inner .title, .prodcut_section_heading {
        font-size: 22px;
        line-height: 30px;
    }

    .shop_banner_inner .sale_price {
        font-size: 22px;
        line-height: 30px;
    }

    .shop_banner_inner .price {
        font-size: 18px;
        line-height: 28px;
    }
    .pagination-container {
    margin-left: 0px;
}
   

    .content-wrapper {
        flex-direction: column;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tabs {
        overflow-x: auto;
        padding-bottom: 2px;
        flex-wrap: wrap;
        gap: 5px;
       
    }

    .tabs::-webkit-scrollbar {
        display: none;
    }

    .tab {
         padding: 2px 8px;
    }
}


@media (max-width: 600px){
    .tab-arrows{
        display: none;
    }
}
@media (max-width: 520px) {

    .products-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 480px) {
    

    .tab {
        padding: 2px 3px;
        font-size: 14px;
    }
}