/* My Account: log in / create account / forgot + set password.
   Templates: woocommerce/myaccount/form-login.php, form-lost-password.php,
   lost-password-confirmation.php, form-reset-password.php. Logic: inc/account.php. */

/* The card carries the page heading; Woo's two-column account grid is for the dashboard. */
.hamayl-auth-page .woocommerce{display:block;max-width:none}

.hamayl-auth{max-width:460px;margin:4px auto 40px;color:var(--ink)}
.hamayl-auth__card{padding:24px 20px 20px;border:1px solid var(--line);border-radius:24px;background:var(--paper,#fff);box-shadow:var(--shadow)}
.hamayl-auth__card--center{text-align:center}

/* Head */
.hamayl-auth__head{margin:0 0 18px;text-align:center}
.hamayl-auth__title{margin:0 0 6px;font-family:var(--display);font-weight:600;font-size:28px;line-height:1.15;letter-spacing:-.012em;color:var(--ink)}
.hamayl-auth__lead{margin:0;font-size:14.5px;line-height:1.5;color:var(--muted)}
.hamayl-auth [hidden]{display:none!important}
.hamayl-auth__badge{display:inline-grid;place-items:center;width:52px;height:52px;margin:0 0 12px;border-radius:50%;background:var(--accent-soft);color:var(--accent-2)}
.hamayl-auth__badge svg{width:24px;height:24px}
.hamayl-auth__badge.is-ok{background:var(--sage-soft);color:var(--sage)}

/* Tabs: a segmented switch */
.hamayl-auth__tabs{display:grid;grid-template-columns:1fr 1fr;gap:4px;margin:0 0 20px;padding:4px;border:1px solid var(--line);border-radius:999px;background:var(--soft)}
.hamayl-auth__tab{display:flex;align-items:center;justify-content:center;min-height:42px;padding:0 10px;border-radius:999px;font-size:14px;font-weight:700;color:var(--muted);text-decoration:none;transition:background-color .2s var(--ease),color .2s var(--ease),box-shadow .2s var(--ease)}
.hamayl-auth__tab:hover{color:var(--ink)}
.hamayl-auth__tab[aria-selected="true"]{background:var(--paper,#fff);color:var(--ink);box-shadow:0 1px 3px rgba(42,26,46,.14)}
.hamayl-auth__tab:focus-visible{outline:2px solid var(--accent-2);outline-offset:2px}

/* Perks (create account) */
.hamayl-auth__perks{display:grid;gap:12px;margin:0 0 18px;padding:14px;list-style:none;border-radius:16px;background:var(--accent-soft)}
.hamayl-auth__perks li{display:flex;align-items:center;gap:12px;margin:0}
.hamayl-auth__perk-icon{display:grid;flex:0 0 36px;place-items:center;width:36px;height:36px;border-radius:10px;background:var(--paper,#fff);color:var(--accent-2)}
.hamayl-auth__perks strong{display:block;font-size:14px;line-height:1.3;color:var(--ink)}
.hamayl-auth__perks small{display:block;font-size:12.5px;line-height:1.35;color:var(--muted)}

/* Fields */
.hamayl-auth form{margin:0}
.hamayl-auth .form-row{float:none;width:100%;margin:0 0 14px;padding:0}
.hamayl-auth .clear{display:none}
.hamayl-auth label{display:block;margin:0 0 6px;font-size:14px;font-weight:700;color:var(--ink)}
.hamayl-auth label .required{color:var(--coral-ink,var(--sale));text-decoration:none;border:0}
.hamayl-auth__labelrow{display:flex;align-items:baseline;justify-content:space-between;gap:12px}
.hamayl-auth__labelrow label{margin-bottom:6px}
.hamayl-auth__forgot{font-size:13px;font-weight:600;color:var(--accent-2);text-decoration:none;white-space:nowrap}
.hamayl-auth__forgot:hover{text-decoration:underline}
.hamayl-auth .input-text,
.hamayl-auth input[type="email"],
.hamayl-auth input[type="text"],
.hamayl-auth input[type="password"]{
  display:block;width:100%;min-height:52px;margin:0;padding:12px 16px;border:1.5px solid var(--line);border-radius:14px;
  background:var(--paper,#fff);font-size:16px;line-height:1.4;color:var(--ink);box-shadow:none;appearance:none;
  transition:border-color .2s ease,box-shadow .2s ease
}
.hamayl-auth .input-text::placeholder{color:#a99aa4}
.hamayl-auth .input-text:hover{border-color:#d6c6bb}
.hamayl-auth .input-text:focus{outline:none;border-color:var(--accent-2);box-shadow:0 0 0 4px rgba(90,45,94,.18);background:var(--paper,#fff)}
.hamayl-auth .woocommerce-invalid .input-text{border-color:#e8a59b}

/* Show / hide password (button added by WooCommerce JS) */
.hamayl-auth .password-input{position:relative;display:block}
.hamayl-auth .password-input .input-text{padding-right:54px}
.hamayl-auth .show-password-input{
  position:absolute;top:50%;right:5px;display:grid;place-items:center;width:44px;height:44px;min-height:0;margin:0;padding:0;
  transform:translateY(-50%);border:0;border-radius:10px;background:transparent;color:var(--muted);box-shadow:none;cursor:pointer
}
.hamayl-auth .show-password-input:hover{background:var(--soft);color:var(--ink)}
.hamayl-auth .show-password-input:focus-visible{outline:2px solid var(--accent-2);outline-offset:-2px}
.hamayl-auth .show-password-input::after{
  content:"";display:block;width:20px;height:20px;margin:0;font-family:inherit;background:currentColor;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.6-7 10-7 10 7 10 7-3.6 7-10 7S2 12 2 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center/contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.6-7 10-7 10 7 10 7-3.6 7-10 7S2 12 2 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center/contain no-repeat
}
.hamayl-auth .show-password-input.display-password::after{
  -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10.6 5.1A10.6 10.6 0 0 1 12 5c6.4 0 10 7 10 7a17 17 0 0 1-2.6 3.5M6.6 6.6A17 17 0 0 0 2 12s3.6 7 10 7a9.7 9.7 0 0 0 5.4-1.6'/%3E%3Cpath d='M9.9 9.9a3 3 0 0 0 4.2 4.2M3 3l18 18'/%3E%3C/svg%3E");
  mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10.6 5.1A10.6 10.6 0 0 1 12 5c6.4 0 10 7 10 7a17 17 0 0 1-2.6 3.5M6.6 6.6A17 17 0 0 0 2 12s3.6 7 10 7a9.7 9.7 0 0 0 5.4-1.6'/%3E%3Cpath d='M9.9 9.9a3 3 0 0 0 4.2 4.2M3 3l18 18'/%3E%3C/svg%3E")
}

/* Keep me logged in */
.hamayl-auth .hamayl-auth__check{display:inline-flex;align-items:center;gap:10px;margin:2px 0 16px;font-size:14px;font-weight:500;color:var(--ink-2);cursor:pointer}
.hamayl-auth input[type="checkbox"]{flex:0 0 20px;width:20px;height:20px;min-height:0;margin:0;padding:0;border:0;background:none;box-shadow:none;appearance:auto;-webkit-appearance:checkbox;accent-color:var(--accent-2);cursor:pointer}

/* Submit */
.hamayl-auth__submitrow{margin:4px 0 0!important}
.hamayl-auth .hamayl-auth__submit{
  position:relative;display:flex;align-items:center;justify-content:center;width:100%;min-height:52px;margin:0;padding:0 20px;
  border:0;border-radius:999px;background:var(--ink);color:#fff;font-size:16px;font-weight:700;letter-spacing:.01em;cursor:pointer;
  transition:background-color .2s var(--ease),transform .2s var(--ease)
}
.hamayl-auth .hamayl-auth__submit:hover{background:var(--accent-2);color:#fff}
.hamayl-auth .hamayl-auth__submit:active{background:#160C19;transform:translateY(1px)}
.hamayl-auth .hamayl-auth__submit:focus-visible{outline:3px solid rgba(90,45,94,.35);outline-offset:2px}
.hamayl-auth .hamayl-auth__submit:disabled{background:#cbbfc6;cursor:not-allowed}
.hamayl-auth .hamayl-auth__submit.is-busy{color:transparent;pointer-events:none}
.hamayl-auth .hamayl-auth__submit.is-busy::after{content:"";position:absolute;width:20px;height:20px;border:2.5px solid rgba(255,255,255,.4);border-top-color:#fff;border-radius:50%;animation:hamayl-auth-spin .7s linear infinite}
@keyframes hamayl-auth-spin{to{transform:rotate(360deg)}}

/* Email-only sign-up note + privacy text */
.hamayl-auth__mailnote{display:flex;align-items:flex-start;gap:10px;margin:0 0 14px;padding:12px 14px;border:1px dashed var(--line);border-radius:14px;font-size:13.5px;line-height:1.45;color:var(--ink-2)}
.hamayl-auth__mailnote svg{flex:0 0 20px;margin-top:1px;color:var(--accent-2)}
.hamayl-auth .woocommerce-privacy-policy-text{margin:0 0 14px;font-size:12.5px;line-height:1.5;color:var(--muted)}
.hamayl-auth .woocommerce-privacy-policy-text p{margin:0}
.hamayl-auth .woocommerce-privacy-policy-text a{color:inherit;text-decoration:underline}

/* Switch between log in and sign up */
.hamayl-auth__switch{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:4px 8px;margin:18px 0 0;padding-top:16px;border-top:1px solid var(--line);font-size:14px;color:var(--muted)}
.hamayl-auth__alt{font-weight:700;color:var(--accent-2);text-decoration:underline;text-underline-offset:3px}
.hamayl-auth__alt:hover{color:var(--ink)}
.hamayl-auth__back{display:inline-flex;align-items:center;gap:6px;font-weight:700;color:var(--ink);text-decoration:none}
.hamayl-auth__back:hover{text-decoration:underline}
.hamayl-auth__back svg{width:18px;height:18px}

/* Guest order tracking, under the card */
.hamayl-auth__track{display:flex;align-items:center;gap:12px;margin:14px 0 0;padding:14px 16px;border:1px solid var(--line);border-radius:16px;background:var(--soft);font-size:13.5px;font-weight:600;line-height:1.35;color:var(--ink-2);text-decoration:none;transition:border-color .2s ease,color .2s ease}
.hamayl-auth__track span{flex:1 1 auto}
.hamayl-auth__track svg{flex:0 0 20px;color:var(--accent-2)}
.hamayl-auth__track:hover{border-color:var(--accent-2);color:var(--ink)}

/* Check-your-email card */
.hamayl-auth .hamayl-auth__cta{display:flex;width:100%;min-height:52px;margin:20px 0 0;border-radius:999px}
.hamayl-auth__fine{margin:14px 0 0;font-size:13px;line-height:1.5;color:var(--muted)}
.hamayl-auth__fine a{font-weight:700;color:var(--accent-2)}

/* Notices inside the card */
.hamayl-auth .woocommerce-notices-wrapper:empty{display:none}
.hamayl-auth .woocommerce-error,
.hamayl-auth .woocommerce-message,
.hamayl-auth .woocommerce-info{
  display:block;margin:0 0 16px;padding:12px 14px;list-style:none;border:0;border-radius:14px;
  font-size:14px;line-height:1.45;text-align:left
}
.hamayl-auth .woocommerce-error{background:#FCE8E5;color:#8A2A1E}
.hamayl-auth .woocommerce-message{background:var(--sage-soft);color:#1F5B3C}
.hamayl-auth .woocommerce-info{background:var(--accent-soft);color:var(--ink)}
.hamayl-auth .woocommerce-error::before,.hamayl-auth .woocommerce-message::before,.hamayl-auth .woocommerce-info::before{display:none}
.hamayl-auth .woocommerce-notices-wrapper{margin:0;padding:0}
.hamayl-auth .woocommerce-error li,.hamayl-auth .woocommerce-message li,.hamayl-auth .woocommerce-info li{margin:0;padding:0;border:0;background:none;box-shadow:none}
.hamayl-auth .woocommerce-error li+li{margin-top:4px}
.hamayl-auth .woocommerce-error a,.hamayl-auth .woocommerce-message a,.hamayl-auth .woocommerce-info a{color:inherit;font-weight:700;text-decoration:underline}

/* Password strength (set / reset password) */
.hamayl-auth .woocommerce-password-strength{margin:8px 0 0;padding:6px 10px;border-radius:8px;font-size:13px;font-weight:600;text-align:left}
.hamayl-auth .woocommerce-password-strength.short{background:#FCE8E5;color:#8A2A1E}
.hamayl-auth .woocommerce-password-strength.bad{background:var(--sun-soft);color:#7A4A12}
.hamayl-auth .woocommerce-password-strength.good,
.hamayl-auth .woocommerce-password-strength.strong{background:var(--sage-soft);color:#1F5B3C}
.hamayl-auth .woocommerce-password-hint{display:block;margin:6px 0 0;font-size:12.5px;line-height:1.45;color:var(--muted)}

@media (min-width:768px){
  .hamayl-auth{margin:20px auto 56px}
  .hamayl-auth__card{padding:32px 32px 26px}
  .hamayl-auth__title{font-size:32px}
}

/* ================================================================
   Logged-in account (body.hamayl-acct): menu, overview, orders, order,
   profile, address. Templates: woocommerce/myaccount/*.php.
   ================================================================ */
.hamayl-acct .woocommerce-MyAccount-content{min-width:0;padding:0;border:0;background:none;box-shadow:none}
.hamayl-acct .woocommerce-MyAccount-content > .woocommerce-notices-wrapper:empty{display:none}

/* Menu: swipeable chips on phones, sidebar on desktop */
.woocommerce-account .hamayl-acctnav{margin:0 -14px 18px;padding:0;border:0;background:none;box-shadow:none}
.hamayl-acctnav ul{display:flex;flex-direction:row;gap:8px;margin:0;padding:2px 14px 6px;list-style:none;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.hamayl-acctnav ul::-webkit-scrollbar{display:none}
.hamayl-acctnav li{flex:0 0 auto;margin:0;padding:0;border:0;background:none}
.hamayl-acctnav a{display:inline-flex;align-items:center;gap:8px;min-height:42px;padding:0 14px;border:1px solid var(--line);border-radius:999px;background:#fff;font-size:13.5px;font-weight:700;color:var(--ink-2);text-decoration:none;white-space:nowrap;transition:border-color .2s ease,background-color .2s ease,color .2s ease}
.hamayl-acctnav a svg{flex:0 0 18px;width:18px;height:18px;color:var(--muted)}
.hamayl-acctnav a:hover{border-color:var(--ink);color:var(--ink)}
.hamayl-acctnav .is-active a{border-color:var(--ink);background:var(--ink);color:#fff}
.hamayl-acctnav .is-active a svg{color:#fff}
.hamayl-acctnav .woocommerce-MyAccount-navigation-link--customer-logout a{border-style:dashed;color:var(--muted)}

/* Shared card */
.hamayl-dash{display:grid;grid-template-columns:minmax(0,1fr);gap:14px}
.hamayl-dash__card{margin:0 0 14px;padding:18px;border:1px solid var(--line);border-radius:20px;background:#fff;box-shadow:var(--shadow)}
.hamayl-dash .hamayl-dash__card{margin:0}
.hamayl-dash__card h3{margin:0;font-family:var(--display);font-size:19px;font-weight:600;line-height:1.2;color:var(--ink)}
.hamayl-dash__cardhead{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 14px}
.hamayl-dash__more{font-size:13.5px;font-weight:700;color:var(--accent-2);text-decoration:underline;text-underline-offset:3px;white-space:nowrap}
.hamayl-dash__more:hover{color:var(--ink)}
.hamayl-dash__muted{margin:0;font-size:14px;line-height:1.5;color:var(--muted)}
.hamayl-dash__btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px;padding:0 18px;border-radius:999px;font-size:14.5px}
.hamayl-dash__btn svg{flex:0 0 18px;width:18px;height:18px}

/* Hello */
.hamayl-dash__hello{display:flex;align-items:center;gap:14px;padding:4px 2px}
.hamayl-dash__avatar{display:grid;flex:0 0 52px;place-items:center;width:52px;height:52px;border-radius:50%;background:var(--accent-soft);font-family:var(--display);font-size:22px;font-weight:600;color:var(--accent-2)}
.hamayl-dash__who{flex:1 1 auto;min-width:0}
.hamayl-dash__who h2{margin:0;font-family:var(--display);font-size:24px;font-weight:600;line-height:1.15;color:var(--ink)}
.hamayl-dash__who p{margin:2px 0 0;overflow:hidden;font-size:13.5px;color:var(--muted);text-overflow:ellipsis;white-space:nowrap}
.hamayl-dash__logout{flex:0 0 auto;font-size:13px;font-weight:700;color:var(--muted);text-decoration:underline;text-underline-offset:3px}
.hamayl-dash__logout:hover{color:var(--ink)}

/* Waiting on you */
.hamayl-dash__alert{display:flex;align-items:flex-start;gap:12px;padding:14px 16px;border:1px solid #F1D9A8;border-radius:16px;background:var(--sun-soft)}
.hamayl-dash__alert svg{flex:0 0 20px;width:20px;height:20px;margin-top:2px;color:#9A6200}
.hamayl-dash__alert p{display:grid;gap:2px;margin:0;font-size:13.5px;line-height:1.45;color:#5C4210}
.hamayl-dash__alert strong{font-size:14.5px;color:var(--ink)}

/* Status pills */
.hamayl-pill{display:inline-flex;flex:0 0 auto;align-items:center;min-height:26px;padding:0 10px;border-radius:999px;font-size:12px;font-weight:800;letter-spacing:.01em;white-space:nowrap}
.hamayl-pill.is-go{background:var(--accent-soft);color:var(--accent-2)}
.hamayl-pill.is-wait{background:var(--sun-soft);color:#7A4A00}
.hamayl-pill.is-ok{background:var(--sage-soft);color:#1F5B3C}
.hamayl-pill.is-bad{background:#FCE8E5;color:var(--coral-ink)}

/* Product photos */
.hamayl-thumbs{display:flex;flex:0 0 auto}
.hamayl-thumb{display:grid;flex:0 0 48px;place-items:center;width:48px;height:48px;overflow:hidden;border:2px solid #fff;border-radius:12px;background:var(--cream);font-size:12px;font-weight:800;color:var(--muted)}
.hamayl-thumb+.hamayl-thumb{margin-left:-14px}
.hamayl-thumb img{display:block;width:100%;height:100%;object-fit:cover}

/* Latest order */
.hamayl-latest__row{display:flex;align-items:center;gap:12px;padding:12px;border-radius:14px;background:var(--cream);color:inherit;text-decoration:none}
.hamayl-latest__row:hover{background:var(--sun-soft)}
.hamayl-latest__info{display:grid;flex:1 1 auto;gap:2px;min-width:0}
.hamayl-latest__info strong{font-size:15px;color:var(--ink)}
.hamayl-latest__info small{font-size:12.5px;color:var(--muted)}
.hamayl-latest__total{flex:0 0 auto;font-size:15px;font-weight:800;color:var(--ink)}
.hamayl-latest__note{margin:12px 0 0;font-size:13.5px;line-height:1.5;color:var(--ink-2)}
.hamayl-latest__actions{display:flex;flex-wrap:wrap;gap:10px;margin:14px 0 0}
.hamayl-latest__actions:empty{display:none}
.hamayl-latest__actions .hamayl-dash__btn{flex:1 1 180px}

/* Progress: Placed, Confirmed, With courier, Delivered */
.hamayl-progress{display:grid;grid-template-columns:repeat(4,1fr);margin:16px 0 0;padding:0;list-style:none}
.hamayl-progress li{position:relative;margin:0;padding:22px 2px 0;font-size:11.5px;font-weight:600;line-height:1.25;text-align:center;color:var(--muted)}
.hamayl-progress li::before{content:"";position:absolute;top:4px;left:50%;z-index:1;width:12px;height:12px;margin-left:-6px;border:2px solid var(--line);border-radius:50%;background:#fff;box-sizing:border-box}
.hamayl-progress li::after{content:"";position:absolute;top:9px;right:50%;left:-50%;height:2px;background:var(--line)}
.hamayl-progress li:first-child::after{display:none}
.hamayl-progress li.is-done::before{border-color:var(--sage);background:var(--sage)}
.hamayl-progress li.is-done::after,.hamayl-progress li.is-now::after{background:var(--sage)}
.hamayl-progress li.is-now{color:var(--ink);font-weight:800}
.hamayl-progress li.is-now::before{top:2px;width:16px;height:16px;margin-left:-8px;border:3px solid var(--accent-2);background:#fff;box-shadow:0 0 0 4px var(--accent-soft)}

/* Earlier orders */
.hamayl-minilist{display:grid;margin:0;padding:0;list-style:none}
.hamayl-minilist li{margin:0;padding:0;border:0;border-top:1px solid var(--line);background:none}
.hamayl-minilist li:first-child{border-top:0}
.hamayl-minilist a{display:grid;grid-template-columns:40px minmax(0,1fr);grid-template-areas:"t i" "t p";align-items:center;gap:4px 12px;padding:10px 0;color:inherit;text-decoration:none}
.hamayl-minilist .hamayl-thumbs{grid-area:t;align-self:start}
.hamayl-minilist .hamayl-thumb.is-more{display:none}
.hamayl-minilist .hamayl-pill{grid-area:p;justify-self:start}
.hamayl-minilist a:hover strong{text-decoration:underline}
.hamayl-minilist .hamayl-thumb{flex-basis:40px;width:40px;height:40px;border-radius:10px}
.hamayl-minilist__info{display:grid;grid-area:i;gap:1px;min-width:0}
.hamayl-minilist__info strong{font-size:14px;color:var(--ink)}
.hamayl-minilist__info small{font-size:12.5px;color:var(--muted)}

/* Address + help */
.hamayl-dash__grid{display:grid;gap:14px}
.hamayl-dash__addr address{margin:0;font-size:14px;font-style:normal;line-height:1.55;color:var(--ink-2)}
.hamayl-dash__phone{margin:6px 0 0;font-size:14px;font-weight:700;color:var(--ink)}
.hamayl-dash__help h3{margin-bottom:6px}
.hamayl-dash__help .hamayl-dash__btn{margin-top:14px}
.hamayl-dash__wa svg{color:#128C4B}

/* Empty */
.hamayl-dash__empty{text-align:center}
.hamayl-dash__emptyicon{display:inline-grid;place-items:center;width:52px;height:52px;margin:0 0 10px;border-radius:50%;background:var(--accent-soft);color:var(--accent-2)}
.hamayl-dash__emptyicon svg{width:24px;height:24px}
.hamayl-dash__empty h3{margin-bottom:6px}
.hamayl-dash__empty p{margin:0 0 16px;font-size:14px;color:var(--muted)}

/* My orders */
.hamayl-orders{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;margin:0;padding:0;list-style:none}
.hamayl-orders > li.hamayl-order{margin:0;padding:14px;border:1px solid var(--line);border-radius:18px;background:#fff;box-shadow:var(--shadow)}
.hamayl-orders > li.hamayl-order{min-width:0}
.hamayl-order__main{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"t p" "i s";align-items:center;gap:10px 12px;color:inherit;text-decoration:none}
.hamayl-order__main .hamayl-thumbs{grid-area:t}
.hamayl-order__main .hamayl-pill{grid-area:p;justify-self:end}
.hamayl-order__main:hover strong{text-decoration:underline}
.hamayl-order__info{display:grid;grid-area:i;gap:2px;min-width:0}
.hamayl-order__info strong{font-size:15px;color:var(--ink)}
.hamayl-order__info small{font-size:12.5px;color:var(--muted)}
.hamayl-order__right{display:contents}
.hamayl-order__total{grid-area:s;align-self:start;justify-self:end;font-size:15px;font-weight:800;color:var(--ink)}
.hamayl-order__note{margin:12px 0 0;padding-top:10px;border-top:1px solid var(--line);font-size:13px;line-height:1.45;color:var(--ink-2)}
.hamayl-order__extra{margin:8px 0 0;font-size:13px;color:var(--muted)}
.hamayl-order__actions{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 0}
.hamayl-order .hamayl-order__btn{display:inline-flex;align-items:center;gap:8px;min-height:42px;padding:0 16px;border-radius:999px;font-size:13.5px}
.hamayl-order .hamayl-order__btn svg{flex:0 0 17px;width:17px;height:17px}
.woocommerce-account .hamayl-order .hamayl-order__act{display:inline-flex;align-items:center;width:auto;min-height:42px;margin:0;padding:0 16px;border:1.5px solid var(--line);border-radius:999px;background:#fff;font-size:13.5px;font-weight:700;color:var(--ink);text-decoration:none}
.woocommerce-account .hamayl-order .hamayl-order__act:hover{border-color:var(--ink);background:#fff;color:var(--ink)}
.hamayl-orders__pages{display:flex;justify-content:space-between;gap:10px;margin:16px 0 0}
.woocommerce-account .hamayl-orders__pages .button{width:auto;min-height:44px;padding:0 18px;border-radius:999px}

/* One order */
.hamayl-vieworder__title{margin:0 0 2px;font-family:var(--display);font-size:22px;font-weight:600;line-height:1.2;color:var(--ink)}
.hamayl-vieworder .hamayl-dash__cardhead{align-items:flex-start}
.hamayl-vieworder__date{margin:0;font-size:13.5px;color:var(--muted)}
.hamayl-acct-view-order .woocommerce-order-details > p:has(a[href*="digidokaan"]){display:none}
.hamayl-updates h3{margin-bottom:12px}
.hamayl-updates__list{display:grid;gap:10px;margin:0;padding:0;list-style:none}
.hamayl-updates__list li{margin:0;padding:12px 14px;border:0;border-radius:12px;background:var(--cream)}
.hamayl-updates__list .meta{margin:0 0 4px;font-size:12px;font-weight:700;color:var(--muted)}
.hamayl-updates__list .description p{margin:0;font-size:14px;line-height:1.5;color:var(--ink)}
.hamayl-acct-view-order .woocommerce-order-details,
.hamayl-acct-view-order .woocommerce-customer-details{margin:0 0 14px;padding:18px;border:1px solid var(--line);border-radius:20px;background:#fff;box-shadow:var(--shadow)}
.hamayl-acct-view-order .woocommerce-order-details__title,
.hamayl-acct-view-order .woocommerce-column__title{margin:0 0 12px;font-family:var(--display);font-size:19px;font-weight:600;color:var(--ink)}
.hamayl-acct-view-order table.order_details{width:100%;margin:0;border:0;border-collapse:collapse;font-size:14px}
.hamayl-acct-view-order table.order_details th,
.hamayl-acct-view-order table.order_details td{padding:10px 0;border:0;border-top:1px solid var(--line);text-align:left;vertical-align:top;background:none}
.hamayl-acct-view-order table.order_details thead th{border-top:0;font-size:12px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;color:var(--muted)}
.hamayl-acct-view-order table.order_details td:last-child,
.hamayl-acct-view-order table.order_details th:last-child{padding-left:12px;text-align:right}
.hamayl-acct-view-order table.order_details tfoot tr:last-child th,
.hamayl-acct-view-order table.order_details tfoot tr:last-child td{font-size:16px;font-weight:800;color:var(--ink)}
.hamayl-acct-view-order table.order_details tfoot th.order-actions--heading{font-size:12px;font-weight:800;color:var(--muted)}
.hamayl-acct-view-order table.order_details tfoot tr:has(+ tr > .order-actions--heading) th,
.hamayl-acct-view-order table.order_details tfoot tr:has(+ tr > .order-actions--heading) td{font-size:16px;font-weight:800;color:var(--ink)}
.woocommerce-account.hamayl-acct-view-order table.order_details .order-actions-button{width:auto;min-height:40px;margin:0 0 0 6px;padding:0 16px;border-radius:999px;font-size:13.5px}
.hamayl-acct-view-order .wc-item-meta{margin:4px 0 0;padding:0;list-style:none;font-size:12.5px;color:var(--muted)}
.hamayl-acct-view-order .wc-item-meta li{margin:0;padding:0;border:0;background:none}
.hamayl-acct-view-order .wc-item-meta li p,.hamayl-acct-view-order .wc-item-meta strong{display:inline;margin:0}
.hamayl-acct-view-order .order-again{margin:14px 0 0}
.hamayl-acct-view-order .order-again .button{width:auto;min-height:46px;padding:0 20px;border-radius:999px}
.hamayl-acct-view-order .woocommerce-customer-details address{margin:0;padding:0;border:0;font-style:normal;font-size:14px;line-height:1.55;color:var(--ink-2)}
.hamayl-acct-view-order .woocommerce-customer-details .col2-set{display:grid;gap:14px;width:auto}
.hamayl-acct-view-order .woocommerce-customer-details .col2-set::before,
.hamayl-acct-view-order .woocommerce-customer-details .col2-set::after{display:none}
.hamayl-acct-view-order .woocommerce-customer-details .col2-set .woocommerce-column{float:none;width:auto;margin:0;padding:0;border:0;background:none;box-shadow:none}

/* Profile & password */
.hamayl-profile .form-row{float:none;width:100%;margin:0 0 14px;padding:0}
.hamayl-profile .form-row label{display:block;margin:0 0 6px;font-size:13.5px;font-weight:700;color:var(--ink)}
.hamayl-profile__row{display:grid;gap:0 12px}
.hamayl-profile__hint{display:block;margin:6px 0 0;font-size:12.5px;line-height:1.45;color:var(--muted)}
.hamayl-profile__hint a{font-weight:700;color:var(--accent-2)}
.hamayl-profile__pw{margin:4px 0 16px;border:1px solid var(--line);border-radius:14px;background:var(--cream)}
.hamayl-profile__pw summary{display:flex;align-items:center;gap:10px;min-height:50px;padding:0 14px;font-size:14.5px;font-weight:700;color:var(--ink);cursor:pointer;list-style:none}
.hamayl-profile__pw summary::-webkit-details-marker{display:none}
.hamayl-profile__pw summary::after{content:"";width:8px;height:8px;margin-left:auto;border-right:2px solid var(--muted);border-bottom:2px solid var(--muted);transform:rotate(45deg) translateY(-3px);transition:transform .2s var(--ease)}
.hamayl-profile__pw[open] summary::after{transform:rotate(-135deg) translateY(-1px)}
.hamayl-profile__pw summary svg{flex:0 0 18px;width:18px;height:18px;color:var(--accent-2)}
.hamayl-profile__pw fieldset{margin:0;padding:4px 14px 2px;border:0}
.hamayl-profile .input-text{width:100%;min-height:50px;padding:0 14px;border:1.5px solid var(--line);border-radius:14px;background:#fff;font-size:16px;color:var(--ink)}
.hamayl-profile .input-text:focus{outline:none;border-color:var(--accent-2);box-shadow:0 0 0 4px var(--accent-soft)}
.hamayl-profile .password-input{position:relative;display:block}
.hamayl-profile .password-input .input-text{padding-right:54px}
.hamayl-profile .show-password-input{position:absolute;top:50%;right:5px;display:grid;place-items:center;width:44px;height:44px;min-height:0;margin:0;padding:0;transform:translateY(-50%);border:0;border-radius:10px;background:transparent;color:var(--muted);cursor:pointer}
.hamayl-profile .show-password-input::before{display:none}
.hamayl-profile .show-password-input::after{content:"";display:block;width:20px;height:20px;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.6-7 10-7 10 7 10 7-3.6 7-10 7S2 12 2 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.6-7 10-7 10 7 10 7-3.6 7-10 7S2 12 2 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center/contain no-repeat}
.hamayl-profile .show-password-input.display-password{color:var(--accent-2)}
.hamayl-profile__save{margin:0}
.woocommerce-account .hamayl-profile__save .button{width:100%;min-height:50px;border-radius:999px}

/* Address page */
.hamayl-acct-edit-address .woocommerce-MyAccount-content > form{padding:18px;border:1px solid var(--line);border-radius:20px;background:#fff;box-shadow:var(--shadow)}
.hamayl-acct-edit-address .woocommerce-MyAccount-content > form > h2,
.hamayl-acct-edit-address .woocommerce-MyAccount-content > form > h3{margin:0 0 14px;font-family:var(--display);font-size:20px;font-weight:600}
.hamayl-acct-edit-address .woocommerce-address-fields .button{width:100%;min-height:50px;border-radius:999px}
.hamayl-acct .woocommerce-Addresses{display:grid;gap:14px;width:auto}
.hamayl-acct .woocommerce-Addresses::before,.hamayl-acct .woocommerce-Addresses::after{display:none}
.hamayl-acct .woocommerce-MyAccount-content .woocommerce-Address{float:none;width:auto;margin:0;padding:18px;border:1px solid var(--line);border-radius:20px;background:#fff;box-shadow:var(--shadow)}
.hamayl-acct .woocommerce-Address-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 10px}
.hamayl-acct .woocommerce-Address-title h2{margin:0;font-family:var(--display);font-size:19px;font-weight:600}
.hamayl-acct .woocommerce-Address-title .edit{font-size:13.5px;font-weight:700;color:var(--accent-2);text-decoration:underline;text-underline-offset:3px}
.hamayl-acct .woocommerce-Address__phone{display:block;margin-top:6px;font-weight:700;color:var(--ink)}
.hamayl-acct .woocommerce-Address address{margin:0;font-style:normal;font-size:14px;line-height:1.55;color:var(--ink-2)}

@media (min-width:600px){
  .hamayl-dash__grid{grid-template-columns:1fr 1fr}
  .hamayl-minilist a{grid-template-columns:40px minmax(0,1fr) auto;grid-template-areas:"t i p"}
  .hamayl-minilist .hamayl-pill{justify-self:end}
  .hamayl-order__main{grid-template-columns:auto minmax(0,1fr) auto;grid-template-areas:"t i s" "t i p";gap:4px 14px}
  .hamayl-order__total{align-self:end;justify-self:end}
  .hamayl-order__main .hamayl-pill{align-self:start}
  .hamayl-profile__row{grid-template-columns:1fr 1fr}
  .woocommerce-account .hamayl-profile__save .button{width:auto;padding:0 28px}
  .hamayl-latest__actions .hamayl-dash__btn{flex:0 0 auto}
  .hamayl-acct-view-order .woocommerce-customer-details .col2-set{grid-template-columns:1fr 1fr}
}
@media (min-width:769px){
  .woocommerce-account .hamayl-acctnav{position:sticky;top:calc(var(--header) + 16px);align-self:start;margin:0;padding:8px;border:1px solid var(--line);border-radius:20px;background:#fff;box-shadow:var(--shadow)}
  .hamayl-acctnav ul{flex-direction:column;gap:2px;padding:0;overflow:visible}
  .hamayl-acctnav a{display:flex;min-height:44px;padding:0 12px;border:0;border-radius:12px;background:none}
  .hamayl-acctnav a:hover{background:var(--cream)}
  .hamayl-acctnav .is-active a{background:var(--accent-soft);color:var(--ink)}
  .hamayl-acctnav .is-active a svg{color:var(--accent-2)}
  .hamayl-acctnav .woocommerce-MyAccount-navigation-link--customer-logout{margin-top:6px;padding-top:6px;border-top:1px solid var(--line)}
  .hamayl-acctnav .woocommerce-MyAccount-navigation-link--customer-logout a{border:0}
  .hamayl-dash__card,.hamayl-orders > li.hamayl-order{padding:20px 22px}
  .hamayl-dash__who h2{font-size:28px}
  .hamayl-acct-edit-address .woocommerce-MyAccount-content > form{padding:22px}
}

@media (prefers-reduced-motion:reduce){
  .hamayl-auth *,.hamayl-acct .woocommerce *{transition:none!important;animation-duration:.01ms!important}
}
