/*
Theme Name: Camisetas JH
Theme URI: 
Author: Jose Hurtado
Author URI: https://jhurtadotarrillo.ieti.site
Description: Tema exclusivo para la tienda de camisestas de futbol camisetas JH.
Tags: Version: 1.0
Requires at least: 5.0 
Tested up to: 5.4 
Requires PHP: 7.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: titoxavio is licensed under the GPL. Use it to make something cool, have fun, and share what you've learned with others.
*/


/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
	display: block;
}

body {
	line-height: 1;
}

ol,
ul {
	list-style: none;
}

blockquote,
q {
	quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
	content: '';
	content: none;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

/*-----------------------------------------------------------*/
/*-----------------------------------------------------------*/

/*#4758d6 - color azul,
#201c1c - color negro,
#ea3a3a - color rojo,
#eeeded - color blanco,
#e1811f - color naranja*/

html,
body {
	background: #ff9e57;
	font-family: Arial, sans-serif;
	color: #333;
	line-height: 1.6;
}

body {
	max-width: 1250px;
	margin: 0 auto;
	padding: 20px;
}

/* Elementos principales */
main,
header#header,
footer#footer,
aside,
nav#navigation {
	padding: 20px;
	margin-bottom: 15px;
	background: rgba(255, 255, 255, 0.3);
	border-radius: 10px;
	box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

/* Enlaces */
a {
	color: #d81b60;
	text-decoration: none;
	transition: color 0.3s ease;
}

a:hover {
	color: #ad1457;
}

a:visited {
	color: #c62828;
}

/* Encabezados */
h1 {
	font-size: 36px;
	font-weight: bold;
}

h2 {
	font-size: 32px;
	color: #d81b60;
}

h3 {
	font-size: 28px;
}

h4 {
	font-size: 24px;
}

h5 {
	font-size: 20px;
}

h6 {
	font-size: 18px;
}

/* Código */
code {
	background: #ffccd5;
	border: 1px solid #ff4081;
	border-radius: 5px;
	padding: 3px 6px;
}

/* Header */
header#header {
	display: flex;
	align-items: center;
	gap: 20px;
}

header#header img {
	width: 150px;
	height: auto;
	border-radius: 20px;
}

.site-title {
	color: #c62828;
}

/* Navegación */

nav#navigation {
	margin-top: 25px;
	margin-bottom: 25px;
}

nav#navigation ul {
	display: flex;
	gap: 15px;
	padding: 0;
	margin: 0;
	list-style: none;
}

nav#navigation ul li a {
	padding: 10px 15px;
	background: #ff6f61;
	border-radius: 6px;
	color: white;
	font-weight: bold;
	transition: background 0.3s ease;
}

nav#navigation ul li a:hover {
	background: #d84315;
	text-decoration: none;
}

footer#footer {
	margin-top: 30px;
}

footer#footer p{
	margin-bottom: 10px;
}

footer#footer ul {
	display: flex;
	gap: 15px;
	padding: 0;
	margin: 0;
	list-style: none;
}

footer#footer ul li a {
	padding: 10px 15px;
	background: #ff6f61;
	border-radius: 6px;
	color: white;
	font-weight: bold;
	transition: background 0.3s ease;
}

footer#footer ul li a:hover {
	background: #d84315;
	text-decoration: none;
}


/* Contenedor principal */
div.container {
	display: flex;
	gap: 15px;
}

div.container main {
	flex: 2;
}

div.container aside {
	flex: 1;
	box-sizing: border-box;
	padding: 15px;
	background: rgba(255, 255, 255, 0.2);
	border-radius: 8px;
}

body.page-template-page-sidebarless div.container main,
body.error404 div.container main{
    width: 100%;
}

/* ---- ESTILO PARA PÁGINA 404 ---- */
.error404 div.container main {
	text-align: center;
}


/* Front Section */
#frontSection {
	margin-top: 20px;
}

#frontSection ul {
	display: flex;
	flex-wrap: nowrap;
	gap: 15px;
	padding: 0;
	margin: 0;
	list-style: none;
}

#frontSection > ul > li {
	width: 33.33%;
	min-height: 250px;
}

#frontSection > ul > li > article {
	min-height: 100%;
	box-sizing: border-box;
}

/* Artículos */
article {
	padding: 20px;
	background-color: rgba(0, 0, 0, 0.15);
	margin-bottom: 15px;
	border-radius: 8px;
	box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
}

article img.wp-post-image {
	width: 100%;
	height: auto;
	border-radius: 8px;
}

/* Precio */
span.price {
	color: #222;
	font-size: 1.4em;
	font-weight: bold;
}

/* Navegación de post */
.post-navigation .nav-links {
	display: flex;
	justify-content: space-between;
}

.post-navigation .nav-links .nav-next {
	text-align: right;
}

/* Botón Submit */
input#submit {
	background: #000;
	color: #fff;
	padding: 12px 18px;
	border: none;
	border-radius: 12px;
	cursor: pointer;
	font-size: 16px;
	transition: background 0.3s ease, transform 0.2s;
}

input#submit:hover {
	background: #444;
	transform: scale(1.05);
}

/* Estilos para #respond */
#respond {
    margin-top: 25px;
    background: rgba(255, 255, 255, 0.2);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    margin: 0 auto;
    font-family: 'Arial', sans-serif;
    box-sizing: border-box;
}

/* Estilos para los párrafos dentro de #respond */
#respond p {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 20px;
}

/* Estilos para las etiquetas */
#respond p label {
    font-weight: 600;
    text-align: left;
    color: #d81b60;
    font-size: 16px;
    margin-bottom: 5px;
}

/* Estilos para los campos de entrada */
#respond p input[type="text"],
#respond p textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
    background: rgba(255, 255, 255, 0.7);
    color: #333;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

/* Estilos cuando los campos de entrada están en foco */
#respond p input[type="text"]:focus,
#respond p textarea:focus {
    border-color: #d81b60;
    background: rgba(255, 255, 255, 1);
    outline: none;
    box-shadow: 0 0 8px rgba(216, 27, 96, 0.2);
}

/* Estilo para el textarea */
#respond p textarea {
    height: 150px;
    resize: none;
    padding: 12px;
    font-family: 'Arial', sans-serif;
    border-radius: 8px;
    border: 1px solid #ccc;
    background: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
    color: #333;
    line-height: 1.4;
}

/* Efecto al pasar el ratón sobre el textarea */
#respond p textarea:hover {
    border-color: #d81b60;
    background: rgba(255, 255, 255, 0.85);
}

/* Estilo cuando el textarea está en foco */
#respond p textarea:focus {
    border-color: #d81b60;
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 0 8px rgba(216, 27, 96, 0.2);
    outline: none;
}


/* ---- ESTILOS PARA CADA COMENTARIO ---- */
.comment-body {
    padding: 18px;
    margin-bottom: 20px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    font-family: 'Arial', sans-serif;
}

/* Efecto al pasar el ratón */
.comment-body:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

/* ---- AVATAR DEL USUARIO ---- */
.comment-body .comment-avatar {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #d81b60; /* Añadido borde al avatar */
    display: inline-block;
    margin-bottom: 12px; /* Separar el avatar del contenido */
}

/* Imagen del avatar */
.comment-body .comment-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

/* ---- CONTENIDO DEL COMENTARIO ---- */
.comment-body .comment-content {
    display: block;
    margin-left: 70px; /* Espacio para el avatar */
}

/* ---- NOMBRE DEL AUTOR ---- */
.comment-body .comment-author {
    font-weight: 600;
    color: #d81b60;
    font-size: 16px;
    margin-bottom: 6px;
}

/* ---- FECHA DEL COMENTARIO ---- */
.comment-body .comment-date {
    font-size: 14px;
    color: #888;
    margin-bottom: 10px;
}

/* ---- TEXTO DEL COMENTARIO ---- */
.comment-body .comment-text {
    font-size: 15px;
    color: #333;
    line-height: 1.6;
    margin-bottom: 12px;
}

/* ---- RESPONDER A COMENTARIO ---- */
.comment-body .comment-reply {
    margin-top: 10px;
}

.comment-body .comment-reply a {
    color: #d81b60;
    font-size: 14px;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.comment-body .comment-reply a:hover {
    color: #a31545; /* Cambio de color al pasar el ratón */
    text-decoration: underline;
}
