/* FotisMint MMF Store - styled for fotismint.com dark design system */

.fmmf-store {
    width: 100%;
    font-family: 'Crimson Text', Georgia, serif;
}

.fmmf-meta {
    margin-bottom: 20px;
    color: #888;
    font-size: 0.9em;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* ── Grid Layout ── */
.fmmf-layout-grid .fmmf-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 24px;
}

/* ── List Layout ── */
.fmmf-layout-list .fmmf-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.fmmf-layout-list .fmmf-item {
    display: flex;
    flex-direction: row;
    gap: 20px;
    align-items: flex-start;
}

.fmmf-layout-list .fmmf-thumb-link {
    flex: 0 0 200px;
    height: 150px;
}

.fmmf-layout-list .fmmf-thumb-link img {
    height: 150px;
    object-fit: cover;
}

/* ── Card ── */
.fmmf-item {
    background: #111;
    border: 1px solid #222;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.fmmf-item:hover {
    border-color: #c0392b;
    transform: translateY(-2px);
}

/* ── Thumbnail ── */
.fmmf-thumb-link {
    display: block;
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background: #0d0d0d;
}

.fmmf-thumb-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.fmmf-item:hover .fmmf-thumb-link img {
    transform: scale(1.04);
}

.fmmf-no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #444;
    font-size: 0.85em;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* ── Price Badge ── */
.fmmf-price {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #c0392b;
    color: #fff;
    font-size: 0.78em;
    font-family: 'Cinzel', serif;
    letter-spacing: 0.08em;
    padding: 3px 8px;
    text-transform: uppercase;
}

.fmmf-price.fmmf-free {
    background: #1a1a1a;
    border: 1px solid #333;
    color: #888;
}

/* ── Info Block ── */
.fmmf-info {
    padding: 14px 16px 16px;
}

.fmmf-title {
    margin: 0 0 8px;
    font-size: 1em;
    font-weight: 400;
    line-height: 1.3;
    font-family: 'IM Fell English', 'Georgia', serif;
}

.fmmf-title a {
    color: #e8e8e8;
    text-decoration: none;
    transition: color 0.15s;
}

.fmmf-title a:hover {
    color: #c0392b;
}

.fmmf-likes {
    display: block;
    font-size: 0.8em;
    color: #555;
    margin-bottom: 10px;
    letter-spacing: 0.03em;
}

.fmmf-desc {
    font-size: 0.88em;
    color: #666;
    margin: 0 0 12px;
    line-height: 1.5;
}

/* ── Button ── */
.fmmf-button {
    display: inline-block;
    margin-top: 8px;
    padding: 7px 16px;
    background: transparent;
    border: 1px solid #c0392b;
    color: #c0392b;
    font-family: 'Cinzel', sans-serif;
    font-size: 0.72em;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.fmmf-button:hover {
    background: #c0392b;
    color: #fff;
    text-decoration: none;
}

/* ── Pagination ── */
.fmmf-pagination {
    margin-top: 36px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
}

.fmmf-page-btn {
    display: inline-block;
    padding: 6px 12px;
    background: #111;
    border: 1px solid #333;
    color: #888;
    font-family: 'Cinzel', sans-serif;
    font-size: 0.75em;
    letter-spacing: 0.08em;
    text-decoration: none;
    transition: border-color 0.2s, color 0.2s;
}

.fmmf-page-btn:hover,
.fmmf-page-btn.fmmf-page-active {
    border-color: #c0392b;
    color: #c0392b;
    text-decoration: none;
}

/* ── Error ── */
.fmmf-error {
    background: #1a0a0a;
    border: 1px solid #c0392b;
    color: #c0392b;
    padding: 16px 20px;
    font-family: 'Cinzel', sans-serif;
    font-size: 0.85em;
    letter-spacing: 0.05em;
}

/* ── Responsive ── */
@media ( max-width: 600px ) {
    .fmmf-layout-grid .fmmf-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .fmmf-layout-list .fmmf-item {
        flex-direction: column;
    }

    .fmmf-layout-list .fmmf-thumb-link {
        flex: none;
        width: 100%;
        height: auto;
    }
}
