﻿.pp-store {
    --store-green: #166534;
    --store-dark: #133b27;
    --store-muted: #64748b;
    color: #1e293b
}

.pp-store-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #64748b;
    font-size: .86rem
}

    .pp-store-breadcrumb a {
        color: #166534;
        text-decoration: none
    }

        .pp-store-breadcrumb a:hover {
            text-decoration: underline
        }

.pp-store-hero {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    background: linear-gradient(115deg,#0e4329,#197442);
    color: white;
    box-shadow: 0 14px 35px rgba(13,79,45,.15)
}

.pp-store-hero-pattern {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 85% 0%,rgba(255,255,255,.12),transparent 35%),radial-gradient(circle at 3% 95%,rgba(178,232,186,.12),transparent 35%);
    pointer-events: none
}

.pp-store-hero-content {
    position: relative;
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 36px
}

.pp-store-avatar-button {
    border: 4px solid rgba(255,255,255,.75);
    background: #e8f6eb;
    border-radius: 50%;
    width: 112px;
    height: 112px;
    flex: 0 0 112px;
    overflow: hidden;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer
}

.pp-store-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.pp-store-avatar-fallback {
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    background: #d1fae5;
    color: #14532d;
    font-size: 2.8rem;
    font-weight: 800
}

.pp-store-hero-details {
    min-width: 0;
    flex: 1
}

.pp-store-eyebrow {
    font-size: .73rem;
    font-weight: 700;
    letter-spacing: .13em;
    color: #c8f6d3;
    text-transform: uppercase
}

.pp-store-hero h1 {
    font-size: clamp(1.6rem,3vw,2.5rem);
    font-weight: 800;
    letter-spacing: -.025em;
    margin: 7px 0 10px
}

.pp-store-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    font-size: .9rem
}

    .pp-store-meta i {
        margin-right: 4px
    }

.pp-store-verified {
    background: rgba(255,255,255,.17);
    padding: 5px 10px;
    border-radius: 30px;
    font-size: .78rem;
    font-weight: 700
}

.pp-store-description {
    margin: 12px 0 0;
    color: #e2f4e7;
    font-size: .88rem
}

.pp-store-hero-stat {
    min-width: 125px;
    padding: 18px 22px;
    text-align: center;
    border: 1px solid rgba(255,255,255,.24);
    background: rgba(255,255,255,.1);
    border-radius: 16px
}

    .pp-store-hero-stat strong {
        display: block;
        font-size: 2.1rem;
        line-height: 1.1
    }

    .pp-store-hero-stat span {
        display: block;
        font-size: .78rem;
        margin-top: 6px;
        color: #e2f4e7
    }

.pp-store-section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 18px
}

.pp-store-kicker {
    font-size: .72rem;
    letter-spacing: .12em;
    color: #16803c;
    font-weight: 800
}

.pp-store-section-heading h2 {
    font-size: 1.45rem;
    font-weight: 800;
    margin: 4px 0 0
}

.pp-store-result-total {
    font-size: .82rem;
    color: #64748b;
    white-space: nowrap
}

.pp-store-filters {
    display: grid;
    grid-template-columns: minmax(220px,2fr) minmax(145px,1fr) minmax(170px,1fr) auto;
    align-items: end;
    gap: 12px;
    padding: 18px;
    background: #fff;
    border: 1px solid #e5eae7;
    border-radius: 16px;
    box-shadow: 0 5px 22px rgba(22,101,52,.045);
    margin-bottom: 22px
}

    .pp-store-filters label {
        display: block;
        font-size: .78rem;
        font-weight: 700;
        margin-bottom: 7px;
        color: #344b3d
    }

.pp-store-search-input {
    position: relative
}

    .pp-store-search-input i {
        position: absolute;
        left: 14px;
        top: 50%;
        transform: translateY(-50%);
        color: #94a3b8
    }

    .pp-store-search-input input {
        padding-left: 38px !important
    }

.pp-store-filters input, .pp-store-filters select {
    height: 43px;
    width: 100%;
    border: 1px solid #dce5df;
    border-radius: 9px;
    background: white;
    color: #334155;
    padding: 0 12px;
    outline: none
}

    .pp-store-filters input:focus, .pp-store-filters select:focus {
        border-color: #22a45b;
        box-shadow: 0 0 0 3px rgba(34,164,91,.12)
    }

.pp-store-filter-actions {
    display: flex;
    gap: 8px
}

.pp-store-search-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    height: 43px;
    padding: 0 17px;
    border: 0;
    border-radius: 9px;
    background: #16743b;
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-size: .85rem;
    white-space: nowrap
}

    .pp-store-search-button:hover {
        background: #0e5a2c;
        color: white
    }

.pp-store-reset-button {
    height: 43px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 13px;
    border-radius: 9px;
    border: 1px solid #dce5df;
    color: #475569;
    text-decoration: none;
    font-size: .85rem;
    font-weight: 700
}

    .pp-store-reset-button:hover {
        background: #f1f5f3;
        color: #1e293b
    }

.pp-store-product-card {
    width: 100%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    background: white;
    border: 1px solid #e8eee9;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 16px rgba(15,50,30,.045);
    transition: transform .2s,box-shadow .2s
}

    .pp-store-product-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 13px 30px rgba(15,50,30,.11)
    }

.pp-store-product-image-wrap {
    position: relative;
    aspect-ratio: 4/5;
    background: #f2f7f2;
    overflow: hidden
}

    .pp-store-product-image-wrap > a {
        display: block;
        width: 100%;
        height: 100%
    }

.pp-store-product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s
}

.pp-store-product-card:hover .pp-store-product-image {
    transform: scale(1.04)
}

.pp-store-new-badge {
    position: absolute;
    top: 11px;
    left: 11px;
    background: #e8b12b;
    color: #302300;
    font-size: .68rem;
    font-weight: 800;
    padding: 5px 9px;
    border-radius: 7px
}

.pp-store-image-preview {
    position: absolute;
    right: 11px;
    bottom: 11px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 0;
    background: rgba(255,255,255,.96);
    color: #166534;
    display: grid;
    place-items: center;
    box-shadow: 0 3px 10px rgba(0,0,0,.12)
}

    .pp-store-image-preview:hover {
        background: #166534;
        color: #fff
    }

.pp-store-product-info {
    padding: 15px;
    display: flex;
    flex-direction: column;
    flex: 1
}

.pp-store-product-type {
    font-size: .72rem;
    color: #16803c;
    font-weight: 700;
    margin-bottom: 5px
}

.pp-store-product-title {
    font-size: .97rem;
    line-height: 1.35;
    color: #213c2c;
    text-decoration: none;
    font-weight: 750;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.6em
}

    .pp-store-product-title:hover {
        color: #16803c
    }

.pp-store-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 9px;
    font-size: .84rem
}

    .pp-store-rating > span:first-child {
        color: #f59e0b
    }

    .pp-store-rating small {
        color: #94a3b8;
        font-size: .76rem
    }

.pp-store-product-footer {
    margin-top: auto;
    padding-top: 13px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px
}

.pp-store-price {
    color: #166534;
    font-size: .95rem;
    font-weight: 800
}

.pp-store-details-link {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 7px;
    width: 100%;
    padding: 9px 12px;
    border-radius: 9px;
    border: 1px solid #b6dbc4;
    color: #166534;
    text-decoration: none;
    font-weight: 700;
    font-size: .83rem
}

    .pp-store-details-link:hover {
        background: #166534;
        color: white
    }

.pp-store-empty {
    border: 1px dashed #c9d9cf;
    border-radius: 17px;
    text-align: center;
    padding: 55px 20px;
    background: #fafdfa
}

    .pp-store-empty > i {
        font-size: 2.4rem;
        color: #75ac88
    }

    .pp-store-empty h3 {
        font-size: 1.2rem;
        font-weight: 800;
        margin: 16px 0 8px
    }

    .pp-store-empty p {
        color: #64748b;
        margin-bottom: 17px
    }

.pp-store-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 27px;
    color: #64748b;
    font-size: .85rem
}

.pp-store-page-links {
    display: flex;
    align-items: center;
    gap: 7px
}

    .pp-store-page-links a {
        display: grid;
        place-items: center;
        min-width: 36px;
        height: 36px;
        padding: 0 9px;
        border: 1px solid #dce8df;
        border-radius: 9px;
        text-decoration: none;
        color: #166534;
        font-weight: 700
    }

        .pp-store-page-links a:hover, .pp-store-page-links a.active {
            background: #166534;
            color: white;
            border-color: #166534
        }

.pp-store-modal-content {
    border: 0;
    border-radius: 18px;
    overflow: hidden
}

.pp-store-profile-modal-image {
    width: 190px;
    height: 190px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 6px 20px rgba(0,0,0,.12)
}

.pp-store-profile-modal-fallback {
    width: 190px;
    height: 190px;
    display: grid;
    place-items: center;
    margin: auto;
    border-radius: 50%;
    background: #d1fae5;
    color: #166534;
    font-size: 4rem;
    font-weight: 800
}

.pp-store-preview-image {
    max-width: 100%;
    max-height: 75vh;
    object-fit: contain;
    border-radius: 10px
}

@media(max-width:991px) {
    .pp-store-filters {
        grid-template-columns: repeat(2,minmax(0,1fr))
    }

    .pp-store-filter-search {
        grid-column: span 2
    }

    .pp-store-hero-content {
        padding: 27px
    }

    .pp-store-hero-stat {
        min-width: 100px;
        padding: 15px
    }
}

@media(max-width:575px) {
    .pp-store {
        padding-top: 14px !important
    }

    .pp-store-hero {
        border-radius: 17px
    }

    .pp-store-hero-content {
        padding: 23px 17px;
        gap: 13px;
        flex-wrap: wrap
    }

    .pp-store-avatar-button {
        width: 75px;
        height: 75px;
        flex-basis: 75px;
        border-width: 3px
    }

    .pp-store-avatar-fallback {
        font-size: 2rem
    }

    .pp-store-hero-details {
        flex: 1 1 calc(100% - 90px)
    }

    .pp-store-hero h1 {
        font-size: 1.38rem
    }

    .pp-store-eyebrow {
        font-size: .62rem
    }

    .pp-store-meta {
        font-size: .78rem;
        gap: 6px
    }

    .pp-store-description {
        font-size: .77rem
    }

    .pp-store-hero-stat {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 10px;
        padding: 10px
    }

        .pp-store-hero-stat strong {
            font-size: 1.4rem
        }

        .pp-store-hero-stat span {
            margin: 0
        }

    .pp-store-section-heading {
        align-items: start;
        flex-direction: column;
        gap: 5px
    }

        .pp-store-section-heading h2 {
            font-size: 1.15rem
        }

    .pp-store-filters {
        padding: 12px;
        gap: 10px
    }

    .pp-store-filter-actions {
        grid-column: span 2
    }

        .pp-store-filter-actions .pp-store-search-button {
            flex: 1
        }

    .pp-store-product-grid {
        --bs-gutter-x: 12px;
        --bs-gutter-y: 12px
    }

    .pp-store-product-card {
        border-radius: 12px
    }

    .pp-store-product-info {
        padding: 10px
    }

    .pp-store-product-title {
        font-size: .84rem
    }

    .pp-store-product-type {
        font-size: .67rem
    }

    .pp-store-rating {
        font-size: .75rem
    }

        .pp-store-rating small {
            font-size: .68rem
        }

    .pp-store-price {
        font-size: .8rem
    }

    .pp-store-details-link {
        font-size: .75rem;
        padding: 8px 5px
    }

    .pp-store-pagination {
        justify-content: center;
        text-align: center
    }

        .pp-store-pagination > span {
            width: 100%
        }
}


/* ==========================================
   PUBLIC SELLER STORE - COMPACT CARDS
========================================== */

.pp-store-product-card {
    height: 100%;
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Correct image wrapper */
.pp-store-product-image-wrap {
    position: relative;
    width: 100%;
    height: 190px;
    aspect-ratio: auto;
    overflow: hidden;
    background: #f2f7f2;
}

    .pp-store-product-image-wrap > a {
        display: block;
        width: 100%;
        height: 100%;
    }

.pp-store-product-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Compact product content */
.pp-store-product-info {
    padding: 11px 13px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.pp-store-product-type {
    font-size: 11px;
    margin-bottom: 3px;
}

.pp-store-product-title {
    font-size: 14px;
    line-height: 1.35;
    min-height: 0;
}

.pp-store-rating {
    margin-top: 7px;
}

.pp-store-product-footer {
    padding-top: 9px;
    gap: 7px;
}

.pp-store-price {
    font-size: 14px;
}

.pp-store-details-link {
    padding: 7px 10px;
    font-size: 12px;
}

/* Tablet */
@media (min-width: 768px) and (max-width: 991px) {
    .pp-store-product-image-wrap {
        height: 175px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .pp-store-product-image-wrap {
        height: 145px;
    }

    .pp-store-product-info {
        padding: 9px;
    }

    .pp-store-product-title {
        font-size: 12px;
    }

    .pp-store-product-type {
        font-size: 10px;
    }

    .pp-store-rating {
        margin-top: 5px;
        font-size: 11px;
    }

    .pp-store-product-footer {
        padding-top: 7px;
        gap: 6px;
    }

    .pp-store-price {
        font-size: 12px;
    }

    .pp-store-details-link {
        font-size: 11px;
        padding: 7px 5px;
    }
}
