/* BHP Shop — Product Grid */

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

/* Card */
.bhp-grid-card,
.bhp-grid-card:hover,
.bhp-grid-card:focus,
.bhp-grid-card *,
.bhp-grid-card *:hover {
    text-decoration: none !important;
}

.bhp-grid-card {
    background: #fff;
    border: 1px solid #ede9e0;
    border-radius: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s;
    color: inherit;
}

.bhp-grid-card:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

/* Image */
.bhp-grid-card__img {
    width: 100%;
    height: 280px;
    position: relative;
    overflow: hidden;
}

.bhp-grid-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.4s ease;
}

.bhp-grid-card:hover .bhp-grid-card__img img {
    transform: scale(1.03);
}

.bhp-grid-card__badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #0a0800;
    color: #fff;
    font-size: 10px;
    padding: 4px 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Info section */
.bhp-grid-card__info {
    padding: 20px 16px 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0;
}

/* No top divider — divider is between desc and price via .bhp-grid-card__divider */

.bhp-grid-card__name {
    font-size: 12px;
    font-weight: 700;
    color: #0a0800 !important;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 0 0 10px;
    line-height: 1.3;
    text-decoration: none !important;
}

.bhp-grid-card__desc {
    text-decoration: none !important;
    color: #666 !important;
}

.bhp-grid-card__price {
    text-decoration: none !important;
    color: #0a0800 !important;
}

.bhp-grid-card__desc {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    margin: 0 0 14px;
    /* Truncate to 2 lines */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Thin divider above price */
.bhp-grid-card__divider {
    width: 100%;
    height: 1px;
    background: #f0ede8;
    margin-bottom: 14px;
}

.bhp-grid-card__price {
    font-size: 20px;
    font-weight: 600;
    color: #0a0800;
    margin: 0 0 16px;
    letter-spacing: -0.5px;
}

/* Button */
.bhp-grid-card__btn {
    display: block;
    width: 100%;
    background: #D4AF37;
    color: #0a0800;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-align: center;
    padding: 14px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    margin-top: auto;
}

.bhp-grid-card__btn:hover {
    background: #0a0800;
    color: #D4AF37;
}

/* Tablet */
@media (max-width: 1024px) {
    .bhp-product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    .bhp-grid-card__img { height: 240px; }
}

/* Mobile */
@media (max-width: 600px) {
    .bhp-product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .bhp-grid-card__img { height: 180px; }
    .bhp-grid-card__info { padding: 14px 12px 0; }
    .bhp-grid-card__name { font-size: 10px; letter-spacing: 1.5px; }
    .bhp-grid-card__price { font-size: 17px; }
    .bhp-grid-card__btn { padding: 12px; font-size: 10px; }
}

/* Featured badge */
.bhp-grid-card__badge--featured {
    background: #D4AF37;
    color: #0a0800;
}

/* Featured grid — same as product grid, inherits all styles */
.bhp-featured-grid {
    /* inherits .bhp-product-grid */
}
