.storefront-page {
    background: #eff2f3;
}

.storefront-cover {
    height: 150px;
    background: linear-gradient(120deg, #0f766e, #1f2937);
    background-size: cover;
    background-position: center;
    border-radius: 0 0 18px 18px;
    position: relative;
    margin-bottom: -60px;
}

.storefront-cover-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(15, 118, 110, 0.6), rgba(15, 23, 42, 0.4));
    border-radius: 0 0 18px 18px;
}

.storefront-hero {
    border: 1px solid #e7eaf0;
    position: relative;
}

.storefront-page .seller-hero-card {
    padding: 18px;
    gap: 16px;
    align-items: flex-start;
}

.storefront-page .seller-name {
    font-size: 22px;
}

.storefront-page .seller-meta {
    font-size: 12px;
}

.storefront-page .seller-actions {
    min-width: 190px;
}

.storefront-page .seller-badge {
    background: #f1f5f9;
    color: #64748b;
    border: 1px solid #e2e8f0;
    font-size: 11px;
    padding: 3px 8px;
}

.storefront-page .seller-badge.verified {
    background: #dcfce7;
    color: #166534;
    border-color: #bbf7d0;
}

.storefront-page .seller-badge.trust {
    background: #eff6ff;
    color: #1d4ed8;
    border-color: #bfdbfe;
}

.storefront-page [data-tooltip]::after {
    left: 50% !important;
    bottom: calc(100% + 4px) !important;
    transform: translate(-50%, 2px) !important;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
    max-width: 240px;
}

.storefront-page [data-tooltip]:hover::after,
.storefront-page [data-tooltip]:focus::after {
    transform: translate(-50%, 0);
}

.storefront-page [data-tooltip] {
    position: relative;
}

.storefront-inline-policy {
    margin-top: 8px;
}

.inline-policy-row {
    display: flex;
    gap: 10px;
    align-items: center;
    font-size: 12px;
    color: #64748b;
}

.inline-policy-compact {
    flex-wrap: wrap;
}

.policy-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 8px;
    border-radius: 999px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    font-size: 11.5px;
    color: #475569;
    max-width: 100%;
}

.storefront-inline-policy .policy-item {
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.storefront-inline-policy .policy-item:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(15, 23, 42, 0.08);
}

.policy-item i {
    color: #0f766e;
    font-size: 12px;
}

.policy-label {
    font-weight: 600;
    color: #0f172a;
}

.inline-policy-tags {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    flex-wrap: nowrap;
    max-width: 220px;
    overflow: hidden;
}

.policy-chip {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    padding: 2px 6px;
    font-size: 10.5px;
    color: #475569;
    white-space: nowrap;
}

.policy-item .inline-policy-text {
    font-size: 11.5px;
    color: #475569;
    max-width: 220px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.policy-item-wide {
    flex: 1 1 240px;
    min-width: 0;
}

.storefront-logo {
    width: 82px;
    height: 82px;
    border-radius: 18px;
    font-size: 26px;
    font-weight: 700;
    color: #0f766e;
    background: #e8f7f3;
    align-self: flex-start;
    margin-top: 2px;
}

.storefront-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    background: #fee2e2;
    color: #991b1b;
}

.storefront-hours-trigger {
    cursor: pointer;
}

.storefront-status.open {
    background: #dcfce7;
    color: #166534;
}

.storefront-desc {
    margin-top: 6px;
    color: #64748b;
    font-size: 13px;
}

.storefront-review-link {
    font-size: 12px;
    color: #475569;
    text-decoration: none;
}

.storefront-page .seller-rating {
    flex-wrap: wrap;
}

.storefront-follow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-left: 4px;
}

.storefront-follow-btn {
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #0f172a;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.storefront-follow-btn:hover {
    border-color: #cbd5f5;
    box-shadow: 0 6px 14px rgba(15, 23, 42, 0.08);
    transform: translateY(-1px);
}

.storefront-follow-btn.following {
    background: #0f766e;
    border-color: #0f766e;
    color: #fff;
}

.storefront-follow-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.storefront-follow-count {
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 3px 8px;
    border-radius: 999px;
}

.storefront-verify {
    margin-top: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.storefront-mini-stats {
    display: flex;
    gap: 10px;
    margin-top: 8px;
    font-size: 11.5px;
    color: #64748b;
    flex-wrap: wrap;
}

.storefront-mini-stats .mini-stat {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    min-width: 140px;
}

.storefront-mini-stats .mini-stat-icon {
    width: 26px;
    height: 26px;
    border-radius: 9px;
    background: #0f766e;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    box-shadow: inset 0 0 6px rgba(255, 255, 255, 0.25);
}

.storefront-mini-stats .mini-stat-body {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.storefront-mini-stats strong {
    color: #0f172a;
    font-size: 12.5px;
    font-weight: 700;
}

.mobile-sidebar-toggle {
    display: none;
}

.storefront-actions .btn-action {
    padding: 10px 14px;
    font-size: 13px;
    border-radius: 10px;
}

.storefront-search {
    display: flex;
    gap: 8px;
    align-items: center;
}

.storefront-search input {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 8px 10px;
    font-size: 12px;
}

.storefront-search button {
    border: none;
    background: #0f766e;
    color: #fff;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 12px;
    cursor: pointer;
}

.storefront-section-title {
    font-size: 14px;
    font-weight: 700;
    margin: 14px 0 10px;
}

.storefront-card .seller-listing-img {
    height: 140px;
}

.seller-listing-grid {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
}

.storefront-page .ad-card {
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.08);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.storefront-page .ad-card:hover {
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.18);
    transform: translateY(-2px);
}

.storefront-page .ad-img-container {
    height: 150px;
    background: #e2e8f0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-weight: 600;
}

.storefront-page .ad-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.storefront-page .ad-content {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.storefront-page .ad-title {
    font-size: 13px;
    font-weight: 600;
    color: #0f172a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.storefront-page .ad-price {
    color: #0f766e;
    font-weight: 800;
    font-size: 14px;
}

.storefront-page .ad-meta-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 6px;
}

.storefront-page .ad-location {
    font-size: 11px;
    color: #94a3b8;
    display: flex;
    align-items: center;
}

.storefront-page .ad-location i {
    margin-right: 4px;
}

.storefront-page .badge-container {
    position: absolute;
    bottom: 6px;
    left: 6px;
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
    z-index: 10;
    max-width: 95%;
}

.storefront-page .ad-badge {
    font-size: 9px;
    padding: 2px 6px;
    border-radius: 3px;
    color: #ffffff;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    line-height: 1.2;
}

.storefront-page .ad-badge i {
    margin-right: 3px;
    font-size: 8px;
}

.storefront-page .badge-top {
    background: #00bcd4;
}

.storefront-page .badge-premium {
    background: linear-gradient(45deg, #ffd700, #ffaa00);
    color: #3f3f46;
    position: absolute;
    top: -120px;
}

.storefront-page .badge-verified {
    background: #4caf50;
}

.storefront-page .badge-new {
    background: #ff5722;
}

.storefront-page .badge-trusted {
    background: #9c27b0;
}

.storefront-page .attr-tag {
    font-size: 10px;
    color: #475569;
    background: #f1f5f9;
    padding: 3px 6px;
    border-radius: 4px;
    font-weight: 600;
    white-space: nowrap;
}

.listing-pill {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #0f766e;
    color: #fff;
    font-size: 11px;
    padding: 4px 8px;
    border-radius: 999px;
    font-weight: 700;
}

.listing-pill.featured {
    background: #f59e0b;
}

.storefront-policy .policy-group {
    margin-bottom: 10px;
}

.storefront-policy .policy-title {
    font-size: 12px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 4px;
}

.storefront-policy .policy-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 11px;
}

.storefront-policy .policy-tags span {
    background: #f1f5f9;
    padding: 4px 8px;
    border-radius: 999px;
}

.storefront-policy .policy-text {
    font-size: 12px;
    color: #64748b;
}

.pickup-list {
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 12px;
    color: #475569;
}

.pickup-list li {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 6px 0;
    border-bottom: 1px solid #eef2f7;
}

.pickup-list li:last-child {
    border-bottom: none;
}

.storefront-qr img {
    width: 90px;
    height: 90px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    background: #fff;
    padding: 4px;
}

.qr-row {
    display: flex;
    gap: 10px;
    align-items: center;
}

.storefront-qr-inline {
    display: none;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 10px;
    background: #f8fafc;
}

.storefront-qr-inline .qr-title {
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 6px;
    color: #0f172a;
}

.storefront-highlight {
    background: #fff7ed;
    border: 1px solid #fde68a;
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 12px;
}

.highlight-title {
    font-weight: 700;
    font-size: 13px;
    margin-bottom: 6px;
}

.highlight-body {
    font-size: 13px;
    color: #1f2937;
}

.highlight-meta {
    font-size: 12px;
    color: #6b7280;
    margin-top: 6px;
}

.storefront-review-summary {
    display: flex;
    gap: 20px;
    background: #fff;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.storefront-review-list {
    background: #fff;
    border-radius: 12px;
    padding: 16px;
}

.summary-number {
    font-size: 28px;
    font-weight: 700;
}

.summary-count {
    font-size: 12px;
    color: #64748b;
}

.summary-bars {
    flex: 1;
    min-width: 220px;
}

.bar-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
    font-size: 12px;
}

.bar-track {
    flex: 1;
    height: 6px;
    background: #e2e8f0;
    border-radius: 999px;
}

.bar-fill {
    height: 100%;
    background: #f59e0b;
    border-radius: 999px;
}

.bar-count {
    width: 24px;
    text-align: right;
    color: #94a3b8;
}

.review-item {
    padding: 12px 0;
    border-bottom: 1px solid #f1f5f9;
}

.review-item:last-child {
    border-bottom: none;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
}

.review-user {
    display: flex;
    align-items: center;
    gap: 10px;
}

.review-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #0f766e;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    overflow: hidden;
}

.review-name {
    font-weight: 600;
    font-size: 13px;
}

.review-date {
    font-size: 11px;
    color: #94a3b8;
}

.review-content {
    font-size: 13px;
    color: #475569;
    margin-top: 6px;
}

.review-listing {
    margin-top: 6px;
    font-size: 12px;
    color: #64748b;
    background: #f8fafc;
    padding: 4px 8px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: #166534;
    background: #dcfce7;
    padding: 2px 6px;
    border-radius: 999px;
    margin-left: 6px;
}

.review-rating i,
.review-stars i {
    color: #f59e0b;
}

.review-stars i.empty,
.review-rating i.empty {
    color: #e2e8f0;
}

.tab-btn {
    padding: 8px 14px;
    border: none;
    background: none;
    font-weight: 600;
    color: #6c757d;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
}

.tab-btn.active {
    color: #0f766e;
    border-bottom-color: #0f766e;
}

.storefront-page .badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 6px;
    border-radius: 999px;
    background: #e2e8f0;
    color: #475569;
    font-size: 11px;
    font-weight: 600;
}

.storefront-page .bg-secondary {
    background: #e2e8f0;
}

.storefront-page .rounded-pill {
    border-radius: 999px;
}

.storefront-page .ms-1 {
    margin-left: 4px;
}

.storefront-modal {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99;
    padding: 20px;
}

.storefront-modal.active {
    display: flex;
}

.storefront-modal-card {
    background: #fff;
    border-radius: 14px;
    padding: 20px;
    width: min(420px, 100%);
    display: grid;
    gap: 10px;
}

body.modal-open {
    overflow: hidden;
}

.storefront-policy-modal .policy-modal-card {
    width: min(460px, 100%);
    padding: 18px;
    border-radius: 18px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.2);
}

.storefront-policy-modal .policy-modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.storefront-policy-modal .policy-modal-title {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
}

.storefront-policy-modal .policy-modal-subtitle {
    font-size: 12px;
    color: #64748b;
    margin-top: 2px;
}

.storefront-policy-modal .policy-modal-close {
    border: none;
    background: #f1f5f9;
    color: #475569;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.storefront-policy-modal .policy-modal-close:hover {
    background: #e2e8f0;
    transform: translateY(-1px);
}

.storefront-hours-modal .hours-modal-card {
    width: min(420px, 100%);
    padding: 18px;
    border-radius: 18px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.2);
}

.storefront-hours-modal .hours-modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.storefront-hours-modal .hours-modal-title {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
}

.storefront-hours-modal .hours-modal-subtitle {
    font-size: 12px;
    color: #64748b;
    margin-top: 2px;
}

.storefront-hours-modal .hours-modal-close {
    border: none;
    background: #f1f5f9;
    color: #475569;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.storefront-hours-modal .hours-modal-close:hover {
    background: #e2e8f0;
    transform: translateY(-1px);
}

.storefront-hours-modal .hours-modal-body {
    display: grid;
    gap: 10px;
}

.storefront-hours-modal .hours-modal-empty {
    margin: 0;
    font-size: 13px;
    color: #64748b;
}

.storefront-hours-modal .hours-list {
    display: grid;
    gap: 8px;
}

.storefront-hours-modal .hours-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 10px;
    border-radius: 10px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    font-size: 13px;
}

.storefront-hours-modal .hours-row.open .hours-time {
    color: #0f766e;
    font-weight: 700;
}

.storefront-hours-modal .hours-row.closed .hours-time {
    color: #9ca3af;
    font-weight: 600;
}

.storefront-hours-modal .hours-day {
    color: #0f172a;
    font-weight: 600;
}

.storefront-policy-modal .policy-modal-body {
    display: grid;
    gap: 10px;
}

.storefront-policy-modal .policy-modal-text {
    font-size: 13px;
    color: #475569;
    margin: 0;
    line-height: 1.5;
}

.storefront-policy-modal .policy-modal-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.storefront-policy-modal .policy-modal-chip {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 12px;
    color: #475569;
}

.storefront-policy-modal.active .policy-modal-card {
    animation: policyModalPop 0.22s ease;
}

@keyframes policyModalPop {
    from {
        opacity: 0;
        transform: translateY(14px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.storefront-social-links {
    display: grid;
    gap: 10px;
}

.storefront-social-link {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    color: #0f172a;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.storefront-social-link:hover {
    transform: translateY(-1px);
    border-color: #cbd5f5;
    box-shadow: 0 12px 22px rgba(15, 23, 42, 0.1);
}

.storefront-social-link .social-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: #e2e8f0;
    color: #0f766e;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.storefront-social-link .social-label {
    line-height: 1.2;
}

.storefront-social-link .social-hint {
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    padding: 3px 8px;
}

.storefront-social .policy-text {
    font-size: 12px;
    color: #64748b;
    margin: 0;
}

@media (min-width: 992px) {
    .storefront-policy-modal .policy-modal-card {
        width: min(520px, 100%);
        padding: 22px;
    }

    .storefront-hours-modal .hours-modal-card {
        width: min(520px, 100%);
        padding: 22px;
    }
}

.storefront-modal-card input,
.storefront-modal-card textarea {
    width: 100%;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 8px 10px;
    font-size: 13px;
}

.modal-actions {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
}

.btn-primary {
    background: #0f766e;
    color: #fff;
    border: none;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 12px;
    cursor: pointer;
}

.btn-outline {
    background: #fff;
    border: 1px solid #e2e8f0;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 12px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .storefront-cover {
        height: 120px;
        margin-bottom: -40px;
    }

    .storefront-hero {
        padding: 16px;
    }

    .storefront-page .seller-hero-card {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }

    .storefront-page .storefront-logo {
        width: 96px;
        height: 96px;
        font-size: 28px;
        margin: -48px auto 0;
        border: 4px solid #fff;
        position: relative;
        z-index: 2;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
        border-radius: 20px;
    }

    .storefront-page .seller-info {
        text-align: center;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .storefront-page .seller-name-row {
        flex-direction: column;
        gap: 4px;
        margin-bottom: 6px;
    }

    .storefront-page .seller-name {
        font-size: 20px;
        text-align: center;
    }

    .storefront-page .seller-meta {
        font-size: 10.5px;
        justify-content: center;
        gap: 5px;
    }

    .storefront-page .seller-rating {
        flex-wrap: nowrap;
        justify-content: center;
    }

    .storefront-follow {
        justify-content: center;
        margin-left: 6px;
    }

    .storefront-follow-btn {
        font-size: 10px;
        padding: 3px 8px;
    }

    .storefront-follow-count {
        font-size: 10px;
        padding: 2px 6px;
    }

    .storefront-page .seller-actions {
        width: 100%;
        min-width: 0;
        margin-top: 4px;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .storefront-actions .btn-action {
        width: 100%;
        padding: 10px;
        justify-content: center;
        font-size: 12px;
    }

    /* Make the first button (WhatsApp) full width */
    .storefront-actions .btn-action:first-child {
        grid-column: span 2;
        background: #25d366;
        color: #fff;
        border-color: #25d366;
        font-weight: 600;
    }

    .storefront-qr-inline {
        display: none;
    }

    .storefront-verify .seller-badge {
        font-size: 11px !important;
        padding: 1px 4px;
        white-space: nowrap;
    }

    .storefront-verify {
        flex-wrap: nowrap;
        gap: 3px;
        overflow: visible;
    }

    .storefront-verify .seller-badge i {
        font-size: 9px;
    }

    .seller-listing-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
    }

    .storefront-card .seller-listing-img {
        height: 120px;
    }

    .storefront-page .ad-img-container {
        height: 120px;
    }

    .seller-listing-content {
        padding: 8px;
    }

    .ad-title {
        font-size: 12px;
        line-height: 1.4;
        height: 34px;
        overflow: hidden;
    }

    .ad-price {
        font-size: 13px;
    }

    /* Sleek & Compact Mini Stats for Mobile */
    .storefront-mini-stats {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        width: 100%;
        margin-top: 5px;
    }

    .storefront-mini-stats .mini-stat {
        width: 100%;
        min-width: 0;
        padding: 5px 3px;
        background: #f8fafc;
        border: 1px solid #eef2f6;
        border-radius: 12px;
        display: flex;
        align-items: center;
        gap: 10px;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
        justify-content: flex-start;
    }

    .storefront-mini-stats .mini-stat-icon {
        width: 32px;
        height: 32px;
        border-radius: 8px;
        font-size: 13px;
        background: #fff;
        color: #0f766e;
        border: 1px solid #e2e8f0;
        flex-shrink: 0;
    }

    .storefront-mini-stats .mini-stat-body {
        text-align: left;
    }

    .storefront-mini-stats strong {
        font-size: 9px;
        color: #0f172a;
        font-weight: 700;
        display: block;
        line-height: 1.2;
    }

    .storefront-mini-stats span {
        font-size: 10.5px;
        color: #64748b;
        display: block;
        line-height: 1.2;
    }

    .storefront-inline-policy {
        display: block !important;
        margin-top: 9px;
        
        border-top: 1px solid #f1f5f9;
        width: 100%;
    }

    .inline-policy-row {
        gap: 8px;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .policy-item {
        background: #fff;
        border: 1px solid #e2e8f0;
        padding: 6px 10px;
        font-size: 11px;
        flex: 0 0 calc(50% - 4px);
        width: calc(50% - 4px);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .mobile-sidebar-toggle {
        display: block;
        width: 100%;
        padding: 12px 16px;
        background: #fff;
        border: 1px solid #e2e8f0;
        border-radius: 12px;
        margin-bottom: 12px;
        font-weight: 600;
        color: #0f172a;
        cursor: pointer;
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 13px;
    }

    .mobile-sidebar-toggle i {
        transition: transform 0.3s;
    }

    .mobile-sidebar-toggle.active i {
        transform: rotate(180deg);
    }

    .seller-sidebar {
        display: none;
        animation: fadeIn 0.3s;
    }

    .seller-sidebar.active {
        display: block;
    }

    .desktop-hide {
        display: inline-block;
    }

    .seller-sidebar-card .filter-title {
        display: flex;
        justify-content: space-between;
        align-items: center;
        cursor: pointer;
        user-select: none;
    }

    .seller-sidebar-card .filter-title .fa-chevron-down {
        transition: transform 0.3s;
    }

    .seller-sidebar-card.active .filter-title .fa-chevron-down {
        transform: rotate(180deg);
    }

    .sidebar-card-content {
        display: none;
        margin-top: 10px;
        padding-top: 10px;
        border-top: 1px solid #f1f5f9;
        animation: fadeIn 0.3s;
    }

    .seller-sidebar-card.active .sidebar-card-content {
        display: block;
    }

    @keyframes fadeIn {
        from {
            opacity: 0;
            transform: translateY(-5px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

@media (min-width: 992px) {
    .inline-policy-compact {
        flex-wrap: nowrap;
    }

    .desktop-hide {
        display: none !important;
    }
}
