/* Product detail pages use the existing Acosta design and native blocks. */
.ac-product-page-hero h1 { max-width: 21ch; font-size: clamp(38px, 4.5vw, 66px); overflow-wrap: anywhere; }
.ac-product-detail { max-width: 1180px; }
.ac-product-detail h3 { margin-top: 2.2rem; }
.ac-product-detail h4 { margin-top: 1.8rem; font-size: 1.25rem; }
.ac-product-detail p, .ac-product-detail ul { max-width: 78ch; }
.ac-product-specs { margin: 1.4rem 0 2rem; overflow-x: auto; border: 1px solid #c6d5e1; border-radius: 8px; }
.ac-product-specs table { width: 100%; border-collapse: collapse; color: #163e4b; }
.ac-product-specs th, .ac-product-specs td { padding: .8rem 1rem; vertical-align: top; text-align: left; border: 0; border-bottom: 1px solid #dbe5ed; }
.ac-product-specs th { background: #e5eef7; font-weight: 600; }
.ac-product-specs tbody th { width: 38%; }
.ac-product-comparison table { min-width: 500px; }
.ac-product-card-caption { font-size: .9rem; color: #455e68; }
.ac-product-specs tr:last-child th, .ac-product-specs tr:last-child td { border-bottom: 0; }
.ac-product-note { font-size: .95rem; color: #455e68; }
.ac-product-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 1.5rem; }
.ac-product-gallery > h2 { grid-column: 1 / -1; }
.ac-product-gallery .wp-block-image { margin: 0; }
.ac-product-gallery img { display: block; width: 100%; height: 360px; object-fit: contain; }
.ac-product-card-link { position: relative; }
.ac-product-card-link h3 a::after, .ac-product-card-link h4 a::after { content: ''; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.ac-product-card-link p a, .ac-product-card-link .wp-block-button__link { position: relative; z-index: 2; }
.ac-product-card-link:focus-within { outline: 2px solid #00598c; outline-offset: 5px; }
.editor-styles-wrapper .ac-product-card-link h3 a::after, .editor-styles-wrapper .ac-product-card-link h4 a::after { display: none; }
@media (max-width: 640px) {
  .ac-product-specs th, .ac-product-specs td { padding: .65rem .7rem; font-size: .95rem; overflow-wrap: anywhere; }
  .ac-product-gallery img { height: 290px; }
}

/* Scooter opening photos: preserve the user and the complete vehicle. */
.ac-scooter-hero .ac-hero-photo {aspect-ratio:1/1;min-height:0;max-height:none;background:#fff;}
.ac-scooter-hero .ac-hero-photo img {object-fit:contain;object-position:50% 50%;padding:0;}
.ac-scooter-hero .ac-hero-photo img[style*="object-fit:cover"] {object-fit:cover;}

/* Handbike user portraits: preserve the complete scene and the aid. */
.ac-handbike-hero .ac-hero-photo {aspect-ratio:auto;min-height:0;max-height:none;}
.ac-handbike-hero .ac-hero-photo img {height:auto;object-fit:contain;object-position:50% 50%;padding:0;}

/* Handbikes main: alternate native copy blocks with complete lifestyle scenes. */
.ac-handbike-story {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(28px,4.5vw,60px);align-items:center;margin-block:32px 40px;}
.ac-handbike-story-copy,.ac-handbike-story-media {min-width:0;}
.ac-handbike-story>.wp-block-group {margin-block:0;}
.ac-handbike-story .ac-section-head {margin-bottom:0;}
.ac-handbike-story-copy>:last-child {margin-bottom:0;}
.ac-handbike-story-reverse .ac-handbike-story-media {order:-1;}
.ac-handbike-lifestyle {width:100%;margin:0;border-radius:5px;overflow:hidden;}
.ac-handbike-lifestyle img {display:block;width:100%;height:auto;}
.ac-handbike-story .ac-assist-check {grid-template-columns:1fr;gap:8px;padding-block:18px;}
.ac-handbike-story .ac-assist-check h3 {font-size:23px;}
@media(max-width:860px){.ac-handbike-story {grid-template-columns:1fr;gap:24px;margin-block:24px 32px;}.ac-handbike-story-reverse .ac-handbike-story-media {order:0;}}

/* Electric-wheelchair main: visible families and consistent native card headings. */
.ac-electric-catalog-nav {margin-block:28px 40px;}
.ac-electric-catalog-group {margin-top:54px;padding-top:36px;border-top:1px solid var(--line);}
.ac-electric-catalog-head {max-width:900px;margin-bottom:30px;}
.ac-electric-catalog-head h3 {font-size:clamp(29px,3.1vw,40px);margin:0 0 17px;line-height:1.16;}
.ac-electric-catalog-head p {font-size:18px;line-height:1.65;color:var(--muted);margin-bottom:0;}
.ac-electric-catalog .ac-product-card h4 {font-size:29px;line-height:1.15;font-weight:500;letter-spacing:-.035em;margin:0 0 14px;}
.ac-electric-catalog .ac-product-card h4 a {text-decoration:none;}
.ac-electric-catalog .ac-product-card h4 a:hover {color:var(--blue);}
@media(max-width:680px){.ac-electric-catalog-group {margin-top:38px;padding-top:27px;}.ac-electric-catalog .ac-product-card h4 {font-size:28px;}}

/* Manual-wheelchair catalogue: keep the full linked photograph inside its frame. */
#manuales-breezy .ac-card-media>a {display:block;width:100%;height:100%;}

/* Manual-wheelchair catalogue: three cards per row on desktop. */
@media(min-width:1001px){#manuales-breezy>.ac-grid-2 {grid-template-columns:repeat(3,minmax(0,1fr));}}

/* Sillas manuales: tránsito y traslado, y elección conjunta del cojín. 22/10/2026. */
.ac-manuales-transfer{margin-top:56px;padding-top:32px;border-top:1px solid var(--line)}
.ac-manuales-transfer>h3{font-size:clamp(28px,3vw,36px);margin-bottom:16px}
.ac-manuales-transfer>p{max-width:75ch;margin-bottom:28px;line-height:1.65}
@media(min-width:1001px){#manuales-traslado>.ac-grid-2{grid-template-columns:repeat(3,minmax(0,1fr));}}
.ac-cushion-promo{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:48px;align-items:center;background:#f2f8fb;border-radius:20px;padding:40px;margin-block:48px}
.ac-cushion-promo h2{font-size:clamp(30px,3.3vw,40px);margin-bottom:16px}
.ac-cushion-promo h3{margin:24px 0 10px;font-size:24px}
.ac-cushion-promo p{line-height:1.65}
.ac-cushion-promo>.wp-block-image{margin:0;background:#fff;border:1px solid var(--line);border-radius:16px;overflow:hidden}
.ac-cushion-promo>.wp-block-image img{display:block;width:100%;height:auto;max-height:340px;object-fit:contain;padding:18px}
.ac-cushion-promo>.wp-block-image figcaption{font-size:13px;line-height:1.5;padding:15px 18px;border-top:1px solid var(--line)}
.ac-cushion-promo-copy>.wp-block-buttons{margin-top:22px}
@media(max-width:680px){.ac-cushion-promo{grid-template-columns:1fr;gap:24px;padding:24px;margin-inline:20px;width:calc(100% - 40px)}.ac-manuales-transfer{margin-top:36px}.ac-cushion-promo>.wp-block-image{max-width:100%}}

/* Sillas manuales: accesos visuales a activas y ultraligeras. 26/10/2026. */
.ac-manual-next .ac-card-media { aspect-ratio:3/2; }
.ac-manual-next .ac-card-media img { padding:0; object-fit:cover; mix-blend-mode:normal; }
.ac-manual-next .ac-text-link { color:var(--blue); }
