:root {
    --main-color: var(--secondary-color);
    --gold: #d4af37;
    --bg-light: #f8f9f8;
    --border: #e8e8e8;
    --bt-green: var(--secondary-color);
    --bt-gold: #d4af37;
    --bt-soft: #f7f7f7;
    --bt-radius: 18px;
}

.applied-filters-widget {
    background: #ffffff;
    border: 1px solid #e8e8e8;
    border-radius: 14px;
    padding: 18px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
}

.widget-title {
    color: var(--secondary-color);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    border-bottom: 2px solid #d4af37;
    display: inline-block;
    padding-bottom: 4px;
}

.filter-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    max-height: 150px;
    overflow-y: auto;
}

.filter-tag {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #f4fdfc;
    border: 1px solid #cce0dd;
    color: var(--secondary-color);
    border-radius: 20px;
    padding: 6px 12px;
    font-size: 14px;
    transition: all .2s ease;
    cursor: pointer;
    white-space: nowrap;
}

.filter-tag:hover {
    background: var(--secondary-color);
    color: #fff;
    border-color: var(--secondary-color);
}

.filter-tag .label {
    color: #d4af37;
    font-weight: 600;
}

.filter-tag span {
    font-size: 13px;
    opacity: 0.8;
}

.no-filters {
    color: #888;
    font-size: 14px;
    margin-top: 6px;
}

.filter-input {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 10px 14px;
    font-size: 14px;
    outline: none;
    transition: 0.25s;
    background: var(--bg-light);
}

.filter-select {
    width: 100%;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 10px 12px 10px 14px;
    font-size: 14px;
    outline: none;
    background-color: var(--bg-light);
    color: var(--main-color);
    transition: 0.25s ease;
    cursor: pointer;
}

.filter-input:focus,
.filter-select:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.25);
}


.filter-title {
    color: var(--main-color);
    font-weight: 700;
    font-size: 1.1rem;
    border-bottom: 2px solid var(--gold);
    display: inline-block;
    padding-bottom: 4px;
    margin-bottom: 14px;
}

.select-wrapper {
    position: relative;
    width: 100%;
}

.select-wrapper::after {
    content: "";
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    pointer-events: none;
    background-repeat: no-repeat;
    background-size: 24px;
    background-position: center;
    background-image: url("data:image/svg+xml,%3Csvg width='24px' height='24px' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath opacity='0.1' d='M3 12C3 4.5885 4.5885 3 12 3C19.4115 3 21 4.5885 21 12C21 19.4115 19.4115 21 12 21C4.5885 21 3 19.4115 3 12Z' fill='%23323232'/%3E%3Cpath d='M3 12C3 4.5885 4.5885 3 12 3C19.4115 3 21 4.5885 21 12C21 19.4115 19.4115 21 12 21C4.5885 21 3 19.4115 3 12Z' stroke='%23323232' stroke-width='2'/%3E%3Cpath d='M9 11L11.6002 13.6002V13.6002C11.821 13.821 12.179 13.821 12.3998 13.6002V13.6002L15 11' stroke='%23323232' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* small rotation animation on focus */
.filter-select:focus + .select-wrapper::after,
.select-wrapper:has(.filter-select:focus)::after {
    transform: translateY(-50%) rotate(180deg);
}


@media (max-width: 768px) {
    .filter-tags {
        overflow-x: auto;
        flex-wrap: nowrap;
        white-space: nowrap;
    }

    .filter-tag {
        font-size: 13px;
        padding: 5px 10px;
    }

    .filter-widget {
        padding: 16px;
    }

    .filter-btn {
        font-size: 13px;
        padding: 8px 12px;
    }

    .filter-input, .filter-select {
        font-size: 13px;
    }

}


.category-chooser__header {
    text-align: center;
    margin-bottom: 16px;
}

.category-chooser__title {
    margin: 0;
    font-size: 3.4rem;
    font-weight: 900;
    color: var(--main-color);
}

.category-chooser__subtitle {
    margin: 4px 0 0;
    font-size: 1.5rem;
    color: #7a7a7a;
}


.category-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: var(--bt-radius);
    border: 1.5px solid transparent;
    padding: 18px 14px;
    text-align: center;
    transition: all 0.35s ease;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.category-box::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(130deg, rgba(255, 215, 0, 0.15), transparent 70%);
    transform: rotate(25deg);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.category-box:hover::before {
    opacity: 1;
}

.category-box__image {
    width: 120px;
    height: 120px;
    border-radius: var(--bt-radius);
    overflow: hidden;
    background: var(--bt-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-box__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
}

.category-box:hover .category-box__image {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.25);
}

.category-box__title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--bt-green);
    transition: color 0.25s ease;
}

.category-box:hover .category-box__title {
    color: var(--bt-gold);
}

.category-box.active {
    border-color: var(--bt-gold);
    background: linear-gradient(180deg, #fffdf4, #fff);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
}

.category-box.active .category-box__title {
    color: var(--bt-gold);
}

.category-filter-list {
    margin: 0;
    padding: 0;
}

.category-filter-item {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 6px 0;
    font-weight: 500;
    color: #333;
    transition: color 0.25s ease;
}

.category-filter-item input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #d4af37;
    cursor: pointer;
}

.category-filter-item:hover span {
    color: var(--gold, #d4af37);
}

@media (max-width: 768px) {
    .category-box {
        padding: 14px 10px;
    }

    .category-box__image {
        width: 90px;
        height: 90px;
    }
}



/* Wrapper */
.pretty-checkbox {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    background: #ffffff;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid #e6e6e6;
    transition: all .25s ease;
    position: relative;
    box-shadow: 0 0 0 rgba(0,0,0,0);
}

.pretty-checkbox:hover {
    border-color: var(--secondary-color);
    box-shadow: 0 4px 14px rgba(0, 70, 80, 0.08);
}

/* Hide default checkbox */
.pretty-checkbox input {
    display: none;
}

/* Checkbox shape */
.pretty-checkmark {
    width: 22px;
    height: 22px;
    background: #fff;
    border-radius: 6px;
    border: 2px solid #bbb;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .25s ease;
    position: relative;
}

/* Checked style */
.pretty-checkbox input:checked + .pretty-checkmark {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: scale(1.05);
    box-shadow: 0 0 10px rgba(0, 70, 80, 0.3);
}

/* Tick Animation */
.pretty-checkmark::after {
    content: "";
    width: 10px;
    height: 6px;
    border-left: 3px solid transparent;
    border-bottom: 3px solid transparent;
    transform: rotate(-45deg);
    opacity: 0;
    transition: all .25s ease;
}

/* Show tick */
.pretty-checkbox input:checked + .pretty-checkmark::after {
    border-left: 3px solid white;
    border-bottom: 3px solid white;
    opacity: 1;
}

/* Label text */
.pretty-label {
    font-size: 15px;
    font-weight: 600;
    color: #2c2c2c;
}

/* ===== Empty State (No products) ===== */
.shop-empty-state{
    width: 100%;
    min-height: 320px;
    padding: 28px 16px;
    margin: 8px auto 24px;
    border: 1px dashed rgba(0,70,80,0.25);
    border-radius: 18px;
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.04);
}

.shop-empty-state__img{
    width: min(320px, 90%);
    height: auto;
    object-fit: contain;
    display: block;
    margin-bottom: 6px;
}

.shop-empty-state__title{
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
}

.shop-empty-state__text{
    max-width: 520px;
    font-size: 14px;
    line-height: 1.9;
    color: #475569;
    margin: 0 auto;
    padding: 0 6px;
}

.shop-empty-state__actions{
    margin-top: 8px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.shop-empty-state__btn{
    padding: 9px 16px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
}

/* Mobile adjustments */
@media (max-width: 768px){
    .shop-empty-state{
        min-height: 260px;
        padding: 22px 12px;
        border-radius: 14px;
    }
    .shop-empty-state__title{
        font-size: 16px;
    }
    .shop-empty-state__text{
        font-size: 13px;
    }
}
