/* Category guide: "which one should I choose" table + category FAQ (inc/category-guide.php). */
.tt-cguide { max-inline-size: 1200px; margin-inline: auto; padding: var(--wp--preset--spacing--80) 20px 0; box-sizing: border-box; }
.tt-cguide--faq { max-inline-size: 860px; padding-block-end: var(--wp--preset--spacing--80); }
.tt-cguide__h { margin: 0 0 var(--wp--preset--spacing--40); color: var(--wp--preset--color--brand-blue); }
.tt-cguide__lead { margin: 0 0 var(--wp--preset--spacing--60); max-inline-size: 860px; }
.tt-cguide__scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.tt-cguide__table { inline-size: 100%; min-inline-size: 640px; border-collapse: collapse; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 2px 12px rgba(0, 54, 111, .06); }
.tt-cguide__table thead th { text-align: start; background: var(--wp--preset--color--brand-blue); color: #fff; padding: 14px 18px; font-size: var(--wp--preset--font-size--small); }
.tt-cguide__table tbody th, .tt-cguide__table td { text-align: start; padding: 14px 18px; border-block-start: 1px solid var(--wp--preset--color--border); vertical-align: top; color: var(--wp--preset--color--contrast); }
.tt-cguide__table tbody th a { color: var(--wp--preset--color--brand-blue); font-weight: 700; }
.tt-cguide .tt-cguide__price { font-weight: 700; color: var(--wp--preset--color--brand-blue); white-space: nowrap; }
.tt-cguide__note { margin: var(--wp--preset--spacing--30) 0 0; font-size: var(--wp--preset--font-size--small); color: var(--wp--preset--color--muted); }
.tt-cguide__faq { border-block-end: 1px solid var(--wp--preset--color--border); }
.tt-cguide__faq summary { cursor: pointer; list-style: none; padding: var(--wp--preset--spacing--40) 40px var(--wp--preset--spacing--40) 0; font-weight: 700; position: relative; }
.tt-cguide__faq summary::-webkit-details-marker { display: none; }
.tt-cguide__faq summary::after { content: "+"; position: absolute; inset-inline-end: 8px; inset-block-start: 50%; translate: 0 -50%; font-size: 1.5em; color: var(--wp--preset--color--brand-blue); }
.tt-cguide__faq[open] summary::after { content: "–"; }
.tt-cguide__faq p { margin: 0 0 var(--wp--preset--spacing--40); color: var(--wp--preset--color--muted); }

/* Phone: one card per flag, the price never scrolls out of view. */
@media (max-width: 640px) {
	.tt-cguide__table { min-inline-size: 0; background: none; box-shadow: none; border-radius: 0; }
	.tt-cguide__table thead { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); }
	.tt-cguide__table, .tt-cguide__table tbody, .tt-cguide__table tr { display: block; }
	.tt-cguide__table tr { background: #fff; border-radius: 14px; box-shadow: 0 2px 12px rgba(0, 54, 111, .06); margin-block-end: 12px; padding: 14px 16px; }
	.tt-cguide__table tbody th, .tt-cguide__table td { display: flex; gap: 12px; justify-content: space-between; padding: 4px 0; border: 0; }
	.tt-cguide__table tbody th { padding-block-end: 8px; }
	.tt-cguide__table td::before { content: attr(data-label); color: var(--wp--preset--color--muted); font-size: var(--wp--preset--font-size--small); flex: none; }
	.tt-cguide__table td[data-label] { text-align: end; }
}

/* Price tables in articles ([tt_size_prices], inc/price-shortcodes.php). */
.tt-ptable { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-block: var(--wp--preset--spacing--50); }
.tt-ptable__table { inline-size: 100%; border-collapse: collapse; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 2px 12px rgba(0, 54, 111, .06); font-size: var(--wp--preset--font-size--small); }
.tt-ptable__table thead th { text-align: start; background: var(--wp--preset--color--brand-blue); color: #fff; padding: 12px 14px; }
.tt-ptable__table tbody th, .tt-ptable__table td { text-align: start; padding: 12px 14px; border-block-start: 1px solid var(--wp--preset--color--border); vertical-align: top; color: var(--wp--preset--color--contrast); }
.tt-ptable__table tbody th { white-space: nowrap; }
.tt-ptable .tt-ptable__price { font-weight: 700; color: var(--wp--preset--color--brand-blue); white-space: nowrap; }
.tt-cguide__more { margin: var(--wp--preset--spacing--40) 0 0; font-weight: 700; }
