/*!
Theme Name: UiCore Pro Child
Theme URI: https://uicore.co
Description: One framework for all your website needs.
Author: UiCore
Author URI: https://uicore.co
Template: uicore-pro
Version: 1.0.0
Text Domain: uicore-pro
*/

 /* Add your custom style here */

/* ============================================================
   Morphcube Header Icons — Clean Final CSS
   ============================================================ */
/* =========================
   My Account – layout fix
   ========================= */

/* 0) Two cards side-by-side on desktop, stacked on mobile */
.woocommerce-account .u-columns{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}
@media (max-width: 900px){
  .woocommerce-account .u-columns{
    grid-template-columns: 1fr;
  }
}

/* 1) Card styling */
.woocommerce-account .u-columns .u-column1,
.woocommerce-account .u-columns .u-column2{
  background: #fff;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 16px;
  padding: 24px 24px 28px;
  box-shadow: 0 6px 20px rgba(0,0,0,.04);
  margin: 0 !important;        /* kill any theme margins that pinch width */
  max-width: none !important;  /* ensure cards can expand */
}

/* 2) Make all Woo form rows full-width (fixes the 47% float) */
.woocommerce-account form .form-row{
  width: 100% !important;
  float: none !important;
  display: block;
  clear: both;
}

/* 3) Inputs – readable + full width */
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select{
  width: 100%;
  background: #fff;
  border: 1px solid #e5e7eb;
  color: #111;
  padding: 12px 14px;
  border-radius: 10px;
}
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus{
  outline: none;
  border-color: var(--uicore-primary, #8b5cf6);
  box-shadow: 0 0 0 3px rgba(139,92,246,.15);
}

/* 4) Headings and buttons */
.woocommerce-account .u-column1 h2,
.woocommerce-account .u-column2 h2{ margin: 0 0 16px; line-height: 1.2; }
@media (max-width: 600px){
  .woocommerce-account .u-column1 h2,
  .woocommerce-account .u-column2 h2{ font-size: 1.6rem; }
}
.woocommerce-account .button{
  border-radius: 12px;
  padding: 12px 18px;
  font-weight: 600;
}
@media (max-width: 600px){
  .woocommerce-account .button{ width: 100%; text-align: center; }
}

/* 5) Small text tweaks */
.woocommerce-LostPassword{ margin-top: 8px; }
.woocommerce-privacy-policy-text{ font-size: .9rem; color: #555; }
.woocommerce form .form-row{ margin-bottom: 14px; }




/* =========================================
   My Account – fix layout + styling cleanly
   ========================================= */

/* 1) Replace Woo's float layout with a grid */
.woocommerce .col2-set#customer_login,
.woocommerce-page .col2-set#customer_login{
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

/* Stack on mobile */
@media (max-width: 900px){
  .woocommerce .col2-set#customer_login,
  .woocommerce-page .col2-set#customer_login{
    grid-template-columns: 1fr;
  }
}

/* 2) Kill the 48% widths + floats on the two columns */
.woocommerce .col2-set#customer_login .u-column1.col-1,
.woocommerce .col2-set#customer_login .u-column2.col-2{
  float: none !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
}

/* 3) Card styling for each column */
.woocommerce .col2-set#customer_login .u-column1,
.woocommerce .col2-set#customer_login .u-column2{
  background: #fff;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 16px;
  padding: 24px 24px 28px;
  box-shadow: 0 6px 20px rgba(0,0,0,.04);
}

/* 4) Forms shouldn't have a fixed height */
.woocommerce form.login,
.woocommerce form.register{
  height: auto !important;
}

/* 5) Make all rows full width (Woo defaults to 47% side-by-side) */
.woocommerce-account form .form-row{
  width: 100% !important;
  float: none !important;
  display: block;
  clear: both;
  margin-bottom: 14px;
}

/* 6) Inputs + focus ring */
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select{
  width: 100%;
  background: #fff;
  border: 1px solid #e5e7eb;
  color: #111;
  padding: 12px 14px;
  border-radius: 10px;
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus{
  outline: none;
  border-color: var(--uicore-primary, #8b5cf6);
  box-shadow: 0 0 0 3px rgba(139,92,246,.15);
}

/* 7) Headings + buttons */
.woocommerce .col2-set#customer_login h2{
  margin: 0 0 16px;
  line-height: 1.2;
}

.woocommerce-account .button{
  border-radius: 12px;
  padding: 12px 18px;
  font-weight: 600;
}

@media (max-width: 600px){
  .woocommerce-account .button{ width: 100%; text-align: center; }
}
