/**
 * Panasweb — Estilos responsive compartidos (tipo app)
 */

.page-wrapper {
  overflow-x: clip;
}

@media (max-width: 991px) {
  .page-wrapper {
    --section-space: 56px;
    --section-space-mobile: 48px;
    --app-pad-x: 16px;
    --app-radius: 14px;
    --app-gap: 14px;
    --app-title: clamp(1.22rem, 4.2vw, 1.62rem);
    --app-subtitle: 0.78rem;
    --app-body: 0.9375rem;
    --app-btn: 0.875rem;
  }
}

@media (max-width: 575px) {
  .page-wrapper {
    --section-space: 44px;
    --section-space-mobile: 40px;
    --app-pad-x: 14px;
    --app-radius: 12px;
    --app-gap: 12px;
    --app-title: clamp(1.15rem, 4.8vw, 1.45rem);
    --app-subtitle: 0.72rem;
    --app-body: 0.9rem;
    --app-btn: 0.8125rem;
  }
}

@media (max-width: 991px) {
  .page-wrapper .container {
    padding-left: var(--app-pad-x);
    padding-right: var(--app-pad-x);
  }

  .page-wrapper .row.gy-30 {
    --bs-gutter-y: var(--app-gap);
  }

  .page-wrapper .title-wrap {
    margin-bottom: calc(var(--section-space) - 42px) !important;
  }

  .page-wrapper .sec-title {
    font-size: var(--app-title);
    line-height: 1.3;
    letter-spacing: normal;
    margin-bottom: 12px;
    max-width: 100%;
    word-break: normal;
    overflow-wrap: normal;
    hyphens: none;
    text-wrap: wrap;
  }

  .page-wrapper .sec-title br,
  .page-wrapper .title-wrap .sec-title br {
    display: block;
  }

  .page-wrapper .sub-title-2 {
    font-size: var(--app-subtitle);
    padding: 2px 10px;
    margin-bottom: 8px;
    justify-content: center;
  }

  .page-wrapper .title-wrap {
    text-align: center;
  }

  .page-wrapper .title-wrap .sub-title-2 {
    display: inline-flex;
  }

  .page-wrapper p,
  .page-wrapper .sec-text {
    font-size: var(--app-body);
    line-height: 1.6;
  }

  .page-wrapper h2:not(.sec-title) {
    font-size: clamp(1.1rem, 4vw, 1.35rem);
    line-height: 1.35;
  }

  .page-wrapper h2:not(.sec-title) br {
    display: block;
  }

  .page-wrapper h3 {
    font-size: 1.05rem;
    line-height: 1.35;
  }

  .page-wrapper h4.title,
  .page-wrapper h4.text {
    font-size: 1.05rem;
    line-height: 1.35;
  }

  .page-wrapper h4 br {
    display: block;
  }

  .page-wrapper .theme-btn {
    font-size: var(--app-btn);
    padding: 11px 22px 11px 18px;
    border-radius: 999px;
  }

  .page-wrapper .mt-40 {
    margin-top: 1rem !important;
  }

  .page-wrapper .mt-50,
  .page-wrapper .mt-60,
  .page-wrapper .mb-60 {
    margin-top: 1.25rem !important;
    margin-bottom: 1.25rem !important;
  }

  .page-wrapper .mt-20,
  .page-wrapper .mb-20 {
    margin-top: 0.75rem !important;
    margin-bottom: 0.75rem !important;
  }

  .page-wrapper .pt-50,
  .page-wrapper .pb-30 {
    padding-top: 1.25rem !important;
    padding-bottom: 1rem !important;
  }

  .page-wrapper .shape-mockup,
  .page-wrapper .rocket-shape,
  .page-wrapper .scribble-shape,
  .page-wrapper .scribble {
    display: none !important;
  }
}

@media (max-width: 1399px) {
  .page-wrapper .mx-30,
  .page-wrapper .mx-30.xxl-mx-0,
  .page-wrapper .footer-section.mx-30 {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .page-wrapper .footer-section.xxl-m-0 {
    margin-bottom: 0 !important;
  }

  .page-wrapper .br-30,
  .page-wrapper .ml-br-0,
  .page-wrapper .newsletter .br-30 {
    border-radius: 16px !important;
  }
}

@media (max-width: 575px) {
  .page-wrapper .br-30,
  .page-wrapper .ml-br-0,
  .page-wrapper .newsletter .br-30,
  .page-wrapper .footer-section {
    border-radius: 0 !important;
  }
}

@media (max-width: 991px) {
  .tv-header.header-style1 .menu-area {
    padding: 12px 0;
  }

  .tv-header.header-style1 .header-logo img {
    max-height: 40px;
    max-width: min(150px, 38vw);
    width: auto;
  }

  .header-right-wrapper .outer-box {
    gap: 8px;
  }
}

@media (max-width: 767px) {
  .tv-marquee-section .marquee-wrap.style-2 {
    padding: 10px 0;
  }

  .tv-marquee-section .marquee-wrap.style-2 .m-item {
    font-size: 0.8rem;
    padding: 0;
    margin-right: 18px;
  }

  .tv-marquee-section .marquee-wrap.style-2 .m-item .icon {
    width: 16px;
    margin-right: 10px;
  }
}

@media (max-width: 991px) {
  .tv-brands-section .brand-inner {
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-bottom: var(--section-space-mobile) !important;
  }

  .tv-brands-section .trusted-partners {
    flex-direction: column;
    gap: 8px;
    text-align: center;
    margin-bottom: 20px !important;
  }

  .tv-brands-section .trusted-partners.mb-60 {
    margin-bottom: 20px !important;
  }

  .tv-brands-section .trusted-partners .line {
    display: none;
  }

  .tv-brands-section .trusted-partners .title {
    font-size: 0.72rem;
    line-height: 1.4;
    padding: 0 8px;
    word-break: normal;
    overflow-wrap: normal;
  }

  .tv-brands-section {
    --panasweb-partner-logo-w: 168px;
    --panasweb-partner-logo-h: 52px;
  }
}

@media (max-width: 991px) {
  .newsletter-section.mb--75 {
    margin-bottom: -20px !important;
  }

  .newsletter-section .newsletter {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding: 18px 16px !important;
    border-radius: var(--app-radius) !important;
  }

  .newsletter-section .newsletter .image-text {
    padding-left: 0;
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    gap: 10px;
  }

  .newsletter-section .newsletter .image-text img {
    width: 28px;
    height: auto;
    flex-shrink: 0;
    margin: 2px 0 0;
  }

  .newsletter-section .newsletter .image-text .title {
    font-size: var(--app-title);
    line-height: 1.3;
    text-align: left;
  }

  .newsletter-section .newsletter .image-text .title br {
    display: block;
  }

  .newsletter-section .newsletter-form {
    width: 100%;
  }

  .newsletter-section .newsletter-form .form-group {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    width: 100%;
  }

  .newsletter-section .newsletter-form .form-group input[type="email"] {
    width: 100%;
    min-width: 0;
    font-size: var(--app-body);
    height: 44px;
    border-radius: var(--app-radius);
  }

  .newsletter-section .newsletter-form .form-group button[type="submit"] {
    width: 100%;
    border-radius: var(--app-radius);
    height: 44px;
    font-size: var(--app-btn);
  }
}

@media (max-width: 991px) {
  .footer-section {
    border-radius: var(--app-radius) var(--app-radius) 0 0 !important;
    margin-bottom: 0 !important;
    padding-top: 36px !important;
    padding-bottom: 24px !important;
  }

  .footer-section .footer-brand .brand-info p,
  .footer-section .footer-widget p,
  .footer-section .footer-widget a,
  .footer-section .footer-bottom {
    font-size: var(--app-body);
  }

  .footer-section .footer-widget .widget_title {
    font-size: 1rem;
    margin-bottom: 10px;
  }

  .footer-section .footer-brand,
  .footer-section .footer-brand .brand-info {
    text-align: center;
  }

  .footer-section .footer-brand .social-links {
    justify-content: center;
  }

  .footer-section .footer-widget {
    text-align: center;
    margin-top: 8px;
  }

  .footer-section .footer-widget ul {
    padding-left: 0;
  }

  .footer-section .footer-bottom {
    text-align: center;
  }

  .footer-section .footer-bottom .copyright,
  .footer-section .footer-bottom .footer-policy {
    text-align: center !important;
  }

  .footer-section .footer-bottom .footer-policy {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
  }
}

@media (max-width: 575px) {
  .newsletter-section .newsletter .image-text {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .newsletter-section .newsletter .image-text .title {
    text-align: center;
  }
}

/* FAQ servicios — imagen tienda online */
.tv-faq-section .panasweb-faq-visual__photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 528 / 609;
  object-fit: cover;
  object-position: center;
}
