/* Responsive, layer 2: queries on selectors shared by 2+ components. Loaded after every page and component stylesheet.
   Only Bootstrap tier ranges are used (xs, sm, md, lg, xl, xxl, 1920). Plan: ui-plans/responsive-css-plan.md */
/* Buttons (.plx-btn, header CTA). Tablet sizing stays larger than the phone-only 3rem value and still clears the ~44px tap target. */
/* Long labels (e.g. "About Krystal Integrated Services Limited") wrap on phones instead of overflowing. */

/* RESPONSIVE ------------------------------------------------------------ */
@media (max-width: 575.98px) {
    .plx-btn { gap: var(--plx-sp-7); }
    .plx-header[data-plx-scrolled="true"] .plx-header-cta { gap: var(--plx-sp-7); }
    .plx-btn-icon { width: 1.875rem; height: 1.875rem; }
    .plx-header[data-plx-scrolled="true"] .plx-header-cta .plx-btn-icon { width: 1.875rem; height: 1.875rem; }
    .plx-btn-icon img { width: 0.9375rem; height: 0.9375rem; }
    .plx-header[data-plx-scrolled="true"] .plx-header-cta .plx-btn-icon img { width: 0.9375rem; height: 0.9375rem; }
    .plx-btn { min-height: 3.25rem; padding: 0 var(--plx-space-2);  }
    .plx-header[data-plx-scrolled="true"] .plx-header-cta { padding: 0 var(--plx-space-2);  line-height: 1.2; }
    .plx-btn { white-space: normal; }
    .plx-btn { font-size: var(--plx-fs-16); }
    .plx-header[data-plx-scrolled="true"] .plx-header-cta { font-size: var(--plx-fs-16); }
}

@media (min-width: 576px) and (max-width: 767.98px) {
    .plx-btn { gap: var(--plx-sp-7); }
    .plx-header[data-plx-scrolled="true"] .plx-header-cta { gap: var(--plx-sp-7); }
    .plx-btn-icon { width: 1.875rem; height: 1.875rem; }
    .plx-header[data-plx-scrolled="true"] .plx-header-cta .plx-btn-icon { width: 1.875rem; height: 1.875rem; }
    .plx-btn-icon img { width: 0.9375rem; height: 0.9375rem; }
    .plx-header[data-plx-scrolled="true"] .plx-header-cta .plx-btn-icon img { width: 0.9375rem; height: 0.9375rem; }
    .plx-btn { min-height: 3.25rem; padding: 0 var(--plx-space-2);  }
    .plx-header[data-plx-scrolled="true"] .plx-header-cta { padding: 0 var(--plx-space-2);  line-height: 1.2; }
    .plx-btn { font-size: var(--plx-fs-16); }
    .plx-header[data-plx-scrolled="true"] .plx-header-cta { font-size: var(--plx-fs-16); }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .plx-btn { gap: var(--plx-sp-7); }
    .plx-header[data-plx-scrolled="true"] .plx-header-cta { gap: var(--plx-sp-7); }
    .plx-btn-icon { width: 1.875rem; height: 1.875rem; }
    .plx-header[data-plx-scrolled="true"] .plx-header-cta .plx-btn-icon { width: 1.875rem; height: 1.875rem; }
    .plx-btn-icon img { width: 0.9375rem; height: 0.9375rem; }
    .plx-header[data-plx-scrolled="true"] .plx-header-cta .plx-btn-icon img { width: 0.9375rem; height: 0.9375rem; }
    .plx-btn { min-height: 3.375rem; padding: 0 var(--plx-sp-18);  }
    .plx-header[data-plx-scrolled="true"] .plx-header-cta {  line-height: 1.2; min-height: 3.375rem; }
    .plx-btn { font-size: var(--plx-fs-16); }
    .plx-header[data-plx-scrolled="true"] .plx-header-cta { font-size: var(--plx-fs-16); }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .plx-btn { gap: var(--plx-sp-7); }
    .plx-header[data-plx-scrolled="true"] .plx-header-cta { gap: var(--plx-sp-7); }
    .plx-btn-icon { width: 1.875rem; height: 1.875rem; }
    .plx-header[data-plx-scrolled="true"] .plx-header-cta .plx-btn-icon { width: 1.875rem; height: 1.875rem; }
    .plx-btn-icon img { width: 0.9375rem; height: 0.9375rem; }
    .plx-header[data-plx-scrolled="true"] .plx-header-cta .plx-btn-icon img { width: 0.9375rem; height: 0.9375rem; }
    .plx-btn { min-height: 3.375rem; padding: 0 var(--plx-sp-18);  }
    .plx-header[data-plx-scrolled="true"] .plx-header-cta {  line-height: 1.2; min-height: 3.375rem; }
    .plx-btn { font-size: var(--plx-fs-16); }
    .plx-header[data-plx-scrolled="true"] .plx-header-cta { font-size: var(--plx-fs-16); }
}
