/* =========================================================
	   Global variables
	   Main color, spacing, radius, and component sizing live here.
	   Best first stop if brand colors or shared sizing need to change.
	========================================================= */
	:root {
	  --ff-navy: #0b2346;
	  --ff-bg: #ffffff;
	  --ff-card: #f4f7fb;
	  --ff-text: #3a3d5d;
	  --ff-muted: #6c748e;
	  --ff-line: #d8dee8;
	  --ff-input: #e5e5e5;
	  --ff-button: #b8b8bc;
	  --ff-white: #ffffff;
	  --ff-orange: #f57c00;
	  --ff-sale-green-bg: #eef8f0;
	  --ff-sale-green-text: #22603a;
	  --ff-sale-red-bg: #fdf1f1;
	  --ff-sale-red-text: #8a4a4a;
	  --ff-pill-border: #dfe5ee;
	  --ff-deadline-bg: #fff3e6;
	  --ff-deadline-border: #ffd7b0;
	  --ff-deadline-text: #8a4b14;
	  --ff-action-width: 120px;
	  --ff-action-height: 46px;
	  --ff-radius-card: 15px;
	  --ff-radius-mobile: 26px;
	  --ff-shadow-pill: 0 1px 2px rgba(11, 35, 70, 0.04);
	}

	/* Basic reset */
	* {
	  box-sizing: border-box;
	}

	body {
	  margin: 0;
	  font-family: Arial, Helvetica, sans-serif;
	  background: var(--ff-bg);
	  color: var(--ff-text);
	}

	/* Main page wrapper */
	.page {
	  max-width: 1380px;
	  margin: 0 auto;
	  padding: 32px 24px 80px;
	}

	/* Main page heading */
	.page-title {
	  margin: 0 0 28px;
	  text-align: center;
	  font-size: clamp(1.625rem, 1.2rem + 1.2vw, 2.125rem);
	  line-height: 1.2;
	  font-weight: 400;
	  color: #30385b;
	}

	/* =========================================================
	   START: REUSABLE MODULE CSS FOR PROJECT
	   Only the module-related CSS below this line should be reused
	   for project implementation. Keep global/page-level CSS above
	   in this file for demo purposes only.
	========================================================= */

	/* Shared icon base */
	.icon {
	  display: inline-block;
	  flex: 0 0 auto;
	}

	.fft-redesign .icon--star {
	  width: 16px;
	  height: 16px;
	}

	.fft-redesign .icon--list {
	  width: 14px;
	  height: 14px;
	  color: var(--ff-muted);
	}

	.fft-redesign .icon--clock {
	  width: 14px;
	  height: 14px;
	}

	.icon--trophy {
	  width: 74px;
	  height: 74px;
	}

	/* =========================================================
	   Commitment Recognition banner
	   Informational banner above the purchase modules.
	   Keep side-by-side across normal breakpoints. Only stack on
	   very small screens if needed.
	========================================================= */
	.commitment-banner {
	  display: grid;
	  grid-template-columns: 100px 1fr;
	  align-items: stretch;
	  width: 100%;
	  max-width: 600px;
	  margin: 0 auto 40px;
	  background: var(--ff-white);
	  border: 3px solid var(--ff-navy);
	  border-radius: var(--ff-radius-card);
	  overflow: hidden;
	}

	.commitment-banner__icon-wrap {
	  display: flex;
	  align-items: center;
	  justify-content: center;
	  padding: 10px 20px;
	  border-right: 3px solid var(--ff-navy);
	}

	.commitment-banner__icon {
	  color: var(--ff-navy);
	}

	.commitment-banner__content {
	  padding: 10px 28px;
	  color: var(--ff-navy);
	}

	.commitment-banner__title {
	  margin: 0 0 4px;
	  font-size: 1rem;
	  line-height: 1.2;
	  font-weight: 700;
	  color: var(--ff-navy);
	}

	.commitment-banner__text {
	  margin: 0;
	  font-size: clamp(.92rem, .88rem + .18vw, 1rem);
	  line-height: 1.35;
	  font-weight: 400;
	  color: var(--ff-navy);
	}

	/* =========================================================
	   Shared module shell
	   Used for both the bundle section and ticket section.
	   The navy pill label is absolutely positioned above the card.
	========================================================= */
	.fft-redesign .module {
		position: relative;
		width: 100%;
		max-width: 600px;
		margin: 40px auto;
		padding: 40px 28px 28px;
		border: 3px solid var(--ff-navy);
		border-radius: var(--ff-radius-card);
		background: var(--ff-card);
	}

	.fft-redesign .module__label {
	  position: absolute;
	  top: -20px;
	  left: 58px;
	  display: inline-flex;
	  align-items: center;
	  justify-content: center;
	  gap: 10px;
	  flex-wrap: wrap;
	  max-width: calc(100% - 116px);
	  padding: 10px 14px 9px;
	  border-radius: 10px;
	  background: var(--ff-navy);
	  color: var(--ff-white);
	  font-size: clamp(.72rem, .7rem + .18vw, .85rem);
	  line-height: 1.2;
	  font-weight: 700;
	  text-align: center;
	  white-space: normal;
	  overflow-wrap: break-word;
	}

	/* Keeps the star icons white in the bundle heading */
	.fft-redesign .module--bundles .module__label .icon--star {
	  color: var(--ff-white);
	}

	.fft-redesign .module__body {
	  width: 100%;
	}

	/* =========================================================
	   Shared row layout
	   Each row has content on the left and quantity/CTA on the right.
	   On smaller screens these stack vertically.
	========================================================= */
	.fft-redesign .camp-item {
	  display: flex;
	  align-items: flex-start;
	  justify-content: space-between;
	  gap: 16px;
	}

	.fft-redesign .camp-item__content {
	   flex: 1 1 auto;
	   min-width: 0;
	   text-align: left;
	   padding-right: 20px;
	}

	.fft-redesign .camp-item__actions {
	  flex: 0 0 auto;
	  width: auto;
	  display: flex;
	  flex-direction: column;
	  align-items: stretch;
	  gap: 12px;
	  padding-top: 4px;
	}

	.fft-redesign .camp-item__title {
	   margin: 0 0 8px;
	   line-height: 1.3;
	   font-weight: 700;
	   color: var(--ff-text);
	   text-align: left;
	   overflow-wrap: break-word;
	   word-break: normal;
	}

	/* Bundle row titles run a little larger */
	.fft-redesign .camp-item--bundle .camp-item__title {
	  margin-bottom: 10px;
		font-size: clamp(.95rem, .92rem + .2vw, 1.08rem);
		line-height: 1.25;
	}

	.fft-redesign .camp-item--ticket .camp-item__title {
	  font-size: clamp(.82rem, .8rem + .18vw, .95rem);
	}

	/* Shared pricing wrapper */
	.fft-redesign .camp-item__pricing {
	  display: flex;
	  flex-direction: column;
	  align-items: flex-start;
	  gap: 8px;
	}

	/* Inline version used when pill + bundle savings note sit on one line */
	.fft-redesign .camp-item__pricing--inline {
	  flex-direction: row;
	  align-items: center;
	  gap: 8px;
	}

	/* =========================================================
	   Price pill
	   Supports:
	   - regular price only
	   - old/new sale pricing
	========================================================= */
	.fft-redesign .price-pill {
	  display: inline-flex;
	  align-items: stretch;
	  flex: 0 0 auto;
	  overflow: hidden;
	  margin: 0;
	  border: 1px solid #dfe5ee;
	  border-radius: 999px;
	  box-shadow: var(--ff-shadow-pill);
	  vertical-align: top;
	}

	.fft-redesign .price-pill__old,
	.fft-redesign .price-pill__new,
	.fft-redesign .price-pill__single {
	  display: inline-flex;
	  align-items: center;
	  justify-content: center;
	  min-height: 32px;
	  padding: 6px 9px;
	  font-size: clamp(.9rem, .88rem + .18vw, 1rem);
	  line-height: 1;
	  font-weight: 700;
	  white-space: nowrap;
	}

	.fft-redesign .price-pill__old {
	  background: var(--ff-sale-red-bg);
	  color: var(--ff-sale-red-text);
	  text-decoration: line-through;
	  text-decoration-thickness: 2px;
	  text-decoration-color: #d96c32;
	}

	.fft-redesign .price-pill__new {
	  background: var(--ff-sale-green-bg);
	  color: var(--ff-sale-green-text);
	  border-left: 1px solid #dfe5ee;
	}

	.fft-redesign .price-pill__single {
	  background: var(--ff-sale-green-bg);
	  color: var(--ff-sale-green-text);
	}

	/* Bundle pricing line is intentionally kept tight and on one row */
	.fft-redesign .bundle-pricing {
	  flex-wrap: nowrap;
	  max-width: 100%;
	}

	.fft-redesign .bundle-pricing .bundle-save-inline {
	  flex: 0 0 auto;
	  font-size: clamp(.74rem, .72rem + .1vw, .82rem);
	  line-height: 1.1;
	  white-space: nowrap;
	}

	.fft-redesign .bundle-pricing + .deadline-badge {
	  margin-top: 8px;
	}

	.fft-redesign .bundle-save-highlight {
	  color: var(--ff-text);
	  font-weight: 700;
	}

	.fft-redesign .bundle-save-secondary {
	  color: var(--ff-muted);
	  font-weight: 500;
	}

	/* =========================================================
	   Deadline badge
	   Used to show future price-increase messaging.
	   Same component is reused for bundle and ticket sale deadlines.
	========================================================= */
	.fft-redesign .deadline-badge {
	  display: inline-flex;
	  align-items: center;
	  gap: 7px;
	  margin: 0;
	  padding: 7px 11px;
	  border: 1px solid var(--ff-deadline-border);
	  border-radius: 999px;
	  background: var(--ff-deadline-bg);
	  color: var(--ff-deadline-text);
	  font-size: clamp(.76rem, .74rem + .14vw, .84rem);
	  line-height: 1.15;
	  font-weight: 600;
	}

	.fft-redesign .deadline-badge .icon {
	  color: currentColor;
	}

	/* =========================================================
	   Bundle details
	   This block lists the sessions included in the full bundle.
	========================================================= */
	.fft-redesign .bundle-details {
	  margin-top: 8px;
	  color: var(--ff-text);
	}

	.fft-redesign .bundle-check {
	  display: flex;
	  align-items: center;
	  gap: 6px;
	  margin: 0 0 3px;
	  font-size: clamp(.82rem, .8rem + .16vw, .9rem);
	  line-height: 1.2;
	  font-weight: 700;
	  color: var(--ff-text);
	}

	.fft-redesign .bundle-list {
	  list-style: none;
	  margin: 0 0 4px;
	  padding: 0;
	}

	.fft-redesign .bundle-list li {
	  position: relative;
	  margin: 0;
	  padding-left: 18px;
	  font-size: clamp(.8rem, .78rem + .16vw, .88rem);
	  line-height: 1.18;
	  color: var(--ff-text);
	  font-weight: 500;
	}

	.fft-redesign .bundle-list li::before {
	  content: "✓";
	  position: absolute;
	  left: 0;
	  color: #22603a;
	  font-weight: 700;
	}

	/* Timing line shown under individual session titles */
	.fft-redesign .ticket-time {
	  margin: 8px 0 0;
	  font-size: clamp(.78rem, .76rem + .16vw, .84rem);
	  line-height: 1.35;
	  font-weight: 500;
	  color: var(--ff-muted);
	  text-align: left;
	}

	/* =========================================================
	   Quantity control
	   Demo behavior is handled in JS by reading the value inside
	   .qty-control__value and multiplying by data-unit-price.
	========================================================= */
	.fft-redesign .qty-control {
	  display: flex;
	  width: var(--ff-action-width);
	  height: var(--ff-action-height);
	  margin-left: auto;
	  border: 2px solid var(--ff-input);
	  background: var(--ff-white);
	  overflow: hidden;
	  border-radius: 8px;
	}

	.fft-redesign .qty-control__value {
	  flex: 1 1 auto;
	  display: flex;
	  align-items: center;
	  justify-content: center;
	  font-size: 1rem;
	  line-height: 1;
	  color: #111;
	  user-select: none;
	  text-align: center;
	}

	.fft-redesign .qty-control__buttons {
	  width: 30px;
	  border-left: 2px solid var(--ff-input);
	  display: flex;
	  flex-direction: column;
	}

	.fft-redesign .qty-control__btn {
	  flex: 1 1 50%;
	  border: 0;
	  background: var(--ff-white);
	  color: #444;
	  font-size: 1rem;
	  cursor: pointer;
	  line-height: 1;
	}

	.fft-redesign .qty-control__btn + .qty-control__btn {
	  border-top: 2px solid var(--ff-input);
	}

	/* Add-to-cart button is visual only in this demo */
	.fft-redesign .add-btn {
	  width: var(--ff-action-width);
	  height: var(--ff-action-height);
	  margin-left: auto;
	  border: 0;
	  background: var(--ff-button);
	  color: var(--ff-white);
	  font-size: .75rem;
	  line-height: 1.1;
	  text-transform: uppercase;
	  cursor: pointer;
	  letter-spacing: .02em;
	  border-radius: 8px;
	}

	/* Divider between rows */
	.fft-redesign .row-divider {
	  margin: 20px 0;
	  border-top: 2px solid var(--ff-line);
	}

	/* =========================================================
	   Sticky checkout summary
	   Sits at the bottom of the viewport and updates as quantities change.
	========================================================= */
	.checkout-bar {
	  position: sticky;
	  bottom: 0;
	  z-index: 20;
	  margin-top: 18px;
	  padding: 18px 0;
	  background: rgba(255, 255, 255, 0.98);
	  backdrop-filter: blur(6px);
	  border-top: 1px solid var(--ff-line);
	}

	.checkout-inner {
	  max-width: 1380px;
	  margin: 0 auto;
	  padding: 0 24px;
	  display: flex;
	  align-items: center;
	  justify-content: flex-end;
	  gap: 18px;
	}

	.cart-summary {
	  font-size: clamp(1rem, 0.9rem + 0.55vw, 1.375rem);
	  color: var(--ff-text);
	  font-weight: 700;
	}

	.checkout-btn {
	  border: 0;
	  border-radius: 10px;
	  background: var(--ff-orange);
	  color: var(--ff-white);
	  font-size: clamp(1.125rem, 1rem + 0.65vw, 1.625rem);
	  font-weight: 700;
	  padding: 18px 42px;
	  cursor: pointer;
	}

	/* Let the top label wrap a little sooner on narrower screens */
	@media (max-width: 1100px) {
	  .fft-redesign .module__label {
		white-space: normal;
	  }
	}

	/* =========================================================
	   Responsive adjustments
	   Keep desktop row layout longer so buttons do not break
	   beneath too soon. Keep the banner side-by-side until the
	   screen gets truly small.
	========================================================= */
	@media (max-width: 760px) {
	  .page {
		padding: 22px 14px 96px;
	  }

	  .commitment-banner {
		grid-template-columns: 100px 1fr;
		margin-bottom: 28px;
		border-radius: var(--ff-radius-mobile);
	  }

	  .commitment-banner__icon-wrap {
		padding: 10px 18px;
		border-right: 3px solid var(--ff-navy);
		border-bottom: 0;
	  }

	  .icon--trophy {
		width: 62px;
		height: 62px;
	  }

	  .commitment-banner__content {
		padding: 10px 18px 12px;
	  }

	  .fft-redesign .module {
		padding: 32px 16px 22px;
    	border-radius: var(--ff-radius-mobile);
	  }

	  /*.fft-redesign .module__label {
		left: 18px;
		top: -20px;
		max-width: calc(100% - 36px);
		padding: 10px 10px 9px;
		gap: 8px;
	  }*/

	  .fft-redesign .camp-item {
		flex-direction: column;
		gap: 18px;
	  }

	  .fft-redesign .camp-item__content {
		padding-right: 0;
	  }

	  .fft-redesign .camp-item__actions {
		flex: 1 1 auto;
		width: 100%;
		padding-top: 0;
		flex-direction: row;
		gap: 12px;
	  }

	  .fft-redesign .camp-item__pricing--inline {
		gap: 8px;
	  }

	  .fft-redesign .bundle-pricing {
			display: grid;
			grid-template-columns: auto minmax(0, 1fr);
			align-items: center;
			gap: 8px;
			width: 100%;
		}

		.fft-redesign .bundle-pricing .price-pill {
			flex: 0 0 auto;
		}

		.fft-redesign .bundle-pricing .bundle-save-inline {
			min-width: 0;
			white-space: normal;
			overflow-wrap: break-word;
			font-size: .7rem;
			line-height: 1.15;
		}


	  .fft-redesign .qty-control,
	  .fft-redesign .add-btn {
		width: calc(50% - 6px);
		margin-left: 0;
	  }

	  .checkout-inner {
		justify-content: space-between;
		gap: 12px;
	  }

	  .checkout-btn {
		padding: 16px 24px;
	  }

	  .fft-redesign .price-pill__old,
	  .fft-redesign .price-pill__new,
	  .fft-redesign .price-pill__single {
		min-height: 32px;
		padding: 7px 9px;
	  }

	  .fft-redesign .icon--star {
		width: 15px;
		height: 15px;
	  }
	}

	/* Only allow the commitment banner to stack on truly small screens */
	@media (max-width: 430px) {
	  .commitment-banner {
			grid-template-columns: 1fr;
		}

		.commitment-banner__icon-wrap {
			border-right: 0;
			border-bottom: 3px solid var(--ff-navy);
		}
	}
