/* WooCustomProduct Styles */
.custom-product-template {
    padding: 5px;
    margin: auto;
}

.price-area {
    font-size: 20px;
    margin-bottom: 15px;
}

.price-area del {
    color: #999;
    margin-right: 10px;
}

.badge-sale {
    background: red;
    color: white;
    padding: 3px 7px;
    font-size: 12px;
    margin-left: 5px;
    border-radius: 4px;
    vertical-align: middle;
}

@media only screen and (max-width: 767px) {
	.promotion-options {
		display: flex;
		gap: 10px;
		margin-bottom: 10px;
		flex-direction: column;
	}
	.promo {
	display: flex;
    border: 2px solid #ccc;
	overflow: hidden;
    cursor: pointer;
    width: 100%;
    text-align: center;
    border-radius: 12px;
    transition: all 0.2s ease;
    background: white;
	align-items: center;
	}
	
	.promo img {
		width: 30%;
		height: auto;
		object-fit: contain;
	}
	.promo p {
		width: 70%;
		font-size: 14px;
		color: #333;
		padding: 10px;
		margin: 0!important;
	}
	
	.add-to-cart-action button {
		width: 100%;
	}
}

@media only screen and (min-width: 768px) {
	.promotion-options {
		display: flex;
		gap: 10px;
		margin-bottom: 15px;
	}

	.promo {
		border: 2px solid #ccc;
		padding: 10px;
		cursor: pointer;
		width: 100%;
		text-align: center;
		overflow: hidden;
		border-radius: 12px;
		transition: all 0.2s ease;
		background: white;
	}

	.promo img {
		width: 100%;
		height: auto;
		object-fit: contain;
		margin-bottom: 10px;
	}

	.promo p {
		font-size: 14px;
		color: #333;
		padding: 10px;
	}
	
	.add-to-cart-action button {
		width: 500px;
	}
}

.promo:hover {
    border-color: #0073aa;
}

.promo.selected {
    border-color: orange;
    background-color: #fff8e1;
    box-shadow: 0 0 5px rgba(255, 153, 0, 0.6);
}

.qty-control {
    display: flex;
    gap: 5px;
    align-items: center;
    margin-top: 10px;
}

.qty-control button {
    padding: 5px 10px;
    font-size: 18px;
    cursor: pointer;
    background: #0073aa;
    color: white;
    border: none;
    border-radius: 6px;
}

.qty-control input {
    width: 60px;
    text-align: center;
    font-size: 16px;
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.wc-block-components-product-badge {
    display: none !important;
}

input#qty {
	/* Chrome, Safari, Edge, Opera */
	&::-webkit-outer-spin-button,
	&::-webkit-inner-spin-button {
	  -webkit-appearance: none;
	  margin: 0;
	}

	/* Firefox */
	&[type=number] {
	  -moz-appearance: textfield;
	}
}

.add-to-cart-action {
	position: fixed;
	bottom: 15px;
	left: 0;
    margin: 0 auto;
	right: 0;
    text-align: center;
	padding: 0 5px;
}


