/* ============================================
   ELMAS KURUYEMİŞ - KATEGORİ SAYFASI STİLLERİ
   Güncellenmiş: Görselli ürünler, uzun açıklama, butonlar
   ============================================ */

.category-page { background-color: var(--color-light); }

/* Category Intro */
.category-intro {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--space-lg);
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    margin-bottom: var(--space-2xl);
    box-shadow: var(--shadow-sm);
}

.category-intro__icon {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full);
    font-size: 2.5rem;
    color: var(--color-dark);
}

.category-intro__content p {
    color: var(--color-text-dark);
    line-height: 1.8;
    margin: 0;
    font-size: 1.0625rem;
}

@media (min-width: 768px) {
    .category-intro { flex-direction: row; text-align: left; }
    .category-intro__icon { flex-shrink: 0; }
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
    margin-bottom: var(--space-3xl);
}

/* Product Card - Görselli, Uzun Açıklama, Butonlu */
.product-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    border: 1px solid transparent;
    display: flex;
    flex-direction: column;
    /* Safari render fix */
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    /* Touch feedback */
    -webkit-tap-highlight-color: transparent;
}

/* Masaüstünde hover efekti */
@media (hover: hover) {
    .product-card:hover {
        transform: translateY(-5px);
        box-shadow: var(--shadow-lg);
        border-color: var(--color-primary);
    }
}

/* Touch cihazlarda active efekti */
@media (hover: none) {
    .product-card:active {
        transform: scale(0.98);
        box-shadow: var(--shadow-md);
        border-color: var(--color-primary);
    }
}

/* Product Card Image - Görsel Desteği */
.product-card__image {
    aspect-ratio: 4/3;
    position: relative;
    overflow: hidden;
    background: #f5f5f5;
}

.product-card__image {
    aspect-ratio: 4/3;
    position: relative;
    overflow: hidden;
    background: #f5f5f5;
    background-size: cover;      /* BU SATIRI EKLE */
    background-position: center; /* BU SATIRI EKLE */
    background-repeat: no-repeat; /* BU SATIRI EKLE */
}

.product-card:hover .product-card__image img {
    transform: scale(1.05);
}

/* Overlay KALDIRILDI - Görseller net görünsün */

.product-card__badge {
    position: absolute;
    top: var(--space-sm);
    right: var(--space-sm);
    background: var(--color-primary);
    color: var(--color-dark);
    padding: 4px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 1;
}

.product-card__content {
    padding: var(--space-md);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-card__title {
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: var(--space-xs);
    line-height: 1.3;
}

.product-card__desc {
    color: var(--color-text-muted);
    font-size: 0.8125rem;
    line-height: 1.6;
    margin: 0;
    flex: 1;
    margin-bottom: var(--space-md);
}

/* Product Card Actions - WhatsApp & Phone Buttons */
.product-card__actions {
    display: flex;
    gap: var(--space-sm);
    margin-top: auto;
}

.product-card__btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-sm);
    border-radius: var(--radius-md);
    font-size: 1.125rem;
    transition: all var(--transition-fast);
    text-decoration: none;
    /* Touch feedback */
    -webkit-tap-highlight-color: transparent;
}

.product-card__btn--whatsapp {
    background: #25D366;
    color: white;
}

/* Masaüstü hover */
@media (hover: hover) {
    .product-card__btn--whatsapp:hover {
        background: #128C7E;
        transform: scale(1.05);
    }
}

/* Touch active */
@media (hover: none) {
    .product-card__btn--whatsapp:active {
        background: #128C7E;
        transform: scale(0.95);
    }
}

.product-card__btn--phone {
    background: var(--color-primary);
    color: var(--color-dark);
}

/* Masaüstü hover */
@media (hover: hover) {
    .product-card__btn--phone:hover {
        background: var(--color-primary-light);
        transform: scale(1.05);
    }
}

/* Touch active */
@media (hover: none) {
    .product-card__btn--phone:active {
        background: var(--color-primary-light);
        transform: scale(0.95);
    }
}

/* Responsive */
@media (min-width: 480px) {
    .products-grid { gap: var(--space-lg); }
    .product-card__title { font-size: 1.0625rem; }
    .product-card__desc { font-size: 0.875rem; }
}

@media (min-width: 768px) {
    .products-grid { grid-template-columns: repeat(3, 1fr); }
    .product-card__title { font-size: 1.125rem; }
}

@media (min-width: 1200px) {
    .products-grid { grid-template-columns: repeat(4, 1fr); }
}

/* Category Order CTA */
.category-order {
    background: var(--gradient-gold);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    margin-bottom: var(--space-3xl);
}

.category-order__content { text-align: center; }

.category-order__content h2 {
    font-family: var(--font-primary);
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    color: var(--color-dark);
    margin-bottom: var(--space-sm);
}

.category-order__content p {
    color: var(--color-dark);
    opacity: 0.85;
    margin-bottom: var(--space-lg);
}

.category-order__buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-md);
}

@media (max-width: 479.98px) {
    .category-order__buttons { flex-direction: column; align-items: center; }
    .category-order__buttons .btn { width: 100%; max-width: 280px; }
}

/* Other Categories */
.other-categories {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    box-shadow: var(--shadow-sm);
}

.other-categories h2 {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    color: var(--color-dark);
    text-align: center;
    margin-bottom: var(--space-xl);
}

.other-categories__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
}

.other-category-card {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    background: var(--color-light);
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: all var(--transition-fast);
    border: 1px solid var(--color-light-soft);
    min-height: 60px;
    /* Touch feedback */
    -webkit-tap-highlight-color: transparent;
}

/* Masaüstü hover */
@media (hover: hover) {
    .other-category-card:hover {
        background: var(--color-white);
        border-color: var(--color-primary);
        transform: translateX(3px);
    }
}

/* Touch active */
@media (hover: none) {
    .other-category-card:active {
        background: var(--color-white);
        border-color: var(--color-primary);
        transform: scale(0.98);
    }
}

.other-category-card__icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    font-size: 1rem;
    color: var(--color-white);
    flex-shrink: 0;
}

.other-category-card__title {
    font-family: var(--font-primary);
    font-size: 0.8125rem;
    color: var(--color-dark);
    margin: 0;
    line-height: 1.3;
}

@media (min-width: 480px) {
    .other-categories__grid { gap: var(--space-md); }
    .other-category-card { padding: var(--space-md); }
    .other-category-card__icon { width: 50px; height: 50px; min-width: 50px; font-size: 1.25rem; }
    .other-category-card__title { font-size: 0.9375rem; }
}

@media (min-width: 768px) {
    .other-categories__grid { grid-template-columns: repeat(4, 1fr); }
    .other-categories { padding: var(--space-2xl); }
}