/* Spec Product Card - arpoldepo.com referans tasarımı */
.spec-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid #eceef1;
    border-radius: 10px;
    padding: 1.5rem 1.25rem 1.25rem;
    height: 100%;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.06);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.spec-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 28px rgba(15, 23, 42, 0.12);
}

.spec-card__badge {
    position: absolute;
    top: 0.875rem;
    left: 0.875rem;
    padding: 0.3rem 0.7rem;
    border-radius: 50px;
    font-size: 0.6875rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.3px;
    z-index: 2;
}

.spec-card__badge--sale {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.spec-card__badge--new {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.spec-card__category {
    text-align: center;
    color: #9ca3af;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 0.375rem;
}

.spec-card__title {
    margin: 0 0 1rem;
    text-align: center;
    font-size: 1.0625rem;
    font-weight: 700;
    line-height: 1.35;
    color: #1a1a1a;
}

.spec-card__title a {
    color: inherit;
    text-decoration: none;
}

.spec-card__title a:hover {
    color: var(--theme_primary);
}

.spec-card__image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 190px;
    margin-bottom: 1.25rem;
}

.spec-card__image img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.4s ease;
}

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

/* Spec table */
.spec-card__table {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid #ececec;
    border-left: 1px solid #ececec;
    margin-bottom: 1.25rem;
}

.spec-card__cell {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0.25rem;
    padding: 0.625rem 0.375rem;
    border-right: 1px solid #ececec;
    border-bottom: 1px solid #ececec;
}

.spec-card__label {
    font-size: 0.6875rem;
    color: #8b8f96;
    font-weight: 500;
}

.spec-card__value {
    font-size: 0.875rem;
    color: #1a1a1a;
    font-weight: 700;
}

/* Colors */
.spec-card__colors {
    margin-top: auto;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.spec-card__colors-label {
    flex-shrink: 0;
    font-size: 0.8125rem;
    font-weight: 700;
    color: #1a1a1a;
    padding-top: 0.375rem;
}

.spec-card__colors-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.spec-card__color-chip {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.spec-card__color-swatch {
    width: 20px;
    height: 20px;
    border-radius: 3px;
    border: 1px solid rgba(0, 0, 0, 0.15);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
}

.spec-card__color-name {
    font-size: 0.6875rem;
    color: #6b7280;
    text-transform: lowercase;
}

/* Grid list-view uyumu (aynı satırda görsel + içerik) */
.products-grid.list-view .spec-card {
    flex-direction: row;
    align-items: flex-start;
    gap: 1.5rem;
    text-align: left;
}

.products-grid.list-view .spec-card__image {
    width: 200px;
    height: 160px;
    flex-shrink: 0;
    margin-bottom: 0;
}

.products-grid.list-view .spec-card__title,
.products-grid.list-view .spec-card__category {
    text-align: left;
}

@media (max-width: 575px) {
    .spec-card__table {
        grid-template-columns: repeat(2, 1fr);
    }

    .spec-card__image {
        height: 150px;
    }

    .products-grid.list-view .spec-card {
        flex-direction: column;
    }

    .products-grid.list-view .spec-card__image {
        width: 100%;
        height: 150px;
    }
}
