/* Supplier store page redesign (template/users/store-redesign.php).
   Served via base_url() (app server), not the CDN, so it deploys with the code.
   Everything is scoped under .ss with ss- class names; the global header and footer are untouched. */

.ss {
  --ss-navy: #0D1B36; --ss-blue: #2563EB; --ss-blue-soft: #F2F6FE; --ss-yellow: #F9C909;
  --ss-gray: #5F6973; --ss-gray-2: #98A2B3; --ss-text: #344054; --ss-line: #EAECF0; --ss-line-2: #C3C9D1;
  --ss-bg: #F7F8FA; --ss-bg-2: #F2F4F7;
  --ss-green: #15803D; --ss-green-soft: #E8F7EE; --ss-red: #C74A34;
  --ss-gold-text: #8A6A00; --ss-gold-soft: #FEF3C7;
  --ss-silver-text: #475467; --ss-silver-soft: #EEF1F4;
  --ss-plat-text: #3F3D8F; --ss-plat-soft: #ECEBFB;
  background: var(--ss-bg);
  color: var(--ss-navy);
  font-family: 'Poppins', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  padding-top: 137px;
  padding-bottom: 8px;
  display: block;
}
/* Neutralise the global stylesheet inside the page */
.ss *, .ss *::before, .ss *::after { box-sizing: border-box; }
.ss h1, .ss h2, .ss h3, .ss p, .ss ul, .ss figure { margin: 0; padding: 0; font-family: inherit; color: inherit; letter-spacing: normal; text-transform: none; }
.ss ul { list-style: none; }
.ss a { color: inherit; text-decoration: none; }
.ss a:hover { text-decoration: none; }
.ss button { font-family: inherit; cursor: pointer; border: 0; background: none; padding: 0; margin: 0; color: inherit; }
.ss input, .ss select, .ss textarea { font-family: inherit; margin: 0; }
.ss img { max-width: 100%; }
.ss .ss-icon { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ss[dir="rtl"] .ss-flip { transform: scaleX(-1); }
.ss .ss-container { max-width: 1440px; margin: 0 auto; padding: 0 64px; }
.ss .ss-hidden { display: none !important; }
.ss .ss-m-only { display: none !important; }
.ss [hidden] { display: none !important; }

/* Buttons, badges, cards */
.ss .ss-btn { height: 42px; padding: 0 16px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-size: 14px; font-weight: 600; white-space: nowrap; transition: background .15s, border-color .15s; line-height: 1; cursor: pointer; }
.ss .ss-btn:disabled { opacity: .6; cursor: default; }
.ss .ss-btn-primary { background: var(--ss-blue); color: #fff; }
.ss .ss-btn-primary:hover { background: #1D4FD8; color: #fff; }
.ss .ss-btn-yellow { background: var(--ss-yellow); color: var(--ss-navy); }
.ss .ss-btn-yellow:hover { background: #E8BA00; color: var(--ss-navy); }
.ss .ss-btn-outline { background: #fff; color: var(--ss-navy); border: 1px solid var(--ss-line-2); }
.ss .ss-btn-outline:hover { border-color: var(--ss-navy); }
.ss .ss-btn-outline.ss-on { color: var(--ss-red); border-color: #F3C3B9; background: #FDF2EF; }
.ss .ss-btn-outline.ss-on .ss-icon { fill: var(--ss-red); }
.ss .ss-icon-btn { width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--ss-line-2); background: #fff; display: grid; place-items: center; color: var(--ss-navy); flex: none; }
.ss .ss-badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.ss .ss-badge .ss-icon { width: 14px; height: 14px; }
.ss .ss-badge-gold { background: var(--ss-gold-soft); color: var(--ss-gold-text); }
.ss .ss-badge-silver { background: var(--ss-silver-soft); color: var(--ss-silver-text); }
.ss .ss-badge-platinum { background: var(--ss-plat-soft); color: var(--ss-plat-text); }
.ss .ss-badge-verified { background: var(--ss-green-soft); color: var(--ss-green); }
.ss .ss-badge-quick { background: var(--ss-blue-soft); color: var(--ss-blue); }
.ss .ss-card { background: #fff; border: 1px solid var(--ss-line); border-radius: 16px; }
.ss .ss-pad { padding: 24px; }
.ss .ss-gone { margin: 40px 0; padding: 40px 24px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.ss .ss-gone h1 { font-size: 20px; font-weight: 600; }
.ss .ss-gone p { font-size: 14px; color: var(--ss-gray); }

/* ---------- Store header ---------- */
.ss .ss-head { margin: 20px 0 16px; overflow: hidden; }
.ss .ss-cover { height: 200px; position: relative; background: linear-gradient(120deg, #0D1B36 0, #16305E 55%, #2563EB 100%) center / cover no-repeat; overflow: hidden; }
.ss .ss-cover[style] { background-color: var(--ss-navy); background-size: cover; background-position: center; }
.ss .ss-cover svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.ss .ss-idrow { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 24px; align-items: end; padding: 0 28px 22px; margin-top: -56px; position: relative; }
.ss .ss-logo { width: 136px; height: 136px; border-radius: 20px; background: #fff; border: 4px solid #fff; box-shadow: 0 8px 24px rgba(13,27,54,.15); display: grid; place-items: center; overflow: hidden; font-size: 34px; font-weight: 700; color: var(--ss-blue); }
.ss .ss-logo img { width: 100%; height: 100%; object-fit: contain; }
.ss .ss-id { min-width: 0; padding-top: 64px; display: flex; flex-direction: column; gap: 8px; }
.ss .ss-id h1 { font-size: 26px; font-weight: 700; line-height: 1.25; overflow-wrap: anywhere; }
.ss .ss-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; color: var(--ss-gray); align-items: center; }
.ss .ss-meta span { display: inline-flex; align-items: center; gap: 6px; }
.ss .ss-meta b { color: var(--ss-navy); font-weight: 600; }
.ss .ss-meta .ss-icon { width: 14px; height: 14px; color: var(--ss-gray-2); }
.ss .ss-flag { width: 21px; height: 14px; border-radius: 2px; box-shadow: 0 0 0 .5px #D0D5DD; object-fit: cover; flex: none; }
.ss .ss-badges { display: flex; flex-wrap: wrap; gap: 6px; }
.ss .ss-acts { display: flex; gap: 8px; align-items: center; padding-bottom: 4px; flex-wrap: wrap; }
.ss .ss-stats { display: grid; grid-template-columns: repeat(var(--ss-cols, 4), minmax(0, 1fr)); border-top: 1px solid var(--ss-line); }
.ss .ss-stat { padding: 16px 28px; display: flex; align-items: center; gap: 12px; border-inline-end: 1px solid var(--ss-line); }
.ss .ss-stat:last-child { border-inline-end: 0; }
.ss .ss-ic { width: 40px; height: 40px; border-radius: 10px; background: var(--ss-blue-soft); color: var(--ss-blue); display: grid; place-items: center; flex: none; }
.ss .ss-ic .ss-icon { width: 20px; height: 20px; }
.ss .ss-stat b { display: block; font-size: 17px; font-weight: 700; line-height: 1.2; }
.ss .ss-stat span { font-size: 12px; color: var(--ss-gray); }

/* Tabs */
.ss .ss-tabbar { position: sticky; top: 0; z-index: 30; background: #fff; border: 1px solid var(--ss-line); border-radius: 14px; padding: 6px; display: flex; gap: 4px; margin-bottom: 20px; overflow-x: auto; scrollbar-width: none; box-shadow: 0 2px 10px rgba(13,27,54,.04); }
.ss .ss-tabbar::-webkit-scrollbar { display: none; }
.ss .ss-tabbar button { height: 42px; padding: 0 18px; border-radius: 10px; font-size: 14px; font-weight: 500; color: var(--ss-gray); display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.ss .ss-tabbar .ss-c { font-size: 11px; background: var(--ss-bg-2); color: var(--ss-gray); padding: 1px 8px; border-radius: 999px; }
.ss .ss-tabbar button[aria-selected="true"] { background: var(--ss-blue); color: #fff; font-weight: 600; }
.ss .ss-tabbar button[aria-selected="true"] .ss-c { background: rgba(255,255,255,.2); color: #fff; }

/* Products tab */
.ss .ss-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 20px; align-items: start; padding-bottom: 40px; }
.ss .ss-filters { display: flex; flex-direction: column; gap: 12px; }
.ss .ss-fcard { background: #fff; border: 1px solid var(--ss-line); border-radius: 16px; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.ss .ss-fcard h3 { font-size: 14px; font-weight: 600; }
.ss .ss-finput { display: flex; align-items: center; gap: 8px; height: 42px; border: 1px solid #D0D5DD; border-radius: 10px; padding: 0 12px; background: #fff; color: var(--ss-gray-2); margin: 0; }
.ss .ss-finput:focus-within { border-color: var(--ss-blue); box-shadow: 0 0 0 3px rgba(37,99,235,.12); }
.ss .ss-finput input { border: 0; outline: 0; font-size: 13px; color: var(--ss-navy); width: 100%; min-width: 0; background: transparent; height: 100%; padding: 0; box-shadow: none; }
.ss .ss-range { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; align-items: center; font-size: 12px; color: var(--ss-gray); }
.ss .ss-range .ss-finput { height: 40px; }
.ss .ss-checks { display: flex; flex-direction: column; gap: 8px; max-height: 320px; overflow: auto; }
.ss .ss-check { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--ss-text); cursor: pointer; margin: 0; font-weight: 400; }
.ss .ss-check input { appearance: none; -webkit-appearance: none; width: 18px; height: 18px; border: 1px solid var(--ss-line-2); border-radius: 5px; background: #fff; display: grid; place-items: center; flex: none; cursor: pointer; position: static; opacity: 1; }
.ss .ss-check input:checked { background: var(--ss-blue); border-color: var(--ss-blue); }
.ss .ss-check input:checked::after { content: ""; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg) translate(-1px, -1px); }
.ss .ss-sheet-head, .ss .ss-sheet-foot { display: none; }
.ss .ss-vcard { background: var(--ss-navy); color: #fff; border-radius: 16px; padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.ss .ss-vcard h3 { font-size: 14px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.ss .ss-vcard h3 .ss-icon { color: var(--ss-yellow); width: 18px; height: 18px; }
.ss .ss-vcard ul { display: flex; flex-direction: column; gap: 8px; }
.ss .ss-vcard li { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: #DCE3EF; }
.ss .ss-vcard li i { width: 18px; height: 18px; border-radius: 999px; background: rgba(34,197,94,.18); color: #4ADE80; display: grid; place-items: center; flex: none; }
.ss .ss-vcard li i .ss-icon { width: 11px; height: 11px; stroke-width: 3; }

.ss .ss-results { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.ss .ss-toolbar { background: #fff; border: 1px solid var(--ss-line); border-radius: 14px; padding: 10px 10px 10px 18px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.ss[dir="rtl"] .ss-toolbar { padding: 10px 18px 10px 10px; }
.ss .ss-toolbar .ss-t { font-size: 14px; font-weight: 600; }
.ss .ss-toolbar .ss-t small { font-weight: 400; color: var(--ss-gray); font-size: 13px; }
.ss .ss-tools { display: flex; gap: 8px; }
.ss .ss-sort { margin: 0; }
.ss .ss-sort select { appearance: none; -webkit-appearance: none; height: 38px; border: 1px solid var(--ss-line-2); border-radius: 9px; padding: 0 32px 0 12px; font-size: 13px; font-weight: 500; color: var(--ss-navy); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%235F6973' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center; cursor: pointer; }
.ss[dir="rtl"] .ss-sort select { padding: 0 12px 0 32px; background-position: left 10px center; }
.ss .ss-filter-btn { height: 38px; display: inline-flex; align-items: center; gap: 8px; padding: 0 12px; border: 1px solid var(--ss-line-2); border-radius: 9px; font-size: 13px; font-weight: 600; background: #fff; }
.ss .ss-count { background: var(--ss-blue); color: #fff; font-size: 11px; min-width: 18px; height: 18px; border-radius: 999px; display: grid; place-items: center; padding: 0 5px; }

.ss .ss-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; transition: opacity .15s; }
.ss .ss-grid.ss-loading { opacity: .45; pointer-events: none; }
.ss .ss-pcard { background: #fff; border: 1px solid var(--ss-line); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; transition: border-color .15s, box-shadow .15s; position: relative; }
.ss .ss-pcard:hover { border-color: #B9CBF5; box-shadow: 0 6px 18px rgba(37,99,235,.08); }
.ss .ss-pimg { aspect-ratio: 1 / 1; background: #fff; display: grid; place-items: center; position: relative; border-bottom: 1px solid var(--ss-line); }
.ss .ss-pimg img { width: 100%; height: 100%; object-fit: contain; padding: 10px; }
.ss .ss-off { position: absolute; top: 8px; inset-inline-start: 8px; background: var(--ss-red); color: #fff; font-size: 10.5px; font-weight: 600; padding: 3px 8px; border-radius: 999px; }
.ss .ss-fav { position: absolute; top: 8px; inset-inline-end: 8px; width: 34px; height: 34px; border-radius: 999px; background: #fff; display: grid; place-items: center; color: var(--ss-gray); box-shadow: 0 1px 4px rgba(13,27,54,.1); z-index: 1; }
.ss .ss-fav:hover { color: var(--ss-red); }
.ss .ss-fav.ss-on { color: var(--ss-red); }
.ss .ss-fav.ss-on .ss-icon { fill: var(--ss-red); }
.ss .ss-pc { font-size: 10.5px; font-weight: 600; color: var(--ss-blue); letter-spacing: .05em; text-transform: uppercase; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ss .ss-pb { padding: 12px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.ss .ss-pb h3 { font-size: 13.5px; font-weight: 600; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 38px; }
.ss .ss-pb h3 a:hover { color: var(--ss-blue); }
.ss .ss-pr { font-size: 14px; font-weight: 700; }
.ss .ss-pr s { font-size: 12px; font-weight: 500; color: var(--ss-gray-2); }
.ss .ss-pr.ss-req { font-size: 13px; font-weight: 600; color: var(--ss-gray); }
.ss .ss-moq { font-size: 12px; color: var(--ss-gray); }
.ss .ss-moq b { color: var(--ss-navy); }
.ss .ss-pb .ss-btn { height: 38px; font-size: 13px; margin-top: auto; }
.ss .ss-empty { grid-column: 1 / -1; background: #fff; border: 1px dashed var(--ss-line-2); border-radius: 16px; padding: 36px 20px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.ss .ss-empty p { font-size: 13px; color: var(--ss-gray); }
.ss .ss-similar { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 12px; }
.ss .ss-similar h2 { font-size: 16px; font-weight: 600; }
.ss .ss-similar-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.ss .ss-similar-item { background: #fff; border: 1px solid var(--ss-line); border-radius: 14px; padding: 14px; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; font-size: 13px; font-weight: 600; }
.ss .ss-similar-item:hover { border-color: #B9CBF5; }
.ss .ss-similar-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; }
.ss .ss-more { display: flex; justify-content: center; }
.ss .ss-more .ss-btn { min-width: 200px; }

/* About */
.ss .ss-about { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 20px; padding-bottom: 40px; align-items: start; }
.ss .ss-about h2 { font-size: 18px; font-weight: 600; margin-bottom: 12px; }
.ss .ss-about-img { max-height: 250px; border-radius: 12px; margin-bottom: 14px; display: block; }
.ss .ss-about-text { font-size: 14px; color: var(--ss-text); line-height: 1.7; overflow-wrap: anywhere; }
.ss .ss-about-text img { height: auto; }
.ss .ss-side { display: flex; flex-direction: column; gap: 20px; }
.ss .ss-ftable { width: 100%; border-collapse: collapse; font-size: 13px; margin-top: 16px; border: 1px solid var(--ss-line); }
.ss .ss-ftable tr:nth-child(odd) { background: var(--ss-bg); }
.ss .ss-ftable th { text-align: start; font-weight: 400; color: var(--ss-gray); padding: 11px 14px; width: 42%; }
.ss .ss-ftable td { padding: 11px 14px; font-weight: 500; overflow-wrap: anywhere; }
.ss .ss-ftable a { color: var(--ss-blue); }
.ss .ss-certs { display: flex; flex-wrap: wrap; gap: 8px; }
.ss .ss-certs span { font-size: 12px; font-weight: 600; border: 1px solid var(--ss-line); border-radius: 8px; padding: 6px 10px; display: inline-flex; align-items: center; gap: 6px; }
.ss .ss-certs .ss-icon { width: 14px; height: 14px; color: var(--ss-green); }

/* Gallery */
.ss .ss-gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; padding-bottom: 40px; }
.ss .ss-gitem { aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; background: var(--ss-bg-2); display: block; }
.ss .ss-gitem img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .2s; }
.ss .ss-gitem:hover img { transform: scale(1.03); }

/* Catalogue */
.ss .ss-catalogue { padding: 28px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 20px; align-items: center; margin-bottom: 40px; }
.ss .ss-doc { width: 76px; height: 96px; border-radius: 10px; background: linear-gradient(160deg, #C74A34, #E8805E); color: #fff; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 12px; font-weight: 700; font-size: 13px; box-shadow: 0 6px 16px rgba(199,74,52,.25); }
.ss .ss-catalogue h2 { font-size: 18px; font-weight: 600; }
.ss .ss-catalogue p { font-size: 13px; color: var(--ss-gray); margin-top: 4px; }
.ss .ss-cat-acts { display: flex; gap: 8px; flex-wrap: wrap; }

/* Contact */
.ss .ss-clist { display: flex; flex-direction: column; gap: 14px; }
.ss .ss-clist + .ss-clist, .ss .ss-lock + .ss-clist { margin-top: 14px; }
.ss .ss-clist li { display: flex; gap: 12px; font-size: 13.5px; color: var(--ss-text); line-height: 1.5; min-width: 0; }
.ss .ss-clist li > div { min-width: 0; overflow-wrap: anywhere; }
.ss .ss-clist .ss-ic { width: 36px; height: 36px; }
.ss .ss-clist .ss-ic .ss-icon { width: 18px; height: 18px; }
.ss .ss-clist b { display: block; color: var(--ss-navy); font-weight: 600; }
.ss .ss-clist a { color: var(--ss-blue); font-weight: 500; }
.ss .ss-social { margin-inline-end: 12px; }
.ss .ss-lock { margin-top: 16px; background: var(--ss-bg); border: 1px dashed var(--ss-line-2); border-radius: 12px; padding: 14px; display: flex; flex-direction: column; gap: 10px; font-size: 13px; color: var(--ss-gray); }
.ss .ss-lock span { display: inline-flex; align-items: center; gap: 8px; }
.ss .ss-qform { display: flex; flex-direction: column; gap: 12px; }
.ss .ss-g2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ss .ss-inp { height: 46px; border: 1px solid #D0D5DD; border-radius: 10px; padding: 0 12px; font-size: 14px; color: var(--ss-navy); background: #fff; width: 100%; min-width: 0; outline: 0; box-shadow: none; }
.ss textarea.ss-inp { height: 110px; padding: 12px; resize: vertical; }
.ss .ss-inp:focus { border-color: var(--ss-blue); box-shadow: 0 0 0 3px rgba(37,99,235,.12); }
.ss .ss-inp.ss-bad { border-color: var(--ss-red); }
.ss .intl-tel-input { width: 100%; }
.ss .ss-qform .ss-btn { height: 48px; font-size: 15px; }
.ss .ss-qform small { font-size: 12px; color: var(--ss-gray); }
.ss .ss-err { font-size: 13px; color: var(--ss-red); }
.ss .ss-sent { display: flex; align-items: center; gap: 12px; background: var(--ss-green-soft); color: var(--ss-green); border-radius: 12px; padding: 14px; font-size: 14px; font-weight: 500; }
.ss .ss-sent .ss-icon { width: 22px; height: 22px; }

/* Overlay, toast */
.ss .ss-modal { position: fixed; inset: 0; z-index: 12000; background: rgba(13,27,54,.5); display: grid; place-items: center; padding: 16px; }
.ss .ss-modal-box { width: 100%; max-width: 420px; display: flex; flex-direction: column; gap: 12px; }
.ss .ss-modal-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.ss .ss-modal-head h2 { font-size: 18px; font-weight: 600; margin: 0; }
.ss .ss-modal .ss-btn { height: 46px; }
.ss .ss-overlay { position: fixed; inset: 0; background: rgba(13,27,54,.5); opacity: 0; pointer-events: none; transition: opacity .2s; z-index: 11990; }
.ss .ss-overlay.ss-open { opacity: 1; pointer-events: auto; }
body.ss-lock { overflow: hidden; }
.ss .ss-toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); background: var(--ss-navy); color: #fff; font-size: 13px; font-weight: 500; padding: 10px 16px; border-radius: 10px; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 12010; max-width: calc(100% - 32px); text-align: center; }
.ss .ss-toast.ss-show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Responsive ---------- */
@media (max-width: 1240px) {
  .ss .ss-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ss .ss-idrow { grid-template-columns: auto minmax(0, 1fr); }
  .ss .ss-acts { grid-column: 1 / -1; padding-bottom: 0; }
  .ss .ss-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ss .ss-stat:nth-child(2n) { border-inline-end: 0; }
  .ss .ss-stat:nth-child(-n+2) { border-bottom: 1px solid var(--ss-line); }
  .ss .ss-stat:nth-child(2):last-child, .ss .ss-stat:first-child:nth-last-child(2) { border-bottom: 0; }
  .ss .ss-gallery, .ss .ss-similar-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .ss .ss-container { padding: 0 16px; }
  .ss .ss-m-only { display: inline-flex !important; }
  .ss .ss-layout { grid-template-columns: 1fr; }
  .ss .ss-filters { position: fixed; left: 0; right: 0; bottom: 0; z-index: 12000; max-height: 86vh; overflow: auto; background: var(--ss-bg); border-radius: 20px 20px 0 0; padding: 0 16px; transform: translateY(105%); visibility: hidden; transition: transform .25s ease-out, visibility 0s .25s; }
  .ss .ss-filters.ss-open { transform: none; visibility: visible; transition: transform .25s ease-out; }
  .ss .ss-filters .ss-vcard { display: none; }
  .ss .ss-sheet-head { display: flex; justify-content: space-between; align-items: center; position: sticky; top: 0; background: var(--ss-bg); padding: 16px 0 10px; z-index: 1; }
  .ss .ss-sheet-head::before { content: ""; position: absolute; top: 6px; left: 50%; width: 40px; height: 4px; margin-left: -20px; border-radius: 2px; background: #D0D5DD; }
  .ss .ss-sheet-head h2 { font-size: 17px; font-weight: 600; }
  .ss .ss-sheet-foot { display: grid; grid-template-columns: 1fr 2fr; gap: 10px; position: sticky; bottom: 0; background: var(--ss-bg); padding: 12px 0 calc(12px + env(safe-area-inset-bottom)); }
  .ss .ss-sheet-foot .ss-btn { height: 48px; }
  .ss .ss-about { grid-template-columns: 1fr; }
  .ss .ss-d-only { display: none; }
  .ss .ss-toast { bottom: calc(84px + env(safe-area-inset-bottom)); }
}
@media (max-width: 600px) {
  .ss .ss-head { margin: 12px 0; border-radius: 14px; }
  .ss .ss-cover { height: 120px; }
  .ss .ss-idrow { grid-template-columns: 1fr; gap: 10px; padding: 0 16px 16px; margin-top: -44px; }
  .ss .ss-logo { width: 88px; height: 88px; border-radius: 16px; font-size: 24px; }
  .ss .ss-id { padding-top: 0; }
  .ss .ss-id h1 { font-size: 20px; }
  .ss .ss-meta { font-size: 12px; }
  .ss .ss-acts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .ss .ss-acts .ss-btn { height: 40px; }
  .ss .ss-stat { padding: 12px 14px; gap: 10px; }
  .ss .ss-ic { width: 34px; height: 34px; }
  .ss .ss-stat b { font-size: 15px; }
  .ss .ss-tabbar { border-radius: 12px; margin-bottom: 14px; }
  .ss .ss-tabbar button { height: 40px; padding: 0 14px; font-size: 13px; }
  .ss .ss-toolbar, .ss[dir="rtl"] .ss-toolbar { padding: 8px; flex-wrap: wrap; }
  .ss .ss-toolbar .ss-t { flex-basis: 100%; padding: 2px 6px; }
  .ss .ss-tools { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .ss .ss-tools .ss-filter-btn, .ss .ss-tools .ss-sort select { width: 100%; height: 40px; justify-content: center; }
  .ss .ss-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .ss .ss-pb { padding: 10px; gap: 5px; }
  .ss .ss-pb h3 { font-size: 12.5px; min-height: 35px; }
  .ss .ss-pb .ss-btn { height: 40px; }
  .ss .ss-pad { padding: 18px; }
  .ss .ss-gallery, .ss .ss-similar-row { grid-template-columns: 1fr 1fr; gap: 10px; }
  .ss .ss-catalogue { grid-template-columns: auto 1fr; padding: 18px; gap: 14px; }
  .ss .ss-cat-acts { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; }
  .ss .ss-g2 { grid-template-columns: 1fr; }
  .ss input, .ss select, .ss textarea { font-size: 16px !important; }
}
