/* ===== Tyre Finder front-end ===== */
.tpf-wrap{
	position:relative;
	display:flex;
	align-items:center;
	gap:24px;
	background:#1b1b1b;
	background-size:cover;
	background-position:center right;
	border-radius:6px;
	padding:24px;
	overflow:hidden;
	box-shadow:0 0 10px rgba(0,0,0,.4);
	color:#fff;
}
.tpf-wrap.tpf-has-banner{min-height:300px;}

.tpf-banner-text{
	order:2;
	flex:1 1 0;
	padding:0 16px;
}
.tpf-banner-title{
	font-size:54px;
	line-height:1.02;
	font-weight:800;
	margin:0 0 14px;
	color:#fff;
	letter-spacing:-.5px;
}
.tpf-banner-sub{
	font-size:18px;
	letter-spacing:2px;
	color:#cfcfcf;
	margin:0;
	text-transform:uppercase;
}

/* the white finder card */
.tpf-card{
	order:1;
	flex:0 0 380px;
	max-width:380px;
	width:100%;
	background:#fff;
	color:#222;
	border-radius:6px;
	padding:22px 20px;
	box-shadow:0 6px 24px rgba(0,0,0,.25);
}
.tpf-card-title{
	font-size:24px;
	font-weight:800;
	margin:0 0 16px;
	color:#11132c;
}

/* top tabs */
.tpf-tabs{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:18px;}
.tpf-tab{
	border:1px solid #d9d9d9;
	background:#fff;
	color:#555;
	font-size:13px;
	font-weight:600;
	padding:8px 12px;
	border-radius:4px;
	cursor:pointer;
}
.tpf-tab.is-active{background:#1a1444;border-color:#1a1444;color:#fff;}

/* panes */
.tpf-pane{display:none;}
.tpf-pane.is-active{display:block;}

/* vehicle type sub tabs (Car / Bike) */
.tpf-vtypes{display:flex;gap:18px;border-bottom:1px solid #eee;margin-bottom:16px;}
.tpf-vtype{
	background:none;border:0;cursor:pointer;
	font-size:14px;font-weight:700;color:#999;text-transform:uppercase;
	padding:6px 2px;position:relative;letter-spacing:.5px;
}
.tpf-vtype.is-active{color:#e3001b;}
.tpf-vtype.is-active:after{
	content:"";position:absolute;left:0;right:0;bottom:-1px;height:2px;background:#e3001b;
}
.tpf-empty{font-size:12px;color:#999;}

/* selects */
.tpf-fields{display:flex;flex-direction:column;gap:12px;}
.tpf-fields.tpf-grid2{display:grid;grid-template-columns:1fr 1fr;gap:12px;}
.tpf-select{
	width:100%;
	border:1px solid #d9d9d9;
	border-radius:4px;
	padding:12px 14px;
	font-size:14px;
	color:#333;
	background:#fff;
	appearance:auto;
}
.tpf-select:disabled{background:#f6f6f6;color:#aaa;}
.tpf-regno{text-transform:uppercase;}
.tpf-note{font-size:11px;color:#888;margin:8px 0 0;}

.tpf-error{
	background:#fdecec;color:#c0392b;border:1px solid #f5c6c6;
	border-radius:4px;padding:8px 10px;font-size:13px;margin-top:12px;
}

/* search button */
.tpf-search{
	margin-top:16px;width:100%;border:0;cursor:pointer;
	background:#e3001b;color:#fff;font-weight:700;font-size:15px;
	padding:14px;border-radius:4px;transition:background .15s;
}
.tpf-search:hover{background:#c20018;}

/* responsive */
@media (max-width:860px){
	.tpf-wrap{flex-direction:column;}
	.tpf-banner-text{order:0;text-align:center;}
	.tpf-banner-title{font-size:34px;}
	.tpf-card{flex-basis:auto;max-width:100%;}
}

/* ===== Results page ===== */
.tpf-results{padding:24px 16px;}
.tpf-results-inner{max-width:1100px;margin:0 auto;}
.tpf-crumbs{font-size:13px;color:#888;margin-bottom:6px;}
.tpf-results-title{font-size:26px;font-weight:800;margin:0 0 4px;color:#11132c;}
.tpf-results-count{color:#777;font-size:13px;margin:0 0 18px;}
.tpf-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:18px;}
.tpf-tyre-card{display:block;background:#fff;border:1px solid #eee;border-radius:8px;overflow:hidden;text-decoration:none;color:#222;transition:box-shadow .15s,transform .15s;}
.tpf-tyre-card:hover{box-shadow:0 8px 24px rgba(0,0,0,.12);transform:translateY(-2px);}
.tpf-tyre-img{height:170px;display:flex;align-items:center;justify-content:center;background:#fafafa;}
.tpf-tyre-img img{max-height:100%;width:auto;object-fit:contain;}
.tpf-noimg{color:#bbb;font-size:13px;}
.tpf-tyre-body{padding:14px;}
.tpf-tyre-name{font-size:15px;font-weight:700;margin:0 0 8px;line-height:1.3;}
.tpf-rating{display:flex;align-items:center;gap:8px;margin-bottom:8px;}
.tpf-star{background:#2e7d32;color:#fff;font-size:12px;font-weight:700;padding:2px 7px;border-radius:4px;}
.tpf-reviews{font-size:12px;color:#888;}
.tpf-price{display:flex;align-items:baseline;gap:8px;margin-bottom:8px;flex-wrap:wrap;}
.tpf-now{font-size:20px;font-weight:800;color:#111;}
.tpf-old{font-size:13px;color:#999;text-decoration:line-through;}
.tpf-off{font-size:13px;color:#2e7d32;font-weight:700;}
.tpf-warr{font-size:12px;background:#fff7e0;border-radius:4px;padding:4px 8px;display:inline-block;margin-bottom:8px;}
.tpf-meta{font-size:12px;color:#777;}
.tpf-none{padding:40px;text-align:center;color:#777;background:#fafafa;border-radius:8px;}
.tpf-pagination{margin:26px 0;display:flex;gap:8px;justify-content:center;flex-wrap:wrap;}
.tpf-pagination .page-numbers{padding:6px 12px;border:1px solid #ddd;border-radius:4px;text-decoration:none;color:#333;}
.tpf-pagination .current{background:#e3001b;color:#fff;border-color:#e3001b;}

/* ===== Single tyre product page ===== */
.tpf-single{padding:24px 16px;}
.tpf-single-inner{max-width:1000px;margin:0 auto;}
.tpf-single-top{display:flex;gap:30px;background:#fff;border:1px solid #eee;border-radius:10px;padding:24px;flex-wrap:wrap;}
.tpf-single-img{flex:1 1 280px;min-width:240px;display:flex;align-items:center;justify-content:center;background:#fafafa;border-radius:8px;padding:16px;}
.tpf-single-img img{max-width:100%;height:auto;object-fit:contain;}
.tpf-single-info{flex:2 1 360px;}
.tpf-single-title{font-size:26px;font-weight:800;margin:0 0 12px;color:#11132c;line-height:1.25;}
.tpf-single-info .tpf-rating{margin-bottom:12px;}
.tpf-single-info .tpf-price{margin-bottom:12px;}
.tpf-single-info .tpf-now{font-size:28px;}
.tpf-specline{font-size:13px;color:#777;padding:12px 0;border-top:1px solid #eee;border-bottom:1px solid #eee;margin:12px 0;}
.tpf-pincode-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:16px;}
.tpf-pincode-row label{font-size:13px;color:#555;}
.tpf-pincode{flex:1;min-width:140px;border:1px solid #d9d9d9;border-radius:4px;padding:11px 12px;font-size:14px;}
.tpf-offers{background:#e3001b;color:#fff;font-weight:700;font-size:14px;padding:11px 22px;border-radius:4px;text-decoration:none;white-space:nowrap;}
.tpf-offers:hover{background:#c20018;color:#fff;}
.tpf-fits{font-size:13px;color:#555;}
.tpf-fits a{color:#1a73e8;text-decoration:none;}
.tpf-single-cols{display:flex;gap:24px;margin-top:24px;flex-wrap:wrap;}
.tpf-single-desc{flex:2 1 380px;}
.tpf-single-specs{flex:1 1 260px;}
.tpf-single-cols h2{font-size:18px;font-weight:800;color:#11132c;margin:0 0 12px;}
.tpf-single-specs table{width:100%;border-collapse:collapse;background:#fff;border:1px solid #eee;border-radius:8px;overflow:hidden;}
.tpf-single-specs td{padding:10px 14px;font-size:14px;border-bottom:1px solid #f0f0f0;}
.tpf-single-specs td:first-child{color:#777;width:45%;}
.tpf-single-specs tr:last-child td{border-bottom:0;}
@media (max-width:680px){
	.tpf-single-title{font-size:22px;}
	.tpf-single-info .tpf-now{font-size:24px;}
}
