/*
	PIMRYPIE ขายที่ดิน (landsale) - section skin, 2026-08-29
	Loads AFTER theme 17's pimrypie_new_white.css (Bootstrap 3 bundled).
	Everything is namespaced .ls-* and most rules are prefixed .ls-page for
	specificity: theme 17 carries (0,1,1) element rules with !important
	(see the pimrypie rendering notes), so bare single-class rules can lose
	in production while winning in a themeless preview.
*/

.ls-page .ls-wrap { font-family: 'Kanit', sans-serif; background: #f7f6f3; }
.ls-page .ls-body { padding: 24px 15px 48px; }

/*
	Theme 17 head CSS carries `p { font-family: arial !important; line-height:
	1.2em !important; margin: 0 0 1.5em 0 !important }` - (0,0,1) WITH
	!important, so it beats any of our rules that lack !important. Verified in
	a local full-chain render 2026-08-29. Take paragraphs back at (0,2,1) with
	!important; specific margins below also need their own !important.
*/
.ls-page .ls-wrap p {
	font-family: 'Kanit', sans-serif !important;
	line-height: 1.6 !important;
	margin: 0 0 10px 0 !important;
}
.ls-page .ls-hero-text p { margin: 0 !important; }
.ls-page .ls-blurb { margin: 0 0 12px !important; }
.ls-page .ls-sub { margin: 0 0 12px !important; }
.ls-page .ls-hint { margin: -4px 0 10px !important; line-height: 1.45 !important; }
.ls-page .ls-privnote { margin: 10px 0 0 !important; line-height: 1.5 !important; }
.ls-page .ls-switch { margin: 14px 0 0 !important; }
.ls-page .ls-cell-body p { margin: 0 0 10px !important; line-height: 1.5 !important; }
.ls-page .ls-gate { margin: 0 0 10px !important; }

/* ============ hero ============ */
.ls-page .ls-hero {
	background: linear-gradient(135deg, #1b4332 0%, #2d6a4f 55%, #40916c 100%);
	color: #fff; padding: 26px 0 22px;
}
.ls-page .ls-hero-slim { padding: 16px 0 14px; }
.ls-page .ls-hero-in { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.ls-page .ls-mark {
	flex: 0 0 auto; width: 74px; height: 74px; border-radius: 16px;
	background: #ffd166; color: #1b4332; font-weight: 700; font-size: 17px;
	line-height: 1.15; display: flex; align-items: center; justify-content: center;
	text-align: center; letter-spacing: .5px; box-shadow: 0 4px 14px rgba(0,0,0,.25);
}
.ls-page .ls-hero-slim .ls-mark { width: 54px; height: 54px; font-size: 13px; border-radius: 12px; }
.ls-page a.ls-mark-link { text-decoration: none; }
.ls-page a.ls-mark-link:hover { opacity: .92; }
.ls-page .ls-hero-text { flex: 1 1 300px; min-width: 0; }
.ls-page .ls-hero-text h1 { margin: 4px 0 6px; font-size: 28px; color: #fff; font-weight: 600; }
.ls-page .ls-hero-h1-slim { font-size: 22px !important; margin: 2px 0 0 !important; }
.ls-page .ls-hero-text p { margin: 0; color: rgba(255,255,255,.85); font-size: 15px; max-width: 640px; }
.ls-page .ls-kicker, .ls-page .ls-kicker a { color: #ffd166; font-size: 13px; letter-spacing: 1px; text-decoration: none; }
.ls-page .ls-hero-tools { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.ls-page .ls-user { color: rgba(255,255,255,.9); font-size: 14px; }

/* ============ buttons ============ */
.ls-page .ls-btn {
	display: inline-block; background: #ffd166; color: #1b4332 !important;
	font-weight: 600; font-size: 15px; padding: 9px 20px; border: 0;
	border-radius: 999px; text-decoration: none !important; cursor: pointer;
	transition: transform .12s, box-shadow .12s; font-family: 'Kanit', sans-serif;
}
.ls-page .ls-btn:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,0,0,.18); }
.ls-page .ls-btn-wide { width: 100%; }
.ls-page .ls-btn-post { background: #ff8f3f; color: #fff !important; }
.ls-page .ls-btn-ghost {
	display: inline-block; color: #fff !important; border: 1px solid rgba(255,255,255,.55);
	font-size: 14px; padding: 7px 16px; border-radius: 999px; text-decoration: none !important;
	background: transparent; font-family: 'Kanit', sans-serif;
}
.ls-page .ls-btn-ghost:hover { background: rgba(255,255,255,.12); }
.ls-page .ls-body .ls-btn-ghost { color: #2d6a4f !important; border-color: #2d6a4f; }
.ls-page .ls-body .ls-btn-ghost:hover { background: rgba(45,106,79,.08); }
.ls-page .ls-minibtn {
	background: #2d6a4f; color: #fff; border: 0; border-radius: 6px;
	font-size: 12px; padding: 4px 12px; cursor: pointer; font-family: 'Kanit', sans-serif;
}
.ls-page .ls-minibtn-ghost { background: #e9e6df; color: #555; }
.ls-page .ls-minibtn:hover { opacity: .85; }

/* ============ search bar ============ */
.ls-page .ls-search {
	margin-top: 18px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2);
	border-radius: 14px; padding: 12px 14px;
}
.ls-page .ls-search-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.ls-page .ls-search-row + .ls-search-row { margin-top: 8px; }
.ls-page .ls-search .ls-input, .ls-page .ls-search .ls-select { margin: 0; flex: 1 1 150px; }
.ls-page .ls-search .ls-search-q { flex: 2 1 260px; }
.ls-page .ls-search .ls-search-price { flex: 1 1 130px; }
.ls-page .ls-search .ls-btn { flex: 0 0 auto; }
.ls-page .ls-clear { color: #ffd166; font-size: 13px; text-decoration: underline; }

/* ============ inputs ============ */
.ls-page .ls-input, .ls-page .ls-select, .ls-page .ls-textarea {
	display: block; width: 100%; background: #fff; color: #333;
	border: 1px solid #d9d4c9; border-radius: 8px; padding: 9px 12px;
	font-size: 15px; font-family: 'Kanit', sans-serif; margin-bottom: 10px;
	-webkit-appearance: none; box-sizing: border-box;
}
.ls-page .ls-select { appearance: auto; -webkit-appearance: menulist; }
.ls-page .ls-input:focus, .ls-page .ls-select:focus, .ls-page .ls-textarea:focus {
	outline: none; border-color: #2d6a4f; box-shadow: 0 0 0 3px rgba(45,106,79,.12);
}
.ls-page .ls-textarea { min-height: 170px; resize: vertical; }
.ls-page .ls-file { padding: 8px; }
.ls-page .ls-label { display: block; font-size: 14px; color: #444; margin: 8px 0 4px; font-weight: 500; }
.ls-page .ls-req { color: #d64545; font-style: normal; }
.ls-page .ls-hint { font-size: 12.5px; color: #888; margin: -4px 0 10px; }
.ls-page .ls-formsec { font-size: 17px; color: #1b4332; margin: 18px 0 6px; border-top: 1px dashed #ddd; padding-top: 14px; }
.ls-page .ls-formgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 0 12px; }
.ls-page .ls-formgrid-4 { grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); }
.ls-page .ls-formfoot { display: flex; align-items: center; gap: 14px; margin-top: 14px; flex-wrap: wrap; }
.ls-page .ls-mailto { font-size: 13px; color: #2d6a4f; text-decoration: underline; }

/* ============ list head / flash ============ */
.ls-page .ls-listhead { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin: 6px 0 14px; flex-wrap: wrap; }
.ls-page .ls-listhead h2 { margin: 0; font-size: 22px; color: #1b4332; font-weight: 600; }
.ls-page .ls-count { color: #888; font-size: 14px; }
.ls-page .ls-flash { border-radius: 10px; padding: 12px 16px; margin: 0 0 16px; font-size: 15px; }
.ls-page .ls-flash.ok  { background: #e7f6ec; color: #1e6b3a; border: 1px solid #bfe5cc; }
.ls-page .ls-flash.err { background: #fdecec; color: #b03030; border: 1px solid #f3c7c7; }

/* ============ listing grid ============ */
.ls-page .ls-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; margin-bottom: 22px; }
.ls-page .ls-card {
	background: #fff; border: 1px solid #eae6dd; border-radius: 14px;
	box-shadow: 0 2px 8px rgba(35,31,20,.05);
}
.ls-page .ls-cell { overflow: hidden; display: flex; flex-direction: column; }
.ls-page .ls-cell-img { position: relative; display: block; height: 170px; background: #edeae2; overflow: hidden; }
.ls-page .ls-cell-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .25s; }
.ls-page .ls-cell-img:hover img { transform: scale(1.04); }
.ls-page .ls-noimg { display: flex; align-items: center; justify-content: center; height: 100%; font-size: 44px; opacity: .45; }
.ls-page .ls-chip {
	display: inline-block; background: rgba(27,67,50,.85); color: #fff;
	font-size: 12px; border-radius: 999px; padding: 2px 10px;
}
.ls-page .ls-cell-img .ls-chip { position: absolute; top: 10px; left: 10px; }
.ls-page .ls-cell-img .ls-chip-rent { left: auto; right: 10px; background: rgba(255,143,63,.92); }
.ls-page .ls-chip-sold { background: #b03030; }
.ls-page .ls-chip-mine { background: #6c757d; }
.ls-page .ls-chips { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 8px; }
.ls-page .ls-chips .ls-chip { background: #2d6a4f; }
.ls-page .ls-chips .ls-chip-sold { background: #b03030; }
.ls-page .ls-chips .ls-chip-mine { background: #6c757d; }
.ls-page .ls-cell-body { padding: 12px 14px 14px; display: flex; flex-direction: column; flex: 1; }
.ls-page .ls-price { color: #d0641c; font-weight: 700; font-size: 18px; }
.ls-page .ls-price-big { font-size: 26px; margin: 4px 0 8px; }
.ls-page .ls-cell-body h3 { margin: 4px 0 6px; font-size: 16.5px; line-height: 1.35; font-weight: 500; }
.ls-page .ls-cell-body h3 a { color: #222; text-decoration: none; }
.ls-page .ls-cell-body h3 a:hover { color: #2d6a4f; }
.ls-page .ls-meta { display: flex; gap: 6px 14px; flex-wrap: wrap; color: #777; font-size: 13px; margin-bottom: 6px; }
.ls-page .ls-cell-body p { color: #666; font-size: 13.5px; line-height: 1.5; margin: 0 0 10px; flex: 1; }
.ls-page .ls-cardfoot { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.ls-page .ls-mini { color: #999; font-size: 12px; }
.ls-page .ls-readmore { color: #2d6a4f; font-size: 13.5px; font-weight: 500; text-decoration: none; }
.ls-page .ls-readmore:hover { text-decoration: underline; }
.ls-page .ls-empty { padding: 34px 20px; text-align: center; color: #888; font-size: 15px; }

/* ============ pager ============ */
.ls-page .ls-pager { display: flex; gap: 6px; justify-content: center; margin: 6px 0 26px; flex-wrap: wrap; }
.ls-page .ls-pager a, .ls-page .ls-pager .cur {
	display: inline-block; min-width: 36px; text-align: center; padding: 7px 12px;
	border-radius: 8px; font-size: 14px; text-decoration: none;
	background: #fff; color: #2d6a4f; border: 1px solid #dcd7cc;
}
.ls-page .ls-pager .cur { background: #2d6a4f; color: #fff; border-color: #2d6a4f; }
.ls-page .ls-pager a:hover { border-color: #2d6a4f; }

/* ============ panels / info ============ */
.ls-page .ls-panel {
	background: #fff; border: 1px solid #eae6dd; border-radius: 14px;
	box-shadow: 0 2px 8px rgba(35,31,20,.05); padding: 18px 20px; margin-bottom: 18px;
}
.ls-page .ls-panel h2 { margin: 0 0 6px; font-size: 19px; color: #1b4332; font-weight: 600; }
.ls-page .ls-sub { color: #777; font-size: 13.5px; margin: 0 0 12px; }
.ls-page .ls-info ol, .ls-page .ls-info ul { margin: 8px 0 0; padding-left: 20px; color: #555; font-size: 14px; }
.ls-page .ls-info li { margin-bottom: 7px; line-height: 1.5; }
.ls-page .ls-gate { background: #f4f1ea; border-radius: 10px; padding: 14px; color: #666; font-size: 14px; }
.ls-page .ls-privnote { color: #999; font-size: 12.5px; margin: 10px 0 0; line-height: 1.5; }
.ls-page .ls-back { display: inline-block; color: #2d6a4f; font-size: 14px; margin-bottom: 14px; text-decoration: none; }
.ls-page .ls-back:hover { text-decoration: underline; }

/* ============ detail page ============ */
.ls-page .ls-article h1 { font-size: 26px; color: #222; margin: 2px 0 4px; font-weight: 600; line-height: 1.3; }
.ls-page .ls-locbox { background: #f4f1ea; border-radius: 10px; padding: 12px 14px; font-size: 14px; color: #555; margin: 14px 0; }
.ls-page .ls-listingbody {
	background: #fff; border: 1px solid #eae6dd; border-radius: 14px;
	padding: 20px 22px; font-size: 15.5px; line-height: 1.75; color: #333;
	white-space: pre-wrap; word-wrap: break-word; margin: 14px 0;
}
.ls-page .ls-listingfoot { display: flex; gap: 12px; margin: 18px 0; flex-wrap: wrap; }

/* gallery */
.ls-page .ls-gallery { margin: 14px 0; }
.ls-page .ls-gallery-main { display: block; border-radius: 14px; overflow: hidden; background: #edeae2; }
.ls-page .ls-gallery-main img { width: 100%; max-height: 440px; object-fit: contain; display: block; background: #1b1b1b; }
.ls-page .ls-gallery-thumbs { display: flex; gap: 8px; margin-top: 8px; overflow-x: auto; padding-bottom: 4px; }
.ls-page .ls-thumb {
	flex: 0 0 auto; width: 76px; height: 58px; padding: 0; border: 2px solid transparent;
	border-radius: 8px; overflow: hidden; cursor: pointer; background: #edeae2;
}
.ls-page .ls-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ls-page .ls-thumb.on { border-color: #ff8f3f; }

/* contact box */
.ls-page .ls-contact-name { font-size: 17px; font-weight: 600; color: #222; margin-bottom: 10px; }
.ls-page .ls-btn-tel { display: block; text-align: center; margin-bottom: 10px; font-size: 16px; }
.ls-page .ls-contact-line { background: #e7f6ec; border-radius: 10px; padding: 10px 14px; font-size: 15px; color: #1e6b3a; }

/* ============ account: my listings ============ */
.ls-page .ls-mylistings { list-style: none; margin: 0; padding: 0; }
.ls-page .ls-mylistings li { border-top: 1px solid #f0ede6; padding: 10px 0; font-size: 14.5px; }
.ls-page .ls-mylistings li:first-child { border-top: 0; }
.ls-page .ls-mylistings a { color: #222; text-decoration: none; font-weight: 500; }
.ls-page .ls-mylistings a:hover { color: #2d6a4f; }
.ls-page .ls-mylistings small { display: block; color: #999; font-size: 12.5px; margin-top: 2px; }
.ls-page .ls-st { display: inline-block; font-size: 11.5px; border-radius: 999px; padding: 2px 10px; margin-right: 6px; vertical-align: 1px; }
.ls-page .ls-st-pub  { background: #e7f6ec; color: #1e6b3a; }
.ls-page .ls-st-pen  { background: #fff3d6; color: #8a6d1a; }
.ls-page .ls-st-rej  { background: #fdecec; color: #b03030; }
.ls-page .ls-st-sold { background: #ffe8d9; color: #c25a17; }
.ls-page .ls-st-hid  { background: #ececec; color: #777; }
.ls-page .ls-rowactions { display: inline-flex; gap: 6px; margin-top: 6px; }
.ls-page .ls-rowactions form { display: inline; margin: 0; }

/* ============ auth card (ruedee signin_ui design language) ============ */
.ls-page .ls-si { max-width: 460px; margin: 10px auto 30px; }
.ls-page .ls-sihero { text-align: center; margin-bottom: 16px; }
.ls-page .ls-sihero-icon {
	display: inline-flex; align-items: center; justify-content: center;
	width: 52px; height: 52px; border-radius: 50%; background: #e7f6ec; color: #2d6a4f; margin-bottom: 8px;
}
.ls-page .ls-sihero h1 { font-size: 24px; margin: 0 0 4px; color: #1b4332; font-weight: 600; }
.ls-page .ls-sihero p { color: #888; font-size: 13.5px; margin: 0; }
.ls-page .ls-sicard {
	background: #fff; border: 1px solid #eae6dd; border-radius: 16px;
	box-shadow: 0 4px 18px rgba(35,31,20,.07); padding: 22px 24px;
}
.ls-page .ls-tabs { display: flex; gap: 6px; background: #f4f1ea; border-radius: 10px; padding: 4px; margin-bottom: 16px; }
.ls-page .ls-tab {
	flex: 1; border: 0; background: transparent; border-radius: 8px;
	font-size: 14px; padding: 8px 6px; cursor: pointer; color: #777; font-family: 'Kanit', sans-serif;
}
.ls-page .ls-tab[aria-selected="true"] { background: #fff; color: #1b4332; font-weight: 600; box-shadow: 0 1px 4px rgba(0,0,0,.08); }
.ls-page .ls-field { margin-bottom: 12px; }
.ls-page .ls-field label { display: block; font-size: 13.5px; color: #555; margin-bottom: 4px; }
.ls-page .ls-alert { border-radius: 10px; padding: 10px 14px; font-size: 14px; margin-bottom: 14px; }
.ls-page .ls-alert-error { background: #fdecec; color: #b03030; border: 1px solid #f3c7c7; }
.ls-page .ls-alert-ok { background: #e7f6ec; color: #1e6b3a; border: 1px solid #bfe5cc; }
.ls-page .ls-blurb { font-size: 13.5px; color: #666; margin: 0 0 12px; line-height: 1.5; }
.ls-page .ls-switch { text-align: center; font-size: 14px; color: #777; margin-top: 14px; }
.ls-page .ls-switch a { color: #2d6a4f; font-weight: 500; }
.ls-page .ls-err-inline { display: none; color: #b03030; font-size: 12.5px; margin-top: 4px; }
.ls-page .ls-captcha { margin-bottom: 14px; }

/* Google sign-in (GIS iframe button, rendered by core/signin_ui.php) */
.ls-page .ls-gsi { display: flex; justify-content: center; margin: 2px 0 4px; }
.ls-page .ls-gsi .si-gis-form { display: none; }
.ls-page .ls-gsi .si-gis { min-height: 44px; display: flex; justify-content: center; width: 100%; }
.ls-page .ls-or { display: flex; align-items: center; gap: 12px; margin: 14px 0; color: #999; font-size: 12px; }
.ls-page .ls-or::before, .ls-page .ls-or::after { content: ""; flex: 1; height: 1px; background: #e5e1d8; }

/* ============ responsive ============ */
@media (max-width: 767px) {
	.ls-page .ls-hero-text h1 { font-size: 22px; }
	.ls-page .ls-hero-tools { width: 100%; }
	.ls-page .ls-grid { grid-template-columns: 1fr 1fr; }
	.ls-page .ls-cell-img { height: 130px; }
}
@media (max-width: 480px) {
	.ls-page .ls-grid { grid-template-columns: 1fr; }
	.ls-page .ls-cell-img { height: 180px; }
	.ls-page .ls-sicard { padding: 18px 16px; }
}
