/* =========================================================
   My Account: logged-in clean layout
========================================================= */

body.woocommerce-account.logged-in .entry-title,
body.woocommerce-account.logged-in .entry-header{
  display: none !important;
}

body.woocommerce-account.logged-in .entry-content{
  max-width: 1200px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.gb-account-page--clean{
  width: 100%;
  max-width: 1200px;
  margin: 42px auto 80px;
  color: var(--gb-text, #121212);
}

/* Header */
.gb-account-clean-head{
  margin-bottom: 22px;
}

.gb-account-eyebrow{
  margin: 0 0 8px !important;
  color: #1ea7ff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  line-height: 1.2;
}

.gb-account-title{
  margin: 0 !important;
  font-size: clamp(30px, 4vw, 46px) !important;
  line-height: 1.05 !important;
  font-weight: 800 !important;
  color: #121212;
}

.gb-account-email{
  margin: 10px 0 0 !important;
  color: #6b7280;
  font-size: 15px;
  line-height: 1.4;
}

/* Tabs */
.gb-account-tabs{
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid #e5e7eb;
}

.gb-account-tab,
.gb-account-tab:visited{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 17px;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #121212 !important;
  text-decoration: none !important;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  box-shadow: none !important;
}

.gb-account-tab:hover{
  border-color: #1ea7ff;
  color: #121212 !important;
}

.gb-account-tab--logout,
.gb-account-tab--logout:visited{
  color: #ef4444 !important;
}

/* Hide Woo default sidebar/nav because we are using custom tabs */
body.woocommerce-account.logged-in .woocommerce-MyAccount-navigation{
  display: none !important;
}

/* Main content */
.gb-account-clean-content{
  width: 100%;
  max-width: 100%;
}

.gb-account-clean-content .woocommerce-MyAccount-content{
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
}

.gb-account-clean-content > p:first-child,
.gb-account-clean-content .woocommerce-MyAccount-content > p:first-child{
  margin-top: 0 !important;
}

/* Dashboard text */
.gb-account-clean-content p{
  color: #6b7280;
  font-size: 16px;
  line-height: 1.65;
}

.gb-account-clean-content a:not(.gb-btn--primary){
  color: #121212 !important;
  font-weight: 700;
  text-decoration: none !important;
}

/* Tables */
.gb-account-clean-content table,
.gb-account-clean-content .woocommerce-orders-table{
  width: 100% !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  background: #fff;
}

.gb-account-clean-content table th,
.gb-account-clean-content table td{
  padding: 15px 16px !important;
  border-bottom: 1px solid #f3f4f6 !important;
  vertical-align: middle;
}

.gb-account-clean-content table tr:last-child td{
  border-bottom: 0 !important;
}

.gb-account-clean-content table th{
  background: #f8fafc;
  color: #9ca3af;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.gb-account-clean-content table td{
  color: #121212;
  font-size: 14px;
}

/* Buttons */
.gb-account-clean-content .woocommerce-button,
.gb-account-clean-content .button,
.gb-account-clean-content button.button{
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 40px !important;
  padding: 0 16px !important;
  border-radius: 999px !important;
  background: #1ea7ff !important;
  color: #fff !important;
  border: 0 !important;
  box-shadow: none !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: .05em !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
}

/* Forms */
.gb-account-clean-content form{
  margin: 0 !important;
}

.gb-account-clean-content fieldset{
  border: 1px solid #e5e7eb !important;
  border-radius: 16px !important;
  padding: 18px !important;
  margin: 22px 0 !important;
}

.gb-account-clean-content legend,
.gb-account-clean-content h2,
.gb-account-clean-content h3{
  color: #121212 !important;
  font-weight: 700 !important;
}

.gb-account-clean-content label{
  display: block;
  margin-bottom: 7px;
  color: #6b7280;
  font-size: 14px;
  font-weight: 700;
}

.gb-account-clean-content input[type="text"],
.gb-account-clean-content input[type="email"],
.gb-account-clean-content input[type="password"],
.gb-account-clean-content input[type="tel"],
.gb-account-clean-content select,
.gb-account-clean-content textarea{
  width: 100% !important;
  min-height: 48px !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 12px !important;
  background: #fff !important;
  padding: 10px 13px !important;
  box-shadow: none !important;
}

.gb-account-clean-content input:focus,
.gb-account-clean-content select:focus,
.gb-account-clean-content textarea:focus{
  border-color: #1ea7ff !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(171,142,197,.14) !important;
}

/* Addresses */
.gb-account-clean-content .woocommerce-Address{
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 18px;
  background: #fff;
  margin-bottom: 16px;
}

.gb-account-clean-content .woocommerce-Address-title{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.gb-account-clean-content .woocommerce-Address-title h2{
  margin: 0 !important;
}

/* Notices */
.gb-account-clean-content .woocommerce-message,
.gb-account-clean-content .woocommerce-info,
.gb-account-clean-content .woocommerce-error{
  display: block !important;
  border-radius: 14px !important;
  border: 1px solid #e5e7eb !important;
  background: #f8fafc !important;
  color: #121212 !important;
  padding: 14px 16px !important;
  margin: 0 0 18px !important;
  box-shadow: none !important;
}

/* Mobile */
@media (max-width: 750px){
  .gb-account-page--clean{
    margin: 26px auto 54px;
  }

  .gb-account-tabs{
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 14px;
    -webkit-overflow-scrolling: touch;
  }

  .gb-account-tab{
    flex: 0 0 auto;
    min-height: 40px;
    padding: 0 14px;
    font-size: 12px;
  }

  .gb-account-clean-content table,
  .gb-account-clean-content thead,
  .gb-account-clean-content tbody,
  .gb-account-clean-content th,
  .gb-account-clean-content td,
  .gb-account-clean-content tr{
    display: block;
  }

  .gb-account-clean-content table thead{
    display: none;
  }

  .gb-account-clean-content table tr{
    border-bottom: 1px solid #e5e7eb;
    padding: 12px 0;
  }

  .gb-account-clean-content table tr:last-child{
    border-bottom: 0;
  }

  .gb-account-clean-content table td{
    border-bottom: 0 !important;
    padding: 7px 0 !important;
  }

  .gb-account-clean-content table td::before{
    content: attr(data-title);
    display: block;
    margin-bottom: 3px;
    color: #9ca3af;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
  }
}

/* =========================================================
   My Account: logged-out login/register page
========================================================= */

body.woocommerce-account:not(.logged-in) .entry-title{
  display: none !important;
}

body.woocommerce-account:not(.logged-in) .entry-header{
  display: none !important;
}

body.woocommerce-account:not(.logged-in) .entry-content{
  max-width: 1200px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.gb-auth-page{
  max-width: 1200px;
  margin: 56px auto 90px;
  padding: 0;
  color: var(--gb-text, #121212);
}

.gb-auth-header{
  max-width: 720px;
  margin: 0 auto 30px;
  text-align: center;
}
.gb-auth-title{
  margin: 0 !important;
  font-size: clamp(30px, 4vw, 48px) !important;
  line-height: 1.05 !important;
  font-weight: 700 !important;
  color: #121212;
}

.gb-auth-subtitle{
  margin: 14px auto 0 !important;
  color: #6b7280;
  font-size: 16px;
  line-height: 1.55;
}

.gb-auth-grid{
  display: grid;
  gap: 20px;
  align-items: stretch;
}

.gb-auth-grid.has-register{
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gb-auth-grid.no-register{
  grid-template-columns: minmax(0, 560px);
  justify-content: center;
}

.gb-auth-card{
  border: 1px solid #e5e7eb;
  border-radius: 24px;
  background: #fff;
  padding: 28px;
  box-shadow: 0 8px 28px rgba(17,24,39,.06);
}

.gb-auth-card--register{
  background: white;
}

.gb-auth-card__head{
  margin-bottom: 22px;
}

.gb-auth-card__head h2{
  margin: 0 0 8px !important;
  font-size: 28px !important;
  line-height: 1.1 !important;
  font-weight: 700 !important;
  color: #121212;
}

.gb-auth-card__head p{
  margin: 0 !important;
  color: #6b7280;
  font-size: 15px;
  line-height: 1.45;
}

.gb-auth-form{
  margin: 0 !important;
}

.gb-auth-form .form-row{
  margin: 0 0 18px !important;
  padding: 0 !important;
}

.gb-auth-form label{
  display: block;
  margin: 0 0 7px !important;
  color: #6b7280;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
}

.gb-auth-form .required{
  color: #ef4444;
  text-decoration: none !important;
}

.gb-auth-form input[type="text"],
.gb-auth-form input[type="email"],
.gb-auth-form input[type="password"]{
  width: 100% !important;
  min-height: 52px !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 14px !important;
  background: #fff !important;
  padding: 12px 14px !important;
  box-shadow: none !important;
  color: #121212 !important;
  font-size: 16px !important;
}

.gb-auth-form input[type="text"]:focus,
.gb-auth-form input[type="email"]:focus,
.gb-auth-form input[type="password"]:focus{
  border-color: #1ea7ff !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(171,142,197,.16) !important;
}

/* Fix Woo password reveal button */
.gb-auth-form .password-input{
  display: block;
  position: relative;
}

.gb-auth-form .show-password-input{
  position: absolute !important;
  right: 10px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 38px !important;
  height: 38px !important;
  min-height: 38px !important;
  border-radius: 999px !important;
  background: #f3f4f6 !important;
  color: #121212 !important;
  border: 0 !important;
  box-shadow: none !important;
}

.gb-auth-form__bottom{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 4px 0 18px;
}

.gb-auth-remember{
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  margin: 0 !important;
  color: #6b7280 !important;
  font-size: 14px !important;
  font-weight: 700 !important;
}

.gb-auth-remember input{
  width: 16px;
  height: 16px;
  margin: 0 !important;
  accent-color: #1ea7ff;
}

.gb-auth-lost,
.gb-auth-lost:visited{
  color: #1ea7ff !important;
  font-weight: 400;
  text-decoration: underline !important;
  text-underline-offset: 3px;
}

.gb-auth-submit-row{
  margin: 0 !important;
}

.gb-auth-submit{
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 48px !important;
  padding: 0 24px !important;
  border-radius: 999px !important;
  background: #1ea7ff !important;
  color: #fff !important;
  border: 0 !important;
  box-shadow: none !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  letter-spacing: .06em !important;
  text-transform: uppercase !important;
}

.gb-auth-submit:hover{
  filter: brightness(.97);
}

/* Woo notices */
body.woocommerce-account:not(.logged-in) .woocommerce-error,
body.woocommerce-account:not(.logged-in) .woocommerce-message,
body.woocommerce-account:not(.logged-in) .woocommerce-info{
  display: block !important;
  max-width: 1200px;
  margin: 24px auto 0 !important;
  border-radius: 16px !important;
  border: 1px solid #e5e7eb !important;
  background: #f8fafc !important;
  color: #121212 !important;
  box-shadow: none !important;
  padding: 14px 18px !important;
}

/* Remove Woo columns default layout */
.gb-auth-page .u-columns,
.gb-auth-page .col2-set{
  display: block !important;
}

@media (max-width: 850px){
  .gb-auth-page{
    margin: 30px auto 54px;
  }

  .gb-auth-header{
    text-align: left;
    margin-bottom: 22px;
  }

  .gb-auth-grid.has-register{
    grid-template-columns: 1fr;
  }

  .gb-auth-card{
    padding: 20px;
    border-radius: 20px;
  }

  .gb-auth-card__head h2{
    font-size: 24px !important;
  }

  .gb-auth-form__bottom{
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .gb-auth-submit{
    width: 100% !important;
  }
}

/* Remove WooCommerce default registration privacy text */

.gb-auth-form .woocommerce-privacy-policy-text{

  display: none !important;

}
/* =========================================================
   My Account: logged-out login/register notices
========================================================= */

body.woocommerce-account:not(.logged-in) .woocommerce-error,
body.woocommerce-account:not(.logged-in) .woocommerce-message,
body.woocommerce-account:not(.logged-in) .woocommerce-info {
  display: block !important;
  max-width: 1200px !important;
  margin: 24px auto 24px !important;
  padding: 16px 18px !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 16px !important;
  background: #f8fafc !important;
  color: #121212 !important;
  box-shadow: none !important;
  list-style: none !important;
}

/* Remove Woo default icon / pseudo icon completely */
body.woocommerce-account:not(.logged-in) .woocommerce-error::before,
body.woocommerce-account:not(.logged-in) .woocommerce-error::after,
body.woocommerce-account:not(.logged-in) .woocommerce-message::before,
body.woocommerce-account:not(.logged-in) .woocommerce-message::after,
body.woocommerce-account:not(.logged-in) .woocommerce-info::before,
body.woocommerce-account:not(.logged-in) .woocommerce-info::after {
  display: none !important;
  content: none !important;
}

/* Remove list spacing from Woo error list */
body.woocommerce-account:not(.logged-in) ul.woocommerce-error {
  padding-left: 18px !important;
}

body.woocommerce-account:not(.logged-in) ul.woocommerce-error li {
  margin: 0 !important;
  padding: 0 !important;
  color: #121212 !important;
  font-size: 15px !important;
  line-height: 1.45 !important;
}

/* Keep Error: bold, but not weird */
body.woocommerce-account:not(.logged-in) .woocommerce-error strong,
body.woocommerce-account:not(.logged-in) .woocommerce-message strong,
body.woocommerce-account:not(.logged-in) .woocommerce-info strong {
  color: #121212 !important;
  font-weight: 700 !important;
}

/* Fix lost password link inside the notice */
body.woocommerce-account:not(.logged-in) .woocommerce-error a,
body.woocommerce-account:not(.logged-in) .woocommerce-message a,
body.woocommerce-account:not(.logged-in) .woocommerce-info a {
  color: #1ea7ff !important;
  font-weight: 700 !important;
  text-decoration: underline !important;
  text-underline-offset: 3px !important;
}

body.woocommerce-account:not(.logged-in) .woocommerce-error a:hover,
body.woocommerce-account:not(.logged-in) .woocommerce-message a:hover,
body.woocommerce-account:not(.logged-in) .woocommerce-info a:hover {
  color: #121212 !important;
}

/* Mobile spacing */
@media (max-width: 750px) {
  body.woocommerce-account:not(.logged-in) .woocommerce-error,
  body.woocommerce-account:not(.logged-in) .woocommerce-message,
  body.woocommerce-account:not(.logged-in) .woocommerce-info {
    margin: 21px 0px 0px !important;
    padding: 15px 16px !important;
    border-radius: 14px !important;
  }

  body.woocommerce-account:not(.logged-in) ul.woocommerce-error li {
    font-size: 14px !important;
  }
}
/* =========================================================
   Reset password page
========================================================= */

.gb-reset-page{
  max-width: 860px;
}

.gb-reset-card{
  border: 1px solid #e5e7eb;
  border-radius: 24px;
  background: #fff;
  padding: 28px;
  box-shadow: 0 8px 28px rgba(17,24,39,.06);
}

.gb-reset-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.gb-reset-form .form-row{
  margin: 0 0 20px !important;
  padding: 0 !important;
}

.gb-reset-form .woocommerce-password-strength{
  margin-top: 8px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #1ea7ff !important;
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  text-align: right !important;
}

.gb-reset-form .woocommerce-password-hint{
  margin-top: 8px !important;
  color: #6b7280 !important;
  font-size: 13px !important;
  line-height: 1.45 !important;
}

.gb-reset-card .gb-auth-submit-row{
  margin-top: 4px !important;
}

@media (max-width: 750px){
  .gb-reset-page{
    max-width: 100%;
  }

  .gb-reset-card{
    padding: 20px;
    border-radius: 20px;
  }

  .gb-reset-grid{
    grid-template-columns: 1fr;
    gap: 0;
  }
}

/* Remove WooCommerce notice icon on My Account */
.gb-account-clean-content .woocommerce-info::before,
.gb-account-clean-content .woocommerce-message::before,
.gb-account-clean-content .woocommerce-error::before{
  display: none !important;
  content: none !important;
}

/* Fix notice padding after removing the icon */
.gb-account-clean-content .woocommerce-info,
.gb-account-clean-content .woocommerce-message,
.gb-account-clean-content .woocommerce-error{
  padding-left: 16px !important;
}

/* =========================================================
   My Account: digital-only billing address
========================================================= */

.gb-account-address-note{
  margin: 0 0 20px !important;
  color: #6b7280;
  font-size: 15px;
  line-height: 1.55;
}

.gb-account-addresses{
  display: grid;
  grid-template-columns: minmax(0, 520px);
  gap: 18px;
}

.gb-account-addresses--billing-only{
  max-width: 560px;
}

.gb-account-address-card{
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  background: #fff;
  padding: 22px;
}

.gb-account-address-card__top{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}

.gb-account-address-card__title{
  margin: 0 !important;
  font-size: 26px !important;
  line-height: 1.1 !important;
  font-weight: 700 !important;
  color: #121212 !important;
}

.gb-account-address-card__edit,
.gb-account-address-card__edit:visited{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  color: #fff !important;
  text-decoration: none !important;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.gb-account-address-card__body{
  color: #6b7280;
  font-size: 15px;
  line-height: 1.55;
}

.gb-account-address-card__body p{
  margin: 0 !important;
}

.gb-account-address-card__body address{
  margin: 0 !important;
  font-style: normal;
  line-height: 1.6;
}

@media (max-width: 750px){
  .gb-account-addresses{
    grid-template-columns: 1fr;
  }

  .gb-account-address-card{
    padding: 18px;
    border-radius: 16px;
  }

  .gb-account-address-card__title{
    font-size: 23px !important;
  }
}

/* =========================================================
   My Account: account details form
========================================================= */

.gb-edit-account-form {
  max-width: 860px;
}

.gb-account-form-section {
  margin: 0 0 26px;
}

.gb-account-form-title {
  margin: 0 0 16px !important;
  font-size: 26px !important;
  line-height: 1.1 !important;
  font-weight: 700 !important;
  color: #121212 !important;
}

.gb-account-form-subtitle {
  margin: -8px 0 18px !important;
  color: #6b7280;
  font-size: 14px;
  line-height: 1.5;
}

.gb-account-form-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 18px !important;
  width: 100% !important;
}

.gb-edit-account-form .form-row {
  margin: 0 0 18px !important;
  padding: 0 !important;
  min-width: 0 !important;
}

.gb-edit-account-form .gb-account-form-grid .form-row-first,
.gb-edit-account-form .gb-account-form-grid .form-row-last {
  float: none !important;
  width: auto !important;
  clear: none !important;
  margin-right: 0 !important;
}

.gb-edit-account-form label {
  display: block;
  margin: 0 0 7px !important;
  color: #121212;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
}

.gb-edit-account-form .required {
  color: #ef4444;
  text-decoration: none !important;
}

.gb-edit-account-form input[type="text"],
.gb-edit-account-form input[type="email"],
.gb-edit-account-form input[type="password"],
.gb-edit-account-form input[type="tel"] {
  width: 100% !important;
  min-height: 50px !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 14px !important;
  background: #ffffff !important;
  padding: 12px 14px !important;
  box-shadow: none !important;
  color: #121212 !important;
  font-size: 15px !important;
  line-height: 1.3 !important;
}

.gb-edit-account-form input:focus {
  border-color: #1ea7ff !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(30, 167, 255, .14) !important;
}

.gb-account-field-help {
  display: block;
  margin-top: 7px;
  color: #9ca3af;
  font-size: 13px;
  line-height: 1.45;
  font-style: italic;
}

.gb-password-section {
  padding: 22px;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  background: #ffffff;
}

.gb-password-head {
  margin-bottom: 4px;
}

/* Custom password field wrapper */
.gb-edit-account-form .gb-password-field {
  position: relative;
  display: block !important;
  width: 100% !important;
}

/* Woo may wrap password inputs in span.password-input. Keep it visible. */
.gb-edit-account-form .gb-password-field .password-input {
  display: block !important;
  width: 100% !important;
  position: relative !important;
}

/* Password input spacing for custom icon */
.gb-edit-account-form .gb-password-field input,
.gb-edit-account-form .gb-password-field .password-input input {
  width: 100% !important;
  padding-right: 58px !important;
}

/* Custom password toggle */
.gb-edit-account-form .gb-password-toggle {
  position: absolute !important;
  right: 10px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 34px !important;
  height: 34px !important;
  min-width: 34px !important;
  min-height: 34px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: #f3f4f6 !important;
  color: #6b7280 !important;
  box-shadow: none !important;
  cursor: pointer !important;
  line-height: 1 !important;
  z-index: 4 !important;
  transition:
    background-color 160ms ease,
    color 160ms ease,
    opacity 160ms ease !important;
}

.gb-edit-account-form .gb-password-toggle:hover {
  background: #f3f4f6 !important;
  color: #121212 !important;
}

.gb-edit-account-form .gb-password-toggle:focus {
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(30, 167, 255, .16) !important;
}

.gb-edit-account-form .gb-password-toggle.is-active {
  background: rgba(30, 167, 255, .12) !important;
  color: #1ea7ff !important;
}

/* Password toggle SVG icons */
.gb-edit-account-form .gb-password-toggle__icon {
  width: 18px !important;
  height: 18px !important;
  display: block !important;
  color: currentColor !important;
  fill: none !important;
  pointer-events: none !important;
}

.gb-edit-account-form .gb-password-toggle__icon path,
.gb-edit-account-form .gb-password-toggle__icon circle {
  stroke: currentColor !important;
  fill: none !important;
}

.gb-edit-account-form .gb-password-toggle__icon--visible {
  display: none !important;
}

.gb-edit-account-form .gb-password-toggle__icon--hidden {
  display: block !important;
}

.gb-edit-account-form .gb-password-toggle.is-active .gb-password-toggle__icon--visible {
  display: block !important;
}

.gb-edit-account-form .gb-password-toggle.is-active .gb-password-toggle__icon--hidden {
  display: none !important;
}

/* Kill only WooCommerce default reveal button, not the password input wrapper */
.gb-edit-account-form .show-password-input,
.gb-edit-account-form .password-input .show-password-input {
  display: none !important;
}

/* Save button */
.gb-account-save-row {
  margin: 4px 0 0 !important;
}

.gb-account-save-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 46px !important;
  padding: 0 24px !important;
  border-radius: 999px !important;
  background: #1ea7ff !important;
  color: #ffffff !important;
  border: 0 !important;
  box-shadow: none !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: .06em !important;
  text-transform: uppercase !important;
}

.gb-account-save-btn:hover {
  background: #1cbcff !important;
  color: #ffffff !important;
}

@media (max-width: 750px) {
  .gb-edit-account-form {
    max-width: 100%;
  }

  .gb-account-form-grid {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }

  .gb-password-section {
    padding: 18px;
    border-radius: 16px;
  }

  .gb-account-save-btn {
    width: 100% !important;
  }
}

/* My Account lost password page: add top spacing */
body.woocommerce-lost-password .entry-content,
body.woocommerce-lost-password .woocommerce {
  padding-top: 18px !important;
}

body.woocommerce-lost-password .woocommerce-Button {
    text-transform: uppercase !important;
}

/* =========================================================
   My Account > Orders
========================================================= */
.gb-order-card__product-variant {
  margin-top: 4px;
  color: #9ca3af;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
}

@media (max-width: 640px) {
  .gb-order-card__product-variant {
    font-size: 12px;
  }
}
.gb-account-section {
  width: 100%;
}

.gb-account-section__head {
  margin-bottom: 22px;
}

.gb-account-section__title {
  margin: 0 0 6px !important;
  color: #121212;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.15;
}

.gb-account-section__sub {
  margin: 0 !important;
  color: #6b7280;
  font-size: 15px;
  line-height: 1.45;
}

.gb-orders-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.gb-order-card {
  width: 100%;
  padding: 16px 18px;
  border: 1px solid rgba(18, 18, 18, .10);
  border-radius: 16px;
  background: #ffffff;
}

.gb-order-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.gb-order-card__main {
  min-width: 0;
}

.gb-order-card__number {
  display: inline-block;
  color: #1ea7ff !important;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: underline !important;
  text-underline-offset: 3px;
}

.gb-order-card__number:hover {
  opacity: .72;
}

.gb-order-card__date {
  margin-top: 4px;
  color: #6b7280;
  font-size: 13px;
  line-height: 1.35;
}

.gb-order-card__badges {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex: 0 0 auto;
}

.gb-order-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  background: #f3f4f6;
  color: #374151;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.gb-order-status--completed {
  background: #e9fbf2;
  color: #00a862;
}

.gb-order-status--processing {
  background: #eef6ff;
  color: #1d4ed8;
}

.gb-order-status--on-hold,
.gb-order-status--pending {
  background: #fff7ed;
  color: #c2410c;
}

.gb-order-status--cancelled,
.gb-order-status--failed,
.gb-order-status--refunded {
  background: #fef2f2;
  color: #b91c1c;
}

.gb-order-card__product {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 13px;
  align-items: center;
  margin: 0 0 16px;
  padding: 13px 0;
  border-top: 1px solid rgba(18, 18, 18, .08);
  border-bottom: 1px solid rgba(18, 18, 18, .08);
}

.gb-order-card__product-media {
  width: 58px;
  height: 58px;
  overflow: hidden;
  border-radius: 8px;
  background: #f3f4f6;
  border: 1px solid rgba(18, 18, 18, .08);
}

.gb-order-card__product-img {
  display: block !important;
  width: 58px !important;
  height: 58px !important;
  max-width: none !important;
  object-fit: cover !important;
  object-position: center !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.gb-order-card__product-body {
  min-width: 0;
}

.gb-order-card__product-name {
  color: #121212;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}

.gb-order-card__product-more {
  display: inline-block;
  margin-left: 4px;
  color: #6b7280;
  font-weight: 600;
}

.gb-order-card__meta {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 26px;
  margin-bottom: 16px;
}

.gb-order-card__meta-row {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

.gb-order-card__meta-label {
  color: #6b7280;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
}

.gb-order-card__meta-value {
  color: #121212;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
}

.gb-order-card__meta-value .woocommerce-Price-amount,
.gb-order-card__meta-value .woocommerce-Price-amount bdi {
  color: #1ea7ff !important;
  font-weight: 700 !important;
}

.gb-order-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.gb-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none !important;
  text-transform: uppercase;
  letter-spacing: .04em;
  box-shadow: none !important;
}

.gb-btn--primary {
  background: #1cbcff !important;
  color: #ffffff !important;
  border: 1px solid #1cbcff !important;
}

.gb-btn--primary:hover {
  background: #1ea7ff !important;
  color: #ffffff !important;
}

.gb-btn--secondary {
  background: #ffffff !important;
  color: #1ea7ff !important;
  border: 1px solid rgba(18, 18, 18, .16) !important;
}

.gb-btn--secondary:hover {
  border-color: #1ea7ff !important;
}

.gb-orders-pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
}

.gb-empty {
  padding: 28px 20px;
  border: 1px solid rgba(18, 18, 18, .10);
  border-radius: 16px;
  background: #ffffff;
  text-align: center;
}

.gb-empty__title {
  margin: 0 0 8px !important;
  color: #121212;
  font-size: 20px;
  font-weight: 700;
}

.gb-empty__text {
  margin: 0 0 18px !important;
  color: #6b7280;
  font-size: 15px;
}

@media (max-width: 640px) {
  .gb-account-section__title {
    font-size: 23px;
  }

  .gb-order-card {
    padding: 16px;
    border-radius: 14px;
  }

  .gb-order-card__top {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
  }

  .gb-order-card__number {
    font-size: 15px;
  }

  .gb-order-card__date {
    font-size: 12px;
  }

  .gb-order-status {
      min-height: 23px;
      padding: 7px 15px;
      font-size: 14px;
  }

  .gb-order-card__product {
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 12px;
    margin-bottom: 16px;
  }

  .gb-order-card__product-media {
    width: 52px;
    height: 52px;
    border-radius: 7px;
  }

  .gb-order-card__product-img {
    width: 52px !important;
    height: 52px !important;
  }

  .gb-order-card__product-name {
    font-size: 13px;
  }

  .gb-order-card__meta {
    margin-bottom: 16px;
  }

  .gb-order-card__meta-value {
    font-size: 14px;
  }

  .gb-order-card__actions {
    flex-direction: column;
    gap: 9px;
  }

  .gb-btn {
    width: 100%;
    min-height: 42px;
  }
}

/* =========================================================
   My Account > View Order
========================================================= */

.gb-vieworder {
  width: 100%;
}

.gb-vieworder-head {
  margin-bottom: 22px;
}

.gb-vieworder-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.gb-vieworder-back {
  display: inline-flex;
  align-items: center;
  color: #6b7280 !important;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none !important;
}

.gb-vieworder-back:hover {
  color: #121212 !important;
}

.gb-account-card {
  width: 100%;
  padding: 16px 18px;
  border: 1px solid rgba(18, 18, 18, .10);
  border-radius: 16px;
  background: #ffffff;
}

.gb-account-card + .gb-account-card {
  margin-top: 16px;
}

.gb-vieworder-card {
  overflow: hidden;
}

.gb-vieworder-items {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.gb-vieworder-item {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(18, 18, 18, .08);
}

.gb-vieworder-item:first-child {
  padding-top: 0;
}

.gb-vieworder-item__thumb {
  width: 58px;
  height: 58px;
  overflow: hidden;
  border-radius: 8px;
  background: #f3f4f6;
  border: 1px solid rgba(18, 18, 18, .08);
}

.gb-vieworder-item__thumbimg {
  display: block !important;
  width: 58px !important;
  height: 58px !important;
  max-width: none !important;
  object-fit: cover !important;
  object-position: center !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.gb-vieworder-item__thumbph {
  width: 100%;
  height: 100%;
  background: #f3f4f6;
}

.gb-vieworder-item__main {
  min-width: 0;
}

.gb-vieworder-item__name {
  color: #121212;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}

.gb-vieworder-item__meta {
  margin-top: 5px;
  color: #6b7280;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
}

.gb-vieworder-item__meta-extra {
  color: #6b7280;
}

.gb-vieworder-item__price {
  color: #121212;
  font-size: 14px;
  font-weight: 700;
  text-align: right;
  white-space: nowrap;
}

.gb-vieworder-item__price .woocommerce-Price-amount,
.gb-vieworder-item__price .woocommerce-Price-amount bdi {
  color: #1ea7ff !important;
  font-weight: 700 !important;
}

.gb-vieworder-totals {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px 0 0;
}

.gb-vieworder-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
}

.gb-vieworder-total__label {
  color: #6b7280;
  font-size: 14px;
  font-weight: 700;
}

.gb-vieworder-total__value {
  color: #121212;
  font-size: 14px;
  font-weight: 700;
  text-align: right;
}

.gb-vieworder-total__value .woocommerce-Price-amount,
.gb-vieworder-total__value .woocommerce-Price-amount bdi {
  color: #121212 !important;
  font-weight: 700 !important;
}

.gb-vieworder-total--order_total,
.gb-vieworder-total--order-total {
  padding-top: 12px;
  margin-top: 4px;
  border-top: 1px solid rgba(18, 18, 18, .10);
}

.gb-vieworder-total--order_total .gb-vieworder-total__label,
.gb-vieworder-total--order-total .gb-vieworder-total__label,
.gb-vieworder-total--order_total .gb-vieworder-total__value,
.gb-vieworder-total--order-total .gb-vieworder-total__value {
  color: #121212;
  font-size: 17px;
  font-weight: 700;
}

.gb-vieworder-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

@media (max-width: 640px) {
  .gb-vieworder-head {
    margin-bottom: 18px;
  }

  .gb-vieworder-top {
    align-items: center;
    flex-direction: row;
    gap: 12px;
  }

  .gb-vieworder-back {
    font-size: 13px;
  }

  .gb-account-card {
    padding: 16px;
    border-radius: 14px;
  }

  .gb-vieworder-item {
    grid-template-columns: 52px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
  }

  .gb-vieworder-item__thumb {
    width: 52px;
    height: 52px;
    border-radius: 7px;
  }

  .gb-vieworder-item__thumbimg {
    width: 52px !important;
    height: 52px !important;
  }

  .gb-vieworder-item__name {
    font-size: 13px;
  }

  .gb-vieworder-item__meta {
    font-size: 12px;
  }

  .gb-vieworder-item__price {
    grid-column: 2;
    text-align: left;
  }

  .gb-vieworder-total {
    align-items: flex-start;
  }

  .gb-vieworder-actions {
    flex-direction: column;
    gap: 9px;
  }

  .gb-vieworder-actions .gb-btn {
    width: 100%;
  }
}
.gb-vieworder-item__variant {
  margin-top: 4px;
  color: #9ca3af;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
}

@media (max-width: 640px) {
  .gb-vieworder-item__variant {
    font-size: 12px;
  }
}
/* =========================================================
   My Account: edit billing/shipping address form
========================================================= */

.gb-edit-address-form {
  max-width: 860px;
}

.gb-edit-address-section {
  margin: 0 0 26px;
}

.gb-edit-address-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  width: 100%;
}

.gb-edit-address-form .form-row {
  float: none !important;
  width: auto !important;
  clear: none !important;
  margin: 0 0 18px !important;
  padding: 0 !important;
  min-width: 0 !important;
}

.gb-edit-address-form .form-row-wide {
  grid-column: 1 / -1;
}

.gb-edit-address-form .form-row-first,
.gb-edit-address-form .form-row-last {
  float: none !important;
  width: auto !important;
  clear: none !important;
  margin-right: 0 !important;
}

.gb-edit-address-form label {
  display: block;
  margin: 0 0 7px !important;
  color: #121212;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
}

.gb-edit-address-form .required {
  color: #ef4444;
  text-decoration: none !important;
}

.gb-edit-address-form input[type="text"],
.gb-edit-address-form input[type="email"],
.gb-edit-address-form input[type="tel"],
.gb-edit-address-form select,
.gb-edit-address-form textarea {
  width: 100% !important;
  min-height: 50px !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 14px !important;
  background: #ffffff !important;
  padding: 12px 14px !important;
  box-shadow: none !important;
  color: #121212 !important;
  font-size: 15px !important;
  line-height: 1.3 !important;
}

/* Native-looking select with custom right arrow */
.gb-edit-address-form select {
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;

  width: 100% !important;
  min-height: 50px !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 14px !important;
  background-color: #ffffff !important;

  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.5 7.5L10 12L14.5 7.5' fill='none' stroke='%23121212' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 10px center !important;
  background-size: 18px 18px !important;

  padding: 12px 48px 12px 14px !important;
  box-shadow: none !important;
  color: #121212 !important;
  font-size: 15px !important;
  line-height: 1.3 !important;
  cursor: pointer !important;
}

.gb-edit-address-form textarea {
  min-height: 110px !important;
  resize: vertical;
}

.gb-edit-address-form input:focus,
.gb-edit-address-form select:focus,
.gb-edit-address-form textarea:focus {
  border-color: #1ea7ff !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(30, 167, 255, .14) !important;
}

/* Kill Select2/SelectWoo visual wrappers on account address page */
.gb-edit-address-form .select2,
.gb-edit-address-form .select2-container,
.gb-edit-address-form .select2-container--default,
.gb-edit-address-form .select2-selection,
.gb-edit-address-form .select2-dropdown {
  display: none !important;
}

.gb-edit-address-form select.select2-hidden-accessible {
  position: static !important;
  width: 100% !important;
  height: 50px !important;
  min-height: 50px !important;
  margin: 0 !important;
  padding: 12px 14px !important;
  overflow: visible !important;
  clip: auto !important;
  clip-path: none !important;
  border: 1px solid #e5e7eb !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.gb-address-save-row {
  margin: 4px 0 0 !important;
}

@media (max-width: 750px) {
  .gb-edit-address-form {
    max-width: 100%;
  }

  .gb-edit-address-fields {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .gb-edit-address-form .form-row-wide {
    grid-column: auto;
  }

  .gb-address-save-row .gb-account-save-btn {
    width: 100% !important;
  }
}
