body {
  margin: 0px;
  background-color: #2e3234;
  font-family:
    "Inter",
    "Roboto",
    "Noto Sans",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}
.fullmachine {
  color: #ff0000;
  font-weight: bolder;
}
.bobcat {
  color: #ff3600;
  font-weight: bolder;
}
.header {
  gap: 20px;
}
.landing .header {
  background-color: white;
  height: 90px;
  display: flex;
  align-items: center;
  padding: 10px 40px;
  justify-content: space-between;
}
.landing .logo-partners img {
  height: 40px;
  width: auto;
  object-fit: contain;
}
.top-bar {
  width: 100%;
  background-color: #ff0000;
  color: white;
  padding: 8px 0;
  overflow: hidden;
  font-family:
    "Inter",
    "Roboto",
    "Noto Sans",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-weight: bold;
}
.phones {
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: space-evenly;
}
.hero {
  position: relative;
  background: url("../img/backgrounds/backgroud_bobcat_excavators.jpeg")
    center/cover no-repeat;
  height: 650px;
  padding: 30px 30px;
  display: flex;
  justify-content: center;
  color: white;
  text-align: center;
  font-family: Arial, sans-serif;
}
.hero .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
}
.hero .content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}
.hero .content h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}
.hero .content p {
  font-size: 1.2rem;
  margin-bottom: 40px;
}
.hero .cards {
  display: flex;
  gap: 40px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero .card,
.hero .card * {
  text-decoration: none;
  color: #333;
}
.hero .card {
  background: rgba(255, 255, 255, 0.7);
  padding: 20px;
  border-radius: 12px;
  width: 300px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.hero .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.3);
}
.hero .card h2 {
  font-size: 40px;
  margin: 0px;
}
.hero .card p {
  font-size: 0.9rem;
  margin: 1rem;
}
.site-footer {
  background-color: white;
  color: black;
}
footer {
  background-color: #2e3234;
}
.footer-top {
  color: white;
  font-family:
    "Inter",
    "Roboto",
    "Noto Sans",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 25px 40px;
  align-items: stretch;
}
.footer-box {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-top a {
  text-decoration: none;
  color: inherit;
}
.footer-links h4 {
  display: inline;
  margin: 0;
  font-size: inherit;
}
.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li {
  margin-bottom: 6px;
}
.footer-links li h4 + a,
.footer-links li h4 + span {
  margin-left: 5px;
}
.footer-box iframe {
  width: 220px;
  height: 180px;
  object-fit: cover;
  border-radius: 6px;
  margin-top: auto;
}
.footer-socials {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}
.footer-socials img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}
.footer-bottom {
  text-align: right;
  margin-top: auto;
  border-top: 1px solid #444;
  padding: 10px;
  font-size: 14px;
  color: #aaa;
}
.internal .header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  height: 55px;
  background-color: white;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  position: relative;
}
.internal .logo-link img {
  width: 85%;
}
.internal .navbar-header {
  display: flex;
  gap: 20px;
}
.internal .navbar-header a {
  text-decoration: none;
  color: black;
  font-weight: 500;
  transition: color 0.3s;
}
.internal .navbar-header a:hover {
  color: #ff0000;
}
.menu-toggle {
  display: none;
  font-size: 26px;
  background: none;
  border: none;
  cursor: pointer;
}
.banner {
  background-color: #2e3234;
  color: white;
  padding: 10px 20px 20px 20px;
}
.banner h1 {
  margin-top: 0;
  margin-bottom: 10px;
}
.banner h3 {
  margin: 0px;
}
.container {
  background-color: whitesmoke;
  padding: 20px;
  justify-items: center;
  align-items: center;
}
.rent .table {
  width: 60%;
  height: 50px;
}
.terms {
  background-color: whitesmoke;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #2e3234;
  margin: 0;
}
.terms .main {
  padding: 20px;
  margin: 0;
}
.terms h4 {
  color: #2e3234;
  font-size: 22px;
  font-weight: bold;
  margin-top: 30px;
  margin-bottom: 15px;
  text-align: center;
}
.terms p {
  max-width: 85%;
  margin: 0 auto 15px auto;
  text-align: justify;
}
.terms h5 {
  color: #2e3234;
  font-size: 16px;
  font-weight: bold;
  padding-right: 5px;
  text-align: justify;
  margin: 0 auto 15px auto;
  max-width: 85%;
}
.rent .block {
  background-color: whitesmoke;
  padding: 20px 20%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  justify-items: center;
  align-items: center;
  font-family: Arial, Helvetica, sans-serif;
}
.rent .box {
  max-width: 300px;
  width: 300px;
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 10px;
  flex: 1 1 250px;
  background-color: white;
  margin: 10px;
  min-width: 220px;
  border-radius: 15px 50px 15px;
  transition: all ease 0.5s;
  color: #ff0000;
  padding: 3px 5px;
  box-shadow: 2px 3px #c6c8c9;
}
.rent .box img {
  width: 70px;
  height: auto;
  display: block;
  margin: 0;
}
.rent .box h3 {
  margin: 0;
  color: inherit;
}
.rent .box:hover,
.rent .box:hover {
  transform: translateY(-5px);
  box-shadow: 5px 10px #2e3234;
  background-color: #ff0000;
  color: white;
}
.lable {
  color: #2e3234;
  background-color: whitesmoke;
  padding: 10px 20px;
  gap: 20px;
}
.lable p {
  margin: 0;
}
.lable a {
  color: inherit;
  text-decoration: underline dotted;
  text-underline-offset: 3px;
}
.breakline {
  border: none;
  border-top: 2px solid #ff0000;
  width: 95%;
  margin: 50px 0;
}
.rent .block2,
.buy .filler {
  background-color: whitesmoke;
  justify-content: center;
  align-content: center;
  padding: 10px 20px;
}
.rent .block2 img,
.buy .filler img {
  border: 2px #2e3234;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 15px 50px 15px;
  display: block;
}
.category,
.used,
.about,
.partners,
.buy,
.admin {
  background-color: whitesmoke;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #2e3234;
}
.category .content,
.used .content {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 20px;
  width: 100%;
  padding: 20px;
  box-sizing: border-box;
  align-items: flex-start;
}
.category .btn,
.used .btn {
  border-radius: 15px 50px 15px;
  background-color: #ff0000;
  text-decoration: none;
  padding: 5px 20px;
  margin: 10px;
  transition: all ease 0.5s;
  text-align: center;
  font-weight: bold;
  color: white;
  white-space: nowrap;
  width: 180px;
  flex: 0 0 auto;
  box-shadow: 2px 3px #c6c8c9;
}
.category .btn:hover,
.used .btn:hover {
  transform: translateY(-5px);
  box-shadow: 5px 10px #2e3234;
  background-color: white;
  color: #ff0000;
  cursor: pointer;
}
.category .filters,
.used .filters {
  flex: 0 0 250px;
  min-width: 200px;
  padding: 20px;
  top: 20px;
  margin-top: 25px;
  padding-bottom: 15px;
}
.category .filters {
  position: sticky;
}
.category .filter:last-child,
.used .filter:last-child {
  border-bottom: none;
}
.category .filter h4,
.used .filter h4 {
  margin-bottom: 12px;
  color: #ff0000;
  font-size: 18px;
}
.category .filter label,
.used .filter label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}
.category .filter input[type="checkbox"],
.used .filter input[type="checkbox"],
.used .filter input[type="radio"] {
  display: none;
}
.category .filter .label-text::before,
.used .filter .label-text::before {
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 3px;
  background: #c6c8c9;
  display: inline-block;
  margin-right: 8px;
  transition: all 0.2s ease;
}
.category .filter label:hover,
.used .filter label:hover {
  transform: translateX(3px);
}
.category .filter input[type="checkbox"]:checked + .label-text,
.used .filter input[type="checkbox"]:checked + .label-text,
.used .filter input[type="radio"]:checked + .label-text {
  color: #ff0000;
}
.category .filter input[type="checkbox"]:checked + .label-text::before,
.used .filter input[type="checkbox"]:checked + .label-text::before,
.used .filter input[type="radio"]:checked + .label-text::before {
  background: #ff0000;
}
.category .display,
.used .display {
  flex: 1;
  padding: 20px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
  width: 100%;
  box-sizing: border-box;
}

.category .card,
.used .card {
  display: flex;
  color: #2e3234;
  padding: 20px;
  flex-direction: column;
  background-color: white;
  border-radius: 15px 50px 15px;
  overflow: hidden;
  box-shadow: 2px 3px #c6c8c9;
  transition: all 0.3s ease;
  text-decoration: none;
  height: 100%;
  box-sizing: border-box;
}

.category .card img,
.used .card img {
  width: 100%;
  height: 200px;
  object-fit: contain; 
  border-radius: 10px;
  display: block;
}

.category .card:hover,
.used .card:hover {
  transform: translateY(-5px);
  box-shadow: 5px 10px #2e3234;
  background-color: white;
  cursor: pointer;
}

.category .card h3,
.equipment-card h3,
.used .card h3 {
  margin: 0;
  margin-top: auto; 
  padding: 15px 0 0 0;
  font-size: 1.1rem;
  text-align: center;
  color: #2e3234;
  font-family: sans-serif;
}
#equipment-display,
#used-display {
  transition: opacity 200ms ease;
}
#equipment-display.fading,
#used-display.fading {
  opacity: 0;
}
.category .range-filter,
.used .range-filter {
  margin-bottom: 30px;
  padding: 0 5px;
}
.category .range-values,
.used .range-values {
  display: flex;
  justify-content: space-between;
  font-weight: bold;
  font-size: 14px;
  color: #2e3234;
  margin-bottom: 12px;
}
.category .range-slider.noUi-target,
.used .range-slider.noUi-target {
  background: #c6c8c9;
  border-radius: 4px;
  border: none;
  box-shadow: none;
  height: 6px;
  margin-top: 10px;
}
.category .range-slider .noUi-connect,
.used .range-slider .noUi-connect {
  background: #ff0000;
}
.category .range-slider .noUi-handle,
.used .range-slider .noUi-handle {
  height: 18px;
  width: 18px;
  border-radius: 50%;
  background: #ff0000;
  border: 2px solid #ffffff;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  top: -6px;
  transition: transform 0.15s ease;
}
.category .range-slider .noUi-handle::before,
.category .range-slider .noUi-handle::after,
.used .range-slider .noUi-handle::before,
.used .range-slider .noUi-handle::after {
  display: none;
}
.category .range-slider .noUi-handle:hover,
.used .range-slider .noUi-handle:hover {
  transform: scale(1.2);
}
.contacts .container {
  background-color: whitesmoke;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 40px;
}
.contacts .block {
  width: 30%;
  padding: 20px;
  margin: 0;
  display: flex;
  flex-direction: column;
}
.contacts .body,
.contacts .text {
  display: flex;
  flex-direction: column;
}
.contacts .map,
.contacts .map iframe {
  width: 100%;
}
.contacts .text {
  gap: 15px;
  margin-top: 10px;
}
.contacts .item {
  display: flex;
  align-items: center;
  gap: 10px;
}
.contacts .item img {
  width: 45px;
  height: auto;
}
.contacts .item a {
  color: #2e3234;
  text-decoration: none;
}
.contacts .item a:hover {
  color: #ff0000;
  text-decoration: underline;
}
.contacts .form {
  flex: 1;
  padding: 20px;
  font-weight: bold;
  width: 100%;
}
.contacts .form label {
  display: block;
  margin-top: 20px;
  margin-bottom: 6px;
  font-size: 0.9rem;
  opacity: 0.9;
}
.contacts .form input[type="text"],
.contacts .form input[type="email"],
.contacts .form textarea {
  padding: 12px 15px;
  border-radius: 10px;
  border: none;
  outline: none;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  color: #2e3234;
  width: 100%;
  box-sizing: border-box;
  box-shadow: 5px 5px #ff0000;
}
.contacts .form textarea {
  min-height: 120px;
  resize: none;
}
.contacts .form input:focus,
.contacts .form textarea:focus {
  background: #2e3234;
  color: white;
}
.contacts .form input[type="checkbox"] {
  margin-right: 8px;
  accent-color: #ff0000;
}
.contacts .form button {
  margin-top: 30px;
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  color: #2e3234;
  transition: all 0.3s ease;
  box-shadow: 2px 3px #c6c8c9;
}
.form button:hover {
  transform: translateY(-3px);
  background-color: #ff0000;
  color: white;
}
.contacts .image {
  flex: 1;
  padding: 20px;
}
.contacts .image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 40px;
}
.thank_you .btn {
  margin-top: 30px;
  text-align: center;
  background-color: whitesmoke;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #2e3234;
  padding: 30px 50px;
}
.thank_you .btn a {
  display: inline-block;
  padding: 12px 28px;
  background-color: white;
  color: #ff0000;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  border-radius: 6px;
  transition:
    background-color 0.3s ease,
    transform 0.15s ease;
}
.thank_you .btn a:hover {
  background-color: #ff0000;
  color: white;
  transform: translateY(-2px);
}
.btn a:active {
  transform: translateY(0);
}
.about .box {
  width: auto;
  text-align: left;
  padding: 20px 50px;
  margin: 0;
}
.about .box h4 {
  margin-bottom: 25px;
  font-size: 24px;
}
.about .box p,
.about .box ul,
.about .box li {
  margin-bottom: 25px;
}
.about .box p {
  line-height: 1.6;
  text-align: left;
}
.about .box ul {
  padding-left: 20px;
}
.about .box li::marker {
  color: #ff0000;
}
.partners {
  margin: 0;
  align-content: center;
}
.partners .container {
  max-width: 100%;
  padding: 40px 40px;
}
.partners .block {
  max-width: 85%;
  display: flex;
  flex-direction: column;
  margin-bottom: 30px;
  margin-top: 10px;
}
.partners .logo,
.partners .logo2 {
  width: 300px;
  margin-bottom: 30px;
}
.partners .logo {
  align-self: flex-start;
}
.partners .logo2 {
  align-self: flex-end;
}
.partners .box {
  display: flex;
  gap: 40px;
  text-align: left;
}
.partners .text {
  flex: 3;
  font-size: 16px;
  display: flex;
  flex-direction: column;
  line-height: 1.6;
  justify-content: center;
  gap: 15px;
}
.partners .image {
  flex: 2;
  overflow: hidden;
}
.partners .image img {
  max-height: 300px;
  width: 100%;
  height: auto;
  border-radius: 20px;
}
.buy .carousel {
  width: 100%;
  margin: 0 auto;
}
.buy .container {
  padding: 5px;
}
.buy .slider-active {
  display: flex;
  gap: 40px;
  padding: 5px;
  transition: opacity 0.3s ease;
}
.buy .slider-active .image {
  flex: 0 0 30%;
  aspect-ratio: 1/1;
  overflow: hidden;
  border-radius: 18px;
  background-color: #fff;
  box-shadow: 3px 7px #c6c8c9;
}
.buy .slider-active .image img,
.buy .slider img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  background: white;
}
.buy .content {
  flex: 1;
  max-width: 100%;
  height: 100%;
  max-height: 100%;
}
.buy .brand-title {
  grid-column: 1 / -1;
  font-size: 18px;
  font-weight: bold;
  color: #2e3234;
  margin: 5px 0 5px;
  padding-left: 5px;
  border-left: 4px solid #ff0000;
  line-height: 1.2;
}
.buy .content h2 {
  font-size: 38px;
  margin-bottom: 22px;
  line-height: 1.2;
  color: #ff0000;
}
.buy .models {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  align-items: start;
}
.buy .models h3 + .model-btn,
.buy .brand-title + .model-btn {
  margin-top: 0;
}
.buy .models h3 {
  margin-top: 10px;
}
.buy .model-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  width: 90%;
  background-color: white;
  border-radius: 15px 50px 15px;
  transition: all ease 0.5s;
  color: #ff0000;
  padding: 2px 10px;
  text-align: center;
  font-weight: bold;
  box-shadow: 2px 3px #c6c8c9;
}
.buy .model-btn:hover {
  transform: translateY(-5px);
  box-shadow: 5px 10px #2e3234;
  background-color: #ff0000;
  color: white;
}
.buy .slider-btn {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 20px 0 15px;
  padding: 0 10px;
}
.buy .btn {
  border-radius: 15px 50px 15px;
  background-color: #ff0000;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding: 5px 20px;
  transition: all ease 0.5s;
  text-align: center;
  font-weight: bold;
  color: white;
  white-space: nowrap;
  width: 180px;
  flex: 0 0 auto;
  box-shadow: 2px 3px #c6c8c9;
}
.buy .btn:hover {
  transform: translateY(-5px);
  box-shadow: 5px 10px #2e3234;
  background-color: white;
  color: #ff0000;
  cursor: pointer;
}
.error .container {
  background-color: #2e3234;
}
.login {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background:
    linear-gradient(rgba(46, 50, 52, 0.85), rgba(46, 50, 52, 0.85)),
    url("../img/backgrounds/backgroud_bobcat_excavators.jpeg") center/cover
      no-repeat;
  padding: 20px;
  box-sizing: border-box;
  font-family:
    "Inter",
    "Roboto",
    "Noto Sans",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}
.login h2 {
  color: white;
  font-size: 2rem;
  margin: 0 0 10px;
  text-align: center;
}
.login p {
  color: #c6c8c9;
  margin: 0 0 30px;
  text-align: center;
}
.login form {
  background: white;
  width: 100%;
  max-width: 420px;
  padding: 35px;
  border-radius: 15px 50px 15px;
  box-shadow: 5px 10px #2e3234;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.login input[type="password"] {
  width: 100%;
  padding: 14px 16px;
  border: none;
  border-radius: 10px;
  background: whitesmoke;
  color: #2e3234;
  font-size: 1rem;
  box-sizing: border-box;
  transition: all 0.3s ease;
  box-shadow: 3px 4px #ff0000;
}
.login input[type="password"]:focus {
  outline: none;
  background: #2e3234;
  color: white;
}
.login button {
  border: none;
  border-radius: 15px 50px 15px;
  background-color: #ff0000;
  color: white;
  font-weight: bold;
  font-size: 1rem;
  padding: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 2px 3px #c6c8c9;
}
.login button:hover {
  transform: translateY(-5px);
  background-color: white;
  color: #ff0000;
  box-shadow: 5px 10px #2e3234;
}
.login .error {
  width: 100%;
  max-width: 420px;
  margin-bottom: 20px;
  padding: 14px 18px;
  background: rgba(255, 0, 0, 0.12);
  border-left: 5px solid #ff0000;
  color: white;
  border-radius: 10px;
  text-align: center;
  box-sizing: border-box;
  font-weight: bold;
}
.admin {
  padding: 30px;
  max-width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}
.admin h1 {
  font-size: 2rem;
  color: #ff0000;
  margin-bottom: 5px;
  font-weight: bold;
}
.admin p {
  color: #2e3234;
  margin-top: 0;
  margin-bottom: 30px;
}
.admin .tabs {
  display: flex;
  gap: 15px;
  border-bottom: 2px solid #c6c8c9;
  margin-bottom: 25px;
  padding-bottom: 5px;
}
.admin .tabs .link {
  padding: 10px 25px;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  color: #2e3234;
  border-radius: 10px 10px 0 0;
  transition: all ease 0.3s;
}
.admin .tabs .link:hover {
  color: #ff0000;
}
.admin .tabs .link.active {
  background-color: #ff0000;
  color: white;
}
.admin .actions {
  margin-bottom: 25px;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}
.admin .btn-admin {
  border-radius: 15px 50px 15px;
  text-decoration: none;
  padding: 8px 25px;
  transition: all ease 0.5s;
  text-align: center;
  font-weight: bold;
  color: white;
  white-space: nowrap;
  box-shadow: 2px 3px #c6c8c9;
  display: inline-block;
}
.admin .btn-admin:hover {
  transform: translateY(-3px);
  box-shadow: 4px 6px #2e3234;
  background-color: white;
  cursor: pointer;
}
.admin .btn-success {
  background-color: #ff0000;
}
.admin .btn-success:hover {
  color: #ff0000;
}
.admin .btn-secondary {
  background-color: #2e3234;
}
.admin .btn-secondary:hover {
  color: #2e3234;
}
.admin .btn-info,
.admin .btn-admin.btn-info {
  background-color: #c6c8c9;
  color: #2e3234;
  border: none;
  font-weight: bold;
}
.admin .btn-info:hover {
  color: #c6c8c9;
  background-color: #2e3234;
}
.admin .btn-admin.btn-info:hover {
  background-color: #ff0000;
  color: #ffffff;
  transition: all 0.2s ease-in-out;
}
.admin .card {
  display: flex;
  color: #2e3234;
  padding: 25px;
  flex-direction: column;
  background-color: white;
  border-radius: 15px 50px 15px;
  box-shadow: 2px 3px #c6c8c9;
  margin-bottom: 30px;
}
.admin .card h3 {
  margin: 0 0 20px 0;
  font-size: 1.3rem;
  color: #2e3234;
  font-weight: bold;
}
.admin .card h3 span {
  color: #ff0000;
  text-transform: uppercase;
}
.admin .table-responsive {
  overflow-x: auto;
  width: 100%;
}
.admin .admin-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14px;
}
.admin .admin-table th {
  background-color: whitesmoke;
  color: #ff0000;
  font-weight: bold;
  padding: 12px;
  border-bottom: 2px solid #c6c8c9;
}
.admin .admin-table td {
  padding: 15px 12px;
  border-bottom: 1px solid #c6c8c9;
  vertical-align: top;
  background-color: white;
}
.admin .admin-table tr:hover td {
  background-color: #fafafa;
}
.admin .admin-table img {
  width: 80px;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  display: block;
  box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.1);
}
.admin .badge-category {
  background: #c6c8c9;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  color: #2e3234;
  font-weight: bold;
  display: inline-block;
  margin-top: 5px;
}
.admin .price-text {
  font-weight: bold;
  color: #ff0000;
  font-size: 16px;
}
.admin .code-field,
.admin-table .code-field {
  background: whitesmoke;
  padding: 2px 4px;
  border-radius: 3px;
  font-family: monospace;
  font-size: 12px;
  color: #2e3234;
  border: 1px solid #c6c8c9;
}
.admin-table .code-field {
  padding: 2px 5px;
  border-radius: 4px;
}
.admin .action-btn-inline {
  padding: 4px 12px;
  text-decoration: none;
  font-size: 12px;
  font-weight: bold;
  display: inline-block;
  margin-bottom: 5px;
  border-radius: 4px;
  text-align: center;
  min-width: 75px;
  transition: all ease 0.2s;
}
.admin .action-btn-inline.edit {
  background-color: #2e3234;
  color: white;
}
.admin .action-btn-inline.edit:hover,
.admin .action-btn-inline.delete:hover {
  background-color: #ff0000;
}
.admin .action-btn-inline.delete {
  background-color: #c6c8c9;
  color: #2e3234;
}
.admin .action-btn-inline.delete:hover {
  color: white;
}
.admin .logout-form {
  display: flex;
  justify-content: flex-end;
  margin-top: 20px;
}
.admin .logout-btn {
  border-radius: 15px 50px 15px;
  background-color: #2e3234;
  border: 0px solid #2e3234;
  padding: 8px 30px;
  transition: all ease 0.5s;
  font-weight: bold;
  color: white;
  box-shadow: 2px 3px #c6c8c9;
  cursor: pointer;
}
.admin .logout-btn:hover {
  transform: translateY(-3px);
  box-shadow: 4px 6px #ff0000;
  background-color: white;
  color: #ff0000;
  border-color: #ff0000;
}
.admin-form-wrapper {
  max-width: 100%;
  margin: 0 auto;
}
.admin-error-banner {
  background: #ff0000;
  color: white;
  padding: 12px;
  margin-bottom: 20px;
  border-radius: 8px;
  font-weight: bold;
}
.admin-form-card,
.admin-filter-card {
  background: white;
  padding: 30px;
}
.admin-form-card h3,
.admin-filter-card h3 {
  border-bottom: 2px solid #c6c8c9;
  padding-bottom: 10px;
}
.admin-filter-card h3 {
  margin-bottom: 25px;
}
.admin-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.form-group label,
.numeric-label {
  font-weight: bold;
  color: #2e3234;
}
.form-group .label-hint {
  font-weight: normal;
  font-size: 12px;
  color: #666;
}
.form-control {
  padding: 10px;
  border: 1px solid #c6c8c9;
  border-radius: 8px;
  font-size: 15px;
  box-sizing: border-box;
  width: 100%;
}
.select-control {
  background: whitesmoke;
  cursor: pointer;
}
.textarea-control,
.admin-form-card textarea.textarea-control {
  font-family: inherit;
  resize: vertical;
}
.form-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.form-row .form-group {
  flex: 1;
  min-width: 200px;
}
.row-3 .form-group {
  min-width: 130px;
}
.form-submit-row {
  margin-top: 15px;
  display: flex;
  justify-content: flex-end;
}
.submit-btn {
  padding: 12px 40px;
  font-size: 16px;
  border: none;
}
.admin-filter-wrapper {
  max-width: 100%;
  margin: 0 auto;
}
.highlight-eq-name {
  color: #ff0000;
  font-size: 1.1rem;
}
.admin-success-banner {
  background: #2e3234;
  color: white;
  padding: 12px;
  margin-bottom: 20px;
  border-radius: 8px;
  font-weight: bold;
  border-left: 5px solid #ff0000;
}
.filter-inputs-container {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 25px;
}
.filter-row-item {
  padding: 12px 15px;
  background-color: whitesmoke;
  border-radius: 8px;
  border: 1px solid #c6c8c9;
  display: flex;
  align-items: center;
}
.custom-admin-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
  font-weight: bold;
  width: 100%;
}
.custom-admin-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #ff0000;
  cursor: pointer;
}
.custom-admin-checkbox input[type="checkbox"]:checked + .checkbox-text {
  color: #ff0000;
}
.numeric-field-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
}
.form-control-filter {
  padding: 8px 12px;
  border: 1px solid #c6c8c9;
  border-radius: 6px;
  font-size: 14px;
  width: 100%;
  max-width: 300px;
  box-sizing: border-box;
}
.form-control-filter:focus {
  border-color: #ff0000;
  outline: none;
}
.no-data-notice {
  color: #666;
  font-style: italic;
  text-align: center;
  padding: 20px 0;
}
.admin .action-btn-inline.edit-main {
  background-color: #ff0000;
  color: white;
}
.admin .action-btn-inline.edit-main:hover {
  background-color: #2e3234;
}
.form-control[type="file"] {
  padding: 6px 12px;
  background-color: #ffffff;
  border: 1px solid #ced4da;
  border-radius: 4px;
  height: auto;
  display: flex;
  align-items: center;
  cursor: pointer;
}
.form-control[type="file"]::file-selector-button {
  background-color: #4a5568;
  color: #ffffff;
  border: none;
  padding: 6px 16px;
  margin-right: 15px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: background-color 0.2s ease-in-out;
}
.form-control[type="file"]::file-selector-button:hover {
  background-color: #2d3748;
}
.form-control[type="file"]::file-selector-button:active {
  transform: scale(0.98);
}
.whatsappfloat {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 20px;
  right: 20px;
  border-radius: 50%;
  text-align: center;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease-in-out;
}
.whatsappfloat img {
  width: 50px;
  height: auto;
}
.whatsappfloat:hover {
  transform: scale(1.1);
}

@media (max-width: 1200px) {
  .landing .logo-partners {
    display: none;
  }
  .landing .header {
    padding: 15px 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    height: auto;
  }
  .landing .logo-partners img {
    transform: scale(0.6);
    transform-origin: left center;
  }
}
@media (max-width: 1000px) {
  .menu-toggle {
    display: block;
  }
  .internal .navbar-header {
    position: absolute;
    top: 55px;
    left: 0;
    width: 100%;
    background: white;
    flex-direction: column;
    gap: 0;
    display: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
  }
  .internal .navbar-header a {
    padding: 15px 20px;
    border-top: 1px solid #eee;
  }
  .internal .navbar-header.active {
    display: flex;
  }
}
@media (max-width: 925px) {
  .footer-top {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 900px) {
  .partners .container {
    padding: 40px;
  }
  .partners .block {
    max-width: 100%;
  }
  .partners .logo,
  .partners .logo2 {
    width: 200px;
    margin-bottom: 20px;
    align-self: center;
  }
  .partners .box,
  .buy .slider-active,
  .contacts .container {
    flex-direction: column;
  }
  .partners .box {
    gap: 20px;
  }
  .partners .text {
    font-size: 15px;
    text-align: left;
  }
  .partners .image,
  .buy .content,
  .contacts .block {
    width: 100%;
  }
  .partners .image img {
    width: 100%;
    max-height: none;
    height: auto;
    box-shadow: none;
  }
  .partners .banner h1 {
    font-size: 24px;
  }
  .partners .banner h3 {
    font-size: 16px;
  }
  .buy .slider-active {
    gap: 20px;
  }
  .buy .slider-active .image {
    width: 100%;
    max-width: 420px;
    flex: none;
    aspect-ratio: 1 / 1;
  }
  .buy .brand-title {
    font-size: 16px;
    margin: 8px 0 5px;
  }
  .buy .content h2 {
    text-align: center;
    font-size: 28px;
    margin-bottom: 20px;
  }
  .buy .models {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 15px;
    width: 100%;
  }
  .buy .slider-btn {
    gap: 10px;
  }
  .buy .btn {
    flex: 1 1 100%;
    max-width: 100%;
    padding: 12px 10px;
    font-size: 14px;
  }
  .contacts .container {
    justify-items: center;
    align-items: center;
  }
  .contacts .box {
    flex-direction: column;
  }
}
@media (max-width: 768px) {
  .terms {
    font-size: 15px;
    padding: 15px;
  }
  .terms h4 {
    font-size: 20px;
  }
  .terms h3 {
    font-size: 14px;
  }
}
@media (max-width: 650px) {
  .phones {
    position: relative;
    justify-content: center;
  }
  .phones span {
    display: none;
    text-align: center;
    width: 100%;
  }
  .phones span.active {
    display: block;
    animation: fadeSlide 0.4s ease;
  }
  @keyframes fadeSlide {
    from {
      opacity: 0;
      transform: translateY(6px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  .landing .logo-main img {
    max-width: 100%;
    height: auto;
  }
  .hero .card {
    width: 200px;
  }
  .footer-container {
    flex-direction: column;
    align-items: center;
  }
  .footer-box {
    margin: 20px 0;
  }
}
@media (max-width: 600px) {
  .login form {
    padding: 25px;
  }
  .login h2 {
    font-size: 1.7rem;
  }
  .login p {
    font-size: 0.95rem;
  }
}
