/* Shop / merch page styles */

/* ═══════════════════════════════════════════════
   SHOP / MERCH PAGE
   ═══════════════════════════════════════════════ */

.shop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.shop-card {
    background: var(--white); border: 1px solid var(--gray-200);
    border-radius: var(--radius); overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition);
}
.shop-card--featured { border: 2px solid var(--red); position: relative; }
.shop-card--featured::before {
    content: '⭐ Doporučujeme'; position: absolute; top: 12px; right: 12px; z-index: 2;
    font-size: 11px; font-weight: 700; color: var(--white);
    background: var(--red); padding: 3px 10px; border-radius: 99px;
}
.shop-card__img {
    height: 260px; overflow: hidden; background: var(--gray-100);
    display: flex; align-items: center; justify-content: center;
}
.shop-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.shop-card__placeholder {
    display: flex; align-items: center; justify-content: center;
    width: 100%; height: 100%;
    font-size: 48px; color: var(--gray-400); opacity: 0.2;
    background: linear-gradient(135deg, var(--gray-100), var(--gray-200));
}
.shop-card__body { padding: 18px; }
.shop-card__category {
    display: inline-block; font-size: 11px; font-weight: 600;
    color: var(--red); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 4px;
}
.shop-card__body h3 { font-size: 17px; font-weight: 700; margin-bottom: 6px; line-height: 1.3; }
.shop-card__body p {
    font-size: 13px; color: var(--gray-600); line-height: 1.5;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
    margin-bottom: 12px;
}
.shop-card__footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.shop-card__price { font-size: 20px; font-weight: 800; color: var(--gray-800); }
.shop-card__price small { font-size: 13px; font-weight: 500; color: var(--gray-400); }
.shop-card__sizes { display: flex; gap: 4px; flex-wrap: wrap; }
.shop-card__size { padding: 2px 8px; font-size: 11px; font-weight: 600; color: var(--gray-600); background: var(--gray-100); border-radius: 4px; }

.shop-cta { text-align: center; padding: 40px 24px; margin-top: 40px; background: linear-gradient(135deg, #1a2a3e 0%, #0f1923 100%); border: 1px solid rgba(255,255,255,0.08); border-radius: var(--radius); }
.shop-cta h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; color: #fff; }
.shop-cta p { font-size: 14px; color: rgba(255,255,255,0.6); margin-bottom: 20px; max-width: 500px; margin-left: auto; margin-right: auto; }
.shop-cta__buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.shop-merch-contact {
    display: inline-flex; align-items: center; gap: 20px; flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 20px; padding: 14px 24px;
    background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
    border-radius: 99px; font-size: 14px;
}
.shop-merch-contact span,
.shop-merch-contact a { color: rgba(255,255,255,0.7); }
.shop-merch-contact i { margin-right: 4px; color: var(--red); }


.shop-filter-tabs { display: flex; gap: 6px; margin-bottom: 24px; flex-wrap: wrap; }
.shop-filter-tab {
    padding: 7px 18px; font-size: 13px; font-weight: 600; color: var(--gray-600);
    background: var(--white); border: 1px solid var(--gray-200); border-radius: 99px;
    cursor: pointer; transition: all var(--transition);
}
.shop-filter-tab:hover { border-color: var(--gray-400); color: var(--gray-800); }
.shop-filter-tab.active { color: var(--white); background: var(--red); border-color: var(--red); }

.shop-empty { text-align: center; padding: 60px 24px; color: var(--gray-400); }
.shop-empty i { font-size: 48px; opacity: 0.3; margin-bottom: 16px; display: block; }
.shop-empty h3 { font-size: 18px; font-weight: 600; color: var(--gray-600); margin-bottom: 6px; }
.shop-empty p { font-size: 14px; }



@media (max-width: 768px) {
    .shop-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
    .shop-card__img { height: 200px; }
}

@media (max-width: 480px) {
    .shop-grid { grid-template-columns: 1fr; gap: 14px; }
    .shop-card__img { height: 180px; }
    .shop-card__body { padding: 14px; }
    .shop-card__body h3 { font-size: 16px; }
    .shop-card__price { font-size: 18px; }
    .shop-cta { padding: 28px 16px; margin-top: 28px; }
    .shop-cta h3 { font-size: 18px; }
    .shop-merch-contact { padding: 12px 16px; font-size: 13px; gap: 12px; border-radius: 12px; }
    .shop-filter-tabs { gap: 4px; }
    .shop-filter-tab { padding: 6px 14px; font-size: 12px; }
    .shop-empty { padding: 40px 16px; }
}

/* ── Hover rules (pointer devices only) ── */
@media (hover: hover) {
    .shop-card:hover { transform: translateY(-4px); box-shadow: 0 12px 36px rgba(0,0,0,0.1); }
    .shop-card:hover .shop-card__img img { transform: scale(1.05); }
    .shop-merch-contact a:hover { color: var(--red); }
}