/* Identidad tomada de los estilos de ferropartes.com.co/pereira/.
   Rojo de cabecera/pie: #bb0e0e. Botones: #d10000.
   Azul de títulos: #1f3374. Acento secundario: #f1a602. */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap');

:root {
  --brand-red: #bb0e0e;
  --brand-action: #d10000;
  --brand-blue: #1f3374;
  --brand-gold: #f1a602;
  --brand-soft: #fff3f3;
  --black: #222529;
  --paper: #f7f7f7;
  --line: #e7e7e7;
  --muted: #606060;
}
body { font-family: Poppins, Arial, sans-serif; }
h1, h2, .benefits b { font-family: Poppins, Arial, sans-serif; }
h2 { color: var(--brand-blue); letter-spacing: -1px; }
.topbar { background: var(--brand-blue); }
.topbar span:last-child { color: #fff; }
header { background: var(--brand-red); color: #fff; }
.header-main { gap: 35px; padding: 22px 0; }
.logo { flex-direction: column; align-items: flex-start; gap: 5px; flex-shrink: 0; }
.logo img { width: 260px; height: auto; object-fit: contain; }
.logo-location { font-size: 9px; font-weight: 500; letter-spacing: 2.3px; padding-left: 5px; }
.search { background: #fff; border-color: #fff; }
.search-wrapper { flex: 1; min-width: 0; position: relative; }
.search button { display: grid; place-items: center; flex-shrink: 0; }
.search-feedback { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 15; text-align: left; background: white; border: 1px solid #ddd; box-shadow: 0 8px 25px #0002; padding: 15px; border-radius: 5px; color: var(--brand-blue); font-size: 12px; }
.catalog-search-row { display: flex; gap: 20px; align-items: end; }
.catalog-search { flex: 1; }
.catalog-search, .mode-select { display: flex; flex-direction: column; gap: 9px; font-size: 12px; font-weight: 600; color: var(--brand-blue); }
.catalog-search input, .mode-select select { width: 100%; min-height: 48px; padding: 12px 15px; border: 1px solid #d9dfe9; border-radius: 5px; background: #f8f9fc; color: var(--black); font: inherit; font-weight: 400; }
.mode-select { min-width: 185px; }
.catalog-note { color: var(--muted); font-size: 11px; line-height: 1.7; margin: 16px 0 23px; }
.catalog-controls { flex-wrap: wrap; }
.reset-filters { border: 0; color: var(--brand-red); background: #fff0f0; border-radius: 4px; padding: 10px 12px; font-size: 11px; }
.product-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; }
.product-info { flex: 1; display: flex; flex-direction: column; }
.product-info p { line-height: 1.7; }
.product-info .price-note { margin-top: auto; padding-top: 12px; }
.product-actions { display: grid; gap: 8px; }
.rental-button { background: #eef2fb; color: var(--brand-blue); border-color: #c7d3ed; }
.rental-button:hover { background: var(--brand-blue); border-color: var(--brand-blue); }
.illustrative-label { position: absolute; bottom: 3px; right: 6px; background: #fffffff0; color: #616873; font-size: 8px; padding: 3px 5px; }
.category-grid { grid-template-columns: repeat(4, 1fr); }
.search input { color: var(--black); }
.search button { background: var(--brand-blue); color: #fff; }
.header-contact small { color: #ffe4e4; }
.header-contact strong { color: #fff; }
.navigation { border-color: #ffffff30; gap: 26px; }
.navigation .nav-categories { background: #950909; }
.navigation a:hover { color: #fff0cd; }
.hero { background: #111b3d; }
.hero-photo {
  inset: 0;
  background: linear-gradient(90deg, #111b3d 0%, #111b3df2 28%, #111b3d80 64%, #111b3d20), url('../img/banner/taller.jpg') center / cover;
}
.hero-content { padding-top: 68px; padding-bottom: 27px; }
.eyebrow { color: var(--brand-gold); }
.hero h1 { font-size: clamp(38px, 4.2vw, 60px); line-height: 1.16; font-weight: 700; letter-spacing: -2px; }
.hero h1 em { color: #fff; }
.hero h1 em::after { content: ''; display: block; height: 5px; width: 76px; background: var(--brand-action); margin-top: 25px; }
.hero p { max-width: 475px; font-size: 14px; color: #e3e6ee; }
.hero-actions { margin-bottom: 45px; }
.hero-link { border-color: #ffffff70; }
.hero-foot { color: #d0d6e7; }
.primary { background: var(--brand-action); color: #fff; }
.primary:hover { background: #a80000; }
.black { background: var(--brand-blue); }
.black:hover { background: #152553; }
.button { font-size: 12px; }
.benefits b { color: var(--brand-red); font-size: 26px; font-weight: 600; }
.benefits strong { color: var(--brand-blue); font-size: 13px; }
.dark { color: var(--brand-red); }
.section-heading h2 { font-size: 30px; line-height: 1.25; }
.text-link { color: var(--brand-red); }
.category-card { border-top: 3px solid var(--brand-red); }
.category-card h3 { color: var(--brand-blue); font-size: 15px; }
.category-card:hover { background: var(--brand-soft); border-color: var(--brand-red); }
.category-symbol { color: var(--brand-red); background: #fbe7e7; }
.category-arrow { color: var(--brand-red); }
.filters button[aria-pressed=true] { background: var(--brand-blue); border-color: var(--brand-blue); }
.product-image { background: #fff; overflow: hidden; min-width: 0; flex-shrink: 0; isolation: isolate; }
.product-image img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; max-width: 100%; max-height: 100%; min-width: 0; padding: 32px 14px 20px; object-fit: contain; object-position: center; }
.product-reference { z-index: 1; background: #f2f4f8; padding: 4px 6px; border-radius: 3px; }
.photo-placeholder { color: #767d8e; }
.product-info h3 { color: var(--brand-blue); font-size: 15px; }
.product-category { color: var(--brand-red); }
.quote-button { color: var(--brand-red); border-color: #ebc2c2; background: #fff7f7; font-size: 11px; }
.quote-button:hover { color: white; background: var(--brand-action); border-color: var(--brand-action); }
.advice h2 { font-size: 34px; line-height: 1.25; }
.advice-note { background: var(--brand-blue); color: #fff; border-top: 5px solid var(--brand-red); }
.advice-note > span { color: #fff; }
.advice-note li { border-color: #ffffff30; font-size: 15px; }
.contact-section { background: var(--brand-red); padding-bottom: 50px; }
.contact-section .eyebrow { color: #ffe2e2; }
.contact-section h2 { color: #fff; font-size: 36px; line-height: 1.2; }
.contact-section p { color: #ffe6e6; margin-top: 10px; }
.contact-section .primary { color: var(--brand-red); background: #fff; }
.contact-section .primary:hover { background: #ffe9e9; }
footer { display: block; padding: 0; background: var(--brand-red); color: #fff; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 25px; padding-top: 30px; padding-bottom: 90px; border-top: 1px solid #ffffff35; }
.footer-brand img { display: block; width: 220px; height: auto; }
.footer-brand span { font-size: 8px; letter-spacing: 2px; font-weight: 500; margin-top: 10px; }
footer p, .footer-inner > a:last-child { color: #ffe6e6; font-size: 11px; }
.floating-whatsapp { background: var(--green); }
dialog blockquote { border-color: var(--brand-red); background: var(--brand-soft); }
.catalog-pagination { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 30px; font-size: 13px; color: var(--brand-blue); }
.catalog-pagination[hidden] { display: none; }
.catalog-pagination button { min-height: 44px; padding: 10px 14px; border: 1px solid #ebc2c2; border-radius: 5px; background: #fff7f7; color: var(--brand-red); }
.catalog-pagination button:hover:not(:disabled) { color: #fff; background: var(--brand-red); }
.catalog-pagination button:disabled { opacity: .4; cursor: default; }
@media (max-width: 1050px) {
  .header-main { gap: 25px; }
  .navigation { gap: 20px; }
  .hero-photo { left: 0; }
}
@media (max-width: 760px) {
  .search-wrapper { flex-basis: 100%; order: 3; }
  .catalog-search-row { flex-direction: column; align-items: stretch; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .product-image { height: 170px; }
  .header-main { gap: 17px; padding: 18px 0; }
  .logo img { width: 225px; }
  .logo-location { font-size: 8px; }
  .menu-toggle { background: #ffffff12; color: #fff; border-color: #ffffff50; }
  .hero-photo { opacity: 1; background: linear-gradient(90deg, #111b3df5, #111b3db8), url('../img/banner/taller.jpg') center / cover; }
  .hero-content { padding-top: 43px; }
  .hero h1 { font-size: clamp(30px, 7.6vw, 48px); line-height: 1.2; letter-spacing: -1.2px; }
  .hero p { font-size: 13px; }
  .hero .eyebrow { font-size: 8px; letter-spacing: 1px; }
  .section-heading h2, .advice h2 { font-size: 27px; }
  .category-card h3 { font-size: 14px; }
  .product-info h3 { font-size: 13px; }
  .quote-button { font-size: 10px; }
  .contact-section h2 { font-size: 29px; }
  .footer-inner { flex-wrap: wrap; gap: 22px; }
  .footer-inner p { width: 100%; order: 3; }
}
