/* 
Theme Name: Think Digital Comp Theme
Theme URI: https://www.think-digitalmarketing.co.uk/
Description: Website competition theme, based on Hello, created by ThinkDigital.
Author: Think Digital Marketing
Author URI: https://www.think-digitalmarketing.co.uk/
Template: hello-elementor
Version: 1.0.1
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* LOOP */

ul.products li.product {
	border: solid 2px #ededed;
    border-radius: 5px;
	background: #ffffff;
}

.loop-content {
	padding: 0 15px;
}

.enddate.full, .enddate.tomorrow {
	text-transform: uppercase;
    font-size: 13px;
    text-align: center;
    background: #e71b8d;
    padding: 10px;
    border-radius: 5px;
    font-weight: 700;
	color: #ffffff;
}

.enddate.today {
	text-transform: uppercase;
    font-size: 13px;
    text-align: center;
    background: #e71b8d;
    padding: 10px;
    border-radius: 5px;
    font-weight: 700;
	color: #ffffff;
}

.enddate.finished {
	text-transform: uppercase;
    font-size: 13px;
    text-align: center;
    background: #e71b8d;
    padding: 10px;
    border-radius: 5px;
    font-weight: 700;
	color: #ffffff;
}

h2.loop-title {
    text-align: center;
    margin: 15px 0 15px 0;
    font-size: 20px;
	height: 50px;
}

div.countdown-timer {
	margin: 0 0 15px 0 !important;
	text-align: center;
}

.progress-bar {
	background: #e71b8d;
	height: 20px;
	border-radius: 99px;
}

.progress {
	background: #efefef;
	height: 20px;
	border-radius: 99px;
	animation: progressBar 1s ease-in-out;
    animation-fill-mode:both; 
}

@keyframes progressBar {
  0% { width: 0; }
  100% { width: 100%; }
}

.progress-text {
	text-align: center;
    position: relative;
    display: block;
    width: 100%;
    font-size: 10px;
    margin-top: -17px;
}

.progress-sold {
	text-align: right;
    position: relative;
    display: block;
    width: 100%;
    font-size: 10px;
    margin-top: -15px;
    padding-right: 10px;
}

div.countdown-timer span.countdown-value, div.countdown-timer span.countdown-label {
	width: 100%;
	text-align:center !important;
	display:block;
	position:relative;
}

span.countdown-value {
	font-size: 26px;
	font-weight: 900;
}

span.countdown-label {
	font-size: 14px !important;
	font-weight: 600;
	text-transform: uppercase;
	color: #1a1a1a;
}

.countdown-days, .countdown-hours, .countdown-minutes, .countdown-seconds {
	width: 23%;
	display: inline-block;
}

.countdown-days, .countdown-hours, .countdown-minutes {
	border-right: solid 1px #eeeeee;
}

.loop-price {
	width: 100%;
    position: relative;
    display: block;
    text-align: center;
    margin: 12px 0 12px 0;
    font-size: 22px;
}

.cus-loop-button {
	color: #333333 !important;
    background-color: #e71b8d !important;;
    border-radius: 5px !important;;
}

.days-left {
	position: absolute;
    z-index: 5;
    margin: 30px 30px 15px 30px;
    background: #e71b8d;
    color: #ffffff;
    border-radius: 99px;
    font-size: 13px;
    font-weight: 500;
    padding: 6px 10px;
}

.daylefttext {
	margin-left: 20px;
}

.cash-alternative {
	position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 2px 15px;
    text-align: center;
    background: #ebaf21;
    color: #131625;
    border-radius: 99px;
	margin-top: -15px;
	font-size: 13px;
    font-weight: 500;
}

/* SINGLE PRODUCT */

.single-product form.cart {
	display: block !important;
}

.single-product input.input-text.qty.text {
	width: 110px !important;
    height: 48px !important;
}

.single-product button.single_add_to_cart_button {
	width: 200px;
    margin: 0 !important;
}

.multi-buy-options {
	display: block;
	padding-top: 0 !important;
}

.multi-buy-options span {
    margin-right: 8px;
}

.woocommerce-message {
    margin-bottom: 0;
    background: #ffffff;
    border-left: solid 1px #c9c9c9;
    border-bottom: solid 1px #c9c9c9;
    border-right: solid 1px #c9c9c9;
}

span.perentry {
	font-size: 12px;
}

ul.lottery-pn-answers {
    padding-left: 0;
}

.elementor-widget-woocommerce-lottery-answers h3 {
	display: none;
}

ul.lottery-pn-answers li {
    width: 31% !important;
    display: inline-block !important;
    margin: 0 10px 4px 0 !important;
	text-align: center;
	border-radius: 5px;
	transition: 0.2s;
}

ul.lottery-pn-answers li.selected {
    background: #e71b8d;
	color: #ffffff;
	border-color: #389e46;
	scale: 1.05;
	transition: 0.2s;
}

ul.lottery-pn-answers li.selected.false {
    background: #e71b8d;
}

.ticket-odds-title {
	display:none;
}

.tickets-odds-container p {
	text-align:center;
	margin:0;
}

.current-quantity, .odds-calculated, .onemore, .odds-calculated {
	color: #e71b8d;
}

.pswp__caption {
	display: none;
}

.singleprod .days-left {
    margin: 15px 30px 15px 15px;
}

.winnerdetails h4 {
	margin-bottom:0;
	width:100%;
}

.winner-name, .iso-number {
	color: #e71b8d !important;
}

.winnerdetails {
	border: solid 2px #333333;
    border-radius: 5px;
    padding: 0px 10px 10px 10px;
	display: flex;
    flex-wrap: wrap;
    gap: 10px;
	text-align:center;
}
.winner-details {
    flex: 0 0 calc(50% - 5px); /* Divide into two columns with 10px gap */
	
	/* Apply border to odd winner-details elements */
    &:nth-child(even) {
            border-right: 1px solid rgb(0 0 0 / 10%);
    }

    /* Reset border for even winner-details elements */
    &:nth-child(odd) {
        border-right: none;
    }
}

body.single-product .quantity {
	width: 40% !important;
}

button.plus, button.minus {
	margin:0 !important;
	border: none !important;
	padding: 11px 15px !important
}

.single-product .bulk-pricing-table {
	display: none;
}

/* Instant Win */

.winning-ticket-instant:before {
    content: "You're an Instant Winner! ";
    display: block;
}

.winning-ticket-instant {
    width: 32%;
    display: inline-block;
    text-align: center;
    background: #e71b8d;
    padding: 15px;
    border-radius: 5px;
    color: #ffffff;
    font-size: 14px;
    margin: 5px;
}



/* TABLET CSS */
@media all and (min-width: 768px) and (max-width: 1024px) { 
	ul.lottery-pn-answers li {
    width: 30% !important;
	}
		body.single-product .quantity {
    width: 50% !important;
}
	.single-product input.input-text.qty.text {
    width: 88px !important;
}
	.single-product button.single_add_to_cart_button {
    width: 140px;
    margin-right: 20px !important;
}
}

/* MOBILE CSS */
@media all and (min-width: 1px) and (max-width: 767px) { 
	ul.lottery-pn-answers li {
    	width: 100% !important;
		margin: 0 10px 15px 0 !important;
	}
	
	.daylefttext {
    font-size: 10px;
}
	
	.days-left {
	margin: 20px 30px 15px 20px;
    padding: 4px 8px;
	}
	
	.enddate.full, .endate.tomorrow, .enddate.today, .enddate.finished {
    font-size: 10px !important;
}
	
	span.countdown-value {
    font-size: 14px;
}
	
	span.countdown-label {
    font-size: 8px !important;
	}
	
	.loop-content {
    padding: 0 10px;
}
	
	h2.loop-title {
    font-size: 16px;
}
	
	.countdown-days, .countdown-hours, .countdown-minutes, .countdown-seconds {
    width: 22%;
}
	
	.loop-price {
    font-size: 16px;
}

	body.single-product .quantity {
	width: 100% !important;
}
	.cus-loop-button {
	font-size: 13px !important;
}
		.winning-ticket-instant {
    width: 46% !important;
}
	.single-product button.single_add_to_cart_button {
    width: 100%;
    margin: 15px 0 !important;
}
	.cash-alternative {
    position: initial;
    transform: none;
    padding: 2px 0px;
    text-align: center;
    background: #ebaf21;
    color: #131625;
    border-radius: 99px;
    font-size: 11px;
    font-weight: 500;
    display: block;
    margin: -5px 10px 10px 10px;
}
	
		.progress-text {
    text-align: left;
    margin-top: -15px;
    margin-left: 10px;
		font-size: 10px;
}
	.progress-sold {
    font-size: 10px;
    margin-top: -18px;
    padding-right: 10px;
}
	
	.single-product form.cart {
    display: flex !important;
    flex-direction: column;
}
	.single-product form.cart .quantity {
    flex: 1 !important;
    width: 100%;
    display: flex;
	gap: 10px;
}
	.single-product form.cart .single_add_to_cart_button {
    flex: 1 !important;
    width: 100%;
}
	.single-product form.cart .quantity .qty {
    flex: 1;
}
	.single-product form.cart .quantity button.minus, .single-product form.cart .quantity button.plus {
    flex: 0 0 50px;
    margin-left: 10px;
    flex-basis: inherit !important;
}
	
}

.woocommerce form.checkout_coupon, .woocommerce form.login, .woocommerce form.register {
    height: fit-content !important;
}

i.eicon-basket-medium {
	font-weight: 600 !important;
}