/* --- 1. RESET & VARIABLES --- */ :root {
--black: #111;
--dark: #222;
 --navy-mid: #1a2f4a;
--gray: #666;
--light-gray: #f9f9f9;
--border: #eee;
--red: #e11d48;
--navy: #00224f;
--gold:#fe6800;
 --gold-mid: #d95a03;
--green:#008042;
--font: 'Poppins', sans-serif;
}
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}
body {
	font-family: var(--font);
	color: var(--black);
	overflow-x: hidden;
	background-color: #fff;
}
a {
	text-decoration: none;
	color: inherit;
	transition: 0.3s;
}
a:hover{
color:var(--navy);
	}


img {
	max-width:100%;
	display: block;
	object-fit: cover;
}
ul {
	list-style: none;
}
.m-top {
	margin-top: 70px!important
} /* Helper for content centering */
.container {
	max-width: 1680px;
	margin: 0 auto;
	padding: 0 50px;
} /* --- 2. TOP BAR --- */
.top-bar {
	background: #04152c;
	color: white;
	font-size: 12px;
	padding: 20px 0;
}
.top-bar .container {
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.top-bar i{ font-size:16px; margin:0 5px}
.top-bar i:hover { color:var(--gold)}
.top-flex {
  display: flex;
  align-items: center;
}

.top-left,
.top-right {
  width: 25%;
}

.top-center {
  width: 50%;
  display: flex;
  justify-content: center;
}

/* BIG SEARCH BAR */
.search-box {
  display: flex;
  width: 100%;
  max-width: 600px; /* increase width */
  background: #fff;
  border-radius: 50px;
  overflow: hidden;
  border: 1px solid #ddd;
}

.search-box input {
  flex: 1;
  border: none;
  padding: 4px 20px;  /* bigger height */
  font-size: 16px;     /* bigger text */
  outline: none;
}

.search-box button {
  color: #333;
  border: none;
  background-color:transparent;
  padding: 10px 15px;
  cursor: pointer;
}

.search-box button:hover {
}
 /* --- 3. STICKY HEADER --- */
header {
	padding: 20px 0;
	background: rgba(255,255,255,0.98); /* Slight transparency */ /* Sticky Magic */	
	position: sticky;
	top: 0;
	z-index: 1000;
	box-shadow: 0 4px 20px rgba(0,0,0,0.05); /* Subtle shadow */
	width: 100%;
}
header {
    transition: box-shadow 0.3s ease;
}

header.sticky-shadow {
    box-shadow: 0 3px 10px rgba(0,0,0,0.15);
}

.header-inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.sale-bnr{ width:100%; position:relative; margin-top:70px;}
.sale-bnr img{display: block;
  width: 100%;
  top: 0;
  left: 0;
  object-fit: cover;
}
.logo h1 {
	font-size: 30px;
	font-weight: 800;
	line-height: 1;
	letter-spacing: -1px;
}
.logo span {
	font-size: 10px;
	color: var(--gray);
	letter-spacing: 3px;
	display: block;
	text-align:right;
	text-transform: uppercase;
}
.nav-menu {
	display: flex;
	gap: 50px;
}
.nav-menu a {
	font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
	color: #333;
	position: relative;
} /* Hover Line Effect */
.nav-menu a::after {
	content: '';
	position: absolute;
	width: 0;
	height: 1px;
	bottom: -5px;
	left: 0;
	background-color: var(--gold);
	transition: 0.3s;
}
.nav-menu a:hover::after {
	width: 100%;
}
.nav-menu a:hover {
  color: var(--navy);
}
.hamburger {
	display: none;
	cursor: pointer;
	font-size: 24px;
}
.hamburger i {
    font-size: 26px;
}



 /* --- 4. FULL WIDTH HERO --- */
.hero {
	width: 100%; /* Full Width */
	height: 600px;
	background: url(../images/bnr.png) no-repeat center top;
	background-position: center;
	background-size: cover;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	color: white;
}
.hero-content h2 {
	font-size: 4.5rem;
	margin-bottom: 15px;
	font-weight: 600;
	text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}
.hero-content p {
	font-size: 1.2rem;
	max-width: 700px;
	margin: 0 auto 35px;
	line-height: 1.5;
	font-weight: 300;
}
.btn-white {
	background: white;
	color: black;
	padding: 15px 50px;
	border: none;
	font-weight: 600;
	border-radius:4px;
	cursor: pointer;
	transition: 0.3s;
	text-transform: uppercase;
	letter-spacing: 1px;
}
.btn-white:hover {
	background:var(--navy);
	color: white;
	transform: translateY(-3px);
} 
/* --- 5. SECTIONS --- */

section {
	margin: 0px 0;
}
.section-title {
	font-size: 38px;
	margin-bottom: 25px;
	font-weight: 400;
	position: relative;
	display: inline-block;
}
 /* --- 6. GRIDS --- */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.about-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.about-features div {
    padding: 15px;
    border: 1px solid #f8d9c4;
    border-radius: 6px;
  }

.cat-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 25px;
}
.cat-card {
	position: relative;
	overflow: hidden;
	cursor: pointer;
}
.cat-card img {
	height: 400px;
	transition: 0.5s;
}
.cat-card:hover img {
	transform: scale(1.05);
}
.cat-name {
	margin-top: 15px;
	font-size: 18px;
}
.prod-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}


.badge {
	position: absolute;
	background: var(--gold);
	color: white;
	  border-radius: 100%;
	font-size: 12px;
	padding: 4px 8px;
	margin-top:12px;
	margin-left:12px;
	font-weight: bold;
}
.prod-info {
	padding: 0 0px;
}

.price {
	font-weight: 500;
	font-size: 16px;
}

.discount {
	color: green;
	font-size: 12px;
	font-weight: 600;
	margin-left: 5px;
} 

/* --- 7. FULL WIDTH SPLIT SECTIONS --- */
.split-container {
	width: 100%; /* Edge to Edge */
	display: flex;
	flex-wrap: wrap;
	background: #f4f4f4;
}
.split-half {
	width: 50%;
	min-height: 600px;
}
.split-text {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 0 10%; /* Dynamic padding */
}
.split-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.sub-head {
	text-transform: uppercase;
	font-size: 15px;
	color: var(--gray);
	margin-bottom: 15px;
	letter-spacing: 1px;
}
.big-head {
	font-size: 42px;
	font-weight: 700;
	line-height: 1.1;
	margin-bottom: 25px;
	text-transform: uppercase;
}
.desc {
	color: #555;
	line-height: 1.7;
	margin-bottom: 35px;
	font-size: 15px;
	max-width: 500px;
}
#desc ul{
	list-style:square;
}
#desc ul li{
	list-style:square;
	line-height:25px;
	margin-left:20px;
	margin-bottom:10px;
}


.btn-black {
	background: var(--black);
	color: white;
	padding: 15px 40px;
	border: none;
	width: fit-content;
	border-radius:4px;
	cursor: pointer;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 1px;
	transition: 0.3s;
}
.btn-black:hover {
	background:var(--navy);
	transform: translateY(-3px);
} /* --- 8. PROMO & BANNERS --- */

.btn-red {
	background: var(--gold);
	color: white;
	padding: 12px 30px;
	border: none;
	cursor: pointer;
	margin-top: 20px;
	font-weight: 600;
	text-transform: uppercase;
	transition: 0.3s;
}
.btn-red:hover {
	background: #333;
  transform: translateY(-3px);
	}

.banner-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
}
.banner-card {
	height: 320px;
	padding: 30px;
	color: #111;
	position: relative;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	transition: transform 0.3s;
}
.banner-card:hover {
	transform: translateY(-5px);
}
.banner-card img {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -60%);
	width: 65%;
	z-index: 1;
}
.banner-content {
	position: relative;
	z-index: 2;
}
.b-red {
	background-color: #e80116
}
.b-grey {
	background: #e5e7eb;
	color: var(--black);
}
.b-blue {
	background-color: #cee0e2
} /* --- 9. PROFESSIONAL FOOTER --- */

/* --- Top Cateogries Section --- */
.top-cat-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 25px;
    text-align: center;
    align-items: center;
    justify-content: center;
}

.top-cat-card img {
    height: auto;
	margin:0 auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.top-cat-card p {
    margin-top: 10px;
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

.top-cat-card:hover img {
    transform: scale(1.1);
}

/* Update your CSS with these specific fixes */

.main-img-wrap {
	border: 1px solid #f0f0f0;
	border-radius: 8px;
	overflow: hidden;
	margin-bottom: 15px;
	/* FIX: Set a fixed aspect ratio so the height never collapses */
	aspect-ratio: 1 / 1;
	background-color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
}
#mainView {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: contain; /* Ensures the whole product is visible */
	transition: opacity 0.3s ease-in-out;
}
#mainView.changing {
	opacity: 0;
}
/* Optional: Highlight the active thumbnail */

.thumb-list {
	display: flex;
	gap: 10px;
	justify-content: center; /* This centers the images */
	width: 100%;             /* Ensures it spans the whole column */
	margin-top: 15px;
	flex-wrap: wrap;         /* Allows thumbnails to wrap on small mobile screens */
}
.thumb-list img {
	width: 80px;
	height: 80px;
	border: 1px solid #eee;
	cursor: pointer;
	border-radius: 4px;
	transition: 0.3s;
	object-fit: cover;
}
/* Optional: Adding a nice border to the active thumbnail */
.thumb-list img.active-thumb {
	border: 2px solid #000 !important;
}
.thumb-list img.active-thumb {
	border-color: #000 !important;
	opacity: 0.7;
}
/* --- PRODUCT PAGE SPECIFIC STYLES --- */
.breadcrumb {
	padding: 20px 0;
	font-size: 13px;
	color: #888;
	border-bottom: 1px solid #f5f5f5;
	margin-bottom: 30px;
}
.breadcrumb a {
	color: #333;
	text-decoration: none;
	margin: 0 5px;
}
.product-container {
	display: flex;
	gap: 50px;
	margin-bottom: 60px;
}
.prod-left {
	flex: 1.2;
	position: sticky;
	top: 100px;
	height: fit-content;
}
.prod-right {
	flex: 1;
}
/* Gallery */
.main-img-wrap {
	border: 1px solid #f0f0f0;
	border-radius: 8px;
	overflow: hidden;
	margin-bottom: 15px;
}
.main-img-wrap img {
	width: 100%;
	display: block;
	object-fit: cover;
}
.thumb-list {
	display: flex;
	gap: 10px;
}
.thumb-list img {
	width: 80px;
	height: 80px;
	border: 1px solid #eee;
	cursor: pointer;
	border-radius: 4px;
	transition: 0.3s;
}
.thumb-list img:hover {
	border-color: #000;
}
/* Info */
.prod-title {
	font-size: 15px;
	margin: 10px 0;
	line-height: 1.2;
	
}
.prod-card{ margin-bottom:40px;}
.prod-right h1 {
	font-size: 24px;
	margin: 10px 0;
	font-weight:400;
	line-height: 1.3;
	
}
.price-row {
	margin: 20px 0;
	border-bottom: 1px solid #eee;
	padding-bottom: 20px;
}
.current-price {
	font-size: 22px;
	font-weight:500;
	color: #000;
}

.old-price {
	font-size: 14px;
	text-decoration: line-through;
	color: #999;
	margin-left: 10px;
}
.discount-tag {
	background: var(--green);
	color: #fff;
	padding: 2px 8px;
	border-radius: 4px;
	font-size: 14px;
	margin-left: 10px;
	vertical-align: middle;
}
.action-area {
	display: flex;
	gap: 15px;
	margin-top: 10px;
}
.qty-input {
	width: 100px;
	padding: 12px;
	border: 1px solid #ddd;
	text-align: center;
}
.btn-buy {
	flex: 1;
	 background: var(--gold);
	color: #fff;
	padding:10px 0;
	font-size:17px;
	border: none;
	font-weight: 500;
	transition-property: background-color,border-color,color;
  transition-duration: var(--animation-css-low-duration);
	cursor: pointer;
	
	font-family: inherit;
}
.btn-buy:hover {
	transition: 0.3s;
	 background: var(--gold-mid);
}

.btn-add2cart {
	flex: 1;
	 background: var(--navy);
	color: #fff;
	padding:10px 0;
	border: none;
	font-size:17px;
	font-weight: 500;
	cursor: pointer;
	transition: 0.3s;
	font-family: inherit;
}
.btn-add2cart:hover {
	 background: var(--navy-mid);
}

.btn-wishlist {
	width: 46px;
	height: 46px;
	border: 1px solid var(--border);
	background: var(--white);
	border-radius: var(--radius);
	cursor: pointer;
	color: var(--text-muted);
	font-size: 16px;
	transition: var(--transition);
	/*display: flex;*/
	align-items: center;
	justify-content: center;
}

.btn-wishlist:hover {
	border-color: var(--gold);
	color: var(--gold);
}
 .rating-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
  }
  .stars { color: var(--gold); font-size: 13px; letter-spacing: 2px; }
  .rating-text { font-size: 13px; color: var(--text-muted); }
  .rating-sep { width: 1px; height: 14px; background: #aaaaaa; }
  .review-count { font-size: 13px; color: var(--text-muted); text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
/* --- TABS SYSTEM --- */
.tabs-section {
	margin-top: 50px;
	border-top: 1px solid #eee;
	padding-top: 40px;
	margin-bottom: 80px;
}
.tab-header {
	display: flex;
	gap: 40px;
	border-bottom: 1px solid #eee;
	margin-bottom: 30px;
}
.tab-link {
	padding-bottom: 15px;
	cursor: pointer;
	font-weight: 600;
	color: #999;
	position: relative;
	transition: 0.3s;
}
.tab-link.active {
	color: #000;
}
.tab-link.active::after {
	content: '';
	position: absolute;
	bottom: -1px;
	left: 0;
	width: 100%;
	height: 2px;
	background: #000;
}
.tab-content {
	display: none;
	line-height: 1.8;
	color: #555;
	animation: fadeIn 0.4s;
}
.tab-content.active {
	display: block;
}
/* Specs Table */
.spec-table {
	width: 100%;
	border-collapse: collapse;
	margin-top: 10px;
}
.spec-table tr {
	border-bottom: 1px solid #eee;
}
.spec-table td {
	padding: 15px 0;
}
.spec-label {
	font-weight: 600;
	width: 30%;
	color: #333;
}
/* --- EXACT IMAGE STYLE FOR REVIEWS --- */
.reviews-container {
	padding-top: 10px;
}
.review-item {
	padding: 15px 0;
	border-bottom: 1px solid #eee; /* Thin divider line */
}
.review-item:last-child {
	border-bottom: none; /* Remove line from last item */
}
.rev-header {
	display: flex;
	align-items: center;
	gap: 15px;
	margin-bottom: 5px;
}
.rev-user {
	font-size: 18px;
	font-weight: 700;
	color: #333;
}
.rev-stars {
	color: #ffc107; /* Bright yellow/gold */
	font-size: 16px;
}
.rev-date {
	display: block;
	font-size: 14px;
	color: #999;
	margin-bottom: 10px;
}
.rev-text {
	font-size: 16px;
	color: #444;
	line-height: 1.6;
	font-weight: 400;
}



/* Responsive */
@media (max-width: 1024px) {
    .top-cat-grid {
        grid-template-columns: repeat(3, 1fr);
    }
	
.container {
	padding: 0 20px;
}	
}

@media (max-width: 600px) {
    .top-cat-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
/* --- Top Cateogries Section End --- */

/* --- Blog Section Start --- */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.blog-card {
    text-align: center;
}

.blog-img img {
    width: 100%;
    height: 270px;
    object-fit: cover;
}

.blog-meta {
    margin-top: 15px;
    font-size: 13px;
    color: #777;
}

.blog-meta .cat {
    font-weight: 600;
    margin-left: 10px;
    color: #000;
}

.blog-title {
    font-size: 17px;
    font-weight: 500;
	line-height:22px;
    margin: 10px 0 10px;
    color: #222;
}

.blog-desc {
    font-size: 15px;
    color: #555;
    line-height: 1.5;
    margin-bottom: 20px;
}

.blog-read {
    font-size: 15px;
    color: #000;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 2px solid #000;
    padding-bottom: 3px;
    transition: opacity .3s ease;
}

.blog-read:hover {
    opacity: 0.6;
}

/* Responsive */
@media (max-width: 992px) {
	
.about-grid {
grid-template-columns: 1fr; /* stack */
text-align: center;
  }

.about-grid img {
max-width: 100%;
}

.about-features {
 grid-template-columns: repeat(2, 1fr);
 }
	
 .blog-grid {grid-template-columns: repeat(2, 1fr);}
.nav-menu a{ font-size:13px;}	
.nav-menu {display: flex;gap: 20px;}	

.product-container {
	gap: 30px;
}
.prod-left {
	position: relative;
	top: 0;
}

}

@media (max-width: 600px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Blog Section End --- */

footer {
	background-color: #021127;
	color: #b0b0b0;
	padding: 80px 0 30px;
	margin-top: 80px;
	font-size: 13px;
}
.footer-grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 40px;
	margin-bottom: 30px;
	border-bottom: 1px solid #04152c;
	padding-bottom: 40px;
}
.footer-col h3 {
	color: #fe6800;
	font-size: 16px;
	text-transform:uppercase;
	margin-bottom: 25px;
	font-weight: 500;
}
.footer-col p {
	line-height: 1.8;
	margin-bottom: 20px;
}
.footer-col ul li {
	margin-bottom: 12px;
}
.footer-col ul li a:hover {
	color: #fe6800;
	padding-left: 5px;
} /* Social Icons */
.social-links {
	display: flex;
	gap: 15px;
	margin-top: 20px;
}
.social-links a {
	width: 40px;
	height: 40px;
	background: #333;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	color: white;
	transition: 0.3s;
}
.social-links a:hover {
	background: var(--gold);
} /* Newsletter Input */
.newsletter-form {
	display: flex;
	margin-top: 15px;
}
.newsletter-form input {
	  flex: 1;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-right: none;
    color: white;
    padding: 10px 14px;
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    outline: none;
    border-radius: 2px 0 0 2px;
    transition: border-color 0.2s;
}
.newsletter-form input:focus { border-color: var(--gold); }
.newsletter-form button {
	font-family: 'DM Sans', sans-serif;
	background: #d95a03;
	border: none;
  color: #fff;
  padding: 10px 18px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  border-radius: 0 2px 2px 0;
  transition: background 0.2s;
}
.newsletter-form button:hover {
	background: var(--gold);
	color: white;
}
.copyright {
	text-align: center;
	font-size: 13px;
	color: #666;
}
.copyright a:hover{ color:#c3c3c3;}
 /* --- 10. RESPONSIVE --- */
@media (max-width: 1024px) {
.cat-grid {
	grid-template-columns: repeat(2, 1fr);
}
.prod-grid {
	grid-template-columns: repeat(4, 1fr);
}
.banner-grid {
	grid-template-columns: 1fr;
}
.footer-grid {
	grid-template-columns: 1fr 1fr;
} /* Footer becomes 2 cols */
}
@media (max-width: 768px) {
.container {

	padding: 0 20px;
}	
.product-container {
	flex-direction: column;
}
.action-area {
	flex-direction: column;
}
.qty-input {
	width: 100%;
}
.tab-header {
	gap: 20px;
	overflow-x: auto;
	white-space: nowrap;
	padding-bottom: 5px;
}
.spec-label {
	width: 45%;
}

.top-center {
	display: none;
}
.hamburger {
	display: block;
}
.nav-menu {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	width: 100%;
	background: white;
	flex-direction: column;
	padding: 20px;
	box-shadow: 0 5px 10px rgba(0,0,0,0.1);
}
.nav-menu.active {
	display: flex;
}
.hero {
	height: 450px;
}
.hero-content h2 {
	font-size: 2.5rem;
}
.prod-grid {
	grid-template-columns: repeat(2, 1fr);
	gap: 10px;
} /* Split Section Vertical Stack */
.split-half {
	width: 100%;
	min-height: 350px;
}
.split-text {
	padding: 60px 20px;
	order: 2;
}
.split-img {
	order: 1;
}
.split-half.img-second {
	order: 3;
} /* Keeps visual flow */

.footer-grid {
	grid-template-columns: 1fr;
	gap: 40px;
} /* Footer 1 col */
}
 @keyframes fadeIn {
from {
opacity: 0;
}
to {
	opacity: 1;
}
}

@media screen and (max-width: 480px) {
 .cat-grid {
    grid-template-columns: repeat(1, 1fr);
  }
  
.prod-grid {
	grid-template-columns: repeat(1, 1fr);
} 
.top-cat-grid {
	grid-template-columns: repeat(1, 1fr);
}
.about-grid h1 {
    font-size: 20px !important;
  }

.section-title {
    font-size: 20px;
  }
}
@media (min-width: 1024px) and (max-width: 1320px) {
  .prod-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* MOBILE VIEW */
@media (max-width: 576px) {

  .about-section {
    padding: 20px 0 !important;
  }

  .about-grid {
    gap: 20px;
  }

  .about-grid h1 {
    font-size: 24px !important;
  }

  .about-features {
    grid-template-columns: 1fr; /* single column */
  }

  .about-features div {
    padding: 15px;
   border: 1px solid #f8d9c4;
    border-radius: 6px;
  }

  .section-title {
    font-size: 22px;
  }

  .breadcrumb {
    font-size: 13px;
  }

}
