/**
 * TeachAcademy Single Store Page Styles
 * Matches the single-product page design language
 */

/* === Base === */
.teachacademy-store-single {
    min-height: 100vh;
}

/* === Store Banner === */
.store-banner {
    width: 100%;
    height: 220px;
    background-size: cover;
    background-position: center;
    border-radius: 14px;
    margin-bottom: -40px;
}

/* Push card down so it overlaps the banner bottom edge */
.store-header-card--has-banner {
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}

/* === Store Header Card === */
.store-single-header {
    padding: 32px 0 0;
}

.store-header-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 32px 36px;
    display: flex;
    gap: 28px;
    align-items: flex-start;
}

/* Avatar */
.store-single-avatar {
    position: relative;
    flex-shrink: 0;
}

.store-single-avatar img {
    width: 88px !important;
    height: 88px !important;
    border-radius: 50%;
    border: 2px solid #e5e7eb;
    object-fit: cover;
}

.store-single-avatar .verified-badge {
    position: absolute;
    bottom: 0;
    right: 0;
    background: white;
    border-radius: 50%;
    padding: 2px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    line-height: 0;
}

/* Store Info */
.store-header-info {
    flex: 1;
    min-width: 0;
}

/* Top row: name left, follow right */
.store-header-top {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
}

.store-single-name {
    font-size: 22px;
    font-weight: 700;
    color: #27282c;
    letter-spacing: -0.01em;
    line-height: 1.3;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.store-header-actions-right {
    margin-left: auto;
    flex-shrink: 0;
}

/* Override Dokan follow button to match our style */
.store-header-actions-right .dokan-follow-store-button,
.store-header-actions-right .dokan-follow-store-button-group .dokan-btn {
    background: #6CD3C2 !important;
    border: 2px solid #6CD3C2 !important;
    color: #fff !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    padding: 6px 22px !important;
    border-radius: 8px !important;
    transition: all 0.2s ease !important;
    line-height: 1.4 !important;
    white-space: nowrap !important;
    position: relative;
}

/* Tooltip on hover */
.store-header-actions-right .dokan-follow-store-button::after {
    content: 'Få notiser när något nytt händer';
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    background: #27282c;
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.4;
    padding: 6px 12px;
    border-radius: 6px;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    z-index: 10;
}

/* Tooltip arrow */
.store-header-actions-right .dokan-follow-store-button::before {
    content: '';
    position: absolute;
    bottom: calc(100% + 4px);
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: #27282c;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    z-index: 10;
}

.store-header-actions-right .dokan-follow-store-button:hover::after,
.store-header-actions-right .dokan-follow-store-button:hover::before {
    opacity: 1;
    visibility: visible;
}

/* Hide tooltip when already following (unfollow state shows instead) */
.store-header-actions-right .dokan-follow-store-button[data-status="following"]::after,
.store-header-actions-right .dokan-follow-store-button[data-status="following"]::before {
    display: none;
}

/* Click flash — button goes white briefly */
@keyframes followFlash {
    0%   { background: #fff !important; color: #6CD3C2 !important; border-color: #6CD3C2 !important; }
    100% { background: #6CD3C2 !important; color: #fff !important; border-color: #6CD3C2 !important; }
}

.store-header-actions-right .dokan-follow-store-button.ta-flash {
    animation: followFlash 0.45s ease forwards;
}

.store-header-actions-right .dokan-follow-store-button:hover,
.store-header-actions-right .dokan-follow-store-button-group .dokan-btn:hover {
    background: #5ac4b3 !important;
    border-color: #5ac4b3 !important;
}

/* Following state — outlined with checkmark */
.store-header-actions-right .dokan-follow-store-button[data-status="following"] {
    background: rgba(108, 211, 194, 0.1) !important;
    border-color: #6CD3C2 !important;
    color: #6CD3C2 !important;
}

.store-header-actions-right .dokan-follow-store-button[data-status="following"] .dokan-follow-store-button-label-current::before {
    content: "✓ ";
}

/* Following + hover — unfollow warning */
.store-header-actions-right .dokan-follow-store-button[data-status="following"]:hover {
    background: rgba(239, 68, 68, 0.08) !important;
    border-color: #ef4444 !important;
    color: #ef4444 !important;
}

/* ── Follow button loading / working state ── */
/* Replace Dokan's Font Awesome spinner with a pure CSS border-spinner */
.dokan-follow-store-button.dokan-follow-store-button-working {
    color: transparent !important;
    pointer-events: none;
}

.dokan-follow-store-button.dokan-follow-store-button-working > span {
    opacity: 0 !important;
}

.dokan-follow-store-button.dokan-follow-store-button-working::after {
    content: "" !important;
    font-family: inherit !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    width: 16px !important;
    height: 16px !important;
    margin: -8px 0 0 -8px !important;
    border: 2px solid rgba(255, 255, 255, 0.35) !important;
    border-top-color: #fff !important;
    border-radius: 50% !important;
    animation: taFollowSpin 0.6s linear infinite !important;
    font-size: 0 !important;
    color: transparent !important;
}

/* Spinner on outlined / following state */
.dokan-follow-store-button[data-status="following"].dokan-follow-store-button-working::after {
    border-color: rgba(108, 211, 194, 0.3) !important;
    border-top-color: #6CD3C2 !important;
}

@keyframes taFollowSpin {
    to { transform: rotate(360deg); }
}

/* Meta row: stats + social inline */
.store-meta-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

/* Stats as chips */
.store-single-stats {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    align-items: center;
}

.stat-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    background: #f4f4f5;
    border-radius: 6px;
    font-size: 13px;
    color: #52525b;
    white-space: nowrap;
}

.stat-chip svg {
    flex-shrink: 0;
    color: #6CD3C2;
}

.stat-chip .stat-value {
    font-weight: 700;
    color: #27282c;
}

.stat-chip .stat-label {
    color: #71717a;
    font-weight: 400;
}

/* Social Links — inline after stats */
.store-social-links {
    display: flex;
    gap: 2px;
    align-items: center;
    margin-left: 6px;
    padding-left: 14px;
    border-left: 1px solid #e5e7eb;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 6px;
    color: #a1a1aa;
    transition: color 0.2s ease;
    text-decoration: none;
}

.social-link:hover {
    text-decoration: none;
}

/* Platform-specific hover colours */
.social-link--fb:hover        { color: #1877F2; }
.social-link--twitter:hover   { color: #000000; }
.social-link--instagram:hover { color: #E4405F; }
.social-link--youtube:hover   { color: #FF0000; }
.social-link--linkedin:hover  { color: #0A66C2; }
.social-link--tiktok:hover    { color: #000000; }
.social-link--pinterest:hover { color: #E60023; }
.social-link--threads:hover   { color: #000000; }
.social-link--flickr:hover    { color: #0063DC; }

.social-link svg {
    flex-shrink: 0;
}

/* Description */
.store-single-description {
    margin-bottom: 12px;
    max-width: 600px;
}

.store-single-description p {
    font-size: 14px;
    line-height: 1.65;
    color: #71717a;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Action links row — subtle text-style links */
.store-action-links {
    display: flex;
    align-items: center;
    gap: 0;
    flex-wrap: wrap;
}

.store-action-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 2px;
    background: none;
    border: none;
    color: #71717a;
    font-size: 13px;
    font-weight: 500;
    font-family: inherit;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.15s ease;
    white-space: nowrap;
}

.store-action-link:hover {
    color: #6CD3C2;
    text-decoration: none;
}

.store-action-link svg {
    flex-shrink: 0;
    opacity: 0.6;
}

.store-action-link:hover svg {
    opacity: 1;
}

.store-action-sep {
    width: 1px;
    height: 14px;
    background: #d4d4d8;
    margin: 0 10px;
}

/* === Contact Modal === */
.store-contact-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    align-items: center;
    justify-content: center;
}

.store-contact-modal.is-open {
    display: flex;
}

.store-contact-modal__backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.store-contact-modal__content {
    position: relative;
    background: #fff;
    border-radius: 14px;
    width: 90%;
    max-width: 480px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    animation: modalSlideIn 0.25s ease;
    overflow: hidden;
}

@keyframes modalSlideIn {
    from { opacity: 0; transform: translateY(20px) scale(0.97); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.store-contact-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px 16px;
    border-bottom: 1px solid #e5e7eb;
}

.store-contact-modal__header h3 {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    color: #27282c;
}

.store-contact-modal__close {
    background: none;
    border: none;
    padding: 4px;
    cursor: pointer;
    color: #71717a;
    border-radius: 6px;
    transition: all 0.15s;
    display: flex;
}

.store-contact-modal__close:hover {
    background: #f4f4f5;
    color: #27282c;
}

.store-contact-modal__body {
    padding: 20px 24px 24px;
}

/* Override Dokan contact form styles inside modal */
.store-contact-form-wrap ul,
.store-contact-form-wrap li {
    list-style: none;
    padding: 0;
    margin: 0;
}

.store-contact-form-wrap .dokan-form-group {
    margin-bottom: 14px;
}

.store-contact-form-wrap .dokan-form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #52525b;
    margin-bottom: 4px;
}

.store-contact-form-wrap .dokan-form-control {
    width: 100% !important;
    padding: 10px 14px !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    transition: border-color 0.2s ease !important;
    font-family: inherit !important;
}

.store-contact-form-wrap .dokan-form-control:focus {
    border-color: #6CD3C2 !important;
    box-shadow: 0 0 0 3px rgba(108, 211, 194, 0.15) !important;
    outline: none !important;
}

.store-contact-form-wrap textarea.dokan-form-control {
    min-height: 100px;
    resize: vertical;
}

.store-contact-form-wrap .dokan-btn-theme,
.store-contact-form-wrap input[type="submit"] {
    background: #6CD3C2 !important;
    border-color: #6CD3C2 !important;
    color: #fff !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    padding: 10px 24px !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    transition: background 0.2s ease !important;
    width: 100%;
}

.store-contact-form-wrap .dokan-btn-theme:hover,
.store-contact-form-wrap input[type="submit"]:hover {
    background: #5ac4b3 !important;
    border-color: #5ac4b3 !important;
}

/* Hide widget title if any leaks through */
.store-contact-form-wrap > span[style*="display:none"] {
    display: none !important;
}

/* === Share Toast === */
.store-share-toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: #27282c;
    color: #fff;
    padding: 12px 22px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    z-index: 99999;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}

.store-share-toast.is-visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

/* === Store Tabs === */
.store-tabs-wrapper {
    background: transparent;
    margin-top: 24px;
    margin-bottom: 0;
}

.store-tabs-wrapper .container {
    padding: 0;
}

.store-tabs-inner {
    border-bottom: 2px solid #e5e7eb;
}

.store-tabs {
    display: flex;
    gap: 0;
    list-style: none;
    padding: 0;
    margin: 0;
}

.store-tabs li {
    margin: 0;
}

.store-tabs li .store-tab-btn {
    display: block;
    padding: 12px 20px;
    color: #71717a;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    background: none;
    cursor: pointer;
    font-family: inherit;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.store-tabs li .store-tab-btn:hover {
    color: #27282c;
}

.store-tabs li.active .store-tab-btn {
    color: #27282c;
    font-weight: 600;
    border-bottom-color: #6CD3C2;
}

/* === Tab Panels === */
.store-tab-panel {
    display: none;
    padding-top: 28px;
}

.store-tab-panel.active {
    display: block;
}

/* === Products Section === */
.store-single-products {
    padding: 0 0 80px 0;
}

/* 5-column grid on store pages (xl breakpoint) */
@media (min-width: 1200px) {
    .col-xl-store-5 {
        flex: 0 0 20%;
        max-width: 20%;
    }
}

/* Cleaner cards on store page — no vendor badge, action below card */
.teachacademy-store-single .product-card__body {
    padding-bottom: 12px;
}

/* Sale badge on store product cards */
.teachacademy-store-single .product-card__image-wrapper {
    position: relative;
}

.teachacademy-store-single .product-card__sale-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 6;
    display: inline-flex;
    align-items: center;
    padding: 4px 8px;
    border-radius: 6px;
    background: #27282c;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.01em;
    pointer-events: none;
}

/* Tighter card title on 5-col grid */
.teachacademy-store-single .product-card__title .woocommerce-loop-product__title {
    font-size: 13px;
    line-height: 1.35;
}

/* Title link */
.teachacademy-store-single .product-card__title a {
    color: #111827;
    text-decoration: none;
}

.teachacademy-store-single .product-card__title a:hover {
    color: #4db8a7;
}

/* === Filter Bar === */
.store-filter-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 28px;
    position: relative;          /* anchor for mega dropdown */
}

.filter-group {
    position: relative;          /* anchor for normal dropdowns */
}

.filter-group-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 16px;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #27282c;
    cursor: pointer;
    transition: all 0.15s ease;
    white-space: nowrap;
    font-family: inherit;
    line-height: 1.4;
}

.filter-group-toggle:hover {
    border-color: #6CD3C2;
    background: #f8fffe;
}

.filter-group.open .filter-group-toggle {
    border-color: #6CD3C2;
    background: #f0fdf9;
    color: #27282c;
}

.filter-group.has-active .filter-group-toggle {
    border-color: #6CD3C2;
    background: #f0fdf9;
}

.filter-chevron {
    width: 16px;
    height: 16px;
    color: #71717a;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.filter-group.open .filter-chevron {
    transform: rotate(180deg);
}

/* ---- Dropdown base ---- */
.filter-group-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    z-index: 100;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.10);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: all 0.15s ease;
}

.filter-group.open .filter-group-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* ---- Wide dropdown (Årskurs, Resurstyp) ---- */
.filter-dropdown--wide {
    min-width: 340px;
    max-width: 520px;
}

/* ---- Mega dropdown (Ämne) ---- */
.filter-dropdown--mega {
    position: absolute;
    left: 0;
    right: 0;
    min-width: 0;
    max-width: none;
    max-height: 70vh;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 16px 20px;
}

/* Custom scrollbar */
.filter-dropdown--mega::-webkit-scrollbar {
    width: 6px;
}
.filter-dropdown--mega::-webkit-scrollbar-track {
    background: transparent;
}
.filter-dropdown--mega::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 3px;
}
.filter-dropdown--mega::-webkit-scrollbar-thumb:hover {
    background: #9ca3af;
}

.filter-group--mega {
    position: static;
}

/* Row-based layout: heading on left, chips flow right */
.filter-mega-rows {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.filter-mega-row {
    display: flex;
    align-items: baseline;
    gap: 14px;
    padding: 7px 0;
    border-bottom: 1px solid #f3f4f6;
}

.filter-mega-row:last-child {
    border-bottom: none;
}

.filter-mega-heading {
    flex-shrink: 0;
    width: 120px;
    font-size: 11px;
    font-weight: 700;
    color: #52525b;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    line-height: 1.3;
    padding-top: 2px;
}

/* ---- Chips ---- */
.filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.filter-chip {
    display: inline-block;
    padding: 5px 12px;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    color: #52525b;
    text-decoration: none;
    transition: all 0.15s ease;
    white-space: nowrap;
}

.filter-chip:hover {
    background: #e8faf7;
    border-color: #6CD3C2;
    color: #27282c;
    text-decoration: none;
}

.filter-chip.active {
    background: #6CD3C2;
    border-color: #6CD3C2;
    color: #ffffff;
    font-weight: 600;
}

.filter-chip.active:hover {
    background: #5ac4b3;
    border-color: #5ac4b3;
    color: #ffffff;
}

/* ---- Clear / Återställ ---- */
.filter-clear {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 9px 14px;
    font-size: 13px;
    font-weight: 500;
    color: #71717a;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.15s ease;
}

.filter-clear:hover {
    color: #ef4444;
    background: #fef2f2;
    text-decoration: none;
}

.filter-clear svg {
    flex-shrink: 0;
}

.products-header {
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e5e7eb;
}

.products-header h2 {
    font-size: 20px;
    font-weight: 700;
    color: #27282c;
    letter-spacing: -0.01em;
    margin: 0;
}

/* Product Grid */
.seller-items {
    margin-bottom: 40px;
}

/* No Products */
.no-products {
    text-align: center;
    padding: 60px 20px;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
}

.no-products p {
    font-size: 15px;
    color: #71717a;
    margin: 0;
}

/* === Reviews Section (Recensioner tab) === */
.store-reviews-section {
    padding-bottom: 80px;
}

/* -- Inline Review Form -- */
.store-review-form-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 28px 32px;
    margin-bottom: 32px;
}

.store-review-form-card h3 {
    font-size: 17px;
    font-weight: 700;
    color: #27282c;
    margin: 0 0 20px;
}

.review-form-rating {
    margin-bottom: 18px;
}

.review-form-rating label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #52525b;
    margin-bottom: 6px;
}

.review-form-rating .jq-ry-container {
    padding: 0 !important;
}

.review-form-group {
    margin-bottom: 14px;
}

.review-form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #52525b;
    margin-bottom: 4px;
}

.review-form-group .dokan-form-control {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.2s ease;
    background: #fff;
    box-sizing: border-box;
}

.review-form-group .dokan-form-control:focus {
    border-color: #6CD3C2;
    box-shadow: 0 0 0 3px rgba(108, 211, 194, 0.15);
    outline: none;
}

.review-form-actions {
    margin-top: 4px;
}

.review-form-submit {
    background: #6CD3C2;
    border: none;
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    padding: 10px 28px;
    border-radius: 8px;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.2s ease;
}

.review-form-submit:hover {
    background: #5ac4b3;
}

.review-form-message {
    margin-top: 12px;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
}

.review-form-message.success {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.review-form-message.error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.store-review-login-prompt {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px 24px;
    margin-bottom: 28px;
    text-align: center;
}

.store-review-login-prompt p {
    margin: 0;
    font-size: 14px;
    color: #71717a;
}

.store-review-login-prompt a {
    color: #6CD3C2;
    font-weight: 600;
    text-decoration: none;
}

.store-review-login-prompt a:hover {
    text-decoration: underline;
}

/* -- Reviews Summary Bar -- */
.store-reviews-summary {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    background: #fafafa;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    margin-bottom: 24px;
}

.store-reviews-summary__score {
    font-size: 32px;
    font-weight: 800;
    color: #27282c;
    line-height: 1;
}

.store-reviews-summary__info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.store-reviews-summary__count {
    font-size: 13px;
    color: #71717a;
}

/* -- Review Cards -- */
.store-reviews-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.store-review-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px 24px;
    transition: box-shadow 0.15s ease;
}

.store-review-card:hover {
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.store-review-card__header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.store-review-card__avatar img {
    width: 40px !important;
    height: 40px !important;
    border-radius: 50%;
    object-fit: cover;
}

.store-review-card__meta {
    flex: 1;
    min-width: 0;
}

.store-review-card__meta strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #27282c;
}

.store-review-card__meta time {
    font-size: 12px;
    color: #a1a1aa;
}

.store-review-card__stars {
    display: flex;
    gap: 2px;
    flex-shrink: 0;
}

.store-review-card__stars svg {
    flex-shrink: 0;
}

.store-review-card__title {
    font-size: 15px;
    font-weight: 600;
    color: #27282c;
    margin: 0 0 6px;
}

.store-review-card__content {
    font-size: 14px;
    line-height: 1.65;
    color: #52525b;
    margin: 0;
}

/* Empty reviews state */
.store-reviews-empty {
    text-align: center;
    padding: 48px 20px;
    color: #a1a1aa;
    font-size: 15px;
    background: #fafafa;
    border: 1px dashed #e5e7eb;
    border-radius: 12px;
}

.store-reviews-empty svg {
    display: block;
    margin: 0 auto 12px;
}

.store-reviews-empty p {
    margin: 0;
}

/* === About Section (Om tab) === */
.store-about-section {
    padding-bottom: 80px;
}

.store-about-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 32px;
}

.store-about-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f3f4f6;
}

.store-about-avatar img {
    width: 56px !important;
    height: 56px !important;
    border-radius: 50%;
    border: 2px solid #e5e7eb;
}

.store-about-name h3 {
    font-size: 18px;
    font-weight: 700;
    color: #27282c;
    margin: 0 0 2px;
}

.store-about-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 500;
    color: #10b981;
}

.store-about-bio {
    margin-bottom: 24px;
}

.store-about-bio p {
    font-size: 15px;
    line-height: 1.7;
    color: #52525b;
    margin: 0 0 12px;
}

.store-about-bio p:last-child {
    margin-bottom: 0;
}

.store-about-empty p {
    font-size: 14px;
    color: #a1a1aa;
    font-style: italic;
    margin: 0 0 24px;
}

.store-about-social {
    padding-top: 4px;
}

.store-about-social h4 {
    font-size: 13px;
    font-weight: 600;
    color: #52525b;
    margin: 0 0 10px;
}

.store-about-social__links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.store-about-social__link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 14px;
    background: #f4f4f5;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    color: #52525b;
    text-decoration: none;
    transition: all 0.15s ease;
}

.store-about-social__link:hover {
    background: #e8faf7;
    border-color: #6CD3C2;
    color: #27282c;
    text-decoration: none;
}

.store-about-social__link svg {
    opacity: 0.5;
}

/* === Responsive === */
@media (max-width: 991px) {
    .store-header-card {
        padding: 24px;
    }

    .store-single-name {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .store-banner {
        height: 140px;
        border-radius: 10px;
        margin-bottom: -28px;
    }

    .store-header-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 24px 20px;
        gap: 16px;
    }

    .store-single-avatar img {
        width: 72px !important;
        height: 72px !important;
    }

    .store-header-top {
        flex-direction: column;
        gap: 10px;
    }

    .store-single-name {
        font-size: 20px;
        white-space: normal;
    }

    .store-header-actions-right {
        margin-left: 0;
    }

    .store-meta-row {
        flex-direction: column;
        gap: 10px;
    }

    .store-single-stats {
        justify-content: center;
    }

    .store-social-links {
        margin-left: 0;
        padding-left: 0;
        border-left: none;
        justify-content: center;
    }

    .store-single-description {
        text-align: center;
        max-width: 100%;
    }

    .store-action-links {
        justify-content: center;
    }

    .store-contact-modal__content {
        width: 95%;
        margin: 0 auto;
    }

    .store-tabs li .store-tab-btn {
        padding: 10px 14px;
        font-size: 13px;
    }

    /* Filter bar stacks on mobile */
    .store-filter-bar {
        gap: 8px;
    }

    .filter-group-toggle {
        padding: 8px 14px;
        font-size: 13px;
    }

    .filter-dropdown--wide {
        min-width: 240px;
        max-width: calc(100vw - 40px);
    }

    .filter-dropdown--mega {
        max-height: 60vh;
        padding: 12px 14px;
    }

    .filter-mega-row {
        flex-direction: column;
        gap: 6px;
    }

    .filter-mega-heading {
        width: auto;
    }

    .products-header h2 {
        font-size: 18px;
    }

    /* About section mobile */
    .store-about-card {
        padding: 24px 20px;
    }

    .store-about-header {
        flex-direction: column;
        text-align: center;
    }

    .store-about-social__links {
        justify-content: center;
    }

    /* Reviews section mobile */
    .store-review-form-card {
        padding: 20px;
    }

    .store-review-card {
        padding: 16px 18px;
    }

    .store-review-card__header {
        flex-wrap: wrap;
    }

    .store-reviews-summary {
        flex-direction: column;
        text-align: center;
    }
}
