/* Life Mart — Digikala-style Auth + Account (v1.0.0) — RTL */
:root{
  --rozh-red:#ef4056;--rozh-red-dark:#d32f2f;--rozh-text:#0c0c0c;--rozh-muted:#81858b;
  --rozh-border:#e0e0e1;--rozh-bg:#f5f5f5;--rozh-card:#fff;--rozh-blue:#19bfd3;
}
/* Hide default page title on my-account, center layout */
.woocommerce-account main.wp-block-group .wp-block-post-title{display:none!important}
.woocommerce-account main.wp-block-group{max-width:none!important;width:100%!important;margin:0!important;padding:16px 16px 32px!important;box-sizing:border-box}
@media(min-width:1280px){.woocommerce-account main.wp-block-group{padding-left:24px!important;padding-right:24px!important}}
.woocommerce-account main.wp-block-group.is-layout-constrained>:where(:not(.alignleft):not(.alignright):not(.alignfull)){max-width:var(--dk-max,1676px)!important;margin-left:auto!important;margin-right:auto!important;width:100%;box-sizing:border-box}
.woocommerce-account .wp-block-post-content{max-width:var(--dk-max,1676px)!important;margin-left:auto!important;margin-right:auto!important;width:100%;box-sizing:border-box}
.woocommerce-account .wp-block-post-content.is-layout-constrained>:where(:not(.alignleft):not(.alignright):not(.alignfull)){max-width:var(--dk-max,1676px)!important;margin-left:auto!important;margin-right:auto!important;width:100%;box-sizing:border-box}
.woocommerce-account .woocommerce{max-width:var(--dk-max,1676px);margin:0 auto;width:100%;min-width:0;box-sizing:border-box}

/* ============ AUTH (Digikala login card) ============ */
.rozh-auth-wrap{display:flex;justify-content:center;padding:32px 16px 48px;background:var(--rozh-bg,#f5f5f5)}
.rozh-auth-card{width:100%;max-width:400px;background:var(--rozh-card,#fff);border:1px solid var(--rozh-border,#e0e0e1);border-radius:8px;padding:24px 24px 20px;box-shadow:0 1px 4px rgba(0,0,0,.06)}
.rozh-auth-logo{display:block;text-align:center;font-weight:900;font-size:30px;color:var(--rozh-red);margin:4px 0 16px;letter-spacing:-.5px}
.rozh-auth-title{font-size:18px;font-weight:800;margin:0 0 4px;color:var(--rozh-text)}
.rozh-auth-sep{color:var(--rozh-muted);font-weight:400;margin:0 4px}
.rozh-auth-hello{font-size:15px;font-weight:700;margin:12px 0 2px}
.rozh-auth-sub{font-size:14px;color:#3f4064;margin:0 0 14px;line-height:1.9}
.rozh-auth-sub b{color:var(--rozh-text)}
.rozh-auth-input{width:100%;height:48px;border:1px solid #a1a3a8;border-radius:8px;padding:8px 14px;font-size:15px;color:var(--rozh-text);background:#fff;outline:none;transition:border-color .15s,box-shadow .15s}
.rozh-auth-input:focus{border-color:var(--rozh-blue);box-shadow:0 0 0 2px rgba(25,191,211,.18)}
.rozh-auth-input[dir="ltr"]{text-align:left}
.rozh-auth-hint{font-size:14px;color:var(--rozh-muted);margin:8px 0 14px}
.rozh-auth-btn{width:100%;height:48px;border:0;border-radius:8px;background:var(--rozh-red);color:#fff;font-size:15px;font-weight:800;cursor:pointer;transition:background .15s}
.rozh-auth-btn:hover{background:var(--rozh-red-dark)}
.rozh-auth-btn:disabled{opacity:.6;cursor:wait}
.rozh-auth-card .rozh-auth-input+.rozh-auth-btn{margin-top:14px}
.rozh-auth-terms{font-size:14px;color:var(--rozh-muted);margin:14px 0 0;line-height:2}
.rozh-auth-terms a{color:var(--rozh-blue)}
.rozh-auth-label{display:block;font-size:14px;font-weight:700;margin:12px 0 6px}
.rozh-auth-err{background:#fef2f2;border:1px solid #fecaca;color:#b91c1c;font-size:14px;border-radius:8px;padding:8px 12px;margin-bottom:12px;line-height:1.8}
.rozh-auth-ok{background:#f0fdf4;border:1px solid #bbf7d0;color:#15803d;font-size:14px;border-radius:8px;padding:8px 12px;margin-bottom:12px}
.rozh-auth-back{background:none;border:0;color:var(--rozh-blue);font-size:14px;cursor:pointer;padding:0;margin-bottom:10px}
.rozh-auth-edit{background:none;border:0;color:var(--rozh-blue);font-size:14px;cursor:pointer;padding:0}
.rozh-auth-alt{font-size:14px;text-align:center;margin:12px 0 0}
.rozh-auth-alt a{color:var(--rozh-blue)}
.rozh-otp-row{display:flex;gap:8px;justify-content:center;margin:6px 0 10px}
.rozh-otp{width:48px;height:52px;text-align:center;font-size:20px;font-weight:800;border:1px solid #a1a3a8;border-radius:8px;outline:none}
.rozh-otp:focus{border-color:var(--rozh-blue);box-shadow:0 0 0 2px rgba(25,191,211,.18)}
.rozh-auth-timer{text-align:center;color:var(--rozh-muted);font-size:14px;margin-bottom:12px}
.rozh-auth-resend{display:block;width:100%;background:none;border:0;color:var(--rozh-blue);font-size:14px;margin-top:12px;cursor:pointer}
.rozh-auth-resend:disabled{color:var(--rozh-muted);cursor:default}
.rozh-auth-step{display:none}
.rozh-auth-step.is-active{display:block}
.rozh-auth-wrap{box-sizing:border-box;border-radius:16px}

/* ============ ACCOUNT SHELL — هم‌عرض با dk-archive/dk-single ============ */
.rozh-account{display:grid;grid-template-columns:280px minmax(0,1fr);gap:16px;align-items:start;width:100%;max-width:var(--dk-max,1676px);margin:0 auto;box-sizing:border-box;min-width:0}
.rozh-account>*{min-width:0;max-width:100%;box-sizing:border-box}
.rozh-side{background:var(--rozh-card,#fff);border:1px solid var(--rozh-border);border-radius:12px;overflow:hidden;position:sticky;top:140px}
.rozh-side-user{padding:16px;border-bottom:1px solid var(--rozh-border)}
.rozh-side-user-top{display:flex;align-items:center;gap:10px}
.rozh-avatar{width:48px;height:48px;border-radius:50%;background:#f0f0f1;color:#3f4064;display:flex;align-items:center;justify-content:center;font-size:20px;font-weight:800;flex-shrink:0}
.rozh-side-user-info{display:flex;flex-direction:column;min-width:0;flex:1}
.rozh-side-user-info strong{font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rozh-side-mobile{font-size:14px;color:var(--rozh-muted)}
.rozh-side-edit{color:var(--rozh-blue);display:flex;padding:6px;border-radius:8px}
.rozh-side-edit:hover{background:#f0f0f1}
.rozh-menu{list-style:none;margin:0;padding:6px 0}
.rozh-menu li{margin:0}
.rozh-menu li a{display:flex;align-items:center;gap:10px;padding:11px 16px;font-size:14px;color:#3f4064;border-inline-start:3px solid transparent;text-decoration:none}
.rozh-menu li a:hover{background:#f9fafb;color:var(--rozh-text)}
.rozh-menu li.is-active a,.rozh-menu li.rozh-active a{color:var(--rozh-text);font-weight:800;border-inline-start-color:var(--rozh-red);background:#fff}
.rozh-menu-ic{display:flex;color:#a1a3a8}
.rozh-menu li.is-active .rozh-menu-ic{color:var(--rozh-text)}
.rozh-content{min-width:0;display:flex;flex-direction:column;gap:16px}
.rozh-card{background:var(--rozh-card,#fff);border:1px solid var(--rozh-border);border-radius:12px;padding:0;overflow:hidden}
.rozh-card-head{display:flex;align-items:center;justify-content:space-between;padding:14px 18px;border-bottom:1px solid #f0f0f1}
.rozh-card-head h3{margin:0;font-size:15px;font-weight:800;padding-inline-start:0;position:relative}
.rozh-card-head h3::after{content:"";display:block;width:100%;height:2px;background:var(--rozh-red);margin-top:6px;border-radius:2px}
.rozh-link{font-size:14px;color:var(--rozh-blue)}
.rozh-muted{color:var(--rozh-muted);font-size:14px}
.rozh-dash{display:flex;flex-direction:column;gap:16px}
.rozh-order-stats{display:grid;grid-template-columns:repeat(3,1fr);}
.rozh-stat{display:flex;align-items:center;gap:10px;padding:16px 18px;text-decoration:none;color:inherit}
.rozh-stat+.rozh-stat{border-inline-start:1px solid #f0f0f1}
.rozh-stat-ic{width:52px;height:52px;border-radius:12px;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.rozh-stat-ic.is-blue{background:#e6f7f9;color:#0ea5b7}
.rozh-stat-ic.is-green{background:#e7f6ec;color:#00a049}
.rozh-stat-ic.is-yellow{background:#fef6e7;color:#b7791f}
.rozh-stat-tx{display:flex;flex-direction:column;line-height:1.7}
.rozh-stat-tx b{font-size:14px}
.rozh-stat-tx small{font-size:14px;color:var(--rozh-muted)}
.rozh-recent-orders{list-style:none;margin:0;padding:0}
.rozh-recent-orders li a{display:flex;align-items:center;gap:12px;padding:12px 18px;border-top:1px solid #f5f5f5;font-size:14px}
.rozh-recent-orders li:first-child a{border-top:0}
.rozh-ro-num{font-weight:800}
.rozh-ro-status{margin-inline-start:auto;font-size:14px;padding:2px 10px;border-radius:999px;background:#f0f0f1;color:#3f4064}
.rozh-ro-status.is-completed{background:#e7f6ec;color:#00a049}
.rozh-ro-status.is-processing,.rozh-ro-status.is-on-hold,.rozh-ro-status.is-pending{background:#e6f7f9;color:#0ea5b7}
.rozh-ro-status.is-cancelled,.rozh-ro-status.is-refunded,.rozh-ro-status.is-failed{background:#fef2f2;color:#b91c1c}
.rozh-ro-total{font-weight:800;white-space:nowrap}
.rozh-empty{text-align:center;padding:32px 18px;color:var(--rozh-muted)}
.rozh-empty-icon{display:flex;justify-content:center;margin-bottom:10px;color:#c0c2c5}
.rozh-empty-icon svg{width:40px;height:40px}
.rozh-btn{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:8px 24px;border-radius:8px;font-size:14px;font-weight:800;text-decoration:none;cursor:pointer;border:1px solid transparent}
.rozh-btn-primary{background:var(--rozh-red);color:#fff;margin:0 18px 18px}
.rozh-btn-outline{border-color:var(--rozh-blue);color:var(--rozh-blue);background:#fff}
.rozh-mini-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;padding:16px 18px}
.rozh-mini-item{border:1px solid #f0f0f1;border-radius:8px;padding:10px;display:flex;flex-direction:column;gap:6px;text-decoration:none;color:inherit}
.rozh-mini-item img{width:100%;height:120px;object-fit:contain}
.rozh-mini-title{font-size:14px;line-height:1.7;min-height:42px;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.rozh-mini-price{font-size:14px;font-weight:800}
.rozh-mini-remove{background:none;border:0;color:var(--rozh-red);font-size:14px;cursor:pointer}
.rozh-list{list-style:none;margin:0;padding:8px 18px 16px;display:flex;flex-direction:column;gap:10px}
.rozh-list li{border:1px solid #f0f0f1;border-radius:8px;padding:10px 12px;font-size:14px}
/* Woo default content polish inside .rozh-content */
.rozh-content .woocommerce-orders-table,.rozh-content table.shop_table{width:100%;border-collapse:collapse;font-size:14px}
.rozh-content .woocommerce-orders-table th,.rozh-content table.shop_table th{background:#f9fafb;text-align:right;padding:10px 12px;border-bottom:1px solid var(--rozh-border)}
.rozh-content .woocommerce-orders-table td,.rozh-content table.shop_table td{padding:10px 12px;border-bottom:1px solid #f0f0f1}
.rozh-content .woocommerce-button,.rozh-content .button{background:var(--rozh-red);color:#fff;border:0;border-radius:8px;padding:9px 18px;font-size:14px;font-weight:700;text-decoration:none;display:inline-block}
.rozh-content address{line-height:2;font-size:14px}
/* ---- Woo forms (edit-account / address) inside profile — Digikala card style ---- */
.rozh-content>form.woocommerce-EditAccountForm,.rozh-content>form.woocommerce-address-form,.rozh-content>form.edit-account,.rozh-content>form:not([class]){background:var(--rozh-card,#fff);border:1px solid var(--rozh-border,#e0e0e1);border-radius:12px;padding:18px;display:grid;grid-template-columns:1fr 1fr;gap:14px 16px;margin:0;max-width:100%;box-sizing:border-box}
.rozh-content>form.woocommerce-EditAccountForm>p,.rozh-content>form.woocommerce-address-form>p,.rozh-content>form.edit-account>p,.rozh-content>form:not([class])>p,.rozh-content>form:not([class])>h2,.rozh-content>form:not([class])>.woocommerce-address-fields{margin:0;min-width:0;grid-column:1/-1}
.rozh-content .woocommerce-address-fields__field-wrapper{display:grid;grid-template-columns:1fr 1fr;gap:14px 16px}
.rozh-content .woocommerce-address-fields__field-wrapper>p{margin:0;min-width:0}
.rozh-content .woocommerce-address-fields{margin:0}
.rozh-content form .form-row-wide,.rozh-content form .woocommerce-form-row--wide{grid-column:1/-1}
.rozh-content form .clear{display:none}
.rozh-content form label{display:block;font-size:14px;font-weight:700;color:var(--rozh-text,#0c0c0c);margin:0 0 6px;line-height:1.9}
.rozh-content form label .required{color:var(--rozh-red,#ef4056);text-decoration:none}
.rozh-content form .input-text,.rozh-content form input[type=text],.rozh-content form input[type=email],.rozh-content form input[type=tel],.rozh-content form input[type=password],.rozh-content form select{width:100%;height:48px;background:#fff;border:1px solid #c0c2c5;border-radius:8px;padding:8px 14px;font-size:15px;color:var(--rozh-text,#0c0c0c);outline:none;box-sizing:border-box;transition:border-color .15s,box-shadow .15s;box-shadow:none}
.rozh-content form textarea{width:100%;background:#fff;border:1px solid #c0c2c5;border-radius:8px;padding:10px 14px;font-size:15px;box-sizing:border-box;min-height:96px}
.rozh-content form .input-text:focus,.rozh-content form input[type=text]:focus,.rozh-content form input[type=email]:focus,.rozh-content form input[type=tel]:focus,.rozh-content form input[type=password]:focus,.rozh-content form select:focus,.rozh-content form textarea:focus{border-color:var(--rozh-blue,#19bfd3);box-shadow:0 0 0 3px rgba(25,191,211,.16);background:#fff}
.rozh-content form .description,.rozh-content form #account_display_name_description{font-size:13px;color:var(--rozh-muted,#81858b);line-height:1.9;display:block;margin-top:6px}
.rozh-content form fieldset{grid-column:1/-1;border:1px solid var(--rozh-border,#e0e0e1);border-radius:12px;padding:18px 16px 16px;margin:4px 0 0;min-width:0;display:flex;flex-direction:column;gap:14px;background:#fff}
.rozh-content form fieldset legend{padding:0 10px;font-size:15px;font-weight:800;color:var(--rozh-text,#0c0c0c);background:#fff;line-height:1.7}
.rozh-content form fieldset p{margin:0}
/* password eye toggle — Woo injects span.password-input > button.show-password-input (Woo base CSS removed, so restyle here, RTL-aware) */
.rozh-content form .password-input{display:flex;flex-direction:column;justify-content:center;position:relative;width:100%}
.rozh-content form .password-input .input-text,.rozh-content form .password-input input[type=password],.rozh-content form .password-input input[type=text]{width:100%;padding-inline-end:44px}
.rozh-content form .password-input input::-ms-reveal{display:none}
.rozh-content form .show-password-input{position:absolute;inset-inline-end:6px;top:50%;transform:translateY(-50%);width:36px;height:36px;display:flex;align-items:center;justify-content:center;background:transparent;border:0;border-radius:8px;cursor:pointer;padding:0;margin:0;color:#62666d}
.rozh-content form .show-password-input:hover{background:#f0f0f1;color:var(--rozh-text,#0c0c0c)}
.rozh-content form .show-password-input::before{content:"";display:block;width:22px;height:22px;background-repeat:no-repeat;background-size:contain;background-image:url('data:image/svg+xml,<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M17.3 3.3C16.9 2.9 16.2 2.9 15.7 3.3L13.3 5.7C12.2437 5.3079 11.1267 5.1048 10 5.1C6.2 5.2 2.8 7.2 1 10.5C1.2 10.9 1.5 11.3 1.8 11.7C2.6 12.8 3.6 13.7 4.7 14.4L3 16.1C2.6 16.5 2.5 17.2 3 17.7C3.4 18.1 4.1 18.2 4.6 17.7L17.3 4.9C17.7 4.4 17.7 3.7 17.3 3.3ZM6.7 12.3L5.4 13.6C4.2 12.9 3.1 11.9 2.3 10.7C3.5 9 5.1 7.8 7 7.2C5.7 8.6 5.6 10.8 6.7 12.3ZM10.1 9C9.6 8.5 9.7 7.7 10.2 7.2C10.7 6.8 11.4 6.8 11.9 7.2L10.1 9ZM18.3 9.5C17.8 8.8 17.2 8.1 16.5 7.6L15.5 8.6C16.3 9.2 17 9.9 17.6 10.8C15.9 13.4 13 15 9.9 15H9.1L8.1 16C8.8 15.9 9.4 16 10 16C13.3 16 16.4 14.4 18.3 11.7C18.6 11.3 18.8 10.9 19.1 10.5C18.8 10.2 18.6 9.8 18.3 9.5ZM14 10L10 14C12.2 14 14 12.2 14 10Z" fill="%2362666d"/></svg>')}
.rozh-content form .show-password-input.display-password::before{background-image:url('data:image/svg+xml,<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M18.3 9.49999C15 4.89999 8.50002 3.79999 3.90002 7.19999C2.70002 8.09999 1.70002 9.29999 0.900024 10.6C1.10002 11 1.40002 11.4 1.70002 11.8C5.00002 16.4 11.3 17.4 15.9 14.2C16.8 13.5 17.6 12.8 18.3 11.8C18.6 11.4 18.8 11 19.1 10.6C18.8 10.2 18.6 9.79999 18.3 9.49999ZM10.1 7.19999C10.6 6.69999 11.4 6.69999 11.9 7.19999C12.4 7.69999 12.4 8.49999 11.9 8.99999C11.4 9.49999 10.6 9.49999 10.1 8.99999C9.60003 8.49999 9.60003 7.69999 10.1 7.19999ZM10 14.9C6.90002 14.9 4.00002 13.3 2.30002 10.7C3.50002 8.99999 5.10002 7.79999 7.00002 7.19999C6.30002 7.99999 6.00002 8.89999 6.00002 9.89999C6.00002 12.1 7.70002 14 10 14C12.2 14 14.1 12.3 14.1 9.99999V9.89999C14.1 8.89999 13.7 7.89999 13 7.19999C14.9 7.79999 16.5 8.99999 17.7 10.7C16 13.3 13.1 14.9 10 14.9Z" fill="%2362666d"/></svg>')}
.rozh-content form .woocommerce-password-strength,.rozh-content form .woocommerce-password-hint{font-size:13px;line-height:1.9;color:var(--rozh-muted,#81858b);margin-top:6px;background:none;border:0;padding:0}
.rozh-content form .woocommerce-password-strength.strong{color:var(--rozh-success,#00a049)}
.rozh-content form .woocommerce-password-strength.bad,.rozh-content form .woocommerce-password-strength.short{color:#b91c1c}
/* submit row */
.rozh-content form>p:last-of-type{grid-column:1/-1;margin-top:2px}
.rozh-content form button[name=save_account_details],.rozh-content form button[name=save_address]{min-height:48px;min-width:200px;font-size:15px}
/* ============ RESPONSIVE — مثل بقیه صفحات (1100 / 900 / 768 / 600 / 480) ============ */
.rozh-content .woocommerce-MyAccount-content,.rozh-card{max-width:100%}
.woocommerce-Addresses{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.woocommerce-Addresses .woocommerce-Address{border:1px solid #f0f0f1;border-radius:8px;padding:14px}
@media(max-width:1100px){
  .rozh-account{grid-template-columns:248px minmax(0,1fr);gap:12px}
  .rozh-mini-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:900px){
  .rozh-account{grid-template-columns:minmax(0,1fr)}
  .rozh-side{position:static}
  .rozh-menu{display:grid;grid-template-columns:1fr 1fr}
  .rozh-menu li a{border:0;border-bottom:1px solid #f5f5f5;padding:10px 12px;min-height:44px}
  .rozh-menu li:nth-child(odd) a{border-inline-end:1px solid #f5f5f5}
  .rozh-mini-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .rozh-order-stats{grid-template-columns:1fr}
  .rozh-stat+.rozh-stat{border-inline-start:0;border-top:1px solid #f0f0f1}
  .woocommerce-Addresses{grid-template-columns:1fr}
  .rozh-content>form.woocommerce-EditAccountForm,.rozh-content>form.woocommerce-address-form,.rozh-content>form.edit-account,.rozh-content>form:not([class]){grid-template-columns:minmax(0,1fr);padding:14px}
  .rozh-content .woocommerce-address-fields__field-wrapper{grid-template-columns:minmax(0,1fr)}
  .rozh-content form fieldset{padding:14px 12px}
  .rozh-content form button[name=save_account_details],.rozh-content form button[name=save_address]{width:100%;min-width:0}
}
@media(max-width:768px){
  /* مثل dk-archive / dk-single / dk-section در موبایل */
  .woocommerce-account main.wp-block-group{padding:12px 8px 24px!important}
  .rozh-account{gap:12px}
  .rozh-side,.rozh-card{border-radius:12px}
  .rozh-content{gap:12px}
  .rozh-dash{gap:12px}
  .rozh-card-head{padding:12px 14px;flex-wrap:wrap;gap:8px}
  .rozh-stat{padding:12px 14px}
  .rozh-recent-orders li a{flex-wrap:wrap;row-gap:6px;padding:12px 14px}
  .rozh-ro-status{margin-inline-start:0}
  .rozh-ro-total{margin-inline-start:auto}
  .rozh-mini-grid{padding:12px 14px;gap:8px}
  .rozh-mini-item img{height:110px}
  .rozh-list{padding:8px 14px 12px}
  /* جدول سفارش‌ها: اسکرول افقی تا صفحه کشیده نشود */
  .rozh-card{overflow-x:hidden}
  .rozh-content .woocommerce-orders-table,.rozh-content table.shop_table{display:block;max-width:100%;overflow-x:auto;white-space:nowrap;-webkit-overflow-scrolling:touch}
  .rozh-content .woocommerce-orders-table thead,.rozh-content table.shop_table thead,
  .rozh-content .woocommerce-orders-table tbody,.rozh-content table.shop_table tbody{display:table;width:100%}
  .rozh-content form .input-text,.rozh-content form input[type=text],.rozh-content form input[type=email],.rozh-content form input[type=tel],.rozh-content form input[type=password],.rozh-content form select{font-size:15px}
  .rozh-empty{padding:24px 14px}
  .rozh-auth-wrap{padding:16px 8px 24px;border-radius:12px}
}
@media(max-width:600px){
  .rozh-side-user{padding:12px 14px}
  .rozh-avatar{width:44px;height:44px;font-size:18px}
  .rozh-card-head h3{font-size:14px}
  .rozh-stat-ic{width:44px;height:44px}
  .rozh-mini-item img{height:96px}
  .rozh-btn-primary{margin:0 14px 14px;width:calc(100% - 28px)}
  .woocommerce-Addresses{gap:12px}
}
@media(max-width:480px){
  .rozh-menu{grid-template-columns:1fr 1fr}
  .rozh-menu li a{font-size:13px;padding:10px;gap:8px}
  .rozh-mini-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .rozh-auth-wrap{padding:16px 8px 24px}
  .rozh-auth-card{padding:20px 16px;border-radius:12px}
  .rozh-otp{width:44px;height:50px}
}
/* ============ AUTH-ONLY — مهمان: فقط فرم، بدون هدر و فوتر (مثل دیجی‌کالا) ============ */
.rozh-auth-card .rozh-auth-input,.rozh-auth-card .rozh-otp{background:#fff;border-color:#a1a3a8}
body.rozh-auth-only header.wp-block-template-part,body.woocommerce-account:not(.logged-in) header.wp-block-template-part,
body.rozh-auth-only footer.wp-block-template-part,body.woocommerce-account:not(.logged-in) footer.wp-block-template-part,
body.rozh-auth-only .dk-mobile-nav,body.woocommerce-account:not(.logged-in) .dk-mobile-nav,
body.rozh-auth-only .dk-header{display:none!important}
body.rozh-auth-only{background:#fff}
body.rozh-auth-only.woocommerce-account main.wp-block-group,body.woocommerce-account:not(.logged-in).woocommerce-account main.wp-block-group{padding:32px 16px!important;min-height:100svh;display:flex;flex-direction:column;align-items:center;justify-content:center;box-sizing:border-box}
body.rozh-auth-only .wp-block-post-content,body.woocommerce-account:not(.logged-in) .wp-block-post-content{width:100%}
body.rozh-auth-only .rozh-auth-wrap,body.woocommerce-account:not(.logged-in) .rozh-auth-wrap{background:#fff;padding:0;max-width:none;border-radius:0;width:100%;flex-direction:column;align-items:center;gap:4px}
body.rozh-auth-only .rozh-auth-card,body.woocommerce-account:not(.logged-in) .rozh-auth-card{margin:0 auto;box-shadow:0 1px 6px rgba(0,0,0,.08)}
body.rozh-auth-only .rozh-auth-back-link{display:inline-flex;align-items:center;gap:6px;margin-top:16px;font-size:14px;color:var(--rozh-muted,#81858b);text-decoration:none}
body.rozh-auth-only .rozh-auth-back-link:hover{color:var(--rozh-red,#ef4056)}
@media(max-width:768px){
  body.rozh-auth-only.woocommerce-account main.wp-block-group,body.woocommerce-account:not(.logged-in).woocommerce-account main.wp-block-group{padding:24px 12px!important;min-height:100svh}
  body.rozh-auth-only .rozh-auth-card,body.woocommerce-account:not(.logged-in) .rozh-auth-card{border-radius:12px}
}
/* Dark mode */
[data-rozh-theme="dark"] .rozh-auth-wrap{background:#101216}
[data-rozh-theme="dark"] body.rozh-auth-only,[data-rozh-theme="dark"] body.rozh-auth-only.woocommerce-account main.wp-block-group{background:#101216}
[data-rozh-theme="dark"] body.rozh-auth-only .rozh-auth-wrap,[data-rozh-theme="dark"] body.woocommerce-account:not(.logged-in) .rozh-auth-wrap{background:#101216}
[data-rozh-theme="dark"] .rozh-auth-card,[data-rozh-theme="dark"] .rozh-side,[data-rozh-theme="dark"] .rozh-card{background:#1c1e24!important;border-color:#343843!important}
[data-rozh-theme="dark"] .rozh-auth-title,[data-rozh-theme="dark"] .rozh-auth-hello,[data-rozh-theme="dark"] .rozh-side-user-info strong,[data-rozh-theme="dark"] .rozh-card-head h3,[data-rozh-theme="dark"] .rozh-stat-tx b{color:#e7e8ea}
[data-rozh-theme="dark"] .rozh-auth-sub,[data-rozh-theme="dark"] .rozh-muted,[data-rozh-theme="dark"] .rozh-menu li a{color:#9aa1ab}
[data-rozh-theme="dark"] .rozh-auth-input,[data-rozh-theme="dark"] .rozh-otp{background:#2b2e36!important;border-color:#343843!important;color:#e7e8ea!important}
[data-rozh-theme="dark"] .rozh-menu li a:hover,[data-rozh-theme="dark"] .rozh-menu li.is-active a{background:#24272f!important;color:#e7e8ea!important}
[data-rozh-theme="dark"] .rozh-mini-item,[data-rozh-theme="dark"] .rozh-list li{background:#24272f;border-color:#343843}
[data-rozh-theme="dark"] .rozh-avatar{background:#2b2e36;color:#c9ccd2}
[data-rozh-theme="dark"] .rozh-content>form.woocommerce-EditAccountForm,[data-rozh-theme="dark"] .rozh-content>form.woocommerce-address-form,[data-rozh-theme="dark"] .rozh-content>form.edit-account,[data-rozh-theme="dark"] .rozh-content>form:not([class]),[data-rozh-theme="dark"] .rozh-content form fieldset{background:#1c1e24!important;border-color:#343843!important}
[data-rozh-theme="dark"] .rozh-content form label,[data-rozh-theme="dark"] .rozh-content form fieldset legend{color:#e7e8ea;background:transparent}
[data-rozh-theme="dark"] .rozh-content form .input-text,[data-rozh-theme="dark"] .rozh-content form input[type=text],[data-rozh-theme="dark"] .rozh-content form input[type=email],[data-rozh-theme="dark"] .rozh-content form input[type=tel],[data-rozh-theme="dark"] .rozh-content form input[type=password],[data-rozh-theme="dark"] .rozh-content form select,[data-rozh-theme="dark"] .rozh-content form textarea{background:#2b2e36!important;border-color:#343843!important;color:#e7e8ea!important}
[data-rozh-theme="dark"] .rozh-content form .show-password-input{color:#9aa1ab}
[data-rozh-theme="dark"] .rozh-content form .show-password-input:hover{background:#2b2e36;color:#e7e8ea}
