﻿.store-shell,
.store-auth-card {
    box-sizing: border-box;
    color: #172033;
    direction: rtl;
    font-family: Tahoma, Arial, sans-serif;
}

.store-shell *,
.store-auth-card * {
    box-sizing: border-box;
}

.store-shell {
    background: #f4f7fb;
    border: 1px solid #dfe7f1;
    border-radius: 16px;
    margin: 24px auto;
    max-width: 1180px;
    min-height: 420px;
    padding: 24px;
    text-align: right;
}

.store-auth-card {
    background: #fff;
    border: 1px solid #dfe7f1;
    border-radius: 16px;
    box-shadow: 0 14px 40px rgba(28, 49, 84, .12);
    margin: 48px auto;
    max-width: 560px;
    padding: 30px;
    text-align: right;
}

.store-shell h1,
.store-shell h2,
.store-shell h3,
.store-auth-card h1 {
    color: #183153;
    line-height: 1.6;
    margin: 0 0 16px;
}

.store-shell h1,
.store-auth-card h1 {
    font-size: 25px;
}

.store-shell h2 {
    font-size: 20px;
}

.store-shell p,
.store-auth-card p {
    line-height: 1.9;
}

.store-nav {
    align-items: center;
    background: #183153;
    border-radius: 12px;
    color: #fff;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: space-between;
    margin-bottom: 22px;
    padding: 12px;
}

.store-nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.store-nav a {
    background: rgba(255,255,255,.1);
    border-radius: 8px;
    color: #fff !important;
    display: inline-block;
    padding: 8px 11px;
    text-decoration: none;
}

.store-nav a:hover {
    background: rgba(255,255,255,.22);
}

.store-user-name {
    direction: ltr;
    font-size: 12px;
    overflow-wrap: anywhere;
}

.store-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.store-grid.store-grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.store-card,
.store-section {
    background: #fff;
    border: 1px solid #dfe7f1;
    border-radius: 12px;
    padding: 18px;
}

.store-section {
    margin-bottom: 18px;
}

.store-stat {
    color: #0f766e;
    display: block;
    font-size: 32px;
    font-weight: bold;
    margin-top: 8px;
}

.store-stat.store-stat-date {
    font-size: 22px;
    line-height: 1.7;
}

.store-stat.store-stat-date small {
    color: #64748b;
    display: block;
    direction: ltr;
    font-size: 16px;
    font-weight: bold;
    margin-top: 2px;
}

.store-field {
    margin-bottom: 15px;
}

.store-field label {
    display: block;
    font-weight: bold;
    margin-bottom: 7px;
}

.store-input,
.store-select,
.store-textarea,
.store-file {
    background: #fff;
    border: 1px solid #b9c8da;
    border-radius: 8px;
    direction: rtl;
    font-family: Tahoma, Arial, sans-serif;
    font-size: 14px;
    min-height: 42px;
    padding: 9px 11px;
    width: 100%;
}

.store-input[type=email],
.store-input[type=tel],
.store-input.store-ltr {
    direction: ltr;
    text-align: left;
}

.store-textarea {
    min-height: 110px;
    resize: vertical;
}

.store-button,
.store-button-secondary,
.store-button-danger,
.store-button-success {
    border: 0;
    border-radius: 8px;
    color: #fff !important;
    cursor: pointer;
    display: inline-block;
    font-family: Tahoma, Arial, sans-serif;
    font-size: 14px;
    margin: 3px;
    min-height: 40px;
    padding: 9px 15px;
    text-decoration: none;
}

.store-button {
    background: #2563eb;
}

.store-button-secondary {
    background: #52657b;
}

.store-button-danger {
    background: #b42318;
}

.store-button-success {
    background: #0f766e;
}

.store-button[disabled],
.store-button-secondary[disabled],
.store-button-danger[disabled],
.store-button-success[disabled] {
    cursor: not-allowed;
    opacity: .55;
}

.store-message,
.store-validation-summary {
    background: #fff8e7;
    border: 1px solid #f3d58b;
    border-radius: 8px;
    color: #7a4d00;
    line-height: 1.9;
    margin-top: 15px;
    padding: 10px 12px;
}

.store-message:empty {
    display: none;
}

.store-validation {
    color: #b42318;
    margin-right: 5px;
}

.store-captcha {
    background: #fff;
    border: 1px solid #d7e0ea;
    border-radius: 6px;
    display: block;
    margin-top: 8px;
    max-width: 100%;
}

.store-table-wrap {
    overflow-x: auto;
}

.store-table {
    border-collapse: collapse;
    min-width: 760px;
    width: 100%;
}

.store-table th,
.store-table td {
    border-bottom: 1px solid #e4eaf1;
    padding: 11px 9px;
    text-align: right;
    vertical-align: top;
}

.store-table th {
    background: #edf3fa;
    color: #183153;
    white-space: nowrap;
}

.store-table small {
    color: #637083;
    display: block;
    line-height: 1.8;
}

.store-table .store-project-actions {
    min-width: 112px;
    white-space: normal;
}

.store-project-actions .store-button,
.store-project-actions .store-button-secondary,
.store-project-actions .store-button-danger,
.store-project-actions .store-button-success {
    box-sizing: border-box;
    display: block;
    font-size: 13px;
    margin: 0 0 7px;
    min-height: 36px;
    padding: 7px 10px;
    text-align: center;
    width: 100%;
}

.store-project-actions .store-button:last-child,
.store-project-actions .store-button-secondary:last-child,
.store-project-actions .store-button-danger:last-child,
.store-project-actions .store-button-success:last-child {
    margin-bottom: 0;
}

.store-badge {
    background: #e8eef6;
    border-radius: 999px;
    color: #334155;
    display: inline-block;
    font-size: 12px;
    padding: 4px 9px;
}

.store-price {
    color: #0f766e;
    direction: ltr;
    font-size: 18px;
    font-weight: bold;
}

.store-progress {
    background: #dbe4ef;
    border-radius: 999px;
    height: 12px;
    margin: 9px 0;
    overflow: hidden;
}

.store-progress > span {
    background: linear-gradient(90deg, #2563eb, #0f766e);
    display: block;
    height: 100%;
    transition: width .2s ease;
    width: 0;
}

.store-progress-label {
    color: #475569;
    direction: ltr;
    font-size: 12px;
    text-align: left;
}

.store-inline {
    align-items: end;
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.store-empty {
    color: #64748b;
    padding: 25px;
    text-align: center;
}

.store-ltr {
    direction: ltr;
    unicode-bidi: embed;
}

.store-required,
.store-character-count.is-error,
.store-image-manager-status.is-error,
.store-image-upload-label.is-error {
    color: #b42318;
}

.store-catalog-intro {
    background: #eaf2ff;
    border: 1px solid #c9dcfa;
    border-radius: 10px;
    color: #274568;
    margin-bottom: 20px;
    padding: 10px 14px;
}

.store-project-grid {
    align-items: stretch;
}

.store-project-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
}

.store-project-card > .store-button {
    align-self: flex-start;
    margin-top: auto;
}

.store-project-description {
    overflow-wrap: anywhere;
    white-space: pre-line;
}

.store-project-gallery {
    background: #f7f9fc;
    border: 1px solid #e1e8f1;
    border-radius: 10px;
    margin: 4px 0 15px;
    padding: 10px;
}

.store-gallery-heading {
    align-items: center;
    color: #334155;
    display: flex;
    font-size: 12px;
    justify-content: space-between;
    margin-bottom: 8px;
}

.store-gallery-carousel {
    align-items: center;
    direction: ltr;
    display: grid;
    gap: 6px;
    grid-template-columns: 32px minmax(0, 1fr) 32px;
    min-width: 0;
}

.store-gallery-strip {
    direction: ltr;
    display: flex;
    gap: 8px;
    min-width: 0;
    overflow-x: auto;
    padding: 2px;
    scroll-behavior: smooth;
    scrollbar-color: #9eb1c9 transparent;
    scrollbar-width: thin;
}

.store-gallery-strip::-webkit-scrollbar {
    height: 5px;
}

.store-gallery-strip::-webkit-scrollbar-thumb {
    background: #9eb1c9;
    border-radius: 99px;
}

.store-gallery-thumb {
    background: #fff;
    border: 2px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    flex: 0 0 88px;
    height: 64px;
    overflow: hidden;
    padding: 0;
    transition: border-color .18s ease, transform .18s ease;
}

.store-gallery-thumb:hover,
.store-gallery-thumb:focus {
    border-color: #2563eb;
    outline: 0;
    transform: translateY(-2px);
}

.store-gallery-thumb img {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.store-gallery-item-data {
    display: none;
}

.store-gallery-scroll-button {
    align-items: center;
    background: #e4ebf5;
    border: 0;
    border-radius: 8px;
    color: #183153;
    cursor: pointer;
    display: flex;
    font-size: 20px;
    height: 64px;
    justify-content: center;
    padding: 0;
    width: 32px;
}

.store-gallery-scroll-button:hover,
.store-gallery-scroll-button:focus {
    background: #cad8ea;
    outline: 2px solid #8fb5ee;
}

.store-gallery-modal {
    align-items: center;
    bottom: 0;
    display: none;
    inset: 0;
    justify-content: center;
    left: 0;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 100000;
}

.store-gallery-modal,
.store-gallery-modal * {
    box-sizing: border-box;
}

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

.store-gallery-backdrop {
    background: rgba(6, 16, 31, .86);
    bottom: 0;
    inset: 0;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
}

.store-gallery-modal-panel {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, .42);
    direction: rtl;
    max-height: calc(100vh - 30px);
    max-width: 1100px;
    overflow: hidden;
    position: relative;
    width: calc(100% - 32px);
    z-index: 1;
}

.store-gallery-close {
    align-items: center;
    background: #fff;
    border: 0;
    border-radius: 50%;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .24);
    color: #172033;
    cursor: pointer;
    display: flex;
    font-size: 28px;
    height: 42px;
    justify-content: center;
    left: 14px;
    line-height: 1;
    padding: 0 0 4px;
    position: absolute;
    top: 14px;
    width: 42px;
    z-index: 3;
}

.store-gallery-stage {
    align-items: center;
    background: #101827;
    display: flex;
    justify-content: center;
    min-height: 300px;
    padding: 18px 68px;
    position: relative;
}

.store-gallery-stage img {
    display: block;
    max-height: calc(100vh - 245px);
    max-width: 100%;
    object-fit: contain;
}

.store-gallery-nav {
    align-items: center;
    background: rgba(255,255,255,.92);
    border: 0;
    border-radius: 50%;
    color: #172033;
    cursor: pointer;
    display: flex;
    font-size: 28px;
    height: 48px;
    justify-content: center;
    position: absolute;
    top: calc(50% - 24px);
    width: 48px;
}

.store-gallery-previous {
    left: 12px;
}

.store-gallery-next {
    right: 12px;
}

.store-gallery-nav[disabled] {
    cursor: default;
    opacity: .28;
}

.store-gallery-caption {
    max-height: 190px;
    overflow-y: auto;
    padding: 14px 22px 20px;
    text-align: right;
}

.store-gallery-caption h2 {
    color: #183153;
    font-size: 21px;
    margin: 2px 0 7px;
}

.store-gallery-caption p {
    color: #3d4a5c;
    line-height: 1.9;
    margin: 0;
    overflow-wrap: anywhere;
    white-space: pre-line;
}

.store-gallery-counter {
    color: #64748b;
    direction: rtl;
    font-size: 12px;
}

body.store-gallery-open {
    overflow: hidden;
}

.store-image-manager-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: space-between;
    margin-bottom: 14px;
}

.store-image-manager-status {
    color: #475569;
    font-size: 13px;
    line-height: 1.8;
}

.store-image-admin-grid {
    display: grid;
    gap: 16px;
}

.store-image-admin-card {
    background: #f8fafc;
    border: 1px solid #d9e3ef;
    border-radius: 12px;
    display: grid;
    gap: 16px;
    grid-template-columns: 220px minmax(0, 1fr);
    overflow: hidden;
    padding: 14px;
}

.store-image-admin-preview {
    min-width: 0;
    position: relative;
}

.store-image-admin-preview img {
    background: #e9eef5;
    border-radius: 10px;
    display: block;
    height: 170px;
    object-fit: cover;
    width: 100%;
}

.store-image-admin-preview .store-image-state {
    bottom: 8px;
    position: absolute;
    right: 8px;
}

.store-image-state.is-published {
    background: #d9f4e8;
    color: #087052;
}

.store-image-admin-fields {
    min-width: 0;
}

.store-image-file-name {
    color: #334155;
    direction: ltr;
    font-size: 12px;
    margin-bottom: 6px;
    overflow-wrap: anywhere;
    text-align: left;
}

.store-image-upload-progress {
    background: #dbe4ef;
    border-radius: 999px;
    height: 10px;
    overflow: hidden;
}

.store-image-upload-progress > span {
    background: linear-gradient(90deg, #2563eb, #0f766e);
    display: block;
    height: 100%;
    transition: width .2s ease;
    width: 0;
}

.store-image-upload-label {
    color: #64748b;
    font-size: 12px;
    margin: 5px 0 12px;
}

.store-image-admin-card .store-textarea {
    min-height: 125px;
}

.store-character-count {
    color: #64748b;
    direction: ltr;
    display: block;
    font-size: 11px;
    margin-top: 4px;
    text-align: left;
}

.store-image-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

@media (min-width: 861px) and (max-width: 1100px) {
    .store-project-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    .store-grid,
    .store-grid.store-grid-2,
    .store-inline {
        grid-template-columns: 1fr;
    }

    .store-shell {
        border-radius: 0;
        margin: 10px 0;
        padding: 14px;
    }

    .store-auth-card {
        margin: 20px 10px;
        padding: 20px;
    }

    .store-image-admin-card {
        grid-template-columns: 1fr;
    }

    .store-image-admin-preview img {
        height: 210px;
    }
}

@media (max-width: 560px) {
    .store-gallery-modal-panel {
        border-radius: 10px;
        max-height: calc(100vh - 12px);
        width: calc(100% - 12px);
    }

    .store-gallery-stage {
        min-height: 240px;
        padding: 54px 12px 66px;
    }

    .store-gallery-stage img {
        max-height: calc(100vh - 270px);
    }

    .store-gallery-nav {
        bottom: 10px;
        top: auto;
    }

    .store-gallery-previous {
        left: calc(50% - 58px);
    }

    .store-gallery-next {
        right: calc(50% - 58px);
    }

    .store-gallery-caption {
        max-height: 205px;
        padding: 12px 16px 16px;
    }

    .store-gallery-close {
        height: 38px;
        left: 10px;
        top: 10px;
        width: 38px;
    }
}

.store-textarea-large {
    min-height: 190px;
}

.store-inline.store-inline-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.store-project-content-editor {
    background: #f7f9fc;
    border: 1px solid #dfe7f1;
    border-radius: 12px;
    margin: 18px 0;
    padding: 16px;
}

.store-file-upload-queue {
    display: grid;
    gap: 14px;
    margin: 16px 0;
}

.store-file-upload-card {
    background: #f8fafc;
    border: 1px solid #d9e3ef;
    border-radius: 12px;
    padding: 15px;
}

.store-file-upload-card.is-complete {
    background: #eefbf6;
    border-color: #9bd8c3;
}

.store-file-upload-heading,
.store-section-heading,
.store-project-hero,
.store-project-meta,
.store-project-card-actions,
.store-comment header,
.store-admin-comment-card header,
.store-admin-comment-meta,
.store-comment-admin-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: space-between;
}

.store-file-upload-heading {
    border-bottom: 1px solid #e1e8f1;
    margin-bottom: 14px;
    padding-bottom: 10px;
}

.store-file-upload-heading > div {
    min-width: 0;
}

.store-file-upload-heading strong,
.store-file-upload-heading span {
    display: block;
    overflow-wrap: anywhere;
}

.store-file-upload-heading span {
    color: #64748b;
    direction: ltr;
    font-size: 12px;
}

.store-project-card-actions {
    justify-content: flex-start;
    margin-top: auto;
}

.store-project-card-actions .store-button,
.store-project-card-actions .store-button-secondary {
    margin-top: 4px;
}

.store-project-hero {
    align-items: stretch;
    background: linear-gradient(135deg, #eef5ff, #f8fbff);
    border: 1px solid #cdddf1;
    border-radius: 14px;
    margin-bottom: 18px;
    padding: 22px;
}

.store-project-hero h1 {
    margin: 8px 0 12px;
}

.store-project-meta {
    color: #52657b;
    justify-content: flex-start;
}

.store-project-meta span {
    background: #fff;
    border: 1px solid #dfe7f1;
    border-radius: 8px;
    padding: 6px 10px;
}

.store-project-purchase-box {
    align-items: center;
    background: #fff;
    border: 1px solid #dce6f2;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 220px;
    padding: 18px;
}

.store-project-description-large {
    font-size: 15px;
    line-height: 2.15;
}

.store-detail-gallery-section {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 18px;
    width: 100%;
}

.store-detail-project-gallery {
    margin: 0;
    max-width: 100%;
    width: 100%;
}

.store-detail-gallery {
    align-items: flex-start;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-start;
}

.store-detail-gallery-item {
    background: #fff;
    border: 1px solid #d9e3ef;
    border-radius: 9px;
    cursor: pointer;
    flex: 0 0 150px;
    height: 112px;
    overflow: hidden;
    padding: 0;
    text-align: right;
    transition: box-shadow .18s ease, transform .18s ease;
    width: 150px;
}

.store-detail-gallery-item:hover,
.store-detail-gallery-item:focus {
    box-shadow: 0 10px 24px rgba(28, 49, 84, .16);
    outline: 2px solid #8fb5ee;
    transform: translateY(-3px);
}

.store-detail-gallery-item img {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.store-detail-gallery-caption {
    display: none;
}

.store-detail-gallery-caption strong,
.store-detail-gallery-caption span {
    display: block;
    line-height: 1.8;
}

.store-detail-gallery-caption span {
    color: #64748b;
    font-size: 12px;
    max-height: 46px;
    overflow: hidden;
}

.store-project-file-list {
    display: grid;
    gap: 12px;
}

.store-project-file-card {
    align-items: center;
    background: #f8fafc;
    border: 1px solid #e0e7f0;
    border-radius: 10px;
    display: grid;
    gap: 16px;
    grid-template-columns: minmax(0, 1fr) 220px;
    padding: 14px;
}

.store-project-file-card h3 {
    font-size: 16px;
    margin-bottom: 5px;
}

.store-project-file-card p {
    margin: 0;
}

.store-project-file-meta {
    color: #52657b;
    text-align: left;
}

.store-project-file-meta span,
.store-project-file-meta small {
    display: block;
    overflow-wrap: anywhere;
}

.store-comment-help {
    background: #eef5ff;
    border-radius: 8px;
    color: #36506f;
    padding: 9px 12px;
}

.store-comment-list {
    margin: 18px 0;
}

.store-comment {
    background: #fff;
    border: 1px solid #dfe7f1;
    border-right: 4px solid #94a8c1;
    border-radius: 10px;
    margin: 10px 0;
    padding: 13px 15px;
}

.store-comment.store-comment-depth-1 {
    margin-right: 34px;
    border-right-color: #2563eb;
}

.store-comment.store-comment-depth-2 {
    margin-right: 68px;
    border-right-color: #0f766e;
}

.store-comment.store-comment-depth-3 {
    margin-right: 102px;
    border-right-color: #7c3aed;
}

.store-comment.store-comment-depth-4 {
    margin-right: 136px;
    border-right-color: #b45309;
}

.store-comment.store-comment-depth-5 {
    margin-right: 170px;
    border-right-color: #be123c;
}

.store-comment.store-comment-depth-6 {
    margin-right: 204px;
    border-right-color: #475569;
}

.store-comment header {
    border-bottom: 1px solid #edf1f6;
    color: #334155;
    padding-bottom: 8px;
}

.store-comment time {
    color: #64748b;
    direction: ltr;
    font-size: 12px;
}

.store-comment p {
    line-height: 2;
    overflow-wrap: anywhere;
    white-space: pre-wrap;
}

.store-comment-reply-button,
.store-reply-context button {
    background: transparent;
    border: 0;
    color: #2563eb;
    cursor: pointer;
    font-family: Tahoma, Arial, sans-serif;
    padding: 4px 0;
}

.store-comment-form,
.store-comment-login-prompt {
    background: #f8fafc;
    border: 1px solid #dbe4ef;
    border-radius: 12px;
    margin-top: 20px;
    padding: 18px;
}

.store-reply-context {
    align-items: center;
    background: #eaf2ff;
    border-radius: 8px;
    color: #274568;
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    padding: 8px 11px;
}

.store-reply-context[hidden],
.store-comment-login-prompt [hidden] {
    display: none;
}

.store-message-success {
    background: #eaf8f2;
    border-color: #9bd8c3;
    color: #075f46;
}

.store-stat-inline {
    color: #0f766e;
    direction: ltr;
    font-size: 18px;
}

.store-admin-comment-list {
    display: grid;
    gap: 15px;
}

.store-admin-comment-card {
    background: #f8fafc;
    border: 1px solid #dbe4ef;
    border-radius: 12px;
    padding: 16px;
}

.store-admin-comment-card header {
    border-bottom: 1px solid #e3e9f1;
    padding-bottom: 10px;
}

.store-admin-comment-card header small {
    color: #64748b;
    display: block;
    margin-top: 4px;
}

.store-admin-comment-meta {
    color: #52657b;
    font-size: 12px;
    justify-content: flex-start;
    margin-top: 10px;
}

.store-admin-reply-box {
    background: #fff;
    border: 1px dashed #b9c8da;
    border-radius: 10px;
    margin-top: 13px;
    padding: 12px;
}

.store-admin-reply-box .store-textarea {
    min-height: 85px;
}

@media (max-width: 860px) {
    .store-inline.store-inline-2,
    .store-project-file-card {
        grid-template-columns: 1fr;
    }

    .store-project-purchase-box {
        width: 100%;
    }

    .store-comment.store-comment-depth-1,
    .store-comment.store-comment-depth-2,
    .store-comment.store-comment-depth-3,
    .store-comment.store-comment-depth-4,
    .store-comment.store-comment-depth-5,
    .store-comment.store-comment-depth-6 {
        margin-right: 20px;
    }
}

@media (max-width: 560px) {
    .store-detail-gallery {
        gap: 8px;
    }

    .store-detail-gallery-item {
        flex-basis: 118px;
        height: 90px;
        width: 118px;
    }
}

.store-file-metadata-description {
    min-height: 90px;
    min-width: 280px;
}

.store-file-queue-remove {
    flex: 0 0 auto;
    margin: 0;
}

.store-file-queue-remove[disabled] {
    cursor: default;
    opacity: .65;
}

.store-project-bulk-publish {
    align-items: center;
    background: #eefbf6;
    border: 1px solid #9bd8c3;
    border-radius: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: space-between;
    margin-top: 20px;
    padding: 16px;
}

.store-project-bulk-publish h3 {
    color: #075f46;
    margin: 0 0 5px;
}

.store-project-bulk-publish p {
    color: #365f54;
    line-height: 1.9;
    margin: 0;
    max-width: 720px;
}

@media (max-width: 560px) {
    .store-project-bulk-publish .store-button-success {
        width: 100%;
    }
}

/* Public project groups pages */
.store-groups-hero,
.store-group-projects-hero {
    align-items: center;
    background: linear-gradient(135deg, #eaf3ff, #f8fbff);
    border: 1px solid #cbdcf2;
    border-radius: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
    margin-bottom: 20px;
    padding: 24px;
}

.store-groups-hero > div:first-child,
.store-group-projects-hero > div:first-child {
    flex: 1 1 520px;
    min-width: 0;
}

.store-groups-hero h1,
.store-group-projects-hero h1 {
    margin: 8px 0 8px;
}

.store-groups-hero p,
.store-group-projects-hero p {
    color: #52657b;
    margin: 0;
}

.store-groups-summary {
    display: grid;
    flex: 0 1 330px;
    gap: 10px;
    grid-template-columns: repeat(2, minmax(120px, 1fr));
    width: 100%;
}

.store-groups-summary > div,
.store-group-project-count {
    background: #fff;
    border: 1px solid #dbe6f2;
    border-radius: 12px;
    padding: 15px;
    text-align: center;
}

.store-groups-summary strong,
.store-group-project-count strong {
    color: #0f766e;
    display: block;
    font-size: 27px;
    margin-bottom: 4px;
}

.store-groups-summary span,
.store-group-project-count span {
    color: #64748b;
    font-size: 12px;
}

.store-group-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.store-group-card {
    background: #fff;
    border: 1px solid #d9e4f0;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(24, 49, 83, .06);
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    transition: box-shadow .18s ease, transform .18s ease;
}

.store-group-card:hover {
    box-shadow: 0 14px 34px rgba(24, 49, 83, .13);
    transform: translateY(-3px);
}

.store-group-cover-link {
    background: #e8eef7;
    display: block;
    overflow: hidden;
    text-decoration: none;
}

.store-group-cover {
    display: block;
    height: 225px;
    object-fit: cover;
    transition: transform .25s ease;
    width: 100%;
}

.store-group-cover-link:hover .store-group-cover,
.store-group-cover-link:focus .store-group-cover {
    transform: scale(1.025);
}

.store-group-cover-placeholder {
    align-items: center;
    background: linear-gradient(135deg, #183153, #315f91);
    color: rgba(255,255,255,.9);
    display: flex;
    font-size: 30px;
    font-weight: bold;
    justify-content: center;
}

.store-group-card-body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    padding: 18px;
}

.store-group-card-heading {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: space-between;
}

.store-group-price-range {
    color: #0f766e;
    direction: ltr;
    font-size: 15px;
    font-weight: bold;
}

.store-group-card h2 {
    margin: 12px 0 8px;
}

.store-group-card h2 a {
    color: #183153 !important;
    text-decoration: none;
}

.store-group-card h2 a:hover,
.store-group-card h2 a:focus {
    color: #2563eb !important;
    text-decoration: underline;
}

.store-group-sample-projects {
    color: #64748b;
    flex: 1 1 auto;
    margin: 0 0 14px;
    min-height: 58px;
    overflow-wrap: anywhere;
}

.store-group-stats {
    border-bottom: 1px solid #e5ebf3;
    border-top: 1px solid #e5ebf3;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    margin-bottom: 14px;
    padding: 11px 0;
}

.store-group-stats span {
    color: #64748b;
}

.store-group-stats strong {
    color: #183153;
}

.store-group-open-button {
    align-self: flex-start;
}

.store-breadcrumb {
    align-items: center;
    color: #64748b;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 2px 14px;
}

.store-breadcrumb a {
    color: #2563eb !important;
    text-decoration: none;
}

.store-breadcrumb a:hover,
.store-breadcrumb a:focus {
    text-decoration: underline;
}

.store-group-project-count {
    flex: 0 0 190px;
}

.store-group-projects-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

@media (max-width: 860px) {
    .store-group-grid {
        grid-template-columns: 1fr;
    }

    .store-group-cover {
        height: 210px;
    }

    .store-group-project-count {
        flex: 1 1 100%;
    }
}

@media (max-width: 560px) {
    .store-groups-hero,
    .store-group-projects-hero {
        padding: 17px;
    }

    .store-groups-summary {
        grid-template-columns: 1fr 1fr;
    }

    .store-group-cover {
        height: 175px;
    }

    .store-group-open-button,
    .store-group-projects-footer .store-button-secondary {
        text-align: center;
        width: 100%;
    }
}


/* Project group SEO, compact cards and store search */
.store-search-box {
    align-items: stretch;
    background: #fff;
    border: 1px solid #d9e4f0;
    border-radius: 12px;
    display: flex;
    gap: 8px;
    margin: 0 0 18px;
    padding: 8px;
}

.store-search-input {
    border: 0;
    direction: rtl;
    flex: 1 1 auto;
    font: inherit;
    min-width: 0;
    outline: 0;
    padding: 10px 12px;
}

.store-search-button {
    background: #2563eb;
    border: 0;
    border-radius: 9px;
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-weight: bold;
    padding: 9px 24px;
}

.store-search-button:hover,
.store-search-button:focus { background: #1d4ed8; }
.store-search-auth-links {
    align-items: center;
    display: inline-flex;
    gap: 6px;
    white-space: nowrap;
}
.store-search-auth-links a {
    align-items: center;
    background: #eef5ff;
    border: 1px solid #d6e6ff;
    border-radius: 9px;
    color: #17365f;
    display: inline-flex;
    font-size: 13px;
    font-weight: bold;
    min-height: 38px;
    padding: 0 12px;
    text-decoration: none;
}
.store-search-auth-links a:hover,
.store-search-auth-links a:focus {
    background: #dcecff;
    color: #0b2f62;
    text-decoration: none;
}
.store-sr-only { height: 1px; overflow: hidden; position: absolute; width: 1px; clip: rect(0,0,0,0); }
.store-help { color: #64748b; font-size: 13px; margin-top: -5px; }

.admin-tree-panel {
    background: #fff;
    border: 1px solid #dbe5f1;
    border-radius: 12px;
    box-shadow: 0 18px 45px rgba(28,47,76,.08);
    padding: 18px;
}
.admin-tree-head {
    align-items: center;
    border-bottom: 1px solid #edf2f7;
    display: flex;
    gap: 12px;
    justify-content: space-between;
    margin-bottom: 16px;
    padding-bottom: 12px;
}
.admin-tree-head h2 {
    color: #16324f;
    font-size: 20px;
    margin: 0;
}
.admin-tree-head span {
    color: #64748b;
    font-size: 13px;
}
.admin-tree,
.admin-tree ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.admin-tree ul {
    border-right: 2px solid #dbeafe;
    margin: 8px 16px 0 0;
    padding-right: 14px;
}
.admin-tree li {
    margin: 7px 0;
}
.admin-tree-item {
    align-items: center;
    background: #f8fbff;
    border: 1px solid #dbe7f3;
    border-radius: 8px;
    display: flex;
    min-height: 38px;
    padding: 5px 10px;
}
.admin-tree-item.has-child {
    background: #eef7ff;
    border-color: #bfdbfe;
}
.admin-tree-item:before {
    background: #22c55e;
    border-radius: 50%;
    content: "";
    display: inline-block;
    height: 8px;
    margin-left: 8px;
    width: 8px;
}
.admin-tree-item a {
    color: #17365f;
    font-weight: bold;
    text-decoration: none;
}
.admin-tree-item a:hover,
.admin-tree-item a:focus {
    color: #0f766e;
    text-decoration: none;
}
.admin-tree-depth-1 > .admin-tree-item { margin-right: 4px; }
.admin-tree-depth-2 > .admin-tree-item { margin-right: 8px; }
.admin-tree-depth-3 > .admin-tree-item { margin-right: 12px; }
.admin-tree-depth-4 > .admin-tree-item { margin-right: 16px; }

.store-agent-button {
    background: transparent;
    border: 0;
    color: #1d4ed8;
    cursor: pointer;
    font: inherit;
    padding: 0;
    text-decoration: underline;
}
.store-agent-toast {
    align-items: center;
    background: rgba(15, 23, 42, .48);
    display: none;
    inset: 0;
    justify-content: center;
    position: fixed;
    z-index: 9999;
}
.store-agent-toast.is-visible { display: flex; }
.store-agent-toast-card {
    background: #fff;
    border: 1px solid #dbe7f3;
    border-radius: 12px;
    box-shadow: 0 24px 80px rgba(15,23,42,.28);
    max-width: min(620px, calc(100% - 28px));
    overflow: hidden;
    width: 620px;
}
.store-agent-toast-head {
    align-items: center;
    border-bottom: 1px solid #edf2f7;
    display: flex;
    justify-content: space-between;
    padding: 12px 14px;
}
.store-agent-toast-head strong { color: #16324f; }
.store-agent-toast-close {
    background: #eef3f8;
    border: 0;
    border-radius: 8px;
    color: #16324f;
    cursor: pointer;
    font-weight: bold;
    min-height: 32px;
    padding: 3px 12px;
}
.store-agent-toast-body {
    direction: ltr;
    line-height: 1.8;
    max-height: 220px;
    overflow: auto;
    padding: 14px;
    text-align: left;
    word-break: break-word;
}
.store-agent-toast-progress {
    animation: storeToastProgress 6s linear forwards;
    background: #22c55e;
    height: 4px;
    transform-origin: right center;
}

.store-agent-toast-green {
    background: rgba(6, 78, 59, .38);
}

.store-agent-toast-green .store-agent-toast-card {
    border-color: #86efac;
    box-shadow: 0 24px 80px rgba(6, 95, 70, .24);
}

.store-agent-toast-green .store-agent-toast-head {
    background: linear-gradient(135deg, #10b981 0%, #14b8a6 100%);
    border-bottom: 0;
}

.store-agent-toast-green .store-agent-toast-head strong {
    color: #fff;
}

.store-agent-toast-green .store-agent-toast-close {
    background: rgba(255,255,255,.2);
    color: #fff;
}

.store-agent-toast-green .store-agent-toast-progress {
    background: #16a34a;
}
@keyframes storeToastProgress {
    from { transform: scaleX(1); }
    to { transform: scaleX(0); }
}

.store-group-grid.store-group-grid-compact {
    gap: 13px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.store-group-card-compact .store-group-cover { height: 140px; }
.store-group-card-compact .store-group-card-body { padding: 13px; }
.store-group-card-compact h2 { font-size: 18px; margin: 8px 0 6px; }
.store-group-card-compact .store-group-card-heading { font-size: 12px; }
.store-group-short-description {
    color: #64748b;
    display: -webkit-box;
    font-size: 13px;
    line-height: 1.9;
    margin: 0 0 8px;
    min-height: 50px;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
.store-group-card-compact .store-group-stats { font-size: 12px; margin-bottom: 9px; padding: 7px 0; }
.store-group-card-compact .store-group-open-button { font-size: 12px; padding: 7px 12px; }
.store-groups-hero-compact { padding: 18px; }

.store-group-detail-hero {
    align-items: stretch;
    background: #eef5ff;
    border: 1px solid #cfdef1;
    border-radius: 15px;
    display: grid;
    gap: 22px;
    grid-template-columns: minmax(210px, 31%) 1fr;
    margin-bottom: 18px;
    overflow: hidden;
}
.store-group-detail-image { height: 100%; max-height: 340px; min-height: 230px; object-fit: cover; width: 100%; }
.store-group-detail-copy { align-self: center; padding: 24px 24px 24px 0; }
.store-group-detail-copy h1 { margin: 10px 0; }
.store-group-lead { color: #52657b; font-size: 16px; line-height: 2; }
.store-group-detail-meta { color: #183153; margin-top: 15px; }
.store-rich-text { color: #334155; line-height: 2.2; white-space: normal; }
.store-seo-tags { align-items: center; display: flex; flex-wrap: wrap; gap: 7px; margin-top: 18px; }
.store-seo-tags span { background: #eef5ff; border: 1px solid #d3e1f2; border-radius: 999px; color: #315f91; padding: 4px 10px; }
.store-project-facts { display: flex; gap: 16px; color: #64748b; }

.store-faq-list { display: grid; gap: 9px; }
.store-faq-item { background: #f8fafc; border: 1px solid #dbe6f2; border-radius: 10px; padding: 0 14px; }
.store-faq-item summary { color: #183153; cursor: pointer; font-weight: bold; padding: 13px 0; }
.store-faq-item div { border-top: 1px solid #e5ebf3; color: #52657b; line-height: 2; padding: 12px 0 15px; white-space: pre-line; }

.store-search-summary { background: #eef5ff; border-radius: 10px; color: #334155; margin-bottom: 15px; padding: 11px 14px; }
.store-search-group-grid { display: grid; gap: 10px; grid-template-columns: repeat(3, minmax(0,1fr)); }
.store-search-group-card { align-items: center; border: 1px solid #dbe6f2; border-radius: 10px; color: #183153 !important; display: flex; gap: 10px; padding: 8px; text-decoration: none; }
.store-search-group-image { border-radius: 8px; height: 70px; object-fit: cover; width: 90px; }
.store-search-group-card span { display: flex; flex-direction: column; min-width: 0; }
.store-search-group-card small { color: #64748b; display: -webkit-box; margin-top: 4px; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }

.store-group-admin-list { display: grid; gap: 14px; }
.store-group-admin-card { border: 1px solid #dbe6f2; border-radius: 12px; display: grid; gap: 16px; grid-template-columns: 165px 1fr; padding: 14px; }
.store-group-admin-image, .store-group-admin-no-image { border-radius: 10px; height: 135px; object-fit: cover; width: 100%; }
.store-group-admin-no-image { align-items: center; background: #e8eef7; color: #64748b; display: flex; justify-content: center; }
.store-group-admin-actions { align-items: center; justify-content: flex-start; }

.store-download-purchases { display: grid; gap: 18px; }
.store-download-purchase-card { background: #fff; border: 1px solid #d9e4f0; border-radius: 14px; overflow: hidden; }
.store-download-purchase-header { align-items: center; background: #f5f8fc; display: flex; gap: 20px; justify-content: space-between; padding: 15px 18px; }
.store-download-purchase-header h2 { font-size: 19px; margin: 7px 0 4px; }
.store-download-purchase-header p { color: #64748b; margin: 0; }
.store-download-purchase-summary { display: flex; flex-wrap: wrap; gap: 8px; }
.store-download-purchase-summary > span { background: #fff; border: 1px solid #dbe6f2; border-radius: 8px; padding: 7px 10px; }

.store-customer-result-list { display: grid; gap: 8px; }
.store-customer-result-card { align-items: center; border: 1px solid #dbe6f2; border-radius: 10px; display: grid; gap: 12px; grid-template-columns: 1fr 1fr auto; padding: 10px 12px; }
.store-customer-result-card > div { display: flex; flex-direction: column; }
.store-customer-result-card small { color: #64748b; margin-top: 4px; }
.store-customer-files-heading { align-items: center; display: flex; gap: 16px; justify-content: space-between; }

@media (max-width: 980px) {
    .store-group-grid.store-group-grid-compact,
    .store-search-group-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .store-group-admin-card { grid-template-columns: 130px 1fr; }
}

@media (max-width: 680px) {
    .store-search-box { flex-direction: column; }
    .store-search-button { width: 100%; }
    .store-search-auth-links { justify-content: center; width: 100%; }
    .store-search-auth-links a { justify-content: center; flex: 1 1 0; }
    .store-group-grid.store-group-grid-compact,
    .store-search-group-grid { grid-template-columns: 1fr; }
    .store-group-card-compact { display: grid; grid-template-columns: 120px 1fr; }
    .store-group-card-compact .store-group-cover { height: 100%; min-height: 170px; }
    .store-group-detail-hero { grid-template-columns: 1fr; }
    .store-group-detail-copy { padding: 18px; }
    .store-group-detail-image { min-height: 190px; }
    .store-group-admin-card { grid-template-columns: 1fr; }
    .store-group-admin-preview { max-width: 220px; }
    .store-download-purchase-header, .store-customer-files-heading { align-items: stretch; flex-direction: column; }
    .store-customer-result-card { grid-template-columns: 1fr; }
}


/* Compact group administration and payment archive/search */
.store-section-heading-row,
.store-page-heading {
    align-items: center;
    display: flex;
    gap: 18px;
    justify-content: space-between;
}

.store-page-heading { margin-bottom: 16px; }
.store-page-heading h1,
.store-section-heading-row h2 { margin-bottom: 5px; }
.store-page-heading p { color: #64748b; margin: 0; }
.store-compact-table td,
.store-compact-table th { padding: 10px 12px; vertical-align: middle; }
.store-row-number-column { text-align: center; width: 72px; }
.store-action-column { text-align: center; width: 150px; }
.store-group-state { color: #64748b; display: block; margin-top: 4px; }
.store-button-small { font-size: 12px; padding: 7px 11px; white-space: nowrap; }

.store-group-edit-layout {
    display: grid;
    gap: 24px;
    grid-template-columns: 230px minmax(0, 1fr);
}
.store-group-edit-preview { display: flex; flex-direction: column; gap: 10px; }
.store-group-edit-preview small { color: #64748b; line-height: 1.8; }
.store-group-edit-image,
.store-group-edit-preview .store-group-admin-no-image {
    border-radius: 12px;
    height: 190px;
    object-fit: cover;
    width: 100%;
}
.store-group-edit-fields { min-width: 0; }
.store-form-actions { align-items: center; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }

.store-payment-search-panel { margin-bottom: 18px; }
.store-filter-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}
.store-payment-table { min-width: 1420px; }
.store-payment-table td { vertical-align: top; }
.store-table-actions { display: flex; flex-direction: column; gap: 7px; min-width: 135px; }
.store-archived-row { background: #f8fafc; opacity: .92; }
.store-archive-badge { background: #475569; color: #fff; margin-right: 5px; }

@media (max-width: 1100px) {
    .store-filter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
    .store-section-heading-row,
    .store-page-heading { align-items: stretch; flex-direction: column; }
    .store-group-edit-layout { grid-template-columns: 1fr; }
    .store-group-edit-preview { max-width: 260px; }
    .store-filter-grid { grid-template-columns: 1fr; }
    .store-action-column { width: auto; }
}

.store-small-block { color: #64748b; display: block; font-size: 12px; margin-top: 4px; }

/* Instant payment archive actions */
.store-message-error {
    background: #fff1f2;
    border-color: #fecdd3;
    color: #9f1239;
}

.store-payment-table tbody tr {
    transition: opacity .18s ease, transform .18s ease;
}

.store-payment-table tbody tr.store-row-removing {
    opacity: 0;
    pointer-events: none;
    transform: translateX(-18px);
}

.store-button-loading {
    cursor: wait !important;
    opacity: .65;
}

.store-archive-row-button {
    width: 100%;
}
