/* =========================
   Global / Base Styles
========================= */
body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  background-color: #f2eedd;
  font-family: 'Gilroy', sans-serif;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

@font-face {
  font-family: 'Gilroy-bold', sans-serif;
  src: url(../fonts/Gilroy-Bold.ttf);
  font-weight: 700;
}

@font-face {
  font-family: 'Gilroy-regular', sans-serif;
  src: url(../fonts/Gilroy-Regular.ttf);
  font-weight: 400;
}

#brx-header {
  position: sticky;
  top: 0;
  z-index: 999;
}

#brx-header.sticky {
  box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.1);
}

#brx-header.sticky #smtt_logo {
  max-width: 175px;
}

.container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 60px 30px;
}

/* =====================================================
   TEMPLATE SECTION
===================================================== */

.template_section .template_title {
  text-align: center;
  font-size: 48px;
  margin-bottom: 50px;
}

/* =========================
   Tabs
========================= */
.template_tabs {
  max-width: 900px;
  margin: 0 auto;
}

.template_tabs_list {
  display: flex;
  gap: 20px;
  padding: 0;
  margin: 0;
  align-items: flex-end;
  justify-content: center;
}

.template_tabs_item {
  list-style: none;
  flex: 1;
}

.template_tab_status {
  text-align: center;
  font-size: 20px;
  margin-bottom: 5px;
  color: #727A8B;
  font-weight: 700;
}

.template_tab_button {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 14px 8px;
  padding-bottom: 12px;
  text-align: center;
  font-size: 23px;
  letter-spacing: -1px;
  border-radius: 8px;
  text-decoration: none;
  background: #fff;
  color: #727A8B;
  border: 2px solid #14213d;
  transition: .2s linear;
}

.template_tab_button img {
  width: 20px;
  margin-right: 5px;
  display: none;
}

.template_tab_button:hover,
.template_tab_button.is_active {
  background: #14213d;
  color: #fff;
}

.template_tab_button.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

.template_tab_button.disabled:hover {
  background: #fff;
  color: #727A8B;
}

.template_tabs_item.collection-disabled {
  position: relative;
}

.collection-coming-soon {
  display: block;
  text-align: center;
  font-size: 16px;
  color: #727A8B;
  font-weight: 600;
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.template_tab_button.is_active img {
  display: inline-block;
}

.template_tabs_social {
  margin-top: 35px;
}

.template_tabs_social .template_tabs_item {
  flex: 1;
}

/* =========================
   Pricing Table
========================= */

.template_table {
  padding: 80px 0;
}

.template_table_row {
  display: flex;
  flex-wrap: wrap;
}

.template_table_regular {
  width: 100%;
  display: grid;
  flex-wrap: wrap;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.template_table_regular .surecart-products-container {
  display: contents;
}

.template_table_bundle {
  max-width: 33.33%;
  display: flex;
}

.surecart-bundle-container {
  padding: 15px 30px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
}

.template_plan {
  width: 100%;
  padding: 15px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.template_plan:nth-child(2) {
  border-left: 2px solid #14213d;
  border-right: 2px solid #14213d;
}

.template_plan_top {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}

.template_plan_title {
  font-size: 38px;
  font-weight: 400;
  color: #14213D;
  letter-spacing: -0.8px;
  line-height: 1.1;
  margin-bottom: 15px;
  width: auto;
  display: inline-block;
}

.template_description ul {
  font-size: 20px;
  line-height: 1.4;
  padding-left: 0;
}

.template_plan_body {}

.template_features {
  min-height: 100px;
}

.template_features li {
  color: #434D64;
  font-size: 20px;
  margin-bottom: 5px;
}

.template_features li:last-child {
  margin-bottom: 0px;
}

/* =========================
   Slider
========================= */
.template_slider {
  margin-top: 30px;
}

.template_slide {
  text-align: center;
}

.template_slider .slick-dots li {
  background-color: #d0d3d8;
  border-radius: 50px;
  height: 12px;
  width: 12px;
}

.template_slider .slick-dots .slick-active {
  background-color: #a0a5b0;
}

.template_slider .slick-dots li button:before {
  display: none;
}

.template_slide a{
  padding: 15px;
  padding-bottom: 20px;
}

.template_slide img {
  height: 215px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  max-width: 215px;
  width: 100%;
  filter: drop-shadow(15px 0px 10px rgba(0, 0, 0, 0.25));
  border-radius: 12px;
}

/* =========================
   CTA
========================= */
.template_cta {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 50px;
  justify-content: center;
  padding: 0 20px;
}

.template_price {
  font-size: 32px;
  margin: 0;
  color: #434D64;
}

.btn_primary {
  background: #bb2760;
  border: 2px solid #bb2760;
  color: #fff;
  padding: 0px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 24px;
  font-weight: 400;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 90%;
  height: 55px;
  transition: .2s linear;
}

.btn_primary:hover {
  background: #fff;
  border-color: #bb2760;
  color: #bb2760;
  transition: .2s linear;
}

.btn_primary img {
  display: inline-block;
  margin-right: 10px;
}

.btn_primary:hover img {
  filter: brightness(0) saturate(100%) invert(23%) sepia(42%) saturate(4401%) hue-rotate(317deg) brightness(84%) contrast(89%);
}

.btn_primary.loading {
  opacity: 0.7;
  cursor: not-allowed;
  pointer-events: none;
}

.btn_primary .spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 0.6s linear infinite;
  margin-right: 8px;
  vertical-align: middle;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Products Loading Spinner */
.products-loading {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 400px;
  width: 100%;
}

.table-loading-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(240, 235, 216, 0.9);
  z-index: 10;
}

.template_table_row {
  position: relative;
}

.products-spinner {
  width: 50px;
  height: 50px;
  border: 4px solid #d0d3d8;
  border-radius: 50%;
  border-top-color: #bb2760;
  animation: spin 0.8s linear infinite;
}

.products-error {
  text-align: center;
  padding: 40px 20px;
  color: #727A8B;
  font-size: 20px;
}

/* =====================================================
   INSTALLATION SECTION
===================================================== */
.installation_section {
  background-color: #14213d;
  color: #fff;
  padding: 80px 0;
}

.installation_header_row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.installation_title_wrapper {
  text-align: center;
  font-size: 40px;
  font-weight: 700;
  letter-spacing: 1.2px;
  line-height: 1.2em;
  margin: 0;
}

.installation_subtitle {
  text-align: center;
  margin-top: 0px;
}

/* =========================
   Steps
========================= */
.steps_wrapper {
  position: relative;
}

.steps {
  margin: 75px 0;
  display: flex;
  justify-content: space-between;
  position: relative;
}

.steps_item {
  width: calc(100% / 7);
  text-align: center;
  position: relative;
  z-index: 2;
}

/* circle */
.steps_circles {
  background-color: #f0ebd8;
  height: 100px;
  width: 100px;
  margin: 0 auto;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.step_number {
  font-size: 48px;
  font-weight: 700;
  color: #14213d;
}

/* dashed line */
.steps_circles::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 100%;
  transform: translateY(-50%);
  width: calc(100% + 60px);
  height: 1px;
  border-top: 2px dashed #f0ebd8;
  z-index: -1;
}

/* remove line on last step */
.steps_item:last-child .steps_circles::after {
  display: none;
}

.step_description {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2em;
}

/* =========================
   Download Button
========================= */
.installation_download_button {
  text-align: center;
}

.installation_download_button a {
  background-color: #fff;
  border: 3px solid #bb2760;
  border-radius: 8px;
  padding: 20px;
  color: #bb2760;
  font-size: 24px;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
  transition: .2s linear;
}

.installation_download_button a:hover {
  background-color: #bb2760;
  color: #fff;
}

.goverlay {
  backdrop-filter: blur(1px);
  background: rgba(0, 0, 0, 0.8) !important;
}

/* =====================================================
   MEDIA QUERIES
===================================================== */
@media (max-width: 1150px) {

  .template_section .template_title {
    font-size: 40px;
  }

  .template_plan_body {
    padding: 0 15px;
  }

  .seperator {
    max-width: 750px;
  }

  .btn_primary {
    padding: 12px 12px;
    font-size: 18px;
    height: auto;
  }

  .template_cta {
    gap: 10px;
  }

  .template_plan_title {
    padding-left: 20px;
  }
}

@media(max-width: 1080px) {
  .template_plan_title {
    padding-left: 0px;
    font-size: 32px;
  }
}

@media (max-width: 992px) {
  .container {
    padding: 30px 30px;
  }

  .template_price {
    font-size: 24px;
  }

  .template_cta {
    gap: 10px;
    justify-content: center;
  }

  .template_table {
    padding: 50px 0;
  }

  .template_table_regular {
    grid-template-columns: repeat(auto-fit, minmax(235px, 1fr));
  }

  .template_plan:nth-child(3) {
    /* grid-column: 1 / -1; */
    /* max-width: 100%; */
  }

  .template_tab_button {
    font-size: 20px;
  }
}

@media (max-width: 880px) {
  .steps_item {
    width: calc(100% / 6);
  }

  .steps_circles {
    width: 70px;
    height: 70px;
  }

  .step_number {
    font-size: 40px;
  }

  .steps_circles::after {
    width: calc(100% + 35px);
  }

  .step_description p {
    margin: 0px;
  }
}

@media (max-width: 767px) {
  .container {
    padding: 0 20px;
  }

  .template_section {
    padding-top: 50px;
  }

  .template_section .template_title {
    font-size: 32px;
    line-height: 1;
  }

  .template_table {
    padding-top: 0px;
    padding-bottom: 50px;
  }

  .template_title {
    font-size: 32px;
  }

  .template_tabs_list {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
  }

  .template_tabs_social .template_tabs_list {
    gap: 20px;
  }

  .template_tabs_item {
    width: 100%;
    max-width: 100%;
  }

  .template_tabs_social .template_tabs_item {
    width: calc(100% / 2 - 10px);
  }

  .template_tab_status {
    margin: 0px;
  }

  .template_table_row,
  .template_table_regular,
  .template_table_bundle {
    flex-direction: column;
    width: 100%;
  }

  .template_table_regular {
    display: block;
  }

  .template_plan {
    width: 100%;
    padding: 40px 30px;
  }

  .template_plan:nth-child(2) {
    border-top: 2px solid #434D64;
    border-bottom: 2px solid #434D64;
    border-right: none;
    border-left: none;
  }

  .template_table_bundle {
    max-width: 265px;
    margin: 0 auto;
  }

  .template_plan_title {
    padding-left: 0px;
  }

  .template_plan_body {
    padding: 0px;
    padding-bottom: 50px;
    margin: 0 auto;
    border: none;
    border-bottom: 2px solid #434d64;
  }

  .template_features {
    min-height: auto;
  }

  .template_plan_highlight .template_plan_body {
    border-left: none;
    border-right: none;
    border-bottom: 2px solid #434d64;
  }

  .template_table_bundle .template_plan_body {
    border: none;
  }

  .template_price {
    font-size: 32px;
  }

  .template_plan_title {
    font-size: 32px;
    line-height: 1;
  }

  .btn_primary {
    font-size: 24px;
  }


  .installation_header_row {
    flex-direction: column;
  }

  .installation_title_wrapper {
    font-size: 32px;
  }

  .steps {
    display: flex;
    flex-direction: column;
    gap: 50px;
    position: relative;
    margin: 50px 0px;
    padding: 0px 20px;
  }

  .steps_item {
    display: flex;
    align-items: center;
    gap: 30px;
    position: relative;
    width: 100%;
    text-align: left;
  }

  .steps_circles {
    position: relative;
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    background-color: #f7f4e8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    margin: 0px;
  }

  .step_number {
    font-size: 32px;
    font-weight: 600;
    color: #0b1b3b;
  }

  /* dashed line */
  .steps_circles::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 100px;
    /* same as gap */
    border-left: 2px dashed #F0EBD8;
  }

  /* remove line from last item */
  .steps_item:last-child .steps_circles::after {
    display: none;
  }

  .seperator {
    display: none;
  }

  .steps_circles {
    min-width: 50px;
    height: 50px;
  }

  .collection-coming-soon {
    margin-top: 5px;
    margin-bottom: 0;
  }
}

@media(max-width: 475px) {

  .template_plan {
    width: 100%;
    margin: 0 auto;
  }

  .template_table_bundle {
    max-width: 265px;
    margin: 0 auto;
  }
}

.template_slider .lightbox-image {
  cursor: pointer;
  transition: opacity 0.2s;
}

.template_slider .lightbox-image:hover {
  opacity: 0.9;
}

.template_slider a.glightbox {
  width: 100%;
  display: block;
  text-decoration: none;
}

.glightbox-clean .gslide-description {
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  padding: 10px 20px;
  border-radius: 4px;
}

.glightbox-clean .gslide-media,
.glightbox-clean .gslide-image,
.glightbox-clean .gslide-image img {
  width: 80vh !important;
  max-height: 80vh !important;
}

/* Form Lightbox Styles */
#surecart-form-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
}

.form-lightbox-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  cursor: pointer;
}

.form-lightbox-content {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

.form-lightbox-body {
  background: #fff;
  border-radius: 8px;
  padding: 25px 35px;
  max-width: 500px;
  width: 100%;
  max-height: 90vh;
  /* overflow-y: auto; */
  position: relative;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.form-lightbox-close {
  position: absolute;
  top: -15px;
  right: -15px;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 32px;
  line-height: 1;
  width: 40px;
  height: 40px;
  padding-top: 3px;
  background-color: #bc2760;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.form-lightbox-close:hover {
  /* background: #f0f0f0; */
  /* transform: scale(1.1); */
}

body.form-lightbox-open {
  overflow: hidden;
}

/* Download Form Styles */
.download-form-wrapper {
  width: 100%;
}

.download-form-wrapper h2 {
  font-size: 32px;
  line-height: 1;
  color: #14213D;
  margin: 0 0 15px 0;
  text-align: center;
  font-weight: 700;
}

.download-form-wrapper p {
  font-size: 16px;
  line-height: 1.3;
  color: #434D64;
  margin: 0 0 30px 0;
  text-align: center;
  font-weight: 400;
}

.download-form-content-above {
  margin-bottom: 30px;
  text-align: center;
}

.download-form-content-above h2,
.download-form-content-above h3,
.download-form-content-above h4 {
  margin-top: 0;
}

.download-form-content {
  margin-bottom: 30px;
}

.download-form-content-below {
  margin-bottom: 30px;
  text-align: center;
}

.download-form-footer {
  text-align: center;
  padding-top: 25px;
  margin-top: 25px;
  border-top: 2px solid #d0d3d8;
}

.download-continue-link {
  color: #727A8B;
  font-size: 18px;
  transition: color 0.2s linear;
  display: inline-block;
}

.download-continue-link:hover {
  color: #14213d;
}

/* MC4WP Form Styles */
#surecart-form-lightbox .mc4wp-form {
  margin: 0;
}

#surecart-form-lightbox .mc4wp-form-fields {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

#surecart-form-lightbox .form-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#surecart-form-lightbox .form-group label {
  font-size: 20px;
  font-weight: 400;
  color: #434D64;
  margin: 0;
}

#surecart-form-lightbox .form-group input[type="text"],
#surecart-form-lightbox .form-group input[type="email"] {
  width: 100%;
  padding: 7px 16px;
  font-size: 17px;
  font-family: 'Gilroy', sans-serif;
  border: 1px solid #14213d;
  border-radius: 8px;
  background: #fff;
  color: #434D64;
  transition: border-color 0.2s linear;
  box-sizing: border-box;
}

#surecart-form-lightbox .form-group input[type="text"]:focus,
#surecart-form-lightbox .form-group input[type="email"]:focus {
  outline: none;
  border-color: #bb2760;
}

#surecart-form-lightbox .form-group label input[type="email"] {
  margin-top: 10px;
}

#surecart-form-lightbox .mc4wp-form p {
  margin: 0;
  text-align: center;
  font-weight: 500;
}

#surecart-form-lightbox .mc4wp-form input[type="submit"] {
  background: #bb2760;
  color: #fff;
  border: none;
  padding: 0 20px;
  font-size: 24px;
  font-weight: 400;
  font-family: 'Gilroy', sans-serif;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s linear;
  width: 100%;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

#surecart-form-lightbox .mc4wp-form input[type="submit"]:hover {
  background: #14213D;
}

.instructions {
  display: none;
}

.brx-draggable.instructions {
  display: block;
}

#surecart-form-lightbox .mc4wp-response,
#surecart-form-lightbox .mc4wp-alert {
  border-radius: 8px;
  font-size: 16px;
  line-height: 1.5;
  text-align: center;
  font-family: 'Gilroy', sans-serif;
  font-weight: 500;
  display: block;
  width: 100%;
  box-sizing: border-box;
}

#surecart-form-lightbox .mc4wp-response.mc4wp-error,
#surecart-form-lightbox .mc4wp-alert.mc4wp-error {
  background: #fee;
  color: #c33;
  border: 2px solid #fcc;
  padding: 15px 20px;
  margin-top: 20px;
  font-weight: 700;
}

#surecart-form-lightbox .mc4wp-response.mc4wp-success,
#surecart-form-lightbox .mc4wp-alert.mc4wp-success {
  background: #efe;
  color: #3c3;
  border: 2px solid #cfc;
  padding: 15px 20px;
  margin-top: 20px;
  font-weight: 700;
}
