/*
 * Obsequiarte Adicionales
 * Carrusel + modal "Ver más extras" + detalle de producto.
 */

:root {
	--oba-primary: #58167D;
	--oba-accent: #3C8711;
}

.oba-scope {
	--oba-border: #eee;
	--oba-border-strong: #ddd;
	--oba-text: #212529;
	--oba-muted: #666;
	--oba-soft: #f9f9f9;
	--oba-radius: 8px;
	--oba-card-w: 150px;
}

.oba-scope,
.oba-scope *,
.oba-scope *::before,
.oba-scope *::after {
	box-sizing: border-box;
}

.oba-scope button {
	font-family: inherit;
	text-transform: none;
	letter-spacing: normal;
	text-shadow: none;
	min-height: 0;
	min-width: 0;
	margin: 0;
	-webkit-appearance: none;
	appearance: none;
	-webkit-tap-highlight-color: transparent;
}

.oba-scope [hidden] {
	display: none !important;
}

/* Algunos temas subrayan los botones al pasar el mouse o al enfocarlos. */
.oba-scope .oba-nav,
.oba-scope .oba-more-btn,
.oba-scope .oba-acc-btn,
.oba-scope .oba-btn-primary,
.oba-scope .oba-btn-secondary,
.oba-scope .oba-btn-outline,
.oba-scope .oba-card-view,
.oba-scope .oba-close,
.oba-scope .oba-upload {
	text-decoration: none;
}

/* ---------- Contenedor ---------- */

.oba {
	position: relative;
	margin: 20px 0;
	font-family: inherit;
	line-height: 1.4;
}

.oba .oba-title {
	display: block;
	margin: 0 0 12px;
	text-align: center;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.3;
	color: var(--oba-primary);
}

.oba .oba-row {
	display: flex;
	align-items: center;
}

.oba .oba-slider {
	position: relative;
	display: flex;
	align-items: center;
	flex: 1 1 auto;
	min-width: 0;
}

/* ---------- Flechas ---------- */

.oba-scope .oba-nav {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-shrink: 0;
	width: 40px;
	height: 40px;
	padding: 0;
	border-radius: 50%;
	border: 2px solid #fff;
	background: var(--oba-primary);
	color: #fff;
	/* Anillo del color principal + sombra: se distingue bien sobre fondos claros. */
	box-shadow: 0 0 0 1px var(--oba-primary), 0 4px 12px rgba(0, 0, 0, .28);
	cursor: pointer;
	z-index: 2;
	transition: transform .15s ease, filter .15s ease, background-color .2s, color .2s, box-shadow .2s, opacity .2s;
}

.oba-scope .oba-nav svg {
	display: block;
	width: 18px;
	height: 18px;
	fill: currentColor;
	stroke: currentColor;
	stroke-width: 1;
	stroke-linejoin: round;
}

.oba-scope .oba-nav:not([disabled]):hover,
.oba-scope .oba-nav:not([disabled]):focus-visible {
	filter: brightness(1.18);
	transform: scale(1.08);
}

.oba-scope .oba-nav:focus-visible {
	outline: 2px solid var(--oba-primary);
	outline-offset: 3px;
}

/* Inactiva (inicio o final del carrusel): gris claro, sin sombra. */
.oba-scope .oba-nav[disabled] {
	background: #ece9ef;
	border-color: #f5f3f7;
	color: #bcb3c3;
	box-shadow: none;
	cursor: default;
}

/* ---------- Pista del carrusel ---------- */

.oba .oba-track {
	display: flex;
	gap: 5px;
	flex: 1 1 auto;
	min-width: 0;
	margin: 0 10px;
	padding: 10px;
	scroll-padding-inline: 10px;
	overflow-x: auto;
	overflow-y: hidden;
	scroll-behavior: smooth;
	scroll-snap-type: x proximity;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior-x: contain;
	scrollbar-width: none;
}

.oba .oba-track::-webkit-scrollbar {
	display: none;
}

/* ---------- Tarjeta ---------- */

.oba-scope .oba-card {
	position: relative;
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--oba-border);
	border-radius: var(--oba-radius);
	padding: 10px;
	box-shadow: 0 2px 5px rgba(0, 0, 0, .05);
	transition: box-shadow .3s, border-color .3s;
	color: var(--oba-text);
}

.oba .oba-track .oba-card {
	flex: 0 0 var(--oba-card-w);
	width: var(--oba-card-w);
	scroll-snap-align: start;
}

.oba-scope .oba-card:hover {
	box-shadow: 0 5px 15px rgba(0, 0, 0, .1);
}

.oba-scope .oba-card.is-selected {
	border-color: var(--oba-primary);
}

.oba-scope .oba-card-img {
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	aspect-ratio: 1 / 1;
	margin-bottom: 10px;
	overflow: hidden;
	border-radius: 5px;
	background: var(--oba-soft);
}

.oba-scope .oba-card-view {
	display: block;
	width: 100%;
	height: 100%;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	cursor: pointer;
}

.oba-scope .oba-card-view img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: 100%;
	margin: 0;
	object-fit: contain;
	transition: transform .2s;
}

.oba-scope .oba-card-view:hover img {
	transform: scale(1.05);
}

/* Casilla (abajo a la derecha de la imagen) */
.oba-scope .oba-check {
	position: absolute;
	right: 5px;
	bottom: 5px;
	z-index: 2;
	display: block;
	margin: 0;
	padding: 0;
	line-height: 0;
	cursor: pointer;
}

.oba-scope .oba-cb {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: 0;
	padding: 0;
	opacity: 0;
	pointer-events: none;
}

.oba-scope .oba-check-box {
	position: relative;
	display: block;
	width: 24px;
	height: 24px;
	border-radius: 5px;
	border: 2px solid var(--oba-border-strong);
	background: #fff;
	transition: background-color .15s, border-color .15s;
}

.oba-scope .oba-check:hover .oba-check-box {
	border-color: var(--oba-primary);
}

.oba-scope .oba-cb:checked + .oba-check-box {
	background: var(--oba-primary);
	border-color: var(--oba-primary);
}

.oba-scope .oba-cb:checked + .oba-check-box::after {
	content: "";
	position: absolute;
	left: 7px;
	top: 3px;
	width: 6px;
	height: 12px;
	border: solid #fff;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}

.oba-scope .oba-cb:focus-visible + .oba-check-box {
	outline: 2px solid var(--oba-primary);
	outline-offset: 2px;
}

.oba-scope .oba-card-body {
	text-align: center;
}

.oba-scope .oba-card-name {
	margin: 0 0 5px;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	font-size: 12px;
	font-weight: 500;
	line-height: 1.4;
}

.oba-scope .oba-card-price {
	font-size: 12px;
	font-weight: 600;
	line-height: 1.3;
}

.oba-scope .oba-card-perso {
	display: block;
	margin: 4px auto 0;
	padding: 0;
	border: 0;
	background: transparent;
	box-shadow: none;
	color: var(--oba-primary);
	font-size: 11px;
	font-weight: 500;
	line-height: 1.3;
	text-decoration: underline;
	text-underline-offset: 2px;
	cursor: pointer;
}

.oba-scope .oba-card.is-done .oba-card-perso {
	color: var(--oba-accent);
}

/* ---------- Botón "Ver más extras" ---------- */

.oba .oba-more {
	display: flex;
	align-self: stretch;
	flex: 0 0 auto;
	padding: 10px 0;
}

.oba-scope .oba-more-btn {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	width: 85px;
	min-height: 150px;
	height: 100%;
	padding: 8px 6px;
	border: 1px solid var(--oba-more-border, #ccc);
	border-radius: var(--oba-radius);
	background: var(--oba-more-bg, transparent);
	box-shadow: none;
	color: var(--oba-more-color, #666);
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 2px;
	line-height: 1.5;
	text-align: center;
	cursor: pointer;
	transition: box-shadow .2s, transform .2s;
}

.oba-scope .oba-more-btn span {
	display: block;
}

/* Oscurece levemente cualquier color de fondo elegido. */
.oba-scope .oba-more-btn:hover,
.oba-scope .oba-more-btn:focus-visible {
	box-shadow: inset 0 0 0 999px rgba(0, 0, 0, .06);
}

.oba-scope .oba-more-btn:focus-visible {
	outline: 2px solid var(--oba-primary);
	outline-offset: 2px;
}

/* ---------- Resumen ---------- */

.oba .oba-summary {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-top: 6px;
	font-size: 13px;
	font-weight: 600;
	color: var(--oba-accent);
}

.oba .oba-summary::before {
	content: "";
	flex: 0 0 auto;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: var(--oba-accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3E%3Cpath d='M12.7 4.7a1 1 0 0 1 0 1.4l-5.5 5.5a1 1 0 0 1-1.4 0L3.3 9.1a1 1 0 1 1 1.4-1.4l1.8 1.8 4.8-4.8a1 1 0 0 1 1.4 0z'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* ---------- Modo compacto (columnas angostas y móvil) ---------- */

.oba.oba--compact {
	--oba-card-w: 124px;
}

.oba.oba--compact .oba-row {
	flex-direction: column;
	align-items: stretch;
	gap: 4px;
}

.oba.oba--compact .oba-track {
	margin: 0;
	padding: 8px 2px;
	scroll-padding-inline: 2px;
}

.oba-scope.oba--compact .oba-nav {
	position: absolute;
	/* Centrado con la imagen (no con la tarjeta) para no tapar la casilla. */
	top: var(--oba-nav-top, calc(16px + (var(--oba-card-w) - 18px) / 2));
	width: 34px;
	height: 34px;
	transform: translateY(-50%);
}

.oba-scope.oba--compact .oba-nav:not([disabled]):hover,
.oba-scope.oba--compact .oba-nav:not([disabled]):focus-visible {
	transform: translateY(-50%) scale(1.08);
}

.oba-scope.oba--compact .oba-nav svg {
	width: 16px;
	height: 16px;
}

.oba.oba--compact .oba-prev {
	left: -6px;
}

.oba.oba--compact .oba-next {
	right: -6px;
}

.oba-scope.oba--compact .oba-nav[disabled] {
	opacity: 0;
	pointer-events: none;
}

.oba.oba--compact .oba-card {
	padding: 8px;
}

.oba.oba--compact .oba-card-img {
	margin-bottom: 8px;
}

.oba.oba--compact .oba-more {
	padding: 0;
}

.oba-scope.oba--compact .oba-more-btn {
	flex-direction: row;
	flex-wrap: wrap;
	width: 100%;
	height: auto;
	min-height: 0;
	padding: 10px 14px;
	letter-spacing: 1px;
}

.oba-scope.oba--compact .oba-more-btn span {
	display: inline;
	margin: 0 .22em;
}

/* ---------- Modales ---------- */

html.oba-lock,
html.oba-lock body {
	overflow: hidden !important;
}

.oba-modal {
	position: fixed;
	inset: 0;
	z-index: 1000050;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	font-family: inherit;
	line-height: 1.5;
	color: var(--oba-text);
	text-align: left;
}

.oba-modal[hidden] {
	display: none !important;
}

.oba-modal--details {
	z-index: 1000060;
}

.oba-modal .oba-modal-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, .5);
	opacity: 0;
	transition: opacity .2s ease;
}

.oba-modal.is-open .oba-modal-backdrop {
	opacity: 1;
}

.oba-modal .oba-modal-dialog {
	position: relative;
	display: flex;
	flex-direction: column;
	width: 100%;
	max-width: 800px;
	max-height: calc(100vh - 40px);
	max-height: calc(100dvh - 40px);
	background: #fff;
	border-radius: var(--oba-radius);
	box-shadow: 0 10px 40px rgba(0, 0, 0, .25);
	opacity: 0;
	transform: translateY(-16px);
	transition: opacity .22s ease, transform .22s ease;
	font-size: 15px;
}

.oba-modal.is-open .oba-modal-dialog {
	opacity: 1;
	transform: none;
}

.oba-modal .oba-modal-md {
	max-width: 520px;
}

.oba-modal .oba-modal-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	flex-shrink: 0;
	padding: 16px;
	border-bottom: 1px solid #dee2e6;
}

.oba-modal .oba-modal-title {
	margin: 0;
	padding: 0;
	font-family: inherit;
	font-size: 20px;
	font-weight: 500;
	line-height: 1.3;
	color: var(--oba-text);
}

.oba-scope .oba-close {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 34px;
	height: 34px;
	padding: 0;
	border: 0;
	border-radius: 6px;
	background: transparent;
	box-shadow: none;
	color: #000;
	opacity: .55;
	cursor: pointer;
}

.oba-scope .oba-close:hover {
	opacity: 1;
	background: #f2f2f2;
}

.oba-scope .oba-close svg {
	width: 16px;
	height: 16px;
	fill: currentColor;
}

.oba-modal .oba-modal-body {
	flex: 1 1 auto;
	padding: 16px;
	overflow-y: auto;
	overscroll-behavior: contain;
	-webkit-overflow-scrolling: touch;
}

.oba-modal .oba-modal-footer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: 8px;
	flex-shrink: 0;
	padding: 12px 16px;
	border-top: 1px solid #dee2e6;
}

.oba-modal .oba-modal-summary {
	margin-right: auto;
	font-size: 14px;
	font-weight: 600;
	color: var(--oba-muted);
}

.oba-modal .oba-modal-summary.has-items {
	color: var(--oba-accent);
}

/* Botones */
.oba-scope .oba-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 9px 18px;
	border: 1px solid transparent;
	border-radius: 6px;
	box-shadow: none;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.4;
	text-decoration: none;
	cursor: pointer;
	transition: filter .2s, background-color .2s, color .2s, border-color .2s;
}

.oba-scope .oba-btn-primary {
	background: var(--oba-primary);
	border-color: var(--oba-primary);
	color: #fff;
}

.oba-scope .oba-btn-primary:hover {
	filter: brightness(1.12);
	color: #fff;
}

.oba-scope .oba-btn-secondary {
	background: #6c757d;
	border-color: #6c757d;
	color: #fff;
}

.oba-scope .oba-btn-secondary:hover {
	filter: brightness(1.1);
	color: #fff;
}

.oba-scope .oba-btn-outline {
	background: #fff;
	border-color: var(--oba-primary);
	color: var(--oba-primary);
}

.oba-scope .oba-btn-outline:hover {
	background: var(--oba-primary);
	color: #fff;
}

.oba-scope .oba-btn-link {
	padding: 8px 4px;
	border: 0;
	background: transparent;
	color: #a52834;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.oba-scope .oba-btn-block {
	width: 100%;
}

.oba-scope .oba-btn[disabled] {
	opacity: .6;
	cursor: wait;
}

/* Acordeón por subcategoría */
.oba-modal .oba-acc {
	border: 1px solid #dee2e6;
	border-radius: 6px;
	overflow: hidden;
}

.oba-modal .oba-acc-item + .oba-acc-item {
	border-top: 1px solid #dee2e6;
}

.oba-scope .oba-acc-btn {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	padding: 16px 20px;
	border: 0;
	border-radius: 0;
	background: #fff;
	box-shadow: none;
	color: var(--oba-text);
	font-size: 16px;
	font-weight: 500;
	letter-spacing: 1px;
	line-height: 1.3;
	text-align: left;
	cursor: pointer;
	transition: background-color .2s, color .2s;
}

.oba-scope .oba-acc-btn:hover {
	background: #faf7fc;
}

.oba-scope .oba-acc-item.is-open .oba-acc-btn {
	background: #f6f1f9;
	color: var(--oba-primary);
}

.oba-scope .oba-acc-name {
	flex: 1 1 auto;
}

.oba-scope .oba-acc-count {
	flex: 0 0 auto;
	min-width: 24px;
	padding: 1px 8px;
	border-radius: 20px;
	background: #eee;
	color: #555;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0;
	text-align: center;
}

.oba-scope .oba-acc-item.is-open .oba-acc-count {
	background: var(--oba-primary);
	color: #fff;
}

.oba-scope .oba-acc-btn svg {
	flex: 0 0 auto;
	width: 16px;
	height: 16px;
	fill: var(--oba-primary);
	transition: transform .2s;
}

.oba-scope .oba-acc-item.is-open .oba-acc-btn svg {
	transform: rotate(180deg);
}

.oba-modal .oba-acc-panel {
	padding: 15px;
}

.oba-modal .oba-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
}

.oba-modal .oba-grid .oba-card {
	height: 100%;
}

/* Detalle del producto */
.oba-modal .oba-d {
	display: grid;
	grid-template-columns: 42% minmax(0, 1fr);
	gap: 20px;
	align-items: start;
}

.oba-modal .oba-d-media {
	padding: 14px;
	border-radius: var(--oba-radius);
	background: var(--oba-soft);
}

.oba-modal .oba-d-media img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
	object-fit: contain;
	margin: 0;
}

.oba-modal .oba-d-name {
	margin: 0 0 4px;
	font-size: 22px;
	font-weight: 600;
	line-height: 1.25;
	color: var(--oba-primary);
}

.oba-modal .oba-d-price {
	margin-bottom: 14px;
	font-size: 18px;
	font-weight: 600;
}

.oba-modal .oba-d-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 12px;
}

.oba-modal .oba-d-actions .oba-btn-primary,
.oba-modal .oba-d-actions .oba-btn-outline {
	flex: 1 1 100%;
}

.oba-modal .oba-d-desc {
	margin-top: 16px;
	font-size: 14px;
	line-height: 1.6;
	color: #555;
}

.oba-modal .oba-d-desc p {
	margin: 0 0 .6em;
	padding: 0;
}

.oba-modal .oba-d-desc p:last-child {
	margin-bottom: 0;
}

/* Campos de personalización */
.oba-modal .oba-d-perso {
	margin-bottom: 14px;
	padding: 12px;
	border: 1px solid #ece4f1;
	border-radius: var(--oba-radius);
	background: #fbf8fd;
}

.oba-modal .oba-field + .oba-field {
	margin-top: 12px;
}

.oba-modal .oba-field-label {
	display: block;
	margin: 0 0 5px;
	font-size: 13px;
	font-weight: 600;
	color: var(--oba-text);
}

.oba-modal .oba-field-label small {
	font-weight: 400;
	color: #888;
}

.oba-modal .oba-field textarea {
	display: block;
	width: 100%;
	min-height: 72px;
	margin: 0;
	padding: 8px 10px;
	border: 1px solid #ccc;
	border-radius: 6px;
	background: #fff;
	box-shadow: none;
	color: var(--oba-text);
	font-family: inherit;
	font-size: 14px;
	line-height: 1.45;
	resize: vertical;
}

.oba-modal .oba-field textarea:focus {
	outline: none;
	border-color: var(--oba-primary);
	box-shadow: 0 0 0 3px rgba(88, 22, 125, .15);
}

.oba-modal .oba-counter {
	margin-top: 3px;
	font-size: 11px;
	color: #888;
	text-align: right;
}

.oba-scope .oba-upload {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	padding: 10px;
	border: 1px dashed #b9a6c6;
	border-radius: var(--oba-radius);
	background: #fff;
	box-shadow: none;
	color: var(--oba-text);
	text-align: left;
	cursor: pointer;
}

.oba-scope .oba-upload:hover {
	border-color: var(--oba-primary);
}

.oba-modal .oba-upload-thumb {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 56px;
	width: 56px;
	height: 56px;
	overflow: hidden;
	border-radius: 6px;
	background: #f1ebf5;
	color: var(--oba-primary);
}

.oba-modal .oba-upload-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	margin: 0;
}

.oba-modal .oba-upload-thumb svg {
	width: 24px;
	height: 24px;
	fill: currentColor;
}

.oba-modal .oba-upload-text {
	display: flex;
	flex-direction: column;
	min-width: 0;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.3;
}

.oba-modal .oba-upload-text small {
	font-size: 12px;
	font-weight: 400;
	color: #888;
}

.oba-modal .oba-progress {
	height: 4px;
	margin-top: 8px;
	overflow: hidden;
	border-radius: 2px;
	background: #eee;
}

.oba-modal .oba-progress span {
	display: block;
	width: 0;
	height: 100%;
	background: var(--oba-primary);
	transition: width .15s;
}

.oba-modal .oba-error {
	margin-top: 5px;
	font-size: 13px;
	color: #b02a37;
}

.oba-modal .oba-file {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
	pointer-events: none;
}

/* ---------- Responsive ---------- */

@media (max-width: 991px) {
	.oba-modal .oba-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	/* Carrusel: 3 tarjetas visibles. */
	.oba.oba--compact .oba-track .oba-card {
		flex-basis: calc((100% - 10px) / 3);
		width: calc((100% - 10px) / 3);
	}

	/* Modal: 3 por fila. */
	.oba-modal .oba-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 8px;
	}

	.oba-scope.oba--compact .oba-card,
	.oba-modal .oba-grid .oba-card {
		padding: 6px;
		border-radius: 7px;
	}

	.oba-scope.oba--compact .oba-card-img,
	.oba-modal .oba-grid .oba-card-img {
		margin-bottom: 6px;
		border-radius: 4px;
	}

	.oba-scope .oba-card-name {
		margin-bottom: 2px;
		font-size: 11px;
	}

	.oba-scope .oba-card-price {
		font-size: 11px;
	}

	.oba-scope .oba-card-perso {
		margin-top: 2px;
		font-size: 10px;
	}

	.oba.oba--compact .oba-card-body,
	.oba-modal .oba-grid .oba-card-body {
		line-height: 1.3;
	}

	.oba-scope .oba-check {
		right: 4px;
		bottom: 4px;
	}

	.oba-scope .oba-check-box {
		width: 22px;
		height: 22px;
	}

	.oba-scope .oba-cb:checked + .oba-check-box::after {
		left: 6px;
		top: 2px;
		width: 6px;
		height: 11px;
	}
}

@media (max-width: 575px) {
	.oba-modal {
		align-items: flex-end;
		padding: 8px 8px 0;
	}

	.oba-modal .oba-modal-dialog {
		max-height: calc(100vh - 24px);
		max-height: calc(100dvh - 24px);
		border-radius: 14px 14px 0 0;
		transform: translateY(40px);
	}

	.oba-modal .oba-modal-header {
		padding: 12px 14px;
	}

	.oba-modal .oba-modal-title {
		font-size: 17px;
	}

	.oba-modal .oba-modal-body {
		padding: 12px;
	}

	.oba-scope .oba-acc-btn {
		padding: 14px 14px;
		font-size: 15px;
	}

	.oba-modal .oba-acc-panel {
		padding: 10px;
	}

	.oba-modal .oba-modal-footer {
		padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
	}

	.oba-modal .oba-modal-summary {
		width: 100%;
		margin: 0 0 2px;
		text-align: center;
	}

	.oba-modal .oba-modal-footer .oba-btn {
		flex: 1 1 0;
	}

	.oba-modal .oba-d {
		grid-template-columns: 1fr;
		gap: 14px;
	}

	.oba-modal .oba-d-media {
		width: 62%;
		max-width: 240px;
		margin: 0 auto;
		padding: 10px;
	}

	.oba-modal .oba-d-name {
		font-size: 19px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.oba .oba-track {
		scroll-behavior: auto;
	}

	.oba-scope *,
	.oba-modal .oba-modal-dialog,
	.oba-modal .oba-modal-backdrop {
		transition: none !important;
	}
}
