/*
	Theme Name:     Meow! Child - Pets Co.
	Theme URI:      http://www.enovathemes.com/meow
	Description:    Child theme de Meow! personalizado para Pets Co.
	Author:         Pets Co.
	Version:        1.0
	Template:       meow
*/

/* =========================================================================
   HEADER PROPIO — Pets Co.
   ========================================================================= */

:root{
	--petsco-dark: #201d1b;
	--petsco-orange: #ffa600;
	--petsco-blue: #01b5fd;
	--petsco-white: #ffffff;
}

.petsco-header{
	background: var(--petsco-dark);
	color: var(--petsco-white);
	font-family: inherit;
}
.petsco-header a{
	color: var(--petsco-white);
	text-decoration: none;
}

/* --- Barra de promoción --- */
.petsco-topbar{
	text-align: center;
	padding: 8px 16px;
	font-size: 13px;
	border-bottom: 1px solid rgba(255,255,255,.08);
}
.petsco-topbar p{ margin: 0; }
.petsco-highlight{ color: var(--petsco-orange); }

/* --- Fila principal --- */
.petsco-main-row{
	display: flex;
	align-items: center;
	gap: 24px;
	padding: 16px 24px;
	max-width: 1280px;
	margin: 0 auto;
}
.petsco-logo img{
	display: block !important;
	height: 60px !important;
	width: auto !important;
	max-width: none !important;
}

.petsco-search{
	flex: 1 1 auto;
	align-self: center;
	display: flex;
	align-items: center;
	background: var(--petsco-white);
	border-radius: 6px;
	overflow: hidden;
	max-width: 760px;
	margin: 0 0 0 20px !important;
}
.petsco-search input[type="text"]{
	flex: 1 1 auto;
	-webkit-appearance: none !important;
	-moz-appearance: none !important;
	appearance: none !important;
	border: 0;
	height: auto !important;
	max-height: 43px !important;
	min-height: 0 !important;
	box-sizing: border-box !important;
	padding: 9px 12px !important;
	font-size: 14px;
	line-height: 25px;
	color: #333;
	outline: none;
	margin: 0 !important;
}
.petsco-search button{
	border: 0;
	background: transparent;
	color: #333;
	padding: 0 12px;
	cursor: pointer;
	display: flex;
	align-items: center;
}
.petsco-search button svg{
	width: 20px;
	height: 20px;
}

.petsco-icons{
	display: flex;
	align-items: center;
	gap: 22px;
	margin-left: auto;
}
.petsco-icons .dashboard-tab-item,
.petsco-nav-icons .dashboard-tab-item{
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	font-size: 12px;
}
.petsco-icon{ display: flex; }
.petsco-icon svg{
	width: 29px !important;
	height: 29px !important;
}
.petsco-nav-icons{
	display: flex;
	align-items: center;
	flex: 1 1 0;
	justify-content: flex-end;
	gap: 24px;
}
.petsco-badge{
	position: absolute;
	top: -4px;
	right: -8px;
	background: var(--petsco-orange);
	color: var(--petsco-dark);
	font-size: 10px;
	font-weight: 700;
	line-height: 1;
	min-width: 15px;
	height: 15px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0 2px;
}
.petsco-label{
	opacity: .85;
}

/* --- Navegación --- */
.petsco-nav{
	display: flex;
	align-items: center;
	padding: 10px 24px;
	max-width: 1280px;
	margin: 0 auto;
	border-top: 1px solid rgba(255,255,255,.08);
	position: relative;
}

.petsco-categorias-toggle{
	display: flex;
	align-items: center;
	gap: 8px;
	background: transparent;
	font-family: inherit
	border: 0;
	color: var(--petsco-white);
	font-size: 17px;
	font-weight: 700;
	cursor: pointer;
	padding: 6px 0;
	flex: 1 1 0;
	justify-content: flex-start;
	
	letter-spacing: inherit;
}

.petsco-categorias-panel{
	list-style: none;
	margin: 0;
	padding: 8px 0;
	position: absolute;
	top: 100%;
	left: 24px;
	background: var(--petsco-dark);
	border: 1px solid rgba(255,255,255,.1);
	border-radius: 6px;
	min-width: 220px;
	display: none;
	z-index: 50;
}
.petsco-categorias-panel.is-open{ display: block; }
.petsco-categorias-panel li a{
	display: block;
	padding: 8px 16px;
	font-size: 14px;
}
.petsco-categorias-panel li a:hover{ background: rgba(255,255,255,.06); }

.petsco-menu{
	list-style: none;
	display: flex;
	flex: 0 0 auto;
	justify-content: space-between;
	gap: 0;
	width: 755px;
	max-width: 755px;
	margin: 0 0 0 98px;
	padding: 0;
}

.petsco-menu a{
	font-size: 16px;
	font-weight: 700;
	padding: 6px 0;
	white-space: nowrap;
}
.petsco-menu a:hover{ color: var(--petsco-orange); }

/* --- Responsive --- */
@media (max-width: 900px){
	.petsco-main-row{ flex-wrap: wrap; gap: 12px; }
	.petsco-search{ order: 3; max-width: 100%; }
	.petsco-nav{ flex-wrap: wrap; gap: 14px; }
	.petsco-menu{ flex-wrap: wrap; gap: 14px; }
}

/* --- Carrito: ícono más grande y número dentro de la cesta --- */
.dashboard-tab-item.cart .petsco-icon{
	position: relative;
}
.dashboard-tab-item.cart .petsco-icon svg{
	width: 32px !important;
	height: 32px !important;
}
.dashboard-tab-item.cart .cart-contents{
	position: absolute !important;
	top: 51% !important;
	left: 55% !important;
	right: auto !important;
	bottom: auto !important;
	transform: translate(-50%, -50%) !important;
	width: 15px !important;
	height: 15px !important;
	min-width: 15px !important;
	font-size: 9px !important;
	line-height: 15px !important;
	background: transparent !important;
	color: #ffffff !important;
	font-weight: 700 !important;
	border-radius: 50% !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	padding: 0 !important;
}
.dashboard-tab-item.cart .cart-contents:after{
	display: none !important;
}
 