.swatchly-type-color {
    .swatchly-swatch {
        border-radius: 99px !important;
        min-height: 22px !important;
        min-width: 22px !important;
    }
}

.swatchly-type-label {
    .swatchly-swatch {
        min-width: 50px !important;
        border-radius: 5px !important;
    }
}

.variations {
    label {
        color: #3f2c75;
        font-size: 18px;
        font-weight: 700 !important;
    }
}

.woocommerce-product-details__short-description {
    p {
        color: #76757b;
        margin: 0;
    }
}

/* Product Brand */
.product-brand {
    margin-bottom: 0 !important;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;

    .brand-name {
        display: inline-block;
        color: #76757b;
        text-transform: uppercase;
    }
}

form.variations_form table.variations {
    margin-bottom: 0 !important;
}

/* Single Product Installment */
.single-product-installment {
    display: inline-block;
    margin-left: 12px;

    .installment {
        font-size: 16px;
        color: #d83764;
        font-weight: 600;
    }
}

/* Wrapper do preço no single product */
.woocommerce-variation-price,
.summary .price {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

/* Filters Sidebar */
.filters-sidebar {
    margin-bottom: 30px;
}

.active-filters-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}

.active-filter {
    background: #3f2c75;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.clear-filters {
    color: #dc3545;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;

    &:hover {
        text-decoration: underline;
    }
}

/* Accordion */
.filters-accordion {
    overflow: hidden;
}

.accordion-item {
    border-bottom: 1px solid #c3c3c3;

    &:last-child {
        border-bottom: none;
    }
}

.accordion-header {
    width: 100%;
    border: none;
    background: transparent;
    padding: 15px 0;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    font-weight: 600;
    color: #3f2c75;
    transition: background-color 0.3s;

    .accordion-icon {
        transition: transform 0.3s;
        color: #6c757d;
    }
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.active {
    .accordion-content {
        padding: 10px 0;
    }
}

.accordion-item.active {
    .accordion-content {
        max-height: 500px;
    }

    .accordion-header .accordion-icon {
        transform: rotate(180deg);
    }
}

/* Filter Forms */
.filter-list {
    list-style: none;
    padding: 0;

    label {
        display: flex;
        align-items: center;
        cursor: pointer;
        font-weight: normal;
        color: #3f2c75;
    }

    input[type='checkbox'] {
        margin-right: 8px;
    }
}

/* Price Filter */
.price-inputs {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;

    input {
        flex: 1;
        padding: 8px 12px;
        border: 1px solid #ced4da;
        border-radius: 4px;
        font-size: 14px;
    }

    span {
        color: #6c757d;
        font-weight: 500;
        white-space: nowrap;
    }
}

/* Color Filter */
.color-option {
    display: flex;
    align-items: center;
    cursor: pointer;
    border-radius: 6px;
    transition: background-color 0.2s;

    &:hover {
        background: #f8f9fa;
    }

    input[type='checkbox'] {
        margin-right: 8px;
    }
}

.color-swatch {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #dee2e6;
    margin-right: 8px;
    display: inline-block;
}

.color-name {
    font-size: 14px;
    color: #495057;
}

/* Size Filter */

.size-option {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 8px 12px;
    border: 1px solid #ced4da;
    border-radius: 6px;
    transition: all 0.2s;

    &:hover {
        border-color: #007cba;
        background: #f8f9fa;
    }

    input[type='checkbox'] {
        margin-right: 8px;
    }
}

.size-name {
    font-size: 14px;
    font-weight: 500;
    color: #495057;
}

/* Filter Submit Button */
.filter-submit {
    width: 100%;
    padding: 0em 3em 0em 3em;
    height: 50px;
    background: #efa61f;
    color: #fff;
    line-height: 22px;
    font-size: 20px;
    font-weight: 600;
    border: 2px dashed #fff;
    border-radius: 0.7rem;
}

/* Main Filter Submit Button */
.filters-submit-container {
    margin-top: 20px;
}

.filter-submit-main {
    width: 100%;
    padding: 0em 3em 0em 3em;
    height: 50px;
    background: #efa61f;
    color: #fff;
    line-height: 22px;
    font-size: 20px;
    font-weight: 600;
    border: 2px dashed #fff;
    border-radius: 0.7rem;

    &:hover {
        background: #005a87;
    }
}

.woocommerce-mini-cart__total {
    color: #3f2c75;
    font-weight: 600;
    margin: 1rem 0;
}

.wc-payment-rede-form-fields input {
    font-size: 16px !important;
    padding: 0 1rem !important;
}

.wishlist_table {
    padding: 0 !important;

    h3 {
        font-size: 16px !important;
    }

    th,
    td {
        background: transparent !important;
        border: 0 !important;
    }

    tr {
        border-bottom: 1px solid #c3c3c3;
    }

    img {
        border-radius: 4px !important;
    }
}

@media (max-width: 800px) {
    .wishlist_table .product-add-to-cart {
        display: none !important;
    }
}

.ct-media-container img {
    transition: transform 0.4s ease;
}

.ct-media-container:hover img {
    transform: scale(1.05); /* Ajuste o zoom aqui */
}
