/* Ürün liste kartları. */

.product-list-hero {
    background: #ffffff;
    border-bottom: 1px solid var(--color-border);
    padding: 48px 0 28px;
}

.product-list-hero h1 {
    margin-bottom: 0;
    font-size: clamp(30px, 4vw, 46px);
    font-weight: 800;
    letter-spacing: -0.03em;
}

.product-list-section {
    background: #ffffff;
    padding: 36px 0;
}

.product-list-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.product-list-card {
    overflow: hidden;
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.product-list-image {
    display: block;
    background: var(--color-bg);
    aspect-ratio: 4 / 3;
}

.product-list-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-list-body {
    padding: 16px;
}

.product-list-body h2 {
    margin-bottom: 8px;
    font-size: 16px;
    line-height: 1.3;
}

.product-list-store {
    margin-bottom: 8px;
    font-size: 14px;
}

.product-list-summary {
    margin-bottom: 10px;
    font-size: 14px;
}

.product-list-price {
    display: block;
    color: var(--color-text);
    font-size: 16px;
}/* Search page */
.search-page {
    display: grid;
    gap: 28px;
}

.page-head {
    display: grid;
    gap: 8px;
    max-width: 760px;
}

.page-eyebrow {
    margin: 0;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--color-primary, #c1121f);
}

.page-head h1 {
    margin: 0;
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.12;
    color: var(--color-text, #111827);
}

.page-head p {
    margin: 0;
    color: var(--color-muted, #6b7280);
    font-size: 16px;
    line-height: 1.7;
}

.search-form {
    width: 100%;
    max-width: 760px;
}

.search-form-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    padding: 10px;
    border: 1px solid var(--color-border, #e5e7eb);
    border-radius: 18px;
    background: var(--color-surface, #ffffff);
    box-shadow: 0 14px 34px rgba(15, 23, 42, .06);
}

.search-form input[type="search"] {
    width: 100%;
    min-height: 46px;
    border: 0;
    outline: 0;
    padding: 0 12px;
    font-size: 15px;
    color: var(--color-text, #111827);
    background: transparent;
}

.search-form input[type="search"]::placeholder {
    color: var(--color-muted, #9ca3af);
}

.search-form button {
    min-height: 46px;
    border: 0;
    border-radius: 14px;
    padding: 0 22px;
    font-weight: 700;
    color: #ffffff;
    background: var(--color-primary, #c1121f);
    cursor: pointer;
    transition: transform .15s ease, opacity .15s ease;
}

.search-form button:hover {
    transform: translateY(-1px);
    opacity: .94;
}

.empty-state {
    padding: 28px;
    border: 1px dashed var(--color-border, #d1d5db);
    border-radius: 20px;
    background: var(--color-soft, #f9fafb);
}

.empty-state h2 {
    margin: 0 0 8px;
    font-size: 22px;
    color: var(--color-text, #111827);
}

.empty-state p {
    margin: 0;
    color: var(--color-muted, #6b7280);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.product-card {
    overflow: hidden;
    border: 1px solid var(--color-border, #e5e7eb);
    border-radius: 22px;
    background: var(--color-surface, #ffffff);
    box-shadow: 0 14px 34px rgba(15, 23, 42, .06);
}

.product-card-image {
    display: grid;
    place-items: center;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--color-soft, #f3f4f6);
    text-decoration: none;
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .2s ease;
}

.product-card:hover .product-card-image img {
    transform: scale(1.035);
}

.product-card-no-image {
    color: var(--color-muted, #9ca3af);
    font-size: 14px;
}

.product-card-body {
    display: grid;
    gap: 10px;
    padding: 16px;
}

.product-card-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.product-badge {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 3px 9px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    color: var(--color-primary, #c1121f);
    background: rgba(193, 18, 31, .09);
}

.product-badge-muted {
    color: var(--color-muted, #4b5563);
    background: var(--color-soft, #f3f4f6);
}

.product-card-title {
    margin: 0;
    font-size: 18px;
    line-height: 1.3;
}

.product-card-title a {
    color: var(--color-text, #111827);
    text-decoration: none;
}

.product-card-title a:hover {
    color: var(--color-primary, #c1121f);
}

.product-card-text {
    margin: 0;
    color: var(--color-muted, #6b7280);
    font-size: 14px;
    line-height: 1.55;
}

.product-card-price {
    margin: 0;
    font-size: 17px;
    font-weight: 800;
    color: var(--color-text, #111827);
}

.product-card-price-muted {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: var(--color-primary, #c1121f);
}

.product-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    color: var(--color-muted, #6b7280);
    font-size: 13px;
}

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 10px;
}

.pagination-link,
.pagination-current {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 999px;
    font-size: 14px;
}

.pagination-link {
    color: var(--color-primary, #c1121f);
    background: rgba(193, 18, 31, .09);
    text-decoration: none;
    font-weight: 700;
}

.pagination-link:hover {
    background: rgba(193, 18, 31, .14);
}

.pagination-current {
    color: var(--color-muted, #4b5563);
    background: var(--color-soft, #f3f4f6);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

@media (max-width: 1200px) {
    .product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

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

@media (max-width: 640px) {
    .search-form-row {
        grid-template-columns: 1fr;
    }

    .search-form button {
        width: 100%;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }

    .pagination {
        flex-wrap: wrap;
    }
}