

:root {
  --crd_w: 17vw; 
}



body {
	font-family: "Spectral SC", serif;
	margin: 0;
	padding: 0;
	background-color: rgb(175, 48, 82);
}

header {
	background-color: #0f0f0f;
	color: #ffffff;
	padding: 6px;
	letter-spacing: 0.5em;
	text-align: center;
}

nav {
	display: flex;
	justify-content: flex-start;
	align-items: center;
	
	background: linear-gradient(
		-180deg, #4f0909 4%, 
		rgb(175, 48, 82) 94%,rgb(255, 224, 232) 100%);
	
	width: 100%;
	padding: 1.2vw;
	text-align: center;
	
}

/* Logo */
nav img {
	border-radius: 50%;
	width: 9%;
	max-width: 120px;
	z-index: 99;
}

nav a {
	margin-right: 2vw;
}
/* buttons + links */

nav a {
	background-color: rgba(0, 0, 0, 0.24);
	color: #ffffff;
	padding: 0.1vw 3vw 0.1vw;
	text-align: center;
	font-weight: 100;
	letter-spacing: 0.6em;
	border-radius: 9px;
	text-decoration: none;
	height: min-content;
	flex-grow: 1;
	
	}

nav a:nth-of-type(7) {
		flex-grow: 7;
}

.hdr {
	max-height: 14vw;
	width: 100%;
}

/* 		PAGE 2 			*/

section {
	padding: 14px 0; /* Adjust padding as needed */
}

h2 {
	text-align: center;
	margin-bottom: 20px;
}

.btn {
	display: inline-block;
	padding: 10px 20px;
	background-color: rgb(175, 48, 82); /* Use your existing color */
	color: #fff;
	text-decoration: none;
	border-radius: 5px;
	transition: background-color 0.3s ease;
}

.btn:hover {
	background-color: #dfb077; /* Use your existing hover color */
}

/* Hero Section */
.hero {
	background-image: url("images/card1.jpg"); 
	background-size: cover;
	background-position: center;
	min-height: 400px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	color: #fff;
}

.hero-content {
	background-color: rgba(0, 0, 0, 0.3); /* Add a semi-transparent overlay */
	padding: 20px 40px;
	border-radius: 10px;
}

/* Categories Section */
.category-grid {
	display: flex;
	justify-content: space-around;
	flex-wrap: wrap;
}

.category-card {
	width: 300px; /* Adjust card width as needed */
	height: 200px; /* Adjust card height as needed */
	margin-bottom: 20px;
	background-size: cover;
	background-position: center;
	border-radius: 10px;
	box-shadow: 1px 2px 8px rgba(0, 0, 0, 0.6); /* Add shadow */
	position: relative; /* To position the overlay content */
	overflow: hidden; /* To ensure the overlay covers the entire card */
}

.info-card {
	width: 47%; /* Adjust card width as needed */
	height: auto; /* Adjust card height as needed */
	margin-bottom: 20px;
	background-size: cover;
	background-position: center;
	border-radius: 10px;
	box-shadow: 1px 2px 8px rgba(0, 0, 0, 0.6); /* Add shadow */
	position: relative; /* To position the overlay content */
	overflow: hidden; /* To ensure the overlay covers the entire card */
}

.category-card:hover {
	transform: scale(1.1);

	/* Add a zoom effect on hover */
}

.category-card h3 {
	position: absolute;
	bottom: 20px;
	left: 20px;
	color: #fff;
	font-size: 1.8em;
	z-index: 1; /* Ensure text is above the overlay */
}

.category-card .btn {
	position: absolute;
	bottom: 20px;
	right: 20px;
	z-index: 1; /* Ensure button is above the overlay */
}

.category-card::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.2); /* Add a semi-transparent overlay */
	border-radius: 10px;
}

/* Shop Now Section */
.shop-now {
	background-color: #f8f8f8; /* Use a light background color */
	text-align: center;
}

.shop-now-content {
	max-width: 800px;
	margin: 0 auto;
	padding: 20px;
	border-radius: 10px;
	box-shadow: 1px 1px 21px rgba(0, 0, 0, 0.07); /* Add a subtle shadow */
}











/* 					IMAGE CAROUSEL			 */

.carousel-container {
	overflow:visible;
	width: 52%;
	position: relative;
	border-radius: 1%;
	box-shadow: 3px 3px 36px rgba(0, 0, 0, 0.5);
}

.carousel {
	display: flex;
	flex-wrap: nowrap;
	animation: scroll 9s ease-in-out infinite;
}

.product-im9 {
	flex: 0 0 auto;
	width: 100%;
	height: auto;
	z-index: 97;
	transition:
		transform 0.3s ease,
		width 0.3s ease;
}

@keyframes scroll {
	0% {
		transform: translateX(0);
	}
	100% {
		transform: translateX(-100%);
	}
}

.carousel:hover {
	animation-play-state: paused;
}

.product-im9:hover {
	transform: scale(2.5);
	z-index: 142;
	position: relative;
	width: 150%;
}

/* ##############################################################<_<>_>######################################################### */
.post {
	margin: 1% 0% 2%;
	padding: 0% 2% 0%;
	grid-column: span 1;
	background-color: #ffffff;
}

.post img {
	max-width: 84%;
	height: auto;
}
.post h2 {
	margin-top: 2%;
}

.post p {
	line-height: 1.7;
}


.circle {
	border-radius: 14%;
	align-self: flex-start;
}

.product-card .product-image .card-btn {
	padding: 10px;
	width: 91%;
	text-transform: capitalize;
	border-radius: 0.2vw;
	align-items: center;
	text-align: center;

}

/* ############################################################################################ */

/*          TABLE AND FILTERS   background: linear-gradient(177.13deg, #cd2323 0%, #a40cce 100%); */

.shop_table {
	max-block-size: 446px;
	overflow-y: scroll;
	width: 100%;
	margin: 0 auto;

	display: block;
}

.navbar {
	display: flex;
	flex-wrap: nowrap;
	overflow-x: auto;
	
	
}

/*
.nvb {
	
}
*/

.snipcart-add-item {
	color: #fff0df;
	letter-spacing: 0.3vw;
	background-color: rgb(175, 48, 82);
	width: 49%;
	height: auto;
	border-radius: 9px;
	border-style: solid;
	border-color: #dfb077;
	box-shadow: 3px 3px 16px rgba(0, 0, 0, 0.56);
	z-index: 999;
	position: flex;
	bottom: 62px;
	
	margin-bottom: 2%;
	margin-inline: 0.1%;
	padding-bottom: 1%;
	
	font-size: 1.2em;
	font-family: "Spectral SC", serif;
	font-weight: 374;
	display: flexbox;

}

.indiv_itm {
	border-radius: 9px;
	width: max-content;
	height: 


}


.snipcart-checkout {
	background-color: rgba(0, 0, 0, 0.54);
	color: #ffddb4;
	border-radius: 9px;
	
	height: auto;
	width: auto;
	
	font-size: 1.9em;
	font-weight: 10;
	letter-spacing: 0.4em;
	font-family: "Spectral SC", serif;
	
	position: fixed;
    right: 20px;
    top: 94%;
	
    
    z-index: 72;
	box-shadow: 3px 3px 16px rgba(0, 0, 0, 0.3);
	
	padding-inline: 5%;

	
}

.snipcart-checkout:hover{
	
	border-color: #ffffff;
	color: #ffffff;
	box-shadow: 3px 3px 16px #ffd9ab;
	
}

/*

margin-right: 70px;


 
	left: 50%;
	transform: translateX(-50%);

*/
/*   #################################### POPUP ###################################*/
.overlay {
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	background: rgba(0, 0, 0, 0.4);
	transition: opacity 500ms;
	visibility: hidden;
	opacity: 0;
}
.overlay:target {
	visibility: visible;
	opacity: 1;
}

.container {
	max-width: 100%;
	margin: 1% auto;
	padding: 0 1%;
	display: grid;
	grid-template-columns: repeat(1, 1fr);	
	grid-gap: 22px;
	color: #000000;
}

/*		
 * grid-template-columns: repeat(1, 1fr);			
 *  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));				
 * 
 * 
 * 	*/

/*
##################################  popup content and text ####################################
 * */
.beh {
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	background: rgba(0, 0, 0, 0.6);
	transition: opacity 407ms;
	opacity: 1;
	z-index: 77;
	
}

.popup {
	margin: 5vw auto 2vw;
	padding: 4vw;
	background: rgba(255, 255, 255, 0.88);
	border-radius: 22px;
	width: 85%;
	height: 81%;
	position: relative;
	transition: all 3s ease-in-out;
	overflow-y: auto;
	z-index: 72;
	
	text-align: center;
	letter-spacing: 0.2em;
	
	
	
}

.popup h2 {
	margin-top: 2vw;
	color: #000000;
}
.popup .close {
	position: absolute;
	top: 20px;
	right: 30px;
	transition: all 200ms;
	font-size: 3em;
	font-weight: 900;
	text-decoration: none;
	color: #333;
}


.popup .close:hover {
	color: #ff2662;
}
.popup .content {
	max-height: 34%;
}


/* ############################################################################################ */

.filters {
	width: auto;
	font-family: "Spectral SC", serif;
	font-size: 1.8rem;
	letter-spacing: 2px;
}

.color1 {
	background-color: #d32841;
	color: #ffffff;
	font-weight: 700;
	text-align: center;
}
.color2 {
	background-color: #ff7bb3;
	color: #ffffff;
	font-weight: 700;
	text-align: center;
}
.color3 {
	background-color: #bf37ce;
	color: #ffffff;
	font-weight: 700;
	text-align: center;
}
.color4 {
	background-color: #ffe2ef;
	font-weight: 700;
	text-align: center;
}

/* The sidebar menu */
.sidebar {
	height: 100%; /* 100% Full-height */
	width: 0; /* 0 width - change this with JavaScript */
	position: fixed; /* Stay in place */
	z-index: 72;
	top: 0;
	left: 0;
	background-color: rgba(255, 255, 255, 0.72);
	overflow-x: hidden; /* Disable horizontal scroll */
	padding-top: 12vw; /* Place content 60px from the top */
	transition: 0.4s; /* 0.5 second transition effect to slide in the sidebar */
	box-shadow: 3px 3px 16px rgba(0, 0, 0, 0.7);

	/*  900 */

	display: grid; /* Enable grid layout */
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); /* Responsive columns */
    gap: 3px; /* Spacing between grid items */
    /* Initially hide grid container */
    /* display: none; Hide initially */



}

.sidebar p {
	margin: 1.3vw 2vw 0.3vw;
}

/* The sidebar links */
.sidebar div {
	top: 25vw;
	margin: 1px 3px;
	padding: 3px;
	text-decoration: none;
	font-size: 1.4em;
	color: rgb(255, 255, 255);
	background-color: rgba(175, 48, 82, 0.93);
	border-radius: 9px;
	display: block;
	
	text-align: center;
	
	align-content: center;
	transition: transform 0.3s ease-in-out;
}

.sidebar div:active {
	
	transform: translateX(84px);
	transition : "transform 0.3s ease-in";
	opacity : "0.9";
	position : "fixed";
	z-index : "9999";
	color : "#FF00BBFF";
}

.sidebar div:hover {
	
	color: #ffffff;
	
	box-shadow: 3px 3px 22px rgba(0, 0, 0, 0.59) ;

	overflow-x: visible;
	
	transform: scale(0.95) translateX(3px);
}

/* Position and style the close button (top right corner) */
.sidebar .closebtn {
	position: absolute;
	text-align: center;
	top: 1vw;
	right: 1vw;
	font-size: 4em;
	overflow: visible;
	z-index: 100;
	text-underline-position: above;
	color: #000000;
	text-decoration: overline;
}

.sidebar .closebtn:hover {
	font-size: 4.2em;
	color: #dfb077;
}

/* The button used to open the sidebar */
.openbtn {
	margin-left: 5%;
	width: 90%;
	font-family: "Spectral SC", serif;
	font-size: 1.3rem;
	letter-spacing: 2px;
	cursor: pointer;
	background-color: rgb(175, 48, 82);
	color: #ffffff;
	padding: 10px 21px;
	border: none;
	z-index: 9;
	position: absolute;
	border-radius: 9px;
	box-shadow: 3px 3px 12px rgba(0, 0, 0, 0.4);

	
}

.orderjew {
	width: 60%;
	font-family: "Spectral SC", serif;
	font-size: 1.3rem;
	background-color: rgb(175, 48, 82);
	color: #ffffff;
	border: none;
	z-index: 9;
	text-align: center;
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	display: block;
	margin: 0 auto;
	overflow: visible;
}

.jewelbanner {
	overflow: visible;
	z-index: 2;
	height: 14vw;
	width: 100%;
	align-items: center;
}

.openbtn:hover {
	background-color: #dfb077;
}

/* Style page content - use this if you want to push the page content to the right when you open the side navigation */
#main {
	transition: margin-left 0.5s; /* If you want a transition effect */
	padding: 20px;
}

/* On smaller screens, where height is less than 450px, change the style of the sidenav (less padding and a smaller font size) */
@media screen and (max-height: 450px) {
	.sidebar {
		padding-top: 15px;
	}
	.sidebar a {
		font-size: 18px;
	}
}

/*  product page   */
.slider {
	width: "100%";

}
.slider .sl_img {
	width: "90%";
}

.slider .sl_l {
	width: 100%;
}

/* ######################### product page #######################  */

.help {
	display: none;
	font-size: 0.8em;
}

.toggle_help:hover .help {
	display: block;
}

.toggle_help:hover {
	background-color: #6a6aff c;
}

/* PRODUCTS */
.product {
	position: relative;
	overflow: hidden;
	background-color: #ffffff;
	box-shadow: 9px 9px 12px rgba(0, 0, 0, 0.4);
}

.prod-case .product-image {
	height: 72%;
}


.product-category {
	padding: 0 5vw;
	font-size: 2em;
	font-weight: 500;
	margin-bottom: 0.6em;
	text-transform: capitalize;
	box-shadow: 9px 9px 12px rgba(0, 0, 0, 0.4);
}

.product-container {
	padding: 0 0.2vw;
	display: flex;
	scroll-behavior: smooth;
	
}

.product-container::-webkit-scrollbar {
	display: none;
	height: auto;
	
}

.product-card {
	flex: 0 0 auto;
	width: 16vw;
	
	border-radius: 12px;
	margin: 0.6vw 0.5vw 0.6vw;
	box-shadow: 9px 9px 12px rgba(0, 0, 0, 0.2);
	display: flex; /* Enable flexbox */
	
	overflow: hidden;
    flex-direction: column; /* Vertical arrangement */
	padding-bottom: 2px;

	
	
}

.product-image {
	position: relative;
	width: 100%;
	padding-top: calc(100% * (1.8)) ; /*calc(100% * (100 / 300)) Adjust based on your image */
	overflow: hidden;
	border-radius: 9px;
	align-self: center;
	justify-self: center;
}

.product-thumb {
	position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-row {
	max-width: var(--crd_w);
	
}

.card-btn {
	position: absolute;
	bottom: 9%;
	left: 50%;
	transform: translateX(-50%);
	padding: 10px;
	width: 92%;
	text-transform: capitalize;
	border: none;
	outline: none;
	background: #fff;
	border-radius: 7px;
	transition: 0.5s;
	cursor: pointer;
	opacity: 0;
}

.product-card:hover .card-btn {
	opacity: 1;
}

.card-btn:hover {
	background: rgba(175, 48, 82, 0.8);
	color: #fff;
}

.product-info {

	display: flex;
    flex-direction: column;
    justify-content: center; /* Vertically center content */
    align-items: center; /* Horizontally center content */
    text-align: center;  /* Center text within elements */
    flex-grow: 1;        /* Allow product-info to fill remaining space */
    padding: 5%;

	/*
	text-align: center;
	line-height: 10px;
	width: 100%;
    flex-grow: 1;  Allow product-info to grow 
    padding: 10px;  Add padding for better spacing */
}
/* GEM NAME */
.product-brand {
	text-transform: uppercase;
	text-align: center;
	font-weight: 437;
	font-size: 1.2em;
	
	align-items: center; 
	/*margin-bottom: 5px;  Add margin for spacing */
    word-wrap: break-word; /* Allow text to wrap */

	word-break: break-word; /* Better word-break behavior */
    margin-bottom: 10px;
}
/* DETAILS */
.product-short-description {
	width: 100%;
	
	line-height: 130%;
	overflow: hidden;
	opacity: 0.7;
	text-transform: capitalize;
	margin: 1px 0;

	word-wrap: break-word; /* Allow text to wrap */

	word-break: break-word; /* Better word-break behavior */
    margin-bottom: 2px;
	font-size: 1.2em;
}
/* PRICE */
.price {
	
	font-weight: 2;
	font-size: 1.9em;
	letter-spacing: 0.2vw;
	
	background-color: rgba(255, 255, 255, 0);

	margin-bottom: 2px;
}

/* 
 * ################################################
 * 
 * 			GEM POPUP PAGE
 * 
 * ################################################
 * */


/*  ######################### POPUP SLIDES ######################## */

.imgslide-container {
    position: relative;
    margin: auto;
    width: 90%; /* Adjust as needed */
	
}

/* Hide the images by default */
.gem_slidedhow {
    display: none;
}

/* Fading animation */
.fade {
    -webkit-animation-name: fade;
    -webkit-animation-duration: 1.5s;
    animation-name: fade;
    animation-duration: 1.5s;
}

@-webkit-keyframes fade {
    from {opacity: .4} 
    to {opacity: 1}
}

@keyframes fade {
    from {opacity: .4} 
    to {opacity: 1}
}

/* The dots/bullets/indicators */
.dotslide {
    cursor: pointer;
    height: 1.7em;
    width: 1.7em;
    margin: 0 0.3%;
    background-color: rgba(175, 48, 82, 0.82);
    border-radius: 50%;
    display: inline-flex;
    transition: background-color 0.6s ease;

	
}

.active, .dotslide:hover {
    background-color: #ffd29b;
}






/*
 
 * */
/*    CATEGORY SLIDES     */
.pre-btn,
.nxt-btn {
	border: none;
	width: 5vw;
	height: 100%;
	position: absolute;
	top: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	background: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, #fff 100%);
	cursor: pointer;
	z-index: 1;
	padding: 3vw;
}

.pre-btn {
	left: 0;
	transform: rotate(180deg);
}

.nxt-btn {
	right: 0;
}

.pre-btn img,
.nxt-btn img {
	opacity: 0.4;
	width: 6vw;
	max-width: 92px;
}

.pre-btn:hover img,
.nxt-btn:hover img {
	opacity: 1;
}

.collection-container {
	width: 100%;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-gap: 10px;
}

.collection {
	position: relative;
}

.collection img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.collection p {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	text-align: center;
	color: #fff;
	font-size: 50px;
	text-transform: capitalize;
}

.collection:nth-child(3) {
	grid-column: span 2;
	margin-bottom: 10px;
}

/* Mobile */
@media only screen and (max-width: 600px) {
	body {
		font-size: 14px;
	}

	nav a {
		font-size: 150%;
	}

	.post img {
		max-width: 100%;
	}
	
	
}
/* Tablet */
@media only screen and (min-width: 601px) and (max-width: 1024px) {
	/* struct */
	body {
		font-size: 16px;
	}

	nav a {
		font-size: 180%;
	}

	.post img {
		max-width: 95%;
	}



}
/* desktop */
@media only screen and (min-width: 1025px) {
	body {
		font-size: 18px;
	}

	nav a {
		font-size: 209%;
	}

	.post img {
		max-width: 76%;
	}

	
	
	
}
