﻿.shop-catalog {
    padding: 40px 0 100px;
}

.shop-catalog-inner {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.shop-catalog-block {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.shop-card {
    position: relative;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--color-green-30);
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: var(--bg-section-darker);
    transition: border-color var(--transition) ease, background var(--transition) ease;
}

.shop-card:hover {
    border-color: var(--color-green-60);
    background: var(--bg-card);
}

.shop-card--out {
    opacity: 0.7;
}

.shop-card-image {
    position: relative;
    overflow: hidden;
    display: block;
    aspect-ratio: 3 / 4;
}

.shop-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform var(--transition) ease;
}

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

.shop-card-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 11px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    padding: 4px 10px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.shop-card-badge--in {
    background: rgba(0,0,0,0.5);
    border: 1px solid rgba(61,153,112,0.6);
    color: var(--color-green);
}

.shop-card-badge--out {
    background: rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--text-muted);
}

.shop-card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.shop-card-meta {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.shop-card-genre {
    font-size: 11px;
    color: var(--color-green);
    border: 1px solid var(--color-green-30);
    border-radius: 6px;
    padding: 2px 8px;
    background: var(--color-green-10);
}

.shop-card-year {
    font-size: 11px;
    color: var(--text-muted);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 6px;
    padding: 2px 8px;
}

.shop-card-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-white);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.shop-card-photographer {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: auto;
}

.shop-card-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border: 1px solid var(--color-green);
    border-radius: var(--radius-md);
    font-size: 14px;
    color: var(--color-green);
    margin-top: 8px;
    transition: background var(--transition) ease, color var(--transition) ease;
}

.shop-card-btn:hover {
    background: var(--color-green);
    color: #fff;
}

.shop-card-btn--disabled {
    border-color: var(--color-green-30);
    color: var(--text-muted);
    pointer-events: none;
}

@media (max-width: 1440px) { .shop-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 1024px) { .shop-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .shop-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px)  { .shop-card-body { padding: 16px; } }

.shop-profile {
    margin-top: 40px;
    padding-bottom: 100px;
}

.shop-profile-inner {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.shop-profile-header {
    display: flex;
    gap: 40px;
    border-radius: var(--radius-xl);
    padding: 50px;
    background: var(--bg-section-darker);
}

.shop-profile-image {
    flex-shrink: 0;
    align-self: flex-start;
    width: 480px;
    max-width: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
}

.shop-profile-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-lg);
}

.shop-profile-stock-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    font-size: 12px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    padding: 5px 14px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.shop-profile-stock-badge--in {
    background: rgba(0,0,0,0.5);
    border: 1px solid rgba(61,153,112,0.6);
    color: var(--color-green);
}

.shop-profile-stock-badge--out {
    background: rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--text-muted);
}

.shop-profile-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 1;
}

.shop-profile-genres {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.shop-profile-title {
    font-size: 48px;
    font-weight: 600;
    color: var(--text-white);
    line-height: 1.2;
}

.shop-profile-meta {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.shop-profile-meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    color: var(--color-green);
}

.shop-profile-meta-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    filter: brightness(0) saturate(100%) invert(55%) sepia(60%) saturate(400%) hue-rotate(110deg);
}

.shop-profile-author-link {
    color: inherit;
    text-decoration: underline;
    text-decoration-color: transparent;
    text-underline-offset: 4px;
    transition: color var(--transition) ease, text-decoration-color var(--transition) ease;
}

.shop-profile-author-link:hover {
    color: var(--text-white);
    text-decoration-color: var(--color-green);
}

.shop-profile-description {
    font-size: 18px;
}

.shop-profile-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.shop-profile-btn {
    font-size: 18px;
    font-weight: 400;
    width: max-content;
}

.shop-profile-notice {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 16px 20px;
    border: 1px solid var(--color-green-20);
    border-radius: var(--radius-md);
    background: var(--color-green-05);
    margin-top: auto;
}

.shop-profile-notice-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 2px;
    filter: brightness(0) saturate(100%) invert(55%) sepia(60%) saturate(400%) hue-rotate(110deg);
}

.shop-profile-notice-text {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

@media (max-width: 1200px) { .shop-profile-image { width: 380px; } .shop-profile-title { font-size: 38px; } }
@media (max-width: 960px)  {
    .shop-profile-header { flex-direction: column; padding: 28px; }
    .shop-profile-image { width: 100%; }
    .shop-profile-title { font-size: 30px; }
}
@media (max-width: 768px)  { .shop-profile-title { font-size: 26px; } }
@media (max-width: 480px)  {
    .shop-profile-title { font-size: 22px; }
    .shop-profile-actions { flex-direction: column; }
    .shop-profile-btn { width: 100%; text-align: center; }
}