/* CSS Document */
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

*{
	font-family: 'poppins' , sans-serif;
	margin: 0; padding: 0;
	box-sizing: border-box;
	outline: none; border: none;
	text-decoration: none;
	text-transform: capitalize;
	transition: all .2s linear;
	scroll-behavior: smooth;
	scroll-padding-top: 7rem;
}

body{
	color: #333;
	background: #171e25;
}

header{
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	padding: 25px 9%;
	background:#202831;
	box-shadow: 0 2px 10px rgba(0,0,0,0.1);
	display: flex;
	justify-content: space-between;
	align-items: center;
	z-index: 99;
}

section{
	padding:2rem 9%;
}

.logo {
	font-size: 25px;
	color: #FFFFFF;
	text-decoration: none;
	font-weight: 600;
}

.logo i{
	color:#ff7800;
}


#cart-icon{
	position: relative;
	display: flex;
	font-size: 30px;
	cursor: pointer;
	color: #FFFFFF;
	margin-right: -150px;
}

#login{
	position: relative;
	display: flex;
	font-size: 30px;
	cursor: pointer;
	color: #FFFFFF;
	margin-right: -50px;
}

#menu{
	position: relative;
	display: flex;
	font-size: 30px;
	cursor: pointer;
	color: #FFFFFF;
	margin-right: -60px;
}

#menu{
	display: none;
}

#cart-icon .cart-item-count{
	position: absolute;
	top: 0;
	right: -6px;
	width: 20px;
	height: 20px;
	background: #e35f26;
	border-radius: 50%;
	font-size: 12px;
	color: #fff;
	display: flex;
	justify-content: center;
	align-items: center;
	visibility: hidden;
}

.shop{
	padding: 100px 9% 30px;
}

.section-title{
	font-size: 35px;
	text-align: center;
	margin-bottom: 15px;
	color: #FFFFFF;
	padding:2rem 0;
	padding-bottom: 3rem;
}

.section-title span{
	background:#e35f26;
	color: #FFFFFF;
	display: inline-block;
	padding: .5rem 3rem;
	clip-path: polygon(100% 0, 93% 50%, 100% 99%, 0% 100%, 7% 50%, 0% 0%);
}

.navbar a{
	font-size: 1.2rem;
	margin:0 1rem;
	color:#fff;
	text-decoration: none;
}

.navbar a:hover{
	color:#e35f26;
}

.product-content{
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px,1fr));
	gap: 30px;
}

.product-box .img-box{
	display: flex;
	border-radius: 10px;
	overflow: hidden;
}

.img-box img{
	width: 100%;
	transition: 0.5s;
}

.img-box:hover img{
	transform: scale(1.1);
}

.product-box .product-title{
	font-size: 20px;
	margin-top: 10px;
	color: #fff;
}

.product-box .price-and-cart{
	display: flex;
	justify-content: space-between;
	align-items: center;
	color: #FFFFFF;
}

.price-and-cart .price{
	font-size: 18px;
	font-weight: 500;
}

.price-and-cart .add-cart{
	padding: 10px;
	background: #e35f26;
	border-radius: 6px;
	font-size: 20px;
	color: #fff;
	cursor: pointer;
}

.cart {
	position: fixed;
	top: 0;
	right: -100%;
	width: 360px;
	height: 100%;
	background: #171e25;
	box-shadow: -2px 0 10px rgba(0,0,0,0.5);
	padding: 65px 20px 40px;
	z-index: 100;
	overflow: auto;
	transition: 0.5s;
}

.cart.active {
	right: 0;
}

.cart-title{
	text-align: center;
	font-size: 30px;
	color: #fff;
}

.cart-box {
	display: flex;
	align-items: center;
	margin-top: 20px;
}

.cart-box img{
	width: 100px;
	height: 100px;
	border-radius: 6px;
	object-fit: cover;
	margin-right: 20px;
}

.cart-detail {
	display: grid;
	gap: 8px;
	margin-right: auto;
	color: #FFFFFF;
}

.cart-product-title {
	font-size: 16px;
	line-height: 1;
}

.cart-price {
	font-weight: 500;
}

.cart-quantity {
	display: flex;
	width: 100px;
	border: 1px solid #999;
	border-radius: 6px;
}

.cart-quantity button {
	background: transparent;
	width: 30px;
	border: none;
	font-size: 20px;
	cursor: pointer;
	color: #fff;
}

.cart-quantity #decrement {
	color: #999;
}

.cart-quantity .number {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 40px;
	border-left: 1px solid #999;
	border-right: 1px solid #999;
	cursor: default;
}

.cart-remover {
	font-size: 25px;
	cursor: pointer;
	color: #FFFFFF;
}

.total {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	border-top: 1px solid #fff;
	margin-top: 28px;
	font-size: 18px;
	color: #FFCC0A;
}

.total-price {
	margin-left: 10px;
	font-weight: 600;
	color: #fff;
}

.btn-buy {
	display: block;
	padding: 10px 30px;
	background: #e35f26;
	border: none;
	border-radius: 6px;
	font-size: 16px;
	color: #fff;
	margin: 20px auto 0;
	cursor: pointer;
}

#cart-close {
	position: absolute;
	top: 20px;
	right: 15px;
	font-size: 35px;
	cursor: pointer;
	color: #fff;
}

.footer{
	background: #202831;
	text-align: center;
}

.footer .box-container{
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
	gap:1rem;
}

.footer .box-container .box h3{
	font-size: 1.5rem;
	color:#e35f26;
	padding:1rem 0;
}

.footer .box-container .box h3 i{
	color:#E35F26;
}

.footer .box-container .box .links{
	display: block;
	font-size: 1rem;
	color: #FFFFFF;
	padding:1rem 0;
	text-decoration: none;
}

.footer .box-container .box .links i{
	color:#E35F26;
	padding-right: .5rem;
}

.footer .box-container .box a:hover{
	padding-right: 2rem;
}

.footer .box-container .box p{
	line-height: 1.8;
	font-size: 1.2rem;
	color: #FFFFFF;
	padding:1rem 0;
}

.footer .box-container .box .share a{
	height:2.5rem;
	width:3rem;
	line-height:2rem;
	border-radius: .5rem;
	font-size: 2rem;
	color:#000000;
	margin-left: .5rem;
	background: #eee;
	text-align: center;
}

.footer .box-container .box .share a:hover{
	background: #990407;
	color: #fff;
}

.footer .box-container .box .email{
	width: 100%;
	margin:0rem 1rem;
	padding:0.7rem;
	border-radius: .5rem;
	background: #eee;
	font-size: 1rem;
	color: #000000;
	text-transform: none;
}

.footer .box-container .box .payment-img{
	margin-right: 2.5rem;
	height: 3rem;
}

.footer .credit{
	text-align: center;
	margin-top: 2rem;
	padding:1rem;
	padding-top: 2.5rem;
	font-size: 1rem;
	color: #FFFFFF;
	border-top: var(--border);
}

.footer .sub{
	text-align: center;
	margin-top: 1rem;
	padding:1rem;
	padding-top: 2.5rem;
	font-size: 1rem;
	color: #FFFFFF;
}

.footer .nub{
	text-align: center;
	margin-top: 1rem;
	padding:1rem;
	padding-top: 2.5rem;
	font-size: 1rem;
	color: #FFFFFF;
	border-top: .2rem solid rgba(0,0,0,.1);
	text-decoration: none;
}

.footer .credit span{
	color: #E35F26;
}

.btn{
	margin-top: 1rem;
	display: inline-block;
	padding:.8rem 3rem;
	font-size: 1rem;
	border-radius: .5rem;
	border:.2rem solid #FBFAFA;
	color: #FFFFFF;
	cursor: pointer;
	background: none;
}

.btn:hover{
	background:#E35F26;
	color: #FFFFFF;
}

/* fixed image */
.container {
  position: relative;
  font-family: Arial;
}

.text-block {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background-color: black;
  color: white;
  padding-left: 20px;
  padding-right: 20px;
}

/*heading*/
.heading{
	text-align: center;
	padding:0.5rem 0;
	padding-bottom: 3rem;
	font-size: 2rem;
	color: #FFFFFF;
}

.heading span{
	background:#ff7800;
	color: #FFFFFF;
	display: inline-block;
	padding: .5rem 3rem;
	clip-path: polygon(100% 0, 93% 50%, 100% 99%, 0% 100%, 7% 50%, 0% 0%);
}






@media screen and (max-width: 360px){
    header {
		padding:1rem;
	}

    .logo {
        font-size: 20px;
        white-space: nowrap;
    }

	product-content {
		grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	}
	
	.cart {
        width: 90%; /* Adjust width slightly for smaller screens */
    }
	
	#menu{
	display: inline-block;
	margin-right: -10px;
}

	#cart-icon{
	display: inline-block;
	margin-right: 120px;
}
 
	 
	 .navbar{
		position: absolute;
		top:110%; right:-110%;
		width:20rem;
		box-shadow: 0 .5rem 1.5rem rgba(0,0,0,.1);
		border-radius: .5rem;
		background: #202831;
	}
	
	.navbar.active{
		right:2rem;
		transition: .4s linear;
	}
	
	.navbar a{
		font-size: 1.3rem;
		margin:2rem 2.5rem;
		display: block;
	}
	
	.footer{
	text-align: center;
}

}

@media (max-width : 1066px ){
	
	#menu{
	display: inline-block;
	margin-right: -10px;
}

	#cart-icon{
	display: inline-block;
	margin-right: -600px;
}

    #login{
	display: inline-block;
	margin-right: -600px;
}
	
	 .navbar{
		position: absolute;
		top:110%; right:-110%;
		width:20rem;
		box-shadow: 0 .5rem 1.5rem rgba(0,0,0,.1);
		border-radius: .5rem;
		background: #202831;
	}
	
	.navbar.active{
		right:2rem;
		transition: .4s linear;
	}
	
	.navbar a{
		font-size: 1.3rem;
		margin:2rem 2.5rem;
		display: block;
	}
}

@media (max-width : 760px ){
	
	product-content {
		grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	}
	
	#menu{
	display: inline-block;
	margin-right: -10px;
}

	#cart-icon{
	display: inline-block;
	margin-right: -330px;
}

    #login{
	display: inline-block;
	margin-right: -320px;
}
	
	 .navbar{
		position: absolute;
		top:110%; right:-110%;
		width:20rem;
		box-shadow: 0 .5rem 1.5rem rgba(0,0,0,.1);
		border-radius: .5rem;
		background: #202831;
	}
	
	.navbar.active{
		right:2rem;
		transition: .4s linear;
	}
	
	.navbar a{
		font-size: 1.3rem;
		margin:2rem 2.5rem;
		display: block;
	}
}


@media (max-width : 496px ){
	
	body{
		font-size: 55%;
	}
		product-content {
		grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	}
	
	#menu{
	display: inline-block;
	margin-right: -10px;
}

	#cart-icon{
	display: inline-block;
	margin-right: 130px;
}
	
	 .navbar{
		position: absolute;
		top:110%; right:-110%;
		width:20rem;
		box-shadow: 0 .5rem 1.5rem rgba(0,0,0,.1);
		border-radius: .5rem;
		background: #202831;
	}
	
	.navbar.active{
		right:2rem;
		transition: .4s linear;
	}
	
	.navbar a{
		font-size: 1.3rem;
		margin:2rem 2.5rem;
		display: block;
	}
}

.footer{
	text-align: center;
}

