/* =========================================================================
   Atika Auto Parts — custom overrides (loaded after main.min.css)
   Keep layout/spacing tweaks + small components here.
   ========================================================================= */

/* -------- Category cards (home + city pages) -------- */
.category-card{
	display:flex;
	flex-direction:column;
	align-items:center;
	justify-content:center;
	text-align:center;
	min-height:250px;
	padding:20px 15px;
	border-radius:12px;
	background:#fff;
	border:1px solid #eef0f4;
	box-shadow:0 1px 3px rgba(0,0,0,.04);
	transition:transform .25s ease, box-shadow .25s ease;
	margin-bottom:20px;
	color:inherit;
}
.category-card:hover{
	transform:translateY(-4px);
	box-shadow:0 10px 25px rgba(0,0,0,.08);
	text-decoration:none;
}
.category-card-img{
	height:140px !important;
	width:140px !important;
	object-fit:contain;
}
.category-card span{
	font-weight:600;
	margin-top:12px;
	font-size:15px;
	color:#222;
}
.category-card small{
	color:#6c757d;
	font-size:12.5px;
	margin-top:4px;
	line-height:1.35;
	max-width:90%;
}

/* -------- Header buttons -------- */
.header-btn{
	margin-left:8px !important;
}
@media (max-width: 991px){
	.header-btn{ display:none !important; }
}

.header-cart{
	position:relative;
	margin-left:15px;
}
.cart-count{
	position:absolute;
	top:-6px;
	right:-8px;
	background:#e00000;
	color:#fff;
	font-size:11px;
	min-width:18px;
	height:18px;
	line-height:18px;
	text-align:center;
	padding:0 5px;
	border-radius:50%;
	font-weight:600;
}

/* -------- Search dropdown -------- */
.search-dropdown{
	position:absolute;
	background:#fff;
	width:100%;
	border:1px solid #ddd;
	border-top:none;
	z-index:999;
	display:none;
	max-height:380px;
	overflow:auto;
	box-shadow:0 6px 14px rgba(0,0,0,.08);
}
.search-item{
	padding:10px 12px;
	border-bottom:1px solid #eee;
	display:flex;
	align-items:center;
	text-decoration:none;
	color:inherit;
}
.search-item:last-child{ border-bottom:none; }
.search-item:hover{ background:#f7f9fb; }
.search-item img{
	width:46px;
	height:46px;
	object-fit:contain;
	margin-right:12px;
	flex-shrink:0;
}
.search-item .si-name{
	font-size:13px;
	font-weight:500;
	line-height:1.3;
	color:#222;
}
.search-price{
	font-size:13px;
	margin-top:3px;
}
.search-price del{
	color:#999;
	margin-right:5px;
}
.search-empty{
	padding:14px;
	text-align:center;
	color:#888;
	font-size:13px;
}

/* -------- Product grid (catalogue) -------- */
.product-grid-meta small{
	font-size:12px;
	line-height:1.4;
}
.product-grid-image{
	height:240px;
	display:flex;
	align-items:center;
	justify-content:center;
	overflow:hidden;
	background:#fff;
	border-bottom:1px solid #f0f1f4;
}
.product-grid-image img{
	max-height:100%;
	max-width:100%;
	object-fit:contain;
	transition:transform .25s ease;
}
.product-grid-card{
	background:#fff;
	border:1px solid #eef0f4;
	border-radius:10px;
	overflow:hidden;
	margin-bottom:24px;
	transition:box-shadow .25s ease, transform .25s ease;
}
.product-grid-card:hover{
	box-shadow:0 8px 20px rgba(0,0,0,.06);
	transform:translateY(-2px);
}
.product-grid-card:hover .product-grid-image img{
	transform:scale(1.04);
}
.product-grid-content{
	padding:14px;
}
.product-grid-meta h4 a{
	color:#222;
	font-weight:600;
	text-decoration:none;
}
.product-grid-meta h4 a:hover{ color:#0088c1; }

.price-row{
	display:flex;
	align-items:center;
	justify-content:space-between;
	width:100%;
	margin-bottom:10px;
}
.price-text{ font-size:15px; font-weight:600; }
.old-price{ text-decoration:line-through; color:#999; margin-right:6px; font-weight:400; }
.new-price{ color:#e00000; font-weight:700; }
.normal-price{ color:#0088c1; }

.cart-btn{
	background:#0088c1;
	border:none;
	color:#fff;
	width:36px;
	height:32px;
	border-radius:6px;
	display:inline-flex;
	align-items:center;
	justify-content:center;
	cursor:pointer;
	transition:background .2s ease;
}
.cart-btn i{ font-size:18px; }
.cart-btn:hover{ background:#006c98; }

/* -------- Invoice -------- */
.invoice-wrapper{
	max-width:900px;
	margin:60px auto;
	background:#fff;
	padding:30px;
	box-shadow:0 0 15px rgba(0,0,0,.1);
	font-family:Arial,Helvetica,sans-serif;
}
.invoice-header{
	display:flex;
	justify-content:space-between;
	align-items:center;
}
.invoice-logo{ height:60px; }
.invoice-title h2{ margin:0; color:#333; }
.invoice-title p{ margin:4px 0; color:#666; }
.invoice-table{ width:100%; border-collapse:collapse; margin-top:20px; }
.invoice-table th{
	background:#f4f4f4;
	padding:10px;
	text-align:left;
	border-bottom:2px solid #ddd;
}
.invoice-table td{ padding:10px; border-bottom:1px solid #eee; }
.invoice-total{ text-align:right; font-size:20px; font-weight:bold; margin-top:20px; }
.invoice-buttons{ margin-top:30px; }
.btn-print{
	background:#28a745;
	color:#fff;
	border:none;
	padding:10px 20px;
	border-radius:4px;
	cursor:pointer;
	margin-right:10px;
}
.btn-shop{
	background:#0088c1;
	color:#fff;
	padding:10px 20px;
	border-radius:4px;
	text-decoration:none;
}
.btn-print:hover{ background:#218838; }
.btn-shop:hover{ background:#006c98; color:#fff; }

@media print{
	body *{ visibility:hidden; }
	#printArea, #printArea *{ visibility:visible; }
	#printArea{ position:absolute; left:0; top:0; width:100%; }
	.invoice-buttons{ display:none; }
}

.order-status{
	padding:5px 12px;
	font-size:12px;
	border-radius:4px;
	font-weight:600;
	display:inline-block;
	color:#fff;
}
.status-pending{ background:#f39c12; }
.status-completed{ background:#28a745; }
.status-cancelled{ background:#e74c3c; }

/* -------- SEO content text blocks -------- */
.seo-content .section-head{ margin-bottom:24px; }
.seo-content h2{ margin-bottom:12px; }
.seo-content h3{ margin-bottom:10px; }
.seo-content p{
	font-size:16px;
	line-height:1.75;
	margin-bottom:18px;
}
.seo-content p:last-of-type{ margin-bottom:26px; }

/* -------- Toast (cart add) -------- */
.atika-toast{
	position:fixed;
	right:20px;
	bottom:20px;
	background:#222;
	color:#fff;
	padding:12px 18px;
	border-radius:8px;
	box-shadow:0 8px 20px rgba(0,0,0,.18);
	font-size:14px;
	z-index:9999;
	opacity:0;
	transform:translateY(10px);
	transition:opacity .25s ease, transform .25s ease;
}
.atika-toast.show{ opacity:1; transform:translateY(0); }
.atika-toast.success{ background:#1f9d55; }
.atika-toast.error{ background:#c0392b; }

/* -------- Pagination -------- */
.pagination-wrapper{ margin-top:30px; }
.pagination-wrapper .btn{
	margin:0 3px;
	min-width:38px;
}

/* -------- Footer (light blue tinted bg from main.min.css) -------- */
.footer-part{
	padding:55px 0 0 !important;
	background:rgba(71,124,219,0.05);
}
.footer-top{
	margin-bottom:30px !important;
	padding-bottom:25px !important;
	border-bottom:1px solid rgba(71,124,219,0.18) !important;
}
.footer-top ul{
	display:flex !important;
	flex-wrap:wrap;
	justify-content:center;
	gap:18px 32px;
	padding:0;
	margin:0;
	list-style:none;
	width:100%;
}
.footer-top ul li{
	display:flex !important;
	align-items:center;
	gap:8px;
	color:#5e5d72;
	font-size:14px;
	margin-left:0 !important;
	justify-content:flex-start !important;
}
.footer-top ul li i{
	color:#0088c1 !important;
	font-size:22px !important;
	margin-right:0 !important;
}
.footer-top ul li span,
.footer-top ul li span a{ color:#5e5d72; }
.footer-top ul li span a:hover{ color:#0088c1; }

.footer-extra{
	padding:10px 0 25px;
}
.footer-extra h3{
	color:#1f2a3d;
	font-size:14px;
	font-weight:700;
	text-transform:uppercase;
	letter-spacing:.06em;
	margin-bottom:16px;
}
.footer-extra p{
	color:#5e5d72 !important;
	font-size:14px !important;
	line-height:1.7;
	margin-bottom:14px;
}
.footer-extra ul{ list-style:none; padding:0; margin:0; }
.footer-extra ul li{ margin-bottom:9px; }
.footer-extra ul li a{
	color:#5e5d72;
	font-size:14px;
	font-weight:500;
	transition:color .2s ease;
}
.footer-extra ul li a:hover{ color:#0088c1; }

.footer-extra .footer-social{
	display:flex;
	gap:8px;
	margin-top:4px;
}
.footer-extra .footer-social a{
	width:36px;
	height:36px;
	background:#0088c1;
	display:inline-flex;
	align-items:center;
	justify-content:center;
	border-radius:50%;
	color:#fff !important;
	font-size:15px;
	transition:background .2s ease;
	text-decoration:none;
}
.footer-extra .footer-social a:hover{ background:#006c98; }
.footer-extra .footer-social a i{
	color:#fff !important;
	line-height:1;
}
.footer-extra .footer-social a .material-icons{
	font-size:18px !important;
}

.footer-cities{
	padding:14px 0;
	border-top:1px solid rgba(71,124,219,0.18);
	text-align:center;
	font-size:13.5px;
	color:#5e5d72;
}
.footer-cities strong{ color:#1f2a3d !important; margin-right:8px; }
.footer-cities a{ color:#0088c1; margin:0 6px; font-weight:500; }
.footer-cities a:hover{ color:#006c98; }

.footer-bottom{
	background:#1f2a3d !important;
	padding:16px 0 !important;
	position:relative;
}
.footer-bottom .container{
	display:flex !important;
	align-items:center !important;
	justify-content:center !important;
	flex-direction:row !important;
}
.footer-text{
	color:#cfd3d8 !important;
	margin:0 !important;
	font-size:13.5px;
	text-align:center;
	width:100%;
}

/* Hide the legacy in-footer back-to-top from main.min.css */
.footer-backtop{ display:none !important; }

/* Modern fixed floating back-to-top button (appears on scroll) */
.back-to-top{
	position:fixed;
	right:24px;
	bottom:24px;
	width:46px;
	height:46px;
	border-radius:50%;
	background:#0088c1;
	color:#fff !important;
	display:inline-flex;
	align-items:center;
	justify-content:center;
	text-decoration:none;
	box-shadow:0 6px 16px rgba(0,0,0,.18);
	z-index:9999;
	opacity:0;
	visibility:hidden;
	transform:translateY(8px);
	transition:opacity .25s ease, transform .25s ease, background .2s ease, visibility .25s;
}
.back-to-top.show{
	opacity:1;
	visibility:visible;
	transform:translateY(0);
}
.back-to-top:hover{
	background:#006c98;
	color:#fff !important;
}
.back-to-top i{
	font-size:22px;
	color:#fff;
}

@media (max-width: 575px){
	.footer-top ul{ gap:12px 0; flex-direction:column; align-items:center; }
	.footer-extra{ text-align:center; }
	.footer-extra .footer-social{ justify-content:center; }
	.footer-bottom{ padding:16px 0 !important; }
	.back-to-top{ right:16px; bottom:16px; width:42px; height:42px; }
	.back-to-top i{ font-size:20px; }
}

/* -------- Light page-top bar (pages WITHOUT a dark hero banner) --------
   The header is position:fixed, so non-banner pages need top clearance.
   The dark .single-banner pages get this via its 165px padding-top. */
.page-gap-top{ padding-top:130px; }
@media (max-width:991px){ .page-gap-top{ padding-top:105px; } }
@media (max-width:575px){ .page-gap-top{ padding-top:88px; } }

.breadcrumb-light{ margin:0; }
.breadcrumb-light .breadcrumb-item a{ color:#5e5d72; }
.breadcrumb-light .breadcrumb-item a:hover{ color:#0088c1; }
.breadcrumb-light .breadcrumb-item.active{ color:#0088c1; }
.breadcrumb-light .breadcrumb-item + .breadcrumb-item::before{ color:#b3b8c2; }

/* -------- Product detail page -------- */
.product-detail-image{
	background:#fff;
	border:1px solid #eef0f4;
	border-radius:10px;
	padding:20px;
	text-align:center;
}
.product-detail-image img{
	max-width:100%;
	max-height:430px;
	height:auto;
	object-fit:contain;
}
.product-detail-title{ font-size:28px; margin-bottom:8px; line-height:1.25; }
.product-detail-price{ font-size:30px; font-weight:700; color:#0088c1; }
.product-spec-table{
	width:100%;
	max-width:480px;
	border-collapse:collapse;
	margin-top:6px;
	border:1px solid #e4e8ee;
	border-radius:8px;
	overflow:hidden;
}
.product-spec-table td{
	padding:11px 14px;
	border:1px solid #e9edf2;
	font-size:15px;
	vertical-align:middle;
}
.product-spec-table tr:nth-child(odd) td{ background:#f8fafc; }
.product-spec-table td:first-child{ color:#5e5d72; font-weight:500; width:46%; }
.product-spec-table td:last-child{ color:#1f2a3d; font-weight:600; }
@media (max-width:991px){
	.product-detail-info{ margin-top:26px; }
	.product-detail-title{ font-size:24px; }
}
@media (max-width:575px){
	.product-detail-title{ font-size:21px; }
	.product-detail-price{ font-size:26px; }
	.product-detail-actions .btn{ width:100%; }
}
.product-detail-actions{ display:flex; gap:10px; flex-wrap:wrap; margin-top:18px; }

/* -------- Blog / guides -------- */
.blog-content{ font-size:16.5px; line-height:1.8; color:#33384a; }
.blog-content h2{ font-size:23px; margin:28px 0 12px; color:#1f2a3d; }
.blog-content h3{ font-size:19px; margin:22px 0 10px; color:#1f2a3d; }
.blog-content p{ margin-bottom:18px; }
.blog-content ul,
.blog-content ol{ margin:0 0 18px 1.2em; padding-left:1em; }
.blog-content li{ margin-bottom:8px; }
.blog-content a{ color:#0088c1; text-decoration:underline; }
.blog-content img{ max-width:100%; height:auto; border-radius:8px; margin:10px 0; }
@media (max-width:575px){
	.blog-article h1{ font-size:24px !important; }
	.blog-content{ font-size:15.5px; }
	.blog-content h2{ font-size:20px; }
}

/* -------- Misc spacing fixes -------- */
.breadcrumb{ background:transparent; padding:0; margin:6px 0 0; }
.breadcrumb-item.active{ text-transform:capitalize; }
.breadcrumb-item a{ color:#cfd3d8; }
.breadcrumb-item a:hover{ color:#fff; }
.breadcrumb-item.active{ color:#fff; }
.breadcrumb-item + .breadcrumb-item::before{ color:#cfd3d8; }
.banner-content h1{ text-transform:none; }
.single-banner h1,
.single-banner h2{
	color:#fff !important;
	text-transform:none;
	font-size:36px;
	font-weight:600;
	margin-bottom:12px;
	text-shadow:0 2px 8px rgba(0,0,0,.35);
}
@media (max-width: 575px){
	.single-banner h1, .single-banner h2{ font-size:26px; }
}

/* -------- Catalogue empty state -------- */
.catalogue-empty{
	text-align:center;
	padding:70px 20px;
	background:#fafbfc;
	border:1px dashed #dbe2eb;
	border-radius:12px;
}
.catalogue-empty .empty-icon{
	width:72px;
	height:72px;
	margin:0 auto 16px;
	border-radius:50%;
	background:#eef3f9;
	color:#0088c1;
	display:flex;
	align-items:center;
	justify-content:center;
}
.catalogue-empty .empty-icon i{ font-size:38px; }
.catalogue-empty h3{
	color:#1f2a3d;
	font-size:20px;
	font-weight:600;
	margin-bottom:8px;
}
.catalogue-empty p{
	color:#6e7585;
	font-size:14.5px;
	margin-bottom:20px;
}
.catalogue-empty .btn{ min-width:180px; }

/* -------- Product widget (filter sidebar) -------- */
.product-widget{
	background:#fff;
	border:1px solid #eef0f4;
	border-radius:10px;
	padding:18px 18px 8px;
	margin-bottom:24px;
}
.product-widget-title{
	font-size:14px !important;
	font-weight:700 !important;
	text-transform:uppercase;
	letter-spacing:.04em;
	color:#1f2a3d;
	margin:0 0 14px;
	padding-bottom:10px;
	border-bottom:1px solid #eef0f4;
}
.product-widget-list{ list-style:none; padding:0; margin:0; }
.product-widget-list li{
	display:flex;
	justify-content:space-between;
	align-items:center;
	padding:9px 0;
	border-bottom:1px solid #f4f6f9;
}
.product-widget-list li:last-child{ border-bottom:none; }
.product-widget-list li a{ font-size:14px; transition:color .2s; }
.product-widget-list li a:hover{ color:#0088c1 !important; }
.product-widget-number{ font-size:12.5px; color:#888; }

/* sections with too-tight spacing on mobile */
@media (max-width: 575px){
	.section-gap-95{ padding-top:55px; padding-bottom:55px; }
	.section-gap-100{ padding-top:55px; padding-bottom:55px; }
	.banner-content h1{ font-size:28px; line-height:1.2; }
	.banner-content p{ font-size:14px; }
	.product-grid-image{ height:200px; }
}

/* skip link for accessibility */
.skip-to-content{
	position:absolute;
	left:-9999px;
	top:auto;
	width:1px;
	height:1px;
	overflow:hidden;
}
.skip-to-content:focus{
	position:fixed;
	left:10px;
	top:10px;
	width:auto;
	height:auto;
	background:#0088c1;
	color:#fff;
	padding:8px 14px;
	border-radius:4px;
	z-index:99999;
}

/* contact form polish */
.contact-form .form-group{ margin-bottom:14px; }
.contact-form .form-group .form-control{ padding:12px 14px; }
.contact-form textarea.form-control{ min-height:120px; }
.contact-form .form-btn{
	background:#0088c1;
	color:#fff;
	padding:12px 28px;
	border:none;
	border-radius:6px;
	font-weight:600;
	cursor:pointer;
}
.contact-form .form-btn:hover{ background:#006c98; }

/* auth (login/signup) forms */
.auth-form-title{ font-weight:600; margin-bottom:18px; }
.auth-form-or{ position:relative; margin:18px 0; color:#999; font-size:13px; }
.auth-form-or:before, .auth-form-or:after{
	content:"";
	position:absolute;
	top:50%;
	width:42%;
	height:1px;
	background:#e5e5e5;
}
.auth-form-or:before{ left:0; }
.auth-form-or:after{ right:0; }
