.shop-content-section{
    margin-bottom: 100px;
}

.shop-layout{
    padding-left: 20px;
    padding-right: 20px;
}
.shop-hero-section{
    padding-top: 3rem;
    position: relative;
}

.page-numbers .current{
    background-color: var(--main-color) !important;
    color: white !important;
    border-radius: 50%;
    aspect-ratio: 1/1;
}

#order-by-dropdown{
    border: 1px solid var(--main-color);
}

.shop-video-content h1 {
    font-size: 3rem;
    font-weight: 300;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: 2px;
}

.shop-video-content p {
    font-size: 1.2rem;
    font-weight: 300;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    line-height: 1.6;
}

/* Shop Content */
.shop-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.shop-intro{
    max-width: 1000px;
    padding: 0 var(--padding-left);
    margin-bottom: 80px;
}

.shop-header h2 {
    font-weight: 300;
    color: var(--main-color-font);
    margin-bottom: 1rem;
    letter-spacing: 1px;
    line-height: 0.5;
}

.shop-subtitle span{
    color: var(--secondary-color);
    transform: translateX(30%);
    display: inline-block;
}




.product{
    list-style-type: none;
}

.products-grid{
  --auto-grid-min-size: 16rem;
  
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(var(--auto-grid-min-size), 1fr));
  grid-gap: 2rem;
  row-gap: 2rem;
}

.product-frame{
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.product-frame a{
    display: inline-block;
    display: flex;
    justify-content: center;
    align-items: center;
}

.product-frame img{
    width: 70%;
    height: 300px;
    object-fit: contain;
}

.product-title{
    margin-bottom: 10px;
    margin-top: 10px;
    color: var(--main-color-font);
    font-weight: bold;
    text-align: center;
    font-weight: 300;
    font-size: 15px;
    padding-left: 10px;
    padding-right: 10px;
}

.product-card {
  text-align: center;
  font-size: 1.2rem;
}

.post-type-archive .swiper-wrapper,
.tax-product_cat .swiper-wrapper,
.tax-product_tag .swiper-wrapper,
.tax-product_brand .swiper-wrapper,
.tax-pa_brand .swiper-wrapper,
[class*="tax-"] .swiper-wrapper {
    gap: 0px;
}

.post-type-archive .swiper-slide,
.tax-product_cat .swiper-slide,
.tax-product_tag .swiper-slide,
.tax-product_brand .swiper-slide,
.tax-pa_brand .swiper-slide,
[class*="tax-"] .swiper-slide {
    width: fit-content !important;
}

#categoriesCarousel{
    padding-left: 30px;
    padding-right: 30px;
}

.category-carousel-item{
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: inherit;
    border: 1px solid var(--main-color);
    border-radius: 8px;
    padding: 15px;
    transition: all 0.3s ease;
    text-align: center;
    min-width: 150px;
}


.category-carousel-item img{
    width: 100%;
    height: 120px;
    object-fit: contain;
    margin-bottom: 10px;
    border-radius: 4px;
}

.category-carousel-title{
    margin: 0;
    font-size: 14px;
    font-weight: 500;
    color: var(--main-color);
}

.filter-group{
    width: fit-content;
}

.filters-section{
    margin-top: 50px;
}

.order-by{
    margin-bottom: 0;
}

.filter-group-title{
    cursor: pointer;
    user-select: none;
    transition: opacity 0.2s ease;
    margin-bottom: 0;
    font-size: 16px;
    border: 1px solid var(--main-color);
    border-radius: 40px;
    padding: 2px 10px;
    min-width: 100px;
    text-align: center;
}

.filter-group-title:hover{
    opacity: 0.7;
}

.filter-options{
    display: flex;
    flex-direction: column;
}


/* Order By Dropdown Styling */
.order-by-group {
    margin-bottom: 1rem;
}

.order-by-select {
    width: 100%;
    padding: 8px 12px;
    border: 2px solid #ddd;
    border-radius: 6px;
    background-color: white;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 40px;
}

.order-by-select:hover {
    border-color: var(--main-color);
    background-color: #f8f9fa;
}

.order-by-select:focus {
    outline: none;
    border-color: var(--main-color);
    box-shadow: 0 0 0 3px rgba(var(--main-color-rgb), 0.1);
}

.order-by-select option {
    padding: 8px 12px;
    background-color: white;
    color: #333;
}

#filterBar{
    display: none;
    align-items: center;
    column-gap: 10px;
}

#filterBar p{
    margin-bottom: 0;
}

.products-grid{
    margin-left: 0;
}

.product-image-wrapper{
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 300px;
}
.product-wrapper{
    border: 1px solid var(--main-color);
    height: 100%;
}

.product-image{
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 1px solid var(--main-color);
}

.product-image img{
    height: 100%;
    width: 100%;
    object-fit: cover;
}

@media (max-width: 868px) {
    .shop-content-section{
        margin-bottom: 0px;
    }


    .shop-intro{
        margin-bottom: 0;
    }
    
    .product {
        list-style-type: none;
        width: 100%;
        margin: 0 auto;
    }
}