.cta-sec-container {
  background: rgba(255, 215, 0, 0.1) !important;
  padding: 64px 0;
  position: relative;
}

.cta-block {
  margin: 0 auto;
  max-width: 1400px;
  padding: 0 1.875rem;
}

.cta-sec-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background: linear-gradient(45deg,
      rgba(255, 215, 0, 0.05) 0%,
      rgba(255, 215, 0, 0.1) 100%); */
  pointer-events: none;
}

.cta-block>span {
  display: block;
  font-size: 2.8rem;
  line-height: 1.2;
  margin-bottom: 1rem;
  font-weight: 600;
  text-align: center;
  color: #1a1a1a;
}

.cta-block .subtitle {
  font-size: 1.125rem;
  line-height: 1.6;
  color: #4a5568;
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
  padding-bottom: 1rem;
}

.cta-block .subtitle::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50%;
  height: 3px;
  background: linear-gradient(90deg, #ffb800 0%, rgba(255, 184, 0, 0) 100%);
}

.cta-block span.timerLabel {
  font-size: 1.2rem;
  color: #666;
  font-weight: 400;
}

.countdown-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 3rem;
}

.countdown-box {
  background-color: #1a1a1a;
  color: #fbbf24;
  padding: 1rem;
  border-radius: 0.375rem;
  text-align: center;
  min-width: 80px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.countdown-number {
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1;
}

.countdown-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  margin-top: 0.25rem;
  letter-spacing: 0.05em;
}

.countdown-separator {
  font-size: 2rem;
  font-weight: 700;
  color: #1a1a1a;
}

.offers-container {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 3rem;
  grid-template-columns: repeat(2, 1fr);
}

.offer-card {
  position: relative;
  background: #ffffff;
  border-radius: 1.25rem;
  padding: 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.offer-card:hover {
  transform: translateY(-2px);
}

.offer-card>span {
  font-size: 1.8rem;
  color: #1a1a1a;
  font-weight: 600;
}

.offer-card>p {
  font-size: 1.1rem;
  color: #666;
  margin-top: 10px;
  margin-bottom: 20px;
  font-weight: 600;
}

.tag {
  display: inline-block;
  background-color: #ffd700;
  color: #1a1a1a;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  margin-bottom: 1rem;
  position: absolute;
  right: 15px;
  top: -15px;
}
.tfc-finder-video-block{
	background-color: #ffffff;
    padding: 40px 20px;
    border-radius: 10px;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}
.tfc-finder-video-block p{
	margin-bottom: 20px;
}
.tfc-finder-video-block .help-link{
	padding:0px;
}
.tfc-finder-video-block .dgwt-wcas-search-wrapp{
	margin:0px;
}
.savings-badge {
  display: inline-block;
  background: rgba(255, 215, 0, 0.1);
  color: #1a1a1a;
  padding: 8px 15px;
  border-radius: 8px;
  font-weight: 600;
  margin-bottom: 20px;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  color: #4a5568;
}

.feature-list .feature-item>h3 {
  display: flex;
  font-size: 1rem;
  align-items: center;
  /* color: #555; */
  font-weight: 400;
}

.feature-list .feature-item .feature-checkmark {
  color: #22c55e;
  font-size: 1.1em;
  flex-shrink: 0;
}

.cta-button {
  display: none;
  background-color: #1a1a1a;
  color: #ffd700;
  padding: 0.75rem 1rem;
  border-radius: 0.375rem;
  text-align: center;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.cta-button:hover {
  background: #ffd700;
  color: #1a1a1a !important;
}

/* Search Section */
.tfc-search-container {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.tfc-search-container h6 {
  font-size: 2rem;
  color: #1a1a1a;
  margin-bottom: 15px;
}

.tfc-search-container p {
  color: #666;
  margin-bottom: 30px;
}


.search-input {
  flex: 1;
  padding: 15px 20px;
  border: 2px solid #eee;
  border-radius: 8px;
  font-size: 1.1rem;

  &:focus {
    outline: none;
    border-color: #ffd700;
  }
}

.search-button {
  display: flex;
  align-items: center;
  padding: 0 30px;
  background: #1a1a1a;
  color: #ffd700;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;

  &:hover {
    background: #ffd700;
    color: #1a1a1a;
  }
}

.search-button:hover {
  color: #1a1a1a;
}

/* Help Link */
.tfc-search-container .help-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  transition: all 0.2s ease;
  color: #666 !important;
}

.tfc-search-container .help-link span {
  display: inline-flex;
  align-items: center;
  color: #666 !important;
  text-decoration: none;
  transition: color 0.3s ease;
}

.tfc-search-container .help-link span:hover {
  color: #1a1a1a !important;
}

/* Editor Specific Styles */
.block-editor-block-list__block .feature-edit-container {
  border: 1px solid #e5e7eb;
  padding: 10px;
  border-radius: 4px;
  margin-bottom: 10px;
}

.block-editor-block-list__block .feature-icon-select {
  width: 60px !important;
}


/* edit() css video modal */
.help-modal-video {
  max-width: 600px !important;
  width: 90% !important;
  padding: 0 !important;
  background: transparent !important;
}

/* Hide the modal header */
.help-modal-video .components-modal__header {
  display: none !important;
}

/* Remove default padding from modal content */
.help-modal-video .components-modal__content {
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
}

.help-modal-video .video-container {
  position: relative;
  padding-bottom: 56.25%;
  /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  background: #000;
  border-radius: 8px;
}

.help-modal-video .video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Style the overlay to match YouTube's dark overlay */
.help-modal-overlay {
  background-color: rgba(0, 0, 0, 0.9) !important;
}

/* Add a subtle box shadow to the video container */
.help-modal-video .video-container {
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}



/* save () css*/
/* Add these styles to your CSS file */


.video-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 1000;

  justify-content: center;
  align-items: center;
}

.video-modal-content {
  position: relative;
  width: 90%;
  max-width: 600px;
  margin: 5% auto;
  background: #fff;
  padding: 10px;
  border-radius: 8px;
}

.close-modal-x {
  position: absolute;
  right: -40px;
  top: -16px;
  font-size: 30px;
  font-weight: bold;
  color: #ffffff;
  cursor: pointer;
  z-index: 1;
}

.video-container {
  position: relative;
  padding-bottom: 56.25%;
  /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}


/* stove top protector css (time-saving-block) */
.page-id-99814 .offers-container {
  margin-bottom: 0;
}

.page-id-99814 .tfc-search-container {
  display: none;
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
.cta-sec-container {
    padding: 30px 0;
}
}
/* Responsive Design */
@media (max-width: 768px) {
  .cta-block {
    padding: 0 1rem;
  }

  .cta-block>span {
    font-size: 2rem;
  }

  .countdown-box {
    min-width: 60px;
    padding: 0.75rem;
  }

  .countdown-number {
    font-size: 1.875rem;
  }

  .offers-container {
    grid-template-columns: repeat(1, 1fr);
    gap: 3rem;
    margin-bottom: 2rem;
  }


  .cta-sec-container {
    background-color: #fffdf5;
    padding: 30px 0;
    position: relative;
  }

  .tfc-search-container h6 {
    font-size: 1.5rem;
  }
}

/* Tablet styles */
@media screen and (max-width: 768px) {
  .video-modal-content {
    width: 95%;
    max-width: 500px;
    margin: 3% auto;
    padding: 8px;
  }

  .close-modal-x {
    right: -35px;
    top: -15px;
    font-size: 28px;
  }
}

/* Mobile styles */
@media screen and (max-width: 480px) {
  .cta-block .subtitle {
    font-size: 1.125rem;
    margin-bottom: 2rem;
  }
.tfc-finder-video-block {
    padding: 20px 20px;
}
  .offer-card>span {
    font-size: 1.5rem;
  }
.tfc-search-container p {
  margin-bottom: 20px !important;  
}
  .video-modal-content {
    width: 98%;
    margin: 2% auto;
    padding: 6px;
  }

  .close-modal-x {
    /* Reposition close button for mobile */
    right: 5px;
    top: -45px;
    font-size: 24px;
  }

  /* Adjust vertical spacing for mobile */
  .video-modal {
    padding: 0 10px;
  }
  .tfc-search-container h6{
    font-size: 1.5rem;
  }
  .tfc-search-container .help-link{
    margin-top: 0;
  }
  .tfc-search-container .help-link span{
    font-size: .8rem;
  }
}

/* Small mobile styles */
@media screen and (max-width: 320px) {
  .video-modal-content {
    width: 100%;
    margin: 1% auto;
    padding: 4px;
  }

  .close-modal-x {
    right: 2px;
    top: -25px;
    font-size: 22px;
  }
}

/* Handle landscape orientation */
@media screen and (max-height: 480px) and (orientation: landscape) {
  .video-modal-content {
    margin: 2% auto;
    max-height: 90vh;
  }

  .close-modal-x {
    right: 5px;
    top: -25px;
  }
.offer-card>p {
    margin-bottom:10px;
  }
  .savings-badge {
     margin-bottom:10px;
  }
  .feature-list .feature-item{
        margin-bottom:10px;
  }
}