/* Tootelehe eelvaade ja väljad */
.cc-gc-wrap {
	margin: 20px 0;
	max-width: 500px;
}
.cc-gc-preview-holder {
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	width: 100%;
	line-height: 0;
}
body.cc-gc-product .avia-wc-30-product-gallery-lightbox,
body.cc-gc-product .single-product-main-image .woocommerce-product-gallery {
	display: none !important;
}
body.cc-gc-product .single-product-main-image {
	overflow: hidden;
}
.cc-gc-canvas {
	display: block;
	width: 100%;
	height: auto;
}
.cc-gc-fields textarea,
.cc-gc-fields input[type="email"],
.cc-gc-fields input[type="text"],
.cc-gc-fields input[type="number"] {
	width: 100%;
	box-sizing: border-box;
}
.cc-gc-fields .form-row {
	margin-bottom: 12px;
}
.cc-gc-fields label {
	display: block;
	font-weight: 600;
	margin-bottom: 4px;
}

/* Admin loetelu */
.cc-gc-search-form {
	margin: 15px 0;
}
.cc-gc-search-form input[type="search"] {
	min-width: 280px;
}
.cc-gc-table td, .cc-gc-table th {
	vertical-align: middle;
}
.cc-gc-status {
	padding: 2px 8px;
	border-radius: 3px;
	font-size: 12px;
	font-weight: 600;
	display: inline-block;
}
.cc-gc-status-active {
	background: #d4edda;
	color: #155724;
}
.cc-gc-status-used {
	background: #e2e3e5;
	color: #383d41;
}
.cc-gc-status-expired {
	background: #f8d7da;
	color: #721c24;
}
.cc-gc-box {
	background: #fff;
	border: 1px solid #ccd0d4;
	padding: 15px 20px;
	margin: 15px 0;
	max-width: 600px;
}

/* ---- Kinkekaardi toote leht ---- */
body.cc-gc-product .single-product-main-image {
	width: 50% !important;
	margin-left: 0 !important;
	margin-right: 100px !important;
}
@media (max-width: 767px) {
	body.cc-gc-product .single-product-main-image {
		width: 100% !important;
		margin-right: 0 !important;
	}
}
body.cc-gc-product .woocommerce-variation-price,
body.cc-gc-product .single_variation,
body.cc-gc-product .quantity {
	display: none !important;
}
body.cc-gc-product .product_title.entry-title {
	font-size: 30px;
}
body.cc-gc-product .single_add_to_cart_button {
	width: 100% !important;
}
.cc-gc-amount-box {
	display: flex;
	align-items: center;
	box-sizing: border-box;
	width: 100%;
	padding: 0 12px;
	border: 1px solid #e1e1e1;
	background: #fff;
	cursor: text;
}
.cc-gc-amount-box input[type="text"] {
	flex: 0 0 auto;
	width: 3ch;
	min-width: 1ch;
	max-width: 100%;
	margin: 0 !important;
	padding: 10px 0 !important;
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	outline: 0;
}
.cc-gc-amount-box .cc-gc-euro {
	padding-left: 2px;
}

/* ---- Viimistlus ---- */
.cc-gc-preview-holder {
	border-radius: 6px;
	overflow: hidden;
}
.cc-gc-canvas {
	border-radius: 6px;
}
.cc-gc-amount-box input[type="text"],
.cc-gc-amount-box .cc-gc-euro {
	font-weight: 300;
	color: #282828;
}
.cc-gc-fields input[type="email"]::placeholder,
.cc-gc-amount-box input[type="text"]::placeholder {
	font-weight: 300;
}
.cc-gc-fields input[type="email"] {
	font-weight: 300;
	color: #282828;
}
.cc-gc-amount-box,
.cc-gc-fields input[type="email"] {
	transition: border-color 0.15s ease;
}
.cc-gc-amount-box:focus-within,
.cc-gc-fields input[type="email"]:focus {
	border-color: #003c7e !important;
	outline: 0;
}

/* Teema (Enfold) kirjutab inputide stiilid üle - need on tugevama selektoriga. */
body.cc-gc-product .cc-gc-amount-box input#cc_gc_custom_amount,
body.cc-gc-product .cc-gc-amount-box .cc-gc-euro {
	font-weight: 300 !important;
	color: #282828 !important;
	-webkit-text-fill-color: #282828;
}
body.cc-gc-product .cc-gc-fields input#cc_gc_recipient_email {
	font-weight: 300 !important;
	color: #282828 !important;
}
body.cc-gc-product .cc-gc-fields input#cc_gc_recipient_email::placeholder,
body.cc-gc-product .cc-gc-amount-box input#cc_gc_custom_amount::placeholder {
	font-weight: 300 !important;
}

/* ---- Ülemine ruum ja pealkiri ---- */
body.cc-gc-product .title_container,
body.cc-gc-product .avia-breadcrumbs {
	display: none !important;
}
body.cc-gc-product .single-product-main-image {
	padding-top: 20px !important;
	padding-bottom: 30px !important;
}
body.cc-gc-product .single-product-summary .price,
body.cc-gc-product .single-product-summary .reset_variations_alert {
	display: none !important;
}
body.cc-gc-product .single-product-summary .product_title {
	margin-top: 0;
	margin-bottom: 10px;
}
body.cc-gc-product .single-product-summary .variations_form,
body.cc-gc-product .single-product-summary form.cart {
	margin-top: 0;
	padding-top: 0;
}
body.cc-gc-product .cc-gc-wrap {
	margin-top: 0;
}

/* Vigane summa: punane raam */
body.cc-gc-product .cc-gc-amount-box.cc-gc-invalid,
body.cc-gc-product .cc-gc-amount-box.cc-gc-invalid:focus-within {
	border-color: #d63638 !important;
}
