/* ═══════════════════════════════════════════════════════════
   Get the Look — bottom-sheet style overlay
   ═══════════════════════════════════════════════════════════ */

/* ── Trigger button (positioned over gallery) ── */
.cb-gtl-trigger {
	position: absolute;
	bottom: 20px;
	right: 20px;
	z-index: 10;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 22px;
	background: #fff;
	color: #1a1a1a;
	border: 1px solid #d8d3ca;
	border-radius: 9999px;
	font-family: inherit;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	box-shadow: 0 4px 16px rgba(0,0,0,.08);
	white-space: nowrap;
}
.cb-gtl-trigger img {
	width: 26px;
	height: 26px;
	flex-shrink: 0;
	display: block;
	filter: contrast(1.8);
}

/* ── Overlay wrapper ── */
.cb-gtl-overlay {
	position: fixed;
	inset: 0;
	z-index: 10000;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	pointer-events: none;
	visibility: hidden;
}
.cb-gtl-overlay.is-open {
	pointer-events: auto;
	visibility: visible;
}

/* ── Dark backdrop ── */
.cb-gtl-overlay__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0,0,0,0);
	transition: background 300ms ease;
}
.cb-gtl-overlay.is-open .cb-gtl-overlay__backdrop {
	background: rgba(0,0,0,.45);
}

/* ── Bottom-sheet panel ── */
.cb-gtl-overlay__panel {
	position: relative;
	z-index: 2;
	width: 100%;
	max-height: 80vh;
	background: #fff;
	border-radius: 20px 20px 0 0;
	box-shadow: 0 -8px 40px rgba(0,0,0,.12);
	display: flex;
	flex-direction: column;
	overflow: hidden;
	transform: translateY(100%);
	transition: transform 350ms cubic-bezier(0.22, 1, 0.36, 1);
}
.cb-gtl-overlay.is-open .cb-gtl-overlay__panel {
	transform: translateY(0);
}

/* ── Header ── */
.cb-gtl-overlay__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 24px 32px 16px;
	flex-shrink: 0;
}
.cb-gtl-overlay__title {
	font-size: 20px;
	font-weight: 700;
	color: #1a1a1a;
	margin: 0;
}
.cb-gtl-overlay__close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	background: #1a1a1a;
	border: 0;
	color: #fff;
	cursor: pointer;
	border-radius: 50%;
}
.cb-gtl-overlay__close svg {
	stroke: #fff;
}

/* ── Body / scrollable product row ── */
.cb-gtl-overlay__body {
	flex: 1;
	overflow-x: auto;
	overflow-y: hidden;
	padding: 24px 32px 80px;
	-webkit-overflow-scrolling: touch;
}

.cb-gtl-overlay__row {
	display: flex;
	gap: 16px;
	min-width: min-content;
}

/* ── Product card ── */
.cb-gtl-card {
	position: relative;
	flex: 0 0 200px;
	display: flex;
	flex-direction: column;
}

/* Wishlist heart */
.cb-gtl-card__wish {
	position: absolute;
	top: 10px;
	right: 10px;
	z-index: 3;
	width: 34px;
	height: 34px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(255,255,255,.85);
	border: 0;
	border-radius: 50%;
	cursor: pointer;
	transition: background 150ms ease;
}
.cb-gtl-card__wish:hover { background: #fff; }
.cb-gtl-card__wish svg {
	width: 18px;
	height: 18px;
	stroke: #1a1a1a;
	fill: none;
}
.cb-gtl-card__wish[aria-pressed="true"] svg,
.cb-gtl-card__wish.is-active svg {
	fill: #1a1a1a;
	stroke: #1a1a1a;
}

/* Image */
.cb-gtl-card__img-link {
	display: block;
	text-decoration: none;
}
.cb-gtl-card__img {
	display: block;
	width: 100%;
	aspect-ratio: 3 / 4;
	object-fit: cover;
	object-position: top center;
	background: #f5f3ee;
	border-radius: 4px;
}

/* Size selector */
.cb-gtl-card__size-wrap {
	position: relative;
	margin-top: 8px;
}
.cb-gtl-card__size {
	width: 100%;
	padding: 9px 34px 9px 14px;
	border: 1px solid #d8d3ca;
	border-radius: 999px;
	background: #fff;
	font-family: inherit;
	font-size: 13px;
	color: #1a1a1a;
	appearance: none;
	-webkit-appearance: none;
	cursor: pointer;
	outline: none;
	transition: border-color 150ms ease;
}
.cb-gtl-card__size:focus { border-color: #1a1a1a; }
.cb-gtl-card__size-icon {
	position: absolute;
	right: 12px;
	top: 50%;
	transform: translateY(-50%);
	width: 16px;
	height: 16px;
	pointer-events: none;
	stroke: #888;
}

/* Add button */
.cb-gtl-card__btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	margin-top: 8px;
	padding: 10px 14px;
	background: #d6253b;
	color: #fff;
	border: 0;
	border-radius: 999px;
	font-family: inherit;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	text-decoration: none;
	text-align: center;
	letter-spacing: 0.02em;
}

.cb-gtl-card__btn--disabled,
.cb-gtl-card__btn:disabled {
	background: #e8e4dc;
	color: #999;
	cursor: default;
}

.cb-gtl-card__btn--oos {
	background: #fff;
	color: #999;
	border: 1px solid #d8d3ca;
	cursor: default;
}

.cb-gtl-card__btn--link {
	background: #fff;
	color: #1a1a1a;
	border: 1px solid #d8d3ca;
}

.cb-gtl-card__btn.is-loading {
	opacity: .6;
	pointer-events: none;
}
.cb-gtl-card__btn.is-added {
	background: #2e7d32;
	color: #fff;
	pointer-events: none;
}

/* Product info */
.cb-gtl-card__info {
	display: block;
	text-decoration: none;
	margin-top: 10px;
}
.cb-gtl-card__name {
	display: block;
	font-size: 13px;
	font-weight: 400;
	color: #1a1a1a;
	line-height: 1.4;
}
.cb-gtl-card__price {
	display: block;
	margin-top: 2px;
	font-size: 13px;
	font-weight: 700;
	color: #1a1a1a;
}
.cb-gtl-card__price del { color: #999; font-weight: 400; margin-right: 4px; }
.cb-gtl-card__price ins { background: transparent; text-decoration: none; color: #c62828; }

/* ── Body scroll lock ── */
body.cb-gtl-open { overflow: hidden; }

/* ── Responsive ── */
@media (max-width: 768px) {
	.cb-gtl-overlay__panel { max-height: 82vh; }
	.cb-gtl-overlay__head { padding: 20px 20px 14px; }
	.cb-gtl-overlay__body { padding: 20px 20px 80px; }
	.cb-gtl-card { flex: 0 0 170px; }
}

@media (max-width: 480px) {
	.cb-gtl-overlay__panel { max-height: 85vh; border-radius: 16px 16px 0 0; }
	.cb-gtl-card { flex: 0 0 150px; }
	.cb-gtl-overlay__body { padding: 16px 16px 80px; }
	.cb-gtl-overlay__head { padding: 16px 16px 12px; }
}