/* ==========================================================================
   MAUCHUKY - RESPONSIVE CSS
   Mobile-first breakpoints for tablets (992px) and smartphones (768px, 480px)
   ========================================================================== */

@media (max-width: 1200px) {
  .header-search {
    width: 250px;
  }
}

@media (max-width: 992px) {
  /* Navigation to Mobile Drawer */
  .main-navigation {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .header-search {
    width: 220px;
  }

  .email-builder-layout {
    grid-template-columns: 1fr;
  }

  h1.main-title, h1.page-title {
    font-size: 28px;
  }

  h2.title, h2.section-heading {
    font-size: 24px;
  }

  .draw-field {
    height: 320px;
  }

  .pen-detail-layout {
    display: flex;
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .header-inner {
    flex-wrap: wrap;
    gap: 12px;
    padding: 12px 15px;
  }

  .header-search {
    order: 3;
    width: 100%;
    margin: 10px 0 0 0;
  }

  .brand-title {
    font-size: 22px;
  }

  #tag_sign ul li.tab-btn {
    flex: 1;
    font-size: 15px;
    padding: 12px 10px;
    justify-content: center;
  }

  .khung_sign {
    padding: 20px 15px;
  }

  .sign-form-row {
    flex-direction: column;
  }

  .btn-primary-gradient {
    width: 100%;
    justify-content: center;
  }

  .draw-controls-row {
    flex-direction: column;
    align-items: flex-start;
    padding: 15px;
  }

  .button-controls {
    flex-direction: column;
    width: 100%;
  }

  .btn-tool {
    width: 100%;
    justify-content: center;
  }

  .fengshui-banner {
    flex-direction: column;
    align-items: flex-start;
  }

  .fengshui-quick-form {
    width: 100%;
    flex-direction: column;
  }

  .fengshui-quick-form input {
    width: 100%;
  }

  .section-fengshui-quick-card {
    padding: 25px 20px;
  }

  .result-field-wrap {
    flex-direction: column;
  }

  .btn-copy-gradient {
    padding: 12px;
    justify-content: center;
  }

  .footer-cols {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .hotline-phone-ring-wrap {
    bottom: 15px;
    left: 15px;
  }

  .zalo-floating-wrap {
    bottom: 80px;
    left: 20px;
  }

  .preview_sign {
    padding: 15px;
  }

  .preview_head strong {
    font-size: 24px;
  }

  .download_sign {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
    font-size: 16px;
  }

  .secondary-downloads {
    flex-direction: column;
  }

  .btn-sub-download {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .brand-title {
    font-size: 20px;
  }

  .signature-cards-grid {
    grid-template-columns: 1fr;
  }

  .name-block-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .draw-field {
    height: 260px;
  }
}
