.c2cgc-customization {
	clear: both;
	margin: 1.25rem 0;
	padding: 1rem;
	border: 1px solid rgba(0, 0, 0, 0.14);
	border-radius: 6px;
}

.c2cgc-title {
	margin: 0 0 1rem;
	font-size: 1.15em;
}

.c2cgc-fieldset {
	margin: 0 0 1rem;
	padding: 0;
	border: 0;
}

.c2cgc-label {
	display: block;
	margin-bottom: 0.45rem;
	font-weight: 600;
}

.c2cgc-radio-option {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0.45rem 0;
	cursor: pointer;
}

.c2cgc-radio-option input {
	margin: 0;
}

.c2cgc-option-label {
	margin-right: auto;
}

.c2cgc-finish-price {
	font-weight: 700;
	font-size: 1.05em;
}

.c2cgc-optional {
	font-weight: 400;
	font-size: 0.85em;
	opacity: 0.65;
	text-transform: none;
}

.c2cgc-envelope-fieldset {
	margin-top: 1.25rem;
}

.c2cgc-envelope-grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 0.6rem;
}

@media (max-width: 700px) {
	.c2cgc-envelope-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

@media (max-width: 480px) {
	.c2cgc-envelope-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 0.4rem;
	}
}

.c2cgc-envelope-option {
	position: relative;
	display: block;
	min-width: 0;
	cursor: pointer;
}

.c2cgc-envelope-option input {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

.c2cgc-envelope-card {
	display: flex;
	height: 100%;
	box-sizing: border-box;
	flex-direction: column;
	padding: 0.4rem;
	border: 2px solid rgba(0, 0, 0, 0.14);
	border-radius: 8px;
	background: #fff;
	transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.c2cgc-envelope-image {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 3rem !important;
	padding: 0.25rem;
	box-sizing: border-box;
	border-radius: 5px;
	background: rgba(0, 0, 0, 0.025);
}

.c2cgc-envelope-image img {
	display: block !important;
	width: auto !important;
	height: auto !important;
	max-width: 100% !important;
	max-height: 4rem !important;
	object-fit: contain !important;
}

.c2cgc-envelope-zoom {
	all: unset;
	position: absolute !important;
	top: 0.3rem !important;
	right: 0.3rem !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	box-sizing: border-box !important;
	width: 1.6rem !important;
	height: 1.6rem !important;
	min-width: 1.6rem !important;
	max-width: 1.6rem !important;
	min-height: 1.6rem !important;
	max-height: 1.6rem !important;
	margin: 0 !important;
	padding: 0 !important;
	border: none !important;
	border-radius: 50% !important;
	background: rgba(255, 255, 255, 0.92) !important;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25) !important;
	color: rgba(0, 0, 0, 0.65) !important;
	cursor: pointer !important;
	line-height: 0 !important;
	font-size: 0 !important;
	text-decoration: none !important;
	z-index: 2;
	transition: background 0.15s ease, color 0.15s ease;
}

.c2cgc-envelope-zoom svg {
	display: block !important;
	width: 14px !important;
	height: 14px !important;
	pointer-events: none;
}

.c2cgc-envelope-zoom:hover,
.c2cgc-envelope-zoom:focus-visible {
	background: #fff !important;
	color: #000 !important;
}

.c2cgc-envelope-lightbox {
	position: fixed !important;
	inset: 0 !important;
	z-index: 100000 !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	padding: 2rem !important;
	background: rgba(0, 0, 0, 0.75) !important;
	box-sizing: border-box !important;
	margin: 0 !important;
}

.c2cgc-envelope-lightbox[hidden] {
	display: none !important;
}

.c2cgc-envelope-lightbox-img {
	display: block !important;
	max-width: 90vw !important;
	max-height: 90vh !important;
	width: auto !important;
	height: auto !important;
	object-fit: contain !important;
	border-radius: 6px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
	margin: 0 !important;
	padding: 0 !important;
}

.c2cgc-envelope-lightbox-close {
	all: unset;
	position: absolute !important;
	top: 1.25rem !important;
	right: 1.25rem !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	box-sizing: border-box !important;
	width: 2.25rem !important;
	height: 2.25rem !important;
	margin: 0 !important;
	padding: 0 !important;
	border: none !important;
	border-radius: 50% !important;
	background: rgba(255, 255, 255, 0.92) !important;
	color: #000 !important;
	font-size: 1.25rem !important;
	line-height: 1 !important;
	cursor: pointer !important;
}

.c2cgc-envelope-lightbox-close:hover,
.c2cgc-envelope-lightbox-close:focus-visible {
	background: #fff !important;
}


.c2cgc-envelope-image-none,
.c2cgc-envelope-image-missing {
	font-size: 2rem;
	color: rgba(0, 0, 0, 0.4);
}

.c2cgc-envelope-caption {
	display: flex;
	flex: 1;
	flex-direction: column;
	justify-content: space-between;
	gap: 0.2rem;
	padding-top: 0.4rem;
	font-size: 0.8em;
	line-height: 1.25;
	text-align: center;
}

.c2cgc-envelope-price {
	display: block;
	font-weight: 700;
}

.c2cgc-envelope-option input:checked + .c2cgc-envelope-card {
	border-color: currentColor;
	box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.12);
	transform: translateY(-1px);
}

.c2cgc-envelope-option input:focus-visible + .c2cgc-envelope-card {
	outline: 3px solid #1e6fd9;
	outline-offset: 2px;
}

.c2cgc-page-fieldset {
	margin-top: 1.25rem;
}

.c2cgc-page-price-note {
	font-size: 0.9em;
	opacity: 0.85;
	margin: 0.25rem 0 0.75rem;
}

.c2cgc-page-option {
	margin-bottom: 0.9rem;
}

.c2cgc-page-option:last-child {
	margin-bottom: 0;
}

.c2cgc-checkbox-option {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	cursor: pointer;
	font-weight: 600;
}

.c2cgc-checkbox-option input {
	margin: 0;
}

.c2cgc-page-textarea-wrap {
	margin-top: 0.5rem;
	position: relative;
}

.c2cgc-page-textarea-wrap[hidden] {
	display: none;
}

.c2cgc-page-textarea-wrap textarea {
	width: 100%;
	box-sizing: border-box;
}

.c2cgc-character-count {
	display: block;
	margin-top: 0.25rem;
	text-align: right;
	font-size: 0.85em;
	opacity: 0.7;
}

.c2cgc-quantity-note {
	margin: 0.75rem 0 0;
	font-size: 0.88em;
	line-height: 1.45;
	opacity: 0.78;
}

.c2cgc-live-price {
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
	margin-top: 1rem;
	padding: 0.85rem 1rem;
	border: 1px solid rgba(0, 0, 0, 0.18);
	border-left: 4px solid currentColor;
	border-radius: 6px;
	background: rgba(0, 0, 0, 0.025);
}

.c2cgc-live-price-label {
	font-size: 0.82em;
	font-weight: 600;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	opacity: 0.7;
}

.c2cgc-live-price-total {
	font-size: 1.15em;
}

.c2cgc-live-price-unit {
	font-size: 0.88em;
	opacity: 0.75;
}


