.vcb-child-cats h2,
.vcb-latest-products h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 22px;
    font-weight: 500;
    color: var(--navy);
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
}
.vcb-child-cats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.vcb-child-cat-card {
    position: relative;
    height: 140px;
    border-radius: 6px;
    overflow: hidden;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    display: flex;
    align-items: flex-end;
    text-decoration: none;
    transition: transform 0.2s;
}
.vcb-child-cat-card:hover { transform: translateY(-2px); }
/* When our subcategory cards exist, hide the default WC category grid */
.vcb-has-child-cats ul.products li.product-category { display: none !important; }
.vcb-child-cat-overlay {
    width: 100%;
    padding: 12px 14px;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: #fff;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.vcb-child-cat-overlay strong { font-size: 15px; font-weight: 600; }
.vcb-child-cat-overlay span { font-size: 12px; opacity: 0.8; }

/* Latest products section */
.vcb-latest-products { margin: 32px 0 48px; }
.vcb-latest-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.vcb-latest-item {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 4px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.2s;
}
.vcb-latest-item:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.08); }
.vcb-latest-img { aspect-ratio: 4/3; background: #f8f8f6; display: flex; align-items: center; justify-content: center; }
.vcb-latest-img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.vcb-latest-info { padding: 10px 12px; }
.vcb-latest-title { display: block; font-size: 13px; font-weight: 500; color: var(--navy); margin-bottom: 4px; line-height: 1.3; }
.vcb-latest-price { font-size: 15px; font-weight: 700; color: var(--navy); }
.vcb-latest-price del { color: var(--gray); font-weight: 400; font-size: 12px; }
.vcb-latest-price ins { text-decoration: none; }

@media (max-width: 900px) {
    .vcb-child-cats-grid,
    .vcb-latest-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
    .vcb-child-cats-grid,
    .vcb-latest-grid { grid-template-columns: 1fr; }
    .vcb-child-cat-card { height: 120px; }
}

/* ===== PRODUCT GRID — gap + override Elementor max-width:90% ===== */
.woocommerce ul.products[class*="customify-grid"],
.elementor-wc-products ul.products,
.elementor-widget-wc-categories ul.products {
    grid-column-gap: 24px !important;
    column-gap: 24px !important;
    grid-row-gap: 28px !important;
    row-gap: 28px !important;
}
/* Override Elementor's max-width:90% on grid columns */
.wc-grid-view [class*=customify-grid-4] > [class*=customify-col],
.wc-grid-view [class*=customify-grid-3] > [class*=customify-col] {
    max-width: 100% !important;
}

/* ===== PRODUCT IMAGES — better quality, no grey gap ===== */
.wc-product-media {
    background: transparent !important;
}
.wc-product-media img.attachment-woocommerce_thumbnail {
    width: 100% !important;
    height: auto !important;
    display: block !important;
}

/* ===== FORCE 4 COLUMNS on product grid ===== */
ul.products.customify-grid-4_md-4_sm-4_xs-1 {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
}
@media (max-width: 900px) {