/* Shri Krishna KIA responsive refinements */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; }
body { width: 100%; max-width: 100%; overflow-x: clip; }
img, video, iframe { max-width: 100%; }
img { height: auto; }
img[src*="krishna-autozone-logo.png"] {
  display: inline-block;
  width: 176px !important;
  height: 122px !important;
  max-width: 42vw;
  object-fit: cover;
  object-position: center;
  background: #fff;
  border-radius: 7px;
  padding: 2px;
}
.sec-title, .breadcumb-title { overflow-wrap: anywhere; }
.welcome-text-kia-div { width: min(100%, 920px); margin-inline: auto; padding-inline: 12px; }
.welcome-text-kia-div p, .terms-content p { line-height: 1.7; }
.outlet .card, .card { max-width: 100%; }
form .form-control, form .form-select, form textarea { min-width: 0; width: 100%; }
.footer-wrapper, .widget-area, .copyright-wrap { max-width: 100%; overflow: hidden; }
.footer-wrapper a, .footer-wrapper p { overflow-wrap: anywhere; }
.map-sec iframe, .map-sec > iframe { display: block; width: 100%; min-height: 320px; border: 0; }
.th-btn { white-space: normal; }
@media (max-width: 991.98px) {
  .container { max-width: 100%; }
  .header-layout5 .header-logo img, .header-logo img { max-width: 38vw; }
  .breadcumb-wrapper { background-position: center; }
  .space, .space-top, .space-bottom { --section-space: 56px; }
}
@media (max-width: 767.98px) {
  img[src*="krishna-autozone-logo.png"] { width: 128px !important; height: 89px !important; max-width: 38vw; }
  .sec-title { font-size: clamp(1.55rem, 6vw, 2.15rem); line-height: 1.2; }
  .breadcumb-title { font-size: clamp(1.8rem, 8vw, 2.6rem); line-height: 1.15; }
  .breadcumb-content { padding-block: 56px; }
  .welcome-text-kia-div { padding-inline: 8px; }
  .space, .space-top, .space-bottom { --section-space: 42px; }
  .row { --bs-gutter-x: 1.25rem; }
  .contact-form2, .contact-form, .terms-content { max-width: 100%; }
  .footer-wrapper .widget-area { padding-block: 42px 24px; }
  .whatsapp-float { right: 12px; bottom: 14px; max-width: calc(100vw - 24px); }
  .hero, .th-hero-wrapper, .hero-wrapper { overflow: hidden; }
  .hero img, .th-hero-wrapper img { width: 100%; height: auto; object-fit: cover; }
  .table-responsive { overflow-x: auto; -webkit-overflow-scrolling: touch; }
}
@media (max-width: 420px) {
  img[src*="krishna-autozone-logo.png"] { width: 112px !important; height: 78px !important; }
  .th-btn { padding-inline: 16px; }
  .footer-wrapper .footer-text { font-size: .94rem; }
}
/* Brand palette and local hero slider */
:root { --theme-color: #c8102e; --theme-color2: #171717; --title-color: #111111; }
.th-btn, .th-btn.style2 { background-color: #c8102e; border-color: #c8102e; color: #fff; }
.th-btn:hover, .th-btn.style2:hover { background-color: #171717; border-color: #171717; color: #fff; }
.header-social a:hover, .footer-social a:hover { color: #c8102e; }
.main-slider .slider-pc, .main-slider .slider-mob { position: relative; width: 100%; overflow: hidden; }
.main-slider .slider-pc > .item, .main-slider .slider-mob > .item { display: none; width: 100%; }
.main-slider .slider-pc:not(.slick-initialized) > .item:first-child,
.main-slider .slider-mob:not(.slick-initialized) > .item:first-child,
.main-slider .slider-pc > .item.slick-current, .main-slider .slider-mob > .item.slick-current { display: block; }
.main-slider .slider-pc .item img, .main-slider .slider-mob .item img { display: block; width: 100%; height: auto; }
.main-slider .slick-arrow { position: absolute; top: 50%; z-index: 5; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; transform: translateY(-50%); border: 0; border-radius: 50%; background: rgba(17,17,17,.72); color: #fff; font-size: 32px; line-height: 1; }
.main-slider .slick-prev { left: 18px; }
.main-slider .slick-next { right: 18px; }
.main-slider .slick-arrow:hover, .main-slider .slick-arrow:focus-visible { background: #c8102e; color: #fff; }
@media (max-width: 575.98px) { .main-slider .slick-arrow { width: 36px; height: 36px; font-size: 27px; } .main-slider .slick-prev { left: 10px; } .main-slider .slick-next { right: 10px; } }
/* Icon rendering and footer navigation fallbacks */
.social-icon { display: inline-block; width: 20px; height: 20px; vertical-align: middle; }
.header-social, .footer-social { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.header-social a, .footer-social a { display: inline-flex; align-items: center; justify-content: center; min-width: 32px; min-height: 32px; color: #fff; }
.footer-wrapper .menu { list-style: none !important; padding-left: 0 !important; }
.footer-wrapper .menu li::before { content: none !important; display: none !important; }
.footer-wrapper .menu li a::before { content: "›" !important; display: inline-block; width: 1em; color: #c8102e; font: 700 18px/1 Arial, sans-serif !important; }
.footer-wrapper .menu li a { text-decoration: none; }
/* Footer layout and contact alignment */
.footer-layout5 .widget-area > .container > .row { align-items: flex-start; }
.footer-layout5 .widget-area .footer-widget { min-width: 0; }
.footer-layout5 .footer-text { max-width: 34rem; margin: 12px 0 18px; line-height: 1.65; }
.footer-layout5 .footer-social { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-start; gap: 10px; }
.footer-layout5 .footer-social h6 { flex: 0 0 100%; margin: 0 0 2px; }
.footer-layout5 .footer-social a { width: 38px; height: 38px; min-width: 38px; min-height: 38px; border-radius: 50%; background: #c8102e; color: #fff; }
.footer-layout5 .footer-social a:hover { background: #fff; color: #c8102e; }
.footer-layout5 .footer-social .social-icon { width: 19px; height: 19px; }
.footer-layout5 .cnt-ftr-info .menu { display: grid; gap: 12px; }
.footer-layout5 .cnt-ftr-info .menu li { display: flex; align-items: flex-start; gap: 10px; margin: 0 !important; line-height: 1.55; }
.footer-layout5 .cnt-ftr-info .menu li i { flex: 0 0 18px; margin-top: 4px; color: #c8102e !important; }
.footer-layout5 .cnt-ftr-info .menu li a { min-width: 0; overflow-wrap: anywhere; }
.footer-layout5 .widget_nav_menu .menu li { margin-bottom: 10px; }
.footer-layout5 .terms-privacy { padding-inline: 16px; line-height: 1.8; }
@media (max-width: 991.98px) {
  .footer-layout5 .widget-area > .container > .row { row-gap: 20px; }
  .footer-layout5 .footer-text { max-width: 100%; }
}
@media (max-width: 575.98px) {
  .footer-layout5 .widget-area { padding: 34px 0 20px; }
  .footer-layout5 .widget-area > .container > .row { row-gap: 8px; }
  .footer-layout5 .widget_title { margin-bottom: 14px; }
  .footer-layout5 .cnt-ftr-info { padding-top: 8px !important; }
  .footer-layout5 .terms-privacy a { display: inline-block; margin: 2px 4px; }
}
/* Krishna Autozone brand palette and clean slider controls */
:root {
  --theme-color: #c8102e;
  --theme-color2: #171717;
  --title-color: #171717;
  --body-color: #555;
  --smoke-color: #f6f6f6;
  --white-color: #fff;
  --black-color: #111;
  --border-color: #e5e5e5;
}
/* The template's fallback arrows render as tiny square glyphs in this slider. */
.main-slider .slick-arrow,
.main-slider button.slick-arrow,
.main-slider .slick-prev,
.main-slider .slick-next { display: none !important; }
/* Consistent black, white and logo-red accents across all pages. */
body { color: #454545; background-color: #fff; }
h1, h2, h3, h4, h5, h6,
.sec-title, .widget_title, .breadcumb-title { color: #171717; }
a { transition: color .2s ease, background-color .2s ease, border-color .2s ease; }
a:hover, a:focus-visible { color: #c8102e; }
.th-btn, .th-btn.style2, .btn-primary,
.header-layout5 .header-right .th-btn,
.contact-form .th-btn, .contact-form2 .th-btn {
  color: #fff; background: #c8102e; border-color: #c8102e;
}
.th-btn:hover, .th-btn.style2:hover, .btn-primary:hover,
.header-layout5 .header-right .th-btn:hover,
.contact-form .th-btn:hover, .contact-form2 .th-btn:hover {
  color: #fff; background: #171717; border-color: #171717;
}
.theme-gradient, .bg-theme, .bg-theme2 { background-image: none; }
.bg-theme { background-color: #c8102e !important; }
.bg-theme2, .footer-wrapper, .footer-layout5 { background-color: #111 !important; }
.text-theme, .text-theme2, .theme-color { color: #c8102e !important; }
.header-layout5 .header-top, .header-layout5 .header-top a:hover,
.main-menu ul li a:hover, .main-menu ul li.current-menu-item > a,
.main-menu ul li.current-menu-ancestor > a { color: #c8102e; }
.header-layout5 .header-top { background-color: #111; }
.header-layout5 .header-top a { color: #fff; }
.widget_title:after, .sec-title:after { border-color: #c8102e; }
input:focus, select:focus, textarea:focus,
.form-control:focus, .form-select:focus { border-color: #c8102e; box-shadow: 0 0 0 .2rem rgba(200,16,46,.12); }
.card, .service-card, .feature-card { border-color: #e8e8e8; }
.footer-wrapper, .footer-wrapper .widget_title, .footer-wrapper a,
.footer-wrapper p, .footer-wrapper .footer-text { color: #fff; }
.footer-wrapper a:hover { color: #ef5369; }
.footer-wrapper .footer-social a { color: #fff; }
