/*
Theme Name: Electroservicios Seba
Theme URI: https://www.electroserviciosseba.com
Author: Electroservicios Seba
Description: Tema personalizado Electroservicios Seba - Murcia desde 1987.
Version: 3.0.0
License: GNU General Public License v2 or later
Text Domain: seba
*/

/* ── VARIABLES ─────────────────────────────────── */
:root {
  --orange:      #e8641a;
  --orange-dark: #c4521a;
  --orange-light:#f07820;
  --yellow:      #f5d800;
  --dark:        #1c1c1c;
  --mid:         #444;
  --muted:       #777;
  --border:      #e0e0e0;
  --bg-light:    #fdfaf3;
  --bg-warm:     #fff7e6;
  --white:       #ffffff;
  --font:        'Barlow', sans-serif;
  --font-cond:   'Barlow Condensed', sans-serif;
  --max:         1200px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--dark); background: var(--white); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* ── TOPBAR ────────────────────────────────────── */
.seba-topbar { background: var(--dark); color: #bbb; font-size: 13px; padding: 7px 0; }
.seba-topbar .container { max-width: var(--max); margin: 0 auto; padding: 0 24px; display: flex; justify-content: flex-end; gap: 24px; align-items: center; }
.seba-topbar a { color: #ccc; transition: color .2s; display: flex; align-items: center; gap: 6px; }
.seba-topbar a:hover { color: #f5d800; }

/* ── HEADER ────────────────────────────────────── */
.seba-header { background: var(--orange); border-bottom: 4px solid var(--orange-dark); position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 16px rgba(0,0,0,.15); }
.seba-header-inner { max-width: var(--max); margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: flex-start; gap: 32px; height: 76px; position: relative; }
.seba-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.seba-logo-img, .seba-logo .custom-logo { height: 46px; width: auto; display: block; object-fit: contain; }
.seba-logo-icon { width: 48px; height: 48px; background: rgba(0,0,0,.2); border-radius: 6px; display: flex; align-items: center; justify-content: center; }
.seba-logo-icon svg { width: 28px; height: 28px; fill: white; }
.seba-logo-text strong { display: block; font-family: var(--font-cond); font-size: 21px; font-weight: 700; color: white; }
.seba-logo-text span { font-size: 11px; color: rgba(255,255,255,.75); letter-spacing: 1.5px; text-transform: uppercase; }

/* ── NAVEGACIÓN ────────────────────────────────── */
.seba-nav { margin-left: auto; }
.seba-nav ul { display: flex; gap: 2px; align-items: center; text-align: left; }
.seba-nav ul li { position: relative; }
.seba-nav ul li a { display: block; padding: 7px 10px; font-size: 12px; font-weight: 600; letter-spacing: .3px; text-transform: uppercase; color: white; border-radius: 4px; transition: color .2s, background .2s; white-space: nowrap; }
.seba-nav ul li a:hover, .seba-nav ul li.current-menu-item > a { color: var(--yellow); background: rgba(0,0,0,.15); }
.seba-nav ul li.menu-item-cta { margin-left: 8px; }
.seba-nav ul li.menu-item-cta > a { background: var(--yellow); color: var(--dark) !important; border-radius: 4px; padding: 7px 16px !important; font-weight: 700; }
.seba-nav ul li.menu-item-cta > a:hover { background: #e0c200; color: var(--dark) !important; }

/* Submenús escritorio */
.seba-nav ul ul { display: none; position: absolute; top: 100%; left: 0; background: #ffffff; min-width: 190px; max-width: 210px; width: auto; border-top: 3px solid var(--orange); box-shadow: 0 8px 24px rgba(0,0,0,.18); z-index: 200; flex-direction: column; border-radius: 0 0 6px 6px; padding: 4px 0; text-align: left; }
.seba-nav ul li:hover > ul { display: flex; }
.seba-nav ul ul li { width: 100%; }
.seba-nav ul ul li a { display: block; width: 100%; padding: 10px 16px; font-size: 12px; font-weight: 600; letter-spacing: .3px; text-transform: uppercase; text-align: left; color: #1c1c1c; background: #ffffff; border-bottom: 1px solid #f0f0f0; white-space: nowrap; }
.seba-nav ul ul li:last-child a { border-bottom: none; }
.seba-nav ul ul li a:hover { background: #fff7e6 !important; color: #e8641a !important; }

/* Hamburguesa */
.seba-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 6px; background: none; border: none; }
.seba-hamburger span { display: block; width: 26px; height: 2px; background: white; border-radius: 2px; transition: .3s; }
.seba-hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.seba-hamburger.is-open span:nth-child(2) { opacity: 0; }
.seba-hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── CONTENEDOR / SECCIONES ────────────────────── */
.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
section { padding: 80px 0; }
.section-tag { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--orange); margin-bottom: 10px; }
.section-title { font-family: var(--font-cond); font-size: clamp(28px,4vw,42px); font-weight: 700; color: var(--dark); line-height: 1.15; margin-bottom: 16px; }
.section-lead { font-size: 17px; color: var(--muted); max-width: 640px; line-height: 1.7; margin-bottom: 48px; }
.title-line { width: 48px; height: 4px; background: linear-gradient(90deg, var(--orange), var(--yellow)); border-radius: 2px; margin: 12px 0 32px; }
.btn { display: inline-block; padding: 13px 28px; font-size: 13px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; border-radius: 5px; cursor: pointer; transition: all .2s; border: none; font-family: var(--font); }
.btn-primary { background: linear-gradient(135deg, var(--orange), var(--orange-light)); color: white; }
.btn-primary:hover { background: var(--orange-dark); transform: translateY(-1px); }
.btn-outline { background: transparent; color: white; border: 2px solid rgba(255,255,255,.45); }
.btn-outline:hover { border-color: var(--yellow); color: var(--yellow); }
.btn-orange { background: var(--orange); color: white; }
.btn-orange:hover { background: var(--orange-dark); }

/* ── HERO ──────────────────────────────────────── */
.seba-hero { position: relative; background: var(--dark); overflow: hidden; min-height: 520px; display: flex; align-items: center; }
.seba-hero-bg { position: absolute; inset: 0; background: linear-gradient(130deg, #1c1c1c 0%, #2a2a2a 55%, #1c1c1c 100%); }
.seba-hero-pattern { position: absolute; inset: 0; opacity: .035; background-image: repeating-linear-gradient(45deg,#fff 0,#fff 1px,transparent 0,transparent 50%); background-size: 22px 22px; }
.seba-hero-stripe { position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: linear-gradient(180deg, #f5d800, #e8641a); }
.seba-hero-inner { position: relative; z-index: 2; max-width: var(--max); margin: 0 auto; padding: 80px 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; width: 100%; }
.seba-hero-badge { display: inline-block; background: linear-gradient(135deg, var(--orange), var(--yellow)); color: var(--dark); font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; padding: 5px 14px; border-radius: 3px; margin-bottom: 20px; }
.seba-hero h1 { font-family: var(--font-cond); font-size: clamp(36px,5vw,56px); font-weight: 700; color: white; line-height: 1.1; margin-bottom: 20px; }
.seba-hero h1 em { font-style: normal; color: var(--yellow); }
.seba-hero p { font-size: 16px; color: #bbb; margin-bottom: 32px; line-height: 1.7; }
.seba-hero-buttons { display: flex; gap: 12px; flex-wrap: wrap; }
.seba-hero-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: rgba(255,255,255,.08); border-radius: 8px; overflow: hidden; margin-bottom: 14px; }
.seba-hero-stat { background: rgba(255,255,255,.04); padding: 22px 16px; text-align: center; }
.seba-hero-stat strong { display: block; font-family: var(--font-cond); font-size: 34px; font-weight: 700; color: var(--yellow); line-height: 1; margin-bottom: 4px; }
.seba-hero-stat span { font-size: 11px; color: #999; text-transform: uppercase; letter-spacing: 1px; }
.seba-hero-items { display: flex; flex-direction: column; gap: 10px; }
.seba-hero-item { display: flex; align-items: center; gap: 12px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); border-left: 3px solid var(--orange); padding: 12px 16px; border-radius: 0 6px 6px 0; }
.seba-hero-item svg { width: 18px; height: 18px; fill: var(--yellow); flex-shrink: 0; }
.seba-hero-item span { font-size: 13px; color: #ddd; font-weight: 500; }

/* ── PRESENTACIÓN ──────────────────────────────── */
.seba-presentacion { background: var(--white); }
.seba-pres-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.seba-pres-text p { color: var(--mid); margin-bottom: 16px; line-height: 1.75; }
.seba-highlight { background: var(--bg-warm); border-left: 4px solid var(--orange); padding: 16px 20px; border-radius: 0 6px 6px 0; margin: 24px 0; font-size: 15px; color: var(--dark); font-weight: 500; }
.seba-img-wrap { position: relative; }
.seba-img-wrap img { width: 100%; border-radius: 8px; object-fit: cover; height: 440px; }
.seba-img-placeholder { width: 100%; height: 440px; border-radius: 8px; background: var(--bg-light); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; border: 2px dashed var(--border); color: var(--muted); }
.seba-img-placeholder svg { width: 48px; height: 48px; opacity: .25; }
.seba-year-badge { position: absolute; bottom: 24px; left: -20px; background: linear-gradient(135deg, var(--orange), var(--orange-light)); color: white; padding: 16px 20px; border-radius: 8px; text-align: center; box-shadow: 0 8px 24px rgba(232,100,26,.35); }
.seba-year-badge strong { display: block; font-family: var(--font-cond); font-size: 30px; font-weight: 700; line-height: 1; }
.seba-year-badge span { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; opacity: .9; }

/* ── SERVICIOS ─────────────────────────────────── */
.seba-servicios { background: var(--bg-light); }
.seba-servicios-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.seba-card { background: var(--white); border-radius: 10px; overflow: hidden; border: 1px solid var(--border); transition: transform .25s, box-shadow .25s; display: flex; flex-direction: column; }
.seba-card:hover { transform: translateY(-6px); box-shadow: 0 20px 48px rgba(0,0,0,.09); }
.seba-card-img { height: 200px; background: var(--bg-warm); display: flex; align-items: center; justify-content: center; border-bottom: 1px solid var(--border); position: relative; overflow: hidden; }
.seba-card-img svg { width: 64px; height: 64px; fill: var(--orange); opacity: .2; }
.seba-card-img img { width: 100%; height: 100%; object-fit: cover; }
.seba-card-badge { position: absolute; top: 12px; left: 12px; background: var(--orange); color: white; font-size: 10px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; padding: 4px 10px; border-radius: 3px; }
.seba-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.seba-card-body h3 { font-family: var(--font-cond); font-size: 20px; font-weight: 700; color: var(--dark); margin-bottom: 10px; }
.seba-card-body p { font-size: 14px; color: var(--muted); line-height: 1.65; margin-bottom: 20px; flex: 1; }
.seba-card-link { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--orange); text-transform: uppercase; transition: gap .2s; }
.seba-card-link:hover { gap: 10px; }

/* ── REPARACIÓN ────────────────────────────────── */
.seba-reparacion { background: var(--white); }
.seba-rep-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.seba-rep-text p { color: var(--mid); line-height: 1.75; margin-bottom: 16px; }
.seba-rep-items { display: flex; flex-direction: column; gap: 13px; }
.seba-rep-item { display: flex; align-items: center; gap: 16px; padding: 16px 18px; background: var(--bg-light); border-radius: 8px; border: 1px solid var(--border); text-decoration: none; transition: all .2s; }
.seba-rep-item:hover { background: var(--bg-warm); border-color: var(--orange); transform: translateX(4px); }
.seba-rep-item-icon { width: 44px; height: 44px; background: var(--white); border: 1px solid var(--border); border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.seba-rep-item-icon svg { width: 22px; height: 22px; fill: var(--orange); }
.seba-rep-item-text strong { display: block; font-size: 15px; font-weight: 600; color: var(--dark); margin-bottom: 2px; }
.seba-rep-item-text span { font-size: 12px; color: var(--muted); }
.seba-rep-item-arrow { margin-left: auto; }
.seba-rep-item-arrow svg { width: 16px; height: 16px; fill: var(--muted); }
.seba-marcas-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.seba-marca-tag { background: var(--bg-warm); border: 1px solid #f0d9b5; border-radius: 4px; padding: 5px 12px; font-size: 12px; font-weight: 600; color: var(--orange-dark); }

/* ── CONTACTO ──────────────────────────────────── */
.seba-contacto { background: var(--bg-light); }
.seba-contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 64px; align-items: start; }
.seba-contact-info { display: flex; flex-direction: column; gap: 24px; }
.seba-contact-item { display: flex; gap: 16px; align-items: flex-start; }
.seba-contact-icon { width: 44px; height: 44px; background: linear-gradient(135deg,var(--orange),var(--orange-light)); border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.seba-contact-icon svg { width: 20px; height: 20px; fill: white; }
.seba-contact-body strong { display: block; font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.seba-contact-body a, .seba-contact-body span { font-size: 16px; color: var(--dark); font-weight: 500; }
.seba-contact-body a:hover { color: var(--orange); }
.seba-mapa { height: 220px; border-radius: 8px; overflow: hidden; margin-top: 8px; }
.seba-mapa iframe { width: 100%; height: 100%; border: none; }
.seba-maps-link { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--orange); border: 1px solid var(--orange); padding: 8px 16px; border-radius: 6px; transition: all .2s; margin-top: 8px; }
.seba-maps-link:hover { background: var(--orange); color: white; }
.seba-maps-link svg { width: 14px; height: 14px; fill: currentColor; }
.seba-form-card { background: var(--white); border-radius: 10px; border: 1px solid var(--border); padding: 36px; }
.seba-form-card h3 { font-family: var(--font-cond); font-size: 22px; font-weight: 700; color: var(--dark); margin-bottom: 6px; }
.seba-form-card > p { font-size: 14px; color: var(--muted); margin-bottom: 28px; }
.seba-label { display: block; font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.seba-input { width: 100%; padding: 11px 14px; border: 1px solid var(--border); border-radius: 6px; font-family: var(--font); font-size: 15px; color: var(--dark); background: var(--bg-light); transition: border-color .2s; outline: none; -webkit-appearance: none; }
.seba-input:focus { border-color: var(--orange); background: var(--white); box-shadow: 0 0 0 3px rgba(232,100,26,.12); }
.seba-btn-submit { width: 100%; padding: 14px; background: var(--orange); color: white; border: none; border-radius: 6px; font-family: var(--font); font-size: 14px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; cursor: pointer; transition: background .2s; }
.seba-btn-submit:hover { background: var(--orange-dark); }
.seba-cf7-aviso { display: flex; gap: 14px; align-items: flex-start; background: var(--bg-warm); border: 1px solid #f0d9b5; border-left: 4px solid var(--orange); border-radius: 0 8px 8px 0; padding: 18px 20px; font-size: 13px; color: var(--mid); line-height: 1.6; }
.seba-cf7-aviso svg { width: 22px; height: 22px; fill: var(--orange); flex-shrink: 0; margin-top: 2px; }
.seba-cf7-aviso strong { color: var(--dark); display: block; margin-bottom: 8px; }
.seba-cf7-aviso ol { padding-left: 18px; margin: 0; }
.seba-cf7-aviso code { background: rgba(232,100,26,.1); color: var(--orange-dark); padding: 2px 6px; border-radius: 3px; font-size: 12px; }

/* CF7 estilos */
.wpcf7-form input[type="text"], .wpcf7-form input[type="email"], .wpcf7-form input[type="tel"], .wpcf7-form select, .wpcf7-form textarea { width: 100%; padding: 11px 14px; border: 1px solid var(--border); border-radius: 6px; font-family: var(--font); font-size: 15px; color: var(--dark); background: var(--bg-light); transition: border-color .2s; outline: none; -webkit-appearance: none; margin-bottom: 12px; }
.wpcf7-form input:focus, .wpcf7-form select:focus, .wpcf7-form textarea:focus { border-color: var(--orange); background: var(--white); box-shadow: 0 0 0 3px rgba(232,100,26,.12); }
.wpcf7-form textarea { resize: vertical; min-height: 110px; }
.wpcf7-form input[type="submit"] { width: 100%; padding: 14px; background: var(--orange); color: white; font-family: var(--font); font-size: 14px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; border: none; border-radius: 6px; cursor: pointer; transition: background .2s; margin-top: 4px; }
.wpcf7-form input[type="submit"]:hover { background: var(--orange-dark); }

/* ── PÁGINAS INTERIORES ────────────────────────── */
.seba-page-hero { background: var(--dark); padding: 60px 0 50px; position: relative; overflow: hidden; }
.seba-page-hero::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: linear-gradient(180deg, #f5d800, #e8641a); }
.seba-page-hero::after { content: ''; position: absolute; inset: 0; opacity: .035; background-image: repeating-linear-gradient(45deg,#fff 0,#fff 1px,transparent 0,transparent 50%); background-size: 22px 22px; }
.seba-page-hero-inner { max-width: var(--max); margin: 0 auto; padding: 0 24px; position: relative; z-index: 2; }
.seba-breadcrumb { font-size: 13px; color: #777; margin-bottom: 16px; }
.seba-breadcrumb a { color: #999; transition: color .2s; }
.seba-breadcrumb a:hover { color: var(--yellow); }
.seba-breadcrumb span { color: #bbb; }
.seba-page-hero h1 { font-family: var(--font-cond); font-size: clamp(28px,4vw,48px); font-weight: 700; color: white; line-height: 1.1; margin-bottom: 12px; }
.seba-page-hero h1 em { font-style: normal; color: var(--yellow); }
.seba-page-hero p { font-size: 16px; color: #aaa; }
.seba-page-body { padding: 60px 0 80px; background: var(--white); }

/* Páginas de reparación */
.seba-rep-page-grid { display: grid; grid-template-columns: 1fr 300px; gap: 48px; align-items: start; }
.seba-rep-foto { position: relative; border-radius: 10px; overflow: hidden; margin-bottom: 36px; }
.seba-rep-foto img { width: 100%; max-height: 420px; object-fit: cover; display: block; }
.seba-rep-foto-tag { position: absolute; bottom: 16px; left: 16px; background: var(--orange); color: white; font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; padding: 6px 14px; border-radius: 4px; }
.seba-rep-content h2 { font-family: var(--font-cond); font-size: 30px; font-weight: 700; color: var(--dark); margin-bottom: 16px; }
.seba-rep-content h3 { font-family: var(--font-cond); font-size: 22px; font-weight: 700; color: var(--dark); margin: 28px 0 14px; }
.seba-rep-content p { color: var(--mid); line-height: 1.8; margin-bottom: 16px; }
.seba-rep-content ul { list-style: none; padding: 0; margin: 0 0 16px; display: flex; flex-direction: column; gap: 10px; }
.seba-rep-content ul li { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--mid); padding: 10px 14px; background: var(--bg-light); border-radius: 6px; border-left: 3px solid var(--orange); }
.seba-rep-content ul li::before { content: "✔"; color: var(--orange); font-weight: 700; flex-shrink: 0; }
.seba-rep-highlight { display: flex; align-items: flex-start; gap: 12px; background: var(--bg-warm); border-left: 4px solid var(--orange); padding: 16px 20px; border-radius: 0 8px 8px 0; margin: 24px 0; font-size: 15px; font-weight: 500; color: var(--dark); line-height: 1.5; }
.seba-rep-highlight svg { width: 22px; height: 22px; fill: var(--orange); flex-shrink: 0; margin-top: 1px; }

/* Contacto reparación */
.seba-contacto-rep { margin-top: 48px; padding-top: 48px; border-top: 2px solid var(--bg-light); }
.seba-contacto-rep-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; margin-top: 32px; }
.seba-contacto-rep-info { display: flex; flex-direction: column; gap: 18px; }
.seba-cri { display: flex; gap: 14px; align-items: flex-start; }
.seba-cri-icon { width: 40px; height: 40px; background: linear-gradient(135deg, var(--orange), var(--orange-light)); border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.seba-cri-icon svg { width: 18px; height: 18px; fill: white; }
.seba-cri strong { display: block; font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); margin-bottom: 3px; }
.seba-cri a, .seba-cri span { font-size: 15px; color: var(--dark); font-weight: 500; line-height: 1.4; }
.seba-cri a:hover { color: var(--orange); }
.seba-mapa-rep { height: 200px; border-radius: 8px; overflow: hidden; border: 1px solid var(--border); }
.seba-mapa-rep iframe { width: 100%; height: 100%; border: none; }

/* Sidebar reparación */
.seba-rep-sidebar { display: flex; flex-direction: column; gap: 20px; }
.seba-sidebar-card { background: var(--white); border: 1px solid var(--border); border-radius: 10px; padding: 22px; }
.seba-sidebar-card h4 { font-family: var(--font-cond); font-size: 16px; font-weight: 700; color: var(--dark); margin-bottom: 16px; padding-bottom: 10px; border-bottom: 2px solid var(--bg-light); }
.seba-sidebar-links { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.seba-sidebar-links li a { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 6px; font-size: 14px; color: var(--mid); transition: all .2s; }
.seba-sidebar-links li a:hover { background: var(--bg-warm); color: var(--orange); }
.seba-sidebar-links li a svg { width: 14px; height: 14px; fill: var(--orange); }
.seba-sidebar-cta { background: linear-gradient(135deg, var(--orange), var(--orange-light)); border: none; }
.seba-sidebar-cta p { font-size: 12px; color: rgba(255,255,255,.8); margin-bottom: 4px; }
.seba-sidebar-cta h4 { color: white; border-bottom-color: rgba(255,255,255,.2); font-size: 17px; }
.seba-sidebar-tel { display: flex; align-items: center; gap: 8px; color: white; font-family: var(--font-cond); font-size: 22px; font-weight: 700; }
.seba-sidebar-tel svg { width: 18px; height: 18px; fill: white; }
.seba-sidebar-marcas { display: flex; flex-wrap: wrap; gap: 6px; }
.seba-sidebar-marcas span { background: var(--bg-light); border: 1px solid var(--border); border-radius: 4px; padding: 4px 10px; font-size: 11px; font-weight: 600; color: var(--mid); }

/* Páginas legales */
.seba-legal-wrap { max-width: 860px; margin: 0 auto; }
.seba-legal-intro { background: var(--bg-warm); border-left: 4px solid var(--orange); border-radius: 0 8px 8px 0; padding: 16px 20px; margin-bottom: 40px; }
.seba-legal-intro strong { color: var(--dark); font-size: 14px; display: block; margin-bottom: 4px; }
.seba-legal-intro span { font-size: 13px; color: var(--mid); }
.legal-content h2 { font-family: var(--font-cond); font-size: 22px; font-weight: 700; color: var(--dark); margin: 32px 0 12px; padding-bottom: 8px; border-bottom: 2px solid var(--bg-light); }
.legal-content h3 { font-family: var(--font-cond); font-size: 18px; font-weight: 700; color: var(--dark); margin: 24px 0 10px; }
.legal-content h4 { font-size: 15px; font-weight: 700; color: var(--dark); margin: 18px 0 8px; }
.legal-content p { color: var(--mid); line-height: 1.8; margin-bottom: 14px; font-size: 15px; }
.legal-content ul, .legal-content ol { color: var(--mid); line-height: 1.8; margin: 0 0 14px 20px; font-size: 15px; }
.legal-content li { margin-bottom: 6px; }
.legal-content a { color: var(--orange); }
.legal-content strong { color: var(--dark); }
.legal-content table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 16px 0 24px; }
.legal-content th { background: var(--orange); color: white; padding: 10px 14px; text-align: left; }
.legal-content td { padding: 10px 14px; border-bottom: 1px solid var(--border); color: var(--mid); }
.legal-content tr:nth-child(even) td { background: var(--bg-light); }

/* ── FOOTER ────────────────────────────────────── */
.seba-footer { background: #111; color: #aaa; padding: 60px 0 0; }
.seba-footer-grid { max-width: var(--max); margin: 0 auto; padding: 0 24px 48px; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; border-bottom: 1px solid rgba(255,255,255,.08); }
.seba-footer-brand strong { display: block; font-family: var(--font-cond); font-size: 22px; font-weight: 700; color: white; margin-bottom: 4px; }
.seba-footer-brand span { font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: #555; }
.seba-footer-about { font-size: 14px; line-height: 1.7; margin: 14px 0 18px; }
.seba-footer-row { display: flex; align-items: center; gap: 8px; font-size: 13px; margin-bottom: 8px; }
.seba-footer-row svg { width: 13px; height: 13px; fill: var(--orange); flex-shrink: 0; }
.seba-footer-row a { color: #aaa; transition: color .2s; }
.seba-footer-row a:hover { color: #f5d800; }
.seba-footer-col h4 { font-family: var(--font-cond); font-size: 13px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: white; margin-bottom: 20px; }
.seba-footer-col ul li { margin-bottom: 10px; }
.seba-footer-col ul li a { font-size: 13px; color: #777; transition: color .2s; }
.seba-footer-col ul li a:hover { color: #f5d800; }
.seba-footer-bottom { max-width: var(--max); margin: 0 auto; padding: 20px 24px; display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: #444; flex-wrap: wrap; gap: 12px; }
.seba-footer-legal { display: flex; gap: 20px; }
.seba-footer-legal a { color: #444; transition: color .2s; }
.seba-footer-legal a:hover { color: #aaa; }

/* ── SCROLL TOP / COOKIES ──────────────────────── */
.seba-scroll-top { position: fixed; bottom: 28px; right: 24px; width: 44px; height: 44px; background: var(--orange); color: white; border: none; border-radius: 8px; cursor: pointer; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity .3s; z-index: 90; }
.seba-scroll-top.visible { opacity: 1; pointer-events: all; }
.seba-scroll-top svg { width: 20px; height: 20px; fill: white; }
.seba-cookies { position: fixed; bottom: 0; left: 0; right: 0; background: #1a1a1a; color: #ccc; padding: 16px 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px; z-index: 9999; box-shadow: 0 -4px 20px rgba(0,0,0,.2); flex-wrap: wrap; }
.seba-cookies p { font-size: 13px; flex: 1; min-width: 200px; }
.seba-cookies a { color: var(--orange-light); }
.seba-cookies-btns { display: flex; gap: 10px; }
.seba-cookie-btn { padding: 8px 18px; font-size: 12px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; border: none; border-radius: 4px; cursor: pointer; font-family: var(--font); }
.seba-cookie-ok { background: var(--orange); color: white; }
.seba-cookie-no { background: rgba(255,255,255,.1); color: #ccc; }

/* ── ANIMACIONES ───────────────────────────────── */
.fade-up { opacity: 0; transform: translateY(24px); transition: opacity .6s, transform .6s; }
.fade-up.visible { opacity: 1; transform: none; }

/* ── RESPONSIVE MÓVIL ──────────────────────────── */
@media (max-width: 900px) {
  .seba-hero-inner, .seba-pres-grid, .seba-rep-grid, .seba-contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .seba-servicios-grid { grid-template-columns: 1fr 1fr; }
  .seba-footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .seba-year-badge { left: 0; }
  .seba-header { position: relative; }
  .seba-nav > ul { display: none; }
  .seba-hamburger { display: flex; }
  .seba-nav.open > ul { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); border-top: 3px solid var(--orange); border-bottom: 2px solid var(--border); box-shadow: 0 8px 24px rgba(0,0,0,.15); z-index: 500; padding: 8px 0; margin: 0; }
  .seba-nav.open > ul > li { width: 100%; border-bottom: 1px solid var(--border); position: relative; }
  .seba-nav.open > ul > li:last-child { border-bottom: none; }
  .seba-nav.open > ul > li > a { display: block; padding: 14px 20px; font-size: 14px; font-weight: 600; color: var(--dark) !important; background: none !important; border-radius: 0; text-transform: uppercase; letter-spacing: .5px; }
  .seba-nav.open > ul > li > a:hover { color: var(--orange) !important; background: var(--bg-warm) !important; }
  .seba-nav.open > ul > li.menu-item-cta { margin: 8px 16px; border-bottom: none; border-radius: 6px; overflow: hidden; }
  .seba-nav.open > ul > li.menu-item-cta > a { background: var(--orange) !important; color: white !important; border-radius: 6px; text-align: center; }
  .seba-nav.open ul ul { display: none; position: static !important; box-shadow: none !important; border-top: none !important; border-radius: 0 !important; background: var(--bg-light) !important; padding: 4px 0 8px 0; min-width: auto !important; max-width: none !important; width: 100% !important; }
  .seba-nav.open ul li.submenu-open > ul { display: flex !important; flex-direction: column; }
  .seba-nav.open ul ul li { width: 100%; }
  .seba-nav.open ul ul li a { padding: 10px 20px 10px 32px !important; font-size: 13px !important; color: var(--mid) !important; background: transparent !important; border-bottom: 1px solid var(--border) !important; display: block !important; text-align: left !important; }
  .seba-nav.open ul ul li:last-child a { border-bottom: none !important; }
  .seba-nav.open ul ul li a:hover { color: var(--orange) !important; background: var(--bg-warm) !important; }
  .seba-hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .seba-hamburger.is-open span:nth-child(2) { opacity: 0; }
  .seba-hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .seba-rep-page-grid { grid-template-columns: 1fr; }
  .seba-contacto-rep-grid { grid-template-columns: 1fr; }
  .seba-rep-sidebar { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .wpcf7-form .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .seba-topbar .container { flex-direction: column; gap: 4px; }
  .seba-header-inner { height: 58px; }
  .seba-logo-img, .seba-logo .custom-logo { height: 34px; }
  .seba-hero-inner { padding: 36px 16px; }
  .seba-hero h1 { font-size: 28px; }
  .seba-hero-items { display: none; }
  section { padding: 44px 0; }
  .container { padding: 0 16px; }
  .seba-servicios-grid { grid-template-columns: 1fr; }
  .seba-footer-grid { grid-template-columns: 1fr; }
  .seba-footer-bottom { flex-direction: column; text-align: center; }
  .seba-rep-sidebar { grid-template-columns: 1fr; }
  .seba-footer-legal { flex-direction: column; align-items: center; gap: 8px; }
  .seba-cookies { flex-direction: column; }
  .seba-cookies-btns { width: 100%; justify-content: center; }
  .legal-content table { font-size: 12px; }
}

/* =========================================================
   WOOCOMMERCE CATÁLOGO
   ========================================================= */

/* Layout sidebar + contenido */
.seba-woo-layout { display: grid; grid-template-columns: 220px 1fr; gap: 20px; align-items: start; margin-top: 8px; }
.seba-woo-main { min-width: 0; }

/* Sidebar categorías */
.seba-cat-menu { list-style: none; display: flex; flex-direction: column; gap: 2px; }
.seba-cat-menu li a { display: flex; align-items: center; gap: 8px; padding: 9px 10px; border-radius: 6px; font-size: 13px; font-weight: 600; color: var(--mid); transition: all .2s; text-decoration: none; }
.seba-cat-menu li a svg { width: 15px; height: 15px; fill: var(--muted); flex-shrink: 0; }
.seba-cat-menu li a:hover, .seba-cat-menu li.active a { background: var(--bg-warm); color: var(--orange); }
.seba-cat-menu li a:hover svg, .seba-cat-menu li.active a svg { fill: var(--orange); }
.seba-cat-count { margin-left: auto; background: var(--bg-light); border: 1px solid var(--border); border-radius: 10px; padding: 1px 7px; font-size: 11px; font-weight: 600; color: var(--muted); }
.seba-cat-menu li.active .seba-cat-count { background: var(--orange); color: white; border-color: var(--orange); }

/* Topbar */
.seba-woo-topbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--border); flex-wrap: wrap; gap: 8px; }
.seba-woo-count p { margin: 0; font-size: 12px; color: var(--muted); }
.woocommerce-ordering select { padding: 6px 10px; border: 1px solid var(--border); border-radius: 6px; font-family: var(--font); font-size: 12px; color: var(--dark); background: var(--white); outline: none; cursor: pointer; }

/* ── GRID: 2 columnas, gap mínimo ── */
ul.products { 
    list-style: none !important;
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* ── TARJETA: horizontal imagen izq + info der ── */
li.seba-prod-item {
    display: flex !important;
    flex-direction: row !important;
    background: var(--white) !important;
    border: 1px solid var(--border) !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    transition: box-shadow .2s, border-color .2s !important;
    height: 140px !important;
}
li.seba-prod-item:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,.1) !important;
    border-color: var(--orange) !important;
}

/* Imagen izquierda */
.seba-prod-img-wrap {
    display: block !important;
    width: 120px !important;
    min-width: 120px !important;
    height: 140px !important;
    overflow: hidden !important;
    flex-shrink: 0 !important;
    background: var(--bg-light) !important;
}
.seba-prod-img-wrap img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}
.seba-prod-placeholder {
    width: 120px !important;
    min-width: 120px !important;
    height: 140px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: var(--bg-light) !important;
    flex-shrink: 0 !important;
}
.seba-prod-placeholder svg { width: 32px; height: 32px; fill: #ccc; }

/* Info derecha */
.seba-prod-info {
    display: flex !important;
    flex-direction: column !important;
    padding: 10px 12px !important;
    flex: 1 !important;
    min-width: 0 !important;
    gap: 3px !important;
    justify-content: center !important;
}
.seba-prod-cat-label {
    font-size: 9px !important;
    font-weight: 700 !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    color: var(--orange) !important;
    display: block !important;
}
.seba-prod-title {
    font-family: var(--font-cond) !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    margin: 0 !important;
    overflow: hidden !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
}
.seba-prod-title a { color: var(--dark) !important; text-decoration: none !important; }
.seba-prod-title a:hover { color: var(--orange) !important; }
.seba-prod-desc {
    font-size: 11px !important;
    color: var(--muted) !important;
    line-height: 1.4 !important;
    margin: 0 !important;
    overflow: hidden !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
}
.seba-prod-price {
    font-size: 10px !important;
    color: var(--muted) !important;
    font-style: italic !important;
    display: block !important;
}
.seba-prod-btn-small {
    display: inline-block !important;
    background: var(--orange) !important;
    color: white !important;
    padding: 5px 10px !important;
    border-radius: 4px !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: .5px !important;
    text-decoration: none !important;
    transition: background .2s !important;
    width: fit-content !important;
    margin-top: 2px !important;
}
.seba-prod-btn-small:hover { background: var(--orange-dark) !important; color: white !important; }

/* Botón en página individual */
.seba-woo-btn-lg { 
    display: inline-flex !important; 
    align-items: center !important;
    gap: 8px !important;
    background: var(--orange) !important;
    color: white !important;
    padding: 13px 24px !important; 
    font-size: 13px !important; 
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: .8px !important;
    margin: 16px 0 0 !important; 
    border-radius: 6px !important;
    text-decoration: none !important;
    transition: background .2s !important;
}
.seba-woo-btn-lg:hover { background: var(--orange-dark) !important; color: white !important; }
.seba-woo-btn-lg svg { width: 16px; height: 16px; fill: white; }

/* Paginación */
.woocommerce-pagination { margin-top: 20px; text-align: center; }
.woocommerce-pagination ul { list-style: none; display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; }
.woocommerce-pagination ul li a, .woocommerce-pagination ul li span { display: block; padding: 7px 12px; border: 1px solid var(--border); border-radius: 6px; font-size: 13px; font-weight: 600; color: var(--mid); transition: all .2s; }
.woocommerce-pagination ul li a:hover, .woocommerce-pagination ul li span.current { background: var(--orange); color: white; border-color: var(--orange); }

/* Producto individual */
.seba-single-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.seba-single-info .product_title { font-family: var(--font-cond); font-size: 28px; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.seba-single-info .woocommerce-product-details__short-description { font-size: 15px; color: var(--mid); line-height: 1.75; margin-bottom: 16px; }
.seba-single-info .seba-precio-consultar { display: inline-block; background: var(--bg-warm); border: 1px solid #f0d9b5; color: var(--orange-dark); font-size: 14px; font-weight: 600; padding: 6px 14px; border-radius: 4px; margin-bottom: 16px; }
.woocommerce-tabs { margin-top: 40px; padding-top: 32px; border-top: 2px solid var(--bg-light); }
.woocommerce-tabs ul.tabs { list-style: none; display: flex; gap: 4px; border-bottom: 2px solid var(--border); margin-bottom: 24px; }
.woocommerce-tabs ul.tabs li a { display: block; padding: 9px 16px; font-size: 13px; font-weight: 700; color: var(--muted); border-radius: 6px 6px 0 0; text-decoration: none; }
.woocommerce-tabs ul.tabs li.active a { background: var(--orange); color: white; }
.woocommerce-tabs .panel { font-size: 15px; color: var(--mid); line-height: 1.75; }
.woocommerce-info { padding: 12px 16px; border-radius: 6px; margin-bottom: 16px; font-size: 14px; background: var(--bg-warm); color: var(--dark); border-left: 4px solid var(--orange); }
.woocommerce-breadcrumb { font-size: 13px; color: #999; }
.woocommerce-breadcrumb a { color: #bbb; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
    .seba-woo-layout { grid-template-columns: 1fr; }
    .seba-woo-sidebar { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
    ul.products { grid-template-columns: repeat(2, 1fr) !important; }
    .seba-single-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .seba-woo-sidebar { grid-template-columns: 1fr; }
    ul.products { grid-template-columns: 1fr !important; }
    li.seba-prod-item { height: auto !important; min-height: 110px !important; }
    .seba-prod-img-wrap { width: 100px !important; min-width: 100px !important; height: auto !important; min-height: 110px !important; }
    .seba-prod-placeholder { width: 100px !important; min-width: 100px !important; }
}
    .seba-prod-no-img { width: 100px !important; min-width: 100px !important; }
}
