html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
  font-family: 'Noto Kufi Arabic', sans-serif;
}

.brand-image-frame {
  overflow: hidden;
  padding: 0 !important;
  line-height: 0;
}

.brand-image-frame > .brand-mark-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.login-secondary-actions{display:grid;gap:.7rem;margin-top:.85rem}.prices-guest-button{display:flex;width:100%;min-height:74px;box-sizing:border-box;align-items:center;gap:.9rem;padding:.85rem 1rem;border:1px solid #bfe4d6;border-radius:18px;background:#f2fbf7;color:#12372f;text-align:right;text-decoration:none;cursor:pointer;font-family:inherit;appearance:none;transition:.2s ease}.prices-guest-button:hover{transform:translateY(-1px);border-color:#72c5a5;background:#e9f8f1;color:#0b2d25}.prices-guest-button:disabled{cursor:wait;opacity:.72;transform:none}.guest-button-icon{display:grid;place-items:center;flex:0 0 48px;width:48px;height:48px;border-radius:14px;background:#1e765c;color:#fff;font-size:1.5rem;font-weight:800}.prices-guest-button span:last-child{display:grid;gap:.2rem}.prices-guest-button strong{font-size:1rem}.prices-guest-button small{font-size:.72rem;color:#58746a}

@media (max-width: 767.98px) {
  input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
  select,
  textarea,
  .form-control,
  .form-select {
    font-size: 16px !important;
  }
}

.login-body { margin:0; min-height:100vh; background:#eef4f2; }
.login-page { min-height:100vh; display:grid; place-items:center; padding:32px; background:radial-gradient(circle at 12% 14%,rgb(32 201 151 / 13%),transparent 28%),radial-gradient(circle at 90% 86%,rgb(15 118 110 / 11%),transparent 30%),#eef4f2; }
.login-shell { width:min(1120px,100%); min-height:680px; display:grid; grid-template-columns:1.03fr .97fr; overflow:hidden; border:1px solid rgb(255 255 255 / 80%); border-radius:28px; background:#fff; box-shadow:0 30px 80px rgb(15 56 47 / 15%); }
.login-showcase { position:relative; overflow:hidden; display:flex; flex-direction:column; padding:48px; color:#fff; background:linear-gradient(145deg,#0d352d,#086c59 63%,#0aa179); }
.login-showcase::before { content:""; position:absolute; inset:0; opacity:.15; background-image:linear-gradient(rgb(255 255 255 / 15%) 1px,transparent 1px),linear-gradient(90deg,rgb(255 255 255 / 15%) 1px,transparent 1px); background-size:44px 44px; mask-image:linear-gradient(to bottom,#000,transparent 85%); }
.login-brand { position:relative; z-index:2; display:flex; align-items:center; gap:13px; }.login-brand-mark,.mobile-login-brand span { display:grid; place-items:center; width:48px; height:48px; border:1px solid rgb(255 255 255 / 28%); border-radius:15px; background:rgb(255 255 255 / 13%); font-size:1.35rem; font-weight:800; }.login-brand strong,.login-brand small { display:block; }.login-brand strong { font-size:1.05rem; }.login-brand small { margin-top:4px; color:#bceade; font-size:.66rem; }
.showcase-copy { position:relative; z-index:2; margin:auto 0 38px; }.showcase-label { display:inline-flex; padding:7px 11px; border:1px solid rgb(255 255 255 / 18%); border-radius:20px; color:#cff8ed; background:rgb(255 255 255 / 9%); font-size:.65rem; }.showcase-copy h1 { margin:19px 0 16px; font-size:2.35rem; font-weight:800; line-height:1.55; letter-spacing:-1px; }.showcase-copy p { max-width:430px; margin:0; color:#c7eee4; font-size:.82rem; line-height:2; }
.showcase-features { position:relative; z-index:2; display:grid; gap:12px; }.showcase-features span { display:flex; align-items:center; gap:9px; color:#e1f8f2; font-size:.72rem; }.showcase-features i { display:grid; place-items:center; width:23px; height:23px; border-radius:50%; color:#075e4c; background:#bff5e6; font-style:normal; font-weight:800; }
.showcase-orb { position:absolute; border-radius:50%; border:1px solid rgb(255 255 255 / 12%); background:rgb(255 255 255 / 5%); }.orb-one { width:270px; height:270px; left:-95px; top:-80px; }.orb-two { width:180px; height:180px; right:-70px; bottom:100px; }
.login-form-side { display:flex; flex-direction:column; justify-content:center; padding:64px 68px 40px; }.mobile-login-brand { display:none; }.login-heading>span { color:#087f5b; font-size:.7rem; font-weight:700; }.login-heading h2 { margin:9px 0 10px; color:#172b26; font-size:1.65rem; font-weight:800; }.login-heading p { margin:0; color:#718079; font-size:.75rem; line-height:1.8; }
.login-form { margin-top:34px; }.login-alert { margin-bottom:18px; padding:12px 14px; color:#b42318; border:1px solid #fecdca; border-radius:11px; background:#fff6f5; font-size:.7rem; }.login-alert:empty { display:none; }.login-alert ul { margin:0; padding-right:18px; }
.login-field { margin-bottom:20px; }.login-field>label { display:block; margin-bottom:8px; color:#344a43; font-size:.72rem; font-weight:700; }.login-control { position:relative; display:flex; align-items:center; min-height:54px; border:1px solid #d8e3df; border-radius:13px; background:#fbfdfc; transition:.2s; }.login-control:focus-within { border-color:#13a17c; background:#fff; box-shadow:0 0 0 4px rgb(13 161 124 / 10%); }.login-control input { width:100%; min-width:0; height:52px; padding:0 46px 0 58px; border:0; outline:0; color:#1d332c; background:transparent; font-family:inherit; font-size:.78rem; }.login-control input::placeholder { color:#9ca9a4; }.field-icon { position:absolute; right:16px; color:#0c8c6c; font-size:1rem; }.password-toggle { position:absolute; left:10px; padding:7px 9px; color:#087f5b; border:0; border-radius:8px; background:#e8f7f2; font-family:inherit; font-size:.62rem; font-weight:700; }.field-error { display:block; margin-top:6px; color:#d92d20; font-size:.64rem; }
.login-account-options { display:flex; align-items:center; justify-content:space-between; gap:12px; margin:2px 0 24px; }.remember-option { display:flex; align-items:center; gap:9px; width:max-content; margin:0; color:#566861; font-size:.68rem; cursor:pointer; }.remember-option input { width:17px; height:17px; accent-color:#087f5b; }.persistent-login-note { max-width:72%; line-height:1.65; cursor:default; }.persistent-login-note>i { display:grid; flex:0 0 18px; width:18px; height:18px; place-items:center; color:#087f5b; border-radius:50%; background:#e8f7f2; font-size:.62rem; font-style:normal; font-weight:900; }.forgot-password-link { color:#087f5b; font-size:.66rem; font-weight:800; text-decoration:none; white-space:nowrap; }.forgot-password-link:hover { color:#075f48; text-decoration:underline; }.login-submit { width:100%; min-height:54px; display:flex; align-items:center; justify-content:center; gap:12px; color:#fff; border:0; border-radius:13px; background:linear-gradient(100deg,#086c59,#0aa179); box-shadow:0 12px 24px rgb(8 127 91 / 22%); font-family:inherit; font-size:.78rem; font-weight:800; transition:.2s; }.login-submit:hover { transform:translateY(-2px); box-shadow:0 16px 30px rgb(8 127 91 / 28%); }.login-submit i { font-size:1.05rem; font-style:normal; }
.login-footer { display:flex; justify-content:space-between; gap:15px; margin-top:auto; padding-top:34px; color:#87958f; font-size:.6rem; }.login-footer small { font-size:inherit; direction:ltr; }.auth-page { min-height:100vh; display:grid; place-items:center; padding:25px; background:#eef4f2; }.auth-card { width:min(440px,100%); padding:32px; border-radius:18px; background:#fff; box-shadow:0 18px 45px rgb(15 23 42 / 9%); }

@media(max-width:900px){.login-shell{grid-template-columns:1fr;min-height:auto;max-width:560px}.login-showcase{display:none}.login-form-side{min-height:680px;padding:46px 48px 32px}.mobile-login-brand{display:flex;align-items:center;gap:11px;margin-bottom:25px;color:#153e34}.mobile-login-brand span{width:43px;height:43px;color:#fff;border:0;background:linear-gradient(135deg,#086c59,#0aa179)}.mobile-login-brand strong{font-size:.95rem}}
@media(max-width:575.98px){.login-page{display:block;min-height:100svh;min-height:100dvh;padding:0;background:#fff}.login-shell{min-height:100svh;min-height:100dvh;border:0;border-radius:0;box-shadow:none}.login-form-side{min-height:100svh;min-height:100dvh;justify-content:flex-start;padding:calc(20px + env(safe-area-inset-top)) 16px calc(18px + env(safe-area-inset-bottom))}.mobile-login-brand{margin-bottom:25px}.login-heading h2{font-size:1.4rem}.login-form{margin-top:20px}.login-field{margin-bottom:15px}.login-account-options{margin-bottom:18px;align-items:flex-start}.login-control{min-height:54px}.login-control input{height:52px;font-size:16px}.login-submit{min-height:54px;font-size:.76rem}.login-secondary-actions{margin-top:11px}.prices-guest-button{min-height:64px;padding:8px 10px;border-radius:15px}.guest-button-icon{width:43px;height:43px;flex-basis:43px}.prices-guest-button strong{font-size:.82rem}.prices-guest-button small{font-size:.61rem}.login-register-link{margin-top:13px}.login-footer{margin-top:auto;flex-direction:column;align-items:center;gap:5px;padding-top:18px}.remember-option{max-width:60%;font-size:.62rem;line-height:1.7}.forgot-password-link{font-size:.62rem}}
@media(max-width:575.98px) and (max-height:740px){.mobile-login-brand{margin-bottom:20px}.login-heading p{font-size:.68rem;line-height:1.65}.login-form{margin-top:15px}.login-field{margin-bottom:11px}.login-account-options{margin-bottom:13px}.prices-guest-button{min-height:58px}.login-footer{padding-top:12px}.login-footer>span{display:none}}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}
/* Shared Telegram-style image cropper */
.cropper-open{overflow:hidden}.image-crop-modal[hidden]{display:none}.image-crop-modal{position:fixed;z-index:10000;inset:0;display:grid;padding:18px;place-items:center}.image-crop-backdrop{position:absolute;inset:0;background:rgb(15 23 42 / 72%);backdrop-filter:blur(5px)}.image-crop-dialog{position:relative;z-index:1;width:min(480px,100%);overflow:hidden;border:1px solid rgb(255 255 255 / 22%);border-radius:22px;background:#fff;box-shadow:0 28px 80px rgb(0 0 0 / 35%)}.image-crop-dialog>header{display:flex;padding:16px 18px;align-items:center;justify-content:space-between;border-bottom:1px solid #eef2f7}.image-crop-dialog>header small{display:block;color:#6366f1;font-size:.58rem;font-weight:800}.image-crop-dialog>header h2{margin:4px 0 0;color:#1e293b;font-size:.83rem}.image-crop-dialog>header button{display:grid;width:34px;height:34px;place-items:center;color:#64748b;border:0;border-radius:10px;background:#f1f5f9;font-size:1rem}.image-crop-stage{position:relative;overflow:hidden;width:min(380px,calc(100vw - 70px));aspect-ratio:1;margin:18px auto 13px;border-radius:20px;background:#0f172a;touch-action:none}.image-crop-stage canvas{display:block;width:100%;height:100%;cursor:grab}.image-crop-stage canvas:active{cursor:grabbing}.image-crop-frame{position:absolute;pointer-events:none;inset:8px;border:3px solid #fff;border-radius:50%;box-shadow:0 0 0 100px rgb(15 23 42 / 48%),inset 0 0 0 1px rgb(15 23 42 / 18%)}.image-crop-frame:before,.image-crop-frame:after{position:absolute;top:50%;left:50%;background:rgb(255 255 255 / 28%);content:"";transform:translate(-50%,-50%)}.image-crop-frame:before{width:1px;height:100%}.image-crop-frame:after{width:100%;height:1px}.image-crop-zoom{display:grid;grid-template-columns:auto 1fr auto;padding:0 22px;align-items:center;gap:10px;color:#64748b;font-size:.54rem}.image-crop-zoom input{width:100%;accent-color:#6366f1}.image-crop-dialog>p{margin:10px 18px 14px;color:#64748b;text-align:center;font-size:.55rem;line-height:1.7}.image-crop-dialog>footer{display:flex;padding:13px 17px;justify-content:flex-end;gap:8px;border-top:1px solid #eef2f7;background:#fafbff}.image-crop-dialog>footer button{min-height:41px;padding:8px 15px;border-radius:10px;font-family:inherit;font-size:.61rem}.image-crop-dialog>footer button:first-child{color:#64748b;border:1px solid #e2e8f0;background:#fff}.image-crop-dialog>footer .image-crop-apply{color:#fff;border:0;background:linear-gradient(135deg,#4f46e5,#7c3aed)}@media(max-width:520px){.image-crop-modal{padding:10px}.image-crop-dialog{border-radius:18px}.image-crop-stage{width:min(350px,calc(100vw - 42px));margin-top:13px}.image-crop-dialog>header{padding:13px 14px}}
.image-crop-modal:is(dialog){width:100%;max-width:none;height:100%;max-height:none;margin:0;border:0;background:transparent}
.image-crop-modal:is(dialog)::backdrop{background:transparent}
.image-crop-zoom[hidden],.image-crop-frame[hidden]{display:none}
.image-crop-modal[data-crop-mode="contain"] .image-crop-stage canvas{cursor:default}

/* Public account registration */
.login-register-link{display:flex;margin-top:17px;align-items:center;justify-content:center;gap:7px;color:#718079;font-size:.67rem}.login-register-link a{color:#087f5b;font-weight:800;text-decoration:none}.login-register-link a:hover{text-decoration:underline}
.register-page{position:relative;min-width:320px;min-height:100vh;padding:30px;background:radial-gradient(circle at 8% 8%,rgb(14 165 133 / 12%),transparent 29rem),radial-gradient(circle at 92% 92%,rgb(49 87 213 / 9%),transparent 31rem),#edf4f2}.register-mobile-head{display:none}.register-mobile-brand{display:inline-flex;align-items:center;gap:10px;color:#24457f;text-decoration:none}.register-mobile-brand>span{width:43px;height:43px;display:grid;place-items:center;border-radius:14px;background:#315ac1}.register-mobile-brand strong{font-size:.95rem;font-weight:900}
.register-back{position:fixed;z-index:5;top:18px;right:22px;display:inline-flex;min-height:40px;padding:8px 13px;align-items:center;gap:7px;color:#325249;border:1px solid #d8e5e0;border-radius:12px;background:rgb(255 255 255 / 88%);box-shadow:0 8px 24px rgb(15 56 47 / 7%);font-size:.62rem;font-weight:800;text-decoration:none;backdrop-filter:blur(12px)}
.register-back span{font-size:.9rem}.register-shell{width:min(1140px,100%);min-height:720px;display:grid;overflow:hidden;margin:auto;grid-template-columns:42% 58%;border:1px solid rgb(255 255 255 / 90%);border-radius:28px;background:#fff;box-shadow:0 30px 85px rgb(17 54 46 / 14%)}
.register-showcase{position:relative;min-width:0;display:flex;overflow:hidden;padding:40px;flex-direction:column;color:#fff;background:linear-gradient(145deg,#0c3a31,#08745f 62%,#0ca37d)}
.register-showcase::before{position:absolute;inset:0;opacity:.14;background-image:linear-gradient(rgb(255 255 255 / 17%) 1px,transparent 1px),linear-gradient(90deg,rgb(255 255 255 / 17%) 1px,transparent 1px);background-size:42px 42px;mask-image:linear-gradient(to bottom,#000,transparent 90%);content:""}
.register-brand{position:relative;z-index:2;display:flex;width:max-content;align-items:center;gap:11px;color:#fff;text-decoration:none}.register-brand>span{width:45px;height:45px;display:grid;place-items:center;border:1px solid rgb(255 255 255 / 25%);border-radius:14px;background:rgb(255 255 255 / 12%);font-size:1.15rem;font-weight:800}.register-brand strong{font-size:.92rem}
.register-showcase-copy{position:relative;z-index:2;margin-top:52px}.register-showcase-copy>span{display:inline-flex;padding:7px 11px;border:1px solid rgb(255 255 255 / 20%);border-radius:999px;color:#d1faed;background:rgb(255 255 255 / 9%);font-size:.59rem;font-weight:700}.register-showcase-copy h1{margin:17px 0 12px;font-size:clamp(1.5rem,2.5vw,2.05rem);font-weight:800;line-height:1.65}.register-showcase-copy p{margin:0;color:#ccece4;font-size:.72rem;line-height:2}
.register-art{position:relative;z-index:2;height:205px;display:grid;margin:8px 0 4px;place-items:center}.register-art svg{width:min(330px,92%);overflow:visible}.register-art circle:first-child{fill:rgb(255 255 255 / 8%);stroke:rgb(255 255 255 / 14%)}.register-art rect{fill:#fff;stroke:#0c5f4e;stroke-width:2}.register-art path{fill:none;stroke:#9ddfd0;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}.register-art path:nth-of-type(2){fill:#b9efe2;stroke:#fff}.register-art path:last-of-type{stroke:#fff;stroke-width:6}.register-art circle:not(:first-child){fill:#08604f;stroke:#fff;stroke-width:3}
.register-showcase ul{position:relative;z-index:2;display:grid;margin:auto 0 0;padding:0;gap:9px;list-style:none}.register-showcase li{display:flex;align-items:center;gap:8px;color:#e0f7f1;font-size:.63rem}.register-showcase li i{width:21px;height:21px;display:grid;flex:0 0 auto;place-items:center;border-radius:50%;color:#076451;background:#bff3e5;font-style:normal;font-weight:900}
.register-content{min-width:0;padding:54px clamp(32px,5vw,70px)}.register-heading{position:relative}.register-heading>span{color:#087f68;font-size:.64rem;font-weight:800}.register-heading h2{margin:9px 0 9px;color:#172b27;font-size:1.42rem;font-weight:800;line-height:1.6}.register-heading p{margin:0;color:#72817b;font-size:.7rem;line-height:1.85}.register-heading.form-heading{padding-left:105px}.change-account-type{position:absolute;top:0;left:0;padding:8px 10px;color:#087f68;border:1px solid #d6e8e2;border-radius:9px;background:#f4fbf8;font-size:.57rem;font-weight:800;text-decoration:none}
.account-type-grid{display:grid;margin-top:34px;gap:15px}.account-type-card{position:relative;display:grid;min-height:132px;padding:20px;grid-template-columns:62px minmax(0,1fr) auto;align-items:center;gap:16px;border:1px solid #dfe8e5;border-radius:19px;color:#233a34;background:#fff;box-shadow:0 9px 30px rgb(20 55 47 / 5%);text-decoration:none;transition:.2s ease}.account-type-card:hover{border-color:#9ecfc1;box-shadow:0 15px 38px rgb(15 99 80 / 12%);transform:translateY(-3px)}.account-type-icon{width:62px;height:62px;display:grid;place-items:center;border-radius:18px;color:#087e66;background:#eaf8f4}.account-type-icon svg{width:31px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}.account-type-card.supplier .account-type-icon{color:#3157d5;background:#edf1ff}.account-type-card.supplier .account-type-icon svg{fill:none}.account-type-copy small,.account-type-copy strong{display:block}.account-type-copy small{color:#87968f;font-size:.55rem}.account-type-copy strong{margin:5px 0 6px;font-size:.91rem;font-weight:800}.account-type-copy p{margin:0;color:#75837e;font-size:.62rem;line-height:1.7}.account-type-card>i{color:#9caaa5;font-size:1.1rem;font-style:normal}.register-login-note{margin:26px 0 0;color:#7a8983;text-align:center;font-size:.65rem}.register-login-note a{color:#087f68;font-weight:800;text-decoration:none}
.register-form{display:grid;margin-top:27px;gap:17px}.register-form-section{padding:21px;border:1px solid #e4ebe8;border-radius:19px;background:#fff;box-shadow:0 8px 28px rgb(23 56 48 / 4%)}.register-section-title{display:flex;margin-bottom:19px;align-items:center;gap:11px}.register-section-title>span{width:33px;height:33px;display:grid;flex:0 0 auto;place-items:center;border-radius:10px;color:#087f68;background:#e8f7f2;font-size:.67rem;font-weight:800}.register-section-title strong,.register-section-title small{display:block}.register-section-title strong{color:#233b34;font-size:.72rem;font-weight:800}.register-section-title small{margin-top:3px;color:#89968f;font-size:.54rem}
.register-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.register-field{min-width:0}.register-field.full{grid-column:1/-1}.register-field>label{display:block;margin-bottom:7px;color:#40544e;font-size:.61rem;font-weight:800}.register-field>label small{color:#96a29e;font-size:.51rem;font-weight:500}.register-field>input,.register-field>select,.register-field>textarea,.register-password{width:100%;border:1px solid #dce6e2;border-radius:11px;background:#fbfdfc;transition:.18s ease}.register-field>input,.register-field>select{height:49px;padding:0 13px}.register-field>textarea{min-height:82px;padding:11px 13px;resize:vertical}.register-field>input,.register-field>select,.register-field>textarea,.register-password input{color:#233a34;outline:0;font-family:inherit;font-size:.68rem}.register-field>input:focus,.register-field>select:focus,.register-field>textarea:focus,.register-password:focus-within{border-color:#18a080;background:#fff;box-shadow:0 0 0 4px rgb(17 158 124 / 9%)}.register-field>span[data-valmsg-for],.register-list-error{display:block;margin-top:5px;color:#d92d20;font-size:.55rem}.register-field>span[data-valmsg-for]:empty,.register-list-error:empty{display:none}
.register-password{position:relative;display:flex;align-items:center}.register-password input{width:100%;height:47px;padding:0 13px 0 62px;border:0;background:transparent}.register-password button{position:absolute;left:7px;padding:6px 8px;color:#087f68;border:0;border-radius:7px;background:#e8f7f2;font-family:inherit;font-size:.52rem;font-weight:800}
.register-field>.register-phone-input{display:flex;width:100%;height:49px;overflow:hidden;align-items:center;direction:ltr;border:1px solid #dce6e2;border-radius:11px;background:#fbfdfc;cursor:text;transition:.18s ease}.register-phone-input:focus-within{border-color:#18a080;background:#fff;box-shadow:0 0 0 4px rgb(17 158 124 / 9%)}.register-phone-input>b{display:grid;height:100%;padding:0 13px;flex:0 0 auto;place-items:center;color:#087f68;border-right:1px solid #bfe7db;background:#e8f7f2;font-size:.68rem;letter-spacing:.4px}.register-phone-input>input{width:100%;height:100%;min-width:0;padding:0 13px;flex:1 1 0;position:relative;z-index:1;border:0;outline:0;color:#233a34;background:transparent;font-family:inherit;font-size:.68rem;pointer-events:auto}
@media(max-width:760px){.register-phone-input{height:52px}.register-phone-input>input{font-size:16px}}
.register-image-picker{min-height:79px!important;display:flex!important;margin:0!important;padding:10px!important;align-items:center;gap:12px;border:1px dashed #b9d5cc;border-radius:13px;background:#f8fcfa;cursor:pointer}.register-image-picker>span:first-child{width:58px;height:58px;display:grid;flex:0 0 auto;overflow:hidden;place-items:center;border-radius:12px;color:#188c70;background:#e5f5f0}.register-image-picker svg{width:27px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.register-image-picker img{width:100%;height:100%;object-fit:cover}.register-image-picker strong,.register-image-picker small{display:block}.register-image-picker strong{color:#355048;font-size:.64rem}.register-image-picker small{margin-top:4px;color:#8b9994;font-size:.52rem}.register-file-input{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0,0,0,0)}
.register-goods-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.register-goods-grid label{position:relative;margin:0;cursor:pointer}.register-goods-grid input{position:absolute;opacity:0;pointer-events:none}.register-goods-grid span{min-height:42px;display:flex;padding:8px 9px;align-items:center;justify-content:center;border:1px solid #dfe7e4;border-radius:10px;color:#63736d;background:#fbfdfc;text-align:center;font-size:.57rem;font-weight:700;transition:.18s}.register-goods-grid input:checked+span{color:#087e66;border-color:#8dcbba;background:#e9f8f3;box-shadow:inset 0 0 0 1px rgb(8 126 102 / 8%)}.other-goods{display:none;margin-top:13px}.other-goods.is-visible{display:block}.register-submit{min-height:54px;display:flex;padding:10px 18px;align-items:center;justify-content:center;gap:11px;color:#fff;border:0;border-radius:13px;background:linear-gradient(100deg,#086c59,#0aa179);box-shadow:0 13px 28px rgb(8 127 91 / 22%);font-family:inherit;font-size:.72rem;font-weight:800;transition:.2s}.register-submit:hover{box-shadow:0 17px 34px rgb(8 127 91 / 28%);transform:translateY(-2px)}.register-submit i{font-size:1rem;font-style:normal}.register-terms{margin:-4px 0 0;color:#8a9893;text-align:center;font-size:.53rem}

/* Initial customer portal */
.customer-portal-page{min-width:320px;min-height:100vh;color:#172b3d;background:radial-gradient(circle at 5% 0,rgb(49 87 213 / 8%),transparent 28rem),#f5f7fb}
.customer-topbar{position:sticky;z-index:10;top:0;min-height:76px;display:flex;padding:12px clamp(18px,4vw,62px);align-items:center;justify-content:space-between;gap:18px;border-bottom:1px solid #e5e9f2;background:rgb(255 255 255 / 93%);box-shadow:0 8px 27px rgb(35 51 82 / 5%);backdrop-filter:blur(14px)}
.customer-brand{display:flex;align-items:center;gap:11px;color:#172b3d;text-decoration:none}.customer-brand>span{width:46px;height:46px;display:grid;place-items:center;border-radius:14px;color:#fff;background:linear-gradient(145deg,#3157d5,#6680e7);box-shadow:0 10px 23px rgb(49 87 213 / 23%)}.customer-brand svg{width:24px;fill:none;stroke:currentColor;stroke-width:1.7}.customer-brand>strong{font-size:.78rem}.customer-brand small{display:block;margin-top:3px;color:#8b96a9;font-size:.53rem;direction:ltr}
.customer-account{display:flex;align-items:center;gap:14px}.customer-account>div{padding-left:14px;border-left:1px solid #e5e9f2}.customer-account small,.customer-account strong{display:block;text-align:left}.customer-account small{color:#8a96a8;font-size:.52rem}.customer-account strong{max-width:190px;overflow:hidden;margin-top:3px;font-size:.66rem;text-overflow:ellipsis;white-space:nowrap}.customer-account form{margin:0}.customer-account button{min-height:41px;display:flex;padding:8px 12px;align-items:center;gap:7px;color:#b73f4d;border:1px solid #efd8dd;border-radius:11px;background:#fff7f8;font-family:inherit;font-size:.57rem;font-weight:800}.customer-account button svg{width:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}
.customer-portal-main{width:min(1180px,calc(100% - 36px));margin:auto;padding:30px 0 55px}.customer-welcome{position:relative;min-height:260px;display:grid;overflow:hidden;padding:36px clamp(26px,5vw,62px);grid-template-columns:1.15fr .85fr;align-items:center;border-radius:27px;color:#fff;background:linear-gradient(125deg,#203b9e,#3157d5 56%,#5b79e4);box-shadow:0 21px 48px rgb(38 65 163 / 18%)}.customer-welcome::before{position:absolute;inset:0;opacity:.15;background-image:linear-gradient(rgb(255 255 255 / 18%) 1px,transparent 1px),linear-gradient(90deg,rgb(255 255 255 / 18%) 1px,transparent 1px);background-size:42px 42px;content:""}.customer-welcome>div,.customer-welcome-art{position:relative;z-index:1}.customer-welcome>div>span{display:inline-flex;padding:7px 11px;border:1px solid rgb(255 255 255 / 22%);border-radius:999px;color:#dce4ff;background:rgb(255 255 255 / 9%);font-size:.57rem;font-weight:800}.customer-welcome h1{margin:15px 0 10px;font-size:clamp(1.3rem,2.5vw,1.95rem);font-weight:800}.customer-welcome p{max-width:600px;margin:0;color:#dce4ff;font-size:.7rem;line-height:2}.customer-welcome>div>small{width:max-content;display:flex;margin-top:18px;padding:8px 11px;align-items:center;gap:7px;border-radius:9px;background:rgb(16 39 108 / 32%);font-size:.55rem}.customer-welcome>div>small i{width:7px;height:7px;border-radius:50%;background:#71e2b7;box-shadow:0 0 0 4px rgb(113 226 183 / 14%)}.customer-welcome-art{width:min(300px,86%);margin:auto;overflow:visible}.customer-welcome-art circle:first-child{fill:rgb(255 255 255 / 8%);stroke:rgb(255 255 255 / 15%)}.customer-welcome-art path{fill:#fff;stroke:#8fa5ef;stroke-width:2.2}.customer-welcome-art path:last-of-type{fill:none;stroke:#3157d5;stroke-width:6;stroke-linecap:round;stroke-linejoin:round}.customer-welcome-art circle:not(:first-child){fill:#203b9e;stroke:#fff;stroke-width:3}
.customer-profile-summary{display:grid;margin:20px 0;grid-template-columns:1.35fr 1fr 1fr;gap:14px}.customer-profile-summary>article{min-width:0;min-height:105px;display:flex;padding:16px;align-items:center;gap:13px;border:1px solid #e4e8f0;border-radius:18px;background:#fff;box-shadow:0 9px 29px rgb(33 48 78 / 5%)}.customer-avatar{width:62px;height:62px;display:grid;flex:0 0 auto;place-items:center;border:4px solid #edf1ff;border-radius:18px;color:#fff;background:linear-gradient(145deg,#3157d5,#7088ea);font-size:.85rem;font-weight:800}.customer-profile-summary small{display:block;color:#8994a7;font-size:.53rem}.customer-profile-summary h2{margin:5px 0 4px;font-size:.8rem;font-weight:800}.customer-profile-summary p{margin:0;color:#6e7a90;font-size:.58rem;direction:ltr;text-align:right}.customer-summary-icon{width:46px;height:46px;display:grid;flex:0 0 auto;place-items:center;border-radius:14px;color:#3157d5;background:#edf1ff}.customer-summary-icon svg{width:23px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.customer-profile-summary article>div>strong{display:block;overflow:hidden;margin-top:7px;color:#26354e;font-size:.65rem;text-overflow:ellipsis;white-space:nowrap}
.customer-coming{padding:27px;border:1px solid #e4e8f0;border-radius:22px;background:#fff;box-shadow:0 13px 38px rgb(33 48 78 / 5%)}.customer-coming>header>span{color:#3157d5;font-size:.56rem;font-weight:800}.customer-coming h2{margin:7px 0 20px;font-size:.96rem;font-weight:800}.customer-coming>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.customer-coming article{padding:17px;border:1px solid #e7eaf1;border-radius:15px;background:#fafbff}.customer-coming article i{display:block;color:#3157d5;font-size:.55rem;font-style:normal;font-weight:800}.customer-coming article strong{display:block;margin:8px 0 6px;font-size:.7rem}.customer-coming article p{margin:0;color:#748096;font-size:.57rem;line-height:1.8}

@media(max-width:900px){
  .register-page{min-height:100svh;min-height:100dvh;padding:0;background:#fff}.register-back{position:absolute;top:calc(20px + env(safe-area-inset-top));right:auto;left:clamp(20px,7vw,58px)}.register-shell{min-height:100svh;min-height:100dvh;grid-template-columns:1fr;border:0;border-radius:0;box-shadow:none}.register-showcase{display:none}.register-content{padding:calc(20px + env(safe-area-inset-top)) clamp(20px,7vw,58px) 35px}.register-mobile-head{display:block;margin-bottom:25px}.register-heading h2{font-size:1.3rem}
  .customer-profile-summary{grid-template-columns:1fr 1fr}.customer-profile-card{grid-column:1/-1}.customer-coming>div{grid-template-columns:1fr}
}
@media(max-width:575.98px){
  .login-register-link{font-size:.7rem}.register-back{top:calc(20px + env(safe-area-inset-top));right:auto;left:16px;min-height:38px;padding:7px 10px}.register-content{padding:calc(20px + env(safe-area-inset-top)) 16px calc(28px + env(safe-area-inset-bottom))}.register-mobile-head{margin-bottom:25px}.register-heading.form-heading{padding-left:0;padding-top:0}.change-account-type{position:static;display:flex;width:max-content;margin-bottom:12px}.account-type-grid{margin-top:20px;gap:10px}.account-type-card{min-height:100px;padding:12px;grid-template-columns:46px minmax(0,1fr) auto;gap:10px;border-radius:15px}.account-type-icon{width:46px;height:46px;border-radius:13px}.account-type-icon svg{width:24px}.account-type-copy strong{margin:3px 0 4px;font-size:.79rem}.account-type-copy p{font-size:.56rem;line-height:1.55}.register-login-note{margin-top:18px}.register-form{margin-top:20px;gap:12px}.register-form-section{padding:16px;border-radius:16px}.register-fields{grid-template-columns:1fr;gap:13px}.register-field.full{grid-column:auto}.register-field>input,.register-field>select{height:52px}.register-field>input,.register-field>select,.register-field>textarea,.register-password input{font-size:16px}.register-goods-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.register-goods-grid span{min-height:45px;font-size:.6rem}.register-submit{min-height:56px;font-size:.72rem}
  .customer-topbar{min-height:67px;padding:10px 13px}.customer-brand>span{width:42px;height:42px}.customer-brand>strong{font-size:.67rem}.customer-account>div{display:none}.customer-account button{width:41px;padding:0;justify-content:center}.customer-account button span{display:none}.customer-portal-main{width:calc(100% - 24px);padding:14px 0 30px}.customer-welcome{min-height:230px;padding:23px 20px;grid-template-columns:1fr;border-radius:20px}.customer-welcome h1{font-size:1.18rem}.customer-welcome p{font-size:.65rem}.customer-welcome-art{position:absolute;left:-22px;bottom:-24px;width:155px;opacity:.68}.customer-profile-summary{margin:12px 0;grid-template-columns:1fr;gap:9px}.customer-profile-card{grid-column:auto}.customer-profile-summary>article{min-height:90px;padding:13px;border-radius:15px}.customer-avatar{width:55px;height:55px}.customer-coming{padding:18px;border-radius:18px}.customer-coming h2{font-size:.86rem}.customer-coming article strong{font-size:.73rem}.customer-coming article p{font-size:.61rem}
}

/* Display-only wording below editable Iraqi-dinar fields. */
.weyak-money-words-hint {
  box-sizing: border-box;
  display: block;
  width: 100%;
  flex: 0 0 100%;
  grid-column: 1 / -1;
  margin-top: .32rem;
  padding-inline: .15rem;
  color: #55746b;
  font-family: inherit;
  font-size: .72rem;
  font-weight: 750;
  line-height: 1.65;
  text-align: start;
  direction: rtl;
}

.weyak-money-words-hint[hidden] {
  display: none !important;
}

.product-transfer-page {
  --transfer-ink: #17353d;
  --transfer-muted: #6d8288;
  --transfer-line: #dfe9e9;
  --transfer-soft: #f4f9f8;
  --transfer-accent: #0f766e;
  --transfer-accent-dark: #0b5f59;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  color: var(--transfer-ink);
}

.product-transfer-page > *,
.product-import-preview > * {
  box-sizing: border-box;
  min-width: 0;
  max-width: 100%;
}

.product-transfer-hero {
  margin-bottom: 0;
}

.product-transfer-hero-mark {
  position: relative;
  z-index: 1;
  width: 112px;
  height: 112px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 4px;
  flex: 0 0 112px;
  border: 1px solid rgb(255 255 255 / 34%);
  border-radius: 28px;
  color: #fff;
  background: rgb(255 255 255 / 13%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 20%);
  backdrop-filter: blur(4px);
}

.product-transfer-hero-mark span {
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1;
}

.product-transfer-hero-mark small {
  font-size: .62rem;
  font-weight: 900;
  letter-spacing: .04em;
}

.product-transfer-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.product-transfer-steps li {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  padding: 13px 14px;
  border: 1px solid var(--transfer-line);
  border-radius: 14px;
  background: #fff;
}

.product-transfer-steps li > span,
.product-transfer-step-number {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  flex: 0 0 34px;
  border-radius: 11px;
  color: #64748b;
  background: #f1f5f9;
  font-size: .72rem;
  font-weight: 900;
}

.product-transfer-steps li.is-current {
  border-color: #99d4ca;
  background: #f2fbf8;
  box-shadow: 0 8px 24px rgb(15 118 110 / 7%);
}

.product-transfer-steps li.is-current > span,
.product-transfer-steps li.is-complete > span,
.product-transfer-step-number {
  color: #fff;
  background: var(--transfer-accent);
}

.product-transfer-steps li.is-complete > span::after {
  content: "✓";
}

.product-transfer-steps li.is-complete > span {
  font-size: 0;
}

.product-transfer-steps li.is-complete > span::after {
  font-size: .76rem;
}

.product-transfer-steps div {
  min-width: 0;
}

.product-transfer-steps b,
.product-transfer-steps small {
  display: block;
}

.product-transfer-steps b {
  font-size: .72rem;
}

.product-transfer-steps small {
  margin-top: 3px;
  color: var(--transfer-muted);
  font-size: .58rem;
}

.product-transfer-action-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.product-transfer-action-grid.is-single {
  grid-template-columns: minmax(0, 720px);
}

.product-transfer-action-card {
  position: relative;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 13px 15px;
  align-items: start;
  overflow: hidden;
  margin: 0;
}

.product-transfer-action-card::after {
  content: "";
  position: absolute;
  inset: -45px auto auto -45px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: rgb(15 118 110 / 5%);
  pointer-events: none;
}

.product-transfer-card-icon {
  position: relative;
  z-index: 1;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 17px;
  color: var(--transfer-accent);
  background: #e8f7f3;
  font-size: 1.4rem;
  font-weight: 900;
}

.product-transfer-action-card.is-export .product-transfer-card-icon {
  color: #2563eb;
  background: #eff6ff;
}

.product-transfer-card-copy {
  min-width: 0;
}

.product-transfer-card-kicker,
.product-transfer-section-heading > div > span {
  color: var(--transfer-accent);
  font-size: .58rem;
  font-weight: 900;
}

.product-transfer-card-copy h2 {
  margin: 4px 0 6px;
  font-size: .94rem;
}

.product-transfer-card-copy p {
  margin: 0;
  color: var(--transfer-muted);
  font-size: .64rem;
  line-height: 1.85;
}

.product-transfer-action-card > .btn {
  grid-column: 1 / -1;
  justify-self: start;
}

.product-transfer-dialog {
  width: min(620px, calc(100% - 28px));
  max-height: calc(100dvh - 32px);
  padding: 0;
  overflow: auto;
  border: 0;
  border-radius: 20px;
  color: var(--transfer-ink, #17353d);
  background: #fff;
  box-shadow: 0 28px 80px rgb(15 23 42 / 28%);
}

.product-transfer-dialog::backdrop {
  background: rgb(15 23 42 / 58%);
  backdrop-filter: blur(3px);
}

.product-transfer-dialog-shell {
  padding: 20px;
}

.product-transfer-dialog-shell > header {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 35px;
  gap: 11px;
  align-items: center;
  padding-bottom: 15px;
  border-bottom: 1px solid #e7eeee;
}

.product-transfer-dialog-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #0f766e;
  background: #e8f7f3;
  font-size: 1.2rem;
  font-weight: 900;
}

.product-transfer-dialog-shell header small,
.product-transfer-dialog-shell header h2 {
  display: block;
}

.product-transfer-dialog-shell header small {
  color: #0f766e;
  font-size: .57rem;
  font-weight: 900;
}

.product-transfer-dialog-shell header h2 {
  margin: 3px 0 0;
  font-size: 1rem;
}

.product-transfer-dialog-close {
  width: 35px;
  height: 35px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  color: #475569;
  background: #f8fafc;
  font: inherit;
  font-size: 1.15rem;
  cursor: pointer;
}

.product-transfer-dialog-intro,
.product-transfer-dialog-note {
  color: #64748b;
  line-height: 1.8;
}

.product-transfer-dialog-intro {
  margin: 15px 0;
  font-size: .68rem;
}

.product-transfer-format-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.product-transfer-format-grid a {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 3px 10px;
  align-items: center;
  padding: 14px;
  border: 1px solid #dce7e5;
  border-radius: 14px;
  color: #17353d;
  background: #fff;
  text-decoration: none;
  transition: border-color .16s ease, transform .16s ease, box-shadow .16s ease;
}

.product-transfer-format-grid a:hover,
.product-transfer-format-grid a:focus-visible {
  border-color: #7dc7bb;
  box-shadow: 0 9px 24px rgb(15 118 110 / 10%);
  transform: translateY(-1px);
}

.product-transfer-format-grid a > b {
  grid-row: 1 / span 2;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: #0f766e;
  background: #e8f7f3;
  font-size: .67rem;
}

.product-transfer-format-grid strong {
  font-size: .72rem;
}

.product-transfer-format-grid small {
  color: #73868b;
  font-size: .55rem;
  line-height: 1.55;
}

.product-transfer-dialog-note {
  margin: 13px 0 0;
  padding: 10px 12px;
  border-radius: 11px;
  background: #f5f9f8;
  font-size: .59rem;
}

.product-transfer-file-dialog {
  width: min(780px, calc(100% - 28px));
}

.product-transfer-file-dialog [hidden] {
  display: none !important;
}

.product-transfer-download-state {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 11px;
  align-items: center;
  margin-top: 16px;
  padding: 16px;
  border: 1px solid #cfe5e0;
  border-radius: 15px;
  background: #f5fbf9;
}

.product-transfer-download-state b,
.product-transfer-download-state small {
  display: block;
}

.product-transfer-download-state b {
  font-size: .72rem;
}

.product-transfer-download-state small {
  margin-top: 4px;
  color: #647b7f;
  font-size: .57rem;
  line-height: 1.65;
}

.product-transfer-download-state progress {
  grid-column: 1 / -1;
  width: 100%;
  height: 7px;
  border: 0;
  border-radius: 999px;
  overflow: hidden;
  accent-color: #0f766e;
}

.product-transfer-download-state progress::-webkit-progress-bar {
  background: #dceeea;
}

.product-transfer-download-state progress::-webkit-progress-value {
  background: #0f766e;
}

.product-transfer-download-spinner {
  width: 34px;
  height: 34px;
  display: block;
  border: 4px solid #c7e7e0;
  border-top-color: #0f766e;
  border-radius: 50%;
  animation: product-transfer-spin .9s linear infinite;
}

@keyframes product-transfer-spin {
  to { transform: rotate(360deg); }
}

.product-transfer-download-error {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  margin-top: 16px;
  padding: 14px;
  border: 1px solid #fecaca;
  border-radius: 14px;
  color: #991b1b;
  background: #fef2f2;
}

.product-transfer-download-error > span {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  flex: 0 0 30px;
  border-radius: 9px;
  color: #fff;
  background: #dc2626;
  font-weight: 900;
}

.product-transfer-download-error b {
  font-size: .7rem;
}

.product-transfer-download-error p {
  margin: 4px 0 0;
  font-size: .59rem;
  line-height: 1.7;
}

.product-transfer-file-ready {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.product-transfer-file-summary {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  padding: 14px;
  border: 1px solid #cfe5e0;
  border-radius: 14px;
  background: #f8fcfb;
}

.product-transfer-file-summary > span {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  flex: 0 0 50px;
  border-radius: 13px;
  color: #0f766e;
  background: #e4f5f1;
  font-size: .63rem;
  font-weight: 900;
}

.product-transfer-file-summary > div {
  min-width: 0;
}

.product-transfer-file-summary b,
.product-transfer-file-summary small {
  display: block;
}

.product-transfer-file-summary b {
  overflow: hidden;
  font-size: .73rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-transfer-file-summary small {
  margin-top: 4px;
  color: #647b7f;
  font-size: .57rem;
}

.product-transfer-file-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.product-transfer-file-actions .btn {
  min-width: 120px;
}

.product-transfer-file-action-status {
  min-height: 1.5em;
  margin: 0;
  color: #52696e;
  font-size: .58rem;
  line-height: 1.7;
}

.product-transfer-file-preview {
  margin-top: 15px;
  padding: 14px;
  border: 1px solid #d6e6e2;
  border-radius: 15px;
  background: #fbfefd;
}

.product-transfer-file-preview > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 11px;
}

.product-transfer-file-preview > header b,
.product-transfer-file-preview > header small {
  display: block;
}

.product-transfer-file-preview > header b {
  font-size: .72rem;
}

.product-transfer-file-preview > header small {
  margin-top: 3px;
  color: #647b7f;
  font-size: .55rem;
  line-height: 1.6;
}

.product-transfer-file-preview .table-responsive {
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  touch-action: pan-x pan-y;
  -webkit-overflow-scrolling: touch;
}

.product-transfer-preview-table {
  min-width: 1120px;
  margin: 0;
  font-size: .58rem;
}

.product-transfer-preview-table th {
  white-space: nowrap;
}

.product-transfer-preview-table td {
  max-width: 300px;
  overflow-wrap: anywhere;
}

.product-transfer-template-preview > p {
  margin: 0 0 10px;
  color: #52696e;
  font-size: .59rem;
  line-height: 1.7;
}

.product-transfer-workspace,
.product-import-preview,
.product-transfer-scope {
  margin: 0;
}

.product-transfer-section-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.product-transfer-section-heading > div {
  min-width: 0;
}

.product-transfer-section-heading h2 {
  margin: 3px 0 4px;
  font-size: .98rem;
}

.product-transfer-section-heading p {
  margin: 0;
  color: var(--transfer-muted);
  font-size: .63rem;
  line-height: 1.75;
}

.product-transfer-section-heading.is-compact {
  margin-bottom: 10px;
}

.product-transfer-validation:empty {
  display: none;
}

.product-transfer-upload-form {
  display: grid;
  gap: 10px;
}

.product-transfer-upload-zone {
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 95px;
  padding: 16px;
  border: 1.5px dashed #9bcfc6;
  border-radius: 16px;
  background: #f5fbf9;
  cursor: pointer;
  transition: border-color .16s ease, background .16s ease;
}

.product-transfer-upload-zone:hover,
.product-transfer-upload-zone:focus-within {
  border-color: var(--transfer-accent);
  background: #effaf7;
}

.product-transfer-upload-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  flex: 0 0 48px;
  border-radius: 14px;
  color: #fff;
  background: var(--transfer-accent);
  font-size: 1.3rem;
  font-weight: 900;
}

.product-transfer-upload-copy {
  flex: 1;
  min-width: 0;
}

.product-transfer-upload-copy b,
.product-transfer-upload-copy small {
  display: block;
}

.product-transfer-upload-copy b {
  font-size: .78rem;
}

.product-transfer-upload-copy small {
  margin-top: 4px;
  color: var(--transfer-muted);
  font-size: .59rem;
}

.product-transfer-file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  clip-path: inset(50%);
}

.product-transfer-file-state {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 52px;
  padding: 10px 12px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
}

.product-transfer-file-state > span {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  flex: 0 0 31px;
  border-radius: 9px;
  color: #64748b;
  background: #f1f5f9;
  font-weight: 900;
}

.product-transfer-file-state b,
.product-transfer-file-state small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-transfer-file-state b {
  font-size: .68rem;
}

.product-transfer-file-state small {
  margin-top: 3px;
  color: #718386;
  font-size: .56rem;
}

.product-transfer-file-state.has-file {
  border-color: #9fd5c9;
  background: #f2fbf8;
}

.product-transfer-file-state.has-file > span {
  color: #fff;
  background: #0f766e;
}

.product-transfer-dry-run-note {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 13px;
  border-radius: 12px;
  color: #315d55;
  background: #edf8f5;
}

.product-transfer-dry-run-note > span {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  flex: 0 0 26px;
  border-radius: 50%;
  color: #fff;
  background: #0f766e;
  font-size: .64rem;
  font-weight: 900;
}

.product-transfer-dry-run-note p {
  margin: 0;
  font-size: .61rem;
  line-height: 1.7;
}

.product-transfer-upload-actions,
.product-transfer-back-actions {
  margin: 0;
}

.product-external-import-launch {
  display: flex;
  margin-top: 14px;
  padding: 14px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid #cbd5e1;
  border-radius: 14px;
  background: linear-gradient(135deg, #fff, #f8fafc);
}

.product-external-import-launch b,
.product-external-import-launch p {
  display: block;
}

.product-external-import-launch b {
  font-size: .72rem;
}

.product-external-import-launch p {
  margin: 4px 0 0;
  color: #64748b;
  font-size: .59rem;
  line-height: 1.7;
}

.product-external-import-dialog {
  width: min(760px, calc(100% - 28px));
}

.product-external-import-form {
  display: grid;
  gap: 12px;
}

.product-external-import-form > header,
.product-external-import-form > .product-transfer-dialog-intro {
  margin-bottom: 0;
}

.product-external-mapping-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.product-external-mapping-grid > label {
  min-width: 0;
}

.product-external-mapping-grid > label > b,
.product-external-mapping-grid > label > small,
.product-external-mapping-grid > label > span {
  display: block;
}

.product-external-mapping-grid > label > b {
  margin-bottom: 6px;
  font-size: .66rem;
}

.product-external-mapping-grid em {
  color: #0f766e;
  font-size: .53rem;
  font-style: normal;
}

.product-external-mapping-grid > label > small {
  margin-top: 4px;
  color: #64748b;
  font-size: .54rem;
  line-height: 1.6;
}

.product-import-table .import-col-image {
  min-width: 230px;
  max-width: 310px;
}

.product-import-image-url {
  display: block;
  max-width: 290px;
  overflow: hidden;
  color: #0369a1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-transfer-help {
  margin-top: 14px;
  border: 1px solid #dce8e3;
  border-radius: 14px;
  background: #f8fbfa;
}

.product-transfer-help summary {
  padding: 13px 15px;
  cursor: pointer;
  font-size: .67rem;
  font-weight: 900;
}

.product-transfer-help-body {
  padding: 0 15px 14px;
  border-top: 1px solid #e2ece9;
}

.product-transfer-scope ul,
.product-transfer-help p {
  line-height: 1.9;
}

.product-transfer-help pre {
  max-width: 100%;
  overflow: auto;
  padding: 12px;
  border-radius: 10px;
  background: #eef5f2;
  direction: ltr;
  text-align: left;
}

.product-transfer-preview-metrics {
  display: flex;
  gap: 8px;
  margin-inline-start: auto;
}

.product-transfer-preview-metrics > span {
  min-width: 72px;
  padding: 8px 10px;
  border-radius: 11px;
  text-align: center;
  background: #f8fafc;
}

.product-transfer-preview-metrics b,
.product-transfer-preview-metrics small {
  display: block;
}

.product-transfer-preview-metrics b {
  font-size: .82rem;
}

.product-transfer-preview-metrics small {
  margin-top: 2px;
  color: #64748b;
  font-size: .52rem;
}

.product-transfer-preview-metrics .is-valid {
  color: #047857;
  background: #ecfdf5;
}

.product-transfer-preview-metrics .is-invalid {
  color: #b91c1c;
  background: #fef2f2;
}

.product-import-correction-summary {
  margin: 0 0 12px;
  padding: 13px;
  color: #7f1d1d;
  border: 1px solid #fecaca;
  border-radius: 14px;
  background: #fffafa;
}

.product-import-correction-summary > header {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.product-import-correction-summary > header > span {
  display: grid;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  place-items: center;
  color: #fff;
  border-radius: 9px;
  background: #dc2626;
  font-weight: 900;
}

.product-import-correction-summary h3 {
  margin: 0;
  font-size: .75rem;
}

.product-import-correction-summary header p {
  margin: 4px 0 0;
  color: #7c4a4a;
  font-size: .57rem;
  line-height: 1.75;
}

.product-import-correction-summary > ol {
  display: grid;
  gap: 9px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.product-import-correction-summary > ol > li {
  min-width: 0;
  padding: 10px;
  border: 1px solid #fee2e2;
  border-radius: 11px;
  background: #fff;
}

.product-import-correction-row-heading {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 7px;
}

.product-import-correction-row-heading strong {
  font-size: .68rem;
}

.product-import-correction-row-heading a {
  color: #0f766e;
  font-size: .55rem;
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.product-import-correction-summary li > ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.product-import-correction-summary li > ul > li {
  min-width: 0;
  padding: 8px 9px;
  border-radius: 9px;
  background: #fef2f2;
  overflow-wrap: anywhere;
}

.product-import-correction-summary li > ul span,
.product-import-correction-summary li > ul small {
  display: block;
  font-size: .57rem;
  line-height: 1.75;
}

.product-import-correction-summary li > ul > li > b {
  display: block;
  margin-bottom: 2px;
  font-size: .54rem;
}

.product-import-correction-summary li > ul small {
  margin-top: 5px;
  padding-top: 5px;
  color: #315d55;
  border-top: 1px dashed #f1b9b9;
}

.product-import-scroll-hint {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
  padding: 8px 11px;
  color: #475569;
  border: 1px solid #dbe5ea;
  border-radius: 11px;
  background: #f8fafc;
  font-size: .58rem;
  font-weight: 700;
  line-height: 1.65;
}

.product-import-scroll-hint > span:first-child {
  display: grid;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  place-items: center;
  color: #0f766e;
  border-radius: 8px;
  background: #ccfbf1;
  font-size: .9rem;
}

.product-import-table-shell {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  display: block;
  overflow-x: auto;
  overflow-y: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  outline: 0;
  overscroll-behavior-inline: contain;
  scrollbar-color: #0f766e #e2e8f0;
  scrollbar-gutter: stable both-edges;
  scroll-padding-inline: 74px;
  touch-action: pan-x pan-y;
  -webkit-overflow-scrolling: touch;
}

/*
 * Normalize the RTL scroll model only on touch devices. WebKit and Chromium
 * otherwise expose different positive/negative scrollLeft behaviour inside an
 * installed PWA. The table itself remains RTL; only its viewport is LTR.
 */
.product-import-table-shell.is-touch-scroll-enhanced {
  direction: ltr;
  overflow-x: scroll;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  touch-action: pan-y pinch-zoom;
}

.product-import-table-shell.is-touch-scroll-enhanced > .product-import-table {
  direction: rtl;
}

.product-import-table-shell.is-horizontal-dragging {
  cursor: grabbing;
  user-select: none;
  -webkit-user-select: none;
}

.product-import-scroll-controls {
  min-height: 43px;
  margin-top: 8px;
  padding: 5px 7px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 42px;
  align-items: center;
  gap: 8px;
  color: #52616b;
  border: 1px solid #dbe5ea;
  border-radius: 12px;
  background: #f8fafc;
  direction: ltr;
}

.product-import-scroll-controls[hidden] {
  display: none;
}

.product-import-scroll-button {
  width: 42px;
  height: 34px;
  padding: 0;
  display: grid;
  place-items: center;
  color: #fff;
  border: 0;
  border-radius: 9px;
  background: #0f766e;
  font: inherit;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1;
  touch-action: manipulation;
}

.product-import-scroll-button:disabled {
  color: #94a3b8;
  background: #e2e8f0;
  opacity: 1;
}

.product-import-scroll-status {
  min-width: 0;
  direction: rtl;
  text-align: center;
  font-size: .55rem;
  font-weight: 800;
  line-height: 1.6;
}

.product-import-table-shell:focus-visible {
  border-color: #14b8a6;
  box-shadow: 0 0 0 3px rgb(20 184 166 / 15%);
}

.product-import-table-shell::-webkit-scrollbar {
  width: 11px;
  height: 11px;
}

.product-import-table-shell::-webkit-scrollbar-track {
  background: #e2e8f0;
}

.product-import-table-shell::-webkit-scrollbar-thumb {
  border: 2px solid #e2e8f0;
  border-radius: 999px;
  background: #0f766e;
}

.product-import-table {
  width: max-content;
  min-width: 100%;
  margin: 0;
  border-collapse: separate;
  border-spacing: 0;
}

.product-import-table th,
.product-import-table td {
  vertical-align: top;
}

.product-import-table thead th {
  white-space: nowrap;
  background: #f8fafc;
}

.product-import-table .import-col-row {
  position: sticky;
  z-index: 2;
  inset-inline-start: 0;
  min-width: 68px;
  width: 68px;
  color: #0f766e;
  background: #fff;
  font-weight: 900;
  text-align: center;
  box-shadow: -8px 0 12px -12px rgb(15 23 42 / 55%);
}

.product-import-table thead .import-col-row {
  z-index: 3;
  background: #f1f5f9;
}

.product-import-table .import-col-product { min-width: 190px; max-width: 260px; }
.product-import-table .import-col-category { min-width: 145px; max-width: 210px; }
.product-import-table .import-col-unit { min-width: 120px; }
.product-import-table .import-col-money { min-width: 118px; white-space: nowrap; }
.product-import-table .import-col-state { min-width: 105px; white-space: nowrap; }
.product-import-table .import-col-notes { min-width: 220px; max-width: 310px; }
.product-import-table .import-col-barcodes { min-width: 285px; max-width: 380px; }
.product-import-table .import-col-result { min-width: 300px; max-width: 420px; }
.product-import-table .import-col-product,
.product-import-table .import-col-category,
.product-import-table .import-col-unit,
.product-import-table .import-col-notes,
.product-import-table .import-col-result { overflow-wrap: anywhere; }

.product-import-table .import-row-invalid {
  background: #fff8f7;
}

.product-import-table .import-row-invalid > .import-col-row {
  background: #fff8f7;
}

.product-import-table tr[id] {
  scroll-margin-block: 90px;
}

.product-import-table tr[id]:target > * {
  background: #fff7d6;
  box-shadow: inset 0 2px #f59e0b, inset 0 -2px #f59e0b;
}

.product-import-state {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: .55rem;
  font-weight: 850;
}

.product-import-state.is-active { color: #047857; background: #d1fae5; }
.product-import-state.is-inactive { color: #475569; background: #e2e8f0; }

.product-import-cell-details > summary {
  width: max-content;
  max-width: 100%;
  color: #0f766e;
  cursor: pointer;
  font-size: .57rem;
  font-weight: 850;
  white-space: nowrap;
}

.product-import-cell-details > summary:focus-visible {
  border-radius: 5px;
  outline: 2px solid #14b8a6;
  outline-offset: 3px;
}

.product-import-cell-details > p {
  margin: 7px 0 0;
  color: #475569;
  font-size: .56rem;
  line-height: 1.7;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.product-import-barcode-details > ul {
  display: grid;
  gap: 5px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.product-import-barcode-details li {
  display: grid;
  grid-template-columns: minmax(110px, 1fr) minmax(95px, auto);
  gap: 8px;
  align-items: center;
  padding: 6px 7px;
  border-radius: 7px;
  background: #f8fafc;
}

.product-import-barcode-details code {
  min-width: 0;
  overflow: hidden;
  color: #0f172a;
  text-overflow: ellipsis;
  white-space: nowrap;
  user-select: all;
}

.product-import-barcode-details li > span {
  color: #64748b;
  font-size: .5rem;
  white-space: nowrap;
}

.product-import-errors {
  min-width: 260px;
  margin: 0;
  padding-inline-start: 18px;
  line-height: 1.7;
}

.product-import-approval {
  display: grid;
  gap: 12px;
  margin-top: 16px;
  padding: 16px;
  border: 1px solid #b9dcd5;
  border-radius: 16px;
  background: linear-gradient(145deg, #f4fbf9, #fff);
}

.product-import-approval > header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.product-import-approval > header > span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  flex: 0 0 38px;
  border-radius: 11px;
  color: #fff;
  background: #0f766e;
  font-weight: 900;
}

.product-import-approval h3 {
  margin: 0;
  font-size: .85rem;
}

.product-import-confirm-validation:empty,
.product-import-confirm-validation > ul:empty {
  display: none;
}

.product-import-confirm-validation > ul {
  margin: 0;
  padding: 10px 28px 10px 12px;
  border: 1px solid #fecaca;
  border-radius: 11px;
  background: #fef2f2;
  font-size: .61rem;
  line-height: 1.7;
}

.product-import-approval header p {
  margin: 3px 0 0;
  color: var(--transfer-muted);
  font-size: .59rem;
  line-height: 1.65;
}

.product-import-mode {
  min-width: 0;
  margin: 0;
  padding: 13px;
  border: 1px solid #d5e7e3;
  border-radius: 14px;
  background: #fff;
}

.product-import-mode legend {
  padding: 0 6px;
  color: #134e4a;
  font-size: .72rem;
  font-weight: 900;
}

.product-import-mode > p:first-of-type {
  margin: 0 0 10px;
  color: var(--transfer-muted);
  font-size: .58rem;
  line-height: 1.7;
}

.product-import-mode-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.product-import-mode-option {
  min-width: 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 13px;
  color: #334155;
  border: 1px solid #dbe5ea;
  border-radius: 13px;
  background: #f8fafc;
  cursor: pointer;
  transition: border-color .16s ease, box-shadow .16s ease, background-color .16s ease;
}

.product-import-mode-option:hover {
  border-color: #99cec4;
}

.product-import-mode-option:has(input:checked) {
  color: #134e4a;
  border-color: #0f766e;
  background: #f0fdfa;
  box-shadow: 0 0 0 3px rgb(15 118 110 / 9%);
}

.product-import-mode-option.is-valid-only:has(input:checked) {
  color: #14532d;
  border-color: #16a34a;
  background: #f0fdf4;
  box-shadow: 0 0 0 3px rgb(22 163 74 / 9%);
}

.product-import-mode-option > input {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  margin: 1px 0 0;
  accent-color: #0f766e;
}

.product-import-mode-option.is-valid-only > input {
  accent-color: #16a34a;
}

.product-import-mode-option:focus-within {
  outline: 3px solid rgb(20 184 166 / 18%);
  outline-offset: 2px;
}

.product-import-mode-copy {
  min-width: 0;
  display: grid;
  gap: 5px;
  font-size: .58rem;
  line-height: 1.7;
}

.product-import-mode-copy > strong {
  color: #0f172a;
  font-size: .67rem;
}

.product-import-mode-copy > strong small {
  display: inline-block;
  margin-inline-start: 4px;
  padding: 2px 6px;
  color: #0f766e;
  border-radius: 999px;
  background: #ccfbf1;
  font-size: .47rem;
  vertical-align: middle;
}

.product-import-mode-copy > em {
  color: #9f1239;
  font-size: .54rem;
  font-style: normal;
  font-weight: 800;
}

.product-import-mode-counts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 3px;
}

.product-import-mode-counts b {
  padding: 4px 8px;
  color: #475569;
  border-radius: 8px;
  background: #fff;
  font-size: .53rem;
}

.product-import-mode-counts b:first-child { color: #047857; }
.product-import-mode-counts b:last-child { color: #b45309; }

.product-import-mode-counts i {
  font-style: normal;
  font-size: .64rem;
}

.product-import-mode-result {
  margin: 10px 0 0 !important;
  padding: 9px 11px;
  border-radius: 10px;
  font-size: .59rem !important;
  font-weight: 800;
  line-height: 1.7;
}

.product-import-mode-result.is-strict { color: #0f766e; background: #ecfdf5; }
.product-import-mode-result.is-partial { color: #166534; background: #f0fdf4; }
.product-import-mode-result.is-blocked { color: #9f1239; background: #fff1f2; }

.product-import-mode-result:focus {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

.product-import-nothing-to-import {
  margin-top: 14px;
}

.product-import-approval-check {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 12px;
  border: 1px solid #d5e7e3;
  border-radius: 12px;
  background: #fff;
  font-size: .65rem;
  font-weight: 800;
  line-height: 1.75;
  cursor: pointer;
}

.product-import-approval-check input {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  margin-top: 2px;
  accent-color: #0f766e;
}

.product-import-password-field {
  display: grid;
  gap: 5px;
  max-width: 520px;
}

.product-import-password-field label {
  font-size: .65rem;
  font-weight: 900;
}

.product-import-password-field small {
  color: var(--transfer-muted);
  font-size: .55rem;
  line-height: 1.65;
}

.product-import-confirm-actions {
  margin: 2px 0 0;
}

.product-transfer-scope {
  padding-block: 16px;
}

.product-transfer-scope ul {
  margin: 0;
  padding-inline-start: 20px;
  color: #52696e;
  font-size: .63rem;
}

@media (max-width: 760px) {
  .product-transfer-hero-mark { width: 72px; height: 72px; flex-basis: 72px; border-radius: 20px; }
  .product-transfer-hero-mark span { font-size: 1.5rem; }
  .product-transfer-hero-mark small { font-size: .48rem; }
  .product-transfer-steps,
  .product-transfer-action-grid,
  .product-transfer-action-grid.is-single { grid-template-columns: 1fr; }
  .product-transfer-steps li { padding: 11px 12px; }
  .product-transfer-action-card { grid-template-columns: 48px minmax(0, 1fr); padding: 15px; }
  .product-transfer-card-icon { width: 48px; height: 48px; border-radius: 14px; }
  .product-transfer-upload-zone { align-items: flex-start; flex-wrap: wrap; }
  .product-transfer-upload-zone > .btn { width: 100%; }
  .product-external-import-launch { align-items: stretch; flex-direction: column; }
  .product-external-import-launch > .btn { width: 100%; }
  .product-external-mapping-grid { grid-template-columns: 1fr; }
  .product-transfer-section-heading { align-items: flex-start; flex-wrap: wrap; }
  .product-transfer-preview-metrics { width: 100%; margin-inline-start: 46px; }
  .product-transfer-format-grid { grid-template-columns: 1fr; }
  .product-transfer-dialog-shell { padding: 16px; }
  .product-transfer-dialog-shell > header { grid-template-columns: 42px minmax(0, 1fr) 33px; }
  .product-transfer-dialog-icon { width: 42px; height: 42px; }
  .product-transfer-file-actions { display: grid; grid-template-columns: 1fr; }
  .product-transfer-file-actions .btn { width: 100%; }
  .product-transfer-file-preview > header { align-items: flex-start; flex-direction: column; }
  .product-transfer-file-preview > header .btn { width: 100%; }
  .product-import-mode-options { grid-template-columns: 1fr; }
  .product-import-confirm-actions { display: grid; grid-template-columns: 1fr; }
  .product-import-confirm-actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .product-transfer-download-spinner { animation: none; }
}

/* Terms acknowledgement shared by customer, supplier and merchant registration. */
.terms-consent {
  margin: 2px 0 4px;
  padding: 15px 17px;
  border: 1px solid #d7e7e2;
  border-radius: 14px;
  background: #f8fcfb;
}

.terms-consent-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 7px;
  color: #3f5d54;
  font-size: .68rem;
  font-weight: 750;
  line-height: 1.8;
}

.terms-consent-check {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  cursor: pointer;
}

.terms-consent-check input {
  width: 21px;
  height: 21px;
  flex: 0 0 21px;
  margin: 0;
  accent-color: #08775f;
  cursor: pointer;
}

.terms-consent-row a,
.login-legal-note a {
  color: #08745e;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.terms-consent-row a:hover,
.login-legal-note a:hover {
  color: #065344;
}

.terms-consent-error {
  display: block;
  min-height: 0;
  margin-top: 5px;
  color: #c62828;
  font-size: .61rem;
  font-weight: 700;
}

.terms-consent-error:empty {
  display: none;
}

.login-legal-note {
  margin: 11px 0 0;
  color: #778781;
  text-align: center;
  font-size: .59rem;
  line-height: 1.8;
}

@media (max-width: 575.98px) {
  .terms-consent {
    padding: 14px;
    border-radius: 13px;
  }

  .terms-consent-row {
    font-size: .72rem;
  }

  .terms-consent-check input {
    width: 23px;
    height: 23px;
    flex-basis: 23px;
  }

  .login-legal-note {
    margin-top: 10px;
    font-size: .62rem;
  }

  /* Keep every login-only surface inside narrow phone viewports. */
  .login-page,
  .login-shell,
  .login-form-side,
  .login-form {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .login-form-side {
    padding-right: max(16px, env(safe-area-inset-right));
    padding-left: max(16px, env(safe-area-inset-left));
  }

  .login-heading,
  .login-secondary-actions,
  .login-footer,
  .login-control,
  .prices-guest-button {
    min-width: 0;
    max-width: 100%;
  }

  .login-account-options {
    display: grid;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 8px;
  }

  .remember-option.persistent-login-note {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .persistent-login-note > span,
  .prices-guest-button > span:last-child {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .forgot-password-link {
    justify-self: start;
    white-space: normal;
  }

  .login-register-link {
    flex-wrap: wrap;
    text-align: center;
  }
}

@media (max-width: 359.98px) {
  .login-account-options {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* A neutral frame is painted by CSS immediately, before the shared script has
   finished parsing the page. JS then replaces it with the product's first
   letter and keeps that generated placeholder when the network image fails. */
img[src*="/media/product-images/"],
img[src*="/uploads/products/"],
img.weyak-product-image {
  background-color: #eaf8f3;
  background-image:
    var(--weyak-product-placeholder-image,
      linear-gradient(135deg, #eaf8f3 0%, #d9eee7 100%)) !important;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

img.weyak-product-image-loaded {
  background-image: none !important;
}

img.weyak-product-image-failed {
  color: transparent;
}
