html.iddd-trendyol-sheet-open {
	overflow: hidden;
}

.iddd-trendyol-sheet {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	visibility: hidden;
	pointer-events: none;
	opacity: 0;
	transition: opacity 0.2s ease, visibility 0.2s ease;
}

.iddd-trendyol-sheet.is-open {
	visibility: visible;
	pointer-events: auto;
	opacity: 1;
}

.iddd-trendyol-sheet__backdrop {
	position: absolute;
	inset: 0;
	margin: 0;
	padding: 0;
	border: 0;
	background: rgba(0, 0, 0, 0.45);
	cursor: pointer;
	opacity: 0;
	transition: opacity 0.2s ease;
}

.iddd-trendyol-sheet.is-open .iddd-trendyol-sheet__backdrop {
	opacity: 1;
}

.iddd-trendyol-sheet__panel {
	position: relative;
	z-index: 1;
	width: 100%;
	max-height: 72vh;
	padding: 8px 12px calc(12px + env(safe-area-inset-bottom, 0px));
	background: #fff;
	border-radius: 16px 16px 0 0;
	box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.18);
	overflow-x: hidden;
	overflow-y: auto;
	transform: translateY(100%);
	transition: transform 0.28s cubic-bezier(0.32, 0.72, 0, 1);
	will-change: transform;
}

.iddd-trendyol-sheet.is-open .iddd-trendyol-sheet__panel {
	transform: translateY(0);
}

.iddd-trendyol-sheet__handle {
	width: 40px;
	height: 4px;
	margin: 4px auto 12px;
	border-radius: 999px;
	background: #d9d9d9;
}

.iddd-trendyol-sheet__title {
	margin: 0 0 12px;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.3;
	color: #1a1a1a;
}

.iddd-trendyol-sheet__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
}

.iddd-trendyol-sheet__grid--carousel {
	display: flex;
	flex-wrap: nowrap;
	gap: 10px;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	overflow-x: auto;
	overflow-y: hidden;
	margin-inline: -12px;
	padding-inline: 12px;
	padding-bottom: 4px;
	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	-ms-overflow-style: none;
	direction: rtl;
}

.iddd-trendyol-sheet__grid--carousel::-webkit-scrollbar {
	display: none;
}

.iddd-trendyol-sheet__grid--carousel .iddd-trendyol-sheet__item {
	flex: 0 0 42%;
	max-width: 148px;
	scroll-snap-align: start;
}

.iddd-trendyol-sheet__grid--carousel .iddd-trendyol-sheet__name {
	direction: rtl;
}

.iddd-trendyol-sheet__carousel-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	align-items: stretch;
	width: 100%;
	max-width: 100%;
	min-width: 0;
}

.iddd-trendyol-sheet__carousel-row .iddd-trendyol-sheet__grid--carousel {
	grid-column: 1;
	grid-row: 1;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	margin-inline: 0;
	padding-block: 10px 4px;
	padding-inline: 12px;
}

.iddd-trendyol-sheet__carousel-row .iddd-trendyol-sheet__grid--carousel.iddd-trendyol-sheet__grid--has-controls {
	padding-inline: 38px;
}

#iddd-trendyol-sheet .iddd-trendyol-sheet__carousel-row .iddd-trendyol-sheet__carousel-btn {
	grid-row: 1;
	grid-column: 1;
	width: 30px;
	height: 30px;
	margin: 0;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.55);
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.42);
	color: #1a1a1a;
	line-height: 0;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	align-self: center;
	z-index: 3;
	backdrop-filter: blur(10px) saturate(160%);
	-webkit-backdrop-filter: blur(10px) saturate(160%);
	box-shadow:
		0 2px 10px rgba(0, 0, 0, 0.1),
		inset 0 1px 0 rgba(255, 255, 255, 0.55);
	transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
	touch-action: manipulation;
	-webkit-tap-highlight-color: transparent;
}

#iddd-trendyol-sheet .iddd-trendyol-sheet__carousel-row .iddd-trendyol-sheet__carousel-btn .iddd-carousel-btn__icon {
	display: block;
	width: 15px;
	height: 15px;
	flex-shrink: 0;
	pointer-events: none;
}

#iddd-trendyol-sheet .iddd-trendyol-sheet__carousel-row .iddd-trendyol-sheet__carousel-btn--prev {
	justify-self: start;
	margin-inline-start: 4px;
}

#iddd-trendyol-sheet .iddd-trendyol-sheet__carousel-row .iddd-trendyol-sheet__carousel-btn--next {
	justify-self: end;
	margin-inline-end: 4px;
}

#iddd-trendyol-sheet .iddd-trendyol-sheet__carousel-row .iddd-trendyol-sheet__carousel-btn:active {
	background: rgba(255, 255, 255, 0.72);
}

.iddd-trendyol-sheet__carousel-indicator {
	width: 100%;
}

.iddd-trendyol-sheet__carousel-indicator--dots {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin-top: 12px;
	padding-bottom: 4px;
}

.iddd-trendyol-sheet__carousel-indicator--bar {
	display: block;
	margin-top: 12px;
	padding: 0 4px 4px;
}

.iddd-trendyol-sheet__carousel-bar-track {
	position: relative;
	display: block;
	width: 100%;
	height: 3px;
	border-radius: 999px;
	background: #d9d9d9;
	overflow: hidden;
	direction: rtl;
}

.iddd-trendyol-sheet__carousel-bar-thumb {
	position: absolute;
	top: 0;
	inset-inline-start: var(--iddd-bar-pos, 0%);
	width: var(--iddd-bar-size, 20%);
	height: 100%;
	border-radius: inherit;
	background: #525252;
	will-change: inset-inline-start, width;
}

.iddd-trendyol-sheet__carousel-dots {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin-top: 12px;
	padding-bottom: 4px;
}

#iddd-trendyol-sheet .iddd-trendyol-sheet__carousel-dot {
	appearance: none;
	-webkit-appearance: none;
	display: inline-block;
	flex: 0 0 10px;
	width: 10px;
	height: 10px;
	min-width: 10px;
	min-height: 10px;
	margin: 0;
	padding: 0;
	border: 1px solid rgba(0, 0, 0, 0.16);
	border-radius: 50%;
	aspect-ratio: 1 / 1;
	background-color: #bdbdbd;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.14);
	cursor: pointer;
	transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}

#iddd-trendyol-sheet .iddd-trendyol-sheet__carousel-dot.is-active {
	background-color: #525252;
	border-color: #525252;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.22);
	transform: scale(1.2);
}

.iddd-trendyol-sheet__item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	padding: 8px 4px;
	border-radius: 8px;
	text-decoration: none;
	color: inherit;
	background: #f7f7f7;
	transition: background 0.15s ease;
}

.iddd-trendyol-sheet__item:active {
	background: #ececec;
}

.iddd-trendyol-sheet__thumb {
	display: block;
	width: 100%;
	aspect-ratio: 2 / 3;
	object-fit: cover;
	border-radius: 4px;
	background: #eee;
}

.iddd-trendyol-sheet__thumb-wrap {
	position: relative;
	display: block;
	width: 100%;
	aspect-ratio: 2 / 3;
	border-radius: 4px;
	overflow: hidden;
	background: #ececec;
}

.iddd-trendyol-sheet__grid--carousel .iddd-trendyol-sheet__thumb-wrap {
	aspect-ratio: 3 / 4;
}

.iddd-trendyol-sheet__thumb-skeleton {
	position: absolute;
	inset: 0;
	display: block;
	background: linear-gradient(90deg, #e8e8e8 0%, #f5f5f5 45%, #e8e8e8 90%);
	background-size: 200% 100%;
	animation: iddd-trendyol-shimmer 1.1s ease-in-out infinite;
}

.iddd-trendyol-sheet__thumb-wrap .iddd-trendyol-sheet__thumb {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	transition: opacity 0.35s ease;
}

.iddd-trendyol-sheet__thumb-wrap.is-loaded .iddd-trendyol-sheet__thumb {
	opacity: 1;
}

.iddd-trendyol-sheet__thumb-wrap.is-loaded .iddd-trendyol-sheet__thumb-skeleton {
	opacity: 0;
	transition: opacity 0.25s ease;
}

@keyframes iddd-trendyol-shimmer {
	0% {
		background-position: 100% 0;
	}
	100% {
		background-position: -100% 0;
	}
}

.iddd-trendyol-sheet__dot {
	display: block;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	border: 1.5px solid #fff;
	box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
	background-color: #d9d9d9;
	background-size: cover;
	background-position: center;
}

.iddd-trendyol-sheet__name {
	display: block;
	width: 100%;
	font-size: 11px;
	line-height: 1.2;
	text-align: center;
	color: #333;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.iddd-trendyol-sheet__item--color-bar {
	align-items: stretch;
	width: 100%;
	padding-inline: 8px;
}

.iddd-trendyol-sheet__item--color-bar .iddd-trendyol-sheet__name {
	margin-bottom: 6px;
}

.iddd-trendyol-sheet__item--image-color-bar {
	align-items: stretch;
	width: 100%;
}

.iddd-trendyol-sheet__item--image-color-bar .iddd-trendyol-sheet__name {
	margin-top: 6px;
	margin-bottom: 6px;
}

.iddd-trendyol-sheet__item--image-color-bar .iddd-trendyol-sheet__thumb-wrap {
	width: 100%;
}

.iddd-trendyol-sheet__color-bar {
	display: block;
	width: 100%;
	height: 12px;
	border-radius: 6px;
	border: 1px solid rgba(0, 0, 0, 0.12);
	background-color: #d9d9d9;
	background-size: cover;
	background-position: center;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}

.iddd-trendyol-sheet--popup {
	align-items: flex-start;
	justify-content: flex-start;
}

.iddd-trendyol-sheet--popup .iddd-trendyol-sheet__backdrop {
	background: rgba(15, 23, 42, 0.08);
}

.iddd-trendyol-sheet--popup .iddd-trendyol-sheet__panel {
	position: fixed;
	z-index: 2;
	display: flex;
	flex-direction: column;
	width: min(340px, calc(100vw - 24px));
	max-height: min(460px, calc(100vh - 24px));
	padding: 14px 14px 12px;
	background: #fff;
	border: 1px solid rgba(15, 23, 42, 0.08);
	border-radius: 14px;
	box-shadow:
		0 4px 6px rgba(15, 23, 42, 0.04),
		0 16px 40px rgba(15, 23, 42, 0.14);
	overflow: hidden;
	transform: none !important;
	transition: opacity 0.16s ease, transform 0.16s ease !important;
	will-change: opacity, transform;
}

.iddd-trendyol-sheet--popup:not(.is-open) .iddd-trendyol-sheet__panel {
	opacity: 0;
	transform: translateY(6px) scale(0.98);
}

.iddd-trendyol-sheet--popup.is-open .iddd-trendyol-sheet__panel {
	opacity: 1;
	transform: none;
}

.iddd-trendyol-sheet--popup .iddd-trendyol-sheet__handle {
	display: none;
}

.iddd-trendyol-sheet--popup .iddd-trendyol-sheet__title {
	flex: 0 0 auto;
	margin: 0 0 10px;
	padding-bottom: 8px;
	border-bottom: 1px solid #ececec;
	font-size: 13px;
}

.iddd-trendyol-sheet--popup .iddd-trendyol-sheet__grid {
	flex: 1 1 auto;
	min-height: 0;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
	overflow-y: auto;
}

.iddd-trendyol-sheet--popup .iddd-trendyol-sheet__grid--carousel {
	display: flex;
	flex-wrap: nowrap;
	gap: 8px;
	width: 100%;
	max-width: 100%;
	overflow-x: auto;
	overflow-y: hidden;
	margin-inline: 0;
	padding-inline: 2px;
	padding-bottom: 2px;
	cursor: grab;
	overscroll-behavior: contain;
	scroll-behavior: smooth;
	user-select: none;
	-webkit-user-select: none;
}

.iddd-trendyol-sheet--popup .iddd-trendyol-sheet__grid--carousel.is-dragging {
	cursor: grabbing;
	scroll-snap-type: none;
}

.iddd-trendyol-sheet--popup .iddd-trendyol-sheet__grid--carousel .iddd-trendyol-sheet__item {
	flex: 0 0 46%;
	max-width: none;
	scroll-snap-align: start;
}

.iddd-trendyol-sheet--popup .iddd-trendyol-sheet__carousel-row {
	flex: 1 1 auto;
	min-height: 0;
	margin-inline: 0;
	display: grid;
	grid-template-columns: minmax(0, 1fr);
}

.iddd-trendyol-sheet--popup .iddd-trendyol-sheet__carousel-indicator--dots,
.iddd-trendyol-sheet--popup .iddd-trendyol-sheet__carousel-indicator--bar {
	flex: 0 0 auto;
	margin-top: 10px;
	padding-top: 8px;
	border-top: 1px solid #ececec;
}

.iddd-trendyol-sheet--popup .iddd-trendyol-sheet__carousel-dots {
	flex: 0 0 auto;
	margin-top: 10px;
	padding-top: 8px;
	border-top: 1px solid #ececec;
}

@media (min-width: 768px) {
	html.iddd-trendyol-sheet-open.iddd-trendyol-sheet-open--popup {
		overflow: auto;
	}
}
