/********************
	Part - Product actions
********************/
.product-actions .control-label {
	margin-bottom: .375rem;
	display: block;
	width: 100%
}

.product-actions .add-to-cart .material-icons {
	line-height: inherit
}

/********************
	Part - Product quantity
********************/

.icon-minus:before {
	content: "-";
}

.icon-plus:before {
	content: "+";
}

.product-add-to-cart {
	display: grid;
	grid-template-columns: 25% auto;
	grid-gap: 10px;
	align-items: center;
}

.product-add-to-cart .product-quantity {
	/*margin-bottom : 10px;*/
	display: grid;
}

.product-add-to-cart .product-quantity .qty {
	text-align: center;
	font-size: var(--font-size-300);
}

.product-add-to-cart .product-quantity #quantity_wanted {
	color: var(--color-black-default);
	border: 1px solid transparent;
	text-align: center;
	background-color: transparent;
	padding: 0 .5rem;
	width: 100%;
	transition: all .3s;
}

.product-add-to-cart .product-quantity #quantity_wanted:focus {
	border: 1px solid var(--color-grey-font-default);
}

.product-add-to-cart .product-quantity .input-group-btn-vertical .btn {
	padding: .5rem .6875rem
}

.product-quantity .btn.btn-default {
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
	flex: 1;
	white-space: nowrap;
	border: 1px solid var(--color-grey-font-default);
	color: var(--color-grey-font-default);
	/*padding         : 14px 0;*/
	/*width           : 35%;*/
	/*max-width       : 150px;*/
}

.product-quantity .btn.btn-default i {
	position: absolute;
	margin: 0;
	font-style: normal;
	font-size: var(--font-size-800);
	line-height: 1;
}

.product-add-to-cart .product-quantity .input-group-btn-vertical .btn i {
	font-size: 1rem;
	top: .125rem;
	left: .1875rem
}

.product-add-to-cart .product-quantity .btn-touchspin {
	height: 1.438rem
}

.product-quantity.--has-plusAndMinusButtons .bootstrap-touchspin .input-group-btn-vertical {
	display: none;
}

/********************
	Part - Product Discount
********************/
.product-discounts {
	grid-column: 1/-1;
	margin-bottom: 1.5rem;
}

.product-discounts > .product-discounts-title {
	font-weight: 400;
	font-size: .875rem
}

.product-discounts > .table-product-discounts thead tr th {
	width: 33%;
	padding: .625rem 1.25rem;
	background: #fff;
	border: .3125rem solid var(--color-grey-default);
	text-align: center
}

.product-discounts > .table-product-discounts tbody tr {
	background: #f6f6f6
}

.product-discounts > .table-product-discounts tbody tr:nth-of-type(2n) {
	background: #fff
}

.product-discounts > .table-product-discounts tbody tr td {
	padding: .625rem 1.25rem;
	text-align: center;
	border: .3125rem solid var(--color-grey-default)
}

/********************
	Part - Product Flag
********************/
.product-flag {
	display: block;
	background: var(--product-flag-bg-color);
	color: var(--color-white-default);
	font-weight: 700;
	padding: .3125rem .4375rem;
	text-transform: uppercase;
	margin-top: .625rem;
	z-index: 2;
	box-shadow: 2px 2px 4px 0 rgba(0, 0, 0, .2)
}

li.product-flag.online-only {
	top: 25rem;
	right: 0;
	font-size: .8125rem
}

li.product-flag.online-only:before {
	content: "\E30A";
	font-family: Material Icons;
	vertical-align: middle;
	margin: .3125rem
}

.on-sale,
.discount-percentage.on-sale,
.online-only.on-sale,
.pack.on-sale,
.new.on-sale,
.discount-amount.on-sale {
	background: #f39d72;
	width: 100%;
	text-align: center;
	left: 0;
	top: 0
}

.online-only,
.discount-amount.online-only,
.discount-percentage.online-only,
.on-sale.online-only,
.pack.online-only,
.new.online-only {
	font-size: .8125rem;
	margin-top: 13rem;
	margin-left: 8.688rem
}

.online-only:before,
.discount-amount.online-only:before,
.discount-percentage.online-only:before,
.on-sale.online-only:before,
.pack.online-only:before,
.new.online-only:before {
	content: "\E30A";
	font-family: Material Icons;
	vertical-align: middle;
	margin: .3125rem
}

li.product-flag.discount {
	display: none
}

li.product-flag.on-sale {
	background: #f39d72;
	width: 100%;
	text-align: center;
	margin: 0;
	left: 0;
	top: 0
}


/********************
	Part - Product Customization
********************/
.product-customization {
	margin: 2.5rem 0
}

.product-customization .product-customization-item {
	margin: 1.25rem 0
}

.product-customization .product-message {
	background: var(--color-grey-default);
	border: none;
	width: 100%;
	height: 3.125rem;
	resize: none;
	padding: .625rem
}

.product-customization .product-message:focus {
	background-color: #fff;
	outline: .1875rem solid #2fb5d2
}

.product-customization .file-input {
	width: 100%;
	opacity: 0;
	left: 0;
	z-index: 1;
	cursor: pointer;
	height: 2.625rem;
	overflow: hidden;
	position: absolute
}

.product-customization .customization-message {
	margin-top: 20px
}

.product-customization .custom-file {
	position: relative;
	background: var(--color-grey-default);
	width: 100%;
	height: 2.625rem;
	line-height: 2.625rem;
	text-indent: .625rem;
	display: block;
	color: var(--color-grey-font-default);
	margin-top: 1.25rem
}

.product-customization .custom-file button {
	z-index: 0;
	position: absolute;
	right: 0;
	top: 0
}

.product-customization small {
	color: var(--color-grey-font-default)
}

/********************
	Part - Product Pack
********************/
.product-pack {
	margin-top: 2.5rem
}

.product-pack .pack-product-container {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-pack: distribute;
	justify-content: space-around
}

.product-pack .pack-product-container .pack-product-name {
	-webkit-box-flex: 0;
	-ms-flex: 0 0 50%;
	flex: 0 0 50%;
	font-size: .875rem;
	color: var(--color-grey-font-default)
}

.product-pack .pack-product-container .pack-product-quantity {
	border-left: 2px solid var(--color-grey-default);
	padding-left: .625rem
}

.product-pack .pack-product-container .pack-product-name, .product-pack .pack-product-container .pack-product-price, .product-pack .pack-product-container .pack-product-quantity {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center
}

/********************
	Part - Product refresh
********************/
.product-refresh {
	margin-top: 1.25rem
}

@media (max-width: 767px) {
    .product-add-to-cart .product-quantity {
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 5px;
    }

    .product-add-to-cart .product-quantity .qty {
        grid-column: 1/-1;
    }

    .product-add-to-cart .product-quantity .btn.btn-default {
        grid-row: 2;
    }

    .product-add-to-cart .product-quantity .btn.btn-default {
        padding: 20px 0;
    }
}

@media (min-width: 768px) {

    .product-add-to-cart .product-quantity {
        grid-template-columns: 30% 1fr 30%;
    }

    .product-add-to-cart .product-quantity .btn.btn-default {
        padding: 15px 0;
    }

    .product-add-to-cart {
        grid-template-columns: 1fr;
    }

}
