.single-product .gllc-has-enhanced-gallery .woo-variation-gallery-slider-wrapper,
.single-product .gllc-has-enhanced-gallery .woo-variation-gallery-thumbnail-wrapper,
.single-product .gllc-has-enhanced-gallery .woocommerce-product-gallery__wrapper,
.single-product .gllc-has-enhanced-gallery .flex-control-thumbs,
.single-product .gllc-has-enhanced-gallery .woocommerce-product-gallery__trigger,
.single-product .gllc-has-enhanced-gallery .gllc-product-gallery-frame > :not(.gllc-product-gallery) {
	display: none !important;
}

.single-product .gllc-product-gallery {
	display: grid;
	gap: 18px;
}

.single-product .gllc-variation-picker {
	--gllc-option-tile-size: 75px;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.single-product .gllc-product-gallery__main {
	position: relative;
	overflow: hidden;
}

.single-product .gllc-product-gallery__main img {
	display: block;
	width: 100%;
	height: auto;
	object-fit: contain;
}

.single-product .gllc-product-gallery__nav {
	position: absolute;
	right: 24px;
	bottom: 24px;
	display: flex;
	align-items: center;
	gap: 12px;
}

.single-product .gllc-product-gallery__arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 60px;
	height: 60px;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.96);
	color: #111;
	cursor: pointer;
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.single-product .gllc-product-gallery__arrow-icon {
	font-size: 24px;
	line-height: 1;
}

.single-product .gllc-product-gallery__arrow:hover:not(:disabled) {
	transform: scale(1.04);
}

.single-product .gllc-product-gallery__arrow.is-disabled,
.single-product .gllc-product-gallery__arrow:disabled {
	opacity: 0.28;
	cursor: default;
	pointer-events: none;
}

.single-product .entry-summary-inner > .sizechart-button {
	display: none;
}

.single-product .gllc-variation-label-wrap {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.single-product .gllc-inline-sizeguide {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 0 auto;
	border: 0;
	text-decoration: none;
}

.single-product .gllc-inline-sizeguide__icon {
	font-size: 16px;
	line-height: 1;
}

.single-product .gllc-hidden-selects {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	border: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
}

.single-product .gllc-attribute-group {
	display: grid;
	gap: 12px;
}

.single-product .gllc-attribute-group__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.single-product .gllc-attribute-group__title {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--accent);
}

.single-product .gllc-option-grid {
	position: relative;
	display: flex;
	flex-wrap: nowrap;
	gap: 14px;
	overflow: hidden;
	padding-bottom: 12px;
	scrollbar-width: none;
	-ms-overflow-style: none;
}

.single-product .gllc-option-grid::-webkit-scrollbar {
	display: none;
}

.single-product .gllc-option-grid.ps {
	overflow: hidden !important;
	touch-action: pan-x;
}

.single-product .gllc-option-grid.ps--active-x > .ps__rail-x {
	display: block;
	opacity: 0;
	height: 10px;
	bottom: 0;
	background: rgba(17, 17, 17, 0.08);
	border-radius: 999px;
	transition: opacity 0.2s ease, background-color 0.2s ease;
	pointer-events: none;
}

.single-product .gllc-option-grid .ps__thumb-x {
	opacity: 0;
	height: 6px;
	bottom: 2px;
	background: rgba(17, 17, 17, 0.38);
	border-radius: 999px;
	transition: opacity 0.2s ease, background-color 0.2s ease;
	pointer-events: none;
}

.single-product .gllc-option-grid:hover > .ps__rail-x,
.single-product .gllc-option-grid.ps--focus > .ps__rail-x,
.single-product .gllc-option-grid.ps--scrolling-x > .ps__rail-x {
	opacity: 1;
}

.single-product .gllc-option-grid:hover .ps__thumb-x,
.single-product .gllc-option-grid.ps--focus .ps__thumb-x,
.single-product .gllc-option-grid.ps--scrolling-x .ps__thumb-x {
	opacity: 1;
}

.single-product .gllc-option-chip {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	border: 1px solid var(--border_light);
	background: #fff;
	cursor: pointer;
	appearance: none;
	user-select: none;
	-webkit-tap-highlight-color: transparent;
	transition: border-color 0.2s ease, opacity 0.2s ease;
}

.single-product .gllc-option-chip > * {
	pointer-events: none;
}

.single-product .gllc-option-chip:hover,
.single-product .gllc-option-chip.is-selected {
	border-color: var(--accent);
}

.single-product .gllc-option-chip:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 3px;
}

.single-product .gllc-option-grid--color .gllc-option-chip {
	position: relative;
	display: block;
	width: var(--gllc-option-tile-size);
	height: var(--gllc-option-tile-size);
	line-height: 0;
	box-sizing: border-box;
	flex: 0 0 var(--gllc-option-tile-size);
	padding: 0;
	border: 0;
	border-radius: 8px;
	background: transparent;
	cursor: pointer;
	appearance: none;
	user-select: none;
	-webkit-tap-highlight-color: transparent;
}

.single-product .gllc-option-grid--color .gllc-option-chip__image-wrap {
	display: block;
	width: 100%;
	height: var(--gllc-option-tile-size);
	overflow: hidden;
	border: 2px solid var(--border_light);
	border-radius: 8px;
	background: #fff;
	box-sizing: border-box;
	transition: border-color 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease;
}

.single-product .gllc-option-grid--color .gllc-option-chip:hover .gllc-option-chip__image-wrap,
.single-product .gllc-option-grid--color .gllc-option-chip.is-selected .gllc-option-chip__image-wrap {
	border-color: var(--accent);
}

.single-product .gllc-option-grid--color .gllc-option-chip.is-selected .gllc-option-chip__image-wrap {
	box-shadow: inset 0 0 0 2px #fff;
}

.single-product .gllc-option-grid--color .gllc-option-chip__image-wrap,
.single-product .gllc-option-grid--color .gllc-option-chip__image {
	display: block;
	width: 100%;
	height: 100%;
}

.single-product .gllc-option-grid--color .gllc-option-chip__image {
	object-fit: cover;
}

.single-product .gllc-option-grid--size .gllc-option-chip {
	width: var(--gllc-option-tile-size);
	height: var(--gllc-option-tile-size);
	box-sizing: border-box;
	flex: 0 0 var(--gllc-option-tile-size);
	border-width: 2px;
	border-radius: 8px;
	overflow: hidden;
}

.single-product .gllc-option-grid--size .gllc-option-chip__label {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	padding: 0;
	box-sizing: border-box;
	font-size: 28px;
	font-weight: 400;
	line-height: 1.1;
	color: var(--accent);
}

.single-product .gllc-option-chip.is-disabled,
.single-product .gllc-option-chip[aria-disabled="true"],
.single-product .gllc-option-chip.is-out-of-stock {
	position: relative;
	opacity: 0.35;
	cursor: not-allowed !important;
}

.single-product .gllc-option-grid--size .gllc-option-chip.is-disabled .gllc-option-chip__label,
.single-product .gllc-option-grid--size .gllc-option-chip[aria-disabled="true"] .gllc-option-chip__label,
.single-product .gllc-option-grid--size .gllc-option-chip.is-out-of-stock .gllc-option-chip__label {
	text-decoration: line-through;
}

.single-product .gllc-option-grid--color .gllc-option-chip.is-disabled::after,
.single-product .gllc-option-grid--color .gllc-option-chip[aria-disabled="true"]::after,
.single-product .gllc-option-grid--color .gllc-option-chip.is-out-of-stock::after {
	content: "";
	position: absolute;
	inset: 10px;
	border-top: 2px solid rgba(0, 0, 0, 0.65);
	transform: rotate(-18deg);
	transform-origin: center;
}

@media (max-width: 767px) {
	.single-product .gllc-variation-picker {
		--gllc-option-tile-size: calc((100% - 36px) / 4);
	}

	.single-product .gllc-product-gallery__nav {
		right: 16px;
		bottom: 16px;
	}

	.single-product .gllc-product-gallery__arrow {
		width: 52px;
		height: 52px;
	}

	.single-product .gllc-product-gallery__arrow-icon {
		font-size: 20px;
	}

	.single-product .gllc-option-grid {
		gap: 12px;
	}

	.single-product .gllc-option-grid--color .gllc-option-chip,
	.single-product .gllc-option-grid--size .gllc-option-chip {
		width: var(--gllc-option-tile-size);
		height: var(--gllc-option-tile-size);
		flex: 0 0 var(--gllc-option-tile-size);
	}

	.single-product .gllc-option-grid--size .gllc-option-chip__label {
		font-size: 22px;
	}
}
