/* Splenda Site Update v1.3.0 — unified catalogue cards and Kenya SEO. */
.splenda-mobile-page-products,
.splenda-catalogue-mobile-link {
    box-sizing: border-box;
    margin: 3.5rem auto 1.5rem;
    width: 100%;
}

.splenda-section-kicker {
    margin-bottom: .45rem;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    opacity: .65;
}

.splenda-hepu-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.15rem;
    margin: 1.75rem 0;
}

.splenda-hepu-card {
    overflow: hidden;
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 8px 28px rgba(0,0,0,.04);
}

.splenda-hepu-card__image {
    display: block;
    aspect-ratio: 1 / 1;
    padding: .7rem;
    background: #fff;
}

.splenda-hepu-card__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.splenda-hepu-card__body { padding: .85rem 1rem 1.05rem; }
.splenda-hepu-card__title { margin: 0 0 .55rem; font-size: 1rem; line-height: 1.35; }
.splenda-hepu-card__title a,
.splenda-hepu-card__link { color: inherit; text-decoration: none; }
.splenda-hepu-card__price { margin: .35rem 0 .65rem; font-weight: 700; }
.splenda-hepu-card__link { display: inline-block; font-size: .9rem; font-weight: 650; text-decoration: underline; text-underline-offset: 3px; }

.splenda-section-actions { margin: 1.5rem 0 0; }
.splenda-section-button {
    display: inline-block;
    padding: .8rem 1.1rem;
    border-radius: 999px;
    background: #1d2327;
    color: #fff !important;
    font-weight: 650;
    text-decoration: none !important;
}
.splenda-section-button:hover,
.splenda-section-button:focus { opacity: .9; }

/* Homepage category extension. Existing .zhp homepage layout remains in charge;
   only the identified category grid is extended to five cards. */
.zhp-card-grid-4.splenda-v12-category-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.splenda-v12-mobile-category-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(15, 37, 73, .08);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(15, 37, 73, .05);
}

.splenda-v12-mobile-category-card__media {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 138px;
    padding: 14px;
    background: #f7fbff;
}

.splenda-v12-mobile-category-card__media img {
    display: block;
    width: 100%;
    height: 125px;
    object-fit: contain;
}

.splenda-v12-mobile-category-card__media--empty {
    background: linear-gradient(135deg, #f5f9ff, #eef5f1);
}

.splenda-v12-mobile-category-card__body { padding: 16px; }
.splenda-v12-mobile-category-card h3 { margin: 0 0 7px; font-size: 1rem; line-height: 1.25; }
.splenda-v12-mobile-category-card p { margin: 0 0 12px; font-size: .86rem; line-height: 1.5; }
.splenda-v12-mobile-category-card a { font-size: .84rem; font-weight: 700; text-decoration: none; }

@media (max-width: 1100px) {
    .zhp-card-grid-4.splenda-v12-category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 980px) {
    .splenda-hepu-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
    .zhp-card-grid-4.splenda-v12-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .splenda-hepu-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
    .splenda-hepu-card__body { padding: .75rem .8rem .9rem; }
    .splenda-hepu-card__title { font-size: .92rem; }
    .splenda-v12-mobile-category-card__media { min-height: 120px; }
    .splenda-v12-mobile-category-card__media img { height: 108px; }
}

@media (max-width: 390px) {
    .zhp-card-grid-4.splenda-v12-category-grid,
    .splenda-hepu-grid { grid-template-columns: 1fr; }
}

/* v1.3 catalogue standardisation
   The orange below is sampled from the supplied SOLAR PRODUCTS artwork.
   The green is sampled from the site's existing WhatsApp/action green. */
.splenda-hepu-card__price,
.splenda-product-card__price,
.woocommerce ul.products li.product .price,
.woocommerce div.product p.price,
.woocommerce div.product span.price {
    color: #D73306 !important;
    font-weight: 700;
}

.splenda-hepu-card__price .amount,
.splenda-product-card__price .amount,
.woocommerce ul.products li.product .price .amount,
.woocommerce div.product p.price .amount,
.woocommerce div.product span.price .amount {
    color: inherit !important;
}

.splenda-hepu-card__link,
.splenda-product-card__link,
.woocommerce ul.products li.product .splenda-loop-view-product {
    color: #08783E !important;
    background: transparent !important;
    border: 0 !important;
    padding: 0 !important;
    min-height: 0 !important;
    box-shadow: none !important;
    font-size: .9rem !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    text-decoration: underline !important;
    text-underline-offset: 3px;
}

.splenda-hepu-card__link:hover,
.splenda-hepu-card__link:focus,
.splenda-product-card__link:hover,
.splenda-product-card__link:focus,
.woocommerce ul.products li.product .splenda-loop-view-product:hover,
.woocommerce ul.products li.product .splenda-loop-view-product:focus {
    color: #08783E !important;
    opacity: .82;
}

/* Keep product photography on white so white-background pack shots blend
   cleanly into the card instead of sitting inside a tinted image panel. */
.splenda-hepu-card,
.splenda-product-card,
.splenda-hepu-card__image,
.splenda-product-card__image,
.splenda-hepu-card__image img,
.splenda-product-card__image img {
    background: #fff !important;
}

/* Generic WooCommerce loops use the same visual direction where they still
   appear elsewhere (shop/category archives). */
.woocommerce ul.products li.product {
    overflow: hidden;
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 8px 28px rgba(0,0,0,.04);
}

.woocommerce ul.products li.product img,
.woocommerce ul.products li.product .woocommerce-LoopProduct-link,
.woocommerce ul.products li.product .woocommerce-loop-product__link {
    background: #fff !important;
}

