.amt-garan-de-trigger[hidden],
.amt-garan-de-dialog[hidden] {
	display: none !important;
}

.amt-garan-de-trigger {
	margin: 8px 0 18px;
}

.amt-garan-de-open {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 4px 0;
	border: 0;
	background: transparent;
	color: inherit;
	font: inherit;
	text-align: left;
	text-decoration: underline;
	text-underline-offset: 2px;
	cursor: pointer;
}

.amt-garan-de-open img {
	width: 184px;
	height: auto;
	max-width: 45vw;
}

.amt-garan-de-open:hover span,
.amt-garan-de-open:focus-visible span {
	text-decoration: none;
}

.amt-garan-de-cart-open {
	display: inline-flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 5px 8px;
	margin: 4px 0;
	color: inherit;
	font-size: 11px;
	line-height: 1.3;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.woocommerce-cart dl.variation dt.variation-GARAN,
.woocommerce-checkout dl.variation dt.variation-GARAN,
.woocommerce-cart dl.variation dd.variation-GARAN,
.woocommerce-checkout dl.variation dd.variation-GARAN {
	display: block;
	float: none;
	margin-left: 0;
}

.woocommerce-cart dl.variation dt.variation-GARAN,
.woocommerce-checkout dl.variation dt.variation-GARAN {
	margin-top: 7px;
}

.woocommerce-cart dl.variation dd.variation-GARAN p,
.woocommerce-checkout dl.variation dd.variation-GARAN p {
	margin-bottom: 0;
}

.amt-garan-de-cart-open img {
	display: block;
	width: 116px;
	max-width: 100%;
	height: auto;
}

.woocommerce-checkout .amt-garan-de-cart-open img {
	width: 98px;
}

.amt-garan-de-cart-open:hover span,
.amt-garan-de-cart-open:focus-visible span {
	text-decoration: none;
}

.amt-garan-de-open:focus-visible,
.amt-garan-de-cart-open:focus-visible,
.amt-garan-de-close:focus-visible,
.amt-garan-de-links a:focus-visible,
.amt-garan-de-zoom:focus-visible {
	outline: 2px solid #1a4f9a;
	outline-offset: 3px;
}

body.amt-garan-de-modal-open {
	overflow: hidden;
}

.amt-garan-de-dialog {
	position: fixed;
	inset: 0;
	z-index: 1000000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
}

.amt-garan-de-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.72);
}

.amt-garan-de-panel {
	position: relative;
	z-index: 1;
	width: min(100%, 650px);
	max-height: 94vh;
	overflow: auto;
	padding: 20px;
	border-radius: 8px;
	background: #fff;
	color: #171717;
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
	text-align: center;
}

.amt-garan-de-panel h2 {
	margin: 0 32px 15px;
	font-size: 1.25rem;
	line-height: 1.3;
}

.amt-garan-de-close {
	position: absolute;
	top: 7px;
	right: 9px;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 0;
	background: transparent;
	color: inherit;
	font-size: 30px;
	line-height: 1;
	cursor: pointer;
}

.amt-garan-de-image {
	display: block;
	width: auto;
	max-width: 100%;
	max-height: 68vh;
	height: auto;
	margin: 0 auto;
}

.amt-garan-de-image-wrap {
	max-height: 68vh;
	overflow: auto;
}

.amt-garan-de-zoomed .amt-garan-de-image-wrap {
	max-height: 72vh;
}

.amt-garan-de-zoomed .amt-garan-de-image {
	width: 1200px;
	max-width: none;
	max-height: none;
}

.amt-garan-de-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px 18px;
	margin-top: 14px;
	font-size: 0.9rem;
}

.amt-garan-de-links a,
.amt-garan-de-zoom {
	color: #174c91;
	text-decoration: underline;
}

.amt-garan-de-zoom {
	padding: 0;
	border: 0;
	background: transparent;
	font: inherit;
	cursor: pointer;
}
