#hdc_wrapper *,
#hdc_wrapper *:before,
#hdc_wrapper *:after {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

#hdc_wrapper {
	width: 1000px;
	max-width: 100%;
	margin: 0 auto;
	padding: 4rem 0;
}

#hdc_product_main {
	display: grid;
	grid-template-columns: minmax(10px, 1fr) minmax(10px, 1.5fr);
	grid-gap: 4em;
}

/* Buttons */
.hdcommerce .hdc_button {
	padding: 0.6em 1em;
	border: 2px solid #222222;
	cursor: pointer;
	border-radius: 3px;
	display: inline-block;
	text-decoration: none;
	text-align: center;
	transition: all ease-in-out 300ms;
	line-height: 1;
	font-weight: normal;
}

.hdcommerce .hdc_button:focus,
.hdcommerce .hdc_button:hover {
	outline: none;
	border-color: #000;
	border-width: 2px;
}

.hdcommerce .hdc_button_primary {
	background-color: #00749c;
	color: #fff;
	border: 2px solid #0a6585;
}

.hdcommerce .hdc_button_secondary {
	background-color: var(--hdc-secondary, #48504f);
	color: #fff;
}

.hdcommerce .hdc_button.active {
	opacity: 1;
}

.hdcommerce .hdc_button.disabled {
	opacity: 0.6;
	cursor: default;
}

#hdc_cart_submit_coupon {
	min-width: 80px;
}

.hdc_single_input {
	display: flex;
}

.hdc_single_input > * {
	align-content: center;
}

/* Product Page 
------------------------------------------------ */
.hdc_amount_sale {
	text-decoration: line-through;
}

#hdc_product_title {
	margin-top: 0;
}

#hdc_product_price_score {
	display: flex;
}

.hdc_review_score {
	margin-left: 1em;
	align-self: center;
	cursor: pointer;
}

#hdc_add_to_cart_wrapper {
	margin: 1em 0;
}

#hdc_add_to_cart_success_message {
	display: none;
}

#hdc_add_to_cart_success_message.active {
	display: block;
}

#hdc_product_page_custom_meta {
	margin-top: 1em;
}

/* Varaitions */
.hdc_product_variation_type {
	margin-top: 1em;
}

.hdc_product_variation_type:first-child {
	margin-top: 0;
}

.hdc_product_variation_type_label {
	font-weight: bold;
	font-size: 1em;
	display: block;
	margin: 0;
}

.hdc_product_variation_attribute {
	color: #fff;
	font-weight: bold;
	line-height: 1;
	background-color: #80746b;
	padding: 0.4em 0.6em;
	text-decoration: none;
	border-radius: 0.2em;
	transition: all ease-in-out 300ms;
	border: 2px solid #80746b;
	margin: 0.2em 0.4em 0.2em 0;
	display: inline-block;
	cursor: pointer;
	position: relative;
	font-size: 1em;
}

.hdc_product_variation_attribute:last-child {
	margin-right: 0 !important;
}

.hdc_product_variation_attribute:hover,
.hdc_product_variation_attribute:focus {
	outline: none;
	border-color: #222;
}

.hdc_product_variation_attribute.active {
	color: #fff;
	background-color: #222;
	border-color: #000;
}

.hdc_product_variation_attribute.disabled {
	cursor: default;
	opacity: 0.6;
	text-decoration: line-through;
}

/* Breadcrumbs */
#hdc_breadcrumbs {
	display: flex;
	margin: 0;
	padding: 0;
	list-style: none;
}

#hdc_breadcrumbs > li {
	margin: 0 0.4em 0;
}

#hdc_breadcrumbs li:after {
	content: "/";
	margin-left: 0.4em;
}

#hdc_breadcrumbs li:last-child:after {
	display: none;
}

#hdc_breadcrumbs li:last-child {
	margin-right: 0;
}

#hdc_breadcrumbs li:first-child {
	margin-left: 0;
}

/* Media */
#hdc_product_media {
	width: 100%;
}

#hdc_product_media img {
	display: block;
	width: 100%;
}

#hdc_product_gallery {
	display: grid;
	grid-template-columns: minmax(10px, 1fr) minmax(10px, 1fr) minmax(10px, 1fr);
	grid-gap: 1em;
	margin-top: 1em;
}

.hdc_product_gallery_image {
	max-height: 100%;
	height: fit-content;
	cursor: pointer;
	border: 1px solid #999;
	border-radius: 4px;
	overflow: hidden;
}

.hdc_product_gallery_image:hover {
	opacity: 0.9;
	border: 1px solid #222;
}

/* Cart Page */
#hdc_cart_messages,
#hdc_free_shipping_banner {
	padding: 1em;
	border: 1px solid #999;
	box-shadow: 0 2px 10px -7px #000;
	line-height: 1;
	border-radius: 8px;
	margin-bottom: 1em;
}

#hdc_cart_messages > :last-child,
#hdc_free_shipping_banner > :last-child {
	margin-bottom: 0;
}

#hdc_free_shipping_banner {
	text-align: center;
}

#hdc_empty_cart_notice {
	text-align: center;
}

#hdc_cart_table {
	border: 1px solid #999;
	box-shadow: 0 2px 10px -7px #000;
}

.hdc_cart_row {
	display: grid;
	grid-template-columns: 1fr max-content max-content max-content;
	gap: 1em;
	border-bottom: 1px solid #999;
	padding: 1em;
	line-height: 1.2;
	align-items: center;
}

#hdc_cart_table .hdc_cart_row:hover {
	background-color: rgba(0, 0, 0, 0.04);
}

.hdc_cart_item_price,
.hdc_cart_item_quantity {
	text-align: center;
}

.hdc_cart_item_remove {
	text-align: right;
}

.hdc_cart_remove {
	cursor: pointer;
	padding: 0.2em;
}

.hdc_cart_remove:hover,
.hdc_cart_remove_field:hover {
	color: red;
}

.hdc_permutation_item_type {
	font-weight: bold;
}

.hdc_permutation_item_attribute {
	margin: 0 0.4em;
}

.hdc_cart_item_label_field {
	font-weight: bold;
}

.hdc_cart_item_quantity .hdc_cart_input_quantity {
	width: 100px;
}

.hdc_cart_item_quantity .hdc_cart_input_quantity[disabled] {
	opacity: 0.6;
}

#hdc_after_cart_row {
	font-size: 0.8em;
	display: inline-flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	width: 100%;
}

#hdc_after_cart_row > * {
	margin: 1em;
	padding: 0;
	line-height: 1;
}

#hdc_cart_subtotal_value {
	font-size: 1em;
	font-weight: bold;
}

#hdc_continue_to_checkout_wrapper {
	text-align: right;
	padding: 1rem;
}

/* Checkout Page */
#hdc_checkout_page {
	display: none;
	grid-template-columns: minmax(100px, 1fr) minmax(100px, 1fr);
	grid-gap: 4rem;
}

#hdc_checkout_page.active {
	display: grid;
}

#hdc_checkout_cart .hdc_cart_row {
	display: grid;
	grid-template-columns: 1fr max-content max-content;
	gap: 1rem;
	border-bottom: 1px solid #999;
	padding: 1rem;
	line-height: 1.2;
	align-items: center;
}

.hdc_cart_row_heading {
	padding: 1rem 1rem 0 1rem;
	line-height: 1.2;
	border-top: 1px solid #999;
}

.hdc_cart_sub_row {
	font-size: 0.8em;
}

#hdc_after_checkout_chart {
	margin-top: 1rem;
	text-align: right;
}

#hdc_after_checkout_chart_amount {
	font-weight: bold;
}

#hdc_checkout_form h3 {
	margin-top: 0;
}

#hdc_checkout_continue_to_payment_wrapper {
	position: sticky;
	top: 100px;
}

#hdc_wrapper #hdc_checkout_continue_to_payment.hdc_button_primary {
	display: block;
}

/* Lightbox */
#hdc_lightbox {
	position: fixed;
	top: 0;
	left: 0;
	line-height: 1;
	z-index: 9999999999;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.9);
	margin: 0;
	display: none;
	grid-template-rows: 1fr max-content;
	grid-gap: 1em;
	padding: 4rem 4rem 0 4rem;
}

#hdc_lightbox.active {
	display: grid;
}

#hdc_lightbox_actions {
	color: #fff;
	font-size: 2em;
	justify-items: center;
	justify-self: center;
	display: grid;
	grid-template-columns: minmax(10px, 1fr) minmax(10px, 1fr) minmax(10px, 1fr);
	height: 100%;
	min-height: 40px;
	border: 1px solid #222;
}

#hdc_lightbox_next {
	border-left: 1px solid #222;
	border-right: 1px solid #222;
}

.hdc_lightbox_action {
	height: 100%;
	padding: 0.2em 0.4em;
	line-height: 1;
	cursor: pointer;
	background-color: rgba(0, 0, 0, 0.3);
	user-select: none;
}

.hdc_lightbox_action:hover {
	background-color: #000;
}

#hdc_lightbox_content {
	display: grid;
	grid-template-rows: 1fr max-content;
	grid-gap: 0.4em;
	align-self: center;
}

#hdc_lightbox_caption {
	color: #fff;
	text-align: center;
}

#hdc_lightbox_image {
	display: flex;
	max-height: calc(100vh - 20vh);

	align-items: flex-end;
}

#hdc_lightbox_image > img {
	display: block;
	object-fit: contain;
	width: 100%;
	max-height: 100%;
	max-width: calc(100vw - 8rem);
}

/* Tooltips */
.hdc_tooltip_inline {
	cursor: pointer;
	position: relative;
	text-underline-offset: 2px;
	text-decoration: underline dotted;
}

.hdc_tooltip_content {
	position: absolute;
	top: calc(100% + 0.8rem);
	left: -100px;
	font-size: 0.8em;
	font-weight: 700;
	width: 200px;
	line-height: 1.4;
	background: #141414;
	border-radius: 10px;
	box-shadow: 0 0 24px 0px #000;
	color: #fff;
	padding: 1em;
	text-align: center;
	pointer-events: none;
	opacity: 0;
	transform: translate3d(0, 30px, 0);
	transition: all 0.3s cubic-bezier(0.1, 1, 0.9, 1);
	transition-property: opacity, transform;
}

.hdc_tooltip_inline:hover .hdc_tooltip_content {
	opacity: 1;
	transform: translate3d(0, 0, 0);
	z-index: 99999;
}

.hdc_tooltip_content::after {
	content: "";
	position: absolute;
	bottom: 100%;
	left: calc(50% - 10px);
	display: block;
	border-style: solid;
	border-top-color: transparent;
	border-left: 10px solid transparent;
	border-right: 10px solid transparent;
	border-bottom: 10px solid #141414;
}

/* Coupons */
#hdc_cart_coupons {
	margin-top: 0.4em;
}

#hdc_cart_coupons:empty {
	display: none;
}

.hdc_coupon_item {
	border-radius: 3em;
	border: 1px solid #eee;
	background-color: #2d2d2d;
	color: #fff;
	padding: 1em;
	line-height: 1;
	display: inline-block;
	font-size: 12px;
	cursor: pointer;
}

.hdc_coupon_item:hover {
	border-color: #000;
	text-decoration: line-through;
}

/* Order Page */
.single-hdc_order .postbox .inside {
	padding: 0;
	margin: 0;
	line-height: 1.6;
	font-size: 16px;
}

.single-hdc_order .postbox {
	border: none;
	border-radius: 0;
	box-shadow: none;
	background-color: transparent;
}

.single-hdc_order h1 {
	text-align: right;
	font-size: 22px;
}

.single-hdc_order #hdc_wrapper {
	max-width: 650px;
}

.single-hdc_order #hdc_wrapper h2 {
	font-size: 20px;
	margin-bottom: 0;
}

.hdc_table {
	margin-bottom: 3rem;
	background-color: #fefefe;
	padding: 0 1em;
	font-size: 18px;
	border-radius: 8px;
	box-shadow: 0 2px 4px 0px #ddd;
}

.hdc_table > table {
	width: 100%;
	border: none;
}

.hdc_table > table td {
	border-top: none;
	border-left: none;
	border-right: none;
	border-bottom: 1px dashed #eee;
	padding: 1em 0;
}

.hdc_table > table tr:last-child td {
	border-bottom: none;
}

.hdc_table_default td:nth-child(even) {
	text-align: right;
}

.hdc_table_default tr td:last-child {
	text-align: right;
}

.hdc_variation_label_wrapper {
	display: block;
	font-weight: normal;
}

.hdc_cart_item_label_field {
	font-weight: bold;
}

.hdc_order_status {
	top: -0.25em;
	position: relative;
	font-size: 14px;
	border-radius: 8px;
	display: inline-block;
	line-height: 1;
	padding: 1em;
	border: 1px solid #999;
	color: #222;
}

/* Accordions */
.hdc_accordion_item {
	margin-bottom: 0.2em;
}

.hdc_accordion_item .hdc_accordion_title {
	line-height: 1;
	border-radius: 8px;
	background-color: #00749c;
	border: 2px solid #0a6585;
	padding: 18px;
	transition: 0.4s all ease-in-out;
	margin: 0;
	border-bottom: 2px solid #08445a;
	position: relative;
	cursor: pointer;
	color: #fff;
	transition: all ease-in-out 300ms;
	font-size: 18px;
}

.hdc_accordion_item .hdc_accordion_heading .hdc_accordion_title:before {
	content: "+";
	position: relative;
	display: inline-block;
}

.hdc_accordion_item .hdc_accordion_heading[data-expanded="true"] .hdc_accordion_title:before {
	content: "-";
}

.hdc_accordion_item .hdc_accordion_heading[data-expanded="true"] .hdc_accordion_title {
	background-color: #08445a;
}

.hdc_accordion_item .hdc_accordion_button {
	background: none;
	color: inherit;
	border: none;
	padding: 0;
	font: inherit;
	cursor: pointer;
	outline: inherit;
	appearance: none;
	box-shadow: none;
	text-align: left;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	padding-left: 2em;
	padding-right: 2em;
}

.hdc_accordion_item .hdc_accordion_button:focus {
	outline: 2px solid #222;
	border-radius: 8px;
}

.hdc_accordion_item .hdc_accordion_content {
	will-change: height;
	overflow: hidden;
	visibility: hidden;
	height: 0;
	transition: visibility 0.3s, height 0.4s;
	will-change: height;
}

.hdc_accordion_item .hdc_accordion_content[aria-hidden="false"] {
	visibility: visible;
}

/* Shop / Category */
.hdc_input_label {
	display: block;
}

#hdc_shop_customer_settings {
	display: flex;
	gap: 1em;
	font-size: 16px;
}

#hdc_shop_customer_settings #hdc_product_order {
	font-size: 16px;
	height: 37px;
	padding: 2px;
}

#hdc_display_columns_selector {
	display: grid;
	grid-template-columns: minmax(10px, 1fr) minmax(10px, 1fr) minmax(10px, 1fr) minmax(10px, 1fr);
	border: 1px solid #999;
	font-size: 12px;
	line-height: 1;
}

.hdc_display_columns_selector_item {
	width: 35px;
	height: 35px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	line-height: 1;
	letter-spacing: -2px;
	font-family: monospace;
}

.hdc_display_columns_selector_item:hover {
	background-color: rgba(0, 0, 0, 0.04);
	border-left: 1px solid rgba(0, 0, 0, 0.04);
	border-right: 1px solid rgba(0, 0, 0, 0.04);
}

.hdc_display_columns_selector_item.active {
	background-color: rgba(0, 0, 0, 0.08);
}

.hdc_display_columns_selector_item.active {
	border-left: 1px solid #999;
	border-right: 1px solid #999;
}

.hdc_display_columns_selector_item.active:first-child {
	border-left: none;
}

.hdc_display_columns_selector_item.active:last-child {
	border-right: none;
}

.hdc_shop_category_page_main {
	grid-template-columns: minmax(200px, 300px) 1fr;
	grid-gap: 2rem;
	display: grid;
}

#hdc_products_description {	
    grid-column: 1 / -1;
}

#hdc_shop_main_header {
	display: grid;
	grid-template-columns: 1fr max-content;
	grid-column: 1 / -1;
	align-items: end;
}

#hdc_shop_main_header > h1,
#hdc_shop_main_header > h2,
#hdc_shop_main_header > h3 {
	font-size: 26px;
	margin-bottom: 0;
	padding-bottom: 0;
	width: 100%;
}

#hdc_shop_main_content {
	height: max-content;
}

.hdc_product_item {
	border-radius: 3px;
	overflow: hidden;
	box-shadow: 0 0 17px -11px #999;
	position: relative;
	border: 1px solid #999;
	display: grid;
	grid-template-columns: 1fr;
	grid-template-rows: max-content 1fr;
	position: relative;
}

.hdc_product_item_title {
	line-height: 1.2;
	font-size: 20px;
}

.hdc_product_item:hover .hdc_button {
	background-color: #00749c;
}

.hdc_product_item_featured_image {
	display: flex;
	width: 100%;
	aspect-ratio: 16 / 9;
	background-color: #ffffff;
	height: 100%;
	overflow: hidden;
}

.hdc_product_item_featured_image.contain {
	background-color: initial;
	aspect-ratio: initial;
	padding: 1em;
}

.hdc_product_item_featured_image > img {
	display: block;
	width: 100% !important;
	height: auto !important;
	object-fit: cover;
	margin: 0 auto;
}

.hdc_product_item_featured_image.contain > img {
	object-fit: contain;
}

.hdc_product_item_meta {
	display: flex;
	flex-direction: column;
	align-self: end;
	padding: 1em;
	font-size: 0.8em;
	align-items: center;
}

.hdc_product_item .hdc_product_item_meta > * {
	margin: 0.2em 0;
}

.hdc_product_item .hdc_product_item_meta .hdc_button {
	margin-top: 1em;
}

.hdc_product_item_link {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	text-decoration: none;
}

.hdc_product_item_description {
	display: none;
}

.hdc_col_1 .hdc_product_item_description {
	display: block;
}

/* Columns */
.hdc_col_1 {
	display: grid;
	grid-template-columns: minmax(1px, 1fr);
	gap: 2rem;
}

.hdc_col_2 {
	display: grid;
	grid-template-columns: minmax(1px, 1fr) minmax(1px, 1fr);
	gap: 2rem;
}

.hdc_col_3 {
	display: grid;
	grid-template-columns: minmax(1px, 1fr) minmax(1px, 1fr) minmax(1px, 1fr);
	gap: 2rem;
}

.hdc_col_4 {
	display: grid;
	grid-template-columns: minmax(1px, 1fr) minmax(1px, 1fr) minmax(1px, 1fr) minmax(1px, 1fr);
	gap: 2rem;
}

/* Payments */
#hdc_checkout_gateway {
	margin: 0 auto;
	max-width: 100%;
	width: 600px;
	display: none;
}

#hdc_checkout_gateway.active {
	display: block;
}

.hdc_payment_gateway_item {
	padding: 1em;
}

.hdc_payment_gateway_header {
	text-align: center;
}

.hdc_payment_gateway_header > img {
	display: block;
	margin: 0 auto;
}

/* Product Tabs */
.hdtab_nav {
	display: flex;
}

.hdtab_nav_item {
	padding: 1rem;
	border: 1px solid #999;
	border-right-color: transparent;
	cursor: pointer;
	border-bottom: none;
	line-height: 1;
}

.hdtab_nav_item:first-child {
	border-top-left-radius: 0.4em;
}

.hdtab_nav_item:last-child {
	border-top-right-radius: 0.4em;
	border-right-color: #aaa;
}

.hdtab_nav_item_active {
	cursor: default;
	background-color: #eee;
	font-weight: bold
}

.hdtab_content {
	padding: 1rem;
	border: 1px solid #aaa;
	border-radius: 0.4em;
	border-top-left-radius: 0;
}

.hdtab_content_item {
	display: none;
}

.hdtab_content_item > *:last-child {
	margin-bottom: 0;
	padding-bottom: 0;
}

.hdtab_content_item_active {
	display: block;
}

.hdc_product_tab_heading {
	margin-top: 0.4em;
	margin-bottom: 0;
	line-height: 1;
}

@media (max-width: 1000px) {
	#hdc_wrapper {
		padding-left: 2rem;
		padding-right: 2rem;
		width: 100%;
	}

	#hdc_lightbox {
		padding: 1rem 1rem 0 1rem;
	}

	#hdc_lightbox_image > img {
		max-width: calc(100vw - 2rem);
	}
}

@media (max-width: 650px) {
	#hdc_product_main,
	#hdc_checkout_page {
		grid-template-columns: 1fr;
	}
}
