/* SandelsShop Smart categories v152 — lilac glass surfaces, fully responsive. */
.ss-smart-section{--ss-sc-purple:#7251ad;--ss-sc-ink:#292136;position:relative;isolation:isolate;overflow:hidden;border:1px solid #e6dcee;background:linear-gradient(133deg,#fff 12%,#fbf8ff 65%,#f7f1ff 100%);border-radius:27px;padding:25px 26px 27px;margin:10px 0 28px;box-shadow:0 14px 35px rgba(45,24,78,.055)}
.ss-smart-section:before{content:"";pointer-events:none;position:absolute;inset:auto -90px -200px auto;width:360px;height:360px;background:radial-gradient(circle,#cab7ef44,transparent 69%);z-index:-1}
.ss-smart-heading{display:flex;align-items:center;gap:14px;margin-bottom:20px}
.ss-smart-symbol{height:46px;width:46px;flex:0 0 46px;display:grid;place-items:center;border-radius:16px;background:#eee4fb;color:#684399}
.ss-smart-symbol .ico{width:24px;height:24px}
.ss-smart-heading-copy{min-width:0}
.ss-smart-eyebrow{display:block;font-size:10px;font-weight:800;letter-spacing:.13em;color:#987dbd;margin:0 0 3px}
.ss-smart-heading-copy h2{font-size:22px;line-height:1.2;margin:0;color:#292136;letter-spacing:-.03em;font-weight:800}
.ss-smart-heading-copy p{font-size:13px;color:#92849f;margin:5px 0 0;line-height:1.5}
.ss-smart-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,170px),1fr));gap:12px}
.ss-smart-card{min-height:148px;position:relative;display:flex;flex-direction:column;align-items:flex-start;padding:16px 16px 14px;gap:10px;text-decoration:none!important;border:1px solid #e9e2f3;background:rgba(255,255,255,.94);border-radius:20px;color:#33253f!important;transition:transform .24s ease,border-color .24s ease,box-shadow .24s ease,background .24s ease;outline-offset:3px}
.ss-smart-card:hover{transform:translateY(-4px);border-color:#c5afe7;box-shadow:0 16px 26px #6a4a9619;background:#fff}
.ss-smart-card:focus-visible{outline:3px solid #9974d4}
.ss-smart-card.is-active{border-color:#976acb;background:linear-gradient(145deg,#fbf8ff,#f3eafd);box-shadow:inset 0 0 0 1px #c2ade5,0 10px 23px #74549b14}
.ss-smart-card-icon{width:40px;height:40px;flex:0 0 40px;border-radius:13px;display:grid;place-items:center;background:#f1eaf9;color:#7448aa;transition:background .2s}
.ss-smart-card-icon .ico{width:22px;height:22px}
.ss-smart-card:hover .ss-smart-card-icon,.ss-smart-card.is-active .ss-smart-card-icon{background:#e8d9f9}
.ss-smart-name{font-size:14px;line-height:1.4;font-weight:750;overflow-wrap:anywhere;flex:1}
.ss-smart-card-bottom{align-self:stretch;display:flex;gap:8px;align-items:center;justify-content:space-between}
.ss-smart-count{color:#9a8da7;font-weight:700;font-size:11px}
.ss-smart-card-end{display:grid;place-items:center;width:25px;height:25px;border-radius:50%;background:#f4edf9;color:#75509d}
.ss-smart-card-end .ico{height:14px;width:14px}
.ss-smart-all{background:linear-gradient(145deg,#2d223b,#4b3466);color:white!important;border-color:transparent}
.ss-smart-all .ss-smart-name{color:white}
.ss-smart-all .ss-smart-card-icon{background:#fff2;color:white}
.ss-smart-all .ss-smart-card-end{background:#fff2;color:white}
.ss-smart-all:hover,.ss-smart-all.is-active{border-color:#5e4289;background:linear-gradient(145deg,#2d223b,#634390);box-shadow:0 16px 29px #3424402e}
.ss-smart-compact{margin:12px 0 19px;padding:18px 20px;border-radius:22px;background:#fbf9ff}
.ss-smart-compact .ss-smart-heading{margin-bottom:13px;gap:10px}
.ss-smart-compact .ss-smart-symbol{width:35px;height:35px;flex-basis:35px;border-radius:12px}
.ss-smart-compact .ss-smart-symbol .ico{width:18px;height:18px}
.ss-smart-compact .ss-smart-heading-copy h2{font-size:17px}
.ss-smart-compact .ss-smart-heading-copy p{font-size:11px;margin-top:3px}
.ss-smart-compact .ss-smart-grid{grid-template-columns:repeat(auto-fit,minmax(128px,1fr));gap:9px}
.ss-smart-compact .ss-smart-card{min-height:96px;border-radius:16px;padding:12px;gap:6px}
.ss-smart-compact .ss-smart-card-icon{width:28px;height:28px;flex-basis:28px;border-radius:10px}
.ss-smart-compact .ss-smart-card-icon .ico{width:17px;height:17px}
.ss-smart-compact .ss-smart-name{font-size:12px}
.ss-smart-compact .ss-smart-count{font-size:10px}
.ss-smart-compact .ss-smart-card-end{width:22px;height:22px}
.ss-smart-more{display:inline-flex;gap:7px;align-items:center;margin-top:12px;font-size:13px;font-weight:700;color:#704c9e}
.ss-smart-more .ico{width:16px;height:16px}
@media(max-width:640px){
 .ss-smart-section{padding:18px 14px 19px;border-radius:21px;margin-bottom:18px}
 .ss-smart-heading{gap:10px;margin-bottom:14px}
 .ss-smart-symbol{height:39px;width:39px;flex-basis:39px;border-radius:13px}
 .ss-smart-heading-copy h2{font-size:18px}
 .ss-smart-heading-copy p{font-size:11px;line-height:1.45}
 .ss-smart-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
 .ss-smart-card{min-height:126px;padding:12px;border-radius:16px;gap:7px}
 .ss-smart-card-icon{width:34px;height:34px;flex-basis:34px;border-radius:11px}
 .ss-smart-card-icon .ico{width:19px;height:19px}
 .ss-smart-name{font-size:13px}
 .ss-smart-compact .ss-smart-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .ss-smart-compact .ss-smart-card{min-height:94px}
 .ss-smart-compact .ss-smart-heading-copy p{display:none}
}
@media(prefers-reduced-motion:reduce){.ss-smart-card{transition:none}.ss-smart-card:hover{transform:none}}
.ss-smart-admin-panel{margin:23px 0 30px;padding:25px;border:1px solid #e4daed;border-radius:25px;background:linear-gradient(140deg,#fff,#faf7ff);box-shadow:0 12px 34px #43225f0d}
.ss-smart-admin-head{display:flex;gap:14px;align-items:center;margin-bottom:20px}
.ss-smart-admin-head h2{margin:0;color:#271e30;font-size:22px}
.ss-smart-admin-head p{margin:5px 0 0;color:#97899f;font-size:13px}
.ss-smart-admin-items{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:13px}
.ss-smart-admin-item{padding:17px;border:1px solid #ebdfef;background:#fff;border-radius:18px}
.ss-smart-admin-item-title{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:12px}
.ss-smart-admin-parent{display:inline-flex;align-items:center;gap:6px;font-weight:800;color:#332541;font-size:14px}
.ss-smart-admin-parent .ico{width:16px;height:16px}
.ss-smart-admin-item-title>a{font-size:12px;color:#7955ac;white-space:nowrap;display:inline-flex;align-items:center;gap:4px}
.ss-smart-admin-item-title>a .ico{width:13px;height:13px}
.ss-smart-admin-pills{display:flex;flex-wrap:wrap;gap:6px}
.ss-smart-admin-pills a{display:inline-flex;align-items:center;gap:6px;border-radius:99px;background:#f3edfa;color:#67458f;padding:6px 10px;font-size:12px;font-weight:650;text-decoration:none!important}
.ss-smart-admin-pills a:hover{background:#e9d8fa}
.ss-smart-admin-pills b{background:#fff;border-radius:99px;padding:2px 6px;font-size:10px;color:#7b5da1}
.ss-smart-admin-empty,.ss-smart-admin-note{color:#9989a7;font-size:12px;line-height:1.5;margin:15px 0 0}
@media(max-width:600px){.ss-smart-admin-panel{padding:17px;border-radius:20px}.ss-smart-admin-head h2{font-size:19px}}

/* v153 — compact selector, show more, clean cards, purple search icon. */
.ss-smart-section{padding:16px 18px 17px;border-radius:22px;margin:9px 0 18px;overflow:visible}
.ss-smart-section:before{border-radius:22px;overflow:hidden}
.ss-smart-heading{gap:11px;margin-bottom:13px;min-height:44px}
.ss-smart-symbol{width:40px;height:40px;flex:0 0 40px;border-radius:13px}
.ss-smart-symbol .ico{width:20px;height:20px}
.ss-smart-heading-copy{flex:1}
.ss-smart-heading-copy h2{font-size:18px}
.ss-smart-heading-copy p{font-size:11px;margin-top:3px}
.ss-smart-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}
.ss-smart-card,.ss-smart-compact .ss-smart-card{min-width:0;min-height:75px;padding:12px 12px;gap:5px;border-radius:15px;display:grid;grid-template-columns:34px minmax(0,1fr) 22px;grid-template-rows:auto auto;align-items:center;transform:none}
.ss-smart-card-icon,.ss-smart-compact .ss-smart-card-icon{grid-column:1;grid-row:1/3;width:32px;height:32px;min-width:32px;min-height:32px;border-radius:10px}
.ss-smart-card-icon .ico,.ss-smart-compact .ss-smart-card-icon .ico{width:18px;height:18px}
.ss-smart-name,.ss-smart-compact .ss-smart-name{grid-column:2;grid-row:1;font-size:12px;line-height:1.35}
.ss-smart-count,.ss-smart-compact .ss-smart-count{grid-column:2;grid-row:2;font-size:10px;line-height:1.2}
.ss-smart-card-end{grid-column:3;grid-row:1/3;align-self:center;justify-self:end;width:22px;height:22px}
.ss-smart-card-end .ico{width:13px;height:13px}
.ss-smart-card:hover{transform:translateY(-2px);box-shadow:0 8px 18px #6a4a9615}
.ss-smart-toggle{cursor:pointer;flex:0 0 auto;align-self:center;display:inline-flex;align-items:center;justify-content:center;gap:7px;border:1px solid #e4d7ee;background:#fff;border-radius:999px;padding:9px 12px;color:#74519f;font-family:inherit;font-size:12px;font-weight:700;line-height:1.1;white-space:nowrap;box-shadow:0 3px 9px #3c23530d;transition:background .2s,border-color .2s}
.ss-smart-toggle:hover{background:#f3ebfc;border-color:#cbb5e9}
.ss-smart-toggle:focus-visible{outline:2px solid #875bc7;outline-offset:3px}
.ss-smart-toggle .ico{width:15px;height:15px;transition:transform .2s}
.ss-smart-section.is-expanded .ss-smart-toggle .ico{transform:rotate(180deg)}
.ss-smart-section.ss-smart-enhanced:not(.is-expanded) .ss-smart-desktop-extra{display:none}
.ss-smart-compact .ss-smart-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.ss-smart-compact{margin:8px 0 13px;padding:13px 14px}
.ss-smart-compact .ss-smart-heading{margin-bottom:10px}
.ss-smart-admin-head .ss-smart-symbol{width:38px;height:38px;flex-basis:38px}
@media (max-width:740px){
 .ss-smart-section{padding:13px 12px 14px;margin:7px 0 13px;border-radius:19px}
 .ss-smart-heading{min-height:38px;gap:9px;margin-bottom:10px}
 .ss-smart-symbol{width:34px;height:34px;flex-basis:34px;border-radius:11px}
 .ss-smart-symbol .ico{width:18px;height:18px}
 .ss-smart-heading-copy h2{font-size:15px;letter-spacing:-.02em}
 .ss-smart-eyebrow{font-size:9px;margin-bottom:2px}
 .ss-smart-heading-copy p{display:none}
 .ss-smart-grid,.ss-smart-compact .ss-smart-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .ss-smart-card,.ss-smart-compact .ss-smart-card{min-height:70px;grid-template-columns:30px minmax(0,1fr) 16px;padding:9px 8px;gap:5px;border-radius:13px}
 .ss-smart-card-icon,.ss-smart-compact .ss-smart-card-icon{width:29px;height:29px;min-width:29px;min-height:29px}
 .ss-smart-card-icon .ico,.ss-smart-compact .ss-smart-card-icon .ico{width:16px;height:16px}
 .ss-smart-name,.ss-smart-compact .ss-smart-name{font-size:11px}
 .ss-smart-count{font-size:9px}
 .ss-smart-card-end{width:16px;height:16px}
 .ss-smart-toggle{padding:8px 10px;font-size:11px;gap:3px}
 .ss-smart-toggle .ico{width:13px;height:13px}
 .ss-smart-section.ss-smart-enhanced:not(.is-expanded) .ss-smart-mobile-extra{display:none}
 .ss-smart-section.ss-smart-enhanced:not(.is-expanded) .ss-smart-desktop-extra{display:grid}
 .ss-smart-section.ss-smart-enhanced:not(.is-expanded) .ss-smart-desktop-extra.ss-smart-mobile-extra{display:none}
 .ss-smart-compact{padding:11px 10px}
}
@media(prefers-reduced-motion:reduce){.ss-smart-toggle,.ss-smart-toggle .ico{transition:none}}

.ss-smart-toggle-arrow,.ss-smart-admin-caret{width:7px;height:7px;flex:0 0 7px;border-right:1.8px solid currentColor;border-bottom:1.8px solid currentColor;transform:rotate(45deg);margin:-3px 2px 1px;transition:transform .2s}
.ss-smart-section.is-expanded .ss-smart-toggle-arrow{transform:rotate(225deg);margin-top:3px}
.ss-smart-admin-panel{padding:15px 17px;margin:14px 0 19px}
.ss-smart-admin-head{display:flex;cursor:pointer;margin-bottom:0;list-style:none;outline-offset:5px}
.ss-smart-admin-head::-webkit-details-marker{display:none}
.ss-smart-admin-head .ss-smart-admin-caret{margin-left:auto;color:#7955ac}
.ss-smart-admin-panel[open] .ss-smart-admin-head{margin-bottom:16px}
.ss-smart-admin-panel[open] .ss-smart-admin-caret{transform:rotate(225deg)}
.ss-smart-admin-head:focus-visible{outline:2px solid #8e65c5}
@media(max-width:600px){.ss-smart-admin-panel{padding:12px 14px}}

@media(min-width:741px){.ss-smart-toggle.ss-smart-mobile-only{display:none}}

/* v153 — smart subcategory preview directly below main category in admin product editor */
.ss-smart-editor-preview{display:flex;align-items:center;gap:11px;padding:13px 15px;border:1px solid #e6d8f1;background:linear-gradient(120deg,#faf6ff,#fff);border-radius:16px;margin:2px 0 13px;color:#33233f}
.ss-smart-editor-icon{width:37px;height:37px;flex:0 0 37px;display:grid;place-items:center;background:#ede3fa;border-radius:12px;color:#6c459c}
.ss-smart-editor-icon .ico{width:19px;height:19px}
.ss-smart-editor-content{flex:1;min-width:0}
.ss-smart-editor-title{font-size:11px;font-weight:750;color:#9477ad;line-height:1.3}
.ss-smart-editor-result{font-weight:850;font-size:15px;line-height:1.6;color:#3d2860;overflow-wrap:anywhere}
.ss-smart-editor-explanation{font-size:11px;line-height:1.45;color:#9889a6}
.ss-smart-editor-auto{font-weight:800;font-size:10px;letter-spacing:.08em;border-radius:999px;background:#e9def6;color:#734ba1;padding:5px 8px}
.ss-smart-editor-preview.is-unmatched{background:#faf9fd}
@media(max-width:600px){.ss-smart-editor-preview{padding:11px;gap:9px}.ss-smart-editor-icon{width:32px;height:32px;flex-basis:32px}.ss-smart-editor-auto{font-size:9px}}

/* v154 — keep the arrow INSIDE its card, not between two cards.
   A fixed-position trailing affordance avoids implicit CSS-grid columns
   when titles or product counts change size. */
.ss-smart-section .ss-smart-card,
.ss-smart-section.ss-smart-compact .ss-smart-card {
  position:relative;
  box-sizing:border-box;
  grid-template-columns:34px minmax(0,1fr);
  grid-template-rows:auto auto;
  column-gap:10px;
  padding-right:53px;
  overflow:hidden;
}
.ss-smart-section .ss-smart-card-icon {
  grid-column:1;
  grid-row:1 / 3;
}
.ss-smart-section .ss-smart-name {
  grid-column:2;
  grid-row:1;
  min-width:0;
}
.ss-smart-section .ss-smart-count {
  grid-column:2;
  grid-row:2;
  min-width:0;
  justify-self:start;
  text-align:left;
}
.ss-smart-section .ss-smart-card-end,
.ss-smart-section.ss-smart-compact .ss-smart-card-end {
  position:absolute;
  top:50%;
  right:12px;
  width:27px;
  height:27px;
  min-width:27px;
  border-radius:9px;
  border:1px solid #e8dff0;
  background:#f6f0fc;
  color:#7551a8;
  display:grid;
  place-items:center;
  transform:translateY(-50%);
  box-shadow:none;
  pointer-events:none;
  transition:background .18s ease,border-color .18s ease,color .18s ease;
}
.ss-smart-section .ss-smart-card-end .ico {
  width:14px;
  height:14px;
  display:block;
  stroke-width:1.8px;
  transition:transform .18s ease;
}
.ss-smart-section .ss-smart-card:hover .ss-smart-card-end,
.ss-smart-section .ss-smart-card:focus-visible .ss-smart-card-end {
  background:#744bb0;
  border-color:#744bb0;
  color:#fff;
}
.ss-smart-section .ss-smart-card:hover .ss-smart-card-end .ico,
.ss-smart-section .ss-smart-card:focus-visible .ss-smart-card-end .ico { transform:translateX(2px); }
.ss-smart-section .ss-smart-all .ss-smart-card-end {
  background:#ffffff22;
  border-color:#ffffff30;
  color:#fff;
}
.ss-smart-section .ss-smart-all:hover .ss-smart-card-end { background:#ffffff33; border-color:#ffffff66; }
@media (max-width:740px) {
  .ss-smart-section .ss-smart-card,
  .ss-smart-section.ss-smart-compact .ss-smart-card {
    grid-template-columns:30px minmax(0,1fr);
    column-gap:7px;
    padding-right:41px;
  }
  .ss-smart-section .ss-smart-card-end,
  .ss-smart-section.ss-smart-compact .ss-smart-card-end {
    width:24px;
    height:24px;
    min-width:24px;
    right:9px;
    border-radius:8px;
  }
  .ss-smart-section .ss-smart-card-end .ico { width:13px;height:13px; }
}
@media(prefers-reduced-motion:reduce) {
  .ss-smart-section .ss-smart-card-end,
  .ss-smart-section .ss-smart-card-end .ico { transition:none; }
}
