/* ── Arama kutusu ── */
.resource-search-wrap {
    max-width: 500px;
    margin: 0 auto 50px auto;
    position: relative;
}
.resource-search-wrap input {
    width: 100%;
    border: none;
    border-bottom: 1px solid #111;
    padding: 10px 40px 10px 5px;
    background: none;
    font-size: 13px;
    letter-spacing: 0.05em;
    outline: none;
    font-family: 'Raleway', sans-serif;
}
.resource-search-wrap button {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    color: #111;
}

/* ── Grid görünüm ── */
.resource-grid .shop-box {
    margin-bottom: 30px;
}
.resource-grid .shop-img {
    overflow: hidden;
    background: #f5f5f5;
}
.resource-grid .shop-img img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.resource-grid .shop-box:hover .shop-img img {
    transform: scale(1.05);
}
.resource-grid .shop-img-placeholder {
    width: 100%;
    height: 220px;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.resource-grid .shop-img-placeholder i {
    font-size: 48px;
    color: #ccc;
}
.resource-grid .shop-info {
    padding: 15px 0 10px 0;
    text-align: left;
}
.resource-grid .shop-info h3 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #111;
}
.resource-grid .shop-info .product-code {
    font-size: 11px;
    color: #999;
    letter-spacing: 0.05em;
    display: block;
    margin-bottom: 10px;
}
.resource-download-btn {
    display: inline-block;
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 600;
    color: #fff;
    background: #111;
    padding: 8px 20px;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
    font-family: 'Bim', sans-serif;
}
.resource-download-btn:hover {
    background: #c8b271;
    color: #fff;
}

/* ── List görünüm ── */
.resource-list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
    border-bottom: 1px solid #e8e8e8;
    gap: 20px;
}
.resource-list-item:first-child {
    border-top: 1px solid #e8e8e8;
}
.resource-list-info {
    flex: 1;
}
.resource-list-info h3 {
    font-size: 14px;
    font-weight: 600;
    color: #111;
    margin: 0 0 4px 0;
}
.resource-list-info .product-code {
    font-size: 11px;
    color: #999;
    letter-spacing: 0.05em;
}
.resource-list-action {
    flex-shrink: 0;
}

/* ── Popup ── */
.resource-popup-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}
.resource-popup {
    background: #fff;
    padding: 50px 40px;
    max-width: 450px;
    width: 90%;
    text-align: center;
    position: relative;
}
.resource-popup-close {
    position: absolute;
    top: 15px; right: 15px;
    background: none; border: none;
    cursor: pointer; font-size: 20px; color: #111;
}
.resource-popup h3 {
    font-family: 'Bim', sans-serif;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 15px;
    line-height: 1.5;
}
.resource-popup p {
    font-size: 12px;
    color: #5f5f5f;
    letter-spacing: 0.05em;
    margin-bottom: 25px;
    line-height: 1.8;
}
.resource-popup-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}
.no-results {
    text-align: center;
    padding: 60px 0;
    color: #5f5f5f;
    font-size: 13px;
    letter-spacing: 0.05em;
}
