/* Sara Hamayun Store Manager */
.shsm-app{display:flex;min-height:720px;background:#f7efe5;color:#3b2430;border:1px solid #ead9ca;border-radius:18px;overflow:hidden;font-family:inherit}
.shsm-sidebar{width:245px;flex:0 0 245px;background:#702d46;color:#fff;padding:28px 18px;display:flex;flex-direction:column}
.shsm-brand{font-family:Georgia,serif;font-size:25px;line-height:1.02;letter-spacing:.04em;text-align:center;color:#f5dfb0;margin:0 auto 34px}
.shsm-side-label{font-size:10px;letter-spacing:.14em;color:#e6c6ce;padding:0 12px 12px}
.shsm-sidebar nav{display:grid;gap:7px}
.shsm-sidebar nav a,.shsm-logout{color:#f8edf0;text-decoration:none;padding:13px 14px;border-radius:9px;font-size:14px}
.shsm-sidebar nav a:hover,.shsm-sidebar nav a.is-active{background:#8d4960;color:#fff}
.shsm-logout{margin-top:auto;border-top:1px solid rgba(255,255,255,.18);border-radius:0;padding-top:20px}
.shsm-main{min-width:0;flex:1}
.shsm-topbar{height:65px;padding:0 30px;display:flex;align-items:center;justify-content:space-between;background:#fffaf5;border-bottom:1px solid #ead9ca;font-size:13px;color:#6f3449}
.shsm-content{padding:30px}
.shsm-content h1{font:normal 31px Georgia,serif;color:#702d46;margin:0 0 8px}
.shsm-subtitle,.shsm-help{color:#806c70;font-size:14px;margin:0 0 22px}
.shsm-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:24px 0}
.shsm-stat,.shsm-panel{background:#fffaf5;border:1px solid #ead9ca;border-radius:14px;padding:20px}
.shsm-stat{display:flex;flex-direction:column;gap:8px}
.shsm-stat-icon{color:#a47742;font-size:20px}
.shsm-stat-value{font:normal 29px Georgia,serif;color:#702d46}
.shsm-stat-label{font-size:12px;color:#806c70}
.shsm-quick-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:20px 0 24px}
.shsm-quick-grid a{display:flex;flex-direction:column;gap:8px;padding:20px;background:#fffaf5;border:1px solid #ead9ca;border-radius:13px;text-decoration:none;color:#702d46}
.shsm-quick-grid a strong{font-size:15px}.shsm-quick-grid a span{font-size:12px;color:#806c70}
.shsm-panel{margin:20px 0}.shsm-panel h2{font:normal 22px Georgia,serif;color:#702d46;margin:0 0 18px}
.shsm-toolbar{display:flex;justify-content:space-between;align-items:center;gap:14px;margin:22px 0}
.shsm-toolbar form{display:flex;gap:8px;flex:1}.shsm-toolbar input{max-width:320px}
.shsm-form{display:grid;gap:17px}.shsm-form label{display:grid;gap:7px;font-size:13px;font-weight:600;color:#49313a}.shsm-form label span{color:#a23b50}
.shsm-form input:not([type=file]),.shsm-form select,.shsm-form textarea,.shsm-toolbar input,.shsm-inline-form select{width:100%;box-sizing:border-box;border:1px solid #e7d6c9;background:#f7efe8;border-radius:8px;padding:12px 13px;color:#392630;font:inherit;font-weight:400;min-height:43px}
.shsm-form textarea{resize:vertical}.shsm-form input[type=file]{border:1px dashed #c9a8a7;padding:12px;background:#fbf5ef;border-radius:8px}
.shsm-form small{font-weight:400;color:#8a777a}
.shsm-two-col,.shsm-upload-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.shsm-btn{display:inline-flex;align-items:center;justify-content:center;background:#702d46;color:#fff!important;border:0;border-radius:8px;padding:12px 18px;text-decoration:none!important;font:inherit;font-size:13px;cursor:pointer;white-space:nowrap}
.shsm-btn:hover{background:#8a4059;color:#fff}.shsm-btn-light{background:#f1e3d8;color:#702d46!important;border:1px solid #e4d0c5}
.shsm-btn-small{padding:8px 10px;font-size:11px}.shsm-submit{justify-self:start;min-width:160px;margin-top:5px}.shsm-cancel,.shsm-small-link,.shsm-text-link{color:#873c56;text-decoration:underline;font-size:13px}
.shsm-table-wrap{width:100%;overflow-x:auto}.shsm-table{width:100%;border-collapse:collapse;min-width:650px;font-size:13px}.shsm-table th{text-align:left;color:#702d46;background:#f8eee6;font-weight:600}.shsm-table th,.shsm-table td{padding:13px 12px;border-bottom:1px solid #ead9ca;vertical-align:middle}
.shsm-product-cell{display:flex;align-items:center;gap:10px}.shsm-thumb{width:42px;height:42px;object-fit:cover;border-radius:7px}.shsm-no-thumb{width:42px;height:42px;display:grid;place-items:center;background:#f1e3d8;border-radius:7px}
.shsm-status{display:inline-block;padding:5px 9px;background:#f1e6dc;color:#754157;border-radius:20px;font-size:11px}
.shsm-inline-form{display:flex;gap:6px;min-width:190px}.shsm-inline-form select{min-height:34px;padding:6px;font-size:11px}
.shsm-pagination{display:flex;gap:6px;margin:18px 0}.shsm-pagination a{padding:7px 11px;background:#fffaf5;border:1px solid #ead9ca;border-radius:6px;color:#702d46;text-decoration:none}.shsm-pagination a.current{background:#702d46;color:white}
.shsm-category-form{grid-template-columns:2fr 1fr auto;align-items:end}.shsm-category-list{display:grid;gap:0}.shsm-category-list>div{display:flex;justify-content:space-between;padding:12px 0;border-bottom:1px solid #ead9ca}.shsm-category-list small{color:#8a777a}
.shsm-notice{padding:13px 16px;margin:15px 0;border-radius:8px;background:#edf6ed;color:#245c31;border:1px solid #cce5cf}.shsm-notice.shsm-error{background:#fff0ef;color:#8b2f2b;border-color:#efceca}.shsm-empty{padding:15px;color:#806c70}
.shsm-login-wrap{min-height:500px;display:grid;place-items:center;padding:30px;background:#f7efe5}.shsm-login-card{width:min(100%,430px);padding:35px;background:#fffaf5;border:1px solid #ead9ca;border-radius:16px;box-shadow:0 12px 35px rgba(75,40,50,.08)}.shsm-login-card h2{font:normal 27px Georgia,serif;color:#702d46;margin:0 0 8px;text-align:center}.shsm-login-card p{text-align:center;color:#806c70;font-size:13px}.shsm-login-card .shsm-brand{color:#702d46;margin-bottom:20px}.shsm-login-card form{display:grid;gap:12px}.shsm-login-card form p{margin:0;text-align:left}.shsm-login-card label{font-size:13px;color:#49313a}.shsm-login-card input[type=text],.shsm-login-card input[type=password]{width:100%;box-sizing:border-box;padding:12px;border:1px solid #e7d6c9;border-radius:8px;background:#f7efe8}.shsm-login-card input[type=submit]{background:#702d46;color:white;border:0;border-radius:8px;padding:13px;width:100%;cursor:pointer}.shsm-login-card .login-remember label{display:flex;align-items:center;gap:7px}
.shsm-hidden{display:none!important}.shsm-variation-table{width:100%;border-collapse:collapse;margin:12px 0}.shsm-variation-table th,.shsm-variation-table td{padding:8px;border-bottom:1px solid #ead9ca;text-align:left;font-size:12px}.shsm-variation-table input{min-width:90px}
@media(max-width:900px){.shsm-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.shsm-quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.shsm-sidebar{width:205px;flex-basis:205px}}
@media(max-width:640px){.shsm-app{display:block;border-radius:10px}.shsm-sidebar{width:auto;padding:16px}.shsm-brand{font-size:20px;margin-bottom:14px}.shsm-side-label{display:none}.shsm-sidebar nav{display:flex;overflow-x:auto;gap:5px}.shsm-sidebar nav a{white-space:nowrap;padding:9px 11px;font-size:12px}.shsm-logout{margin-top:10px;padding:10px 8px;border-top:0}.shsm-topbar{padding:0 16px;height:52px}.shsm-content{padding:17px}.shsm-content h1{font-size:26px}.shsm-stats{gap:8px}.shsm-stat{padding:13px}.shsm-stat-value{font-size:23px}.shsm-quick-grid{gap:8px}.shsm-quick-grid a{padding:13px}.shsm-two-col,.shsm-upload-grid,.shsm-category-form{grid-template-columns:1fr}.shsm-toolbar{align-items:stretch;flex-direction:column}.shsm-toolbar form{width:100%}.shsm-toolbar input{max-width:none}.shsm-inline-form{min-width:180px}}


/* Version 2.0 product and category management additions */
.shsm-action-links{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.shsm-action-links form{display:inline-flex;margin:0}
.shsm-delete-link{border:0;background:transparent;color:#a33b3b;text-decoration:underline;font:inherit;font-size:13px;cursor:pointer;padding:0}
.shsm-delete-link:hover{color:#7d2020}
.shsm-category-form-full{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}
.shsm-category-form-full>label:nth-child(4){grid-column:1/-1}
.shsm-category-submit{display:flex;align-items:center;gap:15px}
.shsm-category-form-full img{display:block;width:58px;height:58px;object-fit:cover;border-radius:8px;margin:5px 0}
.shsm-form select[multiple]{min-height:125px}
.shsm-three-col{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.shsm-variation-table input{width:100%;box-sizing:border-box;border:1px solid #e7d6c9;background:#f7efe8;border-radius:6px;padding:8px;color:#392630;min-width:85px}
.shsm-variation-table th{background:#f8eee6;color:#702d46}
.shsm-form label span{color:#a33b3b}
.shsm-form label img{display:block;max-width:90px;height:auto;margin:7px 0;border-radius:7px}
@media(max-width:640px){.shsm-category-form-full,.shsm-three-col{grid-template-columns:1fr}.shsm-category-form-full>label:nth-child(4){grid-column:auto}.shsm-action-links{gap:8px}}


/* Version 2.0.2 gallery and Yoast SEO fields */
.shsm-gallery-manager{margin:0 0 12px;padding:15px;background:#fffaf5;border:1px solid #ead9ca;border-radius:12px}
.shsm-gallery-list{display:flex;flex-wrap:wrap;gap:12px;min-height:12px}
.shsm-gallery-item{position:relative;width:92px;height:92px;border:1px solid #e2d0c5;border-radius:9px;padding:5px;background:#fff;cursor:grab;touch-action:pan-y}
.shsm-gallery-item img{width:100%;height:100%;object-fit:cover;border-radius:6px}
.shsm-gallery-item.is-dragging{opacity:.4;border:2px dashed #702d46}
.shsm-gallery-remove{position:absolute;top:-9px;right:-9px;width:25px;height:25px;border:0;border-radius:50%;background:#702d46;color:#fff;font-size:19px;line-height:22px;cursor:pointer;padding:0}
.shsm-yoast-fields{display:grid;gap:15px}
.shsm-yoast-fields h2{margin-bottom:0}
@media(max-width:640px){.shsm-gallery-item{width:78px;height:78px}}


/* Store Manager v2.0.4: compact, equal product action controls */
.shsm-action-links{display:inline-flex!important;align-items:center!important;justify-content:flex-start;gap:7px!important;flex-wrap:nowrap!important;white-space:nowrap}
.shsm-action-links form{display:inline-flex!important;margin:0!important}
.shsm-action-links .shsm-action-btn,
.shsm-action-links .shsm-small-link,
.shsm-action-links .shsm-delete-link{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  box-sizing:border-box!important;min-width:58px!important;height:30px!important;
  padding:0 10px!important;margin:0!important;border:1px solid #e3cfc5!important;
  border-radius:6px!important;background:#fffaf6!important;text-decoration:none!important;
  font:inherit!important;font-size:12px!important;font-weight:500!important;line-height:1!important;
  cursor:pointer!important;
}
.shsm-action-links .shsm-edit-link,.shsm-action-links .shsm-small-link{color:#702d46!important}
.shsm-action-links .shsm-delete-link{color:#a33b3b!important;background:#fff!important}
.shsm-action-links .shsm-action-btn:hover,.shsm-action-links .shsm-small-link:hover{background:#f5e9e1!important}
.shsm-action-links .shsm-delete-link:hover{background:#fff1f1!important;color:#7d2020!important}
.shsm-description-editor{margin:0 0 18px}
.shsm-description-editor>label{display:block;margin:0 0 8px;font-weight:600;color:#3c2030}
.shsm-description-editor .wp-editor-wrap{width:100%;max-width:100%}
.shsm-description-editor .wp-editor-container{border-color:#e4d0c5;border-radius:6px;overflow:hidden}
.shsm-description-editor .mce-toolbar-grp{background:#fffaf6}
@media(max-width:640px){.shsm-action-links{gap:5px!important}.shsm-action-links .shsm-action-btn,.shsm-action-links .shsm-small-link,.shsm-action-links .shsm-delete-link{min-width:54px!important;height:29px!important;padding:0 8px!important}}

/* v2.0.5 featured image editor and bulk product actions */
.shsm-featured-manager{display:grid;align-content:start;gap:9px;font-size:13px;font-weight:600;color:#49313a}
.shsm-featured-preview{min-height:96px;display:flex;align-items:center;gap:10px}
.shsm-featured-preview img{width:92px!important;height:92px!important;object-fit:cover;border-radius:9px;margin:0!important}
.shsm-featured-remove{justify-self:start;border:1px solid #d8bfc1;background:#fff5f3;color:#913c48;border-radius:7px;padding:8px 12px;cursor:pointer}
.shsm-featured-remove:disabled{opacity:.5;cursor:not-allowed}
.shsm-bulk-toolbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:0 0 12px;padding:12px;background:#fffaf5;border:1px solid #ead9ca;border-radius:9px}
.shsm-bulk-toolbar select{min-height:40px;min-width:180px;border:1px solid #e7d6c9;border-radius:8px;padding:8px 10px;background:#f7efe8;color:#392630}
.shsm-select-all-label{display:inline-flex;align-items:center;gap:7px;font-size:13px;color:#49313a;margin-right:auto}
.shsm-bulk-form input[type=checkbox]{width:17px;height:17px;accent-color:#702d46;cursor:pointer}
@media(max-width:640px){.shsm-bulk-toolbar{align-items:stretch}.shsm-bulk-toolbar select,.shsm-bulk-toolbar button{width:100%}}
