:root {
    --shop-green: #0f8a4b;
    --shop-green-dark: #05713a;
    --shop-green-soft: #eef9f2;
    --shop-orange: #f6a21a;
    --shop-red: #ef4444;
    --shop-text: #172033;
    --shop-muted: #667085;
    --shop-line: #e4ebe7;
    --shop-radius: 10px;
    --shop-shadow: 0 12px 34px rgba(17, 24, 39, .07);
}

.shop-single-page {
    color: var(--shop-text);
}

.shop-single-page a {
    text-decoration: none;
}

.shop-hero {
    min-height: 228px;
    overflow: hidden;
}

.shop-hero-bg,
.shop-hero-fallback {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.shop-hero-fallback {
    background:
        linear-gradient(90deg, rgba(5, 80, 42, .88), rgba(5, 80, 42, .25)),
        radial-gradient(circle at 76% 45%, rgba(246, 162, 26, .35), transparent 30%),
        linear-gradient(135deg, #1f7f38, #d6f6df);
}

.shop-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, .68), rgba(0, 0, 0, .24), rgba(0, 0, 0, .12));
}

.shop-avatar {
    width: 136px;
    height: 136px;
    border: 5px solid rgba(255, 255, 255, .92);
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .18);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: var(--shop-green);
    font-size: 48px;
}

.shop-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.shop-title {
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.12;
    font-weight: 850;
}

.shop-badge {
    background: var(--shop-green) !important;
    border-radius: 6px;
}

.shop-badge-orange {
    background: var(--shop-orange) !important;
    color: #172033 !important;
}

.shop-hero-meta i {
    color: #ffd166;
}

.shop-btn-primary,
.shop-btn-light,
.shop-btn-outline,
.shop-cart-btn {
    border-radius: 8px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.shop-btn-primary {
    border-color: transparent;
    background: linear-gradient(135deg, var(--shop-green), var(--shop-green-dark));
    color: #fff !important;
}

.shop-btn-primary:hover {
    background: var(--shop-green-dark);
    color: #fff !important;
}

.shop-btn-light {
    background: #fff;
    color: var(--shop-text);
    border-color: rgba(255, 255, 255, .8);
}

.shop-btn-outline {
    border: 1px solid var(--shop-green);
    color: var(--shop-green-dark);
    background: #fff;
}

.shop-cart-btn {
    background: var(--shop-green);
    color: #fff !important;
    border: 1px solid var(--shop-green);
    width: 38px;
}

.shop-breadcrumb {
    display: flex;
    gap: 9px;
    align-items: center;
    color: #667085;
}

.shop-breadcrumb a,
.shop-link {
    color: var(--shop-green-dark);
}

.shop-card {
    border: 1px solid var(--shop-line);
    border-radius: var(--shop-radius);
    box-shadow: var(--shop-shadow);
    overflow: hidden;
}

.shop-stats .col {
    border-right: 1px solid var(--shop-line);
}

.shop-stats .col:last-child {
    border-right: 0;
}

.shop-stat {
    display: grid;
    grid-template-columns: 52px 1fr;
    column-gap: 14px;
    align-items: center;
    padding: 6px 16px;
}

.shop-stat i {
    grid-row: span 3;
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(15, 138, 75, .22);
    border-radius: 50%;
    color: var(--shop-green);
    font-size: 22px;
    background: var(--shop-green-soft);
}

.shop-stat:nth-child(3) i {
    color: var(--shop-orange);
    background: #fff7e8;
    border-color: rgba(246, 162, 26, .35);
}

.shop-stat span,
.shop-stat small {
    color: var(--shop-muted);
}

.shop-stat strong {
    font-size: 25px;
    line-height: 1.1;
}

.shop-filter-card {
    top: 84px;
}

.shop-filter-card .card-header {
    border-bottom: 1px solid var(--shop-line);
}

.shop-filter-group {
    padding: 0 0 18px;
    margin-bottom: 18px;
    border-bottom: 1px solid var(--shop-line);
}

.shop-filter-group h3 {
    font-size: 15px;
    font-weight: 850;
    margin-bottom: 12px;
    color: var(--shop-green-dark);
}

.shop-filter-group label {
    display: flex;
    gap: 8px;
    align-items: center;
    margin: 9px 0;
    color: #475467;
    font-size: 14px;
    cursor: pointer;
}

.shop-filter-group input {
    accent-color: var(--shop-green);
}

.shop-search {
    position: relative;
}

.shop-search i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #667085;
}

.shop-search .form-control {
    padding-left: 40px;
    min-height: 44px;
    border-color: var(--shop-line);
    border-radius: 8px;
}

.shop-sort {
    min-height: 44px;
    min-width: 210px;
    border-radius: 8px;
    border-color: var(--shop-line);
}

.shop-view-toggle .btn {
    min-width: 44px;
    min-height: 44px;
    border-color: var(--shop-line);
    color: #667085;
}

.shop-view-toggle .btn.is-active {
    background: var(--shop-green);
    color: #fff;
    border-color: var(--shop-green);
}

.shop-tabs a {
    padding: 9px 18px;
    border: 1px solid var(--shop-line);
    border-radius: 8px;
    color: #475467;
    background: #fff;
    font-size: 14px;
    font-weight: 700;
}

.shop-tabs a.is-active,
.shop-tabs a:hover {
    color: #fff;
    background: var(--shop-green);
    border-color: var(--shop-green);
}

.shop-product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.shop-product-grid.is-list {
    grid-template-columns: 1fr;
}

.shop-product-card {
    border: 1px solid var(--shop-line);
    border-radius: var(--shop-radius);
    overflow: hidden;
    box-shadow: none;
    transition: .2s;
}

.shop-product-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shop-shadow);
}

.shop-product-image {
    position: relative;
    display: block;
    height: 164px;
    overflow: hidden;
    background: var(--shop-green-soft);
}

.shop-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: .25s;
}

.shop-product-card:hover .shop-product-image img {
    transform: scale(1.04);
}

.shop-product-image > span {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--shop-green);
    font-size: 32px;
}

.shop-product-image em {
    position: absolute;
    left: 9px;
    top: 9px;
    padding: 4px 8px;
    border-radius: 5px;
    background: var(--shop-green);
    color: #fff;
    font-style: normal;
    font-size: 12px;
    font-weight: 800;
}

.shop-product-image .shop-discount {
    background: var(--shop-red);
}

.shop-heart {
    position: absolute;
    right: 9px;
    top: 9px;
    width: 32px;
    height: 32px;
    border: 1px solid rgba(255, 255, 255, .7);
    border-radius: 50%;
    background: rgba(0, 0, 0, .18);
    color: #fff;
}

.shop-product-title {
    min-height: 42px;
    margin: 0 0 4px;
    font-size: 16px;
    line-height: 1.32;
    font-weight: 850;
}

.shop-product-title a {
    color: var(--shop-text);
}

.shop-product-title a:hover {
    color: var(--shop-green-dark);
}

.shop-product-cat {
    color: var(--shop-green-dark);
    font-size: 13px;
    font-weight: 800;
}

.shop-product-meta {
    color: #667085;
    font-size: 12px;
}

.shop-price strong {
    color: #d12e2e;
    font-size: 18px;
}

.shop-price del {
    margin-left: 8px;
    color: #98a2b3;
    font-size: 13px;
}

.shop-star {
    color: var(--shop-orange);
    font-weight: 700;
}

.shop-product-grid.is-list .shop-product-card {
    display: grid;
    grid-template-columns: 240px 1fr;
}

.shop-product-grid.is-list .shop-product-image {
    height: 100%;
    min-height: 210px;
}

.shop-empty-icon {
    color: var(--shop-green);
    font-size: 46px;
}

.shop-pagination .page-numbers {
    display: flex;
    justify-content: center;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.shop-pagination a,
.shop-pagination span {
    min-width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--shop-line);
    border-radius: 7px;
    background: #fff;
    color: #475467;
    font-weight: 800;
}

.shop-pagination .current {
    background: var(--shop-green);
    color: #fff;
    border-color: var(--shop-green);
}

.shop-benefits > .col > div {
    display: grid;
    grid-template-columns: 58px 1fr;
    column-gap: 14px;
    align-items: center;
    height: 100%;
}

.shop-benefits i {
    grid-row: span 2;
    color: var(--shop-green);
    font-size: 34px;
}

.shop-benefits strong {
    color: var(--shop-green-dark);
}

.shop-benefits span {
    color: #667085;
    font-size: 14px;
}

.shop-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 13px;
}

.shop-contact-list li {
    display: flex;
    gap: 10px;
    color: #475467;
}

.shop-contact-list i {
    width: 22px;
    color: var(--shop-green);
    margin-top: 3px;
}

.shop-share-modal[hidden] {
    display: none;
}

.shop-share-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
}

.shop-share-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(17, 24, 39, .48);
}

.shop-share-dialog {
    position: relative;
    width: min(440px, 100%);
    padding: 22px;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 22px 70px rgba(0, 0, 0, .25);
}

.shop-share-dialog h2 {
    font-size: 22px;
    font-weight: 850;
}

.shop-share-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    background: #f2f4f7;
}

.shop-share-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.shop-share-options a,
.shop-share-options button {
    min-height: 46px;
    border: 1px solid var(--shop-line);
    border-radius: 10px;
    background: #fff;
    color: var(--shop-text);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 800;
}

.shop-copy-toast {
    position: fixed;
    left: 50%;
    bottom: 22px;
    z-index: 10000;
    transform: translateX(-50%) translateY(20px);
    opacity: 0;
    pointer-events: none;
    padding: 10px 16px;
    border-radius: 999px;
    background: #111827;
    color: #fff;
    transition: .2s;
}

.shop-copy-toast.is-visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

@media (max-width: 1199.98px) {
    .shop-product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .shop-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .shop-filter-card {
        position: static !important;
    }
}

@media (max-width: 767.98px) {
    .shop-avatar {
        width: 104px;
        height: 104px;
    }

    .shop-stats .col {
        border-right: 0;
        border-bottom: 1px solid var(--shop-line);
    }

    .shop-stats .col:nth-last-child(-n+2) {
        border-bottom: 0;
    }

    .shop-product-grid.is-list .shop-product-card {
        grid-template-columns: 1fr;
    }

    .shop-product-grid.is-list .shop-product-image {
        height: 180px;
    }
}

@media (max-width: 575.98px) {
    .shop-product-grid {
        grid-template-columns: 1fr;
    }

    .shop-sort {
        width: 100%;
    }
}
