/* Develi Stone Pages — scoped to .dmsp so the theme is not affected. */
.dmsp {
	--dmsp-ink: #1f3550;
	--dmsp-muted: #6a7f99;
	--dmsp-red: #e3283c;
	--dmsp-line: rgba(120, 160, 205, .3);
	--dmsp-shadow: 0 10px 28px rgba(30, 70, 120, .12), 0 1px 2px rgba(30, 70, 120, .08);
	color: var(--dmsp-ink);
	line-height: 1.55;
}
.dmsp *, .dmsp *::before, .dmsp *::after { box-sizing: border-box; }
.dmsp h2 { margin: 2em 0 .8em; }
.dmsp .dmsp-lead { font-size: 1.12em; }
.dmsp .dmsp-tr { color: var(--dmsp-muted); font-size: .95em; }
.dmsp .dmsp-facts a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

.dmsp-facts { list-style: none; margin: 1.5em 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.dmsp-facts li { margin: 0; padding: 12px 14px; border-radius: 14px; border: 1px solid #fff; background: linear-gradient(180deg, #fff, #f1f7fd); box-shadow: 0 0 0 1px var(--dmsp-line), inset 0 1px 0 #fff; }
.dmsp-facts span { display: block; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--dmsp-muted); }
.dmsp-facts strong { font-size: 15px; }

.dmsp-cta { display: flex; flex-wrap: wrap; gap: 10px; margin: 1.5em 0; }
.dmsp .dmsp-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 20px; border-radius: 999px; font-weight: 700; font-size: 15px; text-decoration: none;
	color: var(--dmsp-ink); border: 1px solid rgba(110, 150, 195, .5);
	background: linear-gradient(180deg, #fff 0%, #f3f8fd 48%, #e4eef9 52%, #f5f9ff 100%);
	box-shadow: 0 3px 10px rgba(30, 70, 120, .14), inset 0 1px 0 #fff; transition: transform .15s ease, box-shadow .15s ease; }
.dmsp .dmsp-btn:hover { transform: translateY(-1px); box-shadow: 0 8px 18px rgba(30, 70, 120, .2), inset 0 1px 0 #fff; color: var(--dmsp-ink); }
/* main buttons in the Develi Marble logo's burgundy */
.dmsp .dmsp-btn.is-wa { color: #fff; border-color: #7a120a; text-shadow: 0 1px 0 rgba(60, 5, 0, .35);
	background: linear-gradient(180deg, #c0392b 0%, #a51c10 48%, #8e150b 52%, #9b180d 100%);
	box-shadow: 0 3px 10px rgba(155, 24, 13, .28), inset 0 1px 0 rgba(255, 255, 255, .25); }
.dmsp .dmsp-btn.is-wa:hover { color: #fff; box-shadow: 0 8px 18px rgba(155, 24, 13, .35), inset 0 1px 0 rgba(255, 255, 255, .25); }

.dmsp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; margin: 0; }
.dmsp-card { margin: 0; border-radius: 20px; overflow: hidden; background: linear-gradient(180deg, #fff, #f7fbff); border: 1px solid #fff; box-shadow: var(--dmsp-shadow), 0 0 0 1px var(--dmsp-line); display: flex; flex-direction: column; scroll-margin-top: 90px; }
.dmsp-card:target { box-shadow: 0 0 0 3px rgba(227, 40, 60, .6), var(--dmsp-shadow); }
.dmsp-photo { display: block; aspect-ratio: 4 / 3; background: #e6eff8; overflow: hidden; }
.dmsp-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.dmsp-card:hover .dmsp-photo img { transform: scale(1.04); }
.dmsp-card.is-sold img { filter: grayscale(.9); }
.dmsp-card figcaption { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.dmsp-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.dmsp-code { font-size: 18px; letter-spacing: .03em; }
.dmsp-badge { font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; color: #fff; background: linear-gradient(180deg, #7ef0a8, #22b46a); }
.dmsp-badge.is-reserved { color: #5a4300; background: linear-gradient(180deg, #fff1b5, #f5c02e); }
.dmsp-badge.is-sold { background: linear-gradient(180deg, #c9d1db, #8d98a6); }
.dmsp-card dl { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 12px; margin: 0; }
.dmsp-card dl div { margin: 0; }
.dmsp-card dt { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--dmsp-muted); margin: 0; }
.dmsp-card dd { margin: 0; font-size: 14px; font-weight: 600; }
.dmsp-card dd b { color: var(--dmsp-red); }
.dmsp-card .dmsp-btn { margin-top: auto; }

.dmsp-soldout { padding: 16px 20px; border-radius: 14px; background: #fff4f5; border: 1px solid rgba(227, 40, 60, .25); }
.dmsp-sold { margin: 2em 0; }
.dmsp-sold summary { cursor: pointer; font-weight: 700; padding: 10px 0; }
.dmsp-sold .dmsp-grid { margin-top: 12px; }

.dmsp-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 16px; }
.dmsp .dmsp-tile { display: block; text-decoration: none; color: var(--dmsp-ink); border-radius: 18px; padding: 8px 8px 12px; background: linear-gradient(180deg, #fff, #f3f8fd); border: 1px solid #fff; box-shadow: var(--dmsp-shadow), 0 0 0 1px var(--dmsp-line); transition: transform .2s ease, box-shadow .2s ease; }
.dmsp .dmsp-tile:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(30, 70, 120, .18), 0 0 0 1px var(--dmsp-line); color: var(--dmsp-ink); }
.dmsp-tile img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; display: block; }
.dmsp-tile-name { display: block; font-weight: 800; margin: 8px 4px 0; line-height: 1.2; }
.dmsp-tile-meta { display: block; font-size: 12.5px; color: var(--dmsp-muted); margin: 2px 4px 0; }

/* real sample under each stone in the stone lists */
.dmsp-sample { display: block; margin: 18px 0 6px; text-decoration: none; }
.dmsp-sample-img { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 14px; background: #e9e9e9;
	box-shadow: 0 10px 24px rgba(0, 0, 0, .14), 0 0 0 1px rgba(0, 0, 0, .06); }
.dmsp-sample-img img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.9); transform-origin: 42% 48%; transition: transform .7s ease; }
.dmsp-sample:hover .dmsp-sample-img img, .dmsp-sample:focus .dmsp-sample-img img { transform: scale(2.1); }
.dmsp-sample-img::after { content: ""; position: absolute; inset: 0; pointer-events: none;
	background: linear-gradient(125deg, rgba(255, 255, 255, .28) 0%, rgba(255, 255, 255, 0) 38%), linear-gradient(0deg, rgba(0, 0, 0, .22) 0%, rgba(0, 0, 0, 0) 35%); }
.dmsp-sample-tag { position: absolute; left: 12px; bottom: 10px; z-index: 1; display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px 5px 6px;
	border-radius: 999px; background: rgba(255, 255, 255, .92); color: #2b2b2b; font-size: 12px; font-weight: 700; letter-spacing: .02em; }
.dmsp-btn .dmsp-swatch { margin-right: 8px; }

/* breadcrumb trail */
.dmsp-crumbs { margin: 0 0 1.2em; font-size: 13px; color: var(--dmsp-muted); }
.dmsp-crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 0; }
.dmsp-crumbs li { margin: 0; }
.dmsp-crumbs li + li::before { content: "›"; margin: 0 8px; opacity: .6; }
.dmsp .dmsp-crumbs a { color: inherit; text-decoration: none; }
.dmsp .dmsp-crumbs a:hover { color: var(--dmsp-red); text-decoration: underline; }
.dmsp-crumbs [aria-current] { color: var(--dmsp-ink); font-weight: 600; }

/* "About this stone" and the type guides */
.dmsp-about { margin: 2.5em 0 0; padding: 26px 28px 8px; border-radius: 20px; background: linear-gradient(180deg, #fff, #f6f9fc); box-shadow: var(--dmsp-shadow), 0 0 0 1px var(--dmsp-line); }
.dmsp .dmsp-about h2 { margin-top: 0; }
.dmsp-about h3 { margin: 1.6em 0 .6em; font-size: 1.1em; }
.dmsp-props { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.dmsp-props li { margin: 0; padding: 10px 14px; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px var(--dmsp-line); }
.dmsp-props span { display: block; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--dmsp-muted); }
.dmsp-props strong { font-size: 14px; }
.dmsp-note { font-size: 12.5px; color: var(--dmsp-muted); margin-top: 8px; }
.dmsp-finish { margin: 0; display: grid; gap: 10px; }
.dmsp-finish div { margin: 0; padding: 12px 14px; border-left: 3px solid var(--dmsp-red); background: #fff; border-radius: 0 12px 12px 0; }
.dmsp-finish dt { font-weight: 800; margin: 0 0 2px; }
.dmsp-finish dd { margin: 0; }
.dmsp-uses { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 6px 18px; }
.dmsp-uses li { margin: 0; padding-left: 22px; position: relative; }
.dmsp-uses li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 9px; height: 9px; border-radius: 2px; transform: rotate(45deg); background: linear-gradient(135deg, #d9d9d9, #8a8a8a); }

/* questions and answers */
.dmsp-faq { margin: 2.5em 0 0; }
.dmsp-faq details { margin: 0 0 10px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px var(--dmsp-line); }
.dmsp-faq summary { cursor: pointer; padding: 14px 44px 14px 18px; font-weight: 700; list-style: none; position: relative; }
.dmsp-faq summary::-webkit-details-marker { display: none; }
.dmsp-faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 20px; color: var(--dmsp-red); }
.dmsp-faq details[open] summary::after { content: "–"; }
.dmsp-faq details p { margin: 0; padding: 0 18px 16px; }
.dmsp-more a { color: inherit; }
/* printed at the end of the theme's post list, which is often a grid: take the full row */
.dmsp-guide { margin: 1em 0 2em; grid-column: 1 / -1; flex: 0 0 100%; width: 100%; max-width: 100%; }
@media (max-width: 720px) { .dmsp-about { padding: 20px 16px 4px; } }

/* "Browse our stones" section under the home page */
.dmsp-home { max-width: 1320px; margin: 56px auto 140px; padding: 0 24px; position: relative; z-index: 1; }
.dmsp-home h2 { margin: 0 0 6px; font-size: 30px; }
.dmsp-home .dmsp-home-lead { color: var(--dmsp-muted); margin: 0 0 18px; }
.dmsp-home .dmsp-types { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 24px; }
.dmsp-home .dmsp-types span { color: var(--dmsp-muted); font-weight: 600; margin-left: 4px; }
@media (max-width: 720px) { .dmsp-home { padding: 0 16px; margin-top: 36px; } }

@media (prefers-reduced-motion: reduce) {
	.dmsp * { transition: none !important; }
}
