/* Isolated SHEIN country selector and compact footer. */
.shein-page #shein-countries .sh-country-picker {margin:0 0 20px;max-width:720px;}
.shein-page #shein-countries .sh-country-picker > summary {list-style:none;cursor:pointer;display:flex;align-items:center;gap:10px;justify-content:space-between;box-sizing:border-box;min-height:48px;padding:12px 14px;border:1px solid var(--ce-border-d4ded9,#d4ded9);border-radius:12px;background:var(--ce-bg-fff,#fff);color:var(--ink,#18252c);}
.shein-page #shein-countries .sh-country-picker > summary::-webkit-details-marker {display:none;}
.shein-page #shein-countries .sh-country-picker > summary h2 {font-size:16px;line-height:1.4;margin:0;flex:1;min-width:0;}
.shein-page #shein-countries .sh-country-picker > summary small {display:block;font-size:12px;font-weight:500;color:var(--muted,#62747b);margin-top:2px;}
.shein-page #shein-countries .sh-country-picker > summary::after {content:'';width:8px;height:8px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);flex:none;margin-right:3px;margin-top:-4px;}
.shein-page #shein-countries .sh-country-picker[open] > summary::after {transform:rotate(225deg);margin-top:4px;}
.shein-page #shein-countries .sh-country-picker > summary:focus-visible,.shein-page #shein-countries .sh-country:focus-visible,.shein-page #shein-countries .sh-country-language:focus-visible {outline:2px solid var(--ce-border-237a43,#237a43);outline-offset:2px;}
.shein-page #shein-countries .sh-country-grid {display:grid;grid-template-columns:minmax(0,1fr);gap:7px;margin:10px 0 0;padding:0;}
.shein-page #shein-countries .sh-country {box-sizing:border-box;min-height:44px;padding:9px 12px;font-size:14px;border-radius:10px;min-width:0;margin:0;}
.shein-page #shein-countries a.sh-country:hover {background:var(--ce-bg-f0f5f2,#f0f5f2);}
.shein-page #shein-countries .sh-country-multi {display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:6px 10px;}
.shein-page #shein-countries .sh-country-name {font-weight:750;}
.shein-page #shein-countries .sh-country-languages {display:flex;flex-wrap:wrap;gap:5px;min-width:0;}
.shein-page #shein-countries .sh-country-language {display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:4px 8px;border:1px solid var(--ce-border-d4ded9,#d4ded9);border-radius:7px;color:var(--ce-fg-233b43,#233b43);font-size:12px;line-height:1.3;font-weight:600;text-decoration:none;background:var(--ce-bg-f0f5f2,#f0f5f2);}
.shein-page #shein-countries .sh-country-language:hover {background:var(--ce-bg-eef5ef,#eef5ef);}
/* Same footer structure as TEMU, with one row of three controls. */
.shein-page footer .footerflex .publisher-footer {display:flex;flex-direction:column;align-items:stretch;gap:4px;min-width:0;width:100%;}
.shein-page footer .footerflex .publisher-footer > a[href^="mailto:"] {border:0;background:transparent;min-height:36px;flex:none;padding:4px 0;}
.shein-page footer .footerflex .footer-links {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;overflow:visible;}
.shein-page footer .footerflex .footer-links > :is(a,button) {width:100%;min-width:0;min-height:44px;padding:6px 4px;font-size:clamp(11px,3vw,13px);white-space:normal;overflow-wrap:anywhere;line-height:1.3;text-align:center;}
