/* ============================================================
   Papelería Escolar SLP — style.css
   Fredoka (headings) + Nunito (body) · Amarillo #FFC107 · Azul #1976D2
   ============================================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@400;500;600;700&family=Nunito:ital,wght@0,400;0,600;0,700;1,400&display=swap');

/* ---------- Custom Properties ---------- */
:root {
  --yellow: #FFC107;
  --yellow-light: #FFF3CD;
  --yellow-dark: #E5A800;
  --blue: #1976D2;
  --blue-light: #BBDEFB;
  --blue-dark: #0D47A1;
  --white-paper: #FAFAFA;
  --bg: #FFFEF5;
  --text: #2E2E2E;
  --text-light: #5A5A5A;
  --red-margin: #E53935;
  --green-ok: #43A047;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 4px 16px rgba(0,0,0,.08);
  --shadow-sm: 0 2px 8px rgba(0,0,0,.06);
  --container: 1120px;
  --font-heading: 'Fredoka', sans-serif;
  --font-body: 'Nunito', sans-serif;
  --transition: .25s ease;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--blue-dark); }
button { font-family: inherit; cursor: pointer; }
ul, ol { list-style: none; }

/* ---------- Container ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.25;
  color: var(--text);
}
h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 4vw, 2.25rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.5rem); }
p + p { margin-top: 1em; }

/* ---------- Utility ---------- */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); border: 0;
}
.section-title {
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
}
.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--yellow);
  border-radius: 2px;
  margin: .5rem auto 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border: none;
  border-radius: var(--radius);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  text-align: center;
  transition: all var(--transition);
  cursor: pointer;
  text-decoration: none;
}
.btn-primary {
  background: var(--yellow);
  color: var(--text);
  box-shadow: 0 4px 12px rgba(255,193,7,.35);
}
.btn-primary:hover {
  background: var(--yellow-dark);
  color: var(--text);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255,193,7,.45);
}
.btn-secondary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 4px 12px rgba(25,118,210,.3);
}
.btn-secondary:hover {
  background: var(--blue-dark);
  color: #fff;
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  border: 2px solid var(--blue);
  color: var(--blue);
}
.btn-outline:hover {
  background: var(--blue);
  color: #fff;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  background: var(--white-paper);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 100;
}

/* Logo block */
.header-logo-area {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 18px 20px 8px;
}
.header-logo-area a { display: flex; align-items: center; gap: 10px; }
.header-logo-area img {
  height: 64px;
  width: auto;
}
.header-logo-area .brand-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--blue);
}
.header-logo-area .brand-name span {
  color: var(--yellow-dark);
}

/* Nav bar */
.main-nav {
  background: var(--blue);
  position: relative;
}
.main-nav .container {
  display: flex;
  justify-content: center;
  align-items: center;
}
.nav-links {
  display: flex;
  gap: 0;
}
.nav-links a {
  display: block;
  padding: 12px 18px;
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: .95rem;
  transition: background var(--transition), color var(--transition);
  border-radius: 0;
}
.nav-links a:hover,
.nav-links a.active {
  background: rgba(255,255,255,.15);
  color: var(--yellow);
}

/* Hamburger */
.hamburger {
  display: none;
  background: none;
  border: none;
  padding: 10px;
  cursor: pointer;
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
}
.hamburger span {
  display: block;
  width: 26px;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  transition: all .3s;
}
.hamburger span + span { margin-top: 5px; }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,6px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-6px); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  background: linear-gradient(135deg, var(--yellow) 0%, var(--blue) 100%);
  color: #fff;
  padding: 60px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '✏️';
  position: absolute;
  font-size: 120px;
  opacity: .12;
  top: -10px;
  left: 5%;
  transform: rotate(-20deg);
  pointer-events: none;
}
.hero::after {
  content: '🎒';
  position: absolute;
  font-size: 100px;
  opacity: .1;
  bottom: -10px;
  right: 8%;
  transform: rotate(15deg);
  pointer-events: none;
}
.hero h1 {
  color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,.18);
  margin-bottom: .5rem;
}
.hero .hero-sub {
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto 1.5rem;
  opacity: .95;
}
.hero .hero-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero .btn-primary { background: #fff; color: var(--blue); }
.hero .btn-primary:hover { background: var(--yellow-light); color: var(--blue-dark); }

/* Pencil decorative line */
.hero-pencil-line {
  width: 200px;
  height: 4px;
  background: rgba(255,255,255,.5);
  border-radius: 2px;
  margin: 0 auto 1.5rem;
  position: relative;
}
.hero-pencil-line::after {
  content: '';
  position: absolute;
  right: -16px;
  top: -6px;
  width: 0; height: 0;
  border-left: 16px solid rgba(255,255,255,.5);
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
}

/* ============================================================
   SECTIONS
   ============================================================ */
section { padding: 50px 0; }
section:nth-child(even) { background: var(--white-paper); }

/* ---------- Product Cards ---------- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}
.product-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.product-card .card-img {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  color: #fff;
  font-weight: 600;
  text-align: center;
  padding: 16px;
  text-shadow: 0 1px 4px rgba(0,0,0,.3);
}
.product-card .card-body {
  padding: 16px;
}
.product-card .card-body h3 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}
.product-card .card-price {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--blue);
}
.product-card .card-body p {
  font-size: .9rem;
  color: var(--text-light);
  margin-top: 4px;
}

/* ---------- Features Strip ---------- */
.features-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  text-align: center;
  padding: 40px 0;
}
.feature-item {
  padding: 20px;
}
.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--yellow-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  font-size: 1.5rem;
}
.feature-item h3 {
  font-size: 1rem;
  margin-bottom: 4px;
}
.feature-item p {
  font-size: .88rem;
  color: var(--text-light);
}

/* ---------- Blog Cards ---------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.blog-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform var(--transition);
}
.blog-card:hover { transform: translateY(-3px); }
.blog-card .card-img {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 600;
  text-align: center;
  padding: 16px;
  text-shadow: 0 1px 4px rgba(0,0,0,.3);
}
.blog-card .card-body {
  padding: 20px;
}
.blog-card .card-date {
  font-size: .8rem;
  color: var(--text-light);
}
.blog-card .card-body h3 {
  font-size: 1.1rem;
  margin: 6px 0;
}
.blog-card .card-body p {
  font-size: .9rem;
  color: var(--text-light);
}

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}
.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  position: relative;
}
.gallery-item .img-placeholder {
  height: 200px;
  transition: transform var(--transition);
}
.gallery-item:hover .img-placeholder {
  transform: scale(1.05);
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.85);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.lightbox.active { display: flex; }
.lightbox-content {
  max-width: 720px;
  width: 100%;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
}
.lightbox-content .img-placeholder {
  height: 400px;
}
.lightbox-caption {
  padding: 16px;
  text-align: center;
  font-size: .95rem;
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
}
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,.2);
  border: none;
  color: #fff;
  font-size: 2rem;
  padding: 10px 16px;
  cursor: pointer;
  border-radius: var(--radius-sm);
}
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

/* ---------- Image Placeholders ---------- */
.img-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--yellow), var(--blue));
  color: #fff;
  font-size: .9rem;
  font-weight: 600;
  text-align: center;
  padding: 16px;
  text-shadow: 0 1px 4px rgba(0,0,0,.25);
  min-height: 180px;
}

/* ---------- Contact Form ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.form-group {
  margin-bottom: 18px;
}
.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  font-size: .9rem;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #E0E0E0;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: .95rem;
  transition: border-color var(--transition);
  background: #fff;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group .error-msg {
  color: var(--red-margin);
  font-size: .82rem;
  margin-top: 4px;
  display: none;
}
.form-group.has-error input,
.form-group.has-error textarea { border-color: var(--red-margin); }
.form-group.has-error .error-msg { display: block; }

.contact-info-block { margin-bottom: 20px; }
.contact-info-block h3 { margin-bottom: 8px; }
.contact-info-block p { font-size: .95rem; color: var(--text-light); }
.contact-info-block a { color: var(--blue); }

.form-privacy-notice {
  font-size: .82rem;
  color: var(--text-light);
  margin-top: 12px;
}

/* ---------- FAQ ---------- */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid #E0E0E0;
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 18px 0;
  text-align: left;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-question::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--blue);
  transition: transform .3s;
  flex-shrink: 0;
}
.faq-item.open .faq-question::after {
  content: '−';
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
  padding: 0 0;
}
.faq-item.open .faq-answer {
  max-height: 500px;
  padding: 0 0 18px;
}
.faq-answer p {
  font-size: .95rem;
  color: var(--text-light);
}

/* ---------- Search / Filter ---------- */
.search-bar {
  display: flex;
  gap: 12px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}
.search-bar input {
  flex: 1;
  min-width: 200px;
  padding: 12px 16px;
  border: 2px solid #E0E0E0;
  border-radius: var(--radius);
  font-size: .95rem;
  font-family: var(--font-body);
}
.search-bar input:focus { outline: none; border-color: var(--blue); }
.search-bar select {
  padding: 12px 16px;
  border: 2px solid #E0E0E0;
  border-radius: var(--radius);
  font-size: .95rem;
  font-family: var(--font-body);
  background: #fff;
}

/* ---------- Article / Blog Post ---------- */
.article-header {
  text-align: center;
  padding: 40px 0 20px;
}
.article-header .article-date {
  font-size: .88rem;
  color: var(--text-light);
}
.article-content {
  max-width: 760px;
  margin: 0 auto;
  padding-bottom: 40px;
}
.article-content p {
  margin-bottom: 1em;
}
.article-content h2 {
  margin: 2rem 0 1rem;
}
.article-content ul,
.article-content ol {
  margin: 1em 0;
  padding-left: 24px;
  list-style: disc;
}
.article-content li {
  margin-bottom: .4em;
  font-size: .95rem;
  color: var(--text-light);
}
.article-content ol { list-style: decimal; }

/* ---------- Legal Pages ---------- */
.legal-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 40px 0;
}
.legal-content h1 { margin-bottom: 1rem; }
.legal-content h2 { margin: 2rem 0 .75rem; font-size: 1.3rem; }
.legal-content h3 { margin: 1.5rem 0 .5rem; font-size: 1.1rem; }
.legal-content p { margin-bottom: .8em; font-size: .95rem; color: var(--text-light); }
.legal-content ul { margin: .5em 0 1em; padding-left: 24px; list-style: disc; }
.legal-content li { margin-bottom: .3em; font-size: .95rem; color: var(--text-light); }
.legal-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1em 0;
  font-size: .9rem;
}
.legal-content th, .legal-content td {
  padding: 10px 12px;
  border: 1px solid #E0E0E0;
  text-align: left;
}
.legal-content th { background: var(--blue-light); font-weight: 600; }

/* ---------- 404 Page ---------- */
.page-404 {
  text-align: center;
  padding: 80px 20px;
}
.page-404 .big-pencil {
  font-size: 6rem;
  margin-bottom: 20px;
}
.page-404 h1 { margin-bottom: 12px; }
.page-404 p { font-size: 1.1rem; color: var(--text-light); margin-bottom: 24px; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--blue-dark);
  color: #fff;
  padding: 50px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 30px;
}
.footer-col h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  color: var(--yellow);
  margin-bottom: 14px;
}
.footer-col p, .footer-col a, .footer-col li {
  font-size: .88rem;
  color: rgba(255,255,255,.8);
  line-height: 1.6;
}
.footer-col a:hover { color: var(--yellow); }
.footer-col ul li + li { margin-top: 6px; }

.footer-social {
  display: flex;
  gap: 14px;
  margin-top: 14px;
}
.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}
.footer-social a:hover { background: var(--yellow); }
.footer-social svg { width: 18px; height: 18px; fill: #fff; }
.footer-social a:hover svg { fill: var(--blue-dark); }

.footer-bottom {
  margin-top: 30px;
  padding: 18px 0;
  border-top: 1px solid rgba(255,255,255,.15);
  text-align: center;
  font-size: .82rem;
  color: rgba(255,255,255,.6);
}

/* ============================================================
   FLOATING BUTTONS
   ============================================================ */
.floating-buttons {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 90;
}
.float-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0,0,0,.2);
  transition: transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
}
.float-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0,0,0,.28);
}
.float-btn svg { width: 28px; height: 28px; }
.float-whatsapp { background: #25D366; }
.float-whatsapp svg { fill: #fff; }
.float-call { background: var(--blue); }
.float-call svg { fill: #fff; }

/* ============================================================
   COOKIE BANNER
   ============================================================ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--blue-dark);
  color: #fff;
  padding: 16px 20px;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: .88rem;
}
.cookie-banner.show { display: flex; }
.cookie-banner p { flex: 1; min-width: 240px; }
.cookie-banner a { color: var(--yellow); text-decoration: underline; }
.cookie-buttons {
  display: flex;
  gap: 10px;
}
.cookie-buttons button {
  padding: 8px 20px;
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: .88rem;
  cursor: pointer;
  transition: background var(--transition);
}
.cookie-accept {
  background: var(--yellow);
  color: var(--text);
}
.cookie-accept:hover { background: var(--yellow-dark); }
.cookie-reject {
  background: transparent;
  border: 1px solid rgba(255,255,255,.5);
  color: #fff;
}
.cookie-reject:hover { background: rgba(255,255,255,.1); }

/* ============================================================
   CHATBOT
   ============================================================ */
.chatbot-toggle {
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--yellow);
  border: none;
  box-shadow: 0 4px 14px rgba(255,193,7,.4);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 91;
  transition: transform var(--transition);
  cursor: pointer;
}
.chatbot-toggle:hover { transform: scale(1.1); }
.chatbot-toggle svg { width: 28px; height: 28px; fill: var(--blue-dark); }

.chatbot-window {
  position: fixed;
  bottom: 90px;
  left: 24px;
  width: 360px;
  max-height: 500px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 8px 32px rgba(0,0,0,.18);
  display: none;
  flex-direction: column;
  z-index: 91;
  overflow: hidden;
}
.chatbot-window.open { display: flex; }

.chatbot-header {
  background: var(--blue);
  color: #fff;
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.chatbot-header h4 { font-size: .95rem; font-weight: 600; }
.chatbot-header-actions { display: flex; gap: 8px; }
.chatbot-header button {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  padding: 2px 4px;
}

.chatbot-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  max-height: 320px;
}
.chat-msg {
  margin-bottom: 12px;
  display: flex;
}
.chat-msg.bot { justify-content: flex-start; }
.chat-msg.user { justify-content: flex-end; }
.chat-bubble {
  max-width: 80%;
  padding: 10px 14px;
  border-radius: var(--radius);
  font-size: .88rem;
  line-height: 1.5;
}
.chat-msg.bot .chat-bubble {
  background: var(--blue-light);
  color: var(--text);
  border-bottom-left-radius: 4px;
}
.chat-msg.user .chat-bubble {
  background: var(--yellow);
  color: var(--text);
  border-bottom-right-radius: 4px;
}

.chat-quick-replies {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0 16px 12px;
}
.chat-quick-btn {
  padding: 6px 14px;
  border: 1px solid var(--blue);
  border-radius: 20px;
  background: #fff;
  color: var(--blue);
  font-size: .8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}
.chat-quick-btn:hover {
  background: var(--blue);
  color: #fff;
}

.chatbot-input {
  display: flex;
  border-top: 1px solid #E0E0E0;
}
.chatbot-input input {
  flex: 1;
  border: none;
  padding: 12px 14px;
  font-size: .88rem;
  font-family: var(--font-body);
}
.chatbot-input input:focus { outline: none; }
.chatbot-input button {
  background: var(--blue);
  border: none;
  color: #fff;
  padding: 12px 16px;
  cursor: pointer;
  font-weight: 600;
}
.chatbot-input button:hover { background: var(--blue-dark); }

/* ============================================================
   BREADCRUMBS
   ============================================================ */
.breadcrumbs {
  padding: 12px 0;
  font-size: .85rem;
  color: var(--text-light);
}
.breadcrumbs a { color: var(--blue); }
.breadcrumbs span { margin: 0 6px; }

/* ============================================================
   QUOTER / LIST BUILDER
   ============================================================ */
.quote-list {
  background: #fff;
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  margin-top: 30px;
}
.quote-list h3 { margin-bottom: 12px; }
.quote-list-items { margin-bottom: 16px; }
.quote-list-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid #f0f0f0;
  font-size: .92rem;
}
.quote-list-item .remove-item {
  background: none;
  border: none;
  color: var(--red-margin);
  cursor: pointer;
  font-size: 1.1rem;
}
.quote-total {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--blue);
  text-align: right;
  margin-bottom: 12px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hamburger { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--blue-dark);
    flex-direction: column;
    box-shadow: 0 8px 24px rgba(0,0,0,.2);
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    padding: 14px 20px;
    border-bottom: 1px solid rgba(255,255,255,.08);
  }

  .header-logo-area img { height: 44px; }
  .header-logo-area .brand-name { font-size: 1.2rem; }

  .hero { padding: 40px 0; }
  .hero::before { font-size: 80px; }
  .hero::after { font-size: 60px; }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-social { justify-content: center; }

  .chatbot-window {
    left: 10px;
    right: 10px;
    width: auto;
    bottom: 84px;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  }
}

@media (max-width: 480px) {
  .products-grid {
    grid-template-columns: 1fr;
  }
  .blog-grid {
    grid-template-columns: 1fr;
  }
  .hero .hero-cta {
    flex-direction: column;
    align-items: center;
  }
  .search-bar { flex-direction: column; }
  .search-bar input, .search-bar select { width: 100%; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ---------- Cookie settings link (footer) ---------- */
.cookie-settings-link {
  cursor: pointer;
  color: rgba(255,255,255,.8);
  text-decoration: underline;
  background: none;
  border: none;
  font-size: .88rem;
  font-family: var(--font-body);
  padding: 0;
}
.cookie-settings-link:hover { color: var(--yellow); }

/* ---------- Notebook line effect for hero ---------- */
.notebook-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .06;
  background: repeating-linear-gradient(
    transparent, transparent 28px,
    #1976D2 28px, #1976D2 29px
  );
}

/* ---------- Info banner strip ---------- */
.info-strip {
  background: var(--yellow);
  color: var(--text);
  text-align: center;
  padding: 10px 20px;
  font-size: .88rem;
  font-weight: 600;
}
.info-strip a { color: var(--blue-dark); text-decoration: underline; }

/* ---------- Pricing table ---------- */
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
}
.pricing-table th {
  background: var(--blue);
  color: #fff;
  padding: 12px 16px;
  text-align: left;
  font-family: var(--font-heading);
  font-weight: 600;
}
.pricing-table td {
  padding: 12px 16px;
  border-bottom: 1px solid #E0E0E0;
}
.pricing-table tr:nth-child(even) { background: var(--yellow-light); }
.pricing-table .price-cell {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--blue);
  font-size: 1.1rem;
}

/* ---------- Map placeholder ---------- */
.map-container {
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 20px;
}
.map-container iframe {
  width: 100%;
  height: 300px;
  border: 0;
}

/* Add to list button */
.btn-add-list {
  font-size: .82rem;
  padding: 6px 14px;
  margin-top: 8px;
}

/* Page header inner */
.page-header {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  color: #fff;
  padding: 40px 0;
  text-align: center;
}
.page-header h1 { color: #fff; margin-bottom: 8px; }
.page-header p { color: rgba(255,255,255,.85); font-size: 1.05rem; }

/* Envios / pagos / devoluciones info cards */
.info-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 30px;
}
.info-card {
  background: #fff;
  padding: 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.info-card h3 {
  color: var(--blue);
  margin-bottom: 8px;
}
.info-card p {
  font-size: .92rem;
  color: var(--text-light);
}
