/*** RESET ***/
:root{
	--brandColor200: #eae0d5;
	--brandColor300: #c6ac8f;
	--brandColor400: #946845;
	--brandColor500: #22333b;
	--brandColor700: #a64747;
	--brandColor800: #614229;
	--redColor: #ff2e70;
	--yellowColor: #ffc600;
	--purpleColor: #9366dd;
	--gwColor: #00b4bd;
	--greenColor: #89f262;
	--blueColor: #19e4ff;
	--blueColor500: #53a6f9;
	--blueColor600: #2179d1;
	--gray50:#f7f7f7;
	--gray100:#f2f2f2;
	--gray150:#eff2f5;
	--gray170:#e9edef;
	--gray200:#e1e5ea;
	--gray250:#cfd6db;
	--gray300:#939fac;
	--gray400:#596068;
	--gray500:#3e4349;
	--gray600:#282b2e;
	--primaryFont: 'Montserrat', sans-serif;
	--swiper-pagination-color:var(--brandColor600);
}

html,body{
	margin:0;
	padding:0;
	font-size:16px;
	line-height:100%;
}

body{
	line-height: 100%;
	font-family: var(--primaryFont);
	color: var(--gray500);
	background: var(--gray100);
}

*{
	box-sizing: border-box;
}
img{
	max-width: 100%;
	border:none;
	outline:none;
}
a{
	color: currentColor;
}
a, a:hover{
	text-decoration:none
}
.svg_icon{
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1em;
	height: 1em;
}
input,
select,
textarea,
button{
	font-family: var(--primaryFont);
	outline: none;
}

/*** SCROLL BAR ***/
::-webkit-scrollbar {
	width: 5px;
}
::-webkit-scrollbar-track {
	background: rgba(0, 0, 0, 0.2);
}
::-webkit-scrollbar-thumb {
	background: rgba(0, 0, 0, 0.3);
}

/*** MISC ***/
h1, h2, h3, h4, h5, h6{
	line-height: 130%;
}
p{
	line-height: 150%;
}
ul, ol{
	line-height: 150%;
}
p:last-child{
	margin-bottom: 0;
}
i[class^="fi-rr-"]:before, i[class*=" fi-rr-"]:before, span[class^="fi-rr-"]:before, span[class*="fi-rr-"]:before {
	line-height: 1.5;
}
.button{
	--btnColor: var(--gray400);
	--btnColorHover: var(--gray500);
	--btnTextColor: #FFF;
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	border-radius: 3px;
	background: var(--btnColor);
	color: var(--btnTextColor);
	border: none;
	cursor: pointer;
	font-weight: 500;
	text-transform: uppercase;
	font-size: 12px;
	padding: 10px 30px;
	line-height: 15px;
	text-align: center;
	transition: all 0.5s;
	letter-spacing: 0.5px;
}
.button::after{
	content:'';
	position: absolute;
	top: calc(50% - 8px);
	left: calc(50% - 8px);
	width: 13px;
	height: 13px;
	border-radius: 50%;
	border-width: 3px;
	border-color: var(--btnTextColor) var(--btnTextColor) var(--btnTextColor) transparent;
	border-style: solid;
	opacity: 0;
	animation: loadingRotate 1s infinite ease;
	-webkit-animation: loadingRotate 1s infinite ease;
	-moz-animation: loadingRotate 1s infinite ease;
	-o-animation: loadingRotate 1s infinite ease;
	transition: all 0.5s;
}
.loading .loading_button,
.loading button.button{
	color: transparent;
	opacity: 0.9;
	pointer-events: none;
}
.loading .loading_button::after,
.loading button.button::after{
	opacity: 1;
}

.button:hover{
	background: var(--btnColorHover);
}

/*** BUTTON VARIABLES ***/
.fullwidth_button,
.fullwidth_button.icon_button{
	width: 100%;

}
.big_botton{
	border-radius: 99px;
	padding-top: 15px;
	padding-bottom: 15px;
	font-size: 13px;
}
.pill_button{
	border-radius: 99px;
}
.button:not(.icon_button) i{
	font-size: 16px;
    margin: -10px 0 0 -15px;
    line-height: 10px;
    height: 15px;
}
.icon_button {
	position: relative;
	padding: 0;
	width: 35px;
	height: 35px;
	font-size: 16px;
}
.icon_button.small_button{
	width: 30px;
    height: 30px;
    font-size: 20px;
}
.icon_button.big_button{
	width: 45px;
    height: 45px;
    font-size: 20px;
}
.input_button{
	position: absolute;
	top: 5px;
	right: 5px;
}
.button.ghost_button{
	background: none;
	border:1px solid var(--btnColor);
	color: var(--btnColor);
	line-height: 13px;
}
.button.ghost_button:hover{
	background: var(--btnColor);
	color: var(--btnTextColor);
}
.icon_button.circle_button{
	border-radius: 50%;
}
.small_button{
	font-size:10px;
	padding:5px 10px;
}

/** BUTTON COLORS **/
.button.green_button{
	--btnColor: var(--greenColor);
	--btnColorHover: var(--greenColor);
}
.button.purple_button{
	--btnColor: var(--purpleColor);
	--btnColorHover: var(--purpleColor);
}
.button.blue_button{
	--btnColor: var(--blueColor500);
	--btnColorHover: var(--blueColor500);
}
.button.gray_button{
	--btnColor: var(--gray300);
	--btnColorHover: var(--gray400);
}
.button.red_button{
	--btnColor: var(--redColor);
	--btnColorHover: var(--redColor);
}
.button.yellow_button{
	--btnColor: var(--yellowColor);
	--btnColorHover: var(--yellowColor);
}
.button.light_gray_button{
	--btnColor: var(--gray250);
	--btnColorHover: var(--gray250);
}
.button.gw_button{
	--btnColor: var(--gwColor);
	--btnColorHover: var(--gwColor);
}
.button.alt_button{
	--btnColor: var(--brandColor700);
	--btnColorHover: var(--brandColor700);
}
.button.disabled,
.button:disabled{
	--btnColor: var(--gray250);
    --btnColorHover: var(--gray250);
    --btnTextColor: #FFF;
    opacity: 0.5;
	pointer-events: none;
}
.button.semidisabled{
	--btnColor: var(--gray250);
	--btnColorHover: var(--gray250);
	--btnTextColor: #FFF;
	opacity: 0.5;
}
.button.clear_button{
	background: none;
	color: var(--btnColor);
}
.button.clear_button:hover,
.bubble_wrapper.active .button.clear_button{
	background: var(--btnColor);
	color: var(--btnTextColor);
}
.button.clear_button.hover_clear{
	background: none;
	color: var(--btnColor);
}
.buttons_list{
	gap: 10px;
}
.actions_list{
	gap: 5px;
}
.gap_5{
	gap: 5px;
}
.gap_10{
	gap: 10px;
}
.gap_20{
	gap: 20px;
}
.gap_30{
	gap: 30px;
}

/** TEXTS COLORS ***/
.text-red{
	color: var(--redColor) !important;
}
.text-gw{
	color: var(--gwColor) !important;
}
.text-250{
	color: var(--gray250) !important;
}
.text-300{
	color: var(--gray300) !important;
}

/*** ALERTS ***/
#bottom_alerts_wrapper{
	position: fixed;
	display: inline-flex;
	flex-direction: column;
	gap: 5px;
	bottom: 20px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 9999;
}
.dashboard_alert{
	position: relative;
	padding: 10px 25px;
	background: var(--gray500);
	color: #FFF;
	border-radius: 5px;
	font-size: 14px;
	max-width: 300px;
	box-shadow: 0 5px 8px rgba(0,0,0,0.3);
	text-align: center;
	transition: all 0.5s;
	transform: translateY(30px);
	opacity: 0;
	visibility: hidden;
}
.dashboard_alert.active{
	transform: translateY(0);
	opacity: 1;
	visibility: visible;
}

/*** ALERT COLORS ***/
.dashboard_alert.success{
	background: var(--gwColor);
}
.dashboard_alert.error{
	background: var(--redColor);
}
.dashboard_alert.warning{
	background: var(--yellowColor);
}

/** FORMAT HELPERS **/
.spacer{
	float:left;
	width: 100%;
}
.title_icon{
	width: 40px;
	height: 40px;
	background: var(--brandColor400);
	color: #FFF;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 5px;
	margin-right: 10px;
}
.no_post{
	color: var(--gray300);
	font-style: italic;
}
.after_form_link{
	margin-top: 20px;
}
.after_form_link .or_text{
	display: block;
	margin-bottom: 20px;
}
.after_form_link .or_text span{
	position: relative;
	font-size: 14px;
    font-weight: 600;
}
.after_form_link .or_text span::before{
	content:'';
	position: absolute;
	top:50%;
	left:-15px;
	width: 60px;
	height: 1px;
	background: var(--gray300);
	transform: translateX(-100%);
}
.after_form_link .or_text span::after{
	content:'';
	position: absolute;
	top:50%;
	right:-15px;
	width: 60px;
	height: 1px;
	background: var(--gray300);
	transform: translateX(100%);
}
.after_form_link a{
	font-size: 14px;
    font-weight: 600;
    text-decoration: underline;
	color: var(--gray400);
}

/*** TAGS ***/
.tag{
	font-size: 12px;
	padding: 5px 10px;
	border-radius: 3px;
	background: var(--gray300);
	color: #FFF;
}
.tag.publish,
.tag.active,
.tag.success,
.tag.green{
	background: var(--greenColor);
}
.tag.future,
.tag.blue{
	background: var(--blueColor600);
}
.tag.cancelled,
.tag.trash,
.tag.red,
.tag.error{
	background: var(--redColor);
}
.tag.warning,
.tag.inactive{
	background: var(--yellowColor);
}


/** BUBBLE MENU **/
.bubble_wrapper{
	position: relative;
}
.bubble_trigger{
	cursor: pointer;
}
.applied_filters .bubble_trigger{
	background: var(--purpleColor);
	color:#FFF;
}
.bubble_menu{
	position: absolute;
	bottom:-8px;
	right:0;
	min-width: 200px;
	display: flex;
	flex-direction: column;
	background: #FFF;
	border-radius: 5px;
	box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
	border-top:3px solid var(--gray500);
	transform: translateY(calc(100% + 20px));
	z-index: 99;
	opacity: 0;
	visibility: hidden;
	transition: all 0.3s;
}
.bubble_menu::before{
	content: '';
	position: absolute;
	top: -9px;
	right:10px;
	border-style: solid;
	border-width: 0 8px 8px 8px;
	border-color: transparent transparent var(--gray500) transparent;
}
.bubble_menu.small{
	width: 120px;
}
.bubble_menu.medium{
	width: 180px;
}
.active .bubble_menu{
	transform: translateY(100%);
	opacity: 1;
	visibility: visible;
}
.bubble_menu > *{
	display: flex;
	gap: 10px;
	align-items: center;
	font-weight: 500;
	text-transform: uppercase;
	padding: 10px;
	font-size: 11px;
	border-bottom: 1px solid var(--gray100);
	cursor: pointer;
	white-space: nowrap;
	transition: all 0.3s;
}
.bubble_menu > *:hover{
	background: var(--gray100);
}
.bubble_menu > *:last-child{
	border-bottom: none;
}
.bubble_menu >* i{
	font-size: 14px;
}

/** BUBBLE BOX **/
.bubble_box{
	position: absolute;
	bottom:-8px;
	right:0;
	width: 400px;
	background: #FFF;
	border-radius: 5px;
	box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
	border-top:3px solid var(--gray400);
	transform: translateY(calc(100% + 20px));
	z-index: 99;
	opacity: 0;
	visibility: hidden;
	transition: all 0.3s;
}
.bubble_box::before{
	content: '';
	position: absolute;
	top: -9px;
	right:10px;
	border-style: solid;
	border-width: 0 8px 8px 8px;
	border-color: transparent transparent var(--gray400) transparent;
}
.active .bubble_box{
	transform: translateY(100%);
	opacity: 1;
	visibility: visible;
}
.bubble_box_header{
	padding: 20px 15px;
	border-bottom: 1px solid var(--gray250);
}
.bubble_box_title{
	font-size: 12px;
	text-transform: uppercase;
	font-weight: 500;
}
.bubble_box_header_actions{
	font-size: 12px;
}
.bubble_box_body{
	padding: 20px 15px;
}
.bubble_box_body .form_footer{
	margin: 20px -15px -20px;
	background: var(--gray50);
	border-radius: 0 0 5px 5px;
	padding: 15px 20px;
}

/*** GRAVITY FORMS ***/
.gform_description:empty{
	display: none;
}

/*** DATA TABLE ***/
.data_table{
	width: 100%;
    border-collapse: collapse;
    border: 1px solid var(--gray300);
    font-size: 13px;
}
.data_table thead th{
	padding: 10px;
    background: var(--gray300);
    color: #FFF;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 500;
}
.data_table tbody td{
	padding: 10px;
}
.data_table tbody tr:nth-child(even) td{
	background: var(--gray150);
}
.data_table .product_attributes{
	display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 0;
    margin: 5px 0 0 0;
    list-style: none;
    opacity: 0.8;
}
.data_table .product_attributes li{
	font-size: 12px;
	padding: 0 0 0 5px;
	line-height: 100%;
}
.data_table .product_attributes li .attribute_value{
	color: var(--blueColor600);
	font-weight: 500;
}

/*** AVATAR ***/
.avatar{
	width: 40px;
    height: 40px;
	display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--gray300);
    background: var(--gray200);
    border-radius: 50%;
}
.avatar.dark_avatar{
	background: var(--brandColor500);
	color: #FFF;
}

/*** DASHBOARD MENU ***/
#dashboard_sidebar{
	--sideBarWidth: 70px;
	position: fixed;
	top: 0;
	left: 0;
	width: var(--sideBarWidth);
	height: 100vh;
	overflow-x: hidden;
	background: var(--brandColor500);
	color: #FFF;
	z-index: 100;
	transition: all 0.3s;
}
/* Desktop hover-expand: SOLO en dispositivos con puntero fino (mouse/trackpad).
   Antes la expansión estaba gateada tras .sidebar_open (que únicamente activa el
   toggle táctil #touch_menu_trigger, display:none en desktop) y las reglas que
   revelan logo/labels vivían solo en @media (pointer:coarse) -> en desktop no
   quedaba ninguna regla de hover. El touch sigue usando el toggle .sidebar_open
   (ver el bloque @media (pointer:coarse) más abajo). */
@media (hover: hover) and (pointer: fine) {
	#dashboard_sidebar:hover{
		width: 230px;
	}
	#dashboard_sidebar:hover #dashboard_logo::before{
		opacity: 1;
	}
	#dashboard_sidebar:hover #dashboard_logo a{
		left: 50%;
		transform: translateY(-50%) translateX(-50%);
		clip-path: inset(0 0 0 0);
	}
	#dashboard_sidebar:hover .menu-link span{
		opacity: 1;
	}
}
#dashboard_logo{
	height: 70px;
	margin: 15px 0;
}
#dashboard_logo::before{
	content: '';
	position: absolute;
	top: 0;
	left: 15px;
	height: 70px;
	width: 230px;
	background: rgba(0, 0, 0, 0.2);
	border-radius: 5px;
	opacity: 0;
	transition: all 0.3s;
}
.sidebar_open #dashboard_sidebar #dashboard_logo::before{
	opacity: 1;
}
#dashboard_logo a{
	display: inline-block;
	position: absolute;
	top: 50%;
	left: 22px;
	width: 101px;
	height: 35px;
	background-size: contain;
	background-position: 0;
	background-repeat: no-repeat;
	transform: translateY(-50%);
	clip-path: inset(0 calc(100% - 30px) 0 0);
	transition: all 0.3s;
}
#dashboard_menu_wrapper{
	width: 230px;
}
#dashboard_menu{
	max-height: calc(100dvh - 136px);
	margin: 0;
	padding: 0;
	list-style: none;
	overflow: auto;
}
.submenu_wrapper{
	display: none;
	float:left;
	width:100%;
	background: rgba(0, 0, 0, 0.1);
}
.menu-item{
	height: 60px;
}
.submenu_wrapper .menu_item_wrapper .menu-item{
	padding-left: 60px;
	height: 50px;
}
.submenu_wrapper .menu_item_wrapper{
	height: 50px;
}
.sub-menu{
	margin: 0;
	padding: 0;
	list-style: none;
	display: none;
}
.menu-link{
	width: 100%;
	padding: 0 10px;
	line-height: 130%;
}
.menu_item_wrapper{
	height: 60px;
	text-transform: uppercase;
	font-weight: 500;
	font-size: 12px;
	transition: all 0.3s;
}
.menu_item_wrapper:hover{
	background:rgba(0, 0, 0, 0.2);
}
.menu-item.current-menu-item,
.current-menu-item + .submenu_trigger{
	background: var(--brandColor700);
}
.menu_item_wrapper a::before{
	font-family: uicons-regular-rounded !important;
	width: 50px;
	height: 50px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 20px;
	font-style: normal;
	font-weight: normal !important;
	font-variant: normal;
	text-transform: none;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}
.menu-link span{
	opacity: 0;
	transition: all 0.3s;
}
.submenu_trigger{
	position: relative;
	width: 40px;
	height: 60px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	cursor: pointer;
}
.submenu_trigger::before{
	z-index: 2;
}
.open .submenu_trigger{
	transform: scaleY(-1);
}
.submenu_trigger::after{
	content: '';
	position: absolute;
	top:0;
	left:0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.1);
	opacity: 0;
	transition: 0.3s;
}
.submenu_trigger:hover::after{
	opacity: 1;
}
#dashboard_sidebar_footer{
	text-align: center;
    margin-top: auto;
    padding: 10px;
	gap: 10px;
}
#touch_menu_trigger{
	display: none;
	width: 50px;
    height: 50px;
    align-items: center;
    justify-content: center;
    font-size: 30px;
	transition: all 0.5s;
}
.sidebar_open #touch_menu_trigger{
	transform: rotate(180deg);
}
#menu_current_version{
    font-size: 10px;
    opacity: 0.5;
}

/*** DASHBOARD CONTENT ***/
#dashboard_page_content{
	position: relative;
	top: 0;
	left: 70px;
	width: calc(100% - 70px);
	min-height: 100dvh;
	padding: 15px 30px 30px 15px;
}

/** DASHBOARD HEADER **/
#dashboard_header{
	background: #FFF;
	border-radius: 5px;
	margin-bottom: 15px;
	padding: 15px;
}
.breadcrumb{
	font-size: 12px;
	text-transform: uppercase;
	color: var(--gray300);
	gap: 20px;
}
.breadcrumb > *{
	position: relative;
}
.breadcrumb > *:not(:last-child)::after{
	content: "\f155";
	font-family: uicons-regular-rounded;
	position: absolute;
	top: 0;
	right: -17px;
	font-size: 14px;
	opacity: 0.5;
}

#dashboard_title_wrapper h1{
	margin: 0;
}
.dashboard_header_title{
	font-size: 15px;
    text-transform: uppercase;
    font-weight: 600;
    padding: 10px 15px;
    background: var(--brandColor500);
    border-radius: 5px;
    color: #FFF;
    letter-spacing: 1px;
}
.dashboard_header_title:empty{
	display: none;
}
#dashboard_header_actions > *{
	width: 40px;
	height: 40px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	color: var(--gray400);
}
#dashboard_header_actions_wrapper{
	gap: 15px;
}
#header_account{
	gap: 10px;
}
#dashboard_header_actions{
	position: relative;
}
#dashboard_header_actions::before{
	content: '';
	position: absolute;
	top: 50%;
	right: -1px;
	width: 1px;
	height: 30px;
	transform: translateY(-50%);
	background: var(--gray200);
}
.header_account_data{
	font-size: 12px;
}
.header_account_data .user_name{
	text-transform: uppercase;
	font-weight: 500;
	font-size: var(--gray500);
}
.header_account_data .user_role{
	color: var(--gray300);
	font-size: 11px;
}
.header_account_image{
	width: 40px;
}
.header_account_image img{
	border-radius: 50%;
	height: auto;
	float:left;
}
.user_avatar_placeholder{
	width: 40px;
	height: 40px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 16px;
	color: #FFF;
	background: var(--brandColor500);
	border-radius: 50%;
}

/*** FORMS ***/
.ajax_form:before{
	content:'';
	position: absolute;
	top:0;
	left:0;
	width:100%;
	height:100%;
	background:rgba(255,255,255,0.8);
	z-index:2;
	visibility: hidden;
	opacity: 0;
}
.ajax_form:after{
	content:'';
	position: absolute;
	top:calc(50% - 25px);
	left:calc(50% - 25px);
	width:40px;
	height:40px;
	border-width: 5px;
	border-style: solid;
	border-color: var(--gray500) var(--gray500) var(--gray500) transparent;
	border-radius: 50%;
	z-index:3;
	animation: loadingRotate 1s infinite ease;
	-webkit-animation: loadingRotate 1s infinite ease;
	-moz-animation: loadingRotate 1s infinite ease;
	-o-animation: loadingRotate 1s infinite ease;
	visibility: hidden;
	opacity: 0;
}
.ajax_form.loading:before,
.ajax_form.loading:after{
	opacity: 1;
	visibility: visible;
}
@keyframes loadingRotate {
	from{
		transform: rotate(0deg)
	}
	to{
		transform: rotate(359deg)
	}
}
@-webkit-keyframes loadingRotate {
	from{
		transform: rotate(0deg)
	}
	to{
		transform: rotate(359deg)
	}
}
@-moz-keyframes loadingRotate {
	from{
		transform: rotate(0deg)
	}
	to{
		transform: rotate(359deg)
	}
}
@-o-keyframes loadingRotate {
	from{
		transform: rotate(0deg)
	}
	to{
		transform: rotate(359deg)
	}
}

/*** INPUTS ***/
input[type=text],
input[type=email],
input[type=password]{
	display: inline-block;
	width: 100%;
	height: 45px;
	padding:0 10px;
	border-radius: 3px;
	border:1px solid var(--gray250);
	font-weight:300;
	font-size:12px;
}
input[type=number]{
	display: inline-block;
	height: 45px;
	padding:0 10px;
	border-radius: 3px;
	border:1px solid var(--gray250);
	font-weight:300;
	font-size:12px;
}
input[type=text]:read-only,
input[type=email]:read-only,
input[type=password]:read-only,
input[type=number]:read-only{
	background: var(--gray50);
	color: var(--gray300);
}
input[type=text]::placeholder,
input[type=email]::placeholder,
input[type=password]::placeholder{
	color: var(--gray300);
}
select{
	display: inline-block;
	width: 100%;
	min-width: 130px;
	height: 45px;
	padding: 0 30px 0 15px;
	border-radius: 3px;
	cursor: pointer;
	border: 1px solid var(--gray250);
	background-image: url(../images/angle-down.svg);
	background-size: 17px;
	background-position: calc(100% - 3px) center;
	background-repeat: no-repeat;
	font-weight:300;
	font-size:12px;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}
select.readonly{
	background-color: var(--gray50);
	pointer-events: none;
}
input[type="checkbox"] {
	position: relative;
	appearance: none;
	font: inherit;
	color: #FFF;
	width: 16px;
	height: 16px;
	border: 2px solid var(--gray250);
	border-radius: 3px;
	line-height: 13px;
	margin: 0;
	cursor: pointer;
}
input[type="checkbox"]:checked {
	background: var(--gray500);
	border-color: var(--gray500);
}
input[type="checkbox"]::before {
	content: "\f3df";
	font-family: uicons-regular-rounded !important;
	position: absolute;
	width: 12px;
	height: 12px;
	line-height: 12px;
	top: 0;
	left: 1px;
	font-size: 10px;
	color: #FFF;
	transform: scale(0);
	transition: all 0.2s;
}
input[type="checkbox"]:checked::before {
	transform: scale(1);
}
textarea{
	display: inline-block;
	width: 100%;
	height: 80px;
	padding:10px;
	border-radius: 3px;
	border:1px solid var(--gray250);
	font-weight:300;
	font-size:12px;
}

/*** TABS ***/
.tabs_header{
	background: var(--gray200);
	color: #FFF;
	font-size: 12px;
	text-transform: uppercase;
}
.tab {
	position: relative;
	padding: 20px;
	cursor: pointer;
	color: var(--gray300);
}
.tab.active{
	background: #FFF;
	color: var(--gray400);
}
.tab_content {
	display: none;
	width: 100%;
	padding: 25px;
}
.widget_body .tab_content {
	padding: 0;
}
.lightbox_content .tab_content{
	max-height: calc(100dvh - 331px);
}
.tab_content:first-child,
.tab_content.active{
	display: inline-block;
}
.tab_content.inactive{
	display: none;
}

/*** VERTICAL TABS ***/
.vertical_tabs{
	border: 1px solid var(--gray250);
	border-radius: 5px;
}
.vertical_tabs_header{
	border-right: 1px solid var(--gray250);
}
.vertical_tabs_header .tab{
	padding: 15px 20px;
	border-radius: 0;
	color: var(--gray300);
}
.vertical_tabs_header .tab:first-child{
	border-radius: 5px 0 0 0;
}
.vertical_tabs_header .tab:last-child{
	border-radius:  0 0 0 5px;
}
.vertical_tabs_header .tab:not(:last-child){
	border-bottom: 1px solid var(--gray250);
}
.vertical_tabs_header .tab.active{
	background: var(--gray400);
	color: #FFF;
}
.vertical_tabs .tab_content{
	padding: 20px 0;
}

/*** WIDGETS ***/
.widget{
	background: #FFF;
	box-shadow: 0 0 5px rgba(0,0,0,0.1);
}
.widget.dark_widget{
	background: var(--brandColor500);
	color: #FFF;
}
.widget.dark_widget .field_label,
.widget.dark_widget .switch_label{
	color: var(--brandColor200);
}
.widget_header{
	padding: 20px 0;
	background: rgba(0, 0, 0, 0.1);
}
.widget_header h1,
.widget_header h2,
.widget_header h3{
	font-size: 20px;
	text-transform: uppercase;
	margin: 0;
}
.widget_body .widget_header{
	padding: 0;
	background: none;
	margin-bottom: 30px;
	padding-bottom: 10px;
	border-bottom: 1px solid var(--gray250);
}
.widget_body{
	padding: 30px;
}
.widget_title{
	font-size: 20px;
    text-transform: uppercase;
    color: var(--gray400);
}
.widget_subtitle{
	font-size: 18px;
    text-transform: uppercase;
    color: var(--gray400);
    margin: 10px 0 20px;
}
.widget_body p{
	font-size: 14px;
	line-height: 150%;
}
.widget_outside_header{
	height: 40px;
	margin-bottom: 15px;
}
.widget_outside_header h2{
	margin: 0;
	font-weight: 500;
	font-size: 20px;
	text-transform: uppercase;
	color: var(--brandColor400);
}
.widgets_grid .widget{
	background: var(--gray170);
	color: var(--gray400);
    box-shadow: none;
    padding: 20px;
    border-radius: 5px;
}
.widgets_grid .widget.dark_widget{
	background: var(--gray400);
	color: #FFF;
}
.widgets_grid .widget.red_widget{
	background: var(--redColor);
    color: #FFF;
}
.widget_label{
	text-transform: uppercase;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 3px;
}
.widget_value{
	font-weight: bold;
	font-size: 18px;
}

/*** DATA BOX ***/
.data_box{
	padding: 15px 030px;
    background: var(--gray400);
    border-radius: 3px;
    color: #FFF;
}
.data_box_title{
	text-transform: uppercase;
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 5px;
    opacity: 0.8;
}
.data_box_value{
	font-weight: 600;
    font-size: 22px;
    line-height: 100%;
}


/** OTHER HELPERS ***/
.process_title{
	text-transform: uppercase;
	font-size: 15px;
	font-weight: 600;
	color: var(--gray400);
}
.progress_bar{
	position: relative;
	width: 100%;
	height: 15px;
	display: inline-block;
	background: var(--gray200);
	border-radius: 3px;
	overflow: hidden;
}
.progress_bar::before{
	content: '';
	position: absolute;
	top:0;
	left:0;
	width: 100%;
	height: 100%;
	border-radius: 3px;
	background: linear-gradient(to right,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.1) 50%,rgba(0,0,0,0) 100%);
	animation: moveProgress 2s infinite linear;
}
@keyframes moveProgress {
	0% { transform: translateX(-100%); }
	50% { transform: translateX(0); }
	100% { transform: translateX(100%); }
}
.progress_bar::after{
	content: '';
	position: absolute;
	top:0;
	left:0;
	width: var(--progress);
	height: 100%;
	border-radius: 3px;
	background: var(--greenColor);
}

/*** LIGHTBOXES ***/
.lightbox{
	position: fixed;
	top: 0;
	left: 70px;
	width: calc(100% - 70px);
	height: 100dvh;
	opacity: 0;
	visibility: hidden;
	transition: all 0.5s;
	z-index: 99;
}
.allblock_lightbox{
	width:100%;
	left: 0;
	z-index: 999 !important;
}
.lightbox.lightbox_active{
	opacity: 1;
	visibility: visible;
}
.lightbox_overlay{
	position: absolute;
	top:0;
	left:0;
	width: 100%;
	height: 100%;
	background: rgba(34, 51, 59, 0.8);
}
.allblock_lightbox .lightbox_overlay,
.partialblock_lightbox .lightbox_overlay{
	background: rgba(34, 51, 59, 0.95);
}
.lightbox_content{
	position:absolute;
	top: 50%;
	left: 50%;
	width: calc(100% - 40px);
	max-width: 800px;
	background: #FFF;
	border-radius: 5px;
	transform: translate(-50%, -50%);
}
.small_lightbox .lightbox_content{
	max-width: 500px;
}
.medium_lightbox .lightbox_content{
	max-width: 600px;
}
.big_lightbox .lightbox_content{
	max-width: 1000px;
}
.full_lightbox .lightbox_content{
	max-width: calc(100% - 100px);
	height: calc(100dvh - 100px);
}
.lightbox_header{
	height: 50px;
	padding:0 0 0 25px;
	background: var(--gray150);
	border-radius: 5px 5px 0 0;
	border-bottom: 1px solid #eaedf0;
}
.lightbox_title{
	width: auto;
	font-size: 16px;
	font-weight: 500;
	color: var(--gray400);
	text-transform: uppercase;
	margin: 0;
	letter-spacing: 1px;
}
.close_lightbox{
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 50px;
	height: 50px;
	font-size: 15px;
	cursor: pointer;
	color: var(--gray300);
	border-radius: 0 5px 0 0;
	transition: all 0.5s;
}
.close_lightbox:hover{
	background: #d3d9df;
	color: var(--gray400);
}
.lightbox_body{
	padding: 25px;
	max-height: calc(100dvh - 150px);
	overflow: auto;
}

/*** LOGIN PAGE ***/
.login_page{
	/* Tokens del diseño (Figma: Login - Con logo de cliente) */
	--login-bg: #22333b;        /* neutral/500  — fondo de página */
	--login-box: #182429;       /* neutral/700  — caja del formulario */
	--login-brand: #a03434;     /* brand/primary (vino) */
	--login-border: #d3d6d8;    /* border/strong */
	--login-placeholder: #a7adb1;
	--login-divider: #090d0f;   /* neutral/900 */

	min-height: 100vh;
	padding: 40px 20px;
	background: var(--login-bg);
}
.login_box_wrapper{
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 30px;
	width: 100%;
	max-width: 460px;
}

/* Caja del logo del cliente */
.login_client_logo{
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	background: #fff;
	border-radius: 14px;
}
.login_client_logo img{
	display: block;
	max-width: 230px;
	max-height: 90px;
	width: auto;
	height: auto;
}

/* Caja del formulario */
.login_form_box{
	display: flex;
	flex-direction: column;
	gap: 18px;
	width: 100%;
	padding: 32px;
	background: var(--login-box);
	border-radius: 32px;
	color: #fff;
}
.login_title{
	margin: 0 0 12px;
	font-size: 26px;
	font-weight: 700;
	text-align: center;
	color: #fff;
}

/* Campos */
.login_field{
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.login_field label{
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 1.9px;
	color: #fff;
}
.login_page input[type=text],
.login_page input[type=password]{
	width: 100%;
	height: auto;
	padding: 12px 14px;
	font-size: 15px;
	font-weight: 400;
	color: var(--login-box);
	background: #fff;
	border: 1px solid var(--login-border);
	border-radius: 3px;
}
.login_page input[type=text]::placeholder,
.login_page input[type=password]::placeholder{
	color: var(--login-placeholder);
}

/* Fila recordar + recuperar */
.login_remember_row{
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}
.login_remember{
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	color: #fff;
	cursor: pointer;
	margin: 0;
}
.login_page .login_remember input[type="checkbox"]{
	width: 18px;
	height: 18px;
	border: 1px solid var(--login-border);
	border-radius: 4px;
}
.login_page .login_remember input[type="checkbox"]:checked{
	background: var(--login-brand);
	border-color: var(--login-brand);
}
.login_forgot{
	font-size: 13px;
	font-weight: 600;
	color: var(--login-brand);
	white-space: nowrap;
}

/* Botón */
.login_submit_row{
	display: flex;
	justify-content: center;
	margin-top: 6px;
}
.login_page .login_form_box .button.alt_button{
	--btnColor: var(--login-brand);
	--btnColorHover: #8a2c2c;
	width: 170px;
	padding: 12px 22px;
	font-size: 13px;
	letter-spacing: 1px;
	text-transform: none;
}

/* Registro */
.login_register{
	margin: 0;
	font-size: 13px;
	text-align: center;
	color: #fff;
}
.login_register a{
	color: var(--login-brand);
	font-weight: 600;
}

/* Pie con logo de la plataforma */
.login_footer{
	margin-top: 12px;
	padding-top: 20px;
	text-align: center;
	border-top: 0.85px solid var(--login-divider);
}
.login_footer img{
	width: 120px;
	height: auto;
	opacity: 0.45;
	filter: brightness(0) invert(1); /* el SVG es #090D0F; lo aclaramos para que se lea sobre la caja oscura */
}

/*** DASHBOAR PAGES ***/
.page_header{
	margin-bottom: 15px;
	padding: 15px 0;
}
.page_header h1{
	margin: 0;
	font-size: 20px;
	text-transform: uppercase;
	font-weight: 500;
}
.page_header_actions {
	gap: 7px;
}
.page_header h1 .tag{
	font-size: 14px;
    padding: 5px 15px;
    letter-spacing: 1px;
	font-weight: bold;
}

/*** ARCHIVE PAGES ***/
.archive_header_nav{
	margin-bottom: 10px;
}
.post_status_nav{
	position: relative;
	color: var(--gray300);
	font-size: 12px;
	gap: 15px;
}
.post_status_nav > *{
	position: relative;
}
.post_status_nav > *:not(:last-child)::after{
	content: '|';
	position: absolute;
	top:0;
	right:-8px;
}
.post_status_nav .current{
	color:var(--gray400);
	text-decoration: underline;
}
.pagination {
	gap: 7px;
	font-size: 12px;
}
.pagination .icon_button{
	width: 30px;
	height: 30px;
	font-size: 12px;
}
input.current_page_input{
	width: 50px;
	height: 30px;
	text-align: center;
} 
.archive_header {
	padding: 15px;
	background: #FFF;
	border-radius: 5px;
}
.archive_header input[type=text],
.archive_header input[type=email],
.archive_header input[type=password],
.archive_header input[type=number],
.archive_header select{
	height: 35px;
}
.archive_actions,
.archive_bulk_actions,
.archive_search {
	gap: 7px;
}
.archive_bulk_actions .button{
	padding: 10px;
}
.archive_filters {
	gap: 5px;
}
.archive_search select{
	width: 170px;
}
.search_input_wrapper input{
	width: calc(100% - 35px);
	border-radius: 3px 0 0 3px;
	border-width: 1px 0 1px 1px;
}
.search_input_wrapper .search_button{
	border-radius: 0 3px 3px 0;
	font-size: 14px;
	overflow: hidden;
}
.archive_filters > hr{
	position: relative;
	top: 0;
	left: 0;
	width: 1px;
	height: 35px;
	background: var(--gray200);
	border: none;
	margin: 0 0 0 10px;
}
.archive_table{
	width: 100%;
	border-collapse: collapse;
	background: none;
	border-collapse: separate;
	border-spacing: 0 10px;
	box-shadow: none;
	margin: 5px 0;
}
.archive_table thead th{
	background: var(--gray300);
	color: #FFF;
	font-size: 12px;
	font-weight: 300;
	padding:10px 15px;
	text-transform: uppercase;
}
.archive_table thead th:first-child {
	border-radius: 5px 0 0 5px;
}
.archive_table thead th:last-child {
	border-radius:0 5px 5px 0;
}
.archive_table tbody td{
	position: relative;
	padding: 20px 15px;
	font-size: 13px;
	line-height: 130%;
	background: #FFF;
}
.archive_table tbody td a:not(.button){
	font-weight: 500;
}
.archive_term_name .fi-rr-caret-right{
	font-size:18px
}
.bulk_check_wrapper{
	width: 30px;
}
.table_action{
	width: 35px;
	text-align: center;
}
.archive_table thead th.table_action{
	font-size: 20px;
}
.actions_button{
	width: 35px;
	height: 35px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: var(--gray200);
	cursor: pointer;
	transition: all 0.3s;
}
.actions_button:hover{
	background: var(--gray500);
	color: #FFF;
}
.no_post,
.no_content{
	font-size: 12px;
	font-style: italic;
	color: var(--gray300);
}
.archive_image,
.archive_table tbody .archive_image{
	width: 60px;
	padding:15px 2px;
}
.archive_image img{
	width:60px;
	height:auto;
	border-radius: 5px;
	box-shadow: 0 0 7px rgba(0, 0, 0, 0.2);
}

/*** ARCHIVE TOTALS ***/
.archive_totals{
	margin-bottom: -10px;
}
.archive_totals_label {
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 500;
    color: var(--gray300);
}
.archive_totals_value {
    font-size: 20px;
    font-weight: 600;
    line-height: 140%;
    color: var(--brandColor500);
}
.archive_totals td:first-child{
	border-radius: 5px 0 0 5px;
}
.archive_totals td:last-child{
	border-radius: 0 5px 5px 0;
}

/*** POS ***/
.pos_page_main_wrapper.pos_closed{
	opacity: 0.5;
    filter: grayscale(1);
}
.page-pos #dashboard_page_content{
	padding: 15px 30px 0 15px;
}
.pos_search_header,
.pos_product_archive{
	padding: 15px;
	background: #FFF;
	border-radius: 5px;
	margin-bottom: 15px;
}
.pos_product_archive,
.cart{
	height: calc(100dvh - 205px);
}
.pos_page_main{
	width: calc(100% - 370px);
}
#pos_search{
	background: var(--gray100);
}
#pos_search_results{
	position: absolute;
    width: 100%;
    bottom: 0;
    left: 0;
    background: #FFF;
    z-index: 9;
    transform: translateY(100%);
    border: 1px solid var(--gray100);
}
#pos_search_results:empty{
	display: none;
}
.remove_results{
	display: none;
}
.show_results .remove_results{
	display: inline-flex;
}
.search_result {
	padding: 15px;
	gap: 15px;
	border-bottom: 1px solid var(--gray170);
	cursor: pointer;
	transition: all 0.3s;
}
.search_result:last-child{
	border-bottom: none;
}
.search_result:hover{
	background: var(--gray170);
}
.search_result_image{
	width: 50px;
	background: #FFF;
	border-radius: 5px;
}
.search_result_image img{
	float:left;
	width: 50px;
	border-radius: 5px;
	box-shadow: 0 0 3px rgba(0, 0, 0, 0.2);
}
.search_result_name{
	font-size: 14px;
	font-weight: bold;
	color: var(--gray400);
	text-transform: uppercase;
}
.search_result_sku{
	font-size: 12px;
	font-weight: 500;
	color: var(--gray300);
	text-transform: none;
}
.search_result_price{
	font-size: 16px;
	font-weight: bold;
	color: var(--gray300);
}

.pos_products_nav{
	border-radius: 5px;
    background: var(--gray400);
    border: 3px solid var(--gray400);
}
.pos_closed .pos_categories_tabs{
	opacity: 0;
	pointer-events: none;
}
.pos_products_nav .input_actions input + .icon_button {
    --btnColor: rgba(0,0,0,0.2);
}
.pos_products_nav .input_actions input:checked + .icon_button{
	--btnColor: var(--purpleColor);
}
.pos_tab{
	padding: 15px 20px;
	text-transform: uppercase;
	font-size: 12px;
	font-weight: 500;
	color: #FFF;
	cursor: pointer;
	border-radius: 5px;
}
.pos_tab.active{
	background: #FFF;
	color: var(--gray400);
}
.pos_product_archive::before{
	content:'';
	position: absolute;
	top:0;
	left:0;
	width:100%;
	height:100%;
	background:rgba(255,255,255, 0.95);
	z-index:2;
	visibility: hidden;
	opacity: 0;
}
.pos_product_archive::after{
	content:'';
	position: absolute;
	top:calc(50% - 25px);
	left:calc(50% - 25px);
	width:40px;
	height:40px;
	border-width: 5px;
	border-style: solid;
	border-color: var(--gray500) var(--gray500) var(--gray500) transparent;
	border-radius: 50%;
	z-index:3;
	animation: loadingRotate 1s infinite ease;
	-webkit-animation: loadingRotate 1s infinite ease;
	-moz-animation: loadingRotate 1s infinite ease;
	-o-animation: loadingRotate 1s infinite ease;
	visibility: hidden;
	opacity: 0;
}
.pos_page_main_wrapper.loading .pos_product_archive::before,
.pos_page_main_wrapper.loading .pos_product_archive::after{
	visibility: visible;
	opacity: 1;
}	
.pos_product_archive_grid_wrapper{
	display: none;
}
.pos_product_archive_grid_wrapper.active{
	display: inline-block;
}
.pos_product_archive_grid{
	padding: 25px 0;
}
.pos_product_item{
	width: 150px;
	padding: 10px;
	cursor: pointer;
	transition: all 0.3s;
}
.pos_product_item:hover{
	background: var(--gray100);
	border-radius: 5px;
}
.pos_product_item.outofstock{
	text-decoration: line-through;
	pointer-events: none;
	color: var(--gray300);
}
.outofstock_banner{
	position: absolute;
    top: 15px;
    right: -30px;
    width: 100%;
    height: 30px;
    line-height: 30px;
    font-size: 11px;
    color: #FFF;
    background: var(--gray300);
    text-transform: uppercase;
    transform: rotate(40deg);
	display: none;
}
.pos_product_item.outofstock .outofstock_banner{
	display: inline-block;
}
.pos_product_item_image{
	background: #FFF;
	border-radius: 5px;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
	overflow: hidden;
}
.pos_product_item_image img{
	float:left;
	width:100%;
}
.outofstock .pos_product_item_image img{
	filter: grayscale(1);
    opacity: 0.5;
}
.product_title{
	text-transform: uppercase;
    font-size: 11px;
    font-weight: 500;
}
.product_price{
	font-weight: bold;
	font-size: 13px;
	margin-top: 4px;
}
.pos_page_cart{
	width: 350px;
	margin-left: 20px;
}
.attribute_label{
	text-align: center;
    display: block;
    margin-bottom: 15px;
    font-weight: 600;
    text-transform: uppercase;
}
.attribute_option_label input{
	display: none;
}
.cart_option {
    height: 60px;
    border: 1px solid var(--gray300);
    color: var(--gray400);
    border-radius: 5px;
    padding: 10px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
	transition: all 0.3s;
}
.cart_option:hover{
	background: var(--gray100);
}
.attribute_option_label input:checked + .cart_option{
	background: var(--gray300);
	color: #FFF;
}

/** CART HEADER **/
#pos_cart_header{
	height: 75px;
	background: #FFF;
	padding: 15px;
	margin-bottom: 15px;
	border-radius: 5px;
	gap: 10px;
	color: var(--gray300);
}
#pos_customer{
	cursor: pointer;
	gap: 10px;
}

#pos_customer .customer_name{
	font-size: 12px;
	text-transform: uppercase;
	font-weight: 500;
}
#pos_customer .customer_email{
	font-size: 12px;
	opacity: 0.7;
}
.cart_reset{
    display: inline-flex;
    align-items: center;
    justify-content: center;
	width: 40px;
    height: 40px;
    font-size: 16px;
	margin-left: auto;
	color: #FFF;
	background: var(--redColor);
	border-radius: 50%;
	cursor: pointer;
}
.empty_cart .cart_reset{
	display: none;
}

/*** CART BODY ***/
.cart{
	background: #FFF;
	padding: 15px;
	border-radius: 5px;
}
.cart_items{
	height: calc(100dvh - 470px);
	gap: 10px;
}
.empty_cart .cart_items{
	height: calc(100dvh - 235px);
}
.empty_cart .cart_items::after{
	content: '\fc7b';
	font-family: uicons-regular-rounded !important;
	position: absolute;
	top:50%;
	left:50%;
	font-size: 150px;
	color: var(--gray100);
	transform: translate(-50%, -50%);
}
.pos_cart_item{
	overflow: hidden;
    border-radius: 4px;
}
.pos_cart_item_front{
	width: calc(100% - 10px);
	padding: 10px;
    background: var(--gray150);
    border-radius: 3px;
	z-index: 2;
	transition: all 0.3s;
}
.pos_cart_item_front_main{
	gap: 10px;
}
.pos_cart_item_image{
	width: 50px;
	background: #FFF;
	border-radius: 3px;
}
.pos_cart_item_image img{
	float:left;
	border-radius: 3px;
}
.pos_cart_item_data{
	width: calc(100% - 160px);
}
.pos_cart_item_name{
	text-transform: uppercase;
    font-size: 11px;
    font-weight: 500;	
}
.pos_cart_item_attributes{
	font-size: 12px;
    padding: 0;
    margin: 0;
    list-style: none;
}
.pos_cart_item_attributes li{
	position: relative;
	padding: 0 0 0 8px;
	font-weight: 600;
}
.pos_cart_item_attributes li::before{
	content: '';
	position: absolute;
	top: 8px;
	left:0;
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: var(--blueColor600);
}
.cart_quantity{
	border: 1px solid var(--gray250);
	border-radius: 3px;
	margin-top:5px
}
.cart_quantity > span{
	width: 25px;
	height: 25px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 16px;
	background: #FFF;
	cursor: pointer;
}
.cart_quantity .cart_qty_minus{
	border-radius: 3px 0 0 3px;
}
.cart_quantity .cart_qty_plus{
	border-radius: 0 3px 3px 0;
}
.cart_quantity input{
	width: 40px;
	height: 25px;
	border-width: 0 1px;
	border-radius: 0;
	text-align: center;
	font-weight: bold;
}
.pos_cart_item_prices{
	width: 90px;
}
.pos_cart_item_price {
	font-size: 12px;
	font-weight: 500;
	color: var(--gray300);
}
.pos_cart_item_total{
	font-size: 14px;
	font-weight: 600;
}
.pos_cart_item_actions{
	position: absolute;
    top: 0;
    right: 0;
	width: calc(100% - 10px);
    height: 100%;
    background: var(--gray300);
    color: #FFF;
    border-radius: 3px;
	overflow: hidden;
}
.display_actions .pos_cart_item_front,
.pos_cart_item_actions:hover + .pos_cart_item_front{
	transform: translateX(-88px);
}
.pos_cart_item_comments{
	font-size: 12px;
    margin-top: 10px;
    font-style: italic;
    opacity: 0.7;
}

.pos_cart_item_actions > *{
	width: 50px;
	cursor: pointer;
}
.delete_item{
	background: var(--redColor);
}
.edit_item{
	background: var(--purpleColor);
}

.cart_footer{
	position: absolute;
    bottom: 0;
    left: 0;
	display: inline-flex;
	flex-direction: column;
    padding: 15px;
    gap: 10px;
}
.empty_cart .cart_footer{
	display: none;
}
.cart_totals{
	background: var(--gray150);
    color: var(--gray400);
    padding: 15px;
    border-radius: 5px;
    gap: 10px;
}
.cart_totals_line{
	position: relative;
	font-size: 12px;
	text-transform: uppercase;
	font-weight: 500;
}
.coupon_code{
	font-size: 11px;
	font-weight: 600;
}
.coupon_code i{
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 15px;
	height: 15px;
	background: var(--redColor);
	color: #FFF;
	font-size: 10px;
	border-radius: 50%;
	cursor: pointer;
}
#discounts_coupons{
	gap:5px;
}
#discounts_coupons:empty{
	display: none !important;
}
.total_line {
	margin-top: 5px;
    padding-top: 15px;
	font-weight: 600;
	font-size: 14px;
    border-top: 1px dashed var(--gray250);
}
.total_line::before{
	content: '';
    position: absolute;
    top: -9px;
    left: -23px;
    width: 15px;
    height: 15px;
    background: #FFF;
    border-radius: 50%;
}
.total_line::after{
	content: '';
    position: absolute;
    top: -9px;
    right: -23px;
    width: 15px;
    height: 15px;
    background: #FFF;
    border-radius: 50%;
}
.cart_apply_coupon {
	font-size: 12px;
    text-transform: uppercase;
    background: var(--gray150);
    color: var(--gray400);
    padding: 5px 10px;
    gap: 5px;
    border-radius: 5px;
    font-weight: 500;
	cursor: pointer;
}
.cart_apply_coupon i{
	font-size: 17px;
}
.order_customer{
	gap: 10px;
}
.send_ticket_email {
	padding: 2px 5px;
    background: var(--purpleColor);
    color: #FFF;
    border-radius: 5px;
    gap: 5px;
    font-size: 14px;
	cursor: pointer;
}
#create_order_button{
	padding:15px 0;
}

/*** PRODUCT EDIT ***/
.optional_products_box {
	padding: 15px;
	background: var(--gray150);
	border-radius: 5px;
}

/*** ORDERS ***/
.tag.completed{
	background: var(--greenColor);
}
.tag.on-hold{
	background: var(--yellowColor);
}
.tag.refunded{
	background: var(--gray250);
}
.tag.cancelled,
.tag.fail{
	background: var(--redColor);
}
.tag.blueColor600{
	background: var(--blueColor600);
}

/*** CUSTOMERS ***/
.customer_result{
	padding: 15px;
	border-radius: 5px;
	background: var(--gray150);
	cursor: pointer;
	transition: all 0.3s;
}
.customer_result:hover{
	background: var(--gray200);
}
.customer_result_data .customer_name {
	text-transform: uppercase;
    font-size: 14px;
    font-weight: 500;
}
.customer_result_data .customer_email {
	font-size: 12px;
    opacity: 0.6;
}
.customer_result_actions .button{
	--btnColor:var(--gray300);
	--btnColorHover: var(--greenColor);
	font-size: 14px;
}

/*** PRODUCTS ***/
#product_title_input{
	font-size: 18px;
	font-weight: bold;
}
#product_title_input::placeholder{
	font-size: 18px;
	font-weight: bold;
	color: var(--gray300);
}

/*** TOUCH DEVICES ***/
@media (pointer:coarse) {
	#dashboard_sidebar:hover{
		width: var(--sideBarWidth);
	}
	.sidebar_open #dashboard_sidebar{
		width: 230px;
	}
	.sidebar_open #dashboard_sidebar #dashboard_logo::before{
		opacity: 1;
	}
	.sidebar_open #dashboard_sidebar #dashboard_logo a{
		left: 50%;
		transform: translateY(-50%) translateX(-50%);
		clip-path: inset(0 0 0 0);
	}
	.sidebar_open #dashboard_sidebar .menu-link span{
		opacity: 1;
	}
	#touch_menu_trigger{
		display: inline-flex;
	}
}

/*** TABLETS ***/

/*** MOBILE ***/
@media (max-width: 768px) {
	#dashboard_sidebar{
		--sideBarWidth: 50px;
	}
	.menu-link {
		padding:0;
	}
	#dashboard_logo a {
		left: 12px;
		width: 100px;
		clip-path: inset(0 calc(100% - 28px) 0 0);
	}
	#dashboard_page_content {
		left: 50px;
		width: calc(100% - 50px);
		padding: 85px 15px 15px;
	}
	#dashboard_header {
		position: fixed;
        width: calc(100% - 80px);
        top: 15px;
		left: 65px;
		z-index: 99;
	}
	.float_active #dashboard_header{
		box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
	}
	.header_account_data {
		display: none;
	}
	.archive_table_wrapper {
		overflow-x: auto;
		overflow-y: hidden;
	}
	.archive_table_wrapper::-webkit-scrollbar {
		height: 5px;
	}
	.archive_table_wrapper::-webkit-scrollbar-thumb {
		background: rgba(0, 0, 0, 0.05);
	}
	.archive_table_wrapper::-webkit-scrollbar-thumb:hover {
		background: rgba(0, 0, 0, 0.1);
	}
}

/* ============================================================
   DASHBOARD HOME (página principal / "Resumen")
   ============================================================ */
.dashboard_home{
	display: flex;
	flex-direction: column;
	gap: 20px;
	padding: 10px 0;
}
.dash_header{
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}
.dash_header h1{
	margin: 0;
	font-size: 24px;
	font-weight: 700;
	text-transform: none;
	color: var(--brandColor500);
}
.dash_subtitle{
	display: block;
	margin-top: 2px;
	font-size: 13px;
	color: var(--gray300);
}
.dashboard_home .button.gw_button{ text-transform: none; }

/* --- KPIs --- */
.dash_kpis{ display: flex; gap: 16px; }
.kpi_card{
	flex: 1 1 0;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
	background: #fff;
	border: 1px solid var(--gray200);
	border-radius: 12px;
	padding: 16px 18px;
}
.kpi_chip{
	width: 40px; height: 40px;
	display: inline-flex; align-items: center; justify-content: center;
	border-radius: 10px;
	font-size: 18px;
	margin-bottom: 4px;
}
.kpi_chip.teal{   background: rgba(0,180,189,.12);   color: var(--gwColor); }
.kpi_chip.purple{ background: rgba(147,102,221,.12); color: var(--purpleColor); }
.kpi_chip.blue{   background: rgba(33,121,209,.12);  color: var(--blueColor600); }
.kpi_chip.orange{ background: rgba(255,144,0,.12);   color: var(--yellowColor); }
.kpi_label{ font-size: 13px; color: var(--gray300); }
.kpi_value{ font-size: 26px; font-weight: 700; color: var(--brandColor500); line-height: 1.1; }
.kpi_value small{ font-size: 14px; font-weight: 500; }
.kpi_delta{ font-size: 12px; font-weight: 600; }
.kpi_delta em{ color: var(--gray300); font-style: normal; font-weight: 400; }
.kpi_delta.up{ color: #12b76a; }
.kpi_delta.down{ color: #e5484d; }
.kpi_delta.warn{ color: var(--yellowColor); }
.kpi_delta.flat{ color: var(--gray300); }

/* --- Cards del dashboard --- */
.dash_card{
	background: #fff;
	border: 1px solid var(--gray200);
	border-radius: 12px;
	padding: 18px 20px;
}
.dash_card_head{
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 16px;
}
.dash_card_head h3{ margin: 0; font-size: 15px; font-weight: 600; color: var(--brandColor500); }
.dash_card_link, .dash_card_meta{ font-size: 13px; }
.dash_card_link{ color: var(--blueColor600); font-weight: 600; text-decoration: none; }
.dash_card_meta{ color: var(--gray300); }

.dash_main_row{ display: flex; gap: 16px; align-items: stretch; }
.dash_chart_card{ flex: 1 1 0; min-width: 0; }
.dash_lowstock_card{ width: 400px; flex: 0 0 400px; }

/* --- Gráfica de barras --- */
.dash_bars{ display: flex; align-items: flex-end; gap: 14px; height: 190px; }
.dash_bar_col{
	flex: 1 1 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-end;
	gap: 6px;
	height: 100%;
}
.dash_bar_amount{ font-size: 10px; font-weight: 600; color: var(--brandColor500); }
.dash_bar{ width: 100%; background: var(--brandColor700); border-radius: 6px 6px 0 0; }
.dash_bar_label{ font-size: 11px; color: var(--gray300); margin-top: 2px; }

/* --- Stock bajo --- */
.lowstock_list{ display: flex; flex-direction: column; }
.lowstock_row{
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 9px 0;
	border-top: 1px solid var(--gray150);
}
.lowstock_row:first-child{ border-top: none; }
.lowstock_name{ font-size: 13px; font-weight: 500; color: var(--gray400); }
.lowstock_empty{ font-size: 13px; color: var(--gray300); text-align: center; padding: 18px 0; }

/* --- Órdenes recientes --- */
.dash_orders_card{ padding-left: 0; padding-right: 0; padding-bottom: 0; }
.dash_orders_card .dash_card_head{ padding: 0 20px; }
.dash_orders_table{ width: 100%; border-collapse: collapse; }
.dash_orders_table thead th{
	background: #f4f5f5;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .5px;
	color: var(--gray300);
	text-transform: uppercase;
	text-align: left;
	padding: 11px 20px;
}
.dash_orders_table tbody td{
	font-size: 13px;
	color: var(--gray400);
	padding: 13px 20px;
	border-top: 1px solid var(--gray150);
}
.dash_orders_table .td-id,
.dash_orders_table .td-total{ font-weight: 600; color: var(--brandColor500); }
.dash_orders_table .ta-r{ text-align: right; }

/* --- Tags soft del dashboard --- */
.dash_tag{ display: inline-block; font-size: 11px; font-weight: 600; padding: 3px 9px; border-radius: 6px; }
.dash_tag.success{ background: #d1fadf; color: #05603a; }
.dash_tag.warn{    background: #ffe499; color: #93370d; }
.dash_tag.danger{  background: #fcdad7; color: #c0362d; }

/* --- Responsive --- */
@media (max-width: 1100px){
	.dash_kpis{ flex-wrap: wrap; }
	.kpi_card{ flex: 1 1 45%; }
	.dash_main_row{ flex-direction: column; }
	.dash_lowstock_card{ width: auto; flex: 1 1 auto; }
}
