/*
  Theme Name:   Hello Elementor Child
  Theme URI:    https://troopfit.com
  Description:  Hello Elementor Child Theme
  Author:       Qamar Gondal
  Author URI:   https://troopfit.com
  Template:     hello-elementor
  Version:      1.0.0
  License:      GNU General Public License v3 or later
  License URI:  https://www.gnu.org/licenses/gpl-3.0.html
  Text Domain:  hello-elementor-child
*/

:root {
  --e-global-color-primary: #0077E5;
  --e-global-color-secondary: #34495E;
  --e-global-color-text: #000000;
  --e-global-color-primary-btn: #B0160D;
  --e-global-color-primary-btn-hover: #F44336;
}

body, html {
  margin: 0 !important;
  padding: 0 !important;
}

.site-main, .page-content, .site, .elementor-page,
main#content, main .site-main, #content {
  padding: 0 !important;
  margin: 0 !important;
  max-width: none !important;
  width: 100% !important;
}

.tf-container {
  padding: 0 10px;
}

.tf-archive-hero {
  position: relative;
  background: #000;
  width: 100%;
}

.tf-archive-hero-overlay {
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 140px;
}

.tf-archive-hero-inner {
  width: 100%;
  padding: 0 10px;
}

.tf-archive-title {
  font-size: 1.6rem;
  color: #fff;
  margin: 0 0 8px;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
}

.tf-archive-desc {
  color: rgba(255,255,255,0.85);
  font-size: 1rem;
}

.tf-product-grid-section {
  padding: 40px 0;
}

.tf-product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width: 991px) {
  .tf-product-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575px) {
  .tf-product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}

.tf-product-card {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow .25s, transform .25s;
}

.tf-product-card:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
  transform: translateY(-3px);
}

.tf-product-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.tf-product-card-image {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #f5f5f5;
}

.tf-product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tf-product-card-placeholder {
  width: 100%;
  height: 100%;
  min-height: 180px;
  background: #e8e8e8;
}

.tf-product-card-body {
  padding: 16px;
}

.tf-product-card-title {
  font-size: 0.95rem;
  margin: 0;
  color: #000;
  line-height: 1.3;
  text-align: center;
}

.tf-single-product-section {
  padding: 40px 0;
}

.tf-single-product-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

@media (max-width: 767px) {
  .tf-single-product-layout {
    grid-template-columns: 1fr;
  }
}

.tf-single-product-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.tf-single-product-content {
  font-size: 1rem;
  color: #333;
  line-height: 1.7;
  margin-top: 40px;
}

.tf-desc-title {
  font-size: 1.2rem;
  margin: 0 0 12px;
  color: #34495E;
  text-transform: uppercase;
}

.tf-single-product-right {
  background: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 24px;
}

.tf-features-section {
  margin-bottom: 24px;
}

.tf-features-title {
  font-size: 1.2rem;
  margin: 0 0 16px;
  color: #34495E;
  text-transform: uppercase;
}

.tf-features-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.tf-features-list li {
  position: relative;
  padding: 8px 0 8px 20px;
  border-bottom: 1px solid #eee;
  font-size: 0.95rem;
  color: #333;
  line-height: 1.5;
}

.tf-features-list li:last-child {
  border-bottom: none;
}

.tf-features-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #0077E5;
  font-weight: 700;
}

.tf-btn-get-price {
  display: inline-block;
  margin-top: 24px;
  padding: 12px 32px;
  background-color: #B0160D;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 6px;
  transition: background-color .25s;
}

@media (max-width: 767px) {
  .tf-single-product-right { text-align: center; }
  .tf-features-list li { text-align: left; }
}

.tf-btn-get-price:hover {
  background-color: #F44336;
  color: #fff;
}

.tf-related-products {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid #e0e0e0;
}

.tf-related-title {
  font-size: 1.4rem;
  margin: 0 0 24px;
  color: #34495E;
  text-align: center;
  text-transform: uppercase;
}

.tf-pagination {
  margin-top: 40px;
  display: flex;
  justify-content: space-between;
}

.tf-no-products {
  text-align: center;
  padding: 60px 20px;
  font-size: 1.1rem;
  color: #666;
}

/* Contact Form 7 */
.wpcf7 {
  max-width: 720px;
  margin: 0 auto;
}

.wpcf7 .wpcf7-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.wpcf7 .wpcf7-form-control-wrap {
  display: block;
}

.wpcf7 label,
.wpcf7 .wpcf7-list-item-label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: #34495E;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.wpcf7 input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
.wpcf7 select,
.wpcf7 textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid #d0d0d0;
  border-radius: 4px;
  background: #fff;
  color: #000;
  font-size: 0.95rem;
  line-height: 1.5;
  transition: border-color .25s, box-shadow .25s;
  box-sizing: border-box;
}

.wpcf7 input:not([type="submit"]):focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
  border-color: #0077E5;
  box-shadow: 0 0 0 2px rgba(0,119,229,0.1);
  outline: none;
}

.wpcf7 textarea {
  height: 80px !important;
  resize: vertical;
}

.wpcf7 input[type="submit"],
.wpcf7 .wpcf7-submit {
  display: inline-block;
  width: auto;
  padding: 12px 36px;
  background-color: #B0160D;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color .25s;
  align-self: flex-start;
}

.wpcf7 input[type="submit"]:hover,
.wpcf7 .wpcf7-submit:hover {
  background-color: #F44336;
}

.wpcf7 input[type="submit"]:disabled,
.wpcf7 .wpcf7-submit:disabled {
  opacity: .5;
  cursor: not-allowed;
}

.wpcf7 .wpcf7-not-valid-tip {
  color: #B0160D;
  font-size: 0.8rem;
  margin-top: 4px;
}

.wpcf7 .wpcf7-response-output {
  padding: 10px 14px;
  border-radius: 4px;
  font-size: 0.85rem;
  border: 1px solid;
  margin: 8px 0 0;
}

.wpcf7 .wpcf7-validation-errors,
.wpcf7 .wpcf7-acceptance-missing {
  background: #fff5f5;
  border-color: #e0a0a0;
  color: #B0160D;
}

.wpcf7 .wpcf7-spam-blocked {
  background: #fff8e1;
  border-color: #e0c070;
  color: #856404;
}

.wpcf7 .wpcf7-mail-sent-ok {
  background: #f0fff4;
  border-color: #a0d0a0;
  color: #2e7d32;
}

.wpcf7 .wpcf7-mail-sent-ng {
  background: #fff5f5;
  border-color: #e0a0a0;
  color: #B0160D;
}

.wpcf7 .ajax-loader {
  display: none;
}

.wpcf7 .wpcf7-form.invalid .wpcf7-response-output,
.wpcf7 .wpcf7-form.unaccepted .wpcf7-response-output,
.wpcf7 .wpcf7-form.spam .wpcf7-response-output,
.wpcf7 .wpcf7-form.sent .wpcf7-response-output {
  margin: 8px 0 0;
}

.wpcf7 .wpcf7-checkbox,
.wpcf7 .wpcf7-radio {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.wpcf7 .wpcf7-list-item {
  margin: 0;
}

.wpcf7 .wpcf7-list-item label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  cursor: pointer;
  font-size: 0.9rem;
}

.wpcf7 input[type="checkbox"],
.wpcf7 input[type="radio"] {
  width: 16px;
  height: 16px;
  accent-color: #0077E5;
}

.wpcf7 .wpcf7-acceptance label {
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.85rem;
}

@media (max-width: 575px) {
  .wpcf7 {
    padding: 0;
  }
  .wpcf7 input[type="submit"],
  .wpcf7 .wpcf7-submit {
    width: 100%;
    text-align: center;
  }
}
