/* Canhme Shortcodes 1.0.0 – màu chủ đạo #669900 */
:root {
	--cm-brand: #669900;
	--cm-brand-dark: #547e00;   /* nền cho chữ trắng (tương phản 4.8:1) */
	--cm-brand-text: #3d5c00;   /* chữ trên nền xanh nhạt */
	--cm-brand-bg: #f3f8e8;
	--cm-brand-border: #c9e09a;
	--cm-neutral-dark: #2b2f24;
	--cm-line: #e3e8da;
	--cm-row-alt: #f7f9f2;
	--cm-radius: 4px;
}

/* ---------- Box ---------- */
.symple-box {
	display: block;
	box-sizing: border-box;
	padding: 15px 20px;
	margin: 0 0 1.5em;
	border: 1px solid transparent;
	border-radius: var(--cm-radius);
	font-size: 1em;
	line-height: 1.65;
}
.symple-box > :first-child { margin-top: 0; }
.symple-box > :last-child,
.symple-box p:last-child { margin-bottom: 0; }
.symple-box a { color: inherit; text-decoration: underline; font-weight: 600; }

.symple-box.center { margin-left: auto; margin-right: auto; float: none; }
.symple-box.left   { float: left; }
.symple-box.right  { float: right; }

.symple-box.red    { color: #b42318; background: #fef3f2; border-color: #f8c9c4; }
.symple-box.green  { color: var(--cm-brand-text); background: var(--cm-brand-bg); border-color: var(--cm-brand-border); }
.symple-box.yellow { color: #8a5300; background: #fffaeb; border-color: #f5dc9a; }
.symple-box.blue   { color: #1d5d8c; background: #eff6fb; border-color: #bcd8ec; }
.symple-box.gray   { color: #444; background: #f7f7f5; border-color: #e1e1dc; }
.symple-box.white  { color: #333; background: #fff; border-color: #e1e1dc; }
.symple-box.black  { color: #fff; background: var(--cm-neutral-dark); }
.symple-box.black a { color: #fff; }

/* ---------- Spacing ---------- */
.symple-spacing { display: block; margin: 0; padding: 0; border: 0; background: none; clear: both; }

/* ---------- Pricing table ---------- */
.symple-pricing-table {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	gap: 24px 4%;
	margin: 0 0 2em;
	font-size: 16px;
	clear: both;
}
.symple-pricing {
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	border: 1px solid var(--cm-line);
	border-radius: var(--cm-radius);
	overflow: hidden;
	background: #fff;
	text-align: center;
	transition: transform .2s ease, box-shadow .2s ease;
}
.symple-pricing:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(43, 47, 36, .1); }

.symple-pricing.symple-one-half   { width: 48%; }
.symple-pricing.symple-one-third  { width: 30.66%; }
.symple-pricing.symple-one-fourth { width: 22%; }
.symple-pricing.symple-full       { width: 100%; }

/* Cột bảng giá đặt ngoài [symple_pricing_table]: xếp float như bản cũ */
:not(.symple-pricing-table) > .symple-pricing { float: left; margin: 0 4% 2em 0; }
:not(.symple-pricing-table) > .symple-pricing.symple-column-last { margin-right: 0; }
:not(.symple-pricing-table) > .symple-pricing.symple-column-last + * { clear: both; }

.symple-pricing-header {
	background: var(--cm-neutral-dark);
	color: #fff;
	padding: 20px 0;
}
.symple-pricing .symple-pricing-header h5 {
	margin: 0;
	padding: 0 20px 10px;
	color: #fff;
	font-size: 1em;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
	border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.symple-pricing-cost { font-size: 2em; line-height: 1; padding-top: 18px; font-weight: 700; color: #fff; }
.symple-pricing-per  { font-size: .8em; color: #c8cdbd; margin-top: 6px; }

.symple-pricing.featured { border: 2px solid var(--cm-brand); }
.symple-pricing.featured .symple-pricing-header { background: var(--cm-brand-dark); }
.symple-pricing.featured .symple-pricing-header h5 { border-bottom-color: rgba(0, 0, 0, .12); }
.symple-pricing.featured .symple-pricing-per { color: #e4efcc; }

.symple-pricing-content { flex: 1 1 auto; font-size: .875em; }
.symple-pricing-content ul,
.symple-pricing-content ol { margin: 0 !important; padding: 0 !important; list-style: none !important; }
.symple-pricing-content li {
	margin: 0 !important;
	padding: 10px 16px !important;
	border-bottom: 1px solid var(--cm-line);
	list-style: none !important;
}
.symple-pricing-content li:nth-child(even) { background: var(--cm-row-alt); }
.symple-pricing-content p { margin: 0; padding: 10px 16px; }

.symple-pricing-button { padding: 20px; }

/* ---------- Nút ---------- */
.symple-button {
	display: inline-block;
	padding: .85em 1.4em;
	border: 0 !important;
	border-radius: 3px;
	background: var(--cm-neutral-dark);
	color: #fff !important;
	font-family: inherit;
	font-size: 13px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: .03em;
	text-align: center;
	text-decoration: none !important;
	white-space: nowrap;
	cursor: pointer;
	transition: filter .15s ease, transform .15s ease;
}
.symple-button:hover,
.symple-button:focus { filter: brightness(1.12); transform: translateY(-1px); color: #fff !important; }
.symple-button:focus-visible { outline: 2px solid var(--cm-brand); outline-offset: 2px; }

.symple-button.black  { background: var(--cm-neutral-dark); }
.symple-button.green  { background: var(--cm-brand-dark); }
.symple-button.orange { background: #b84a00; }
.symple-button.red    { background: #c0392b; }
.symple-button.blue   { background: #1d5d8c; }
.symple-button.gold   { background: #e9b200; color: #2b2b2b !important; }
.symple-button.gold:hover,
.symple-button.gold:focus { color: #2b2b2b !important; }

/* ---------- Toggle (details/summary) ---------- */
.symple-toggle {
	margin: 10px 0;
	border: 1px solid #dfe6d0;
	border-radius: var(--cm-radius);
	background: #fff;
}
.symple-toggle > summary {
	position: relative;
	display: block;
	padding: 13px 16px 13px 42px;
	background: #f6f8f1;
	color: #333;
	cursor: pointer;
	list-style: none;
	border-radius: var(--cm-radius);
	transition: background .15s ease;
}
.symple-toggle > summary::-webkit-details-marker { display: none; }
.symple-toggle > summary::before {
	content: "+";
	position: absolute;
	left: 16px;
	top: 50%;
	transform: translateY(-50%);
	width: 16px;
	text-align: center;
	color: var(--cm-brand);
	font-size: 20px;
	font-weight: 700;
	line-height: 1;
}
.symple-toggle > summary:hover { background: #eef3e3; }
.symple-toggle > summary:focus-visible { outline: 2px solid var(--cm-brand); outline-offset: 2px; }
.symple-toggle .symple-toggle-title {
	margin: 0 !important;
	padding: 0 !important;
	font-size: 1em !important;
	font-weight: 600;
	line-height: 1.5;
	color: inherit;
	text-transform: none;
	letter-spacing: normal;
}
.symple-toggle[open] { border-color: var(--cm-brand-border); }
.symple-toggle[open] > summary {
	background: #eef5e0;
	color: var(--cm-brand-text);
	border-radius: var(--cm-radius) var(--cm-radius) 0 0;
	border-bottom: 1px solid #dfe6d0;
}
.symple-toggle[open] > summary::before { content: "\2212"; }
.symple-toggle-container { padding: 15px 16px; }
.symple-toggle-container > :first-child { margin-top: 0; }
.symple-toggle-container > :last-child { margin-bottom: 0; }

/* ---------- Clear ---------- */
.symple-clear-floats { clear: both; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
	.symple-pricing.symple-one-fourth { width: 48%; }
}
@media (max-width: 680px) {
	.symple-pricing-table .symple-pricing { width: 100% !important; }
	:not(.symple-pricing-table) > .symple-pricing { float: none; width: 100% !important; margin-right: 0; }
	.symple-box.left,
	.symple-box.right { float: none; width: 100% !important; margin-left: 0; margin-right: 0; }
}
@media (prefers-reduced-motion: reduce) {
	.symple-pricing, .symple-button, .symple-toggle > summary { transition: none; }
	.symple-pricing:hover, .symple-button:hover { transform: none; }
}
