/*
Theme Name: Marketingseotop.com
Theme URI: https://marketingseotop.com/
Author: Marketing SEO Top
Author URI: https://marketingseotop.com/
Description: Theme gốc cho website affiliate quà tặng. Bố cục section / row / col giống Flatsome để dễ sửa, có sẵn hệ thống link affiliate (Amazon, Awin, Impact, CJ, Skimlinks), hộp quà đánh số, mục lục tự động, đếm ngược mùa sale. Thiết kế bởi Marketingseotop.com. Dịch vụ: Thiết kế website chuyên nghiệp, Tên miền - Hosting, Email doanh nghiệp, Đăng sản phẩm/bài viết chuẩn SEO, Phân tích và đánh giá website, Tối ưu website, Xử lý mã độc WordPress, Nâng cấp cập nhật WordPress, Quản trị website, Quản trị fanpage, Viết bài chuẩn SEO, Viết kịch bản, Chăm sóc khách hàng, Quảng cáo Google Ads / Facebook Ads / TikTok Ads.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: marketingseotop
Tags: blog, e-commerce, custom-menu, custom-logo, featured-images, translation-ready
*/

/* ---------- 1. Tokens ---------- */
:root {
	--mst-primary: #b3263e;
	--mst-primary-dark: #8e1b30;
	--mst-accent: #1f5c4a;
	--mst-gold: #e0a526;
	--mst-ink: #1f2430;
	--mst-muted: #6b6f7b;
	--mst-bg: #fbf7f2;
	--mst-surface: #fff;
	--mst-line: #eadfd3;
	--mst-blush: #fbe9e7;
	--mst-mint: #e6f1ec;
	--mst-radius: 14px;
	--mst-width: 1180px;
	--mst-narrow: 780px;
	--mst-shadow: 0 1px 2px rgba(31, 36, 48, .05), 0 8px 24px rgba(31, 36, 48, .06);
	--mst-font-head: "Fraunces", Georgia, "Times New Roman", serif;
	--mst-font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
	margin: 0;
	background: var(--mst-bg);
	color: var(--mst-ink);
	font-family: var(--mst-font-body);
	font-size: 17px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img, svg, video, iframe { max-width: 100%; height: auto; }
img { display: block; }
a { color: var(--mst-primary); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--mst-primary-dark); }
h1, h2, h3, h4, h5, h6 {
	font-family: var(--mst-font-head);
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: -.01em;
	margin: 0 0 .6em;
	text-wrap: balance;
}
h1 { font-size: clamp(2rem, 4.6vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.1rem; }
p { margin: 0 0 1.15em; }
ul, ol { margin: 0 0 1.15em; padding-left: 1.3em; }
blockquote { margin: 1.5em 0; padding: .2em 0 .2em 1.2em; border-left: 4px solid var(--mst-gold); font-family: var(--mst-font-head); font-size: 1.15em; }
hr, .divider { border: 0; height: 1px; background: var(--mst-line); margin: 2em 0; }
table { width: 100%; border-collapse: collapse; margin: 0 0 1.5em; }
th, td { padding: .7em .8em; border-bottom: 1px solid var(--mst-line); text-align: left; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--mst-gold); outline-offset: 2px; border-radius: 4px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link:focus { position: fixed !important; top: 8px; left: 8px; z-index: 1000; width: auto; height: auto; clip: auto; padding: 10px 16px; background: #fff; color: var(--mst-ink); border-radius: 8px; }
.container { width: 100%; max-width: var(--mst-width); margin: 0 auto; padding: 0 20px; }
.container.narrow { max-width: var(--mst-narrow); }
.text-center { text-align: center; }
.text-right { text-align: right; }
.alignleft { float: left; margin: .3em 1.5em 1em 0; }
.alignright { float: right; margin: .3em 0 1em 1.5em; }
.aligncenter { margin-left: auto; margin-right: auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text, figcaption { font-size: .85em; color: var(--mst-muted); margin-top: .5em; }

/* ---------- 3. Rows and columns (same idea as Flatsome) ---------- */
.section { position: relative; padding: 56px 0; background-size: cover; background-position: center; }
.section-content { position: relative; z-index: 1; }
.section.dark { background-color: var(--mst-ink); color: #fff; }
.section.dark h1, .section.dark h2, .section.dark h3 { color: #fff; }
.section.dark a:not(.button) { color: #ffd9a0; }
.section.dark p { color: rgba(255, 255, 255, .82); }
.section.dark p.eyebrow { color: var(--mst-ink); background: var(--mst-gold); border-color: var(--mst-gold); }
.section.has-border { border-top: 1px solid var(--mst-line); border-bottom: 1px solid var(--mst-line); }
.row { display: flex; flex-wrap: wrap; width: 100%; max-width: var(--mst-width); margin: 0 auto; padding: 0 5px; }
.row .row { padding: 0; margin-left: -15px; margin-right: -15px; width: auto; max-width: none; }
.row-full-width { max-width: 100%; }
.col { position: relative; width: 100%; flex: 0 0 100%; max-width: 100%; padding: 0 15px 30px; }
.col-inner { position: relative; height: 100%; }
.col-inner > :last-child { margin-bottom: 0; }
.col.has-bg > .col-inner { border-radius: var(--mst-radius); }
.row-small > .col { padding: 0 10px 20px; }
.row-large > .col { padding: 0 30px 30px; }
.row-collapse > .col { padding: 0; }
.align-middle { align-items: center; }
.align-bottom { align-items: flex-end; }
.align-equal > .col > .col-inner { height: 100%; }
.align-center { justify-content: center; }
.align-right { justify-content: flex-end; }
.small-1 { flex-basis: 8.3333%; max-width: 8.3333%; } .small-2 { flex-basis: 16.6667%; max-width: 16.6667%; }
.small-3 { flex-basis: 25%; max-width: 25%; } .small-4 { flex-basis: 33.3333%; max-width: 33.3333%; }
.small-5 { flex-basis: 41.6667%; max-width: 41.6667%; } .small-6 { flex-basis: 50%; max-width: 50%; }
.small-7 { flex-basis: 58.3333%; max-width: 58.3333%; } .small-8 { flex-basis: 66.6667%; max-width: 66.6667%; }
.small-9 { flex-basis: 75%; max-width: 75%; } .small-10 { flex-basis: 83.3333%; max-width: 83.3333%; }
.small-11 { flex-basis: 91.6667%; max-width: 91.6667%; } .small-12 { flex-basis: 100%; max-width: 100%; }
@media (min-width: 550px) {
	.medium-1 { flex-basis: 8.3333%; max-width: 8.3333%; } .medium-2 { flex-basis: 16.6667%; max-width: 16.6667%; }
	.medium-3 { flex-basis: 25%; max-width: 25%; } .medium-4 { flex-basis: 33.3333%; max-width: 33.3333%; }
	.medium-5 { flex-basis: 41.6667%; max-width: 41.6667%; } .medium-6 { flex-basis: 50%; max-width: 50%; }
	.medium-7 { flex-basis: 58.3333%; max-width: 58.3333%; } .medium-8 { flex-basis: 66.6667%; max-width: 66.6667%; }
	.medium-9 { flex-basis: 75%; max-width: 75%; } .medium-10 { flex-basis: 83.3333%; max-width: 83.3333%; }
	.medium-11 { flex-basis: 91.6667%; max-width: 91.6667%; } .medium-12 { flex-basis: 100%; max-width: 100%; }
}
@media (min-width: 850px) {
	.large-1 { flex-basis: 8.3333%; max-width: 8.3333%; } .large-2 { flex-basis: 16.6667%; max-width: 16.6667%; }
	.large-3 { flex-basis: 25%; max-width: 25%; } .large-4 { flex-basis: 33.3333%; max-width: 33.3333%; }
	.large-5 { flex-basis: 41.6667%; max-width: 41.6667%; } .large-6 { flex-basis: 50%; max-width: 50%; }
	.large-7 { flex-basis: 58.3333%; max-width: 58.3333%; } .large-8 { flex-basis: 66.6667%; max-width: 66.6667%; }
	.large-9 { flex-basis: 75%; max-width: 75%; } .large-10 { flex-basis: 83.3333%; max-width: 83.3333%; }
	.large-11 { flex-basis: 91.6667%; max-width: 91.6667%; } .large-12 { flex-basis: 100%; max-width: 100%; }
}
.gap-element { display: block; clear: both; }
.ux-image-box .box-image { margin: 0 0 16px; }
.ux-image-box .box-image img { border-radius: 12px; }
.page-content .row { padding: 0; margin-left: -15px; margin-right: -15px; width: auto; max-width: none; }
.page-rows.has-title { padding-bottom: 40px; }
.page-rows.has-title h1 { font-size: clamp(1.5rem, 2.4vw, 2rem); }

/* ---------- 4. Buttons and form controls ---------- */
.button, button.button, input[type="submit"] {
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	padding: .78em 1.4em; border: 2px solid transparent; border-radius: 999px;
	background: var(--mst-primary); color: #fff; font-weight: 600; font-size: .95rem; line-height: 1.2;
	text-decoration: none; cursor: pointer; transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
	margin: 0 .5em .6em 0;
}
.button:hover, input[type="submit"]:hover { background: var(--mst-primary-dark); color: #fff; transform: translateY(-1px); box-shadow: 0 6px 16px rgba(179, 38, 62, .25); }
.button.secondary { background: var(--mst-accent); }
.button.secondary:hover { background: #17463a; box-shadow: 0 6px 16px rgba(31, 92, 74, .25); }
.button.outline { background: transparent; color: var(--mst-ink); border-color: var(--mst-ink); }
.button.outline:hover { background: var(--mst-ink); color: #fff; box-shadow: none; }
.button.white { background: #fff; color: var(--mst-ink); }
.button.white:hover { background: #fff; color: var(--mst-primary); }
.button.is-link { background: none; color: var(--mst-primary); padding: 0; border-radius: 0; }
.button.is-link:hover { box-shadow: none; transform: none; text-decoration: underline; }
.button.is-small { font-size: .82rem; padding: .6em 1.1em; }
.button.is-large { font-size: 1.05rem; padding: .95em 1.8em; }
input[type="text"], input[type="email"], input[type="search"], input[type="url"], textarea, select {
	width: 100%; padding: .8em 1em; border: 1px solid var(--mst-line); border-radius: 12px; background: #fff;
}
textarea { min-height: 160px; resize: vertical; }
label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .35em; }

/* ---------- 5. Top bar and header ---------- */
.topbar { background: var(--mst-ink); color: #fff; font-size: .85rem; text-align: center; padding: 8px 16px; }
.topbar a { color: #ffd9a0; font-weight: 600; margin-left: .4em; }
.topbar b { color: #fff; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(251, 247, 242, .94); backdrop-filter: saturate(140%) blur(10px); border-bottom: 1px solid var(--mst-line); }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.site-branding { flex: 0 0 auto; }
.site-branding a { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--mst-ink); }
.site-title { font-family: var(--mst-font-head); font-weight: 700; font-size: 1.5rem; letter-spacing: -.02em; line-height: 1; }
.site-title .dot { color: var(--mst-primary); }
.brand-mark { display: block; flex: 0 0 auto; border-radius: 10px; }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-brand .footer-logo .site-title { margin-bottom: 0; }
.custom-logo { max-height: 46px; width: auto; }
.primary-nav { flex: 1 1 auto; }
.primary-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 2px; }
.primary-nav li { position: relative; }
.primary-nav a { display: block; padding: 10px 13px; border-radius: 999px; color: var(--mst-ink); font-weight: 500; font-size: .93rem; text-decoration: none; white-space: nowrap; }
.primary-nav a:hover, .primary-nav .current-menu-item > a, .primary-nav .current-cat > a { background: var(--mst-blush); color: var(--mst-primary-dark); }
.primary-nav ul ul { display: none; position: absolute; top: 100%; left: 0; min-width: 220px; flex-direction: column; background: #fff; border: 1px solid var(--mst-line); border-radius: 12px; padding: 8px; box-shadow: var(--mst-shadow); z-index: 5; }
.primary-nav li:hover > ul, .primary-nav li:focus-within > ul { display: flex; }
.header-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.icon-button { width: 42px; height: 42px; display: grid; place-items: center; border: 0; border-radius: 50%; background: transparent; cursor: pointer; color: var(--mst-ink); }
.icon-button:hover { background: var(--mst-blush); }
.nav-toggle { display: none; }
.header-search { border-top: 1px solid var(--mst-line); padding: 14px 0; background: #fff; }
.header-search[hidden] { display: none; }
.search-form { display: flex; gap: 8px; max-width: 560px; }
.header-search .search-form { margin: 0 auto; }
.search-form .search-field { flex: 1 1 auto; border-radius: 999px; padding-left: 1.2em; }
.search-form .button { margin: 0; flex: 0 0 auto; }
@media (max-width: 980px) {
	.nav-toggle { display: grid; }
	.header-inner { gap: 10px; min-height: 62px; }
	.site-branding { flex: 1 1 auto; text-align: center; }
	.primary-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--mst-line); box-shadow: var(--mst-shadow); padding: 10px 16px 18px; max-height: calc(100vh - 110px); overflow: auto; }
	.primary-nav.is-open { display: block; }
	.primary-nav ul { flex-direction: column; gap: 0; }
	.primary-nav a { padding: 13px 12px; border-radius: 10px; font-size: 1rem; border-bottom: 1px solid var(--mst-line); }
	.primary-nav ul ul { display: flex; position: static; border: 0; box-shadow: none; padding: 0 0 0 16px; }
	.header-actions { margin-left: 0; }
}

/* ---------- 6. Hero and section titles ---------- */
.section.hero { padding: 64px 0 40px; background: radial-gradient(900px 420px at 88% 0%, rgba(224, 165, 38, .22), transparent 60%), radial-gradient(700px 380px at 0% 100%, rgba(31, 92, 74, .12), transparent 60%), var(--mst-blush); }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--mst-primary); background: #fff; border: 1px solid var(--mst-line); border-radius: 999px; padding: 6px 14px; margin-bottom: 18px; }
.lead { font-size: 1.15rem; color: #454956; max-width: 34em; }
.hero h1 em { font-style: italic; color: var(--mst-primary); }
.section-title { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 26px; flex-wrap: wrap; }
.section-title h2, .section-title h3, .section-title h1 { margin: 0; }
.section-title .sub { flex: 0 0 100%; margin: .5em 0 0; color: var(--mst-muted); font-size: 1rem; }
.section-title a.more { font-weight: 600; font-size: .93rem; text-decoration: none; white-space: nowrap; }
.section-title a.more::after { content: " \2192"; }
.section-title-center { justify-content: center; text-align: center; }
.section-title-center .sub { margin-left: auto; margin-right: auto; max-width: 40em; }

/* ---------- 7. Covers, chips and cards ---------- */
.cover { position: relative; aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden; display: grid; place-items: center; background: var(--mst-blush); }
.cover::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .5) 1.5px, transparent 1.6px); background-size: 18px 18px; opacity: .45; pointer-events: none; }
.cover img, .cover .cover-img { width: 100%; height: 100%; object-fit: cover; }
.cover.has-img::after { display: none; }
.cover-emoji { position: relative; z-index: 1; font-size: clamp(2.6rem, 6vw, 4rem); line-height: 1; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .15)); transition: transform .25s ease; }
.tone-berry { background: linear-gradient(135deg, #f9d6d5, #f3a9b3); }
.tone-pine { background: linear-gradient(135deg, #d6ebe1, #9cc9b5); }
.tone-gold { background: linear-gradient(135deg, #fbecc4, #f3c969); }
.tone-sky { background: linear-gradient(135deg, #dbe8fb, #a8c5f0); }
.tone-plum { background: linear-gradient(135deg, #ebdcf5, #c7a6e0); }
.tone-peach { background: linear-gradient(135deg, #ffe3cf, #ffb787); }
.tone-ink { background: linear-gradient(135deg, #3a4052, #1f2430); }
.chip { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--mst-accent); background: var(--mst-mint); border-radius: 999px; padding: 4px 11px; text-decoration: none; }
a.chip:hover { background: var(--mst-accent); color: #fff; }
.card { display: flex; flex-direction: column; height: 100%; background: var(--mst-surface); border: 1px solid var(--mst-line); border-radius: var(--mst-radius); padding: 10px; transition: transform .2s ease, box-shadow .2s ease; }
.card:hover { transform: translateY(-3px); box-shadow: var(--mst-shadow); }
.card:hover .cover-emoji { transform: scale(1.08) rotate(-4deg); }
.card-cover-link { display: block; text-decoration: none; }
.card-body { padding: 16px 10px 10px; display: flex; flex-direction: column; flex: 1 1 auto; }
.card-title { font-size: 1.22rem; margin: 10px 0 8px; }
.card-title a { color: var(--mst-ink); text-decoration: none; }
.card-title a:hover { color: var(--mst-primary); }
.card-excerpt { color: var(--mst-muted); font-size: .93rem; margin: 0 0 14px; }
.card-meta { margin: auto 0 0; font-size: .8rem; color: var(--mst-muted); }
.card-list { flex-direction: row; align-items: center; gap: 14px; }
.card-list .card-cover-link { flex: 0 0 120px; }
.card-list .card-body { padding: 4px 6px; }
.card-list .card-title { font-size: 1.05rem; margin: 6px 0; }

/* ---------- 8. Category tiles, feature boxes, events ---------- */
.cat-tile { display: flex; flex-direction: column; align-items: center; gap: 12px; height: 100%; padding: 22px 12px 18px; background: #fff; border: 1px solid var(--mst-line); border-radius: var(--mst-radius); text-align: center; text-decoration: none; color: var(--mst-ink); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.cat-tile:hover { transform: translateY(-3px); box-shadow: var(--mst-shadow); border-color: var(--mst-primary); color: var(--mst-ink); }
.cat-emoji { width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center; font-size: 1.9rem; }
.cat-name { font-family: var(--mst-font-head); font-weight: 600; font-size: 1.02rem; line-height: 1.25; }
.cat-more { font-size: .78rem; color: var(--mst-primary); font-weight: 600; }
.featured-box { height: 100%; padding: 26px 24px; background: #fff; border: 1px solid var(--mst-line); border-radius: var(--mst-radius); }
.featured-box .fb-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--mst-blush); display: grid; place-items: center; font-size: 1.5rem; margin-bottom: 16px; }
.featured-box h3 { font-size: 1.15rem; margin-bottom: .4em; }
.featured-box p { color: var(--mst-muted); font-size: .95rem; }
.section.dark .featured-box { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); }
.mst-events { background: #fff; border: 1px solid var(--mst-line); border-radius: 20px; padding: 22px; box-shadow: var(--mst-shadow); }
.mst-events h3 { font-size: 1.05rem; margin-bottom: 12px; }
.mst-events ul { list-style: none; margin: 0; padding: 0; }
.mst-events li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px dashed var(--mst-line); }
.mst-events li:first-child { border-top: 0; }
.ev-emoji { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font-size: 1.3rem; flex: 0 0 auto; }
.ev-text { flex: 1 1 auto; line-height: 1.3; }
.ev-text b { display: block; font-size: .98rem; }
.ev-text a { color: inherit; text-decoration: none; }
.ev-text a:hover { color: var(--mst-primary); }
.ev-text span { font-size: .82rem; color: var(--mst-muted); }
.ev-days { flex: 0 0 auto; font-size: .78rem; font-weight: 700; background: var(--mst-ink); color: #fff; border-radius: 999px; padding: 5px 11px; white-space: nowrap; }
.mst-countdown { text-align: center; }
.cd-label { font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--mst-gold); margin-bottom: 14px; }
.cd-grid { display: inline-flex; gap: 12px; }
.cd-grid > div { min-width: 86px; padding: 16px 10px 12px; border-radius: 14px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); }
.cd-grid b { display: block; font-family: var(--mst-font-head); font-size: 2.4rem; line-height: 1; font-variant-numeric: tabular-nums; }
.cd-grid span { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; opacity: .75; }
.section:not(.dark) .cd-grid > div { background: #fff; border-color: var(--mst-line); }

/* ---------- 9. Archive ---------- */
.page-hero { padding: 44px 0 36px; background: var(--mst-blush); border-bottom: 1px solid var(--mst-line); margin-bottom: 44px; }
.page-hero h1 { margin-bottom: .3em; }
.page-hero .archive-description, .page-hero .archive-description p { color: #454956; max-width: 46em; margin-bottom: 0; }
.breadcrumbs { font-size: .82rem; color: var(--mst-muted); margin-bottom: 14px; }
.breadcrumbs a { color: var(--mst-muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--mst-primary); }
.breadcrumbs .sep { margin: 0 .5em; opacity: .6; }
.pagination, .nav-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin: 20px 0 60px; }
.page-numbers { min-width: 42px; height: 42px; padding: 0 12px; display: inline-grid; place-items: center; border: 1px solid var(--mst-line); border-radius: 999px; background: #fff; color: var(--mst-ink); text-decoration: none; font-weight: 600; font-size: .9rem; }
.page-numbers.current, a.page-numbers:hover { background: var(--mst-ink); border-color: var(--mst-ink); color: #fff; }
.no-results { text-align: center; padding: 20px 0 60px; }
.no-results .search-form { margin: 20px auto; }

/* ---------- 10. Single post ---------- */
.post-hero { padding: 40px 0 34px; background: var(--mst-blush); border-bottom: 1px solid var(--mst-line); }
.post-title { margin: 14px 0 12px; }
.post-lead { font-size: 1.15rem; color: #454956; margin-bottom: 14px; }
.post-meta { font-size: .86rem; color: var(--mst-muted); display: flex; flex-wrap: wrap; gap: 6px 14px; }
.post-meta span + span::before { content: "\00B7"; margin-right: 14px; }
.post-thumb { margin: 32px 0 0; }
.post-thumb img { border-radius: var(--mst-radius); width: auto; max-width: 100%; margin: 0 auto; }
.disclosure { display: flex; gap: 10px; align-items: flex-start; margin: 28px 0 0; padding: 12px 16px; font-size: .85rem; color: #5a4a2a; background: #fff8e6; border: 1px solid #f1dfae; border-radius: 12px; }
.disclosure p { margin: 0; }
.entry-content { padding: 30px 0 10px; font-size: 1.06rem; }
.entry-content > h2 { margin-top: 1.8em; }
.entry-content > h3 { margin-top: 1.5em; }
.entry-content img { border-radius: 12px; }
.entry-content li { margin-bottom: .4em; }
.gift-toc { margin: 8px 0 34px; padding: 20px 24px; background: #fff; border: 1px solid var(--mst-line); border-radius: var(--mst-radius); }
.gift-toc-title { font-family: var(--mst-font-head); font-weight: 600; font-size: 1.1rem; margin: 0 0 10px; }
.gift-toc a { color: var(--mst-ink); text-decoration: none; font-weight: 600; }
.gift-toc a:hover { color: var(--mst-primary); text-decoration: underline; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.glance { margin: 0; font-size: .92rem; }
table.glance th { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--mst-muted); border-bottom: 2px solid var(--mst-line); padding: .5em .7em; }
table.glance td { padding: .55em .7em; vertical-align: top; }
table.glance tr:last-child td { border-bottom: 0; }
table.glance td:first-child, table.glance th:first-child { width: 2.2em; color: var(--mst-muted); padding-left: 0; }
table.glance td:last-child { white-space: nowrap; color: #7a5600; font-weight: 600; }
.takeaways { margin: 0 0 28px; padding: 20px 24px; background: var(--mst-mint); border-left: 5px solid var(--mst-accent); border-radius: 0 var(--mst-radius) var(--mst-radius) 0; }
.takeaways-title { font-family: var(--mst-font-head); font-weight: 700; font-size: 1.1rem; color: var(--mst-accent); margin: 0 0 8px; }
.takeaways ul { margin: 0; padding-left: 1.2em; }
.takeaways li { margin-bottom: .45em; }
.takeaways > :last-child, .takeaways li:last-child { margin-bottom: 0; }
.gift-check { margin: 0 0 14px; padding: 10px 14px; font-size: .92rem; background: var(--mst-bg); border-radius: 10px; color: #3b3f4b; }
.gift-check strong { color: var(--mst-ink); }
.faq { margin: 0 0 20px; }
.faq-item { padding: 18px 0; border-top: 1px solid var(--mst-line); }
.faq-item:last-child { border-bottom: 1px solid var(--mst-line); }
.faq-q { font-size: 1.12rem; margin: 0 0 8px; }
.faq-a > :last-child { margin-bottom: 0; }
.section .faq { max-width: var(--mst-narrow); margin-left: auto; margin-right: auto; }
.byline { display: flex; gap: 12px; align-items: center; margin: 28px 0 0; padding: 14px 16px; background: #fff; border: 1px solid var(--mst-line); border-radius: 12px; font-size: .88rem; color: var(--mst-muted); }
.byline a { font-weight: 600; }
.gift-item { position: relative; display: grid; grid-template-columns: 52px 1fr; gap: 6px 18px; margin: 0 0 22px; padding: 24px; background: #fff; border: 1px solid var(--mst-line); border-radius: var(--mst-radius); transition: box-shadow .2s ease; }
.gift-item:hover { box-shadow: var(--mst-shadow); }
.gift-item.has-image { grid-template-columns: 52px 1fr 180px; }
.gift-num { width: 52px; height: 52px; border-radius: 50%; background: var(--mst-primary); color: #fff; display: grid; place-items: center; font-family: var(--mst-font-head); font-weight: 700; font-size: 1.25rem; }
.gift-body > :last-child { margin-bottom: 0; }
.gift-title { font-size: 1.32rem; margin: 6px 0 8px; }
.gift-meta { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; }
.gift-tag { font-size: .76rem; font-weight: 600; border-radius: 999px; padding: 4px 11px; background: var(--mst-mint); color: var(--mst-accent); }
.gift-tag.price { background: #fff3d6; color: #7a5600; }
.gift-tag.badge { background: var(--mst-primary); color: #fff; }
.gift-desc { font-size: 1rem; color: #3b3f4b; }
.gift-desc p:last-child { margin-bottom: 14px; }
.gift-item .button { margin: 2px 0 0; }
.gift-image img { border-radius: 12px; width: 100%; aspect-ratio: 1; object-fit: cover; }
.aff-note { display: block; font-size: .74rem; color: var(--mst-muted); margin-top: 8px; }
.post-footer { margin: 26px 0 50px; padding-top: 22px; border-top: 1px solid var(--mst-line); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.post-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.post-tags a { font-size: .8rem; padding: 5px 12px; border: 1px solid var(--mst-line); border-radius: 999px; background: #fff; color: var(--mst-ink); text-decoration: none; }
.post-tags a:hover { border-color: var(--mst-primary); color: var(--mst-primary); }
.share { display: flex; align-items: center; gap: 8px; font-size: .85rem; color: var(--mst-muted); }
.share a, .share button { height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--mst-line); background: #fff; color: var(--mst-ink); font-size: .8rem; font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; cursor: pointer; }
.share a:hover, .share button:hover { border-color: var(--mst-ink); }
.share .pin { background: #e60023; border-color: #e60023; color: #fff; }
.related { padding: 50px 0 30px; background: #fff; border-top: 1px solid var(--mst-line); }
.page-content { padding: 0 0 60px; }
.notice { padding: 14px 18px; border-radius: 12px; margin: 0 0 20px; font-size: .95rem; }
.notice.ok { background: var(--mst-mint); color: #174a3b; }
.notice.err { background: #fde4e4; color: #8e1b30; }
.mst-form p { margin-bottom: 16px; }
.mst-form .hp { position: absolute; left: -9999px; }

/* ---------- 11. Footer ---------- */
.site-footer { background: var(--mst-ink); color: rgba(255, 255, 255, .78); font-size: .93rem; margin-top: 0; }
.footer-main { padding: 56px 0 26px; }
.site-footer h4 { color: #fff; font-family: var(--mst-font-body); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer a { color: rgba(255, 255, 255, .78); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 9px; }
.footer-brand .site-title { color: #fff; display: block; margin-bottom: 14px; }
.footer-legal { font-size: .84rem; color: rgba(255, 255, 255, .6); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); padding: 18px 0; font-size: .82rem; color: rgba(255, 255, 255, .6); }
.footer-bottom .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; }
.back-to-top { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--mst-ink); color: #fff; cursor: pointer; box-shadow: var(--mst-shadow); opacity: 0; pointer-events: none; transition: opacity .2s ease; }
.back-to-top.is-visible { opacity: 1; pointer-events: auto; }

/* ---------- 12. Small screens ---------- */
@media (max-width: 849px) {
	.section { padding: 40px 0; }
	.section.hero { padding: 40px 0 16px; }
}
@media (max-width: 549px) {
	body { font-size: 16px; }
	.col { padding: 0 12px 24px; }
	.gift-item, .gift-item.has-image { grid-template-columns: 1fr; padding: 20px 18px; }
	.gift-num { width: 42px; height: 42px; font-size: 1.05rem; }
	.gift-image { order: -1; max-width: 220px; }
	.gift-item .button { width: 100%; }
	.gift-toc ol { columns: 1; }
	.cd-grid > div { min-width: 74px; }
	.cd-grid b { font-size: 1.9rem; }
	.post-footer { flex-direction: column; align-items: flex-start; }
	.search-form { flex-wrap: wrap; }
	.cat-tile { padding: 16px 8px 14px; }
	.cat-emoji { width: 54px; height: 54px; font-size: 1.5rem; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition: none !important; animation: none !important; }
}
