/*
Theme Name: GIFTLs
Theme URI: #
Author: GIFTLs Team
Author URI: #
Version: 1.0.0
Text Domain: giftls
*/

/* ============================================================
   CF7 Checkbox & Acceptance adapter for GIFTLs theme
   ============================================================ */

/* Disable container styles for checkboxes */
.main-form .form-row .box .i-list .wpcf7-form-control-wrap {
  width: 100% !important;
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
}

.main-form .form-row .box .i-list .wpcf7-checkbox.i-custom {
  width: 100% !important;
  display: flex !important;
  flex-wrap: wrap !important;
}

.wpcf7-checkbox.i-custom {
  cursor: default;
  display: flex !important;
  margin: 0 !important;
  padding: 0 !important;
  position: static !important;
}

/* Stop container span and wrapper elements from getting checkbox pseudo-elements */
.wpcf7-checkbox.i-custom::before,
.wpcf7-checkbox.i-custom::after,
.wpcf7-checkbox.i-custom > span.wpcf7-list-item::before,
.wpcf7-checkbox.i-custom > span.wpcf7-list-item::after {
  content: none !important;
  display: none !important;
}

/* Style each list item as the custom checkbox item */
.wpcf7-checkbox.i-custom > span.wpcf7-list-item {
  padding: 0 !important;
  position: relative !important;
  display: inline-block !important;
  cursor: pointer !important;
  margin: 0 0 10px 0 !important;
  width: 230px !important; /* PC layout width */
  box-sizing: border-box !important;
}

/* Make each checkbox width 50% on mobile */
@media only screen and (max-width: 767px) {
  .wpcf7-checkbox.i-custom > span.wpcf7-list-item {
    width: 50% !important;
    margin: 0 0 10px 0 !important;
  }
}

/* Label wraps input and span */
.wpcf7-checkbox.i-custom .wpcf7-list-item label {
  display: inline-block !important;
  cursor: pointer !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Hide native input */
.wpcf7-checkbox.i-custom .wpcf7-list-item input {
  opacity: 0 !important;
  position: absolute !important;
  width: auto !important;
  height: auto !important;
}

/* Style the span containing the text */
.wpcf7-checkbox.i-custom .wpcf7-list-item .wpcf7-list-item-label {
  padding: 0px 0 0 42px !important;
  position: relative !important;
  display: inline-block !important;
  margin: 0 !important;
}
.i-custom .wpcf7-list-item-label::before,
.wpcf7-checkbox.i-custom .wpcf7-list-item .wpcf7-list-item-label::before {
  background: #fff;
	border: 1px solid #ddd;
  width: 32px;
  height: 32px;
  left: 0;
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  transition: all 0.3s ease;
}
.i-custom .wpcf7-list-item-label::after,
.wpcf7-checkbox.i-custom .wpcf7-list-item .wpcf7-list-item-label::after {
	content: "";
  position: absolute;
 	left: 12px;
  top: 6px;
  width: 7px;
  height: 13px;
	background: transparent;
  border: solid white;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
	display: none;
}
.i-custom input:checked ~ .wpcf7-list-item-label:before{
	background: #005e36;
}
.wpcf7-checkbox.i-custom .wpcf7-list-item input:checked ~ .wpcf7-list-item-label::before {
  background: #005dad;
}
.i-custom input:checked ~ .wpcf7-list-item-label:after,
.wpcf7-checkbox.i-custom .wpcf7-list-item input:checked ~ .wpcf7-list-item-label::after {
  display: block;
}

/* Mobile responsive for checkbox label/span */
@media only screen and (max-width: 767px) {
  .wpcf7-checkbox.i-custom .wpcf7-list-item .wpcf7-list-item-label {
    padding: 1px 0 0 30px !important;
  }
  .wpcf7-checkbox.i-custom .wpcf7-list-item .wpcf7-list-item-label::before {
    width: 22px;
    height: 22px;
  }
  .wpcf7-checkbox.i-custom .wpcf7-list-item .wpcf7-list-item-label::after {
    width: 5px;
		height: 10px;
		left: 8px;
		top: 3px;
  }
}

/* ============================================================
   CF7 Acceptance (Privacy Policy) checkbox adapter
   ============================================================ */

/* Disable container styles for acceptance wrapper */
.wpcf7-acceptance.i-custom {
  display: inline-block;
  margin: 0;
  position: relative;
}

/* Stop acceptance container span from getting checkbox pseudo-elements */
.wpcf7-acceptance.i-custom::before,
.wpcf7-acceptance.i-custom::after {
  content: none !important;
  display: none !important;
}

.wpcf7-acceptance.i-custom label {
  cursor: pointer;
  display: inline-block;
  margin: 0;
  position: relative;
}

/* Style the input inside acceptance */
.wpcf7-acceptance.i-custom input {
  opacity: 0 !important;
  position: absolute !important;
  width: auto !important;
  height: auto !important;
}

/* Style the span (wpcf7-list-item-label) which contains the text */
.wpcf7-acceptance.i-custom .wpcf7-list-item-label {
  padding: 5px 0 0 42px;
  position: relative;
  display: inline-block;
}

/* Border variant */
.wpcf7-acceptance.i-custom.border .wpcf7-list-item-label::before {
  border: 1px solid #e0dfdf;
  box-sizing: border-box;
}

.wpcf7-acceptance.i-custom .wpcf7-list-item-label::before {
  background: #fefefe;
  width: 32px;
  height: 32px;
  left: 0;
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  transition: all 0.3s ease;
}

.wpcf7-acceptance.i-custom .wpcf7-list-item-label::after {
  background: #fefefe;
  width: 20px;
  height: 20px;
  left: 6px;
  content: "";
  position: absolute;
  top: 6px;
  bottom: 6px;
  transition: all 0.3s ease;
  opacity: 0;
  background: #e0dfdf;
  transform: scale(0);
}

.wpcf7-acceptance.i-custom input:checked ~ .wpcf7-list-item-label::after {
  opacity: 1;
  transform: scale(1);
}

/* Mobile responsive for acceptance */
@media only screen and (max-width: 767px) {
  .wpcf7-acceptance.i-custom .wpcf7-list-item-label {
    padding: 1px 0 0 30px;
    line-height: 24px;
    text-align: left;
    font-size: 15px;
    width: 255px;
  }
  .wpcf7-acceptance.i-custom .wpcf7-list-item-label::before {
    width: 22px;
    height: 22px;
    top: 12px;
  }
  .wpcf7-acceptance.i-custom .wpcf7-list-item-label::after {
    width: 14px;
    height: 14px;
    left: 4px;
    top: 16px;
  }
}

.wpcf7 form .wpcf7-response-output {
  border: none;
}

.text-center {
  text-align: center;
}

.multiline {
  white-space: pre-wrap;
}

.cate-blog .cate-list li a.active {
  background: linear-gradient(90deg, #03567f 0%, #3c68c7 100%);
  color: #fff;
}

/* EDITOR STYLE */

.news-single .new-single-info .group-left .content h1,
.news-single .new-single-info .group-left .content h2,
.news-single .new-single-info .group-left .content h3,
.news-single .new-single-info .group-left .content h4,
.news-single .new-single-info .group-left .content h5,
.news-single .new-single-info .group-left .content h6,
.editor-style-content h1,
.editor-style-content h2,
.editor-style-content h3,
.editor-style-content h4,
.editor-style-content h5,
.editor-style-content h6 {
  clear: both;
  font-weight: bold;
  margin: 15px 0;
  font-style: normal;
  text-transform: none;
}

.news-single .new-single-info .group-left .content h1,
.editor-style-content h1 {
  font-size: 33px;
  line-height: 1.2727272727;
  margin: 30px 0;
}

.news-single .new-single-info .group-left .content h2,
.editor-style-content h2 {
  font-size: 28px;
  line-height: 1.25;
  margin: 20px 0;
}

.news-single .new-single-info .group-left .content h3,
.editor-style-content h3 {
  font-size: 23px;
  line-height: 1.2173913043;
  margin: 15px 0;
}

.news-single .new-single-info .group-left .content h4,
.news-single .new-single-info .group-left .content h5,
.news-single .new-single-info .group-left .content h6,
.editor-style-content h4,
.editor-style-content h5,
.editor-style-content h6 {
  font-size: 19px;
  line-height: 1.1052631579;
  margin: 10px 0;
}

.news-single .new-single-info .group-left .content h4,
.editor-style-content h4 {
  letter-spacing: 0.13333em;
  text-transform: none;
}

.news-single .new-single-info .group-left .content h6,
.editor-style-content h6 {
  font-style: italic;
}

.news-single .new-single-info .group-left .content h1:first-child,
.news-single .new-single-info .group-left .content h2:first-child,
.news-single .new-single-info .group-left .content h3:first-child,
.news-single .new-single-info .group-left .content h4:first-child,
.news-single .new-single-info .group-left .content h5:first-child,
.news-single .new-single-info .group-left .content h6:first-child,
.editor-style-content h1:first-child,
.editor-style-content h2:first-child,
.editor-style-content h3:first-child,
.editor-style-content h4:first-child,
.editor-style-content h5:first-child,
.editor-style-content h6:first-child {
  margin-top: 0;
}

.editor-style-content p {
  margin: 0 0 10px;
  line-height: 1.9;
}

.editor-style-content b,
.editor-style-content strong {
  font-weight: bold;
  text-transform: none;
}

.editor-style-content dfn,
.editor-style-content cite,
.editor-style-content em,
.editor-style-content i {
  font-style: italic;
}

.editor-style-content blockquote {
  border-left: 4px solid #1a1a1a;
  color: #686868;
  font-size: 19px;
  font-style: italic;
  line-height: 1.4736842105;
  margin-bottom: 28px;
  overflow: hidden;
  padding: 0 0 0 24px;
}

.editor-style-content blockquote:not(.alignleft):not(.alignright) {
  margin-left: -28px;
}

.content
  .detail-content
  blockquote
  blockquote:not(.alignleft):not(.alignright) {
  margin-left: 0;
}

.editor-style-content blockquote:before,
.editor-style-content blockquote:after {
  content: "";
  display: table;
}

.editor-style-content blockquote:after {
  clear: both;
}

.editor-style-content blockquote > :last-child {
  margin-bottom: 0;
}

.editor-style-content blockquote cite,
.editor-style-content blockquote small {
  color: #1a1a1a;
  font-size: 16px;
  line-height: 1.75;
}

.editor-style-content blockquote em,
.editor-style-content blockquote i,
.editor-style-content blockquote cite {
  font-style: normal;
}

.editor-style-content blockquote strong,
.editor-style-content blockquote b {
  font-weight: normal;
}

.editor-style-content blockquote.alignleft,
.editor-style-content blockquote.alignright {
  border: 0 solid #1a1a1a;
  border-top-width: 4px;
  padding: 18px 0 0;
  width: -webkit-calc(50% - 14px);
  width: calc(50% - 14px);
}

.editor-style-content address {
  font-style: italic;
  margin: 0 0 28px;
}

.editor-style-content code,
.editor-style-content kbd,
.editor-style-content tt,
.editor-style-content var,
.editor-style-content samp,
.editor-style-content pre {
  font-family: Inconsolata, monospace;
}

.editor-style-content pre {
  border: 1px solid #d1d1d1;
  font-size: 16px;
  line-height: 1.3125;
  margin: 0 0 10px;
  max-width: 100%;
  overflow: auto;
  padding: 14px;
  white-space: pre;
  white-space: pre-wrap;
  word-wrap: break-word;
}

.editor-style-content code {
  background-color: #d1d1d1;
  padding: 2px 4px;
}

.editor-style-content abbr[title] {
  border-bottom: 1px dotted #d1d1d1;
  cursor: help;
}

.editor-style-content mark,
.editor-style-content ins {
  background: #007acc;
  color: #fff;
  padding: 2px 4px;
  text-decoration: none;
}

.editor-style-content sup,
.editor-style-content sub {
  font-size: 75%;
  height: 0;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

.editor-style-content sub {
  top: -6px;
}

.editor-style-content sup {
  bottom: -3px;
}

.editor-style-content small {
  font-size: 80%;
}

.editor-style-content big {
  font-size: 125%;
}

/**
 * 3.0 - Elements
 */

.editor-style-content hr {
  background-color: #d1d1d1;
  border: 0;
  height: 1px;
  margin-bottom: 28px;
}

.editor-style-content ul,
.editor-style-content ol {
  margin: 0 0 15px 0;
  padding: 0;
}

.editor-style-content ul {
  list-style: disc;
}

.editor-style-content ol {
  list-style: decimal;
}

.editor-style-content li {
  list-style: inherit;
  margin: inherit;
  padding: inherit;
}

.editor-style-content li > ul,
.editor-style-content li > ol {
  margin-bottom: 0;
}

.editor-style-content li > ul,
.editor-style-content blockquote > ul {
  margin-left: 20px;
}

.editor-style-content li > ol,
.editor-style-content blockquote > ol {
  margin-left: 24px;
}

.editor-style-content dl {
  margin: 0 0 15px;
}

.editor-style-content dt {
  font-weight: bold;
}

.editor-style-content dd {
  margin: 0 0 15px;
}

.editor-style-content table,
.editor-style-content th,
.editor-style-content td,
.editor-style-content .mce-item-table,
.editor-style-content .mce-item-table th,
.editor-style-content .mce-item-table td {
  border: 1px solid #d1d1d1;
}

.editor-style-content table a {
  color: #007acc;
}

.editor-style-content table,
.editor-style-content .mce-item-table {
  border-collapse: separate;
  border-spacing: 0;
  border-width: 1px 0 0 1px;
  margin: 0 0 15px;
  width: 100%;
}

.editor-style-content table th,
.editor-style-content .mce-item-table th,
.editor-style-content table caption {
  border-width: 0 1px 1px 0;
  font-size: 16px;
  font-weight: bold;
  padding: 7px;
  text-align: left;
  vertical-align: baseline;
}

.editor-style-content table td,
.editor-style-content .mce-item-table td {
  border-width: 0 1px 1px 0;
  font-size: 16px;
  padding: 7px;
  vertical-align: baseline;
}

.editor-style-content img {
  border: 0;
  height: auto;
  max-width: 100%;
  vertical-align: middle;
  margin-top: 5px;
  margin-bottom: 5px;
}

.editor-style-content a img {
  display: block;
}

.editor-style-content figure {
  margin: 0;
}

.editor-style-content del {
  opacity: 0.8;
}

.editor-style-content a {
  text-decoration: none;
}

.editor-style-content fieldset {
  border: 1px solid #d1d1d1;
  margin: 0 0 28px;
  padding: 14px;
}

/**
 * 4.0 - Alignment
 */

.editor-style-content .alignleft {
  float: left;
  margin: 6px 28px 28px 0;
}

.editor-style-content .alignright {
  float: right;
  margin: 6px 0 28px 28px;
}

.editor-style-content .aligncenter {
  clear: both;
  display: block;
  margin: 0 auto 28px;
}

/**
 * 5.0 - Caption
 */

.editor-style-content .wp-caption {
  background: transparent;
  border: none;
  margin-bottom: 28px;
  max-width: 100%;
  padding: 0;
  text-align: inherit;
}

.editor-style-content .wp-caption-text,
.editor-style-content .wp-caption-dd {
  font-size: 13px;
  font-style: italic;
  line-height: 1.6153846154;
  padding-top: 7px;
}

/**
 * 6.0 - Galleries
 */

.editor-style-content .mce-content-body .wpview-wrap {
  margin-bottom: 28px;
}

.editor-style-content .gallery {
  margin: 0 -1.1666667%;
  padding: 0;
}

.editor-style-content .gallery .gallery-item {
  display: inline-block;
  max-width: 33.33%;
  padding: 0 1.1400652% 2.2801304%;
  text-align: center;
  vertical-align: top;
  width: 100%;
}

.editor-style-content .gallery-columns-1 .gallery-item {
  max-width: 100%;
}

.editor-style-content .gallery-columns-2 .gallery-item {
  max-width: 50%;
}

.editor-style-content .gallery-columns-4 .gallery-item {
  max-width: 25%;
}

.editor-style-content .gallery-columns-5 .gallery-item {
  max-width: 20%;
}

.editor-style-content .gallery-columns-6 .gallery-item {
  max-width: 16.66%;
}

.editor-style-content .gallery-columns-7 .gallery-item {
  max-width: 14.28%;
}

.editor-style-content .gallery-columns-8 .gallery-item {
  max-width: 12.5%;
}

.editor-style-content .gallery-columns-9 .gallery-item {
  max-width: 11.11%;
}

.gallery .gallery-caption {
  font-size: 13px;
  margin: 0;
}

.editor-style-content .gallery-columns-6 .gallery-caption,
.editor-style-content .gallery-columns-7 .gallery-caption,
.editor-style-content .gallery-columns-8 .gallery-caption,
.editor-style-content .gallery-columns-9 .gallery-caption {
  display: none;
}

/**
 * 7.0 - Audio / Video
 */

.editor-style-content .wp-audio-shortcode a,
.editor-style-content .wp-playlist a {
  box-shadow: none;
}

.editor-style-content .mce-content-body .wp-audio-playlist {
  margin: 0;
  padding-bottom: 0;
}

.editor-style-content .mce-content-body .wp-playlist-tracks {
  margin-top: 0;
}

.editor-style-content .mce-content-body .wp-playlist-item {
  padding: 10px 0;
}

.editor-style-content .mce-content-body .wp-playlist-item-length {
  top: 10px;
}

/**
 * 8.0 - RTL
 */

.editor-style-content .rtl blockquote {
  border: 0 solid #1a1a1a;
  border-right-width: 4px;
}

.editor-style-content .rtl blockquote.alignleft,
.editor-style-content .rtl blockquote.alignright {
  border: 0 solid #1a1a1a;
  border-top-width: 4px;
}

.editor-style-content .rtl blockquote:not(.alignleft):not(.alignright) {
  margin-right: -28px;
  padding: 0 24px 0 0;
}

.content
  .detail-content
  .rtl
  blockquote
  blockquote:not(.alignleft):not(.alignright) {
  margin-right: 0;
  margin-left: auto;
}

.editor-style-content .rtl li > ul,
.editor-style-content .rtl blockquote > ul {
  margin-right: 20px;
  margin-left: auto;
}

.editor-style-content .rtl li > ol,
.editor-style-content .rtl blockquote > ol {
  margin-right: 24px;
  margin-left: auto;
}

.editor-style-content .rtl table th,
.editor-style-content .rtl .mce-item-table th,
.editor-style-content .rtl table caption {
  text-align: right;
}

/* ============================================================
   Column — SNS Share buttons
   ============================================================ */
.sns-share {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 30px 0;
  padding: 20px 75px;
  flex-wrap: wrap;
}

.sns-share__label {
  font-size: 16px;
  font-weight: bold;
  color: #595757;
  white-space: nowrap;
}

.sns-share__list {
  display: flex;
  align-items: center;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.sns-share__item a,
.sns-share__item .copy-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: bold;
  text-decoration: none;
  transition: opacity 0.2s ease;
  cursor: pointer;
  border: none;
  line-height: 1;
}

.sns-share__item a:hover,
.sns-share__item .copy-link-btn:hover {
  opacity: 0.75;
}

.sns-share__item--x a {
  background: #000;
  color: #fff;
}
.sns-share__item--x a svg {
  fill: #fff;
}

.sns-share__item--fb a {
  background: #1877f2;
  color: #fff;
}
.sns-share__item--fb a svg {
  fill: #fff;
}

.sns-share__item--copy .copy-link-btn {
  background: #727171;
  color: #fff;
}
.sns-share__item--copy .copy-link-btn svg {
  fill: #fff;
}

/* ============================================================
   Column — Like button
   ============================================================ */
.like-box {
  display: flex;
  justify-content: center;
  margin: 30px 0 40px;
}

.like-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 32px;
  border: 2px solid #d0cbc9;
  border-radius: 40px;
  background: #fff;
  color: #595757;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.25s ease;
  line-height: 1;
}

.like-btn:hover,
.like-btn.liked {
  border-color: #e05a5a;
  color: #e05a5a;
}

.like-btn:hover .like-icon svg,
.like-btn.liked .like-icon svg {
  fill: #e05a5a;
}

.like-btn .like-icon svg {
  fill: #d0cbc9;
  transition: fill 0.25s ease;
  display: block;
}

.like-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.like-count {
  font-size: 16px;
  min-width: 20px;
  text-align: center;
}

/* ============================================================
   Column — TOC span links (h3 sub-entries inside .detail-01 .box)
   ============================================================ */
#column .column-detail .detail-01 .box ul li a {
  color: inherit;
  text-decoration: none;
}
#column .column-detail .detail-01 .box ul li a:hover {
  opacity: 0.7;
}
#column .column-detail .detail-01 .box ul li span a {
  display: block;
  padding-left: 15px;
  font-weight: normal;
  color: inherit;
}
#column .column-detail .detail-01 .box ul li span a:hover {
  opacity: 0.7;
}

/* ============================================================
   Column — Responsive overrides
   ============================================================ */
@media only screen and (max-width: 1023px) {
  .sns-share {
    padding: 20px 55px;
  }
}

@media only screen and (max-width: 767px) {
  .sns-share {
    padding: 15px 0;
    gap: 10px;
  }
  .sns-share__label {
    font-size: 13px;
    width: 100%;
  }
  .sns-share__item a,
  .sns-share__item .copy-link-btn {
    padding: 7px 12px;
    font-size: 12px;
  }
  .like-btn {
    font-size: 15px;
    padding: 10px 24px;
  }
}

/* ============================================================
   Diagnosis — Hide redundant footer-structure
   ============================================================ */
.diagnosis-page .footer-structure {
  display: none !important;
}

/* ============================================================
   Contact Form 7 Multi-Step Form Custom Styling & Overrides (Confirm Page Only)
   ============================================================ */

/* 1. Reset alignment of rows on confirmation page template */
.page-template-page-confirm-php .form-row .title.center {
  padding-top: 10px;
}

.page-template-page-confirm-php .form-row .box {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  min-height: 40px;
  word-break: break-all;
}

.page-template-page-confirm-php .form-row .box p {
  margin: 0;
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  width: 100%;
}

/* Hide unwanted br tags inside the confirmation box (prevents layout jump without affecting email body!) */
.page-template-page-confirm-php .form-row .box br {
  display: none !important;
}

.page-template-page-confirm-php .form-row .box .number-note {
  top: 0 !important;
  margin-left: 10px !important;
  display: inline-block !important;
}

/* 2. Position both buttons horizontally side-by-side on desktop confirmation page */
.page-template-page-confirm-php .submit-box {
  display: flex !important;
  flex-direction: row !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 20px !important;
  margin-top: 55px !important; /* Push buttons nicely below the table */
  padding-top: 0 !important;
  width: 100% !important;
}

.page-template-page-confirm-php .submit-box .confirm-back-btn,
.page-template-page-confirm-php .submit-box .submit-btn {
  margin: 0 !important;
  padding: 0 !important;
  width: auto !important;
  height: auto !important;
  display: inline-flex !important;
}

/* 3. Style both buttons identically in shape and dimensions for a uniform premium look */
.page-template-page-confirm-php .submit-box .btn-back-confirm,
.page-template-page-confirm-php .submit-box input.wpcf7-previous,
.page-template-page-confirm-php .submit-box .wpcf7-submit,
.page-template-page-confirm-php .submit-box .submit-btn button {
  -webkit-appearance: none;
  appearance: none;
  width: 250px !important;
  height: 68px !important;
  border-radius: 35px !important;
  font-size: 20px !important;
  display: inline-flex !important;
  justify-content: center !important;
  align-items: center !important;
  margin: 0 !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  transition: all 0.3s ease !important;
  cursor: pointer !important;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
}

/* Gold Theme Back Button Styles (reusing Request Info properties) */
.page-template-page-confirm-php .submit-box .btn-back-confirm,
.page-template-page-confirm-php .submit-box input.wpcf7-previous {
  background: #ddbc44 !important;
  color: #FFF !important;
  text-decoration: none !important;
}

.page-template-page-confirm-php .submit-box .btn-back-confirm:hover,
.page-template-page-confirm-php .submit-box input.wpcf7-previous:hover {
  background: #002a70 !important;
  color: #FFF !important;
  opacity: 1 !important;
}

/* Green Theme Send Button Styles */
.page-template-page-confirm-php .submit-box .wpcf7-submit,
.page-template-page-confirm-php .submit-box .submit-btn button {
  background: #005e36 !important;
  color: #FFF !important;
}

.page-template-page-confirm-php .submit-box .wpcf7-submit:hover,
.page-template-page-confirm-php .submit-box .submit-btn button:hover {
  opacity: 0.7 !important;
}

/* 4. Hide duplicate confirmation buttons, spinner, and extra br tags if CF7 outputs them */
.page-template-page-confirm-php .submit-box input.wpcf7-previous + input.wpcf7-previous {
  display: none !important;
}

.page-template-page-confirm-php .submit-box .wpcf7-spinner {
  display: none !important;
}

.page-template-page-confirm-php .submit-box p br {
  display: none !important;
}

.page-template-page-confirm-php .wpcf7-form {
  width: 100%;
}

/* 5. Mobile responsive stacked layout */
@media only screen and (max-width: 767px) {
  .page-template-page-confirm-php .form-row .box {
    min-height: auto;
  }
  .page-template-page-confirm-php .form-row .box .number-note {
    margin-left: 5px !important;
    top: 0 !important;
  }
  
  /* Stack buttons vertically on mobile: primary button on top, back button below */
  .page-template-page-confirm-php .submit-box {
    flex-direction: column-reverse !important;
    gap: 15px !important;
    margin-top: 35px !important;
    padding: 0 5vw !important;
  }
  
  .page-template-page-confirm-php .submit-box .btn-back-confirm,
  .page-template-page-confirm-php .submit-box input.wpcf7-previous,
  .page-template-page-confirm-php .submit-box .wpcf7-submit,
  .page-template-page-confirm-php .submit-box .submit-btn button {
    width: 100% !important;
    height: 50px !important;
    font-size: 18px !important;
    margin: 0 auto !important;
  }
}


