/* v0.12.87 — mobile only. Existing desktop styles, markup and assets are preserved. */
@media screen and (max-width:767px) {
  /* Taller photograph viewport; every slide keeps identical geometry. */
  body.semac-theme #semac-info-main.semac-info-page--empresa .semac-company-carousel-stage {
    --semac-caption-height:104px;
    height:clamp(310px,82vw,480px);
    aspect-ratio:auto;
    min-height:0!important;
  }
  body.semac-theme #semac-info-main.semac-info-page--empresa .semac-company-carousel-slide {
    grid-template-rows:minmax(0,1fr) var(--semac-caption-height);
    margin:0;
  }
  body.semac-theme #semac-info-main.semac-info-page--empresa .semac-company-carousel-slide[hidden] { display:none!important; }
  body.semac-theme #semac-info-main.semac-info-page--empresa .semac-company-carousel-slide img {
    display:block;
    width:100%;
    height:100%;
    max-height:none;
    min-height:0!important;
    object-fit:cover;
    object-position:center;
  }
  body.semac-theme #semac-info-main.semac-info-page--empresa .semac-company-carousel-slide figcaption {
    box-sizing:border-box;
    min-height:0;
    height:var(--semac-caption-height);
    padding:12px 14px;
    gap:5px;
  }
  body.semac-theme #semac-info-main.semac-info-page--empresa .semac-company-carousel-slide figcaption strong { font-size:14px;line-height:1.25; }
  body.semac-theme #semac-info-main.semac-info-page--empresa .semac-company-carousel-slide figcaption span { font-size:11.5px;line-height:1.45;max-width:100%; }
  body.semac-theme #semac-info-main.semac-info-page--empresa .semac-company-carousel-arrow {
    top:calc((100% - var(--semac-caption-height)) / 2);
    width:36px;
    height:36px;
    margin-top:-18px;
  }

  /* CONTACTO — compact, native disclosures with the original actionable links. */
  body.semac-theme #semac-info-main.semac-info-page--contacto .semac-contact-methods { grid-template-columns:1fr;gap:8px; }
  body.semac-theme #semac-info-main .semac-mobile-contact-fold {
    display:block;
    width:100%;min-width:0;box-sizing:border-box;
    margin:0;padding:0;
    border:1px solid #c7dfd1;border-radius:11px;
    background:#fff;color:#1b3a29;
  }
  body.semac-theme #semac-info-main .semac-mobile-contact-fold > summary {
    display:grid;grid-template-columns:30px minmax(0,1fr) 18px;
    align-items:center;gap:10px;
    min-height:48px;box-sizing:border-box;padding:8px 12px;
    list-style:none;cursor:pointer;
    font:700 13px/1.4 Arial,Helvetica,sans-serif;
    border-radius:10px;
  }
  body.semac-theme #semac-info-main .semac-mobile-contact-fold > summary .semac-contact-method-icon { width:30px;height:30px;border-radius:8px; }
  body.semac-theme #semac-info-main .semac-mobile-contact-fold > summary .semac-contact-method-icon .semac-icon { width:17px;height:17px; }
  body.semac-theme #semac-info-main .semac-mobile-contact-fold[open] { border-color:#008f43; }
  body.semac-theme #semac-info-main .semac-mobile-contact-fold[open] > summary { background:#edf8f1;border-radius:10px 10px 0 0; }
  body.semac-theme #semac-info-main .semac-mobile-contact-body { padding:0 12px 10px; }
  body.semac-theme #semac-info-main .semac-mobile-contact-body > .semac-contact-method {
    display:flex;align-items:center;justify-content:space-between;gap:8px;
    width:100%;min-height:44px;box-sizing:border-box;
    margin:4px 0 0;padding:8px 10px;
    border:0;border-radius:8px;background:#f3faf6;box-shadow:none;
    transform:none;color:#115331;
  }
  body.semac-theme #semac-info-main .semac-mobile-contact-body .semac-contact-method-icon,
  body.semac-theme #semac-info-main .semac-mobile-contact-body .semac-contact-method small { display:none; }
  body.semac-theme #semac-info-main .semac-mobile-contact-body .semac-contact-method strong { color:#134c30;font-size:12.5px;font-weight:600;line-height:1.5;overflow-wrap:anywhere; }
  body.semac-theme #semac-info-main .semac-mobile-contact-body .semac-contact-method > .semac-icon { width:16px;height:16px;color:#008f43; }

  /* Form surface is dark, while editable inputs remain light for legibility. */
  body.semac-theme #semac-info-main.semac-info-page--contacto .semac-contact-form-card {
    background:linear-gradient(135deg,#10271c,#0b4329)!important;
    border-color:#1b5838;color:#f1fbf5;
    box-shadow:0 10px 26px rgba(6,34,20,.14);
    padding:20px 16px;
  }
  body.semac-theme #semac-info-main.semac-info-page--contacto .semac-contact-form-heading { border-color:rgba(151,221,179,.25); }
  body.semac-theme #semac-info-main.semac-info-page--contacto .semac-contact-form-heading h2 { color:#fff; }
  body.semac-theme #semac-info-main.semac-info-page--contacto .semac-contact-form-heading .semac-eyebrow { color:#70e39d; }
  body.semac-theme #semac-info-main.semac-info-page--contacto .semac-contact-form-heading > div > p:last-child { color:#d2e6d9; }
  body.semac-theme #semac-info-main.semac-info-page--contacto .semac-contact-heading-icon { background:rgba(112,227,157,.12);color:#70e39d;border:1px solid rgba(112,227,157,.22); }
  body.semac-theme #semac-info-main.semac-info-page--contacto .semac-contact-form-wrap :is(.wpcf7,.wpcf7-form,.wpforms-container,.wpforms-form) { background:transparent!important; }
  body.semac-theme #semac-info-main.semac-info-page--contacto .semac-contact-form-wrap { color:#d2e6d9; }
  body.semac-theme #semac-info-main.semac-info-page--contacto .semac-contact-form-wrap label,
  body.semac-theme #semac-info-main.semac-info-page--contacto .semac-contact-form-wrap .wpforms-field-label { color:#f1fbf5!important; }
  body.semac-theme #semac-info-main.semac-info-page--contacto .semac-contact-form-wrap :is(.wpforms-field-description,.wpforms-field-sublabel) { color:#d2e6d9!important; }
  body.semac-theme #semac-info-main.semac-info-page--contacto .semac-contact-form-wrap a { color:#92efb3;text-decoration:underline;text-underline-offset:3px; }
  body.semac-theme #semac-info-main.semac-info-page--contacto .semac-contact-form-wrap :is(input[type=text],input[type=email],input[type=tel],input[type=url],select,textarea) {
    background:#f8fcfa!important;color:#193425!important;
    border:1px solid #70b78c!important;border-radius:10px!important;
    font-size:16px!important;
  }
  body.semac-theme #semac-info-main.semac-info-page--contacto .semac-contact-form-wrap :is(input,textarea)::placeholder { color:#687d70!important;opacity:1; }
  body.semac-theme #semac-info-main.semac-info-page--contacto .semac-contact-form-wrap :is(input,select,textarea):focus { border-color:#77e0a0!important;box-shadow:0 0 0 3px rgba(112,227,157,.22)!important; }
  body.semac-theme #semac-info-main.semac-info-page--contacto .semac-contact-form-wrap :is(input[type=submit],button[type=submit]) {
    width:100%!important;min-height:46px!important;
    border-color:#58bb7f!important;color:#fff!important;
    background:linear-gradient(135deg,#00853f,#009a4b)!important;
  }
  /* Keep visible validation errors and responses; do not hide CAPTCHA or notices. */
  body.semac-theme #semac-info-main.semac-info-page--contacto .semac-contact-form-wrap :is(.wpcf7-not-valid-tip,em.wpforms-error,.wpforms-required-label) { color:#ffbdb5!important; }
  body.semac-theme #semac-info-main.semac-info-page--contacto .semac-contact-form-wrap :is(.wpcf7-response-output,.wpforms-confirmation-container-full) {
    background:#edf9f1!important;color:#17482e!important;border-color:#74ce96!important;
  }
  body.semac-theme #semac-info-main.semac-info-page--contacto .semac-contact-form-wrap .wpcf7-form:is(.invalid,.failed,.spam) .wpcf7-response-output { background:#fff5e6!important;color:#654518!important;border-color:#ebbb72!important; }
  body.semac-theme #semac-info-main.semac-info-page--contacto .semac-contact-form-wrap .wpcf7-spinner { background:#dbf3e4; }
  body.semac-theme #semac-info-main.semac-info-page--contacto .semac-contact-form-wrap .wpcf7-spinner::before { background:#0b4329; }

  /* DELIVERY — scheduled zones fold, but the finder and Google controls stay intact. */
  body.semac-theme #semac-info-main .semac-mobile-zones-fold { display:block;margin:0;padding:0;border:0;min-width:0; }
  body.semac-theme #semac-info-main .semac-mobile-zones-fold > summary {
    display:flex;align-items:center;justify-content:space-between;gap:12px;
    min-height:48px;box-sizing:border-box;
    padding:12px 14px;border:1px solid #008f43;border-radius:10px;
    background:#edf8f1;color:#096d36;cursor:pointer;list-style:none;
    font:700 12.5px/1.45 Arial,Helvetica,sans-serif;
  }
  body.semac-theme #semac-info-main .semac-mobile-zones-body { padding-top:14px; }
  body.semac-theme #semac-info-main .semac-mobile-zones-body > p { margin:0 0 12px;color:#53695c;font-size:12px;line-height:1.55; }
  body.semac-theme #semac-info-main .semac-mobile-zones-body .semac-public-delivery-grid { grid-template-columns:1fr;gap:9px; }
  body.semac-theme #semac-info-main :is(.semac-mobile-contact-fold,.semac-mobile-zones-fold) > summary::-webkit-details-marker { display:none; }
  body.semac-theme #semac-info-main :is(.semac-mobile-contact-fold,.semac-mobile-zones-fold) > summary::marker { content:''; }
  body.semac-theme #semac-info-main .semac-mobile-fold-chevron { display:inline-flex;align-items:center;width:18px;height:18px;flex:0 0 18px;color:#008f43; }
  body.semac-theme #semac-info-main .semac-mobile-fold-chevron svg { display:block;width:100%;height:100%; }
  body.semac-theme #semac-info-main details[open] > summary .semac-mobile-fold-chevron { transform:rotate(180deg); }
  body.semac-theme #semac-info-main :is(.semac-mobile-contact-fold,.semac-mobile-zones-fold):not([open]) > .semac-mobile-fold-body { display:none!important; }
  body.semac-theme #semac-info-main .semac-mobile-zones-fold:not([open]) .semac-fold-when-open,
  body.semac-theme #semac-info-main .semac-mobile-zones-fold[open] .semac-fold-when-closed { display:none; }
  body.semac-theme #semac-info-main :is(.semac-mobile-contact-fold,.semac-mobile-zones-fold) > summary:focus-visible { outline:2px solid #008f43;outline-offset:3px; }

  body.semac-theme #semac-info-main.semac-info-page--delivery .semac-delivery-finder {
    background:linear-gradient(135deg,#10271c,#0b4329)!important;border-color:#1b5838;color:#e2f3e8;
    box-shadow:0 10px 26px rgba(6,34,20,.13);
  }
  body.semac-theme #semac-info-main.semac-info-page--delivery .semac-delivery-finder .semac-public-delivery-heading h2 { color:#fff; }
  body.semac-theme #semac-info-main.semac-info-page--delivery .semac-delivery-finder .semac-public-delivery-heading .semac-eyebrow { color:#70e39d; }
  body.semac-theme #semac-info-main.semac-info-page--delivery .semac-delivery-finder .semac-public-delivery-heading p:last-child { color:#d2e6d9; }
  body.semac-theme #semac-info-main.semac-info-page--delivery .semac-delivery-finder .semac-info-section-icon { background:rgba(112,227,157,.12);color:#70e39d;border:1px solid rgba(112,227,157,.22); }
  body.semac-theme #semac-info-main.semac-info-page--delivery .semac-delivery-finder-box { width:100%;box-sizing:border-box;background:rgba(255,255,255,.035);border-color:#32654b; }
  body.semac-theme #semac-info-main.semac-info-page--delivery .semac-delivery-finder-box > label { color:#f1fbf5; }
  body.semac-theme #semac-info-main.semac-info-page--delivery .semac-delivery-finder-input-wrap { background:#f8fcfa;border-color:#70b78c;min-width:0; }
  body.semac-theme #semac-info-main.semac-info-page--delivery #semac-delivery-address { min-width:0;color:#193425;font-size:16px; }
  body.semac-theme #semac-info-main.semac-info-page--delivery #semac-delivery-address::placeholder { color:#657e6e; }
  body.semac-theme #semac-info-main.semac-info-page--delivery .semac-delivery-finder-input-wrap:focus-within { box-shadow:0 0 0 3px rgba(112,227,157,.20);border-color:#70e39d; }
  body.semac-theme #semac-info-main.semac-info-page--delivery .semac-delivery-lookup-status { color:#d2e6d9; }
  body.semac-theme #semac-info-main.semac-info-page--delivery .semac-delivery-lookup-status.is-valid { color:#80e7a6; }
  body.semac-theme #semac-info-main.semac-info-page--delivery .semac-delivery-lookup-status.is-warning { color:#ffd49a; }
  body.semac-theme #semac-info-main.semac-info-page--delivery .semac-delivery-lookup-result:not(.is-outside) { background:#0d2c1e;border-color:#43835b; }
  body.semac-theme #semac-info-main.semac-info-page--delivery .semac-delivery-lookup-result:not(.is-outside) strong { color:#fff; }
  body.semac-theme #semac-info-main.semac-info-page--delivery .semac-delivery-lookup-result:not(.is-outside) span { color:#86eaae; }
  body.semac-theme #semac-info-main.semac-info-page--delivery .semac-delivery-lookup-result:not(.is-outside) small { color:#d2e6d9; }
  body.semac-theme #semac-info-main.semac-info-page--delivery :is(.semac-delivery-page-suggestions,.semac-delivery-lookup-result)[hidden] { display:none!important; }
}
