/*
Theme Name:   Bright Website Design
Theme URI:    https://www.brightwebsitedesign.co.uk
Description:  A carefully crafted child theme built with love by Bright Website Design, ensuring your site is fast, secure & easy to update.
Author:       Bright Website Design
Author URI:   https://www.brightwebsitedesign.co.uk
Template:     kadence
Version:      1.0.0
*/


/* Theme customization starts here
-------------------------------------------------------------- */

/* Kadence Forms – custom radios/checkboxes */
.kb-form-basic-style input[type="radio"]:checked,
.kb-form-basic-style input[type="checkbox"]:checked {
  border-color: #36A9E1 !important;
  background: #36A9E1 !important;
  background-color: #36A9E1 !important;
}

/* Wallet balance shortcode in header/off canvas */
a.woo-wallet-menu-contents,
a.woo-wallet-menu-contents .woocommerce-Price-amount,
a.woo-wallet-menu-contents .woocommerce-Price-amount bdi {
	color: #ffffff !important;
	font-size: 12px !important;
	text-decoration: none !important;
}

a.woo-wallet-menu-contents .woo-wallet-icon-wallet {
	display: none !important;
}

a.woo-wallet-menu-contents::before {
	content: "";
	display: inline-block;
	width: 16px;
	height: 16px;
	vertical-align: middle;
	margin-right: 4px;
	background-color: #ffffff;
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='5' width='20' height='14' rx='2'/%3E%3Cline x1='2' y1='10' x2='22' y2='10'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='5' width='20' height='14' rx='2'/%3E%3Cline x1='2' y1='10' x2='22' y2='10'/%3E%3C/svg%3E");
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-position: center;
	mask-position: center;
	-webkit-mask-size: contain;
	mask-size: contain;
}

/* Trackday Comps giveaway grid, for [tdc_giveaway_grid] */

.tdc-giveaway-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	margin: 24px 0;
}

.tdc-giveaway-grid-columns-2 {
	grid-template-columns: repeat(2, 1fr);
}

.tdc-giveaway-grid-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 900px) {
	.tdc-giveaway-grid,
	.tdc-giveaway-grid-columns-2,
	.tdc-giveaway-grid-columns-4 {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 600px) {
	.tdc-giveaway-grid,
	.tdc-giveaway-grid-columns-2,
	.tdc-giveaway-grid-columns-4 {
		grid-template-columns: 1fr;
	}
}

.tdc-giveaway-card {
	background: #ffffff;
	border-radius: 12px;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
	overflow: hidden;
	text-align: center;
	padding-bottom: 20px;
}

.tdc-giveaway-card__link {
	text-decoration: none;
	color: inherit;
	display: block;
}

.tdc-giveaway-card__image img {
	width: 100%;
	height: auto;
	display: block;
}

.tdc-giveaway-card__title {
	font-size: 1.2rem;
	margin: 16px 20px 8px;
}

.tdc-giveaway-card__excerpt {
	margin: 0 20px 12px;
	font-size: 0.95rem;
	color: #555;
}

/* ENDS: label orange, date black, single line */
.tdc-giveaway-card__ends {
	margin: 8px 0;
	white-space: nowrap;
}

.tdc-giveaway-card__ends .tdc-ends-label {
	color: #e8632c;
	font-weight: 700;
	font-style: italic;
}

.tdc-giveaway-card__ends .tdc-ends-date {
	color: #000000;
	font-weight: 400;
	font-style: normal;
}

/* Hide the plugin's own duplicate end date label that comes
   built in to the [lty_lottery_count_down_timer] shortcode */
.tdc-giveaway-card__countdown .lty-lottery-time-left-label-shop-page {
	display: none;
}

/* Countdown timer: centred row, numbers bold, words regular weight */
.tdc-giveaway-card__countdown .lty-shop-timer-wrapper {
	display: flex;
	justify-content: center;
	gap: 20px;
	margin-top: 8px;
}

.tdc-giveaway-card__countdown .lty-shop-timer-section {
	text-align: center;
	font-weight: 400;
	white-space: nowrap;
	font-size: 0.9rem;
}

.tdc-giveaway-card__countdown .lty-shop-timer-section span[id^="lty_lottery_"] {
	display: block;
	font-weight: 700;
	font-size: 1.4rem;
}

/* Ticket sold / progress bar block */
.tdc-giveaway-card__progress {
	margin: 16px 20px 0;
}

.tdc-giveaway-card__progress .lty-progress-count,
.tdc-giveaway-card__progress .lty-progress-count-loop {
	display: flex;
	justify-content: space-between;
	font-weight: 700;
}

.tdc-giveaway-card__progress .lty-progress-bar-notice {
	color: #e8632c;
	text-transform: uppercase;
	font-weight: 700;
	font-style: italic;
	font-size: 0.75rem;
	white-space: nowrap;
}

.tdc-giveaway-card__progress .lty-progress-bar {
	background: #e0e0e0;
	border-radius: 20px;
	height: 10px;
	overflow: hidden;
	margin: 8px 0;
}

.tdc-giveaway-card__progress .lty-progress-fill {
	display: block;
	height: 10px;
	background: #2b6cb0;
	border-radius: 20px;
}

.tdc-giveaway-card__progress .lty-progress-remaining-count {
	font-size: 0.9rem;
	color: #555;
	margin: 4px 0 0;
}

/* Enter Now button */
.tdc-giveaway-card__button {
	margin-top: 16px;
}

.tdc-giveaway-card__button .tdc-enter-button {
	display: inline-block;
	background: #2b6cb0;
	color: #ffffff;
	padding: 12px 24px;
	border-radius: 30px;
	text-decoration: none;
	font-weight: 700;
}

.tdc-giveaway-card__button .tdc-enter-button:hover {
	background: #1e4e80;
}