/* Ánh Quỳnh Plant Storefront — Modern Vietnamese Seed & Gardening E-commerce Theme */
:root {
	--asst-green: #166534;
	--asst-green-dark: #104725;
	--asst-sprout: #22c55e;
	--asst-flash: #ea580c;
	--asst-flash-dark: #c2410c;
	--asst-bg: #f6f9f7;
	--asst-card: #ffffff;
	--asst-border: #dce6df;
	--asst-text: #1a241e;
	--asst-muted: #55665c;
	--asst-radius: 12px;
}

*, *::before, *::after { box-sizing: border-box; }
body {
	margin: 0;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	color: var(--asst-text);
	background: #ffffff;
	line-height: 1.55;
}
a { color: var(--asst-green); text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

.asst-container {
	width: 100%;
	max-width: 1240px;
	margin: 0 auto;
	padding: 0 16px;
}

/* Topbar */
.asst-topbar { background: var(--asst-green-dark); color: #e7f6ec; font-size: 12px; padding: 7px 0; }
.asst-topbar-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.asst-topbar-right { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.asst-topbar-phone { color: #fef08a; text-decoration: none; }
.asst-topbar-socials { display: inline-flex; align-items: center; gap: 8px; }
.asst-topbar-socials a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.14);
	color: #ffffff;
	transition: background 0.15s ease;
}
.asst-topbar-socials a:hover { background: var(--asst-sprout); color: #052e16; }

/* Header */
.asst-header {
	position: sticky;
	top: 0;
	z-index: 900;
	background: #ffffff;
	border-bottom: 1px solid var(--asst-border);
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}
.asst-header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding-top: 12px;
	padding-bottom: 12px;
}
.asst-logo { display: flex; align-items: center; flex-shrink: 0; }
.asst-logo .custom-logo-link,
.asst-brand-logo-link { display: inline-flex; align-items: center; line-height: 1; }
.asst-logo img.custom-logo,
.asst-brand-logo-img { height: 48px; width: auto; max-height: 52px; object-fit: contain; display: block; }
.asst-brand-text { display: flex; align-items: center; gap: 10px; color: var(--asst-green-dark); }
.asst-brand-icon { font-size: 28px; line-height: 1; }
.asst-brand-text strong { display: block; font-size: 18px; letter-spacing: -0.02em; }
.asst-brand-text small { display: block; font-size: 11px; color: var(--asst-muted); }

.asst-search-form {
	flex: 1 1 380px;
	max-width: 480px;
	display: flex;
	border: 2px solid var(--asst-green);
	border-radius: 999px;
	overflow: hidden;
	background: #fff;
}
.asst-search-form input {
	flex: 1;
	border: none;
	padding: 9px 14px;
	font-size: 13px;
	outline: none;
}
.asst-search-form button {
	background: var(--asst-green);
	color: #fff;
	border: none;
	padding: 0 18px;
	font-weight: 600;
	font-size: 13px;
	cursor: pointer;
}

.asst-header-tools { display: flex; align-items: center; gap: 10px; }
.asst-tool-link { font-size: 13px; font-weight: 500; color: var(--asst-text); padding: 6px 8px; }
.asst-cart-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: #ecfdf5;
	border: 1px solid #86efac;
	color: var(--asst-green-dark);
	padding: 7px 13px;
	border-radius: 999px;
	font-weight: 600;
	font-size: 13px;
}
.asst-cart-count {
	background: var(--asst-flash);
	color: #fff;
	font-size: 11px;
	min-width: 20px;
	height: 20px;
	border-radius: 999px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0 5px;
}
.asst-nav-toggle { display: none; background: none; border: 1px solid var(--asst-border); border-radius: 8px; padding: 6px 10px; font-size: 18px; cursor: pointer; }

/* Category Nav */
.asst-cat-nav { background: var(--asst-green); }
.asst-menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
}
.asst-menu a {
	display: block;
	color: #f0fdf4;
	padding: 10px 14px;
	font-size: 13px;
	font-weight: 500;
}
.asst-menu a:hover { background: rgba(255, 255, 255, 0.14); color: #fff; }

/* Hero */
.asst-hero {
	background-size: cover;
	background-position: center;
	color: #ffffff;
	padding: 64px 0;
}
.asst-hero-content { max-width: 640px; }
.asst-hero-kicker {
	display: inline-block;
	background: rgba(255, 255, 255, 0.18);
	border: 1px solid rgba(255, 255, 255, 0.35);
	padding: 5px 12px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 600;
	margin-bottom: 14px;
}
.asst-hero h1 { font-size: clamp(26px, 4vw, 42px); line-height: 1.2; margin: 0 0 14px; color: #fff; }
.asst-hero p { font-size: 15px; color: #e7f6ec; margin: 0 0 22px; }
.asst-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.asst-btn-primary {
	display: inline-block;
	background: var(--asst-sprout);
	color: #052e16;
	font-weight: 700;
	padding: 12px 22px;
	border-radius: 10px;
}
.asst-btn-flash {
	display: inline-block;
	background: var(--asst-flash);
	color: #ffffff;
	font-weight: 700;
	padding: 12px 22px;
	border-radius: 10px;
}

/* Trust Strip */
.asst-trust-strip { background: var(--asst-bg); border-bottom: 1px solid var(--asst-border); padding: 18px 0; }
.asst-trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.asst-trust-item strong { display: block; font-size: 14px; color: var(--asst-green-dark); }
.asst-trust-item span { font-size: 12px; color: var(--asst-muted); }

/* Sections */
.asst-section { padding: 40px 0; }
.asst-bg-tint { background: var(--asst-bg); }
.asst-section-head {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	margin-bottom: 20px;
	gap: 12px;
}
.asst-section-head h2 { margin: 0; font-size: 22px; color: var(--asst-green-dark); }
.asst-link-more { font-size: 13px; font-weight: 600; }

/* Flash Sale Box */
.asst-flash-box {
	background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
	border: 2px solid #fdba74;
	border-radius: 16px;
	padding: 22px;
}
.asst-flash-head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 18px;
}
.asst-flash-badge {
	display: inline-block;
	background: var(--asst-flash);
	color: #fff;
	font-weight: 800;
	font-size: 12px;
	padding: 4px 10px;
	border-radius: 999px;
	margin-bottom: 6px;
}
.asst-flash-head h2 { margin: 0; font-size: 22px; color: #9a3412; }
.asst-countdown { display: flex; align-items: center; gap: 6px; font-size: 13px; }
.asst-countdown strong {
	background: #9a3412;
	color: #fff;
	padding: 6px 9px;
	border-radius: 8px;
	font-size: 16px;
	min-width: 36px;
	text-align: center;
}
.asst-countdown em { font-style: normal; font-weight: 700; color: #9a3412; }

/* Product Grid & Cards */
.asst-product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.asst-card {
	background: #fff;
	border: 1px solid var(--asst-border);
	border-radius: var(--asst-radius);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: transform 0.16s ease, box-shadow 0.16s ease;
}
.asst-card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(16, 71, 37, 0.08); }
.asst-card-thumb { position: relative; aspect-ratio: 1 / 1; background: #f8faf9; overflow: hidden; }
.asst-card-thumb img { width: 100%; height: 100%; object-fit: cover; }
.asst-pill-sale {
	position: absolute;
	top: 10px;
	left: 10px;
	background: var(--asst-flash);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	padding: 3px 8px;
	border-radius: 999px;
}
.asst-pill-oos {
	position: absolute;
	top: 10px;
	right: 10px;
	background: #374151;
	color: #fff;
	font-size: 11px;
	padding: 3px 8px;
	border-radius: 999px;
}
.asst-card-body { padding: 12px 14px 14px; display: flex; flex-direction: column; flex: 1; }
.asst-agri-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 6px; }
.asst-agri-tags span { background: #ecfdf5; color: #166534; font-size: 11px; padding: 2px 7px; border-radius: 6px; }
.asst-card-title { margin: 0 0 8px; font-size: 14px; line-height: 1.35; flex: 1; }
.asst-card-title a { color: var(--asst-text); }
.asst-price-row { font-size: 15px; font-weight: 700; color: var(--asst-flash-dark); margin-bottom: 10px; }
.asst-price-row del { color: #94a3b8; font-weight: 400; font-size: 13px; margin-right: 6px; }
.asst-price-row ins { text-decoration: none; }
.asst-flash-stock { margin-bottom: 10px; }
.asst-flash-bar { height: 7px; background: #fed7aa; border-radius: 999px; overflow: hidden; margin-bottom: 3px; }
.asst-flash-bar span { display: block; height: 100%; background: var(--asst-flash); }
.asst-flash-stock small { font-size: 11px; color: #9a3412; font-weight: 600; }
.asst-btn-cart {
	display: block;
	width: 100%;
	text-align: center;
	background: var(--asst-green);
	color: #fff !important;
	padding: 9px 10px;
	border-radius: 8px;
	font-size: 13px;
	font-weight: 600;
}
.asst-btn-cart:hover { background: var(--asst-green-dark); }
.asst-btn-outline {
	display: block;
	width: 100%;
	text-align: center;
	border: 1px solid var(--asst-border);
	padding: 8px;
	border-radius: 8px;
	font-size: 13px;
}

/* 5 Categories Grid */
.asst-cat-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.asst-cat-card {
	background: #fff;
	border: 1px solid var(--asst-border);
	border-radius: var(--asst-radius);
	overflow: hidden;
	text-align: center;
	transition: transform 0.15s ease;
}
.asst-cat-card:hover { transform: translateY(-3px); }
.asst-cat-card img { aspect-ratio: 1 / 1; object-fit: cover; width: 100%; }
.asst-cat-info { padding: 10px; }
.asst-cat-info strong { display: block; font-size: 14px; color: var(--asst-text); }
.asst-cat-info span { font-size: 11px; color: var(--asst-muted); }

/* Blog Grid */
.asst-blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.asst-blog-card { background: #fff; border: 1px solid var(--asst-border); border-radius: var(--asst-radius); overflow: hidden; }
.asst-blog-thumb img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.asst-blog-body { padding: 14px; }
.asst-blog-body time { font-size: 12px; color: var(--asst-muted); }
.asst-blog-body h3, .asst-blog-body h2 { margin: 6px 0 8px; font-size: 16px; line-height: 1.35; }
.asst-blog-body p { margin: 0; font-size: 13px; color: var(--asst-muted); }

/* Blog Hub & Single SEO Article Styles */
.asst-blog-hero {
	background: linear-gradient(120deg, #104725 0%, #166534 100%);
	color: #fff;
	padding: 36px 0;
}
.asst-blog-hero-inner { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 18px; }
.asst-blog-kicker { display: inline-block; background: rgba(255, 255, 255, 0.16); padding: 4px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; margin-bottom: 8px; }
.asst-blog-hero h1 { margin: 0 0 8px; font-size: clamp(22px, 3vw, 32px); color: #fff; }
.asst-blog-hero p { margin: 0; max-width: 620px; color: #dcfce7; font-size: 14px; }
.asst-blog-search { display: flex; background: #fff; border-radius: 999px; overflow: hidden; min-width: 280px; flex: 0 1 360px; }
.asst-blog-search input { flex: 1; border: none; padding: 10px 14px; font-size: 13px; outline: none; }
.asst-blog-search button { border: none; background: var(--asst-sprout); color: #052e16; font-weight: 700; padding: 0 16px; cursor: pointer; }

.asst-blog-cats { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.asst-cat-pill {
	display: inline-block;
	padding: 6px 13px;
	border-radius: 999px;
	background: #edf5f0;
	color: var(--asst-green-dark);
	font-size: 13px;
	font-weight: 600;
}
.asst-cat-pill.is-active, .asst-cat-pill:hover { background: var(--asst-green); color: #fff; }

.asst-blog-thumb { position: relative; display: block; }
.asst-blog-cat-badge {
	position: absolute;
	left: 10px;
	bottom: 10px;
	background: rgba(16, 71, 37, 0.9);
	color: #fff;
	font-size: 11px;
	font-weight: 600;
	padding: 3px 9px;
	border-radius: 999px;
}
.asst-blog-meta { display: flex; gap: 12px; font-size: 12px; color: var(--asst-muted); margin-bottom: 6px; }
.asst-read-more { display: inline-block; margin-top: 10px; font-size: 13px; font-weight: 600; }

.asst-breadcrumb { display: flex; flex-wrap: wrap; gap: 6px; font-size: 12px; color: var(--asst-muted); margin-bottom: 18px; }
.asst-breadcrumb .is-current { color: var(--asst-text); font-weight: 600; }

.asst-article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; align-items: start; }
.asst-article-main { background: #fff; }
.asst-article-head h1 { margin: 12px 0 10px; font-size: clamp(24px, 3vw, 34px); line-height: 1.25; color: var(--asst-green-dark); }
.asst-article-meta { display: flex; flex-wrap: wrap; gap: 14px; font-size: 13px; color: var(--asst-muted); padding-bottom: 14px; border-bottom: 1px solid var(--asst-border); }
.asst-toc { background: #f3faf5; border: 1px solid #bbf7d0; border-radius: 10px; padding: 14px 18px; margin: 18px 0; }
.asst-toc ol { margin: 8px 0 0 18px; padding: 0; font-size: 13px; display: flex; flex-direction: column; gap: 5px; }
.asst-toc li.is-sub { margin-left: 16px; list-style-type: circle; }
.asst-article-content { font-size: 16px; line-height: 1.75; }
.asst-article-content h2 { margin: 26px 0 10px; color: var(--asst-green-dark); font-size: 22px; }
.asst-article-content h3 { margin: 20px 0 8px; color: var(--asst-green); font-size: 18px; }
.asst-article-tags { margin-top: 24px; padding-top: 14px; border-top: 1px solid var(--asst-border); display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; }
.asst-article-tags a { background: #f1f5f9; padding: 3px 9px; border-radius: 6px; color: var(--asst-text); }
.asst-related-section { margin-top: 32px; padding-top: 22px; border-top: 1px solid var(--asst-border); }
.asst-related-section h2 { margin: 0 0 14px; font-size: 20px; color: var(--asst-green-dark); }
.asst-comments-box { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--asst-border); }

.asst-article-sidebar { position: sticky; top: 112px; display: flex; flex-direction: column; gap: 16px; }
.asst-side-card { background: var(--asst-bg); border: 1px solid var(--asst-border); border-radius: var(--asst-radius); padding: 16px; }
.asst-side-card h3 { margin: 0 0 12px; font-size: 15px; color: var(--asst-green-dark); }
.asst-side-products { display: flex; flex-direction: column; gap: 12px; }
.asst-side-prod { display: grid; grid-template-columns: 64px 1fr; gap: 10px; align-items: start; background: #fff; padding: 8px; border-radius: 8px; border: 1px solid var(--asst-border); }
.asst-side-prod img { width: 64px; height: 64px; object-fit: cover; border-radius: 6px; }
.asst-side-prod-title { display: block; font-size: 13px; font-weight: 600; color: var(--asst-text); line-height: 1.3; }
.asst-side-prod-price { font-size: 13px; font-weight: 700; color: var(--asst-flash-dark); margin: 3px 0; }
.asst-side-add { display: inline-block; font-size: 11px; font-weight: 600; background: var(--asst-green); color: #fff !important; padding: 3px 8px; border-radius: 6px; }
.asst-side-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 13px; }
.asst-side-list a { display: flex; justify-content: space-between; color: var(--asst-text); }

@media (max-width: 960px) {
	.asst-article-layout { grid-template-columns: 1fr; }
	.asst-article-sidebar { position: static; }
}

/* Inner & WooCommerce Wrappers */
.asst-wc-wrap, .asst-content-wrap, .asst-article-wrap { padding-top: 28px; padding-bottom: 48px; }
.asst-article { max-width: 820px; margin: 0 auto; }
.asst-article-hero { margin: 18px 0; border-radius: 12px; overflow: hidden; }
.asst-empty-banner { background: #fff; border: 1px dashed #fb923c; border-radius: 10px; padding: 18px; text-align: center; }

/* WooCommerce Notices & Checkout Polish */
.woocommerce-notices-wrapper,
.woocommerce-form-coupon-toggle {
	width: 100%;
}
.woocommerce .woocommerce-info,
.woocommerce .woocommerce-message,
.woocommerce .woocommerce-error {
	border-radius: 10px;
	margin: 0 0 18px;
	padding: 14px 18px 14px 44px;
	font-size: 14px;
	line-height: 1.5;
	box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
}
.woocommerce .woocommerce-info {
	background: #f0fdf4;
	border-top: 3px solid var(--asst-green);
	color: #14532d;
}
.woocommerce .woocommerce-info::before { color: var(--asst-green); }
.woocommerce .woocommerce-message {
	background: #ecfdf5;
	border-top: 3px solid #16a34a;
	color: #14532d;
}
.woocommerce .woocommerce-error {
	background: #fef2f2;
	border-top: 3px solid #dc2626;
	color: #991b1b;
}
.woocommerce form.checkout_coupon {
	border: 1px solid var(--asst-border);
	border-radius: 10px;
	background: #f8fafc;
	padding: 18px;
}
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	padding: 10px 12px;
	font-size: 14px;
	background: #fff;
}
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus {
	border-color: var(--asst-green);
	outline: none;
	box-shadow: 0 0 0 3px rgba(27, 122, 62, 0.12);
}
.woocommerce #place_order,
.woocommerce button.button.alt {
	background: var(--asst-green);
	color: #fff;
	border-radius: 8px;
	padding: 12px 24px;
	font-weight: 700;
}
.woocommerce #place_order:hover,
.woocommerce button.button.alt:hover {
	background: var(--asst-green-dark);
}

/* Footer */
.asst-footer { background: var(--asst-green-dark); color: #dcfce7; padding-top: 40px; }
.asst-footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 24px; padding-bottom: 32px; }
.asst-footer-logo-wrap {
	display: inline-flex;
	align-items: center;
	background: #ffffff;
	padding: 8px 14px;
	border-radius: 10px;
	margin-bottom: 12px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.14);
}
.asst-footer-logo-img { height: 40px; width: auto; object-fit: contain; display: block; }
.asst-footer-title, .asst-footer-heading { color: #fff; margin: 0 0 12px; }
.asst-footer p { font-size: 13px; color: #bbf7d0; }
.asst-footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 13px; }
.asst-footer-links a { color: #dcfce7; }
.asst-footer-contact p { margin: 6px 0; font-size: 13px; color: #dcfce7; }
.asst-footer-contact a { color: #fef08a; }
.asst-social-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.asst-social-btn {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 8px 13px;
	border-radius: 8px;
	color: #ffffff !important;
	font-size: 13px;
	font-weight: 600;
	transition: transform 0.14s ease, opacity 0.14s ease;
}
.asst-social-btn:hover { transform: translateY(-2px); opacity: 0.92; }
.asst-social-btn.is-fb { background: #1877f2; }
.asst-social-btn.is-tt { background: #111827; border: 1px solid rgba(255, 255, 255, 0.2); }
.asst-social-btn.is-yt { background: #dc2626; }
.asst-social-btn.is-zl { background: #0068ff; }
.asst-footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.14); padding: 14px 0; font-size: 12px; color: #a7f3d0; }

/* Responsive Mobile First Polish */
@media (max-width: 1024px) {
	.asst-product-grid { grid-template-columns: repeat(3, 1fr); }
	.asst-cat-grid { grid-template-columns: repeat(3, 1fr); }
	.asst-trust-grid { grid-template-columns: repeat(2, 1fr); }
	.asst-footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
	.asst-header-inner { flex-wrap: wrap; }
	.asst-logo img.custom-logo,
	.asst-brand-logo-img { height: 40px; }
	.asst-search-form { order: 3; flex: 1 0 100%; max-width: 100%; }
	.asst-tool-link span, .asst-cart-btn span:first-of-type { display: none; }
	.asst-nav-toggle { display: inline-block; }
	.asst-cat-nav { display: none; }
	.asst-cat-nav.is-open { display: block; }
	.asst-menu { flex-direction: column; }
	.asst-product-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
	.asst-cat-grid { grid-template-columns: repeat(2, 1fr); }
	.asst-blog-grid, .asst-footer-grid { grid-template-columns: 1fr; }
	.asst-hero { padding: 38px 0; }
}

/* Full Active Promotions Hub (#khuyen-mai) */
.asst-promo-hub {
	background: linear-gradient(180deg, #f8fcf9 0%, #ffffff 100%);
	border-bottom: 1px solid var(--asst-border);
}
.asst-promo-hub-head {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 18px;
}
.asst-promo-kicker {
	display: inline-block;
	background: #fef2f2;
	color: #b91c1c;
	border: 1px solid #fecaca;
	padding: 3px 10px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.03em;
	margin-bottom: 6px;
}
.asst-promo-hub-head h2 {
	margin: 0 0 4px;
	font-size: 24px;
	color: var(--asst-green-dark);
}
.asst-promo-sub {
	margin: 0;
	font-size: 13px;
	color: var(--asst-muted);
}

/* Filter Tabs */
.asst-promo-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 18px;
}
.asst-promo-tab {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 14px;
	border-radius: 999px;
	border: 1px solid var(--asst-border);
	background: #ffffff;
	color: var(--asst-text);
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.15s ease;
}
.asst-promo-tab:hover { border-color: var(--asst-green); color: var(--asst-green-dark); }
.asst-promo-tab.is-active {
	background: var(--asst-green);
	border-color: var(--asst-green);
	color: #ffffff;
}
.asst-tab-count {
	font-style: normal;
	font-size: 11px;
	background: rgba(0, 0, 0, 0.08);
	padding: 1px 7px;
	border-radius: 999px;
}
.asst-promo-tab.is-active .asst-tab-count {
	background: rgba(255, 255, 255, 0.22);
	color: #ffffff;
}

/* Promotion Cards Grid (Compact Collapsible Cards, align-items:start prevents stretching neighbors) */
.asst-promo-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
	align-items: start;
}
.asst-promo-card {
	background: #ffffff;
	border: 1px solid var(--asst-border);
	border-top: 4px solid var(--asst-green);
	border-radius: 12px;
	padding: 0;
	overflow: hidden;
	box-shadow: 0 2px 10px rgba(16, 71, 37, 0.05);
	transition: box-shadow 0.18s ease, border-color 0.18s ease, transform 0.15s ease;
}
.asst-promo-card:hover {
	box-shadow: 0 6px 18px rgba(16, 71, 37, 0.10);
	transform: translateY(-1px);
}
.asst-promo-card.is-expanded {
	box-shadow: 0 10px 26px rgba(16, 71, 37, 0.12);
	border-color: #86efac;
}
.asst-promo-card[hidden] { display: none !important; }
.asst-promo-card.is-flash { border-top-color: #ea580c; background: linear-gradient(180deg, #fffaf5 0%, #ffffff 48%); }
.asst-promo-card.is-combo { border-top-color: #16a34a; background: linear-gradient(180deg, #f3fdf6 0%, #ffffff 48%); }
.asst-promo-card.is-seasonal { border-top-color: #0d9488; background: linear-gradient(180deg, #f0fdfa 0%, #ffffff 48%); }
.asst-promo-card.is-bundle { border-top-color: #4f46e5; background: linear-gradient(180deg, #f5f3ff 0%, #ffffff 48%); }
.asst-promo-card.is-coupon { border-top-color: #e11d48; background: linear-gradient(180deg, #fff1f2 0%, #ffffff 48%); }

.asst-promo-summary {
	padding: 12px 14px;
	cursor: pointer;
	display: flex;
	flex-direction: column;
	gap: 8px;
	user-select: none;
}
.asst-promo-summary:focus-visible {
	outline: 2px solid var(--asst-green);
	outline-offset: -2px;
}

.asst-promo-card-top {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px;
}
.asst-promo-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; }
.asst-promo-type-pill {
	display: inline-block;
	padding: 3px 9px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 800;
	color: #ffffff;
	background: var(--asst-green);
}
.asst-promo-type-pill.is-flash { background: #ea580c; }
.asst-promo-type-pill.is-combo { background: #15803d; }
.asst-promo-type-pill.is-seasonal { background: #0f766e; }
.asst-promo-type-pill.is-bundle { background: #4338ca; }
.asst-promo-type-pill.is-coupon { background: #be123c; }

.asst-promo-status-pill {
	font-size: 10px;
	font-weight: 700;
	padding: 2px 7px;
	border-radius: 999px;
}
.asst-promo-status-pill.is-live { background: #dcfce7; color: #166534; }
.asst-promo-status-pill.is-upcoming { background: #fef3c7; color: #92400e; }

.asst-promo-discount-tag {
	background: #fef2f2;
	color: #b91c1c;
	border: 1px solid #fca5a5;
	font-weight: 800;
	font-size: 14px;
	padding: 2px 9px;
	border-radius: 8px;
}
.asst-promo-title {
	margin: 0;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.35;
	color: var(--asst-text);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.asst-promo-card.is-expanded .asst-promo-title {
	display: block;
	-webkit-line-clamp: unset;
}

.asst-promo-compact-foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 6px 8px;
	padding-top: 6px;
	border-top: 1px dashed #e2e8f0;
}
.asst-promo-compact-meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px;
	font-size: 11px;
	color: var(--asst-muted);
}
.asst-promo-chip-count {
	background: #f1f5f9;
	color: #334155;
	padding: 2px 7px;
	border-radius: 6px;
	font-weight: 600;
}
.asst-copy-inline {
	padding: 2px 8px;
	font-size: 11px;
	border-radius: 6px;
	background: #ecfdf5;
	color: var(--asst-green-dark);
	border: 1px solid #86efac;
}
.asst-copy-inline:hover {
	background: var(--asst-green);
	color: #ffffff;
}
.asst-copy-inline.is-copied {
	background: #0f766e;
	color: #ffffff;
	border-color: #0f766e;
}
.asst-promo-toggle-hint {
	font-size: 12px;
	font-weight: 700;
	color: var(--asst-green);
	white-space: nowrap;
}

/* Collapsible Drawer */
.asst-promo-details {
	padding: 0 14px 14px;
	border-top: 1px solid #edf2ee;
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding-top: 12px;
	background: #ffffff;
}
.asst-promo-details[hidden] { display: none !important; }

.asst-promo-desc {
	margin: 0;
	font-size: 12px;
	color: var(--asst-muted);
}
.asst-promo-meta-row {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 12px;
	font-size: 12px;
	color: #374151;
}
.asst-promo-timer {
	font-weight: 700;
	color: #c2410c;
	font-size: 11px;
}

/* Copyable Coupon Bar */
.asst-coupon-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 9px 12px;
	background: #f8fafc;
	border: 1px dashed #94a3b8;
	border-radius: 10px;
}
.asst-coupon-bar small { display: block; font-size: 11px; color: var(--asst-muted); }
.asst-coupon-code {
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 15px;
	font-weight: 800;
	letter-spacing: 0.05em;
	color: var(--asst-green-dark);
}
.asst-copy-coupon-btn {
	background: var(--asst-green);
	color: #ffffff;
	border: none;
	border-radius: 8px;
	padding: 7px 12px;
	font-size: 12px;
	font-weight: 700;
	cursor: pointer;
	white-space: nowrap;
}
.asst-copy-coupon-btn:hover { background: var(--asst-green-dark); }
.asst-copy-coupon-btn.is-copied { background: #0f766e; }

/* Linked Products inside Campaign Card */
.asst-promo-products-label {
	font-size: 12px;
	font-weight: 700;
	color: var(--asst-green-dark);
	margin-bottom: 8px;
}
.asst-promo-prod-list {
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.asst-promo-prod-item {
	display: grid;
	grid-template-columns: 46px minmax(0, 1fr) auto;
	gap: 10px;
	align-items: center;
	background: #f8faf9;
	border: 1px solid #e5ede8;
	border-radius: 10px;
	padding: 7px 9px;
}
.asst-promo-prod-thumb img {
	width: 46px;
	height: 46px;
	object-fit: cover;
	border-radius: 7px;
}
.asst-promo-prod-name {
	display: block;
	font-size: 13px;
	font-weight: 600;
	color: var(--asst-text);
	line-height: 1.3;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.asst-promo-prod-price { font-size: 12px; color: var(--asst-flash-dark); margin-top: 2px; }
.asst-promo-prod-price del { color: #94a3b8; margin-right: 6px; font-weight: 400; }
.asst-promo-mini-add {
	background: #ecfdf5;
	border: 1px solid #86efac;
	color: var(--asst-green-dark) !important;
	padding: 5px 10px;
	border-radius: 7px;
	font-size: 12px;
	font-weight: 700;
	white-space: nowrap;
}
.asst-promo-mini-add:hover { background: var(--asst-green); color: #ffffff !important; }
.asst-btn-combo-add {
	width: 100%;
	margin-top: 10px;
	background: linear-gradient(90deg, #16a34a 0%, #15803d 100%);
	color: #ffffff;
	border: none;
	border-radius: 9px;
	padding: 10px 14px;
	font-size: 13px;
	font-weight: 700;
	cursor: pointer;
}
.asst-btn-combo-add:hover { opacity: 0.94; }
.asst-promo-all-store {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 10px;
	background: #f8faf9;
	border-radius: 10px;
	padding: 10px 12px;
	font-size: 12px;
	color: var(--asst-muted);
}
.asst-promo-shop-cta { font-weight: 700; white-space: nowrap; }

/* Single Product Page Active Promotions Strip */
.asst-single-promos {
	margin: 14px 0 18px;
	padding: 12px 14px;
	background: #fffaf5;
	border: 1px solid #fed7aa;
	border-radius: 10px;
}
.asst-single-promos-title {
	font-size: 13px;
	font-weight: 800;
	color: #9a3412;
	margin-bottom: 8px;
}
.asst-single-promos ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 7px;
}
.asst-single-promos li {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	font-size: 13px;
}
.asst-sp-badge {
	background: #ea580c;
	color: #ffffff;
	font-size: 11px;
	font-weight: 800;
	padding: 2px 7px;
	border-radius: 6px;
}
.asst-copy-sm {
	padding: 3px 8px;
	font-size: 11px;
}

@media (max-width: 1060px) {
	.asst-promo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
	.asst-promo-grid { grid-template-columns: 1fr; }
}
