/*
 Theme Name: Hello Elementor Child
 Theme URI: https://example.com/
 Description: Child theme for Hello Elementor
 Author: Your Name
 Author URI: https://example.com/
 Template: hello-elementor
 Version: 1.0.0
 Text Domain: hello-elementor-child
*/


/* Custom theming */

 .container {
    max-width: 1360px;
    margin: 0 auto;
  }

/* form 1 css */
.search-form {
  display: flex;
  align-items: center;
  gap: 15px;
  position: relative;
}

.search-form input[type="text"] {
  flex: 0 0 250px;
  padding: 12px 16px;
  font-size: 18px;
  font-weight: 400;
  border: none;
  border-radius: 10px;
  background: #fff;
  color: #333;
  outline: none;
  box-shadow: 0 0 0 1px #ddd inset;
  transition: box-shadow 0.3s ease;
}

.search-form input[type="text"]:focus {
  box-shadow: 0 0 0 2px #c0392b inset;
}

.search-form button {
  background-color: #c32b2b;
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  border: 2px solid #f1c6c6;
  border-radius: 30px;
  padding: 12px 40px;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 234px;
  position: absolute;
  right: 0;
}

.search-form button:hover {
  background-color: #a82626;
}

.search-form input[type="text"]::placeholder {
  color: #7A7A7A;
  opacity: 1;
}
  
.elementor-button {
    height: 51px !important;
}

/* Tablet view */
@media (max-width: 1024px) {
  .search-form {
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }

  .search-form input[type="text"] {
    flex: 1 1 45%;
  }

  .search-form button {
    position: static;
    width: auto;
    padding: 10px 50px;
  }
}

/* Mobile view */
@media (max-width: 600px) {
  .search-form {
    flex-direction: column;
    align-items: stretch;
  }

  .search-form input[type="text"],
  .search-form button {
    width: 100%;
  }

  .search-form button {
    font-size: 16px;
    padding: 12px 0;
  }
}

/* form 2 css */
.tyre-search-form {
  display: flex;
  align-items: center;
  justify-content: left;
  gap: 12px;
  max-width: 1360px;
  margin: 0 auto;
}

.tyre-search-form select,
.tyre-search-form input[type="text"] {
  flex: 0 0 clamp(100px ,10vw,165px);
  padding: 12px 12px;
  font-size: 16px;
  font-weight: 400;
  border: none;
  border-radius: 10px;
  background: #fff;
  color: #333;
  outline: none;
  box-shadow: 0 0 0 1px #ddd inset;
  transition: box-shadow 0.3s ease;
}

.tyre-search-form select:focus,
.tyre-search-form input[type="text"]:focus {
  box-shadow: 0 0 0 2px #c0392b inset;
}

.tyre-search-form input[type="text"]::placeholder {
  color: #7A7A7A;
  opacity: 1;
}

/* Old button design */
.tyre-search-form button {
  background-color: #c32b2b;
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  border: 2px solid #f1c6c6;
  border-radius: 30px;
  padding: 10px 40px;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 234px;
}

.tyre-search-form button:hover {
  background-color: #a82626;
}

/* Tablet view */
@media (max-width: 1024px) {
  .tyre-search-form {
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }

  .tyre-search-form select,
  .tyre-search-form input[type="text"] {
    flex: 1 1 28%;
    min-width: 200px;
  }

  .tyre-search-form button {
    width: auto;
    padding: 10px 35px;
  }
}

/* Mobile view */
@media (max-width: 600px) {
  .tyre-search-form {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .tyre-search-form select,
  .tyre-search-form input[type="text"],
  .tyre-search-form button {
    width: 100%;
  }

  .tyre-search-form button {
    font-size: 16px;
    padding: 12px 0;
  }
}
/* form 2 css end */


.vehicle-section {
  margin: 40px auto;
  font-family: Arial, sans-serif;
  color: #000;
  padding: 0 15px;
}

.vehicle-section h2 {
  font-size: 2vw !important;
  font-weight: 700 !important;
  border-bottom: 1px dotted #666 !important;
  padding-bottom: 10px !important;
  margin-bottom: 15px !important;
}

.vehicle-info p {
  margin: 6px 0;
  font-size: 15px;
}

.vehicle-info span {
  display: inline-block;
  width: 120px;
  color: #555;
}

.vehicle-info strong {
  font-weight: 700;
}

.change-vehicle {
  display: inline-block;
  color: #c32b2b;
  font-size: 14px;
  margin-top: 10px;
  text-decoration: none;
}

.change-vehicle:hover {
  text-decoration: underline;
}

.tyre-box {
  background: #f4f4f4;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 20px;
  margin-top: 25px;
}

.tyre-box h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 15px;
}

.tyre-option {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  cursor: pointer;
  user-select: none;
  margin-bottom: 10px;
}

.tyre-option input {
  display: none;
}

.custom-check {
  width: 18px;
  height: 18px;
  border: 2px solid #c32b2b;
  border-radius: 3px;
  position: relative;
  display: inline-block;
}

.custom-check::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 0px;
  width: 6px;
  height: 10px;
  border: solid #c32b2b;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  opacity: 0;
}

.tyre-option input:checked + .custom-check::after {
  opacity: 1;
}

.fit-text {
  color: #555;
  font-size: 14px;
}

.divider {
  border-top: 1px solid #ccc;
  margin: 15px 0;
}

.no-size {
  font-size: 14px;
  color: #333;
}

.no-size a {
  color: #c32b2b;
  text-decoration: none;
}

.no-size a:hover {
  text-decoration: underline;
}

.recommend-text {
  text-align: center;
  margin: 25px 0 15px;
  font-size: 14px;
}

.recommend-text a {
  color: #c32b2b;
  text-decoration: none;
  font-weight: 600;
}

.recommend-text a:hover {
  text-decoration: underline;
}

.search-btn {
  display: block !important;
  margin: 25px auto 0 !important;
  background-color: #c32b2b !important;
  color: #fff !important;
  font-weight: 700 !important;
  font-size: 18px !important;
  border: 2px solid #f1c6c6 !important;
  border-radius: 30px !important;
  padding: 10px 40px !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  width: 234px !important;
  text-align: center !important;
  text-decoration: none !important;
}

.search-btn:hover {
  background-color: #a62222 !important;
  transform: scale(1.03) !important;
}


/* Responsive */
@media (max-width: 767px) {
  .vehicle-info span {
    width: 100px;
  }

  .vehicle-section h2 {
    font-size: 16px;
  }

  .tyre-box {
    padding: 15px;
  }

  .search-btn {
    width: 100%;
  }
  .banner-left{
    display: none;
  }
}
/* Tabs container */
.tab-container {
  border-radius: 12px;
  display: inline-block;
  padding: 0px 0px 20px;
  width: 100%;
}

/* Tabs */
.tabs {
  display: flex;
}

.tab {
  color: #fff;
  font-weight: 600;
  font-size: 18px;
  padding: 10px 20px;
  border-radius: 0px;
  background-color: #3B615A;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.tab.active {
  background-color: #569186;
}

.tabs > *:first-child {
  border-top-left-radius: 30px;
}
.tabs > *:last-child {
  border-top-right-radius: 30px;
}

.tab:hover {
  background-color: #3e6e63;
}

/* Tab content */
.tab-content {
  display: none;
  padding: 20px;
  background: #3b615a;
  border-radius: 0px 30px 30px;
}

.tab-content.active {
  display: block;
  padding: 20px;
  background: #569186;
  border-radius: 0px 30px 30px;
}

/* Forms layout only */
.search-form,
.tyre-search-form {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.search-form input,
.tyre-search-form input,
.tyre-search-form select {
  flex: 1 1 10px;
}

.search-form button,
.tyre-search-form button {
  flex: 0 0 auto;
}

/* ✅ Mobile only: keep same layout, smaller text */
@media (max-width: 767px) {
  .tab {
    font-size: 14px;
    padding: 8px 15px;
  }
}

/* === Find offers === */

/* === BANNER SECTION === */
.banner {
  position: relative;
  background-image: url('https://tyretick.newsoftdemo.info/wp-content/uploads/2025/11/Mask-group-28.png');
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 80px 10%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 500px;
  font-family: "Instrument Sans", sans-serif;
  margin-bottom: 150px;
}

/* Content Wrapper */
.banner-content {
  width: 100%;
  max-width: 1360px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 160px;
  position: relative;
  z-index: 2;
}

/* Left */
.banner-left {
  max-width: 350px;
}

.banner-left p {
  margin: 0;
  font-size: 15px;
  color: #ddd;
}

.banner-left h3 {
  font-size: 28px;
  margin: 8px 0;
  font-weight: 700;
}

.banner-left span {
  display: block;
  font-size: 15px;
  color: #ccc;
}

/* Right */
.banner-right {
  text-align: left;
  flex: 1;
}

.banner-right h1 {
  font-size: clamp(32px, 4vw + 1rem, 75px) !important;
  /* ⬆ Responsive scaling magic: smoothly scales between 32–75px */
  font-weight: 700;
  margin: 0;
  line-height: 1.1;
  text-align: center !important;
  width: fit-content;
}


/* === FILTER BAR === */
.filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #5e8a83;
  padding: 20px 25px;
  border-radius: 12px;
  margin-top: 40px;
  flex-wrap: wrap;
  gap: 20px;
  width: 100%;
  max-width: 1200px;
  font-family: "Instrument Sans", sans-serif;
}

.filter-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

/* Dropdowns */
.filter-bar select {
  flex: 0 0 200px;
  padding: 12px 14px;
  font-size: 16px;
  border: none;
  border-radius: 10px;
  background-color: #fff;
  color: #333;
  outline: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml;utf8,<svg fill='%23c32b2b' height='12' viewBox='0 0 24 24' width='12' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 12px;
  appearance: none;
  box-shadow: 0 0 0 1px #ddd inset;
}

.filter-bar select:focus {
  box-shadow: 0 0 0 2px #c32b2b inset;
}

/* Checkboxes */
.filter-bar label {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #ffffff;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
}

.filter-bar input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #c32b2b;
  cursor: pointer;
}

/* Button */
.filter-btn {
  background-color: #c32b2b !important;
  color: #fff !important;
  font-weight: 700 !important;
  font-size: 18px !important;
  border: 2px solid #f1c6c6 !important;
  border-radius: 30px !important;
  padding: 12px 40px !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  text-align: center !important;
  white-space: nowrap !important;
}

.filter-btn:hover {
  background-color: #a82626 !important;
  transform: scale(1.03) !important;
}

/* === RESPONSIVE === */

/* 1366px ↓ */
@media (max-width: 1366px) {
  .banner {
    padding: 60px 6%;
  }

  .banner-left h3 {
    font-size: 24px;
  }

  .banner-right h1 {
    font-size: clamp(30px, 3.5vw + 1rem, 60px);
  }
}

/* 1024px ↓ */
@media (max-width: 1024px) {
  .banner-content {
    flex-direction: column;
    align-items: center;
    gap: 30px;
    text-align: center;
  }

  .banner-left, .banner-right {
    max-width: 100%;
    text-align: center;
  }

  .banner-left h3 {
    font-size: 22px;
  }

  .banner-right h1 {
    font-size: clamp(28px, 3vw + 1rem, 48px);
  }

  .filter-bar {
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .filter-group {
    justify-content: center;
    flex-wrap: wrap;
  }
}

/* 767px ↓ */
@media (max-width: 767px) {
  .banner {
    padding: 50px 20px;
  }

  .banner-left h3 {
    font-size: 20px;
  }

  .banner-right h1 {
    font-size: clamp(26px, 4vw + 0.5rem, 36px) !important;
    line-height: 100% !important ;
  }

  .filter-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 15px;
  }

  .filter-group {
    flex-direction: column;
    align-items: stretch;
    gap: 30px;
  }

  .filter-bar select {
    width: 100%;
    flex: 0;
  }

  .filter-bar label {
    font-size: 14px;
  }

  .filter-btn {
    width: 100% !important;
    font-size: 16px !important;
    padding: 12px 0 !important;
  }
}

/* 480px ↓ */
@media (max-width: 480px) {
  .banner-right h1 {
    font-size: clamp(22px, 5vw + 0.5rem, 30px);
  }

  .banner-left span {
    font-size: 13px;
  }
}



h2.product-heading {
    font-size: 30px !important;
    font-weight: 700 !important;
    font-family: 'Instrument Sans' !important;
    position: relative;
    top: -130px;
    margin-bottom: -113px;
}
section.product-info-cards{
  background:#F5F5F5;
}

.tyre-card {
  position: relative;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  padding: 25px;
  width: 370px;
  font-family: "Instrument Sans", sans-serif;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* Discount label */
.discount {
  font-size: 18px;
  font-weight: 700;
  color: #000;
}

/* Brand logo */
.brand-logo {
  position: absolute;
  top: 25px;
  right: 25px;
  height: 30px;
}

/* Tyre image */
.tyre-image {
  position: absolute;
  right: 20px;
  top: 90px;
}

.tyre-image img {
  width: 140px;
  height: auto;
}

/* Details */
.tyre-details {
  margin-top: 10px;
  max-width: 100%;
  width: 100%;
}

.tyre-details h3 {
  font-size: 15px;
  margin: 5px 0;
  font-weight: 400;
}

.tyre-details p {
  margin: 0;
  font-size: 15px;
  color: #000;
  font-weight: 400;
}

/* Rating */
.rating {
  color: #ffc107;
  font-size: 18px;
  margin: 8px 0;
}

/* Specs */
.specs {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 8px;
}

.specs div {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  margin-top: 6px;
  margin-bottom: 6px;
}

.specs img {
  width: 18px;
  height: 18px;
}

/* dB info fix */
.db-info {
  margin-bottom: -23px !important;
}

/* Tags */
.tags {
  display: flex;
  gap: 15px;
  margin: 10px 0;
  justify-content: flex-end;
}

.tag {
      font-weight: 400;
    font-size: 12px;
    line-height: 23px;
    display: flex;
    align-content: center;
    flex-direction: row;
    gap: 5px;
}

/* Price section */
.price-label {
  font-size: 12px !important;
  color: #444;
  margin-top: 18px !important;
  margin-bottom: -24px !important;
  text-align: left !important;
}

.price {
  font-size: 25px !important;
  font-weight: 700 !important;
  margin: 5px 0 10px;
  text-align: right !important;
}

/* Quantity + Button */
.buy-section {
  display: flex;
  align-items: center;
  gap: 15px;
  justify-content: space-between;
}

.quantity {
  border: 1px solid #ccc;
  border-radius: 10px;
  padding: 8px 18px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 55px;
}

.buy-btn {
  display: inline-block;
  background-color: #c32b2b !important;
  color: #fff !important;
  font-weight: 700 !important;
  font-size: 18px !important;
  border: 2px solid #f1c6c6 !important;
  border-radius: 30px !important;
  padding: 10px 40px !important;
  text-decoration: none !important;
  text-align: center !important;
  transition: all 0.3s ease !important;
  max-width: 177px;
  width: 100%;
}

.buy-btn:hover {
  background-color: #a82626 !important;
}

/* Date */
.date {
  font-size: 13px;
  color: #333;
  margin-top: 10px;
}

.tyre-buy-section {
  max-width: 370px;
  width: 100%;
  margin-top: 20px;
}


/* === RESPONSIVE (keeps desktop layout same) === */
@media (max-width: 767px) {
  .tyre-card {
    width: 370px !important;
    text-align: left !important;
    align-items: flex-start !important;
    flex-direction: column !important;
    padding: 25px !important;
    margin: 0 auto !important;
  }

  .brand-logo {
    position: absolute !important;
    top: 25px !important;
    right: 25px !important;
    height: 30px !important;
  }

  .tyre-image {
    position: absolute !important;
    right: 20px !important;
    top: 90px !important;
  }

  .tyre-image img {
    width: 140px !important;
    height: auto !important;
  }

  .tyre-details {
    width: 100% !important;
    padding-right: 0px !important;
    text-align: left !important;
  }

  .specs,
  .tags,
  .price-label,
  .price,
  .buy-section,
  .date {
    /* text-align: left !important; */
    /* justify-content: flex-start !important; */
  }

  .buy-section {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 15px !important;
  }

  .buy-btn {
    width: 177px !important;
  }
}

.quantity-dropdown {
  background-color: #fff;
  border: 2px solid #000;
  border-radius: 5px;
  padding: 6px 10px;
  font-weight: 600;
  cursor: pointer;
  outline: none;
  text-align: center;
  width: 60px;
  font-size:18px;
}

/* second card */

h2.product-heading.second-section {
    margin: 0px !important;
    top: 0px;
    padding: 30px 0px;
}

.tyre-item {
  display: flex;
  justify-content: space-between;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 15px;
  padding: 20px 25px;
  max-width: 1360px;
  margin:0px;
  font-family: "Instrument Sans", sans-serif;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

/* LEFT */
.tyre-item-left {
  width: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.tyre-img {
  width: 100%;
}
.tyre-brand {
  width: 90px;
}

/* CENTER */
.tyre-item-center-top {
  flex: 0.1;
  padding: 0 0px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.tyre-offer {
  font-weight: 700;
  font-size: 16px;
  margin: 0 0 4px;
}
.tyre-name {
  font-weight: 600;
  font-size: 15px;
  margin: 0;
}
.tyre-dimension {
  font-size: 14px;
  color: #555;
  margin: 2px 0 8px;
}
.tyre-rating {
  color: #ffc107;
  font-size: 15px;
  margin-bottom: 10px;
}

.tyre-item-center-bottom {
  flex: 0.5;
  padding: 0 0px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.tyre-specs {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 10px;
  flex-direction: column;
}
.tyre-specs div {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
}
.tyre-specs img {
  width: 14px;
  height: 14px;
}
.tyre-line {
  width: 100%;
  height: 1px;
  background: #eee;
  margin: 8px 0;
}
.tyre-tags {
  display: flex;
  gap: 20px;
  font-size: 13px;
  color: #2d6856;
}

/* RIGHT */
.tyre-item-right {
  width: max-content;
  text-align: right;
  flex:0.27;
}
.tyre-price-box {
  margin-bottom: 10px;
}
.tyre-price-label {
  font-size: 13px;
  color: #555;
  margin: 0;
  text-align: left;
  margin-bottom: -30px;
}
.tyre-price {
  font-weight: 700;
  font-size: 22px;
  margin: 2px 0 10px;
}
.tyre-price span {
  font-size: 14px;
}

/* ✅ Quantity Dropdown */
.tyre-qty-select {
  border: 1px solid #ddd;
  padding: 8px 15px;
  border-radius: 8px;
  font-size: 18px;
  line-height: 40px;
  background-color: #fff;
  appearance: none;
  cursor: pointer;
  background-image: url('https://tyretick.newsoftdemo.info/wp-content/uploads/2025/11/Group-14.svg');
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 12px;
  padding-right: 30px;
  max-width: 76px;
}
.tyre-qty-select:focus {
  outline: none;
  border-color: #c32b2b;
}

.tyre-buy-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}
.tyre-buy-btn {
  background: #c32b2b;
  color: #fff;
  border: 2px solid #f1c6c6;
  border-radius: 25px;
  font-weight: 700;
  font-size: 18px;
  padding: 8px 35px;
  text-decoration: none;
  transition: all 0.3s ease;
  max-width: 177px;
  width:100%;
  text-align: center;
  line-height: 40px;
}
.tyre-buy-btn:hover {
  background: #a82020;
}
.tyre-available {
  font-size: 12px;
  color: #666;
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .tyre-item {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
  }
  .tyre-item-center-top {
    border-right: none;
    border-bottom: 1px solid #eee;
    margin-bottom: 15px;
    padding-bottom: 10px;
    flex: 0.6;
  }
  .tyre-item-right {
    text-align: left;
    width: 100%;
  }
}


.container.line {
    margin-top: 40px;
}

.container.bottom {
    padding-bottom: 86px;
}



