/* Custom Shop Styles - Search Bar Fixes */

/* Fix search button positioning and centering */
.product__view--search__btn {
    position: absolute;
    right: 0;
    top: 0;
    border: 0;
    background: #00a99d; /* Use secondary color */
    color: #ffffff;
    height: 100%;
    width: 4rem;
    border-radius: 0 0.5rem 0.5rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: all 0.3s ease;
}

.product__view--search__btn:hover {
    background: #008f85; /* Darker shade on hover */
    color: #ffffff;
}

.product__view--search__btn--svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
}

/* Fix search input styling */
.product__view--search__input {
    width: 100%;
    height: 4rem;
    background: #ffffff;
    border-radius: 0.5rem;
    padding: 0 5rem 0 1.5rem;
    border: 1px solid #e7e7e7;
    font-size: 1.4rem;
    color: #333333;
    transition: all 0.3s ease;
}

.product__view--search__input:focus {
    border-color: #00a99d;
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 169, 157, 0.1);
}

.product__view--search__input::placeholder {
    color: #999999;
    font-size: 1.4rem;
}

/* Fix filter button styling */
.widget__filter--btn {
    border: 1px solid #e7e7e7;
    background: #ffffff;
    border-radius: 0.5rem;
    padding: 0.8rem 1.5rem;
    color: #333333;
    font-weight: 500;
    font-size: 1.4rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.widget__filter--btn:hover {
    border-color: #00a99d;
    color: #00a99d;
    background: #f8f9fa;
}

.widget__filter--btn__icon {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
}

.widget__filter--btn__text {
    font-weight: 500;
    font-size: 1.4rem;
    margin-left: 0;
}

/* Fix view mode buttons */
.product__grid--column__buttons--icons {
    border: 1px solid #e7e7e7;
    background: #ffffff;
    color: #666666;
    border-radius: 0.5rem;
    padding: 0.8rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 4rem;
    height: 4rem;
}

.product__grid--column__buttons--icons:hover {
    border-color: #00a99d;
    color: #00a99d;
    background: #f8f9fa;
}

.product__grid--column__buttons--icons.active {
    background: #00a99d;
    border-color: #00a99d;
    color: #ffffff;
}

/* Fix results count text */
.product__showing--count {
    color: #666666;
    font-size: 1.4rem;
    font-weight: 400;
}

/* Shop page loading spinner styling */
#products-container .spinner-border {
    color: var(--primary-color) !important;
}

/* Shop page loading state styling */
#products-container .text-center .spinner-border {
    color: var(--primary-color) !important;
    width: 3rem;
    height: 3rem;
}

/* Mobile specific fixes */
@media only screen and (max-width: 991px) {
    .product__view--search__form {
        width: 100%;
        max-width: 300px;
    }
    
    .product__view--search__input {
        font-size: 1.4rem;
    }
    
    .product__view--search__btn--svg {
        width: 28px;
        height: 28px;
    }
    
    .widget__filter--btn {
        padding: 0.7rem 1.2rem;
        font-size: 1.3rem;
    }
    
    .product__grid--column__buttons--icons {
        padding: 0.7rem;
        min-width: 3.5rem;
        height: 3.5rem;
    }
}

/* Ensure proper spacing in mobile layout */
@media only screen and (max-width: 767px) {
    .shop__header .d-lg-none .d-flex {
        gap: 1rem;
    }
    
    .product__view--search__form {
        flex: 1;
        max-width: none;
    }
    
    /* Mobile Layout Styling */
    .d-lg-none .shop__header {
        padding: 15px;
    }

    .d-lg-none .widget__filter--btn {
        background: white;
        border: 1px solid #e7e7e7;
        border-radius: 8px;
        padding: 10px 15px;
        font-weight: 500;
        transition: all 0.3s ease;
    }

    .d-lg-none .widget__filter--btn:hover {
        background: #f8f9fa;
        border-color: #00a99d;
        color: #00a99d;
    }

    .d-lg-none .product__view--search__form {
        background: white;
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }

    .d-lg-none .product__view--search__input {
        border: none !important;
        padding: 12px 15px;
        font-size: 16px;
        background: white;
    }

    .d-lg-none .product__view--search__input:focus {
        outline: none;
        box-shadow: none;
    }

    .d-lg-none .product__view--search__btn {
        background: #00a99d;
        border: none;
        padding: 12px 15px;
        color: white;
        transition: background 0.3s ease;
    }

    .d-lg-none .product__view--search__btn:hover {
        background: #008f85;
    }

    .d-lg-none .product__grid--column__buttons {
        gap: 5px;
    }

    .d-lg-none .product__grid--column__buttons--icons {
        background: white;
        border: 1px solid #e7e7e7;
        border-radius: 6px;
        padding: 8px 10px;
        transition: all 0.3s ease;
    }

    .d-lg-none .product__grid--column__buttons--icons.active {
        background: #00a99d;
        border-color: #00a99d;
        color: white;
    }

    .d-lg-none .product__showing--count {
        font-size: 14px;
        color: #666;
    }
}

/* Subcategory Tab Styles */
.subcategory-tabs {
    margin-bottom: 2rem;
}

.subcategory-tabs .nav-tabs {
    border-bottom: 2px solid #e7e7e7;
    gap: 0.5rem;
}

.subcategory-tabs .nav-tabs .nav-item {
    margin-bottom: 0;
}

.subcategory-tabs .nav-tabs .nav-link {
    border: none;
    background: transparent;
    color: #666666;
    font-weight: 500;
    font-size: 1.4rem;
    padding: 1rem 1.5rem;
    border-radius: 0.5rem 0.5rem 0 0;
    transition: all 0.3s ease;
    position: relative;
}

.subcategory-tabs .nav-tabs .nav-link:hover {
    color: #00a99d;
    background: rgba(0, 169, 157, 0.05);
    border-color: transparent;
}

.subcategory-tabs .nav-tabs .nav-link.active {
    color: #00a99d;
    background: #ffffff;
    border-color: #00a99d;
    border-bottom-color: #ffffff;
    font-weight: 600;
}

.subcategory-tabs .nav-tabs .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: #00a99d;
}

.subcategory-products {
    min-height: 200px;
}

.subcategory-products .spinner-border {
    color: #00a99d !important;
    width: 3rem;
    height: 3rem;
}

/* Mobile responsive tabs */
@media only screen and (max-width: 767px) {
    .subcategory-tabs {
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* IE and Edge */
    }
    
    .subcategory-tabs::-webkit-scrollbar {
        display: none; /* Chrome, Safari, Opera */
    }
    
    .subcategory-tabs .nav-tabs {
        flex-wrap: nowrap;
        gap: 0.25rem;
        min-width: max-content;
        padding-bottom: 5px;
    }
    
    .subcategory-tabs .nav-tabs .nav-link {
        font-size: 1.2rem;
        padding: 0.6rem 1rem;
        white-space: nowrap;
        min-width: max-content;
        text-align: center;
    }
    
    .subcategory-tabs .nav-tabs .nav-item {
        flex: 0 0 auto;
        min-width: 0;
    }
}

/* Pre-loading indicator */
.subcategory-tabs .nav-tabs .nav-link.loading {
    position: relative;
}

.subcategory-tabs .nav-tabs .nav-link.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 1rem;
    width: 1rem;
    height: 1rem;
    margin-top: -0.5rem;
    border: 2px solid #00a99d;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Instant switching feedback */
.subcategory-tabs .nav-tabs .nav-link.instant {
    transition: all 0.2s ease;
}

.subcategory-tabs .nav-tabs .nav-link.instant:hover {
    background: rgba(0, 169, 157, 0.1);
}

/* Gender Filter Styles */
.widget__gender--filter {
    padding: 0;
}

.gender__filter--item {
    margin-bottom: 1rem;
}

.gender__filter--item:last-child {
    margin-bottom: 0;
}

.gender__filter--input {
    display: none;
}

.gender__filter--label {
    cursor: pointer;
    padding: 0.8rem 1rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    background: #f8f9fa;
    width: 100%;
    justify-content: space-between;
}

.gender__filter--label:hover {
    background: #e9ecef;
    border-color: #00a99d;
}

.gender__filter--input:checked + .gender__filter--label {
    background: #00a99d;
    border-color: #00a99d;
    color: #ffffff;
}

.gender__filter--text {
    font-weight: 500;
    font-size: 1.4rem;
}

.gender__filter--count {
    font-size: 1.2rem;
    opacity: 0.8;
    font-weight: 400;
}

/* Mobile Gender Filter Styles */
.mobile-gender-filter {
    background: #ffffff;
    border-radius: 0.8rem;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 1.5rem;
}

.mobile-gender-filter-header {
    margin-bottom: 1rem;
}

.mobile-gender-filter-title {
    font-size: 1.6rem;
    font-weight: 600;
    color: #333333;
    margin: 0;
}

.mobile-gender-filter-options {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.mobile-gender-option {
    display: flex;
    align-items: center;
}

.mobile-gender-input {
    display: none;
}

.mobile-gender-label {
    cursor: pointer;
    padding: 1rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    border: 1px solid #e7e7e7;
    background: #ffffff;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-gender-label:hover {
    background: #f8f9fa;
    border-color: #00a99d;
}

.mobile-gender-input:checked + .mobile-gender-label {
    background: #00a99d;
    border-color: #00a99d;
    color: #ffffff;
}

.mobile-gender-text {
    font-weight: 500;
    font-size: 1.4rem;
}

.mobile-gender-count {
    font-size: 1.2rem;
    opacity: 0.8;
    font-weight: 400;
}

/* Responsive adjustments for gender filter */
@media only screen and (max-width: 767px) {
    .mobile-gender-filter {
        padding: 1.2rem;
    }
    
    .mobile-gender-filter-title {
        font-size: 1.5rem;
    }
    
    .mobile-gender-label {
        padding: 0.8rem;
    }
    
    .mobile-gender-text {
        font-size: 1.3rem;
    }
    
    .mobile-gender-count {
        font-size: 1.1rem;
    }
}

/* Fabric Details Tab Styles */
.fabric-separator {
    border: 1px solid #e0e0e0;
    margin: 30px 0;
    opacity: 0.6;
}

.product__tab--content__step .product__tab--content__title.h5 {
    color: #00a99d;
    font-weight: 600;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 8px;
    margin-bottom: 20px;
}

.product__tab--content__step .product__tab--content__title.h5:hover {
    border-bottom-color: #00a99d;
    transition: border-bottom-color 0.3s ease;
}

/* Fabric details content styling */
#fabrics .product__tab--content__step {
    background: #fafafa;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 30px;
    border-left: 4px solid #00a99d;
    transition: all 0.3s ease;
}

#fabrics .product__tab--content__step:hover {
    background: #f5f5f5;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

#fabrics .product__tab--content__step:last-child {
    margin-bottom: 0;
}

/* Fabric introduction styling */
#fabrics .product__tab--content__desc h4 {
    color: #333;
    font-weight: 600;
    margin-bottom: 12px;
}

#fabrics .product__tab--content__desc p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Fabric details list styling */
#fabrics .product__tab--content__list {
    margin-bottom: 12px;
    padding-left: 5px;
}

#fabrics .product__tab--content__list:last-child {
    margin-bottom: 0;
}

#fabrics .product__tab--content__list--icon {
    color: #00a99d;
    margin-right: 10px;
}

/* Responsive fabric details */
@media only screen and (max-width: 767px) {
    #fabrics .product__tab--content__step {
        padding: 20px;
        margin-bottom: 25px;
    }
    
    #fabrics .product__tab--content__title.h5 {
        font-size: 1.6rem;
    }
    
    #fabrics .product__tab--content__desc h4 {
        font-size: 1.4rem;
    }
    
    #fabrics .product__tab--content__desc p {
        font-size: 1.3rem;
    }
} 

/* Mobile Filter Sidebar Styles */
.offcanvas__filter {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
}

/* Desktop Filter Sidebar Styles */
@media only screen and (min-width: 992px) {
    .offcanvas__filter--inner {
        width: 400px;
        max-width: 400px;
    }
    
    .offcanvas__filter--content {
        padding: 30px;
    }
    
    .filter__section--title {
        font-size: 18px;
    }
    
    .filter__label {
        font-size: 16px;
        padding: 10px 0;
    }
    
    .filter__link {
        font-size: 16px;
        padding: 10px 0;
    }
    
    .filter__category--link {
        font-size: 16px;
    }
    
    .filter__subcategory--link {
        font-size: 14px;
        padding: 8px 0;
    }
    
    .price__range--input {
        padding: 12px 16px;
        font-size: 16px;
    }
    
    .color__label {
        font-size: 16px;
        padding: 10px 0;
    }
    
    .availability__label {
        font-size: 16px;
        padding: 10px 0;
    }
    
    .filter__apply--btn,
    .filter__clear--btn {
        padding: 15px 25px;
        font-size: 16px;
    }
}

.offcanvas__filter.active {
    left: 0;
    opacity: 1;
    visibility: visible;
}

.offcanvas__filter--inner {
    position: absolute;
    top: 0;
    left: 0;
    width: 75%;
    max-width: 280px;
    height: 100%;
    background: white;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.offcanvas__filter.active .offcanvas__filter--inner {
    transform: translateX(0);
}

.offcanvas__filter--header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    border-bottom: 1px solid #e0e0e0;
    background: white;
    position: sticky;
    top: 0;
    z-index: 10;
}

.offcanvas__filter--title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.offcanvas__filter--close__btn {
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.offcanvas__filter--close__btn:hover {
    background: #f5f5f5;
    color: #333;
}

.offcanvas__filter--content {
    padding: 15px 20px;
}

.filter__section {
    margin-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 15px;
}

.filter__section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.filter__section--header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    padding: 8px 0;
    margin-bottom: 12px;
}

.filter__section--title {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin: 0;
    text-transform: uppercase;
}

.filter__section--arrow {
    transition: transform 0.3s ease;
    color: #666;
}

.filter__section.active .filter__section--arrow {
    transform: rotate(180deg);
}

.filter__section--content {
    display: none;
    padding-top: 8px;
}

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

.filter__option {
    margin-bottom: 8px;
}

.filter__option:last-child {
    margin-bottom: 0;
}

.filter__input {
    display: none;
}

/* Custom checkbox styling */
.filter__label::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid #ddd;
    border-radius: 3px;
    margin-right: 8px;
    background: white;
    transition: all 0.3s ease;
}

.filter__input:checked + .filter__label::before {
    background: #00a99d;
    border-color: #00a99d;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='white' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z'/%3e%3c/svg%3e");
    background-size: 10px;
    background-position: center;
    background-repeat: no-repeat;
}

.filter__label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    padding: 4px 0;
    font-size: 13px;
    color: #666;
    transition: color 0.3s ease;
    position: relative;
}

.filter__label:hover {
    color: #00a99d;
}

.filter__input:checked + .filter__label {
    color: #00a99d;
    font-weight: 500;
}

.filter__text {
    flex: 1;
}

.filter__count {
    color: #999;
    font-size: 12px;
}

.filter__link {
    display: block;
    padding: 4px 0;
    color: #666;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s ease;
}

.filter__link:hover {
    color: #00a99d;
    text-decoration: none;
}

.filter__category {
    margin-bottom: 15px;
}

.filter__category--header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.filter__category--link {
    flex: 1;
    color: #666;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s ease;
}

.filter__category--link:hover {
    color: #00a99d;
    text-decoration: none;
}

.filter__category--toggle {
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    padding: 4px;
    transition: all 0.3s ease;
}

.filter__category--toggle:hover {
    color: #00a99d;
}

.filter__category--arrow {
    transition: transform 0.3s ease;
}

.filter__category.active .filter__category--arrow {
    transform: rotate(180deg);
}

.filter__subcategories {
    margin-top: 10px;
    padding-left: 15px;
    border-left: 2px solid #f0f0f0;
}

.filter__subcategory--link {
    display: block;
    padding: 3px 0;
    color: #999;
    text-decoration: none;
    font-size: 12px;
    transition: color 0.3s ease;
}

.filter__subcategory--link:hover {
    color: #00a99d;
    text-decoration: none;
}

.price__range {
    padding: 10px 0;
}

.price__range--inputs {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.price__range--input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 14px;
}

.price__range--separator {
    color: #999;
    font-weight: 500;
}

.price__range--slider {
    padding: 10px 0;
}

.price__slider {
    width: 100%;
    height: 4px;
    background: #e0e0e0;
    border-radius: 2px;
    outline: none;
    -webkit-appearance: none;
}

.price__slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    background: #00a99d;
    border-radius: 50%;
    cursor: pointer;
}

.price__slider::-moz-range-thumb {
    width: 18px;
    height: 18px;
    background: #00a99d;
    border-radius: 50%;
    cursor: pointer;
    border: none;
}

.color__options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.color__option {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.color__input {
    display: none;
}

.color__label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    padding: 4px 0;
    font-size: 13px;
    color: #666;
    transition: color 0.3s ease;
    width: 100%;
    position: relative;
}

.color__label::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid #ddd;
    border-radius: 3px;
    margin-right: 8px;
    background: white;
    transition: all 0.3s ease;
}

.color__input:checked + .color__label::before {
    background: #00a99d;
    border-color: #00a99d;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='white' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z'/%3e%3c/svg%3e");
    background-size: 10px;
    background-position: center;
    background-repeat: no-repeat;
}

.color__label:hover {
    color: #00a99d;
}

.color__input:checked + .color__label {
    color: #00a99d;
    font-weight: 500;
}

.color__name {
    flex: 1;
}

.color__count {
    color: #999;
    font-size: 12px;
}

.availability__options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.availability__option {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.availability__input {
    display: none;
}

.availability__label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    padding: 4px 0;
    font-size: 13px;
    color: #666;
    transition: color 0.3s ease;
    width: 100%;
    position: relative;
}

.availability__label::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid #ddd;
    border-radius: 3px;
    margin-right: 8px;
    background: white;
    transition: all 0.3s ease;
}

.availability__input:checked + .availability__label::before {
    background: #00a99d;
    border-color: #00a99d;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='white' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z'/%3e%3c/svg%3e");
    background-size: 10px;
    background-position: center;
    background-repeat: no-repeat;
}

.availability__label:hover {
    color: #00a99d;
}

.availability__input:checked + .availability__label {
    color: #00a99d;
    font-weight: 500;
}

.availability__text {
    flex: 1;
}

.availability__count {
    color: #999;
    font-size: 12px;
}

.offcanvas__filter--footer {
    position: sticky;
    bottom: 0;
    background: white;
    padding: 15px 20px;
    border-top: 1px solid #e0e0e0;
    display: flex;
    gap: 10px;
}

.filter__apply--btn {
    flex: 1;
    background: #00a99d;
    color: white;
    border: none;
    padding: 10px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease;
}

.filter__apply--btn:hover {
    background: #008f85;
}

.filter__clear--btn {
    flex: 1;
    background: #f5f5f5;
    color: #666;
    border: 1px solid #e0e0e0;
    padding: 10px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter__clear--btn:hover {
    background: #dc3545;
    color: #ffffff;
}

/* Product Details - Thumbnail Image Switching Styles */
.product__media--nav__items {
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    border-radius: 8px;
    overflow: hidden;
}

.product__media--nav__items:hover {
    border-color: #00a99d;
    transform: scale(1.05);
}

.product__media--nav__items.active {
    border-color: #00a99d;
    box-shadow: 0 0 0 2px rgba(0, 169, 157, 0.2);
    transform: scale(1.05);
}

.product__media--nav__items--img {
    transition: all 0.3s ease;
}

.product__media--nav__items.active .product__media--nav__items--img {
    opacity: 1;
}

.product__media--nav__items:not(.active) .product__media--nav__items--img {
    opacity: 0.7;
}

.product__media--nav__items:hover .product__media--nav__items--img {
    opacity: 1;
}

/* Additional styles for better thumbnail interaction */
.product__media--nav .swiper-slide {
    cursor: pointer;
    transition: all 0.3s ease;
}

.product__media--nav .swiper-slide:hover {
    transform: scale(1.05);
}

.product__media--nav .swiper-slide.active {
    border: 2px solid #00a99d;
    border-radius: 8px;
    box-shadow: 0 0 0 2px rgba(0, 169, 157, 0.2);
}

.product__media--nav .swiper-slide img {
    transition: all 0.3s ease;
}

.product__media--nav .swiper-slide.active img {
    opacity: 1;
}

.product__media--nav .swiper-slide:not(.active) img {
    opacity: 0.7;
}

.product__media--nav .swiper-slide:hover img {
    opacity: 1;
}