*{  margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    box-sizing: border-box;
    text-decoration: none;
    user-select: none;
}

:root {
    --hd-bg-color: #f2f2f2;
    --hd-text-color: #000000;
    --bg-color: #ffffff;
	--bg-dark: #111827;
	--bg-card: #1f2937;
    --main-text-color: #000000;
	--text-color: #f9fafb;
	--text-muted: #9ca3af;
	--accent: #3b82f6;
	--accent-hover: #2563eb;
	--border-color: #374151;
	--side-bg-color: #f2f4f2;
	--ds-text-color: #003366;
}

[data-theme="dark"] {
    --hd-bg-color: #060000;
    --hd-text-color: #f2f2f2;
    --bg-color: #121212;
    --bg-dark: #000000;
    --bg-card: #1e1e1e;
    --main-text-color: #f9fafb;
    --text-color: #e0e0e0;
    --text-muted: #aaaaaa;
    --accent: #3498db;
    --accent-hover: #2563eb;
	--border-color: #374151;
	--side-bg-color: #020b02;
	--ds-hd-text-color: #bbdcfc;
}

html {
	scroll-behavior: smooth;
}

body{
    background-color: var(--bg-color);
    color: var(--main-text-color);
}

.cart, button, a {
	cursor: pointer;
}

.header {
	background: var(--hd-bg-color);
	position: sticky;
	position: -webkit-sticky;
	top: 0;
	z-index: 100;
	width: 100%;
	padding: 6px 2%;
	display: flex;
	justify-content: space-between;
	align-items: center;
	box-shadow: 2px 2px 2px #ddd;
}

.header .leftmenu {
	display: flex;
	align-items: center;
}

.header .leftmenu div{
	padding: 6px;
}

.header .leftmenu div:hover nav a:hover{
	background-color: #fff;
}

.header .leftmenu div small{
	color: #000;
}

.header h1 {
	letter-spacing: 2px;
	margin-bottom: -5px;
}

.header small {
    font-size: 13px;	
}

.header h1, .header label{
    font-size: 20px;
}

.header h1, .header small, .header label, .header .navbar ul li a{
	color: var(--hd-text-color);
}

.header nav ul{
	list-style: none;
}

.header nav ul li{
	position: relative;
	float: left;
}

.log{
	background-color: #003366;
}

.log .logmenu {
	width: 180px;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease;
	padding: 5px;
	background-color: #f2f2f2;
	z-index: 100;
	position: fixed;
	list-style: none;
	right: 2px;
	top: 35px;
	margin-top: 8px;
}

@media (hover :hover) and (pointer: fine){
	.log:hover .logmenu {
		opacity: 1;
		visibility: visible;
	}
}

.log.active .logmenu {
	opacity: 1;
	visibility: visible;
}

.header .navbar ul li a, .logmenu li{
	font-size: 16px;
	font-weight: 500;
}

.header nav ul li a, .logmenu li{
	padding: 10px 15px;
	display: block;
	align-items: center;
    text-decoration: none;
    transition: color 0.2s;
	cursor: pointer;
}

.header nav ul li a{
    margin: 0 12px;
}

.header .navbar ul li a:hover, .cart:hover, .logmenu li:hover {
    color: #ff4757;
	background-color: #fff;
}

.header nav ul li a i{
	background-color: #fc0707;
	font-size: 12px;
	color: #fff;
	border-radius: 35%;
	padding: 2px;
	vertical-align: top;
	margin-left: -12px;
	font-style: normal;
}

.header .logo{
	display: flex;
	align-items: center;
}

.header .logo span {
    color: #ff4757;
}

.header .navbar ul li a:hover, .header .navbar ul li .active-page {
	border-bottom: 1px solid red;
}

.header nav ul li .active-page {
	background: #ccc;
	color: #003366; 
}

.header nav ul li .active-page-sub {
	background: #333;
	color: #fff; 
}

.header nav ul li ul{
	position: absolute;
	left: 0;
	width: 200px;
	background: #fff;
	display: none;
}

.header nav ul li ul li{
	width: 100%;
	border-top: 1px solid rgba(0,0,0,1);
}

.header .navbar ul li ul li a:hover{
	background-color: #ccc;
}

.header nav ul li ul li ul{
	left: 200px;
	top: 0;
}

.header nav ul li:focus-within>ul, .header  nav ul li:hover>ul{
	display: initial;
}

#menu-bar {
	display: none;
}

.header label {
	cursor: pointer;
	display: none;
}

.search-container {
    display: flex;
    flex: 1;
    max-width: 500px;
    position: relative;
}

.search-container input {
    width: 100%;
    padding: 10px 45px 10px 15px;
    font-size: 14px;
    border: 1px solid #ddd;
    border-radius: 50px;
    outline: none;
    transition: all 0.2s ease;
    background-color: #f1f2f6;
}

.search-container input:focus {
    border-color: #ff4757;
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(255, 71, 87, 0.1);
}

.search-container button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 16px;
    cursor: pointer;
    padding: 5px 10px;
}

.mainrow, .row {
	display: flex;
	align-items: flex-start;
	gap: 2rem;
}

.left-col {
	flex-basis: 75%;
}

.left-col ol, .left-col ul {
	margin-left: 25px;
	margin-bottom: 25px;
}

.right-col {
	position: -webkit-sticky;
	position: sticky;
	flex-basis: 30%;
	top: -600px;
	
}


.right-col aside{
	border: 1px #ddd solid;
	margin-bottom: 40px;
}

.right-col .head{
	padding: 12px;
	background-color: #f2f2f2;
	color: var(--main-text-color);
	font-weight: bold;
}

.allblog, .recentblogs {
	display: flex;
	margin-bottom: 24px;
	border: 1px #ddd solid;
	border-radius: 12px;
	padding: 12px;
	background-color: #fff4;
}

.allblog h3 {
	margin-bottom: 12px;
	color: var(--main-text-color);
}

.allblog span{
	color: var(--main-text-color);
	font-size: 15px;
	line-height: 1.8;
}

.allblog img {
	width: 150px;
	height: 150px;
	margin-right: 15px;
}

.recentblogs {
	border: 0px #ddd solid;
}

.recentblogs span{
	color: var(--main-text-color);
	font-size: 12px;
	line-height: 1.2;
}

.recentblogs img {
	width: 70px;
	height: 70px;
	margin-right: 15px;
}


#rotator, #worship{
	cursor: pointer;
	overflow: hidden; 	
	position: relative; 	
	width: 100%; 	
	height: 260px; 
	margin:0 auto; 
}

#rotator img, #worship img{	
	border: 0; 	
	cursor: pointer; 	
	width: 100%; 	
	height: 260px;
}

.site-footer {
	background-color: var(--bg-dark);
	color: var(--text-color);
	line-height: 1.5;
}
  
.footer-container {
	margin: 0 auto;
	padding: 0 2.5rem;
}
  
.footer-trust-bar {
	border-bottom: 1px solid var(--border-color);
	padding: 2rem 0;
}

.trust-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 1.5rem;
}
  
.trust-item {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.trust-icon {
	font-size: 1.5rem;
}
  
.trust-item h4 {
	margin: 0;
	font-size: 0.95rem;
	font-weight: 600;
    color: #fff;
}
  
.trust-item p {
	margin: 0;
	font-size: 0.8rem;
	color: var(--text-muted);
}

.footer-main {
	padding: 3.5rem 0 2.5rem;
}
  
.main-grid {
	display: grid;
	grid-template-columns: 2fr repeat(3, 1fr);
	gap: 2.5rem;
}
  
.footer-logo {
	font-size: 1.5rem;
	font-weight: 800;
	color: #ffffff;
	text-decoration: none;
	letter-spacing: 0.05em;
}
  
.brand-desc {
	color: var(--text-muted);
	font-size: 0.9rem;
	margin: 0rem 0 1.5rem;
	max-width: 300px;
}
  
.newsletter-title {
    color: var(--text-muted);
	font-size: 0.9rem;
	font-weight: 600;
	margin-bottom: 0.5rem;
}
  
.newsletter-form {
	display: flex;
	gap: 0.5rem;
	max-width: 320px;
}
  
.newsletter-form input {
	flex: 1;
	padding: 0.6rem 0.8rem;
	border-radius: 6px;
	border: 1px solid var(--border-color);
	background: var(--bg-card);
	color: #000;
	font-size: 0.875rem;
}
  
.newsletter-form input:focus {
	outline: 2px solid var(--accent);
	border-color: transparent;
}
  
.newsletter-form button {
	background: var(--accent);
	color: #ffffff;
	border: none;
	padding: 0.6rem 1.2rem;
	border-radius: 6px;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.2s ease;
}
  
.newsletter-form button:hover {
	background: var(--accent-hover);
}
  
.footer-col h3 {
	font-size: 0.9rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	margin: 0 0 1rem;
	color: #ffffff;
}
  
.footer-col ul {
	list-style: none;
	padding: 0;
	margin: 0;
}
  
.footer-col li {
	margin-bottom: 0.6rem;
}
  
.footer-col a {
	color: var(--text-muted);
	text-decoration: none;
	font-size: 0.9rem;
	transition: color 0.2s ease;
}
  
.footer-col a:hover {
	color: #ffffff;
}
  
  /* 3. Bottom Bar */
.footer-bottom {
	border-top: 1px solid var(--border-color);
	padding: 1.5rem 0;
	background: #0b0f19;
}
  
.bottom-flex {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	font-size: 0.8rem;
	color: var(--text-muted);
}
  
.legal-links {
	display: flex;
	gap: 1rem;
}
  
.legal-links a {
	color: var(--text-muted);
	text-decoration: none;
}
  
.legal-links a:hover {
	text-decoration: underline;
}
  
.payment-badges {
	display: flex;
	gap: 0.5rem;
}
  
.payment-badge {
	background: #1f2937;
	border: 1px solid #374151;
	padding: 0.1rem 0.3rem;
	border-radius: 4px;
	font-size: 0.7rem;
	font-weight: 500;
	letter-spacing: 0.05em;
}

.product-detail-container {
	background: white;
	display: flex;
	flex-wrap: wrap;
	gap: 40px;
	margin: 0 auto 40px auto;
}

.product-image img {width: 100%; max-width: 350px; height: 350px; object-fit: cover; border-radius: 8px; }
.product-info { flex: 1; }
.product-info h1 { margin-top: 0; color: #333; }
.price { font-size: 24px; font-weight: bold; color: #27ae60; margin: 15px 0; }
.description { color: #666; line-height: 1.6; margin-bottom: 20px; }

/* Add to Cart Button */
.btn {
	background-color: #3498db;
	color: white;
	padding: 12px 25px;
	border: none;
	border-radius: 4px;
	font-size: 16px;
	cursor: pointer;
	transition: background-color 0.3s;
}
.btn:hover { background-color: #2980b9; }


  /* Related Products #main section */
  .related-section { max-width: 800px; margin: 0 auto; }
  .related-section h3 { color: #333; margin-bottom: 15px; }
  .related-grid { display: flex; gap: 15px; }
  .related-card {
	  background: white;
	  border: 1px solid #ddd;
	  border-radius: 6px;
	  width: 150px;
	  padding: 10px;
	  text-align: center;
	  text-decoration: none;
	  color: inherit;
  }
  .related-card img { width: 100%; height: 100px; object-fit: cover; border-radius: 4px; }
  .related-card h4 { font-size: 14px; margin: 8px 0; }
  .related-price { font-size: 14px; color: #27ae60; }
  


#overlay {
	display: none;
	width: 100%;
	height: 100%;
	z-index: 9999;
	inset:  0 0 0 0;
	position: fixed;
	justify-content: center;
	align-items: center;
	background-color: rgba(0, 0, 0, 0.9);
}

#overlay span{
	position: absolute;
	top: 20px;
	right: 35px;
	color: red;
	font-size: 38px;
	cursor: pointer;
}

.overlay-content {
	max-width: 90%;
	max-height: 90%;
	object-fit: contain;
}

#task {
	position: fixed;
	display: none;
	background: rgba(0,0,0,0.6);
	inset: 0 0 0 0;
	justify-content: center;
	align-items: center;
	z-index: 1000;
	color: #fff;
}


#salert{
	display: none;
	z-index: 200;
	position: fixed;
	inset: 0 0 0 0;
}

#salert #smsg{
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.4);
	display: flex;
	align-items: center;
	justify-content: center;
}


.login-container {
    background: rgba(255, 255, 255, 0.95);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    width: 100%;
    max-width: 350px;
}

.login-form h2 {
    color: #333;
    margin-bottom: 8px;
    font-size: 28px;
}

.login-form p {
    color: #666;
    font-size: 14px;
    margin-bottom: 24px;
}

.input-group {
    position: relative;
    margin-top: 20px;
}


.input-group input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 16px;
    outline: none;
    transition: all 0.3s ease;
}

/* Floating Label Logic */
.input-group label {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    pointer-events: none;
    transition: all 0.3s ease;
    background: #fff;
    padding: 0 4px;
}

.input-group input:focus,
.input-group input:not(:placeholder-shown) {
    border-color: #667eea;
}

.input-group input:focus + label,
.input-group input:not(:placeholder-shown) + label {
    top: 0;
    font-size: 12px;
    color: #667eea;
}


.showp{
	display: flex;
	cursor: pointer;
	align-items: center;
	font-size: 15px;
	margin-top: 5px;
	margin-bottom: 20px;
}

.showp input{
	width: 15px;
	height: 15px;
	margin-right: 5px;
	cursor: pointer;
}

.form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    margin-bottom: 24px;
}

.remember-me {
    color: #555;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
}

.forgot-password {
    color: #667eea;
    text-decoration: none;
}

.forgot-password:hover {
    text-decoration: underline;
}

.login-btn {
    width: 100%;
    padding: 12px;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
	margin-top: 20px;
}

.login-btn:hover {
    background: #5a6fd6;
}

.signup-redirect {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
}

.signup-redirect a {
    color: #764ba2;
    text-decoration: none;
    font-weight: 600;
}

.signup-redirect a:hover {
    text-decoration: underline;
}

.closer{
	text-align: right;
	color: red;
	font-size: 21px;
	cursor: pointer;
  }

.error, .good{
	text-align: center;
	color: #000;
	font-size: 14px;
	padding: 4px;
	margin-bottom: 10px;
}

#sitemsg{
	max-width: 400px;
	width: 100%;
}

.error{
	background: rgb(251, 137, 137);
}

.good{
	background: rgb(161, 249, 30);
}

.tooltip {
	position: relative;
	display: inline-block;
	margin-left: 0px;
}

.tooltip img{
	width: 14px;
	height: 14px;
	margin-left: 8px;
	cursor: pointer;
}

.tooltip .tooltiptext {
	width: 200px;
	visibility: hidden;
	background: #fff;
	border-radius: 2px;
	padding: 4px;
	position: absolute;
	z-index: 12;
	line-height: 1.4;
	cursor: pointer;
	box-shadow: 2px 2px 2px 2px #ddd;
}

.tooltip:hover .tooltiptext {
	visibility: visible;
	color: #000;
	font-weight: normal;
	font-size: 14px;
}

textarea::placeholder{
	white-space: pre-line;
}

dialog {
	position: fixed;
	top: 50%; left: 50%;
	transform: translate(-50%, -50%);
	padding: 20px;

}

dialog button{
	margin: 5px;
	padding: 5px;
}

.home-btn {
	display: inline-block;
	background-color: #38bdf8;
	color: #0f172a;
	padding: 0.75rem 1.5rem;
	font-size: 1rem;
	font-weight: 600;
	text-decoration: none;
	border-radius: 0.375rem;
	transition: background-color 0.2s ease, transform 0.2s ease;
}

.home-btn:hover {
	background-color: #7dd3fc;
	transform: translateY(-2px);
}

#toast{z-index: 9999; visibility: hidden; min-width: 250px; margin-left: -125px; background-color: #ddd; color: #000; text-align: center; border-radius: 10px; padding: 8px; position: fixed; left: 50%; bottom: 30px; font-size: 17px;} #toast.show{ visibility: visible; -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s; animation: fadein 0.5s, fadeout 0.5s 2.5s;}

#sitepubedit {
	width: 100%;
	z-index: 9999;
	position: fixed;
	top: 0;
	right: 0;
	left: 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	background-color: #111827;
	color: #fff;
	padding: 2px;
	border-bottom: 1px #fff solid;
}

#sitepubedit label{
	font-size: 12px;
}

#sitepubedit button{
	background-color: #fff;
	border: none;
	padding: 4px 8px;
	width: 70px;
	margin-right: 2px;
}

#editortools{
	background-color: #f2f2f2;
	max-width: 250px;
	width: 100%;
	position: fixed;
	z-index: 999;
	top: 0;
	left: 0;
	bottom: 0;
	padding: 10px;
	overflow: auto;
}

#editortools #toptext{
	background-color: #f2f2f2;
	position: sticky;
	top: 10px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: 25px;
	margin-bottom: 20px;
	font-weight: bold;
	font-size: 18px;
	border-bottom: 1px solid #000;
	padding: 8px 0;
}

#editortools #elements div{
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 8px;
	border: 1px dotted #333;
	padding: 5px;
}

#editortools #elements div label, #editortools #elements span{
	font-size: 13px;
	font-weight: 600;
}

#editortools #elements span{
	font-size: 14px;
	font-weight: bold;
}

#editortools #elements div input, #editortools #elements div select{
	height: 30px;
	width: 90px;
}

#editortools #save{
	max-width: 218px;
	width: 80%;
	position: fixed;
	border: none;
	bottom: 4px;
	left: 18px;
	padding: 8px 18px;
	background-color: #3498db;
	color: #fff;
	font-size: 15px;
}

#editortools b{
	margin-top: 10px;
}

#blink {
	animation: blink-fade 1.5s steps(2, start) infinite;
}

@keyframes blink-fade {
	/*0%, 100%{
		opacity: 1;
	}
	50%{
		opacity: 0;
	}*/
	to{
		visibility: hidden;
	}
}

.searchresult{
	border: 1px solid #ccc; 
	border-radius: 5px;
	padding: 20px; 
	margin-top: 15px;
	margin-bottom: 25px;
	color: var(--main-text-color);
}

.searchresult p{
	color: var(--main-text-color);
}