.ahura-shop-wrap {
    color: var(--ahura-text);
}

.ahura-shop-noresult {
    padding: 30px;
    text-align: center;
    background: #fff3cd;
    border-radius: 12px;
    color: #664d03;
    font-size: 13px;
}

.ahura-search-head {
    margin-bottom: 24px;
}

.ahura-search-title {
    margin: 0 0 6px;
    font-size: 22px;
    font-weight: 800;
}

.ahura-search-sub {
    margin: 0 0 16px;
    font-size: 13px;
    color: rgba(var(--ahura-text-rgb), .6);
}

.ahura-searchbar {
    display: flex;
    gap: 8px;
    max-width: 640px;
}

.ahura-searchbar input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid #e3e8ef;
    border-radius: 12px;
    font-size: 13px;
    outline: none;
    background: var(--ahura-background);
}

.ahura-searchbar input:focus {
    border-color: var(--ahura-primary);
}

.ahura-searchbar button {
    width: 46px;
    height: 46px;
    flex: none;
    border: none;
    border-radius: 12px;
    background-color: var(--ahura-primary);
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.ahura-searchbar button svg {
    width: 20px;
    height: 20px;
}

.ahura-shop-subcats {
    margin-bottom: 26px;
}

.ahura-shop-subcats-title {
    margin: 0 0 16px;
    font-size: 18px;
    font-weight: 800;
}

.ahura-shop-subcats-track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 10px;
}

.ahura-shop-subcat {
    flex: 0 0 160px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 18px 12px;
    border-radius: 16px;
    background-color: var(--ahura-background);
    box-shadow: 0 6px 24px rgba(138, 27, 227, .06);
    text-align: center;
}

.ahura-shop-subcat:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(138, 27, 227, .12);
}

.ahura-shop-subcat-img {
    display: inline-flex;
    width: 80px;
    height: 80px;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background-color: rgba(var(--ahura-secondary-rgb), .06);
    overflow: hidden;
}

.ahura-shop-subcat-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.ahura-shop-subcat strong {
    font-size: 13px;
    font-weight: 700;
}

.ahura-shop-subcat small {
    font-size: 11px;
    color: rgba(var(--ahura-text-rgb), .55);
}

.ahura-shop-subcat a {
    margin-top: 6px;
    padding: 7px 14px;
    border: 1px solid rgba(var(--ahura-primary-rgb), .35);
    border-radius: 10px;
    color: var(--ahura-primary);
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
    transition: background-color .25s ease, color .25s ease;
}

.ahura-shop-subcat a:hover {
    background-color: var(--ahura-primary);
    color: #fff;
}

.ahura-shop-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 24px;
    align-items: start;
}

.ahura-shop-sidebar {
    position: sticky;
    top: 20px;
    padding: 20px;
    border-radius: 16px;
    background-color: var(--ahura-background);
    box-shadow: 0 6px 24px rgba(138, 27, 227, .06);
}

.ahura-shop-filter-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 16px;
    font-size: 15px;
    font-weight: 700;
}

.ahura-shop-filter-title svg {
    width: 18px;
    height: 18px;
    color: var(--ahura-primary);
}

.ahura-filter-group {
    margin-bottom: 14px;
    border-bottom: 1px dashed #edf1f6;
    padding-bottom: 14px;
}

.ahura-filter-group summary {
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 10px;
    list-style: none;
}

.ahura-filter-group summary::-webkit-details-marker {
    display: none;
}

.ahura-filter-price {
    display: flex;
    gap: 8px;
}

.ahura-filter-price input {
    width: 100%;
    padding: 9px 10px;
    border: 1px solid #e3e8ef;
    border-radius: 10px;
    font-size: 12px;
    outline: none;
}

.ahura-filter-price input:focus {
    border-color: var(--ahura-primary);
}

.ahura-filter-cats {
    margin: 0;
    padding: 0;
    list-style: none;
    max-height: 220px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ahura-filter-cats label,
.ahura-filter-check {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    cursor: pointer;
}

.ahura-filter-cats small {
    color: rgba(var(--ahura-text-rgb), .45);
}

.ahura-shop-filter input[type="checkbox"] {
    accent-color: var(--ahura-primary);
}

.ahura-filter-check {
    margin-bottom: 8px;
}

.ahura-shop-btn {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 12px;
    background-color: var(--ahura-primary);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: transform .25s ease, box-shadow .25s ease;
}

.ahura-shop-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(var(--ahura-primary-rgb), .3);
}

.ahura-filter-clear {
    display: block;
    margin-top: 10px;
    text-align: center;
    color: var(--ahura-primary);
    font-size: 12px;
    text-decoration: none;
}

.ahura-shop-chips {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    padding: 12px 16px;
    border-radius: 12px;
    background-color: rgba(var(--ahura-primary-rgb), .07);
    margin-bottom: 16px;
    font-size: 12px;
}

.ahura-shop-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 99px;
    background-color: var(--ahura-background);
    color: var(--ahura-primary);
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(138, 27, 227, .08);
}

.ahura-shop-chip svg {
    width: 12px;
    height: 12px;
}

.ahura-shop-chips-clear {
    color: #ef4444;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
    margin-inline-start: auto;
}

.ahura-shop-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.ahura-shop-count {
    font-size: 12px;
    color: rgba(var(--ahura-text-rgb), .6);
}

.ahura-shop-tools {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ahura-sort-form {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ahura-sort-label {
    font-size: 12px;
    color: rgba(var(--ahura-text-rgb), .6);
}

.ahura-sort-select {
    padding: 9px 12px;
    border: 1px solid #e3e8ef;
    border-radius: 10px;
    background: var(--ahura-background);
    font-size: 12px;
    outline: none;
    cursor: pointer;
}

.ahura-sort-select:focus {
    border-color: var(--ahura-primary);
}

.ahura-view-toggle {
    display: flex;
    gap: 4px;
    background: #eef1f6;
    border-radius: 10px;
    padding: 4px;
}

.ahura-view-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: rgba(var(--ahura-text-rgb), .5);
    cursor: pointer;
}

.ahura-view-btn.is-active {
    background: var(--ahura-background);
    color: var(--ahura-primary);
    box-shadow: 0 2px 8px rgba(138, 27, 227, .1);
}

.ahura-view-btn svg {
    width: 16px;
    height: 16px;
}

.ahura-shop-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.ahura-shop-wrap.ahura-view-list .ahura-shop-grid {
    grid-template-columns: 1fr;
}

.ahura-shop-wrap.ahura-view-list .ahura-shop-card {
    display: grid;
    grid-template-columns: 140px 1fr auto;
    grid-template-areas:
        'media name add'
        'media rating add'
        'media price add';
    gap: 8px 16px;
    align-items: center;
}

.ahura-shop-wrap.ahura-view-list .ahura-shop-media {
    grid-area: media;
    height: 140px;
}

.ahura-shop-wrap.ahura-view-list .ahura-shop-name {
    grid-area: name;
    margin: 0;
}

.ahura-shop-wrap.ahura-view-list .ahura-shop-rating {
    grid-area: rating;
    margin: 0;
}

.ahura-shop-wrap.ahura-view-list .ahura-shop-price {
    grid-area: price;
    justify-content: flex-start;
}

.ahura-shop-wrap.ahura-view-list .ahura-shop-add {
    grid-area: add;
    align-self: center;
}

.ahura-shop-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px;
    border-radius: 16px;
    background-color: var(--ahura-background);
    box-shadow: 0 6px 24px rgba(138, 27, 227, .06);
    transition: transform .3s ease, box-shadow .3s ease;
}

.ahura-shop-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(138, 27, 227, .12);
}

.ahura-shop-badge {
    position: absolute;
    top: 14px;
    inset-inline-start: 14px;
    z-index: 2;
    padding: 4px 12px;
    border-radius: 99px;
    font-size: 10px;
    font-weight: 700;
    color: #fff;
}

.ahura-shop-badge.is-sale {
    background-color: #f59e0b;
}

.ahura-shop-badge.is-new {
    background-color: #22c55e;
}

.ahura-shop-media {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 170px;
    border-radius: 12px;
    background-color: rgba(var(--ahura-secondary-rgb), .05);
    overflow: hidden;
}

.ahura-shop-media img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.ahura-shop-name {
    margin: 0;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.7;
}

.ahura-shop-name a {
    color: var(--ahura-text);
    text-decoration: none;
}

.ahura-shop-name a:hover {
    color: var(--ahura-primary);
}

.ahura-shop-subtitle {
    font-size: 11px;
    color: rgba(var(--ahura-text-rgb), .5);
}

.ahura-shop-rating {
    display: flex;
    align-items: center;
    gap: 6px;
}

.ahura-shop-rating small {
    font-size: 10px;
    color: rgba(var(--ahura-text-rgb), .45);
}

.ahura-shop-stars {
    position: relative;
    display: inline-flex;
}

.ahura-shop-stars svg {
    width: 13px;
    height: 13px;
    flex: none;
    color: #e3e6ea;
}

.ahura-stars-base,
.ahura-stars-fill {
    display: inline-flex;
    gap: 2px;
}

.ahura-stars-fill {
    position: absolute;
    inset-inline-start: 0;
    top: 0;
    height: 100%;
    width: var(--ahura-rating, 0%);
    overflow: hidden;
}

.ahura-stars-fill svg {
    color: #f59e0b;
}

.ahura-shop-price {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
}

.ahura-shop-price .is-current {
    font-size: 14px;
    font-weight: 800;
    color: var(--ahura-primary);
}

.ahura-shop-price .is-current small {
    font-size: 10px;
    font-weight: 500;
}

.ahura-shop-price del {
    font-size: 11px;
    color: rgba(var(--ahura-text-rgb), .4);
}

.ahura-shop-add {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px;
    border-radius: 10px;
    background-color: rgba(var(--ahura-primary-rgb), .1);
    color: var(--ahura-primary);
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: background-color .25s ease, color .25s ease;
}

.ahura-shop-add svg {
    width: 16px;
    height: 16px;
}

.ahura-shop-add:hover {
    background-color: var(--ahura-primary);
    color: #fff;
}

.ahura-shop-pagination {
    margin-top: 26px;
}

.ahura-shop-pagination ul {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
    flex-wrap: wrap;
}

.ahura-shop-pagination li a,
.ahura-shop-pagination li span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    border-radius: 10px;
    background-color: var(--ahura-background);
    color: var(--ahura-text);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 2px 10px rgba(138, 27, 227, .06);
}

.ahura-shop-pagination li a:hover {
    background-color: rgba(var(--ahura-primary-rgb), .08);
    color: var(--ahura-primary);
}

.ahura-shop-pagination li .current {
    background-color: var(--ahura-primary);
    color: #fff;
    box-shadow: 0 4px 12px rgba(var(--ahura-primary-rgb), .25);
}

.ahura-shop-trust {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 30px;
    padding-top: 24px;
    border-top: 1px solid #edf1f6;
}

.ahura-shop-trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ahura-shop-trust-item:hover {
    transform: translateY(-2px);
}

.ahura-shop-trust-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    flex: none;
    border-radius: 14px;
    background-color: rgba(var(--ahura-primary-rgb), .12);
    color: var(--ahura-primary);
}

.ahura-shop-trust-icon svg {
    width: 22px;
    height: 22px;
}

.ahura-shop-trust-item strong {
    display: block;
    font-size: 13px;
    font-weight: 700;
}

.ahura-shop-trust-item small {
    font-size: 11px;
    color: rgba(var(--ahura-text-rgb), .55);
}

@media (max-width: 1200px) {
    .ahura-shop-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1023px) {
    .ahura-shop-layout {
        grid-template-columns: 1fr;
    }

    .ahura-shop-sidebar {
        position: static;
    }

    .ahura-shop-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .ahura-shop-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .ahura-shop-card {
        padding: 10px;
    }

    .ahura-shop-media {
        height: 130px;
    }

    .ahura-shop-trust {
        grid-template-columns: 1fr;
    }

    .ahura-shop-wrap.ahura-view-list .ahura-shop-card {
        grid-template-columns: 90px 1fr;
        grid-template-areas:
            'media name'
            'media rating'
            'media price'
            'add add';
    }
}