/*
Theme Name: Shizhen Kaiwu SFN
Description: Custom WooCommerce theme for the SFN beverage website migration.
Version: 1.5.10
Text Domain: shizhenkaiwu-sfn
*/

/* WordPress integration refinements for the 2026-09-15 static handoff. */
.home .hero,
.page-id-1966 .hero {
	background-image: linear-gradient(90deg, rgba(248,246,239,.82) 0%, rgba(248,246,239,.62) 24%, rgba(248,246,239,.32) 46%, rgba(248,246,239,.08) 68%, rgba(248,246,239,0) 100%), url('assets/images/home-hero-final-right.png') !important;
	background-size: cover !important;
	background-position: center center !important;
}
.home .hero::before,
.page-id-1966 .hero::before {
	background: linear-gradient(90deg, rgba(248,246,239,.80) 0%, rgba(248,246,239,.58) 24%, rgba(248,246,239,.28) 46%, rgba(248,246,239,.06) 68%, rgba(248,246,239,0) 100%) !important;
	opacity: 1 !important;
}

/* Preserve the Round 134 home-news layout: four cards in one desktop row. */
.home-news-section .medical-style-news-grid {
	grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
	gap: 18px;
}
.home-news-section .medical-style-news-grid .news-card img { height: 170px !important; }
.home-news-section .medical-style-news-grid .news-card h3 { font-size: 16px; line-height: 1.5; }
@media (max-width: 980px) {
	.home-news-section .medical-style-news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 640px) {
	.home-news-section .medical-style-news-grid { grid-template-columns: 1fr !important; }
}

.sfn-form-notice { margin: 0 0 18px; padding: 12px 14px; border-radius: 10px; font-size: 14px; }
.sfn-form-notice.is-success { background: #e8f4ec; color: #174b36; }
.sfn-form-notice.is-error { background: #fff0ed; color: #8a2d20; }
