/* TripleO – site stylesheet (Bootstrap 5.3 overrides) */
:root{
  --y:#FFB400;
  --bs-body-font-family:'Montserrat',Arial,sans-serif;
  --bs-body-font-size:1rem;
  --bs-body-line-height:1.5;
  --bs-body-color:#000;
  --bs-link-color-rgb:0,0,0;
  --bs-link-hover-color-rgb:0,0,0;
}
body{overflow-x:hidden}
a{text-decoration:none;color:inherit}
.container{--bs-gutter-x:2.5rem;max-width:1260px}

/* top bar */
.topbar .call{color:var(--y);font-size:17px}
.btn-accent{background:var(--y);color:#0a0b0e;font-weight:700;font-size:13.6px;letter-spacing:.08em;text-transform:uppercase;border:0;border-radius:4px;padding:10px 24px;white-space:nowrap;transition:.22s}
.btn-accent:hover,.btn-accent:focus{background:#ffc83d;color:#0a0b0e;transform:translateY(-2px);box-shadow:0 6px 22px rgba(255,180,0,.35)}
.search{width:300px;max-width:100%;height:39px;flex-wrap:nowrap}
.search .form-control{border:0;border-radius:2px 0 0 2px;font-size:16px;height:39px;box-shadow:none}
.search .btn-search{width:36px;padding:0;background:var(--y);border:0;border-radius:0 2px 2px 0;color:#000}
@media(max-width:575.98px){.search{width:100%}}

/* header */
.site-header{background:var(--y);min-height:90px}
.site-header .navbar-brand img{height:94px;width:auto}
.site-header .nav-link{font-weight:700;font-size:16px;text-transform:uppercase;color:#000;padding:8px 0;transition:.2s}
.site-header .nav-link:hover,.site-header .nav-link:focus{color:#000;opacity:.65}
.site-header .navbar-toggler{box-shadow:none;margin:8px 0}
@media(max-width:991.98px){.site-header .navbar-brand img{height:70px}}

/* hero */
.hero{min-height:500px;background-size:cover;background-position:center;padding:40px 0}
.hero h2{color:var(--y);font-size:clamp(26px,4vw,40px);line-height:1.25}
.hero h1{font-size:clamp(32px,5.5vw,60px);line-height:1.27}
.hero p{font-size:16px;line-height:26px;max-width:840px;margin:20px 0 0}

/* feature strip + stats (from bharatgenuineparts) */
.feat-strip{background:#F5A300;font-family:'Inter',sans-serif}
.feat-item{padding:22px 16px}
.feat-item .fi-icon{font-size:28.8px;color:#0a0b0e;line-height:1}
.feat-item h6{font-family:'Oswald',sans-serif;font-size:14.4px;font-weight:600;color:#0a0b0e;margin:0;text-transform:uppercase;letter-spacing:.04em;line-height:1.2}
.feat-item small{display:block;font-size:12.5px;color:rgba(10,11,14,.7)}
@media(max-width:767.98px){.feat-strip .col-6{border-bottom:1px solid rgba(10,11,14,.18)}}
.stats-band{background:#181b22;font-family:'Inter',sans-serif}
.stat-card{padding:24px 16px}
.stat-card .num{display:block;font-family:'Oswald',sans-serif;font-size:clamp(34px,5vw,48px);font-weight:700;color:#F5A300;line-height:1}
.stat-card .lbl{display:block;margin-top:8px;font-size:13.1px;font-weight:600;text-transform:uppercase;letter-spacing:.08em;color:#7c8499}

/* sections */
.types{background:#EFEFEF;padding:56px 0 30px}
.parts{background:#CFCFCF;padding:56px 0 56px}
.sec-title{font-size:clamp(28px,4vw,36px);line-height:1.2;margin:0;font-weight:700;text-transform:uppercase}
.parts .sec-title{margin-bottom:0}
.sub{font-size:16px;margin:21px 0 34px}
.grid-gap{--bs-gutter-x:1.25rem;--bs-gutter-y:1.2rem}

/* product cards (layout from bharatgenuineparts) */
.divider{width:52px;height:3px;background:var(--y);margin-top:10px}
.prod-card{background:#fff;box-shadow:0 2px 6px rgba(0,0,0,.25);display:flex;flex-direction:column;height:100%;transition:.25s}
.prod-card:hover{transform:translateY(-5px);box-shadow:0 14px 32px rgba(0,0,0,.28)}
.prod-img{position:relative;overflow:hidden;background:#fff}
.prod-img img{width:100%;height:210px;object-fit:contain;transition:transform .42s ease}
.prod-card:hover .prod-img img{transform:scale(1.07)}
.prod-badge{position:absolute;top:.8rem;left:.8rem;background:var(--y);color:#0a0b0e;font-size:.68rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;padding:.28rem .65rem;border-radius:4px}
.prod-body{padding:1.2rem;flex:1;display:flex;flex-direction:column;border-top:1px solid #e3e3e3}
.prod-body h5{font-size:.95rem;font-weight:700;line-height:1.35;color:#000;text-transform:uppercase;margin-bottom:.9rem}
.prod-footer{margin-top:auto;padding-top:.9rem;border-top:1px solid #e3e3e3}
.prod-footer .btn-accent{padding:.5rem 1rem;font-size:.78rem}

/* brand buttons */
.bc{height:47px;box-shadow:0 2px 5px rgba(0,0,0,.25);padding-left:16px;font-weight:600;font-size:16px;transition:.2s}
.bc i{width:53px;height:47px;background:var(--y);position:relative;flex:none}
.bc i::after{content:"";position:absolute;left:19px;top:17px;width:8px;height:8px;border-right:3px solid #000;border-top:3px solid #000;transform:rotate(45deg)}
.bc:hover{transform:translateY(-2px)}


/* category tree */
.cat-block{margin-top:40px}
.cat-block:first-of-type{margin-top:34px}
.cat-head{background:#000;color:#fff;font-weight:700;font-size:20px;letter-spacing:.04em;text-transform:uppercase;padding:0 0 0 20px;height:56px;margin-bottom:24px;box-shadow:0 2px 5px rgba(0,0,0,.25);transition:.2s}
.cat-head:hover{color:var(--y)}
.cat-head i{width:56px;height:56px;background:var(--y);position:relative;flex:none}
.cat-head i::after{content:"";position:absolute;left:21px;top:21px;width:10px;height:10px;border-right:3px solid #000;border-top:3px solid #000;transform:rotate(45deg)}
.sub-card{background:#fff;box-shadow:0 2px 5px rgba(0,0,0,.25);height:100%}
.sub-head{background:var(--y);color:#000;font-weight:700;font-size:15px;text-transform:uppercase;letter-spacing:.02em;padding:12px 16px}
.sub-head b{background:#000;color:var(--y);font-size:12px;min-width:26px;height:22px;line-height:22px;text-align:center;border-radius:11px;padding:0 8px}
.sub-head:hover{background:#ffc83d}
.child-list{columns:2;column-gap:16px;padding:14px 16px 8px;margin:0}
.child-list li{break-inside:avoid;padding:0 0 8px 14px;position:relative;font-size:13px;font-weight:600;line-height:1.35}
.child-list li::before{content:"";position:absolute;left:0;top:6px;width:5px;height:5px;border-right:2px solid var(--y);border-top:2px solid var(--y);transform:rotate(45deg)}
.child-list a:hover{color:#b57f00}
@media(max-width:575.98px){.child-list{columns:1}.cat-head{font-size:16px}}

.child-list .view-all{padding-top:4px;column-span:all}.child-list .view-all a{font-weight:800;color:#000;text-decoration:underline}
.sub-card{display:flex;flex-direction:column;height:100%}
.child-list{padding-bottom:14px}

.text-accent{color:var(--y)}
/* footer (layout from bharatgenuineparts) */
.site-footer{background:#0a0b0e;color:#7c8499;font-family:'Inter',sans-serif}
.footer-body{padding:70px 0 56px;background:#111318}
.footer-brand-name{font-family:'Oswald',sans-serif;font-size:2rem;font-weight:700;color:#fff;letter-spacing:.04em;margin-bottom:1rem}
.footer-desc{font-size:.92rem;line-height:1.8;color:#7c8499}
.footer-social{display:flex;gap:.6rem;margin-top:1.4rem}
.footer-social a{width:40px;height:40px;border:1px solid #252830;border-radius:8px;display:flex;align-items:center;justify-content:center;color:#7c8499;background:#181b22;transition:.2s}
.footer-social a:hover{background:var(--y);color:#000;border-color:var(--y)}
.footer-col h6{font-family:'Oswald',sans-serif;font-size:.9rem;font-weight:600;color:#fff;text-transform:uppercase;letter-spacing:.1em;padding-bottom:.7rem;margin-bottom:1.2rem;border-bottom:1px solid #252830}
.footer-col ul{list-style:none;padding:0;margin:0}
.footer-col li{margin-bottom:.55rem;font-size:.92rem}
.footer-col li a{color:#7c8499;transition:.2s}.footer-col li a:hover{color:var(--y)}
.footer-col li a .bi-chevron-right{font-size:.7rem;margin-right:.5rem}
.footer-col .muted{font-size:.86rem;color:#7c8499}
.footer-bottom{background:#0a0b0e;border-top:1px solid #252830;padding:1.2rem 0;font-size:.86rem;color:#7c8499}
.footer-bottom b{color:#7c8499}.footer-bottom a{color:var(--y)}

/* ===== inner pages (products, product detail, about, services, contact, legal) ===== */
.section{padding:56px 0}
.section-dark2{background:#EFEFEF}
.container-xxl{padding-top:56px;padding-bottom:56px}
.container-xxl .sec-title,.section .sec-title{text-align:left}
.category-list ul{list-style:none;padding:0}
.category-list li{padding:6px 0;font-weight:600;border-bottom:1px solid #e3e3e3}
.category-list li a:hover{color:#b57f00}
.card{border:0;border-radius:0;box-shadow:0 2px 6px rgba(0,0,0,.25)}
.pagination{margin:24px 0 0}
.page-item a{background:var(--y);color:#0a0b0e;padding:6px 14px;display:inline-block;border-radius:4px;font-weight:700}
.main-img img{width:100%;height:auto;background:#fff}
.img-list img{cursor:pointer;background:#fff;border:1px solid #e3e3e3}
.table-bordered th{background:#EFEFEF}
.form-floating>.form-control{border-radius:2px}
.alert{border-radius:2px}
.btn-dark{background:#000;border-color:#000}
.btn-dark:hover{background:var(--y);border-color:var(--y);color:#000}

/* scroll to top */
#scrollTop{position:fixed;bottom:1.8rem;right:1.8rem;width:44px;height:44px;background:var(--y);color:#0a0b0e;border:none;border-radius:50%;font-size:1.1rem;display:flex;align-items:center;justify-content:center;cursor:pointer;z-index:999;opacity:0;transform:translateY(16px);transition:opacity .3s,transform .3s;box-shadow:0 4px 18px rgba(255,180,0,.35)}
#scrollTop.show{opacity:1;transform:translateY(0)}
.site-header .nav-link.active{opacity:.65}
.topbar .call i{margin-right:4px}

/* hero carousel (images + text from bharatgenuineparts, TripleO layout/colours) */
#heroCarousel .carousel-item{height:500px;background:#000}
.hero-slide-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;animation:heroKenBurns 14s ease-in-out infinite alternate}
@keyframes heroKenBurns{from{transform:scale(1)}to{transform:scale(1.06)}}
.hero-overlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,0,0,.78) 30%,rgba(0,0,0,.25))}
.hero-inner{position:relative;height:100%;z-index:2}
.hero-caption{max-width:860px}
.hero-caption h2{color:var(--y);font-size:clamp(22px,3.4vw,40px);line-height:1.25;margin:0}
.hero-caption h1{font-size:clamp(30px,5vw,60px);line-height:1.2;margin:4px 0 0}
.hero-caption p{font-size:16px;line-height:26px;max-width:760px;margin:20px 0 0}
#heroCarousel .carousel-control-prev,#heroCarousel .carousel-control-next{width:48px;height:48px;top:50%;bottom:auto;transform:translateY(-50%);background:rgba(255,180,0,.2);border:2px solid var(--y);border-radius:50%;opacity:1;margin:0 1.2rem;transition:background .2s}
#heroCarousel .carousel-control-prev:hover,#heroCarousel .carousel-control-next:hover{background:var(--y)}
#heroCarousel .carousel-control-prev-icon,#heroCarousel .carousel-control-next-icon{width:16px;height:16px}
#heroCarousel .carousel-indicators{bottom:1.2rem;gap:.5rem}
#heroCarousel .carousel-indicators [data-bs-target]{width:30px;height:3px;border:0;border-radius:2px;background:rgba(255,255,255,.35);transition:background .3s,width .3s}
#heroCarousel .carousel-indicators .active{background:var(--y);width:48px}
@media(max-width:767.98px){#heroCarousel .carousel-item{height:460px}#heroCarousel .carousel-control-prev,#heroCarousel .carousel-control-next{display:none}}
