/* =====================================================
   Section 1 — Shop by Category
   ===================================================== */

.hc-section {
    background: #ffffff;
    border-bottom: 1px solid var(--color-border);
    padding: clamp(48px, 7vw, 80px) clamp(16px, 4vw, 40px);
}

.hc-inner {
    max-width: 1200px;
    margin: 0 auto;
}

/* Header */
.hc-header {
    text-align: center;
    margin-bottom: 40px;
}

.hc-pill {
    display: inline-flex;
    align-items: center;
    background: #e8f5d6;
    color: #5a8f2a;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 5px 16px;
    border-radius: 999px;
    margin-bottom: 14px;
}

.hc-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 600;
    color: var(--color-text);
    margin: 0 0 10px;
    line-height: 1.15;
}

.hc-subtitle {
    font-size: 15px;
    color: var(--color-muted);
    margin: 0;
}

/* Grid */
.hc-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 14px;
}

/* Card */
.hc-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 22px 12px 18px;
    text-align: center;
    text-decoration: none;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.hc-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
    border-color: var(--color-primary);
    text-decoration: none;
}

/* Icon wrapper — shows image OR initial letter */
.hc-card__img-wrap {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 12px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* When a real thumbnail exists */
.hc-card__img {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

/* Letter fallback */
.hc-card__initial {
    font-family: 'Cormorant Garamond', serif;
    font-size: 26px;
    font-weight: 700;
    line-height: 1;
    display: block;
}

.hc-card__name {
    font-size: 13px;
    font-weight: 500;
    color: var(--color-text);
    line-height: 1.35;
    margin-bottom: 3px;
}

.hc-card__count {
    font-size: 11.5px;
    color: var(--color-muted);
}

/* =====================================================
   Responsive
   ===================================================== */

@media (max-width: 1024px) {
    .hc-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
}

@media (max-width: 640px) {
    .hc-section { padding: 40px 16px; }
    .hc-grid    { grid-template-columns: repeat(3, 1fr); gap: 10px; }
    .hc-card    { padding: 16px 8px 14px; border-radius: 14px; }
    .hc-card__img-wrap,
    .hc-card__img { width: 52px; height: 52px; }
    .hc-card__initial { font-size: 22px; }
    .hc-card__name { font-size: 12px; }
    .hc-header  { margin-bottom: 28px; }
}

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