/* ===========================
   Peluqueriacaninaa.com – CSS Principal
   =========================== */

* { margin: 0; padding: 0; box-sizing: border-box; }

body { font-family: 'Source Sans 3', sans-serif; background: #fff; color: #1a1a1a; font-size: 16px; line-height: 1.7; }

/* HEADER */
.site-header-wrap { border-bottom: 3px solid #1a1a1a; position: relative; }
.site-header { display: flex; align-items: center; justify-content: space-between; max-width: 1100px; margin: 0 auto; padding: 12px 24px 10px; }
.site-logo { font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: #1a1a1a; text-decoration: none; }
.site-logo span { background: #FFCC00; padding: 2px 8px; margin-right: 6px; }
h1.site-logo { font-size: 22px; font-weight: 700; margin: 0; }
h1.site-logo a { color: #1a1a1a; text-decoration: none; font-family: 'Playfair Display', serif; letter-spacing: 0.04em; text-transform: uppercase; }
.site-nav { display: flex; gap: 24px; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; }
.site-nav a { color: #555; text-decoration: none; }
.site-nav a:hover { color: #1a1a1a; }

/* FOOTER */
.site-footer { background: #1a1a1a; margin-top: 60px; padding: 32px 0 0; }
.footer-inner { max-width: 1100px; margin: 0 auto; padding: 0 24px 24px; display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; }
.footer-brand .site-logo { color: #fff; }
.footer-copy { font-size: 12px; color: #888; margin-top: 10px; line-height: 1.6; }
.footer-nav { display: flex; gap: 20px; align-items: center; }
.footer-nav a { font-size: 12px; color: #888; text-decoration: none; text-transform: uppercase; letter-spacing: 0.06em; white-space: nowrap; }
.footer-nav a:hover { color: #FFCC00; }
.footer-bottom { max-width: 1100px; margin: 0 auto; padding: 16px 24px; border-top: 1px solid #333; font-size: 11px; color: #555; text-align: center; letter-spacing: 0.04em; }

/* BREADCRUMB */
.breadcrumb { max-width: 1100px; margin: 16px auto 0; padding: 0 24px; font-size: 12px; color: #888; text-transform: uppercase; letter-spacing: 0.06em; }
.breadcrumb a { color: #888; text-decoration: none; }
.breadcrumb a:hover { color: #1a1a1a; }
.breadcrumb span { margin: 0 6px; }

/* ARTICLE HERO */
.article-hero { max-width: 1100px; margin: 24px auto 0; padding: 0 24px; display: grid; grid-template-columns: 1fr 320px; gap: 40px; align-items: start; }
.article-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.article-tag { background: #FFCC00; color: #1a1a1a; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; padding: 3px 10px; text-decoration: none;}
.article-category { font-size: 12px; color: #888; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; text-decoration: none;}
.article-title { font-family: 'Playfair Display', serif; font-size: 42px; font-weight: 700; line-height: 1.15; margin-bottom: 16px; color: #1a1a1a; }
.article-desc { font-size: 18px; color: #444; line-height: 1.6; margin-bottom: 20px; border-left: 3px solid #FFCC00; padding-left: 16px; }
.article-byline { font-size: 12px; color: #888; text-transform: uppercase; letter-spacing: 0.06em; padding-top: 16px; border-top: 1px solid #e0e0e0; margin-bottom: 16px; }

/* INFOBOX */
.infobox { border: 1.5px solid #1a1a1a; }
.infobox-img { width: 100%; height: 220px; object-fit: cover; display: block; border-bottom: 1.5px solid #1a1a1a; }
.infobox-img-placeholder { width: 100%; height: 220px; background: #f0f0e8; display: flex; align-items: center; justify-content: center; font-size: 13px; color: #888; font-style: italic; border-bottom: 1.5px solid #1a1a1a; }
.infobox-title { font-family: 'Playfair Display', serif; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; padding: 10px 16px; border-bottom: 1px solid #e0e0e0; background: #FFCC00; }
.infobox-row { display: flex; padding: 7px 16px; border-bottom: 1px solid #f0f0f0; font-size: 13px; }
.infobox-row:last-child { border-bottom: none; }
.infobox-label { font-weight: 600; color: #555; min-width: 110px; text-transform: uppercase; font-size: 11px; letter-spacing: 0.05em; padding-top: 2px; }
.infobox-value { color: #1a1a1a; }

/* SECTION DIVIDER */
.section-divider { max-width: 1100px; margin: 28px auto 0; padding: 0 24px; border-top: 3px solid #1a1a1a; display: flex; align-items: center; gap: 12px; padding-top: 10px; }
.section-divider-label { font-family: 'Playfair Display', serif; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; white-space: nowrap; }
h1.section-divider-label { max-width: 1100px; margin: 28px auto 0; padding: 0 24px; display: block; }
.section-divider-line { flex: 1; height: 1px; background: #e0e0e0; }
.section-divider--top { margin-top: 48px; }
.section-count { font-size: 12px; color: #888; text-transform: uppercase; letter-spacing: 0.06em; }

/* ARTICLE CONTENT */
.article-wrap { max-width: 1100px; margin: 28px auto 0; padding: 0 24px; overflow: hidden; }
.sidebar-float { float: right; width: 300px; margin-left: 40px; }
.sidebar-card { display: block; border: 1.5px solid #1a1a1a; margin-bottom: 20px; background: #fff;}
.sidebar-card-title { background: #1a1a1a; color: #fff; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; padding: 8px 14px; }
.sidebar-tag-list { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px; }
.tag { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; border: 1px solid #1a1a1a; padding: 4px 10px; text-decoration: none; color: #1a1a1a; }
.tag:hover { background: #FFCC00; }
.related-item { display: flex; gap: 10px; padding: 10px 14px; border-bottom: 1px solid #f0f0f0; font-size: 13px; align-items: flex-start; }
.related-item:last-child { border-bottom: none; }
.related-dot { width: 6px; height: 6px; background: #FFCC00; border: 1px solid #1a1a1a; flex-shrink: 0; margin-top: 6px; }
.related-item a { color: #1a1a1a; text-decoration: none; font-weight: 600; line-height: 1.4; }
.related-item a:hover { color: #555; }

/* ARTICLE BODY */
.article-body h2 { font-family: 'Playfair Display', serif; font-size: 24px; font-weight: 700; margin: 32px 0 12px; padding-bottom: 8px; border-bottom: 1.5px solid #1a1a1a; color: #1a1a1a; }
.article-body h2:first-child { margin-top: 0; }
.article-body h3 { font-size: 15px; font-weight: 700; margin: 20px 0 8px; text-transform: uppercase; letter-spacing: 0.05em; color: #333; }
.article-body p { margin-bottom: 16px; color: #1a1a1a; }
.article-body ul { margin: 0 0 16px 20px; }
.article-body li { margin-bottom: 6px; }
.article-body a { color: #1a1a1a; }
.article-body img {  max-width: 100%; height: auto; }
.article-body picture { display: block; width: 100%; }
.article-body picture img { width: 100%; height: auto; }

.pull-quote { font-family: 'Playfair Display', serif; font-size: 20px; font-style: italic; line-height: 1.4; color: #1a1a1a; border-top: 3px solid #FFCC00; border-bottom: 3px solid #FFCC00; padding: 20px 0; margin: 28px 0; }

/* HOME */
.search-wrap { max-width: 1100px; margin: 40px auto 0; padding: 0 24px; }
.search-label { font-family: 'Playfair Display', serif; font-size: 28px; font-weight: 700; margin-bottom: 16px; color: #1a1a1a; }
.search-box { display: flex; border: 2px solid #1a1a1a; }
.search-box input { flex: 1; border: none; outline: none; padding: 14px 20px; font-family: 'Source Sans 3', sans-serif; font-size: 16px; color: #1a1a1a; background: #fff; }
.search-box button { background: #FFCC00; border: none; padding: 14px 28px; font-family: 'Source Sans 3', sans-serif; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; cursor: pointer; color: #1a1a1a; }
.search-box button:hover { background: #e6b800; }
.search-wrap--bottom { margin-bottom: 48px; }

/* ARTICLE GRID */
.article-grid { max-width: 1100px; margin: 28px auto 0; padding: 0 24px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.article-grid--bottom { margin-bottom: 48px; }
.article-card { border: 1.5px solid #1a1a1a; overflow: hidden; }
.article-card-img { width: 100%; height: 180px; background: #f0f0e8; display: flex; align-items: center; justify-content: center; font-size: 12px; color: #aaa; font-style: italic; border-bottom: 1.5px solid #1a1a1a; }
.article-card-img-real { width: 100%; height: 180px; object-fit: cover; object-position: center top; display: block; border-bottom: 1.5px solid #1a1a1a; }
.article-card-body { padding: 16px; }
.article-card-cat { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: #888; margin-bottom: 8px; }
.article-card-title { font-family: 'Playfair Display', serif; font-size: 20px; font-weight: 700; line-height: 1.2; margin-bottom: 10px; color: #1a1a1a; text-decoration: none; display: block; }
.article-card-title:hover { color: #555; }
h2.article-card-title { margin: 0; }
h2.article-card-title a { color: #1a1a1a; text-decoration: none; font-family: 'Playfair Display', serif; font-size: 20px; font-weight: 700; line-height: 1.2; margin-bottom: 10px; display: block; }
h2.article-card-title a:hover { color: #555; }
h3.article-card-title { margin: 0; }
h3.article-card-title a { color: #1a1a1a; text-decoration: none; font-family: 'Playfair Display', serif; font-size: 20px; font-weight: 700; line-height: 1.2; margin-bottom: 10px; display: block; }
h3.article-card-title a:hover { color: #555; }
.article-card-desc { font-size: 14px; color: #555; line-height: 1.5; margin-bottom: 12px; }
.article-card-tag { display: inline-block; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; background: #FFCC00; padding: 2px 8px; color: #1a1a1a; text-decoration: none;}
.article-card-tag-list { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.section-divider-link { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: #555; text-decoration: none; border-bottom: 1px solid #ccc; }
.section-divider-link:hover { color: #1a1a1a; border-color: #1a1a1a; }

/* AD BANNER */
.ad-banner { max-width: 1100px; margin: 48px auto 0; padding: 0 24px; }
.ad-banner-inner { width: 100%; height: 100px; background: #f9f9f9; border: 1px dashed #ccc; display: flex; align-items: center; justify-content: center; font-size: 11px; color: #aaa; text-transform: uppercase; letter-spacing: 0.08em; }

/* FILTROS */
.filters-wrap { max-width: 1100px; margin: 20px auto 0; padding: 0 24px; display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.filter-group { display: flex; flex-direction: column; gap: 4px; }
.filter-label { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: #888; }
.filter-select { width: 160px; border: 1.5px solid #1a1a1a; padding: 8px 12px; font-family: 'Source Sans 3', sans-serif; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: #1a1a1a; background: #fff; cursor: pointer; }
.filter-select:focus { outline: none; border-color: #FFCC00; }
.filter-reset { border: 1.5px solid #1a1a1a; padding: 8px 16px; font-family: 'Source Sans 3', sans-serif; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; background: #fff; cursor: pointer; color: #1a1a1a; }
.filter-reset:hover { background: #FFCC00; }

/* PAGINACIÓN */
.pagination { max-width: 1100px; margin: 0 auto 48px; padding: 0 24px; display: flex; gap: 8px; align-items: center; justify-content: center; }
.pagination-btn { border: 1.5px solid #1a1a1a; padding: 8px 16px; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; text-decoration: none; color: #1a1a1a; background: #fff; }
.pagination-btn:hover { background: #FFCC00; }
.pagination-current { border: 1.5px solid #1a1a1a; padding: 8px 16px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; background: #FFCC00; color: #1a1a1a; }

/* ADS */
/* .ad-hero { width: 100%; height: 280px; background: #f9f9f9; border: 1px dashed #ccc; display: flex; align-items: center; justify-content: center; font-size: 11px; color: #aaa; text-transform: uppercase; letter-spacing: 0.08em; }*/
.ad-hero { width: 100%; min-height: 280px; display: flex; align-items: center; justify-content: center; }
.ad-sidebar { width: 300px; height: 250px; background: #f9f9f9; border: 1px dashed #ccc; display: flex; align-items: center; justify-content: center; font-size: 11px; color: #aaa; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 20px; }
.ad-incontent { width: 100%; height: 280px; background: #f9f9f9; border: 1px dashed #ccc; display: flex; align-items: center; justify-content: center; font-size: 11px; color: #aaa; text-transform: uppercase; letter-spacing: 0.08em; margin: 28px 0; }

/* 404 */
.not-found-wrap { max-width: 1100px; margin: 80px auto; padding: 0 24px; text-align: center; }
.not-found-number { font-family: 'Playfair Display', serif; font-size: 120px; font-weight: 700; line-height: 1; color: #1a1a1a; border-bottom: 3px solid #FFCC00; display: inline-block; padding-bottom: 8px; margin-bottom: 32px; }
.not-found-subtitle { font-family: 'Playfair Display', serif; font-size: 32px; font-weight: 700; color: #1a1a1a; margin-bottom: 16px; }
.not-found-desc { font-size: 18px; color: #555; max-width: 480px; margin: 0 auto 40px; line-height: 1.6; }
.not-found-search { max-width: 560px; margin: 0 auto 48px; }
.not-found-btn { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; padding: 12px 24px; text-decoration: none; border: 1.5px solid #1a1a1a; }
.not-found-btn--primary { background: #FFCC00; color: #1a1a1a; }
.not-found-btn--secondary { background: #fff; color: #1a1a1a; }
.not-found-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.no-results { display: none; max-width: 1100px; margin: 48px auto; padding: 0 24px; text-align: center; color: #888; font-size: 14px; text-transform: uppercase; letter-spacing: 0.06em; }

/* MOBILE – Hamburger toggle */
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; } .nav-toggle span { display: block; width: 24px; height: 2px; background: #1a1a1a; }

/* RESPONSIVE – Tablet y móvil */
@media (max-width: 768px) { .article-body p { font-size: 1.125rem; } .article-body li { font-size: 1.125rem; } .nav-toggle { display: flex; } .site-nav { display: none; flex-direction: column; position: absolute; top: 52px; left: 0; right: 0; background: #fff; border-bottom: 3px solid #1a1a1a; padding: 16px 24px; gap: 16px; z-index: 100; } .site-nav.open { display: flex; } .site-header-wrap { position: relative; } .article-hero { grid-template-columns: 1fr; padding: 0 16px; } .article-grid { grid-template-columns: 1fr; } .article-wrap { padding: 0 16px; } .search-wrap { padding: 0 16px; } .article-title { font-size: 28px; } .article-desc { font-size: 16px; } .filters-wrap { padding: 0 16px; } .section-divider { padding: 10px 16px 0; } .ad-banner { padding: 0 16px; } .footer-inner { flex-direction: column; gap: 20px; } .footer-nav { flex-wrap: wrap; gap: 12px; } .breadcrumb { padding: 0 16px; } .infobox { margin-top: 24px; } .sidebar-float { float: none; width: 100%; margin-left: 0; margin-bottom: 24px;} .ad-sidebar { width: 100%; } }

@media (max-width: 480px) { .article-title { font-size: 24px; } .search-label { font-size: 20px; } }

/* FORMULARIO CONTACTO */
.contacto-form { max-width: 600px; }
.contacto-form label { display: block; font-weight: 600; margin-bottom: 4px; font-size: 14px; }
.contacto-form input, .contacto-form textarea { width: 100%; padding: 10px 12px; border: 1.5px solid #1a1a1a; font-family: 'Source Sans 3', sans-serif; font-size: 14px; margin-bottom: 16px; }
.contacto-form textarea { height: 150px; resize: vertical; }
.contacto-form button { background: #FFCC00; color: #1a1a1a; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; padding: 12px 24px; border: 1.5px solid #1a1a1a; cursor: pointer; }
.contacto-form button:hover { background: #1a1a1a; color: #fff; }
.contacto-check { display: flex; gap: 8px; align-items: flex-start; margin-bottom: 16px; font-size: 13px; }
.contacto-check input { width: auto; margin-top: 3px; }
.contacto-msg-ok { background: #e8f5e9; border: 1px solid #4caf50; padding: 12px 16px; margin-bottom: 16px; font-size: 14px; color: #2e7d32; }
.contacto-msg-error { background: #fce4ec; border: 1px solid #e53935; padding: 12px 16px; margin-bottom: 16px; font-size: 14px; color: #c62828; }
.ohnohoney { position: absolute; left: -9999px; }


/* ── CONTACTO ────────────────────────────────────── */
.contact-wrap { max-width: 600px; margin: 0 auto; padding: 0 24px 48px; }
.contact-intro { font-size: 15px; color: #555; margin: 16px 0 24px; line-height: 1.6; }
.contact-field { margin-bottom: 16px; }
.contact-label { display: block; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: #888; margin-bottom: 6px; }
.contact-input, .contact-textarea { width: 100%; border: 1.5px solid #1a1a1a; padding: 12px 14px; font-family: 'Source Sans 3', sans-serif; font-size: 15px; color: #1a1a1a; background: #fff; box-sizing: border-box; }
.contact-input:focus, .contact-textarea:focus { outline: none; border-color: #FFCC00; }
.contact-textarea { resize: vertical; min-height: 120px; }
.contact-btn { background: #FFCC00; border: none; padding: 14px 28px; font-family: 'Source Sans 3', sans-serif; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; cursor: pointer; color: #1a1a1a; width: 100%; }
.contact-btn:hover { background: #e6b800; }
.contact-btn:disabled { background: #ccc; cursor: not-allowed; }
.contact-msg { padding: 16px; font-size: 14px; margin-bottom: 16px; }
.contact-msg--ok { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.contact-msg--err { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }