/*
Theme Name: Reclama tu reino
Theme URI: https://reclamatureino.com
Author: Juan Manuel Ortiz
Description: Tema personalizado
Version: 1.0
Text Domain: reclama-tu-reino
*/



/* VARIABLES
   ----------------------------- */

:root {

	--white: #fff;
	--black: #000;
	--dark-grey: #0a0600;

	--gold: rgba(197, 160, 89, 0.8);

	--btn-padding: 0.625rem 1.40625rem;
	--btn-size: .875rem;

	--menu-size: .875rem;

	--font-display: 'Playfair Display', serif;
	--font-cinzel: 'Cinzel', serif;
	--font-ui: 'Source Sans 3', sans-serif;
	--font-body: 'Montserrat', sans-serif;

	--header-height: 4.2rem;
	--grid-size: 1150px;

}




/* GENERAL
   ----------------------------- */
   
body{
	color: var(--white);
	font-family: var(--font-ui);
	background: transparent;

	padding-top: var(--header-height);
}

body .background{
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: -1;
	background-image: url('assets/images/background.webp');
	background-position: center;
	background-size: cover;
}


body .background:after{
	content: ' ';
	position: absolute;
	inset: 0;
	background: linear-gradient(
            180deg,
            rgba(5, 10, 8, 0.38) 0%,
            rgba(6, 12, 9, 0.28) 42%,
            rgba(4, 8, 6, 0.44) 100%
          );
}

body .background:before{
	content: ' ';
	position: absolute;
	inset: 0;
	background: radial-gradient(ellipse 100% 55% at 50% -5%, rgba(197,160,89,0.08), transparent 52%),
            radial-gradient(ellipse 80% 50% at 100% 100%, rgba(59,77,54,0.12), transparent 55%),
            radial-gradient(ellipse 70% 45% at 0% 80%, rgba(26,36,24,0.35), transparent 50%);
}

.c-wrap{
	width: 100%;
	max-width: var(--grid-size);
	padding: 0 50px;
	margin: 0 auto;
}


.subtitle{
   color: var(--gold);
   font-family: var(--font-ui);
   font-weight: 500;
   letter-spacing: .3em;
   font-size: 0.625rem;
}


/* HEADER
   ----------------------------- */

header.header{
	position: fixed;
	top: 0;
	left: 0;
	z-index: 9999;
	width: 100%;
	height: var(--header-height);
	background: rgba(10,6,7,0.78);
	border-bottom: 1px solid rgba(197,160,89,0.18);
}

header.header .c-wrap{
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	height: 100%;
}

header.header figure.logo img{
	width: 38px;
	height: auto;
}

header.header .s-right{
	display: flex;
	align-items: center;
	gap: 1rem;
}

header.header .main-menu ul{
	display: flex;
	align-items: center;
	gap: 1rem;
}

header.header .main-menu ul a{
	font-size: var(--menu-size);
	font-family: var(--font-ui);
	font-weight: 500;
	color: #a89988;
	transition: color .3s ease;
}

header.header .main-menu ul a:hover,
header.header .main-menu ul .active a{
	color: #e8d4a8;
}

header.header .btn-login{
	margin-left: 1rem;
}

header.header .btn-cart{
	position: relative;
	display: flex;
	align-items: center;
	gap: 0.2rem;
	font-size: var(--menu-size);
	font-family: var(--font-ui);
	font-weight: 500;
	color: #a89988;
	transition: color .3s ease;
}

header.header .btn-cart:hover{
	color: #e8d4a8;
}

header.header .btn-cart .count{
	position: absolute;
	top: 50%;
	left: 20px;
	transform: translate(-50%, -50%);
	background: #c5a059;
	width: 0.4rem;
	height: 0.4rem;
	border-radius: 999px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--black);
	font-size: 0.8rem;
	font-weight: 700;
	line-height: 1;
}

header.header .account-menu{
	position: relative;
}

header.header .account-toggle{
	display: flex;
	align-items: center;
	gap: 0.5rem;
	background: transparent;
	border: 0;
	padding: 0;
	cursor: pointer;
	border-radius: 99px;
	border: 1px solid rgba(197, 160, 89, 0.32);
	color: rgb(232, 212, 168);
	padding: 0.2rem 0.5rem 0.2rem 0.2rem;
	line-height: 1;
}

header.header .account-toggle .avatar{
	width: 1.6rem;
	height: 1.6rem;
	border-radius: 999px;
	background: #1a0f12;
	display: flex;
	align-items: center;
	justify-content: center;
	color: rgb(232, 212, 168);
	text-transform: uppercase;
	font-size: 0.7rem;
	font-family: var(--font-ui);
	font-weight: 500;
	line-height: 1;
}

header.header .account-toggle .name{
	font-size: 0.8rem;
	font-family: var(--font-ui);
	font-weight: 500;
	color: rgb(232, 212, 168);
}

header.header .account-dropdown{
	position: absolute;
	top: calc(100% + 0.5rem);
	right: 0;
	min-width: 13rem;
	padding: 0;
	border-radius: 0.5rem;
	border: 1px solid rgba(197,160,89,0.2);
	background: rgba(26,10,12,0.96);
	backdrop-filter: blur(2rem);
	box-shadow:
		0 2rem 4rem -2rem rgba(0,0,0,.65),
		0 0 4rem -2rem rgba(197,160,89,.15);
	display: flex;
	flex-direction: column;
	gap: 0;
	opacity: 0;
	visibility: hidden;
	transform: translateY(1rem);
	transition:
		opacity .3s ease,
		transform .3s ease,
		visibility .3s ease;
}

header.header .account-menu:hover .account-dropdown{
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

header.header .account-dropdown a{
	font-size: 0.8rem;
	font-family: var(--font-ui);
	font-weight: 500;
	color: #FFF5E2;
	padding: 0.35rem 1rem;
	transition: color .3s ease;
}
header.header .account-dropdown a:first-child{
	color: rgb(232, 212, 168);
}
header.header .account-dropdown a:last-child{
	color: rgb(201, 149, 156);
}

header.header .account-dropdown a:hover{
	color: #E8D4A8;
	background: #c5a0591a;
}


/* BUTTONS
   ----------------------------- */

.main-btn{
	border-color: rgba(197, 160, 89, 0.85);
	border-radius: 999px;
	background: linear-gradient(
		135deg,
		#C5A059 0%,
		#E8D4A8 55%,
		#FFF5E2 100%
	);
	color: var(--dark-grey);
	font-family: var(--font-ui);
	font-weight: 500;
	line-height: 1;

	padding: var(--btn-padding);
	font-size: var(--btn-size);

	transition:
		transform 0s ease,
		box-shadow .3s ease,
		background .3s ease;

	box-shadow: 0 4px 22px -8px rgba(197,160,89,0.65);

	white-space: nowrap;
}

.main-btn:hover{
	background: linear-gradient(
		135deg,
		#D6B36B 0%,
		#F3E2BA 55%,
		#FFFFFF 100%
	);

	transform: scale(1.03);
	box-shadow: 0 8px 32px -6px rgba(232,212,168,0.5);
}



/* FOOTER
   ----------------------------- */

footer.footer{
	border-top: 1px solid rgba(197,160,89,0.12);
	background: rgba(255,255,255,.025);
	height: 5rem;
}