/* BeerZpot Landing — frontend CSS */

.bzl-section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 24px 16px;
}

html body .bzl-section-title,
html body h2.bzl-section-title,
html.wp-toolbar body .bzl-section-title {
    font-size: 20px;
    font-weight: 800;
    margin: 0 0 16px;
    color: #ffffff !important;
    display: flex;
    align-items: center;
    gap: 10px;
}

.bzl-ad-badge {
    font-size: 11px;
    font-weight: 700;
    background: #f0a500;
    color: #fff;
    padding: 3px 10px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: .4px;
}

.bzl-product-row {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 16px;
}

.bzl-card {
    display: block;
    text-decoration: none;
    color: inherit;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 1px 6px rgba(0,0,0,.08);
    transition: transform .2s, box-shadow .2s;
    position: relative;
}
.bzl-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0,0,0,.12);
}

.bzl-card-img img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
}

.bzl-card-name {
    font-size: 14px;
    font-weight: 700;
    color: #1d2327;
    padding: 10px 12px 2px;
    line-height: 1.3;
}

.bzl-card-price {
    font-size: 13px;
    color: #f0a500;
    font-weight: 700;
    padding: 0 12px 12px;
}

/* New arrival card distinction — same border treatment as ads, distinct tag color */
.bzl-card-new {
    border: 2px solid #f0a500;
}
.bzl-card-new-tag {
    position: absolute;
    top: 8px;
    left: 8px;
    background: #00a32a;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 10px;
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: .3px;
    box-shadow: 0 1px 4px rgba(0,0,0,.2);
}

/* Ad card distinction */
.bzl-card-ad {
    border: 2px solid #f0a500;
}
.bzl-card-ad-tag {
    position: absolute;
    top: 8px;
    left: 8px;
    background: #f0a500;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 10px;
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: .3px;
    box-shadow: 0 1px 4px rgba(0,0,0,.2);
}

@media (max-width: 480px) {
    .bzl-product-row { grid-template-columns: repeat(2, 1fr); }
    .bzl-section-title { font-size: 17px; }
}
