/*
Theme Name: Divi Child
Template: Divi
*/


/* .catalog-wrapper {
  display: flex;
  gap: 30px;
}

.catalog-left {
  width: 25%;
}

.catalog-right {
  width: 75%;
}

.brand-item,
.model-card,
.part-card {
  cursor: pointer;
}

.model-card.active,
.brand-item.active {
  border: 2px solid #000;
} */





/* home page dynamic section css */


.home-parts-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.home-parts-left h3 {
    color: #ec6102;
    font-size: 36px;
    line-height: 50px;
    font-weight: 800;
    margin-bottom: 0px;
}

.home-parts-left p {
    font-weight: 600;
}

.home-parts-left .underline {
    display: block;
    width: 150px;
    height: 1.5px;
    border-radius: 10px;
    background: #ec6102;
    margin-top: 10px;
}

.home-parts-right {
    display: flex;
}
.home-parts-right span {
    color: #ec6102;
    font-size: 20px;
    line-height: 24px;
    font-weight: 600;
    margin: 0 8px;
}
.home-parts-right button {
  padding: 0px !important;
}
.parts-tab {
    background: none;
    border: none;
    font-size: 20px;
    line-height: 24px;
    font-weight: 600;
    cursor: pointer;
    border-bottom: 1px solid transparent;
}

.parts-tab.active {
    color: #ec6102;
    border-color: #ec6102;
}

.home-parts-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.home-model-card {
    text-align: center;
    text-decoration: none;
    color: #0f1628;
    cursor: pointer;
}

.home-model-card img {
    width: 100%;
    height: 200px;
    padding: 15px;
    background-color: #fff;
    object-fit: contain;
    margin-bottom: 20px;
}

.home-model-card h4 {
    font-size: 20px;
    line-height: 28px;
    font-weight: 700;
}

@media (max-width: 770px) {
  .home-parts-header {
    display: block;
    margin-bottom: 30px;
}
.home-parts-left {
  margin-bottom: 20px;
}
.home-parts-left h3 {
    font-size: 28px;
    line-height: 38px;
}
.home-parts-grid {
    grid-template-columns: repeat(2, 1fr);
}
.home-model-card h4 {
    font-size: 18px;
    line-height: 26px;
}
}

@media (max-width: 425px) {
  .home-parts-header {
    margin-bottom: 25px;
}
.home-parts-left h3 {
    font-size: 22px;
    line-height: 32px;
}
.home-parts-left p {
    font-size: 14px;
    line-height: 20px;
}
.home-parts-grid {
    grid-template-columns: repeat(1, 1fr);
    gap:10px;
}
.home-model-card img {
    margin-bottom: 12px;
}
.home-model-card h4 {
    font-size: 16px;
    line-height: 24px;
}
}



/* breadcrumb */
.catalog-breadcrumb-wrapper {
    background: #ec6102; /* orange bar */
    padding: 10px 0;
    margin-bottom: 50px;
}

.catalog-breadcrumb {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
}

.catalog-breadcrumb a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
}

.catalog-breadcrumb span {
    color: #fff;
    font-weight: 600;
}

.catalog-breadcrumb a:hover {
    text-decoration: underline;
}


.tractor-catalog-section {
  max-width: 1200px;
  margin: 0 auto;
  padding-bottom: 4%;
}
.tractor-catalog-section-heading {
  margin-bottom: 30px;
}
.tractor-catalog-section-heading h1 {
  font-size: 39px;
  line-height: 52px;
  font-weight: 400;
  color: #ec6102;
  margin-bottom: 5px;
}
.tractor-catalog-section-heading p {
  font-size: 18px;
  line-height: 26px;
  font-weight: 400;
}

/* LAYOUT */
.tractor-wrapper {
  display: flex;
  gap: 30px;
}

/* SIDEBAR */
.tractor-filter-box {
  width: 277.5px;
  height: fit-content;
  border: 1px solid #4246522b;
  padding: 20px;
  border-radius: 10px;
  background: #fff;
}

.tractor-filter-title {
  font-size: 20px;
  line-height: 28px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 0px !important;
}

.tractor-brand-list {
  list-style: none;
  padding: 0 !important;
  margin: 0 !important;
}

.brand-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  cursor: pointer;
  border: 1px solid #4246522b;
  border-radius: 4px;
  margin-bottom: 10px;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
}
.brand-item label {
  display: flex;
  align-items: center;
}
.brand-item input[type=radio] {
    margin: 0px 8px 0px 0px;
    accent-color: #ec6102;
    height: 20px;
    width: 20px;
}

/* .brand-item.active {
  background: #ffe7d0;
  border-left: 4px solid #ff7a00;
} */

.brand-icon {
    width: 40px;
    height: 27px;
    object-fit: contain;
}

/* RIGHT SIDE INITIAL GRID */
.tractor-main {
  width: calc(100% - 277.5px);
  overflow-x: hidden;
}

.tractor-model-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.tractor-model-card-grid .model-card {
  border: 1px solid #4246522b;
  background: #fff;
  border-radius: 10px;
  text-align: center;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
}

.tractor-model-card-grid .model-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.tractor-model-card-grid .model-card img {
  padding: 40px;
  width: 100%;
  height: 270px;
  object-fit: contain;
}

.tractor-model-card-grid .model-card-title {
  border-top: 1px solid #4246522b;
  font-size: 14px;
  line-height: 20px;
  padding: 20px;
  font-weight: 600;
}

/* TABS */
.tractor-category-heading {
  font-size: 20px;
  line-height: 28px;
  font-weight: 600;
}
.tractor-model-tabs {
  width:100%;
  display: flex;
  /* flex-wrap: wrap; */
  gap: 10px;
  margin-bottom: 30px;
  overflow-x: auto;
  scrollbar-width: none;
}

.tractor-model-tabs .model-tab {
  padding: 5px 15px 5px 5px;
  border: 1px solid #4246522b;
  border-radius: 100px;
  display: flex;
  align-items: center;
  white-space: nowrap;
  gap: 8px;
  cursor: pointer;
  transition: all .3s ease;
}

.tractor-model-tabs .model-tab.active {
  border: 1px solid #ec6102;
  color: #ec6102;
  font-weight: 600;
  font-size: 14px;
}

.tractor-model-tabs .model-tab img {
  max-width: unset !important;
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.tractor-model-tabs .model-card-title {
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  padding: 0px !important;
}

/* PARTS GRID */
.tractor-parts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.part-card {
  border: 1px solid #4246522b;
  background: #fff;
  border-radius: 10px;
  text-align: center;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
}

.part-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.part-card img {
  padding: 40px;
  width: 100%;
  height: 270px;
  object-fit: contain;
}

.part-title {
  border-top: 1px solid #4246522b;
  color: #424652;
  font-size: 14px;
  line-height: 20px;
  padding: 20px;
  font-weight: 600;
}

/* SINGLE PRODUCT LAYOUT ------------------------------------------------------- */

.single-product-wrap {
  margin-top: 20px;
  max-width: 1200px;
  margin: 0 auto;
  padding-bottom: 4%;
}

.single-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 50px;
}

.single-media {
  width: 48%;
}
.single-main-image {
  border-radius: 10px;
  background: #fff;
  padding: 20px;
  border: 1px solid #4246522b;
  display: flex;
  justify-content: center;
  align-items: center;
}
.single-main-image img {
  width: 100%;
  max-width: 420px;
  max-height: 420px;
  min-height: 420px;
  object-fit: contain;
}

/* .single-thumbs {
  margin-top: 12px;
  display: flex;
  gap: 10px;
}
.single-thumbs .thumb {
  border: 1px solid #eee;
  padding: 8px;
  border-radius: 8px;
  cursor: pointer;
}
.single-thumbs .thumb img {
  width: 70px;
  height: 50px;
  object-fit: contain;
} */

.single-summary {
  width: 48%;
}
.single-title {
  font-size: 39px;
  margin-bottom: 10px;
  line-height: 52px;
}
.single-brand {
  color: #ec6102;
  font-size: 28px;
  font-weight: 700;
}
.single-divider {
  height: 1px;
  background: #4246522b;
  margin: 20px 0;
}
.single-short-desc {
  min-height: 200px;
  color: #666;
  margin-bottom: 30px;
}

.btn-get-quote {
  display: inline-block;
  background: #ec6102;
  color: #fff;
  padding: 8px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
}

/* tabs */
/* .single-tabs {
  margin-top: 30px;
} */
.single-tab-nav {
  list-style: none !important;
  padding: 0 !important;
  display: flex;
  border-bottom: 1px solid #eee;
  margin-bottom: 30px;
}
.single-tab-nav li {
  text-align: center;
  padding: 20px 30px;
  font-weight: 600;
  cursor: pointer;
  color: #666;
  border-bottom: 3px solid transparent;
  transition: all .3s;
}
.single-tab-nav li.active {
  color: #ec6102;
  border-bottom: 3px solid #ec6102;
}
.single-tab-content .tab-pane {
  display: none;
}
.single-tab-content .tab-pane.active {
  display: block;
}

/* specs table */
.specs-table {
  width: 100%;
  border-collapse: collapse;
}
.specs-table th {
  text-align: left;
  padding: 8px 10px;
  width: 220px;
  background: #fafafa;
}
.specs-table td {
  padding: 8px 10px;
  border-bottom: 1px solid #f2f2f2;
}


@media (max-width: 770px) {
  .catalog-breadcrumb {
    width: 90%;
    margin: 0 auto;
}
.tractor-catalog-section {
  width: 90%;
  margin: 0 auto;
  padding-bottom: 50px;
}
.tractor-catalog-section-heading h1 {
  font-size: 32px;
  line-height: 42px;
}
.tractor-catalog-section-heading p {
  font-size: 16px;
  line-height: 26px;
}

/* layout */
.tractor-wrapper {
  display: block;
  gap: 20px;
}
.tractor-filter-box {
  width: 100%;
  margin-bottom: 20px;
}
.tractor-filter-title {
  font-size: 18px;
  line-height: 26px;
}

/* RIGHT SIDE INITIAL GRID */
.tractor-main {
  width: 100%;
}
.tractor-model-card-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

/* TABS */
.tractor-category-heading {
  font-size: 18px;
  line-height: 26px;
}

/* PARTS GRID */
.tractor-parts-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

/* SINGLE PRODUCT LAYOUT ------------------------------------------------------- */
.single-product-wrap {
  width: 90%;
  margin: 0 auto;
  padding-bottom: 50px;
}
.single-top {
  display: block;
  margin-bottom: 50px;
}
.single-media {
  width: 100%;
  margin-bottom: 30px;
}
.single-main-image img {
  max-width: 300px;
  max-height: 300px;
  min-height: 300px;
}
.single-summary {
  width: 100%;
}
.single-title {
  font-size: 32px;
  line-height: 42px;
}
.single-brand {
  font-size: 24px;
}

/* single page tabs */
.single-tab-nav {
  flex-wrap: wrap;
}
.single-tab-nav li {
  flex: 1 1;
  min-width: 120px;
  padding: 15px 20px;
}
}


@media (max-width: 425px) {
  .catalog-breadcrumb-wrapper {
    margin-bottom: 40px;
  }
  .catalog-breadcrumb a{
    font-size: 14px;
}
.catalog-breadcrumb span {
  font-size: 14px;
}
.tractor-catalog-section {
  padding-bottom: 40px;
}
.tractor-catalog-section-heading h1 {
  font-size: 26px;
  line-height: 36px;
}
.tractor-catalog-section-heading p {
  font-size: 14px;
  line-height: 20px;
}

/* layout */
.tractor-filter-title {
  font-size: 16px;
  line-height: 24px;
}

/* RIGHT SIDE INITIAL GRID */
.tractor-model-card-grid {
  grid-template-columns: repeat(1, 1fr);
}
.model-card-title {
  font-size: 14px;
  line-height: 20px;
}

/* TABS */
.tractor-category-heading {
  font-size: 16px;
  line-height: 24px;
}

/* PARTS GRID */
.tractor-parts-grid {
  grid-template-columns: repeat(1, 1fr);
}

/* SINGLE PRODUCT LAYOUT ------------------------------------------------------- */
.single-product-wrap {
  padding-bottom: 40px;
}
.single-top {
  margin-bottom: 40px;
}
.single-title {
  font-size: 26px;
  line-height: 36px;
  margin-bottom: 0px;
}
.single-brand {
  font-size: 20px;
}
.single-divider {
  margin: 12px 0px;
}
.single-short-desc {
  font-size: 14px;
  line-height: 20px;
  margin-bottom: 20px;
}
.btn-get-quote {
  display: block;
  text-align: center;
  font-size: 14px;
}

/* single page tabs */
.single-tab-nav {
  margin-bottom: 20px;
}
.single-tab-nav li {
  font-size: 14px;
}
.single-tab-content .tab-pane {
  font-size: 14px;
  line-height: 20px;
}
}