/*
Theme Name: Freshify Child
Template: astra
Description: Freshify Mart child theme (Astra)
Version: 1.1.2
Text Domain: freshify-child
*/

:root { --fm-green: #1b7f3b; --fm-green-dark: #146530; --fm-orange: #f57c00; }

a { color: var(--fm-green); }
a:hover { color: var(--fm-orange); }

.woocommerce a.button, .woocommerce button.button, .woocommerce input.button,
.woocommerce #respond input#submit, .woocommerce a.button.alt, .woocommerce button.button.alt,
.wc-block-components-button, .ast-button, .button {
	background-color: var(--fm-green) !important;
	color: #fff !important;
	border-radius: 30px !important;
	border: none !important;
}
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce button.button.alt:hover,
.wc-block-components-button:hover { background-color: var(--fm-orange) !important; }

.woocommerce ul.products li.product, .woocommerce-page ul.products li.product {
	background: #fff; border: 1px solid #e3efe6; border-radius: 14px; padding: 12px; text-align: center;
}
.woocommerce ul.products li.product .price { color: var(--fm-green) !important; font-weight: 700; }
.woocommerce span.onsale { background: var(--fm-orange); }
.woocommerce ul.products li.product-category img { border-radius: 12px; }
.woocommerce ul.products li.product-category h2 { font-size: 16px; color: #1f2d24; }

/* Logo hai to text wala title aur tagline chhupao */
.custom-logo-link ~ .ast-site-title-wrap,
.site-logo-img ~ .ast-site-title-wrap,
.ast-site-identity .ast-site-title-wrap { display: none !important; }
.custom-logo-link img, .site-logo-img img { max-width: 170px; height: auto; }
@media (max-width: 921px) { .custom-logo-link img, .site-logo-img img { max-width: 140px; } }

/* ================= HEADER ================= */
.fm-ic{display:inline-block;vertical-align:middle;flex-shrink:0}

.fm-topbar{background:linear-gradient(90deg,#0f3d1f,#145c2c);color:#e6f3e9;font-size:13.5px;letter-spacing:.2px}
.fm-topbar-in{max-width:1240px;margin:0 auto;padding:8px 24px;display:flex;justify-content:space-between;align-items:center;gap:16px}
.fm-topbar .fm-ic{margin-right:7px;color:#ffb15c;vertical-align:-3px}
.fm-topbar strong{color:#fff}
.fm-topbar-right{display:flex;align-items:center;gap:12px}
.fm-topbar-right a{color:#fff;text-decoration:none;font-weight:600}
.fm-topbar-right a:hover{color:#ffb15c}
.fm-sep{opacity:.35}
@media (max-width:767px){
	.fm-topbar-in{justify-content:center;text-align:center;font-size:12.5px;padding:7px 14px}
	.fm-topbar-right{display:none}
}

#masthead{position:sticky;top:0;z-index:999;background:#fff;box-shadow:0 4px 24px rgba(15,61,31,.08)}
.admin-bar #masthead{top:32px}
@media (max-width:782px){.admin-bar #masthead{top:46px}}
@media (max-width:600px){.admin-bar #masthead{top:0}}
#masthead .main-header-bar,#masthead .ast-primary-header-bar{background:#fff;border-bottom:0}

@media (min-width:922px){
	#masthead .ast-primary-header-bar .site-primary-header-wrap{min-height:84px}
	.main-header-menu{align-items:center}
	.main-header-menu > .menu-item > .menu-link{font-weight:600;color:#1f2d24;position:relative;font-size:15.5px}
	.main-header-menu > .menu-item:not(.fm-menu-icon):not(.fm-menu-cta) > .menu-link::after{
		content:"";position:absolute;left:1em;right:1em;bottom:18px;height:2px;border-radius:2px;
		background:#f57c00;transform:scaleX(0);transform-origin:center;transition:transform .2s ease}
	.main-header-menu > .menu-item:not(.fm-menu-icon):not(.fm-menu-cta) > .menu-link:hover::after,
	.main-header-menu > .current-menu-item > .menu-link::after{transform:scaleX(1)}
	.main-header-menu > .menu-item > .menu-link:hover,
	.main-header-menu > .current-menu-item > .menu-link{color:#1b7f3b}

	.fm-menu-icon > .menu-link{
		display:flex !important;align-items:center;justify-content:center;position:relative;
		width:44px;height:44px;padding:0 !important;margin:0 4px;border-radius:50%;
		background:#f1f8f2;color:#145c2c !important;transition:background .2s,color .2s}
	.fm-menu-cart > .menu-link{margin-left:14px}
	.fm-menu-icon > .menu-link:hover{background:#1b7f3b;color:#fff !important}
	.fm-mi-label{display:none}

	.fm-menu-cta > .menu-link{
		display:flex !important;align-items:center;gap:8px;margin-left:10px;
		background:#f57c00;color:#fff !important;border-radius:30px;padding:11px 20px !important;
		font-weight:700;line-height:1.2;box-shadow:0 6px 16px rgba(245,124,0,.28);transition:transform .15s,background .2s}
	.fm-menu-cta > .menu-link:hover{background:#e06f00;transform:translateY(-1px)}
}

.fm-cart-count{
	position:absolute;top:-3px;right:-3px;min-width:19px;height:19px;padding:0 5px;border-radius:10px;
	background:#f57c00;color:#fff;font-size:11px;font-weight:700;line-height:19px;text-align:center;border:2px solid #fff}
.fm-cart-count.is-empty{display:none}

@media (max-width:921px){
	.fm-menu-icon > .menu-link{display:flex !important;align-items:center;gap:10px;position:relative}
	.fm-menu-icon .fm-cart-count{position:static;border:0;margin-left:2px}
	#ast-mobile-site-navigation .fm-menu-cta,
	.ast-mobile-header-content .fm-menu-cta{border:0 !important}
	#ast-mobile-site-navigation .fm-menu-cta > .menu-link,
	.ast-mobile-header-content .fm-menu-cta > .menu-link,
	.ast-builder-menu-mobile .main-navigation .fm-menu-cta > .menu-link{
		display:flex !important;align-items:center;justify-content:center;gap:10px;
		margin:14px 18px !important;padding:13px 20px !important;border:0 !important;
		background:#25a244 !important;color:#fff !important;border-radius:30px !important;font-weight:700}
}

/* ================= FOOTER ================= */
#colophon.site-footer{display:none}
.fm-footer{background:#0f3d1f;color:#c9dfce;font-size:15px;margin-top:60px;position:relative}
.fm-footer::before{content:"";position:absolute;left:0;right:0;top:0;height:4px;background:linear-gradient(90deg,#1b7f3b,#8bc34a,#f57c00)}
.fm-footer-top{max-width:1240px;margin:0 auto;padding:60px 24px 40px;display:grid;grid-template-columns:1.5fr 1fr 1fr 1.3fr;gap:40px}
.fm-footer h4{color:#fff;font-size:17px;margin:0 0 18px;padding-bottom:10px;position:relative}
.fm-footer h4::after{content:"";position:absolute;left:0;bottom:0;width:34px;height:3px;border-radius:2px;background:#f57c00}
.fm-footer ul{list-style:none;margin:0;padding:0}
.fm-footer li{margin:0 0 11px}
.fm-footer a{color:#c9dfce;text-decoration:none;transition:color .2s}
.fm-footer a:hover{color:#ffb15c}
.fm-f-logo{display:inline-block;background:#fff;border-radius:14px;padding:8px 14px;margin-bottom:16px}
.fm-f-logo img{display:block;width:160px;height:auto}
.fm-f-about{line-height:1.75;margin:0 0 16px;color:#b5d0bb;max-width:340px}
.fm-chip{display:inline-block;border:1px solid rgba(255,255,255,.22);border-radius:20px;padding:5px 12px;font-size:12.5px;margin:0 6px 8px 0;color:#fff;background:rgba(255,255,255,.04)}
.fm-f-all{color:#ffb15c !important;font-weight:600}
.fm-f-contact li{display:flex;gap:12px;align-items:flex-start;line-height:1.55}
.fm-f-contact .fm-ic{color:#8fd19e;margin-top:2px}
.fm-f-wa{display:inline-flex;gap:9px;align-items:center;margin-top:8px;background:#25a244;color:#fff !important;border-radius:30px;padding:11px 20px;font-weight:700;box-shadow:0 6px 16px rgba(0,0,0,.2)}
.fm-f-wa:hover{background:#1f8c3a;color:#fff !important}
.fm-footer-bottom{border-top:1px solid rgba(255,255,255,.1);background:#0b3018}
.fm-footer-bottom-in{max-width:1240px;margin:0 auto;padding:18px 100px 18px 24px;display:flex;justify-content:space-between;gap:12px;font-size:13.5px;color:#9dbda6}
@media (max-width:921px){.fm-footer-top{grid-template-columns:1fr 1fr;gap:32px}}
@media (max-width:600px){
	.fm-footer-top{grid-template-columns:1fr;padding:44px 22px 30px;gap:28px}
	.fm-footer-bottom-in{flex-direction:column;text-align:center;padding:18px 22px 90px}
	#ast-scroll-top{display:none !important}
}

/* Floating WhatsApp */
.fm-wa-float{position:fixed;right:20px;bottom:20px;width:58px;height:58px;border-radius:50%;background:#25a244;color:#fff !important;display:flex;align-items:center;justify-content:center;box-shadow:0 10px 26px rgba(0,0,0,.22);z-index:9998;transition:transform .2s}
.fm-wa-float:hover{transform:scale(1.07);color:#fff !important}
.fm-wa-float::after{content:"";position:absolute;inset:0;border-radius:50%;border:2px solid #25a244;animation:fmPulse 2.2s infinite}
@keyframes fmPulse{0%{transform:scale(1);opacity:.7}100%{transform:scale(1.5);opacity:0}}
#ast-scroll-top{bottom:92px !important;right:28px !important}

/* ================= HOME PAGE ================= */
.fm-wrap{font-family:inherit;color:#1f2d24}
.fm-hero{background:linear-gradient(135deg,#1b7f3b 0%,#2e9e52 100%);color:#fff;border-radius:20px;padding:56px 32px;text-align:center;margin:10px 0 36px}
.fm-hero h1{color:#fff !important;font-size:clamp(28px,5vw,46px);margin:0 0 12px;line-height:1.15}
.fm-hero p{color:#fff;font-size:18px;margin:0 auto 26px;max-width:620px;opacity:.95}
.fm-btn{display:inline-block;padding:14px 28px;border-radius:40px;font-weight:700;text-decoration:none !important;margin:6px}
.fm-btn-o{background:#f57c00;color:#fff !important}
.fm-btn-w{background:#fff;color:#1b7f3b !important}
.fm-btn-g{background:#1b7f3b;color:#fff !important}
.fm-btn:hover{opacity:.9}

.fm-hero.fm-banner{
	position:relative;overflow:hidden;text-align:left;padding:0;
	min-height:clamp(360px,34vw,520px);display:flex;align-items:center;
	background:
		linear-gradient(90deg,rgba(224,241,200,1) 0%,rgba(224,241,200,.9) 38%,rgba(224,241,200,0) 58%),
		url('/wp-content/uploads/2026/11/freshify-hero-desktop.webp') right center / cover no-repeat,
		#e0f1c8;
}
.fm-banner .fm-hero-text{max-width:520px;padding:48px 0 48px clamp(28px,5vw,64px)}
.fm-banner h1{color:#145c2c !important;font-size:clamp(30px,3.6vw,50px);font-weight:800;margin:0 0 14px;line-height:1.12}
.fm-banner p{color:#2f4a37;font-size:18px;margin:0 0 24px;max-width:460px;opacity:1}
.fm-banner .fm-btn{margin:6px 10px 6px 0;box-shadow:0 6px 16px rgba(0,0,0,.12)}
.fm-hero-img{display:none}

@media (max-width: 1024px){
	.fm-banner .fm-hero-text{max-width:440px}
	.fm-banner p{font-size:16px}
}
@media (max-width: 767px){
	.fm-hero.fm-banner{display:block;min-height:0;background:#e0f1c8;text-align:center}
	.fm-banner .fm-hero-text{max-width:none;padding:30px 20px 18px}
	.fm-banner h1{font-size:28px}
	.fm-banner p{margin:0 auto 18px;font-size:15px}
	.fm-banner .fm-btn{margin:5px;padding:12px 22px}
	.fm-hero-img{display:block;width:100%;height:210px;object-fit:cover;object-position:right center}
}

.fm-strip{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px;margin:0 0 44px}
.fm-card{background:#f4faf5;border:1px solid #dcefe1;border-radius:16px;padding:22px;text-align:center}
.fm-card b{display:block;font-size:17px;color:#1b7f3b;margin:8px 0 4px}
.fm-card span{font-size:14px;color:#4b5d52}
.fm-ico{font-size:32px}
.fm-h2{text-align:center;font-size:clamp(22px,3.5vw,32px);margin:0 0 8px;color:#1f2d24}
.fm-sub{text-align:center;color:#5b6b61;margin:0 0 24px}
.fm-cta{background:#fff4e6;border:1px solid #ffd8a8;border-radius:20px;padding:36px 24px;text-align:center;margin:44px 0 20px}
.fm-cta h2{margin:0 0 8px;color:#1f2d24}
.fm-cta p{margin:0 0 18px;color:#5b6b61}
