/* Panchayat Stores – design layer (loaded after the theme) */
body {
	--global-palette1: #0b6b3a;
	--global-palette2: #f28c0f;
	--global-palette3: #17201c;
	--global-palette4: #2b3631;
	--global-palette5: #55615c;
	--global-palette6: #8a9892;
	--global-palette7: #eaf3ec;
	--global-palette8: #fff8ec;
	--global-palette9: #ffffff;
	--ps-green: #0b6b3a;
	--ps-green-dark: #07502b;
	--ps-saffron: #f28c0f;
	--ps-cream: #fff8ec;
	--ps-leaf: #eaf3ec;
	--ps-ink: #17201c;
	--ps-muted: #55615c;
	--ps-radius: 16px;
	--ps-shadow: 0 6px 24px rgba(11, 107, 58, 0.12);
	font-family: 'Noto Sans Telugu', 'Poppins', system-ui, sans-serif;
	color: var(--ps-ink);
	font-size: 17px;
	line-height: 1.7;
}
body h1, body h2, body h3, body h4, body .site-title, body .entry-title {
	font-family: 'Noto Sans Telugu', 'Poppins', system-ui, sans-serif;
	color: var(--ps-ink);
	line-height: 1.35;
	font-weight: 700;
}

/* ---------- top bar ---------- */
.ps-topbar {
	background: var(--ps-green-dark);
	color: #fff;
	padding: 8px 20px;
	display: flex;
	gap: 16px;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	font-size: 14.5px;
	font-weight: 500;
	text-align: center;
}
.ps-topbar a { color: #ffd68a; font-weight: 700; text-decoration: none; }

/* ---------- header ---------- */
#masthead, .site-header { box-shadow: 0 2px 14px rgba(0, 0, 0, 0.07); background: #fff; }
.site-branding .site-title, .site-branding .site-title a { color: var(--ps-green) !important; font-weight: 800; }
.header-navigation .header-menu-container > ul > li.menu-item > a,
.main-navigation .primary-menu-container > ul > li.menu-item > a {
	font-weight: 600;
	font-size: 16.5px;
	color: var(--ps-ink);
}
.header-navigation .header-menu-container > ul > li.menu-item > a:hover,
.main-navigation .primary-menu-container > ul > li.menu-item > a:hover,
.header-navigation .header-menu-container > ul > li.current-menu-item > a { color: var(--ps-green); }

/* logo: keep header compact, the logo already carries the shop name */
.site-branding .custom-logo, .site-branding img.custom-logo, #masthead .custom-logo-link img { max-height: 68px !important; width: auto !important; height: auto; }
.site-branding .site-title-wrap, .site-branding .site-title, .site-branding .site-description { display: none !important; }
#main-header .site-main-header-inner-wrap, .site-main-header-inner-wrap { min-height: 76px; }
#masthead .site-header-row-container-inner { padding-top: 6px; padding-bottom: 6px; }

/* ---------- buttons ---------- */
.ps-btn, .wp-block-button.ps-btn .wp-block-button__link, .woocommerce a.button.ps-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 14px 26px;
	border-radius: 999px;
	font-weight: 700;
	font-size: 17px;
	line-height: 1.2;
	text-decoration: none !important;
	border: 2px solid transparent;
	cursor: pointer;
	transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}
.ps-btn:hover { transform: translateY(-2px); box-shadow: var(--ps-shadow); }
.ps-btn-wa { background: #25d366; color: #fff !important; }
.ps-btn-wa:hover { background: #1ebe5b; }
.ps-btn-main { background: var(--ps-saffron); color: #1b1200 !important; }
.ps-btn-main:hover { background: #ffa22e; }
.ps-btn-ghost { background: transparent; color: var(--ps-green) !important; border-color: var(--ps-green); }
.ps-btn-ghost:hover { background: var(--ps-green); color: #fff !important; }
.ps-hero .ps-btn-ghost { color: #fff !important; border-color: #fff; }
.ps-hero .ps-btn-ghost:hover { background: #fff; color: var(--ps-green) !important; }
.ps-btn-sm { padding: 9px 16px; font-size: 14.5px; }
.ps-btn-block { display: flex; width: 100%; margin-top: 10px; }

/* ---------- hero ---------- */
.ps-hero {
	background: linear-gradient(120deg, rgba(5, 60, 32, 0.96) 0%, rgba(11, 107, 58, 0.9) 55%, rgba(11, 107, 58, 0.55) 100%), var(--ps-green);
	color: #fff;
	border-radius: 0 0 36px 36px;
}
.ps-hero h1, .ps-hero h2, .ps-hero p, .ps-hero .has-white-color { color: #fff; }
.ps-hero h1 { font-size: clamp(30px, 5vw, 52px); line-height: 1.25; font-weight: 800; margin-bottom: 14px; }
.ps-hero .ps-lead { font-size: clamp(17px, 2.2vw, 22px); opacity: 0.95; max-width: 640px; }
.ps-hero .ps-kicker {
	display: inline-block;
	background: var(--ps-saffron);
	color: #1b1200;
	padding: 5px 16px;
	border-radius: 999px;
	font-weight: 700;
	font-size: 15px;
	margin-bottom: 18px;
}
.ps-hero-cta { margin-top: 26px; }
.ps-hero-cta > .wp-block-group__inner-container { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

/* ---------- stats ---------- */
.ps-stats { margin-top: -42px; position: relative; z-index: 3; }
.ps-stats > .wp-block-group__inner-container { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.ps-stat {
	background: #fff;
	border-radius: var(--ps-radius);
	box-shadow: var(--ps-shadow);
	text-align: center;
	padding: 20px 10px;
	border-bottom: 5px solid var(--ps-saffron);
}
.ps-stat b { display: block; font-size: clamp(26px, 4vw, 40px); color: var(--ps-green); line-height: 1.1; font-weight: 800; }
.ps-stat span { font-size: 15px; color: var(--ps-muted); font-weight: 500; }

/* ---------- sections ---------- */
.ps-section { padding: 56px 0; }
.ps-section-title { text-align: center; margin-bottom: 8px; font-size: clamp(25px, 3.5vw, 36px); }
.ps-section-sub { text-align: center; color: var(--ps-muted); margin-bottom: 30px; font-size: 18px; }
.ps-section-title::after {
	content: '';
	display: block;
	width: 64px;
	height: 5px;
	background: var(--ps-saffron);
	border-radius: 4px;
	margin: 12px auto 0;
}
.ps-alt { background: var(--ps-cream); }
.ps-leafbg { background: var(--ps-leaf); }

/* ---------- category tiles ---------- */
.ps-cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ps-cat {
	background: #fff;
	border: 2px solid #e3ece6;
	border-radius: 20px;
	padding: 26px 18px 22px;
	text-align: center;
	text-decoration: none !important;
	color: var(--ps-ink) !important;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s;
}
.ps-cat:hover { transform: translateY(-5px); box-shadow: var(--ps-shadow); border-color: var(--ps-green); }
.ps-cat-ico {
	font-size: 44px;
	width: 84px;
	height: 84px;
	line-height: 84px;
	border-radius: 50%;
	background: var(--ps-leaf);
	margin-bottom: 8px;
}
.ps-cat-name { font-size: 21px; font-weight: 700; color: var(--ps-green); line-height: 1.35; }
.ps-cat-en { font-size: 14.5px; color: var(--ps-muted); font-family: 'Poppins', sans-serif; }
.ps-cat-count { margin-top: 10px; background: var(--ps-saffron); color: #1b1200; font-weight: 700; font-size: 14px; padding: 5px 14px; border-radius: 999px; }

/* ---------- steps ---------- */
.ps-steps { counter-reset: s; }
.ps-steps > .wp-block-group__inner-container { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ps-step { background: #fff; border-radius: var(--ps-radius); padding: 26px 22px; box-shadow: var(--ps-shadow); position: relative; counter-increment: s; }
.ps-step::before {
	content: counter(s);
	position: absolute;
	top: -18px;
	left: 20px;
	background: var(--ps-saffron);
	color: #1b1200;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	text-align: center;
	line-height: 40px;
	font-weight: 800;
	font-size: 20px;
}
.ps-step h3 { margin: 10px 0 6px; font-size: 20px; color: var(--ps-green); }
.ps-step p { margin: 0; color: var(--ps-muted); }

/* ---------- offer banner ---------- */
.ps-offer {
	background: linear-gradient(120deg, var(--ps-saffron), #ffb347);
	border-radius: 24px;
	padding: 34px 30px;
	color: #1b1200;
	text-align: center;
}
.ps-offer h2 { color: #1b1200; margin: 0 0 6px; font-size: clamp(24px, 3.4vw, 34px); }
.ps-offer p { margin: 0 0 14px; font-size: 18px; }
.ps-offer .ps-btn { background: var(--ps-green); color: #fff !important; }

/* ---------- WooCommerce product cards ---------- */
.woocommerce ul.products li.product, .wc-block-grid__product {
	background: #fff;
	border: 1.5px solid #e3ece6;
	border-radius: 18px;
	padding: 14px 14px 18px;
	transition: box-shadow 0.18s, transform 0.18s;
	position: relative;
}
.woocommerce ul.products li.product:hover { box-shadow: var(--ps-shadow); transform: translateY(-3px); }
.woocommerce ul.products li.product img { border-radius: 12px; background: #f6f9f7; aspect-ratio: 1 / 1; object-fit: contain; width: 100%; }
.woocommerce ul.products li.product .woocommerce-loop-product__title {
	font-size: 17px !important;
	font-weight: 700;
	color: var(--ps-ink);
	line-height: 1.4;
	min-height: 2.8em;
	padding: 8px 0 2px;
}
.woocommerce ul.products li.product .price, .woocommerce div.product p.price {
	color: var(--ps-green) !important;
	font-weight: 800;
	font-size: 22px;
	display: flex;
	flex-direction: row-reverse;
	justify-content: flex-end;
	align-items: baseline;
	gap: 10px;
}
.woocommerce .price del { color: #9a9a9a; font-size: 15px; font-weight: 500; opacity: 1; }
.woocommerce .price ins { background: none; text-decoration: none; }
.ps-save { display: block; font-size: 14px; color: #b35c00; font-weight: 700; margin-bottom: 8px; }
.woocommerce span.onsale, .ps-badge {
	background: #d9381e !important;
	color: #fff !important;
	border-radius: 999px !important;
	min-height: 0 !important;
	min-width: 0 !important;
	line-height: 1 !important;
	padding: 8px 12px !important;
	font-weight: 800 !important;
	font-size: 14px !important;
	top: 12px !important;
	left: 12px !important;
	right: auto !important;
}
.woocommerce ul.products li.product .button { display: none; } /* WhatsApp button replaces "Add to cart" in lists */
.woocommerce div.product .product_title { font-size: clamp(24px, 3vw, 34px); }
.woocommerce div.product form.cart .button, .woocommerce #respond input#submit, .woocommerce a.button.alt, .woocommerce button.button.alt {
	background: var(--ps-saffron);
	color: #1b1200;
	border-radius: 999px;
	font-weight: 700;
	padding: 14px 26px;
}
.ps-order-box {
	margin-top: 22px;
	background: var(--ps-leaf);
	border: 2px dashed var(--ps-green);
	border-radius: 16px;
	padding: 18px;
}
.ps-order-box strong { color: var(--ps-green); font-size: 18px; }
.woocommerce-breadcrumb { font-size: 14.5px; }
.woocommerce .woocommerce-ordering select, .woocommerce-result-count { font-size: 15px; }

/* ---------- price list ---------- */
.ps-pl-tools { position: sticky; top: 0; z-index: 5; background: #fff; padding: 10px 0 12px; }
body.admin-bar .ps-pl-tools { top: 32px; }
#ps-pl-search {
	width: 100%;
	font-size: 18px;
	padding: 14px 18px;
	border: 2px solid var(--ps-green);
	border-radius: 14px;
	margin-bottom: 12px;
}
.ps-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.ps-chip {
	border: 2px solid var(--ps-green);
	background: #fff;
	color: var(--ps-green);
	border-radius: 999px;
	padding: 7px 16px;
	font-weight: 700;
	font-size: 15px;
	cursor: pointer;
	font-family: inherit;
}
.ps-chip.is-on, .ps-chip:hover { background: var(--ps-green); color: #fff; }
.ps-pl-table { width: 100%; border-collapse: collapse; margin-top: 8px; }
.ps-pl-table th { background: var(--ps-green); color: #fff; text-align: left; padding: 12px 10px; font-size: 15px; }
.ps-pl-table td { padding: 10px; border-bottom: 1px solid #e3ece6; vertical-align: middle; }
.ps-pl-table tr:nth-child(even) td { background: #f8fbf9; }
.ps-pl-img img { width: 56px; height: 56px; object-fit: contain; border-radius: 8px; background: #f3f6f4; }
.ps-pl-name a { font-weight: 700; color: var(--ps-ink); text-decoration: none; }
.ps-pl-name small { display: block; color: var(--ps-muted); font-size: 13px; }
.ps-pl-mrp del { color: #9a9a9a; }
.ps-pl-price { font-weight: 800; color: var(--ps-green); font-size: 19px; white-space: nowrap; }
.ps-pl-empty { text-align: center; padding: 28px; color: var(--ps-muted); }

/* ---------- floating buttons ---------- */
.ps-float { position: fixed; right: 14px; bottom: 14px; z-index: 9999; display: flex; flex-direction: column; gap: 10px; align-items: flex-end; }
.ps-float a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 18px;
	border-radius: 999px;
	color: #fff !important;
	font-weight: 700;
	font-size: 15.5px;
	text-decoration: none !important;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
}
.ps-float-wa { background: #25d366; }
.ps-float-call { background: var(--ps-green); }

/* ---------- contact form 7 ---------- */
.wpcf7 input[type='text'], .wpcf7 input[type='email'], .wpcf7 input[type='tel'], .wpcf7 textarea {
	width: 100%;
	padding: 13px 16px;
	border: 2px solid #cfdcd3;
	border-radius: 12px;
	font-size: 17px;
	font-family: inherit;
}
.wpcf7 input:focus, .wpcf7 textarea:focus { border-color: var(--ps-green); outline: none; }
.wpcf7 input[type='submit'] {
	background: var(--ps-saffron);
	color: #1b1200;
	border: 0;
	border-radius: 999px;
	padding: 14px 34px;
	font-weight: 800;
	font-size: 18px;
	cursor: pointer;
}
.ps-contact-card { background: #fff; border-radius: 18px; padding: 24px; box-shadow: var(--ps-shadow); }
.ps-contact-card p { margin: 0 0 12px; }

/* ---------- footer ---------- */
#colophon, .site-footer { background: #0a2f1d; color: #cfe3d6; }
#colophon a, .site-footer a { color: #ffd68a; }
#colophon h2, #colophon h3, .site-footer h2, .site-footer h3 { color: #fff; }

/* ---------- layout helpers used by the page blocks ---------- */
.ps-wrap { max-width: 1140px; margin-left: auto !important; margin-right: auto !important; padding-left: 20px; padding-right: 20px; }
.ps-hero { padding: 64px 0 96px; }
.ps-hero .ps-wrap > * { max-width: none; margin-left: 0; }
.ps-pagehead { background: linear-gradient(120deg, #07502b, #0b6b3a); padding: 44px 0; }
.ps-pagehead h1 { color: #fff; font-size: clamp(28px, 4vw, 42px); margin: 0 0 6px; }
.ps-pagehead p { color: #dff0e5; margin: 0; font-size: 18px; }
.ps-center { margin-top: 26px; }
.ps-center > .wp-block-group__inner-container { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.ps-note { color: var(--ps-muted); font-size: 14.5px; margin-top: 16px; }
.ps-about-text { max-width: 860px; margin: 0 auto; font-size: 18.5px; line-height: 1.9; }
.ps-stat p { margin: 0; }
.ps-stat .ps-stat-n { font-size: clamp(28px, 4.2vw, 42px); color: var(--ps-green); line-height: 1.15; font-weight: 800; }
.ps-stats > .wp-block-group__inner-container > *, .ps-steps > .wp-block-group__inner-container > *, .ps-hero-cta > .wp-block-group__inner-container > *, .ps-center > .wp-block-group__inner-container > * { max-width: none !important; margin-left: 0 !important; margin-right: 0 !important; }
.ps-stats-flat { margin-top: 30px; margin-bottom: 40px; }
.ps-hero-cta .wp-block-html { display: contents; }
.entry-content > .alignfull, .ps-section.alignfull { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); max-width: 100vw; width: 100vw; }
.content-area { margin-top: 0; margin-bottom: 0; }
.woocommerce ul.products { margin-top: 10px; }
.wp-block-columns { gap: 24px; }
.ps-offer .wp-block-heading { line-height: 1.35; }

/* Kadence hides loop buttons until hover – keep the WhatsApp order button always visible */
.woocommerce ul.products li.product .product-action-wrap { position: static !important; opacity: 1 !important; transform: none !important; visibility: visible !important; padding: 0 !important; background: transparent !important; box-shadow: none !important; width: auto !important; margin-top: 8px; }
.woocommerce ul.products li.product .product-action-wrap a.button, .woocommerce ul.products li.product .added_to_cart { display: none !important; }
.ps-btn-block { padding: 12px 16px; font-size: 16px; text-align: center; }
.ps-stats .ps-stat { margin-block-start: 0 !important; margin-top: 0 !important; }
.woocommerce ul.products li.product .product-details { padding: 0 !important; }

.ps-steps .ps-step { margin-block-start: 0 !important; margin-top: 0 !important; padding-top: 34px; }
.ps-steps > .wp-block-group__inner-container { align-items: start; row-gap: 34px; }

/* ---------- mobile ---------- */
@media (max-width: 600px) {
	.ps-topbar { font-size: 13px; padding: 6px 12px; }
	.ps-topbar a { display: none; }
}
@media (max-width: 860px) {
	body { font-size: 16.5px; }
	.ps-cats { grid-template-columns: repeat(2, 1fr); gap: 12px; }
	.ps-cat { padding: 18px 10px 16px; }
	.ps-cat-ico { width: 68px; height: 68px; line-height: 68px; font-size: 36px; }
	.ps-cat-name { font-size: 18px; }
	.ps-steps > .wp-block-group__inner-container { grid-template-columns: 1fr; gap: 28px; }
	.ps-stats > .wp-block-group__inner-container { gap: 8px; }
	.ps-stat { padding: 14px 6px; }
	.ps-section { padding: 40px 0; }
	.ps-float a span:last-child { display: none; }
	.ps-float a { padding: 14px; }
	.ps-pl-table thead { display: none; }
	.ps-pl-table, .ps-pl-table tbody, .ps-pl-table tr, .ps-pl-table td { display: block; width: 100%; }
	.ps-pl-table tr { border: 1.5px solid #e3ece6; border-radius: 14px; margin-bottom: 12px; padding: 10px; display: grid; grid-template-columns: 64px 1fr; gap: 4px 12px; background: #fff; }
	.ps-pl-table tr:nth-child(even) td { background: transparent; }
	.ps-pl-table td { border: 0; padding: 2px 0; }
	.ps-pl-img { grid-row: 1 / span 3; }
	.ps-pl-mrp, .ps-pl-price { display: inline-block; width: auto; }
}
