/* â•â•â• Products / Index â€” Shop Page â•â•â• */

.yq-shop {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding-top: 2rem;
}



/* â”€â”€ Category Pills â”€â”€ */
.yq-shop-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    overflow-x: auto;
    padding-bottom: 0.25rem;
}

.yq-shop-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    flex-shrink: 0;
    padding: 0.55rem 1.35rem;
    border-radius: 50px;
    font-size: 0.88rem;
    font-weight: 600;
    border: 1px solid var(--yq-border-sub);
    color: var(--yq-text);
    background: var(--yq-bg-elevated);
    transition: all var(--yq-ease);
    cursor: pointer;
    font-family: inherit;
}

    .yq-shop-pill:hover {
        border-color: var(--yq-gold);
        color: var(--yq-gold);
    }

    .yq-shop-pill.is-active {
        background: var(--yq-gold-grad);
        color: #111 !important;
        border-color: transparent;
        box-shadow: var(--yq-shadow-gold);
    }

/* â”€â”€ Toolbar â”€â”€ */
.yq-shop-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.yq-shop-toolbar__count {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--yq-text-soft);
    margin: 0;
}

.yq-shop-toolbar__actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.yq-shop-sort {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

    .yq-shop-sort label {
        display: flex;
        align-items: center;
        gap: 0.35rem;
        font-size: 0.85rem;
        font-weight: 600;
        color: var(--yq-text-soft);
        white-space: nowrap;
    }

        .yq-shop-sort label i {
            color: var(--yq-gold);
        }

.yq-shop-sort__select {
    appearance: none;
    padding-block: 0.55rem;
    padding-inline: 1rem 2.35rem;
    border: 1px solid var(--yq-border);
    border-radius: var(--yq-radius-sm);
    background: var(--yq-bg-elevated);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23b6b1a6' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 1rem center;
    background-size: 0.65rem auto;
    color: var(--yq-text);
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: border-color var(--yq-ease), box-shadow var(--yq-ease);
}

    .yq-shop-sort__select:focus {
        outline: none;
        border-color: var(--yq-gold-bright);
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.15);
    }

.yq-applied-filters {
    margin-block-end: 0.85rem;
}

.yq-shop-filter-toggle {
    display: none;
}

/* â”€â”€ Layout â”€â”€ */
.yq-shop-layout {
    display: grid;
    grid-template-columns: 295px 1fr;
    gap: 2.5rem;
    align-items: start;
}

/* â”€â”€ Filters Sidebar & Redesigned Component â”€â”€ */
.yq-shop-filters {
    position: sticky;
    top: 100px;
    padding: 1.5rem 1.25rem;
    border-radius: var(--yq-radius, 24px);
    background: var(--yq-bg-elevated);
    border: 1px solid var(--yq-border-sub);
    box-shadow: var(--yq-shadow);
    transition: all var(--yq-ease);
}

/* â”€â”€ Filter Header â”€â”€ */
.yq-filter-header {
    margin-bottom: 1.35rem;
    padding-bottom: 0.25rem;
}

.yq-filter-header__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.35rem;
}

.yq-filter-header__title {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin: 0;
}

.yq-filter-header__title i {
    font-size: 1.35rem;
    color: var(--yq-gold);
}

.yq-filter-header__title h3 {
    font-family: var(--yq-font-display);
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--yq-text);
    margin: 0;
    line-height: 1.25;
    letter-spacing: -0.01em;
}

.yq-filter-header__actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.yq-filter-clear-all {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.86rem;
    font-weight: 700;
    color: var(--yq-gold) !important;
    background: rgba(212, 175, 55, 0.06);
    border: 1px solid rgba(212, 175, 55, 0.18);
    padding: 0.35rem 0.75rem;
    cursor: pointer;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.25s ease;
}

.yq-filter-clear-all:hover {
    background: rgba(212, 175, 55, 0.15);
    border-color: var(--yq-gold);
    color: var(--yq-gold-bright, var(--yq-gold)) !important;
    transform: translateY(-1px);
}

.yq-filter-header__sub {
    font-size: 0.88rem;
    color: var(--yq-text-soft);
    font-weight: 500;
    line-height: 1.4;
    margin: 0.35rem 0 0;
}

.yq-shop-filters__close {
    display: none;
    border: none;
    background: transparent;
    color: var(--yq-text-soft);
    font-size: 1.2rem;
    padding: 0.4rem;
    border-radius: 8px;
    cursor: pointer;
    transition: color 0.2s ease, background 0.2s ease;
}

.yq-shop-filters__close:hover {
    color: var(--yq-text);
    background: rgba(255, 255, 255, 0.08);
}

/* â”€â”€ Filter Form & Cards â”€â”€ */
.yq-filter-form {
    display: flex;
    flex-direction: column;
    gap: 0.95rem;
}

.yq-filter-card {
    background: var(--yq-bg-input);
    border: 1px solid var(--yq-border-sub);
    border-radius: var(--yq-radius-sm, 16px);
    overflow: hidden;
    transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.yq-filter-card:hover {
    border-color: rgba(212, 175, 55, 0.35);
}

.yq-filter-card__header {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(1.75rem, 1fr) auto minmax(1.75rem, 1fr);
    align-items: center;
    padding: 0.95rem 1.15rem;
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: inherit;
    color: var(--yq-text);
    text-align: right;
    user-select: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.yq-filter-card__header:hover {
    background: rgba(212, 175, 55, 0.045);
}

.yq-filter-card__header:focus-visible {
    outline: 2px solid color-mix(in srgb, var(--yq-gold) 55%, transparent);
    outline-offset: -2px;
    background: rgba(212, 175, 55, 0.055);
}

.yq-filter-card__title {
    grid-column: 2;
    justify-self: center;
    min-width: 0;
    font-size: 0.98rem;
    font-weight: 800;
    color: var(--yq-text);
    text-align: center;
    letter-spacing: -0.01em;
    transition: color 0.2s ease;
}

.yq-filter-card__header:hover .yq-filter-card__title,
.yq-filter-card__header:focus-visible .yq-filter-card__title {
    color: var(--yq-gold);
}

.yq-filter-card__meta {
    grid-column: 3;
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.yq-filter-card__badge {
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--yq-text);
    background: rgba(212, 175, 55, 0.07);
    border: 1px solid rgba(184, 148, 46, 0.24);
    min-width: 1.75rem;
    padding: 0.15rem 0.45rem;
    border-radius: 20px;
    line-height: 1.2;
    text-align: center;
}

.theme-dark .yq-filter-card__badge,
.dark-mode .yq-filter-card__badge,
html[data-theme="dark"] .yq-filter-card__badge {
    color: var(--yq-gold-bright, var(--yq-gold));
    background: rgba(212, 175, 55, 0.1);
    border-color: rgba(212, 175, 55, 0.3);
}

.yq-filter-card__arrow {
    display: inline-block;
    width: 0.5rem;
    height: 0.5rem;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    color: var(--yq-gold);
    transform: translateY(-20%) rotate(45deg); /* Collapsed: points DOWN */
    transition: transform 0.25s ease, color 0.2s ease;
}

.yq-filter-card:not(.is-collapsed) .yq-filter-card__arrow {
    transform: translateY(20%) rotate(225deg); /* Expanded: points UP */
}

.yq-filter-card__body {
    padding: 0 1.15rem 1.05rem;
    display: block;
}

.theme-dark .yq-filter-card__arrow,
.dark-mode .yq-filter-card__arrow,
html[data-theme="dark"] .yq-filter-card__arrow {
    color: var(--yq-gold-bright, var(--yq-gold));
}

.yq-filter-card__header:hover .yq-filter-card__arrow,
.yq-filter-card__header:focus-visible .yq-filter-card__arrow {
    color: var(--yq-gold);
}


.yq-filter-card.is-collapsed .yq-filter-card__body {
    display: none;
}

/* â”€â”€ Filter Grid & Options â”€â”€ */
.yq-filter-grid {
    display: grid;
    gap: 0.5rem 0.6rem;
    align-items: start;
}

.yq-filter-grid--2col {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.yq-filter-grid--3col {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.35rem;
}

.yq-filter-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.5rem 0.55rem;
    min-height: 38px;
    height: auto;
    border-radius: 10px;
    border: 1px solid transparent;
    cursor: pointer;
    user-select: none;
    transition: all 0.2s ease;
    margin: 0;
}

.yq-filter-item--radio {
    align-items: center;
    min-height: 34px;
    padding: 0.3rem 0.25rem;
    gap: 0.3rem;
}

.yq-filter-item--radio .yq-control-label {
    font-size: 0.88rem;
    line-height: 1.2;
}

.yq-filter-item--radio .yq-control-radio {
    width: 17px;
    height: 17px;
}

.yq-filter-item:hover {
    background: rgba(212, 175, 55, 0.045);
    border-color: rgba(212, 175, 55, 0.22);
}

.yq-filter-item.is-selected {
    background: rgba(212, 175, 55, 0.03);
    border-color: rgba(184, 148, 46, 0.38);
}

.theme-dark .yq-filter-item.is-selected,
.dark-mode .yq-filter-item.is-selected,
html[data-theme="dark"] .yq-filter-item.is-selected {
    background: rgba(212, 175, 55, 0.05);
    border-color: rgba(212, 175, 55, 0.38);
}

.yq-filter-item:has(.yq-control-input:disabled) {
    cursor: not-allowed;
    opacity: 0.65;
    background: transparent;
    border-color: transparent;
}

.yq-filter-item:has(.yq-control-input:disabled) .yq-control-label {
    color: var(--yq-text-soft);
}

.yq-filter-item:has(.yq-control-input:disabled) :is(.yq-control-box, .yq-control-radio) {
    border-color: var(--yq-text-soft);
    box-shadow: none;
}

.yq-control-input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

/* â”€â”€ Custom Checkbox Box â”€â”€ */
.yq-control-box {
    width: 19px;
    height: 19px;
    flex-shrink: 0;
    margin-top: 2px;
    border: 1.5px solid var(--yq-text-soft);
    border-radius: 5px;
    background: transparent;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.yq-filter-item:hover .yq-control-box {
    border-color: var(--yq-gold);
}

.yq-control-input:checked ~ .yq-control-box,
.yq-filter-item.is-selected .yq-control-box {
    background: var(--yq-gold);
    border-color: var(--yq-gold);
    box-shadow: 0 0 8px rgba(212, 175, 55, 0.4);
}

.yq-control-input:checked ~ .yq-control-box::after,
.yq-filter-item.is-selected .yq-control-box::after {
    content: '';
    width: 5.5px;
    height: 9.5px;
    border: solid #111111;
    border-width: 0 2.2px 2.2px 0;
    transform: rotate(45deg);
    margin-top: -2px;
}

/* â”€â”€ Custom Radio Circle â”€â”€ */
.yq-control-radio {
    width: 19px;
    height: 19px;
    flex-shrink: 0;
    border: 1.5px solid var(--yq-text-soft);
    border-radius: 50%;
    background: transparent;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.yq-filter-item:hover .yq-control-radio {
    border-color: var(--yq-gold);
}

.yq-control-input:checked ~ .yq-control-radio,
.yq-filter-item.is-selected .yq-control-radio {
    border-color: var(--yq-gold);
    background: transparent;
    box-shadow: 0 0 8px rgba(212, 175, 55, 0.4);
}

.yq-control-input:checked ~ .yq-control-radio::after,
.yq-filter-item.is-selected .yq-control-radio::after {
    content: '';
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--yq-gold);
}

.yq-filter-item--radio .yq-control-input:checked ~ .yq-control-radio::after,
.yq-filter-item--radio.is-selected .yq-control-radio::after {
    width: 7px;
    height: 7px;
}

/* â”€â”€ Control Label (Complete Text Visibility & Natural Wrapping) â”€â”€ */
.yq-control-label {
    flex: 1;
    font-family: var(--yq-font-body);
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--yq-text);
    line-height: 1.38;
    white-space: normal;
    word-break: normal;
    overflow-wrap: break-word;
    text-align: right;
    transition: color 0.2s ease, font-weight 0.2s ease;
}

.yq-filter-item:hover .yq-control-label {
    color: var(--yq-text);
}

.yq-filter-item.is-selected .yq-control-label,
.yq-control-input:checked ~ .yq-control-label {
    font-weight: 700;
    color: var(--yq-text);
}

.theme-dark .yq-filter-item.is-selected .yq-control-label,
.theme-dark .yq-control-input:checked ~ .yq-control-label,
.dark-mode .yq-filter-item.is-selected .yq-control-label,
.dark-mode .yq-control-input:checked ~ .yq-control-label,
html[data-theme="dark"] .yq-filter-item.is-selected .yq-control-label,
html[data-theme="dark"] .yq-control-input:checked ~ .yq-control-label {
    color: var(--yq-gold-bright, var(--yq-gold));
}

/* â”€â”€ Show More Button â”€â”€ */
.yq-filter-more-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    font-size: 0.86rem;
    font-weight: 700;
    color: var(--yq-gold);
    background: rgba(212, 175, 55, 0.05);
    border: 1px dashed rgba(212, 175, 55, 0.25);
    border-radius: 8px;
    padding: 0.45rem 0.5rem;
    margin-top: 0.6rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.yq-filter-more-btn:hover {
    background: rgba(212, 175, 55, 0.12);
    border-color: var(--yq-gold);
    color: var(--yq-gold-bright, var(--yq-gold));
}

.yq-filter-more-btn i {
    font-size: 0.8rem;
    transition: transform 0.25s ease;
}

.yq-filter-more-btn.is-expanded i {
    transform: rotate(180deg);
}

/* â”€â”€ Subgroup for Retail Sizes â”€â”€ */
.yq-filter-subgroup {
    margin-top: 0.85rem;
    padding-top: 0.85rem;
    border-top: 1px dashed var(--yq-border-sub);
}

.yq-filter-subgroup__label {
    display: block;
    font-size: 0.82rem;
    font-weight: 800;
    color: var(--yq-gold);
    margin-bottom: 0.5rem;
}

/* â”€â”€ Price Range Section â”€â”€ */
.yq-price-inputs-row {
    display: flex;
    align-items: flex-end;
    gap: 0.6rem;
}

.yq-price-field {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.yq-price-label {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--yq-text-soft);
    margin: 0;
}

.yq-price-input-wrap {
    position: relative;
    width: 100%;
}

.yq-price-input {
    width: 100%;
    height: 44px;
    padding: 0.45rem 0.75rem;
    border-radius: var(--yq-radius-sm, 10px);
    border: 1px solid var(--yq-border);
    background: var(--yq-bg-elevated);
    color: var(--yq-text);
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 700;
    text-align: center;
    letter-spacing: 0.02em;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.yq-price-input:focus {
    outline: none;
    border-color: var(--yq-gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.18);
}

.yq-price-separator {
    padding-bottom: 0.75rem;
    color: var(--yq-text-soft);
    font-weight: 800;
    font-size: 1.2rem;
    user-select: none;
}

.yq-price-currency {
    text-align: center;
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--yq-text-soft);
    margin-top: 0.6rem;
    letter-spacing: 0.02em;
}

/* â”€â”€ Bottom Actions â”€â”€ */
.yq-filter-footer {
    position: sticky;
    bottom: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
    gap: 0.5rem;
    margin-top: 0.75rem;
    padding: 0.6rem 0;
    background: var(--yq-bg-elevated);
    border-top: 1px solid var(--yq-border-sub);
}

.yq-filter-btn-reset {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    min-height: 42px;
    padding: 0.55rem 0.5rem;
    border-radius: var(--yq-radius-sm, 12px);
    border: 1.5px solid var(--yq-border);
    color: var(--yq-text) !important;
    background: transparent;
    font-size: 0.86rem;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    transition: all 0.2s ease;
    cursor: pointer;
    font-family: inherit;
}

.yq-filter-btn-reset:hover:not(:disabled) {
    border-color: var(--yq-gold);
    color: var(--yq-gold) !important;
    background: rgba(212, 175, 55, 0.08);
}

.yq-filter-btn-submit {
    flex: 1.15 1 0;
    width: auto;
    min-width: 0;
    min-height: 42px;
    padding: 0.55rem 0.5rem;
    border-radius: var(--yq-radius-sm, 12px);
    border: none;
    background: var(--yq-btn-gold-grad, var(--yq-gold-grad));
    color: #111111 !important;
    font-size: 0.9rem;
    font-weight: 800;
    line-height: 1.2;
    white-space: nowrap;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    letter-spacing: 0.01em;
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.18);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
    font-family: inherit;
}

.yq-filter-btn-submit:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.25);
}

.yq-filter-footer button:disabled {
    opacity: 0.62;
    cursor: not-allowed;
    filter: saturate(0.55);
    box-shadow: none;
    transform: none;
}

/* â”€â”€ Product Grid â”€â”€ */
.yq-shop-grid {
    --bs-gutter-x: 1rem;
    --bs-gutter-y: 1rem;
}

.yq-shop-grid .yq-pcard__name {
    min-height: 2.8em;
}

/* â”€â”€ Products card action â”€â”€ */
.yq-shop .yq-pcard__action-add:not(:disabled) {
    background: linear-gradient(135deg, #F0DB98 0%, #D8B95D 50%, #BE9B3F 100%);
    color: #111;
    border-color: transparent;
    box-shadow: var(--yq-shadow-gold);
}

.yq-shop .yq-pcard__action-add:not(:disabled):hover {
    opacity: 1;
    filter: brightness(1.05);
    box-shadow: var(--yq-shadow-gold);
}

.yq-shop .yq-pcard__action-add:not(:disabled):focus-visible {
    opacity: 1;
    outline: 3px solid color-mix(in srgb, var(--yq-gold-bright) 60%, transparent);
    outline-offset: 3px;
}

.yq-shop .yq-pcard__action-add:not(:disabled):active {
    opacity: 1;
    filter: brightness(.98);
    box-shadow: var(--yq-shadow-gold);
}

.theme-dark .yq-shop .yq-pcard__action-add:not(:disabled),
.dark-mode .yq-shop .yq-pcard__action-add:not(:disabled),
html[data-theme="dark"] .yq-shop .yq-pcard__action-add:not(:disabled) {
    background: linear-gradient(135deg, #E6C87C 0%, #D0AF54 50%, #A98A3C 100%);
    color: #111;
    border-color: transparent;
}

/* â”€â”€ Server pager â”€â”€ */
.yq-shop-pager {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    margin-top: 2.5rem;
}

.yq-shop-pager__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    height: 2.5rem;
    padding-inline: .65rem;
    border: 1px solid var(--yq-border);
    border-radius: 999px;
    background: var(--yq-bg-elevated);
    color: var(--yq-text);
    font-weight: 800;
    text-decoration: none;
}

.yq-shop-pager__link:hover,
.yq-shop-pager__link:focus-visible {
    border-color: var(--yq-gold);
    color: var(--yq-gold-dark);
}

.yq-shop-pager__link.is-active {
    border-color: transparent;
    background: linear-gradient(135deg, #F0DB98 0%, #D8B95D 50%, #BE9B3F 100%);
    color: #111;
    box-shadow: var(--yq-shadow-gold);
}

.yq-shop-pager__link.is-active:hover,
.yq-shop-pager__link.is-active:focus-visible {
    border-color: transparent;
    color: #111;
    box-shadow: var(--yq-shadow-gold);
}

.yq-shop-pager__link.is-active:hover {
    filter: brightness(1.05);
}

.yq-shop-pager__link.is-active:focus-visible {
    outline: 3px solid color-mix(in srgb, var(--yq-gold-bright) 60%, transparent);
    outline-offset: 3px;
}

.theme-dark .yq-shop-pager__link.is-active,
.dark-mode .yq-shop-pager__link.is-active,
html[data-theme="dark"] .yq-shop-pager__link.is-active {
    border-color: transparent;
    background: linear-gradient(135deg, #E6C87C 0%, #D0AF54 50%, #A98A3C 100%);
    color: #111;
}

.yq-shop-pager__link[aria-disabled="true"] {
    pointer-events: none;
    opacity: .45;
}

/* â”€â”€ Empty State â”€â”€ */
.yq-shop-empty {
    padding: 5rem 2rem;
}

.yq-shop-empty__title {
    font-family: var(--yq-font-display);
    font-size: 1.4rem;
    color: var(--yq-text);
    margin: 0.5rem 0 0.75rem;
}

/* â”€â”€ Responsive â”€â”€ */
@media (max-width: 991.98px) {
    .yq-shop {
        gap: 1.25rem;
        padding-top: 1rem;
    }

    .yq-shop-layout {
        grid-template-columns: 1fr;
    }

    .yq-shop-filter-toggle {
        display: inline-flex;
    }

    .yq-shop-filters {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: min(400px, 94vw);
        max-width: none;
        padding: 1.35rem 1rem;
        z-index: 1100;
        border-radius: 0;
        overflow-y: auto;
        overscroll-behavior: contain;
        transform: translateX(100%);
        opacity: 0;
        visibility: hidden;
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.6);
        transition: transform var(--yq-ease), opacity var(--yq-ease), visibility 0s linear 0.3s;
    }

        .yq-shop-filters.is-open {
            transform: translateX(0);
            opacity: 1;
            visibility: visible;
            transition: transform var(--yq-ease), opacity var(--yq-ease), visibility 0s;
        }

    html[data-yq-drawer-open] body {
        overflow: hidden;
    }

    .yq-shop-filters__close {
        display: inline-flex;
    }

    .yq-filter-footer {
        padding: 0.7rem 0;
    }

    .yq-filter-btn-reset,
    .yq-filter-btn-submit {
        min-height: 48px;
        padding: 0.65rem 0.5rem;
    }

    .yq-filter-item--radio {
        min-height: 40px;
        padding: 0.4rem 0.3rem;
    }
}

@media (max-width: 767.98px) {
    .yq-shop-toolbar {
        flex-direction: column;
        align-items: stretch;
        gap: 0.45rem;
    }

    .yq-shop-toolbar__count {
        font-size: 0.82rem;
        font-weight: 600;
        color: var(--yq-text-soft);
        margin: 0;
        padding-inline: 0.25rem;
    }

    .yq-shop-toolbar__actions {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        width: 100%;
    }

    .yq-shop-sort {
        flex: 1 1 0;
        min-width: 0;
        position: relative;
        display: flex;
        align-items: center;
    }

    .yq-shop-sort label {
        position: absolute;
        right: 0.75rem;
        top: 50%;
        transform: translateY(-50%);
        margin: 0;
        pointer-events: none;
        z-index: 2;
        display: flex;
        align-items: center;
        font-size: 0;
        color: var(--yq-gold);
    }

    .yq-shop-sort label i {
        font-size: 0.95rem;
    }

    .yq-shop-sort__select {
        width: 100%;
        height: 44px;
        min-height: 44px;
        border-radius: 50px;
        border: 1px solid var(--yq-border);
        background-color: var(--yq-bg-elevated);
        color: var(--yq-text);
        font-size: 0.84rem;
        font-weight: 600;
        padding-block: 0;
        padding-right: 2rem;
        padding-left: 1.6rem;
        background-position: left 0.7rem center;
        background-size: 0.55rem auto;
        text-overflow: ellipsis;
        white-space: nowrap;
        overflow: hidden;
    }

    .yq-shop-sort__select:focus {
        border-color: var(--yq-gold);
        box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
    }

    .yq-shop-filter-toggle {
        flex: 1 1 0;
        min-width: 0;
        height: 44px;
        min-height: 44px;
        border-radius: 50px;
        border: 1px solid var(--yq-border);
        background: var(--yq-bg-elevated);
        color: var(--yq-text) !important;
        font-size: 0.84rem;
        font-weight: 600;
        padding: 0 0.75rem;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0.4rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        box-shadow: none;
        transform: none;
        transition: border-color var(--yq-ease), color var(--yq-ease), background var(--yq-ease);
    }

    .yq-shop-filter-toggle i {
        color: var(--yq-gold);
        font-size: 0.9rem;
        flex-shrink: 0;
    }

    .yq-shop-filter-toggle:hover,
    .yq-shop-filter-toggle:focus-visible {
        border-color: var(--yq-gold);
        color: var(--yq-gold) !important;
        background: var(--yq-bg-elevated);
        transform: none;
        box-shadow: none;
    }

    .yq-shop-filter-toggle.is-active,
    .yq-shop-filter-toggle:has(.yq-shop-filter-badge) {
        border-color: var(--yq-gold);
    }

    .yq-shop-filter-badge {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 18px;
        height: 18px;
        padding: 0 5px;
        border-radius: 999px;
        background: var(--yq-gold);
        color: #111;
        font-size: 0.72rem;
        font-weight: 800;
        line-height: 1;
        flex-shrink: 0;
    }

    .yq-shop-header__row {
        flex-direction: column;
        align-items: flex-start;
    }

    .yq-recent-searches {
        flex-wrap: nowrap;
        gap: 0.6rem;
        overflow: hidden;
    }

    .yq-recent-searches__label {
        flex-shrink: 0;
        font-size: 0.78rem;
        gap: 0.35rem;
    }

    .yq-recent-searches__list {
        display: flex;
        flex-wrap: nowrap;
        gap: 0.4rem;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        flex: 1 1 auto;
        min-width: 0;
        padding-block: 2px;
    }

    .yq-recent-searches__list::-webkit-scrollbar {
        display: none;
    }

    .yq-recent-search-chip {
        flex-shrink: 0;
        white-space: nowrap;
        font-size: 0.78rem;
        padding: 0.35rem 0.75rem;
    }
}


/* â”€â”€ Recent Searches â”€â”€ */
.yq-recent-searches {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.yq-recent-searches__label {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--yq-text-soft);
    white-space: nowrap;
}

    .yq-recent-searches__label i {
        color: var(--yq-gold);
    }

.yq-recent-searches__list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.yq-recent-search-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--yq-text);
    padding: 0.4rem 0.9rem;
    border-radius: 50px;
    border: 1px solid var(--yq-border-sub);
    background: var(--yq-bg-elevated);
    transition: all var(--yq-ease);
}

    .yq-recent-search-chip:hover {
        border-color: var(--yq-gold);
        color: var(--yq-gold);
    }

    .yq-recent-search-chip i {
        font-size: 0.7rem;
        color: var(--yq-text-soft);
        opacity: 0.7;
    }

/* â”€â”€ Search Empty State â”€â”€ */
.yq-search-empty {
    padding: 5rem 2rem;
}

.yq-search-empty__categories {
    margin: 1.5rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.9rem;
}

    .yq-search-empty__categories span {
        font-size: 0.85rem;
        color: var(--yq-text-soft);
        font-weight: 600;
    }

.yq-search-empty__pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
}

/* â”€â”€ Responsive â”€â”€ */
@media (max-width: 575.98px) {
    .yq-shop {
        gap: 0.85rem;
        padding-top: 0.5rem;
    }

    .yq-shop-grid {
        --bs-gutter-x: 0.65rem;
        --bs-gutter-y: 0.65rem;
    }

    .yq-shop-pills {
        flex-wrap: nowrap;
        margin-inline: -1rem;
        padding-inline: 1rem;
    }

    .yq-shop-toolbar__actions {
        gap: 0.45rem;
    }

    .yq-shop-sort__select {
        font-size: 0.8rem;
        padding-right: 1.85rem;
        padding-left: 1.4rem;
    }

    .yq-shop-filter-toggle {
        font-size: 0.8rem;
        padding: 0 0.5rem;
        gap: 0.3rem;
    }


}

/* â”€â”€ Product Status (Availability) Single-Line Overrides â”€â”€ */
[data-filter-card="availability"] .yq-filter-grid--3col {
    grid-template-columns: auto auto auto;
    justify-content: space-between;
    gap: 0.2rem;
}

[data-filter-card="availability"] .yq-filter-item {
    padding-inline: 0.15rem;
    gap: 0.25rem;
}

[data-filter-card="availability"] .yq-control-label {
    white-space: nowrap;
}

/* â”€â”€ Category & Manufacturer Compact Horizontal Spacing â”€â”€ */
[data-filter-card="category"] .yq-filter-grid--2col,
[data-filter-card="brand"] .yq-filter-grid--2col {
    gap: 0.5rem 0.25rem;
    align-items: center;
}

[data-filter-card="category"] .yq-filter-item,
[data-filter-card="brand"] .yq-filter-item {
    padding-inline: 0.25rem;
    gap: 0.25rem;
}
