/*
Theme Name:   Codehelix Child
Theme URI:    https://codehelix.io
Author:       Codehelix
Author URI:   https://codehelix.io
Description:  Whitelabel child theme for Codehelix
Template:     hello-elementor
Version:      1.0.0
*/

/* ==========================================================================
   Table of Contents
   ==========================================================================
   1.  Header & Navigation
   2.  Forms
   3.  Pages & Layouts
   4.  Blog/Posts
   5.  Search
   6.  Buttons & Icons
   7.  Typography
   8.  Animations
   9.  WooCommerce
   10. 404/Error Pages
   11. Footer
   ========================================================================== */

/* ==========================================================================
   Desktop Styles (Base)
   ========================================================================== */

/* ---------------------------------------------------------------------------
   1. Header & Navigation
   --------------------------------------------------------------------------- */
/* Anchor links */

.elementor-menu-anchor {
  scroll-margin-top: 140px;
}

/* ---------------------------------------------------------------------------
   2. Forms
   --------------------------------------------------------------------------- */

   /* All forms */
   .formbuttons .e-form__buttons {
      margin-top: 20px;
   }

   /* BLITS conditional field: hidden until buys_youngman = No */
   .elementor-form .elementor-field-group.elementor-field-group-field_f2167c6,
   .elementor-form .elementor-field-group.elementor-field-group-interested_customer {
      display: none !important;
   }

   /* --- Request a Quote: Multi-Step Form --- */

   /* Step indicator / progress bar */
   .quote-form .elementor-field-type-step {
      border: none;
   }
   .quote-form .e-form__indicators {
      margin-bottom: 30px;
   }
   .quote-form .e-form__indicators__indicator {
      color: #666;
      font-weight: 600;
      font-size: 14px;
   }
   .quote-form .e-form__indicators__indicator--state-active {
      color: #E8732A;
   }
   .quote-form .e-form__indicators__indicator--state-completed {
      color: #E8732A;
   }
   .quote-form .e-form__indicators__indicator__progress {
      background-color: #ddd;
   }
   .quote-form .e-form__indicators__indicator--state-active .e-form__indicators__indicator__progress__meter,
   .quote-form .e-form__indicators__indicator--state-completed .e-form__indicators__indicator__progress__meter {
      background-color: #E8732A;
   }
   .quote-form .e-form__indicators__indicator__number {
      background-color: #ddd;
      color: #666;
   }
   .quote-form .e-form__indicators__indicator--state-active .e-form__indicators__indicator__number,
   .quote-form .e-form__indicators__indicator--state-completed .e-form__indicators__indicator__number {
      background-color: #E8732A;
      color: #fff;
   }
   .quote-form .e-form__indicators__indicator--state-active .e-form__indicators__indicator__label,
   .quote-form .e-form__indicators__indicator--state-completed .e-form__indicators__indicator__label {
      color: #E8732A;
   }
   .quote-form .e-form__indicators__indicator__separator {
      background-color: #ddd;
   }
   .quote-form .e-form__indicators__indicator--state-completed .e-form__indicators__indicator__separator {
      background-color: #E8732A;
   }

   /* Form fields */
   .quote-form .elementor-field-group .elementor-field {
      border: 1px solid #ccc;
      border-radius: 4px;
      padding: 12px 14px;
      font-size: 15px;
      transition: border-color 0.3s ease-out;
   }
   .quote-form .elementor-field-group .elementor-field:focus {
      border-color: #E8732A;
      outline: none;
      box-shadow: 0 0 0 2px rgba(232, 115, 42, 0.15);
   }
   .quote-form .elementor-field-group label {
      font-weight: 600;
      margin-bottom: 6px;
      font-size: 15px;
   }
   .quote-form .elementor-field-group .elementor-field-textual {
      background-color: #fff;
   }

   /* Select dropdown */
   .quote-form .elementor-field-group select.elementor-field {
      appearance: auto;
      cursor: pointer;
   }

   /* Checkbox & radio styling */
   .quote-form .elementor-field-type-checkbox .elementor-field-subgroup,
   .quote-form .elementor-field-type-radio .elementor-field-subgroup {
      gap: 8px;
   }
   .quote-form .elementor-field-type-checkbox .elementor-field-option label,
   .quote-form .elementor-field-type-radio .elementor-field-option label {
      font-weight: 400;
      font-size: 15px;
      cursor: pointer;
      display: flex;
      align-items: center;
      gap: 8px;
   }
   .quote-form .elementor-field-type-checkbox .elementor-field-option input[type="checkbox"],
   .quote-form .elementor-field-type-radio .elementor-field-option input[type="radio"] {
      width: 18px;
      height: 18px;
      accent-color: #E8732A;
      cursor: pointer;
      flex-shrink: 0;
   }

   /* Helper text */
   .quote-form .elementor-field-group .elementor-field-description {
      color: #888;
      font-size: 13px;
      margin-top: 4px;
   }

   /* Textarea */
   .quote-form .elementor-field-group textarea.elementor-field {
      min-height: 140px;
      resize: vertical;
   }

   /* Next / Previous / Submit buttons */
   .quote-form .e-form__buttons__wrapper {
      margin-top: 24px;
      gap: 12px;
   }
   .quote-form .e-form__buttons__wrapper button {
      background-color: #E8732A;
      color: #fff;
      border: none;
      border-radius: 4px;
      padding: 14px 28px;
      font-size: 16px;
      font-weight: 600;
      cursor: pointer;
      transition: background-color 0.3s ease-out;
   }
   .quote-form .e-form__buttons__wrapper button:hover {
      background-color: #cf6523;
   }
   .quote-form .e-form__buttons__wrapper .e-form__buttons__wrapper__button-previous {
      background-color: #666;
   }
   .quote-form .e-form__buttons__wrapper .e-form__buttons__wrapper__button-previous:hover {
      background-color: #555;
   }

   /* Required asterisk */
   .quote-form .elementor-mark-required .elementor-field-label::after {
      color: #E8732A;
   }

/* ---------------------------------------------------------------------------
   3. Pages & Layouts
   --------------------------------------------------------------------------- */

   /* Home */

   /* .capability.elementor-widget-video .e-hosted-video .elementor-video {
      object-fit: unset;
   }
 */

 .eightcs .e-n-accordion-item-title {
  transition: 0.3s ease-out;
 }

   /* Polycarbonate */
   .suntuf img {
      position: absolute;
      bottom: -33px;
}

/* SANS Standards Grid */
.cc-sans-grid {
  display: flex;
  gap: 16px;
}
.cc-sans-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #F78F1E;
  color: #ffffff;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  padding: 40px 20px;
  border-radius: 8px;
  line-height: 1.4;
}
.cc-sans-card strong {
  display: block;
  font-size: 20px;
  margin-bottom: 4px;
}

/* Roof Accessories */

.cc-specs-table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
}
.cc-specs-table {
  width: 100%;
  border-collapse: collapse;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5em;
  color: #ffffff;
  min-width: 500px;
}
.cc-specs-table th,
.cc-specs-table td {
  padding: 14px 20px;
  text-align: left;
}
.cc-specs-table thead th {
  background-color: #E8732A;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.05em;
  border-bottom: 2px solid #cf6523;
}
.cc-specs-table thead th:first-child {
  width: 30%;
}
.cc-specs-table thead th:nth-child(2),
.cc-specs-table thead th:nth-child(3) {
  width: 35%;
}
.cc-specs-table tbody td {
  background-color: #4A4A4A;
  border-bottom: 1px solid #5a5a5a;
}
.cc-specs-table tbody tr:nth-child(even) td {
  background-color: #525252;
}
.cc-specs-table tbody tr:last-child td {
  border-bottom: none;
}

/* ---------------------------------------------------------------------------
   4. Blog/Posts
   --------------------------------------------------------------------------- */

.blogpost a {
  color: #F78F1E;
  transition: color 0.3s ease-in-out;
}
.blogpost a:hover {
  color: #7A7A7A;
}

/* ---------------------------------------------------------------------------
   5. Search
   --------------------------------------------------------------------------- */

/* ---------------------------------------------------------------------------
   6. Buttons & Icons
   --------------------------------------------------------------------------- */

.orange-bullet ul {
  list-style: none;
  padding-left: 1.2em;
}
.orange-bullet ul li {
  position: relative;
  padding-left: 1.2em;
}
.orange-bullet ul li::before {
  content: "\2022";
  color: #F78F1E;
  font-size: 1.2em;
  position: absolute;
  left: 0;
  top: 0;
}


/* Buttons*/
.orangebuttons .jet-button__plane-normal,
.orangebuttons .jet-button__plane-hover,
.orangebuttons .jet-button__state-normal,
.orangebuttons .jet-button__state-hover {
  transition:
    opacity 0.3s ease-out,
    transform 0.3s ease-out;
}

/* Textlinks */
.textlink a {
  color: #E8732A;
  text-decoration: none;
  border-bottom: 1px dotted transparent;
  transition: border-color 0.3s ease-out;
}
.textlink a:hover {
  border-color: #E8732A;
}

/* ---------------------------------------------------------------------------
   7. Typography
   --------------------------------------------------------------------------- */

/* ---------------------------------------------------------------------------
   8. Animations
   --------------------------------------------------------------------------- */

/* ---------------------------------------------------------------------------
   9. WooCommerce
   --------------------------------------------------------------------------- */

/* ---------------------------------------------------------------------------
   10. 404/Error Pages
   --------------------------------------------------------------------------- */

/* ---------------------------------------------------------------------------
   11. Footer
   --------------------------------------------------------------------------- */

/* ==========================================================================
   Responsive Styles
   ========================================================================== */

/* ---------------------------------------------------------------------------
   Mobile (max-width: 767px)
   --------------------------------------------------------------------------- */
@media (max-width: 767px) {
  /* 1. Header & Navigation */

  /* 2. Forms */

  .quote-form .e-form__indicators__indicator__label {
    font-size: 12px;
  }
  .quote-form .elementor-field-group .elementor-field {
    padding: 10px 12px;
    font-size: 14px;
  }
  .quote-form .e-form__buttons__wrapper button {
    width: 100%;
    padding: 14px 20px;
    font-size: 15px;
  }
  .quote-form .e-form__buttons__wrapper {
    flex-direction: column;
  }

  /* 3. Pages & Layouts */

  .cc-sans-grid {
    flex-wrap: wrap;
  }
  .cc-sans-card {
    flex: 1 1 calc(50% - 8px);
    padding: 30px 16px;
    font-size: 16px;
  }
  .cc-sans-card strong {
    font-size: 18px;
  }

  /* Roof Accessories */

    .cc-specs-table {
    font-size: 14px;
  }
  .cc-specs-table th,
  .cc-specs-table td {
    padding: 10px 14px;
  }

  /* 4. Blog/Posts */

  /* 5. Search */

  /* 6. Buttons & Icons */

  /* 7. Typography */

  /* 8. Animations */

  /* 9. WooCommerce */

  /* 10. 404/Error Pages */

  /* 11. Footer */
}

/* ---------------------------------------------------------------------------
   Tablet (768px - 1024px)
   --------------------------------------------------------------------------- */
@media (min-width: 768px) and (max-width: 1024px) {
  /* 1. Header & Navigation */

  /* 2. Forms */

  /* 3. Pages & Layouts */

  /* 4. Blog/Posts */

  /* 5. Search */

  /* 6. Buttons & Icons */

  /* 7. Typography */

  /* 8. Animations */

  /* 9. WooCommerce */

  /* 10. 404/Error Pages */

  /* 11. Footer */
}

/* ---------------------------------------------------------------------------
   Large Tablet / Small Desktop (1025px - 1199px)
   --------------------------------------------------------------------------- */
@media (min-width: 1025px) and (max-width: 1199px) {
  /* 1. Header & Navigation */

  /* 2. Forms */

  /* 3. Pages & Layouts */

  /* 4. Blog/Posts */

  /* 5. Search */

  /* 6. Buttons & Icons */

  /* 7. Typography */

  /* 8. Animations */

  /* 9. WooCommerce */

  /* 10. 404/Error Pages */

  /* 11. Footer */
}

/* ---------------------------------------------------------------------------
   Large Desktop (1200px and up)
   --------------------------------------------------------------------------- */
@media (min-width: 1200px) {
  /* 1. Header & Navigation */

  /* 2. Forms */

  /* 3. Pages & Layouts */

  /* 4. Blog/Posts */

  /* 5. Search */

  /* 6. Buttons & Icons */

  /* 7. Typography */

  /* 8. Animations */

  /* 9. WooCommerce */

  /* 10. 404/Error Pages */

  /* 11. Footer */
}
