/* ========== PetShop · Shop v3 ========== */


.ps-shop-hero {
    background: linear-gradient(135deg, #fff7f0 0%, #ffe9d6 100%);
    border-radius: 20px;
    padding: 32px 28px;
    margin: 8px 0 22px;
    position: relative;
    overflow: hidden;
}

.ps-shop-hero::after {
    content: "";
    position: absolute;
    right: -60px;
    top: -60px;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, #fb8f4d33 0%, transparent 70%);
    border-radius: 50%;
}

.ps-shop-hero .ps-crumb {
    font-size: 13px;
    color: #7a6a5d;
    margin-bottom: 10px;
}

.ps-shop-hero .ps-crumb a {
    color: #7a6a5d;
    text-decoration: none;
}

.ps-shop-hero .ps-crumb a:hover {
    color: #fb8f4d;
}

.ps-shop-hero h1 {
    font-size: clamp(28px, 3.4vw, 40px);
    line-height: 1.1;
    margin: 0 0 8px;
    color: #1f1a16;
}

.ps-shop-hero p {
    margin: 0;
    color: #5d4f44;
    max-width: 620px;
    font-size: 15px;
}

/* Chips de categoria */
.ps-cat-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 18px;
}

.ps-cat-chips a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #ececec;
    color: #3f3630;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.18s ease;
    white-space: nowrap;
}

.ps-cat-chips a:hover {
    border-color: #fb8f4d;
    color: #fb8f4d;
    transform: translateY(-1px);
}

.ps-cat-chips a.is-active {
    background: #fb8f4d;
    border-color: #fb8f4d;
    color: #fff;
    box-shadow: 0 6px 16px -8px #fb8f4d;
}

.ps-cat-chips a .ps-count {
    opacity: 0.7;
    font-weight: 500;
    font-size: 12px;
}

/* Toolbar */
.ps-shop-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    margin: 0 0 22px;
    background: #fff;
    border: 1px solid #efe7df;
    border-radius: 14px;
}

.ps-shop-toolbar .ps-results {
    color: #5d4f44;
    font-size: 14px;
    margin: 0;
}

.ps-shop-toolbar .ps-results strong {
    color: #1f1a16;
}

.ps-shop-toolbar .ps-spacer {
    flex: 1;
}

.ps-shop-toolbar .woocommerce-ordering {
    margin: 0 !important;
}

.ps-shop-toolbar .woocommerce-ordering select {
    padding: 9px 36px 9px 14px;
    border-radius: 10px;
    border: 1px solid #e2d8cf;
    background: #fff;
    color: #3f3630;
    font-size: 14px;
    cursor: pointer;
}

.ps-shop-toolbar .woocommerce-result-count {
    display: none !important;
}

.ps-view-toggle {
    display: inline-flex;
    border: 1px solid #e2d8cf;
    border-radius: 10px;
    overflow: hidden;
}

.ps-view-toggle button {
    background: #fff;
    border: 0;
    padding: 8px 12px;
    cursor: pointer;
    color: #7a6a5d;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.ps-view-toggle button.is-active {
    background: #fb8f4d;
    color: #fff;
}

.ps-view-toggle button + button {
    border-left: 1px solid #e2d8cf;
}

/* Trigger mobile categorias */
.cat-menu-mobile-trigger {
    display: none;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 10px;
    border: 1px solid #e2d8cf;
    background: #fff;
    color: #3f3630;
    font-weight: 600;
    cursor: pointer;
}

@media (max-width: 900px) {
    .cat-menu-mobile-trigger {
        display: inline-flex;
    }
}

/* Loop em modo lista */
.ps-list-mode ul.products {
    display: flex !important;
    flex-direction: column;
    gap: 14px;
}

.ps-list-mode ul.products li.product {
    display: grid !important;
    grid-template-columns: 160px 1fr;
    gap: 18px;
    align-items: center;
    background: #fff;
    border: 1px solid #efe7df;
    border-radius: 14px;
    padding: 14px;
}

.ps-list-mode ul.products li.product .ps-card-actions {
    justify-content: flex-start;
}

/* Empty state */
.ps-no-products {
    text-align: center;
    padding: 60px 20px;
    background: #fff7f0;
    border-radius: 18px;
}

.ps-no-products h2 {
    margin: 0 0 8px;
    color: #1f1a16;
}

.ps-no-products p {
    color: #5d4f44;
    margin: 0;
}

@media (max-width: 640px) {
    .ps-shop-hero {
        padding: 24px 20px;
        border-radius: 16px;
    }

    .ps-shop-toolbar {
        padding: 12px;
        border-radius: 12px;
    }
}