/* =========================
   Front: card
========================= */
/* dmmap-product-embed.css */
.dmmap-embed {
	max-width: 980px;
	margin: 0 auto;
}

.dmmap-info,
.dmmap-movie,
.dmmap-gallery {
	margin-top: 18px;
}

.dmmap-title {
	font-size: 1.5rem;
	line-height: 1.3;
	font-weight: 800;
	color: #0f172a;
	margin: 0 0 8px;
}

@media (min-width: 640px) {
	.dmmap-title {
		font-size: 1.85rem;
	}
}

.dmmap-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 16px;
	font-size: 0.95rem;
	color: #475569;
	margin-bottom: 8px;
}

.dmmap-meta__label {
	font-weight: 700;
	color: #64748b;
}

.dmmap-meta__value {
	letter-spacing: .02em;
}

.dmmap-ad {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: .85rem;
	color: #64748b;
	background: #fffbeb;
	border: 1px solid #fde68a;
	border-radius: 999px;
	padding: 6px 10px;
	margin: 0;
}

.dmmap-ad__badge {
	font-weight: 800;
	color: #92400e;
}

.dmmap-hero {
	margin-top: 12px;
	border-radius: 14px;
	overflow: hidden;
	border: 1px solid #eef2f7;
	background: #f8fafc;
	box-shadow: 0 6px 18px rgba(2, 6, 23, .06);
}

.dmmap-hero img {
	width: 100%;
	height: auto;
	display: block;
}

.dmmap-cta {
	margin-top: 12px;
}

.dmmap-btn {
	display: inline-flex;
	width: 100%;
	justify-content: center;
	align-items: center;
	gap: 8px;
	border-radius: 999px;
	padding: 12px 14px;
	font-weight: 800;
	text-decoration: none;
	transition: transform .08s ease, opacity .2s ease, box-shadow .2s ease;
}

.dmmap-btn:active {
	transform: translateY(1px);
}

.dmmap-btn--primary {
	background: #db2777;
	color: #fff;
	box-shadow: 0 10px 24px rgba(219, 39, 119, .25);
}

.dmmap-btn--primary:hover {
	opacity: .92;
}

.dmmap-btn--secondary {
	background: #db2777;
	color: #fff;
	border-radius: 12px;
	width: auto;
	padding: 10px 14px;
	box-shadow: 0 8px 18px rgba(219, 39, 119, .20);
}

.dmmap-hero-info {
	margin-top: 14px;
	display: grid;
	gap: 10px;
}

.dmmap-box {
	background: #f8fafc;
	border: 1px solid #eef2f7;
	border-radius: 14px;
	padding: 12px 14px;
	display: grid;
	gap: 8px;
}

.dmmap-price {
	margin: 0;
	font-size: 1.05rem;
	font-weight: 800;
	color: #0f172a;
}

.dmmap-price__label {
	font-weight: 800;
	color: #0f172a;
	margin-right: 6px;
}

.dmmap-price__value {
	color: #db2777;
}

.dmmap-price__list {
	margin-left: 10px;
	font-size: .9rem;
	color: #94a3b8;
	text-decoration: line-through;
}

.dmmap-review {
	margin: 0;
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: .95rem;
	color: #334155;
}

.dmmap-review__label {
	font-weight: 800;
	color: #475569;
}

.dmmap-review__star {
	color: #f59e0b;
}

.dmmap-review__avg {
	font-weight: 800;
	color: #0f172a;
}

.dmmap-review__cnt {
	color: #64748b;
}

.dmmap-line {
	font-size: .95rem;
	color: #0f172a;
}

.dmmap-line__label {
	font-weight: 800;
	color: #64748b;
}

.dmmap-line__value {
	color: #334155;
}

.dmmap-section-title {
	font-size: 1.05rem;
	font-weight: 900;
	color: #0f172a;
	margin: 0 0 10px;
}

.dmmap-movie__player {
	border-radius: 14px;
	overflow: hidden;
	border: 1px solid #e2e8f0;
	background: #000;
}

.dmmap-movie__player video {
	width: 100%;
	height: auto;
	display: block;
}

.dmmap-actions {
	margin-top: 10px;
	display: flex;
	justify-content: flex-end;
	gap: 10px;
}

.dmmap-note {
	margin-top: 8px;
	font-size: .82rem;
	color: #64748b;
}

.dmmap-gallery__grid {
	display: grid;
	grid-template-columns: repeat(var(--dmmap-cols, 3), minmax(0, 1fr));
	gap: 10px;
}

/* @media (min-width: 640px) {
	.dmmap-gallery__grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 10px;
	}
}

@media (min-width: 768px) {
	.dmmap-gallery__grid {
		grid-template-columns: repeat(5, minmax(0, 1fr));
	}
}

@media (min-width: 1024px) {
	.dmmap-gallery__grid {
		grid-template-columns: repeat(6, minmax(0, 1fr));
	}
} */

.dmmap-gallery__thumb {
	aspect-ratio: 3 / 4;
	overflow: hidden;
	border-radius: 12px;
	border: 1px solid #eef2f7;
	background: #f8fafc;
}

.dmmap-gallery__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform .18s ease;
}

.dmmap-gallery__item:hover .dmmap-gallery__thumb img {
	transform: scale(1.03);
}

.dmmap-footer {
	margin-top: 18px;
	padding-top: 12px;
	border-top: 1px solid #eef2f7;
	color: #64748b;
	font-size: .95rem;
}

/* ===== Sticky CTA ===== */
.dmmap-sticky {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 9999;
	border-top: 1px solid rgba(15, 23, 42, .10);
	background: rgba(255, 255, 255, .94);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	padding-bottom: env(safe-area-inset-bottom);
}

.dmmap-sticky__inner {
	max-width: 980px;
	margin: 0 auto;
	display: flex;
	gap: 12px;
	align-items: center;
	padding: 10px 12px;
}

.dmmap-sticky__title {
	flex: 1;
	min-width: 0;
	font-weight: 800;
	color: #0f172a;
	font-size: 0.95rem;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.dmmap-sticky__btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	border-radius: 999px;
	padding: 10px 14px;
	background: #db2777;
	color: #fff;
	font-weight: 900;
	text-decoration: none;
	box-shadow: 0 10px 22px rgba(219, 39, 119, .22);
	transition: opacity .2s ease, transform .08s ease;
	white-space: nowrap;
}

.dmmap-sticky__btn:hover {
	opacity: .92;
}

.dmmap-sticky__btn:active {
	transform: translateY(1px);
}

.dmmap-sticky__arrow {
	font-size: 1.1rem;
	line-height: 1;
}

/* sticky の高さ分、本文が隠れないように余白を確保 */
.dmmap-embed {
	padding-bottom: calc(72px + env(safe-area-inset-bottom));
}

@media (max-width: 520px) {
	.dmmap-sticky__btnLabel {
		font-size: .92rem;
	}
}

/* =========================
   Editor: search UI
========================= */
.dmmap-editor__list {
	margin: 10px 0 0;
	padding: 0;
}

.dmmap-editor__result {
	margin: 8px 0;
	border: 1px solid #e5e7eb;
	border-radius: 10px;
	overflow: hidden;
}

.dmmap-editor__pick {
	width: 100%;
	text-align: left;
	padding: 10px;
	background: #fff;
	border: 0;
	cursor: pointer;
}

.dmmap-editor__pick:hover {
	background: #f9fafb;
}

.dmmap-editor__result.is-selected {
	border-color: #3b82f6;
	box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.25);
}

.dmmap-editor__result.is-selected .dmmap-editor__pick {
	background: #eff6ff;
}

/* 選択中バッジ（任意） */
.dmmap-editor__selected-badge {
	margin-top: 6px;
	display: inline-block;
	font-size: 12px;
	font-weight: 700;
	padding: 2px 8px;
	border-radius: 999px;
	background: rgba(59, 130, 246, 0.12);
	color: #1d4ed8;
}

.dmmap-editor__row {
	display: flex;
	gap: 10px;
	align-items: flex-start;
}

.dmmap-editor__thumb {
	width: 64px;
	height: auto;
	border-radius: 10px;
	background: #f6f6f6;
	flex: 0 0 64px;
}

.dmmap-editor__text {
	flex: 1;
	min-width: 0;
}

.dmmap-editor__title {
	font-weight: 700;
	margin-bottom: 4px;
}

.dmmap-editor__meta {
	font-size: .9em;
	color: rgba(0, 0, 0, .6);
}

.dmmap-editor__ids {
	margin-top: 4px;
	font-size: .85em;
	color: rgba(0, 0, 0, .55);
}

.dmmap-editor__selected {
	margin-top: 8px;
	font-weight: 700;
}