/* =============================
   🌿 GLOBAL SITE STYLING FIXES
   ============================= */

/* Restore normal container width (fix zoom/overflow issue) */
.container,
.wrap {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

/* Prevent horizontal scrollbars */
body, html {
  overflow-x: hidden;
}

/* Constrain header layout */
.site-header,
.header-main {
  max-width: 100% !important;
  width: 100%;
  overflow-x: hidden !important;
  box-sizing: border-box;
  padding: 0 30px;
}

/* Header logo + title alignment */
.site-branding {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  flex-wrap: nowrap !important;
  gap: 12px !important;
  max-width: 100%;
  overflow: hidden;
}

/* Logo sizing */
.site-branding img {
  max-height: 60px !important;
  height: auto !important;
  width: auto !important;
}

/* Prevent title from breaking into two lines */
.site-title {
  white-space: nowrap !important;
  font-size: 2rem !important;
  letter-spacing: 0.5px;
  margin: 0 !important;
}

/* Optional subtitle styling */
.site-description {
  margin: 0 !important;
  font-size: 1rem !important;
  opacity: 0.8;
}

/* Navigation alignment */
.main-navigation {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
  .site-branding {
    flex-wrap: wrap !important;
    justify-content: center !important;
    text-align: center !important;
  }

  .site-title {
    white-space: normal !important;
    font-size: 1.6rem !important;
  }

  .site-branding img {
    max-height: 45px !important;
  }

  .main-navigation {
    justify-content: center !important;
  }
}


/* =====================================
   💼 MY ACCOUNT PAGE (ID 2435) STYLING
   ===================================== */

/* Make only My Account page full-width */
body.page-id-2435 .user-registration-MyAccount,
body.page-id-2435 .user-registration-MyAccount-content,
body.page-id-2435 .site-main,
body.page-id-2435 .content-area,
body.page-id-2435 .container,
body.page-id-2435 .wrap,
body.page-id-2435 .page-content,
body.page-id-2435 .entry-content,
body.page-id-2435 .site-content {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 auto !important;
  padding: 0 20px !important;
  box-sizing: border-box;
}

/* Remove sidebar if any */
body.page-id-2435 .content-area {
  float: none !important;
}

/* My Account navigation full width */
body.page-id-2435 .user-registration-MyAccount-navigation {
  width: 100% !important;
  margin-bottom: 20px;
}

/* My Account content area */
body.page-id-2435 .user-registration-MyAccount-content {
  background: transparent !important;
  padding: 10px 20px !important;
}

/* Tables and forms full width */
body.page-id-2435 .user-registration-MyAccount-content table {
  width: 100% !important;
  table-layout: auto !important;
}

/* Responsive tweaks for small screens */
@media (max-width: 768px) {
  body.page-id-2435 .container,
  body.page-id-2435 .wrap {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  body.page-id-2435 .user-registration-MyAccount-content {
    padding: 0 10px !important;
  }
}

/* Optional: Give My Account content a clean card-style look */
body.page-id-2435 .user-registration-MyAccount-content {
  background: #ffffff !important;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  padding: 30px !important;
}
