@import url("./shop-pagination.css?v=3");
@import url("./shop-inbox.css?v=20261130headerbtns");
@import url("./shop-care-inbox.css?v=20261130chatmenu");

/* ==========================================================================
   SAMe Shop Commerce Subpages — Harmonious Multi-Tone Design System
   Balanced Palette: Slate-Navy (#0f172a / #1e293b), Emerald Teal (#0f766e),
   Royal Sky/Indigo (#1d4ed8), Warm Amber (#b45309), Selective Ruby (#be123c)
   ========================================================================== */

/* Reveal one task group at a time without narrowing the shared subpage. */
.shop-commerce-menu.is-grouped{display:grid;gap:0;padding:0;min-width:0;background:#fff}
.shop-menu-group{min-width:0;border-bottom:1px solid #e2e8f0}
.shop-menu-group>summary,.shop-form-disclosure>summary{display:flex;align-items:center;gap:10px;min-height:46px;padding:10px 12px;box-sizing:border-box;cursor:pointer;list-style:none;font-size:13.5px;font-weight:750;color:#0f172a}
.shop-menu-group>summary::-webkit-details-marker,.shop-form-disclosure>summary::-webkit-details-marker{display:none}
.shop-menu-group>summary::after,.shop-form-disclosure>summary::after{content:'›';margin-left:auto;flex:none;font-size:22px;color:#0f766e;transition:transform .15s}
.shop-menu-group[open]>summary::after,.shop-form-disclosure[open]>summary::after{transform:rotate(90deg)}
.shop-menu-group>summary:focus-visible,.shop-form-disclosure>summary:focus-visible{outline:2px solid #0d9488;outline-offset:-2px}
.shop-menu-group-content{display:grid;gap:0;min-width:0;padding:0 12px 8px}
.shop-commerce-menu.is-grouped .shop-menu-group-content>button{display:block;text-align:left;min-height:42px;margin:0;padding:9px 8px;border:0;border-bottom:1px solid #f1f5f9;border-radius:0;box-shadow:none;background:#fff;color:#334155;white-space:normal;overflow-wrap:anywhere}
.shop-form-disclosure{border:1px solid #cbd5e1;border-radius:12px;min-width:0;background:#f8fafc}
.shop-form-disclosure[open]>form{padding:0 10px 10px}

/* Order & Product Summary Identity across Cart, Orders, Payment & Returns */
.shop-order-summary{display:grid;gap:6px;min-width:0}
.shop-order-meta-row{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:5px 8px;min-width:0;line-height:1.3}
.shop-order-shop-name{order:1;display:inline-flex;align-items:center;gap:5px;font-size:11.5px;font-weight:800;color:#be123c;background:#fff1f2;padding:3px 9px;border-radius:999px;border:1px solid #fecdd3;max-width:100%;overflow-wrap:anywhere}
.shop-order-shop-name::before{content:"";flex:0 0 13px;width:13px;height:13px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23e11d48'%3E%3Cpath d='M3.25 4A1.25 1.25 0 0 0 2 5.25v1.19a2.5 2.5 0 0 0 1 2V15a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8.44a2.5 2.5 0 0 0 1-2V5.25A1.25 1.25 0 0 0 16.75 4H3.25ZM4.5 9.19a2.51 2.51 0 0 0 2-.69 2.5 2.5 0 0 0 3.5 0 2.5 2.5 0 0 0 3.5 0 2.51 2.51 0 0 0 2 .69V15a.5.5 0 0 1-.5.5h-2.5v-3.25a.75.75 0 0 0-.75-.75h-3.5a.75.75 0 0 0-.75.75v3.25H5a.5.5 0 0 1-.5-.5V9.19Z'/%3E%3C/svg%3E") no-repeat center/contain}
.shop-order-summary>small,.shop-order-date{order:3;margin-left:auto;display:inline-flex;align-items:center;gap:4px;color:#64748b;font-size:11px;font-weight:600}
.shop-order-date::before{content:"";flex:0 0 12px;width:12px;height:12px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%2364748b'%3E%3Cpath fill-rule='evenodd' d='M10 18a8 8 0 1 0 0-16 8 8 0 0 0 0 16Zm.75-13a.75.75 0 0 0-1.5 0v5c0 .414.336.75.75.75h4a.75.75 0 0 0 0-1.5h-3.25V5Z' clip-rule='evenodd'/%3E%3C/svg%3E") no-repeat center/contain}
.shop-order-code{order:2;flex:0 1 auto;display:inline-flex;align-items:center;gap:4px;font-size:11.5px;overflow-wrap:anywhere;color:#334155;font-weight:700;background:#f8fafc;border:1px solid #e2e8f0;border-radius:6px;padding:2px 8px}
.shop-order-code::before{content:"";flex:0 0 12px;width:12px;height:12px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%2364748b'%3E%3Cpath fill-rule='evenodd' d='M4.5 2A1.5 1.5 0 0 0 3 3.5v13A1.5 1.5 0 0 0 4.5 18h11a1.5 1.5 0 0 0 1.5-1.5V7.621a1.5 1.5 0 0 0-.44-1.06l-4.12-4.122A1.5 1.5 0 0 0 11.378 2H4.5Zm2.25 8.5a.75.75 0 0 0 0 1.5h6.5a.75.75 0 0 0 0-1.5h-6.5Zm0 3a.75.75 0 0 0 0 1.5h6.5a.75.75 0 0 0 0-1.5h-6.5Z' clip-rule='evenodd'/%3E%3C/svg%3E") no-repeat center/contain}

.shop-product-summary,.shop-commerce-page .shop-product-summary{display:flex;align-items:center;gap:10px;width:100%;min-width:0;margin:2px 0;padding:8px 10px;border:1px solid #eef0f5;border-radius:10px;box-shadow:none;background:#fafbfe;color:#0f172a;text-align:left;font:inherit;box-sizing:border-box;transition:border-color .15s,background .15s}
.shop-product-summary:hover,.shop-product-summary:active{background:#fff5f7;border-color:#fecdd3}
.shop-product-summary:focus-visible{outline:2px solid #e11d48;outline-offset:2px}
.shop-summary-photo{position:relative;display:grid;place-items:center;flex:0 0 52px;width:52px;height:52px;overflow:hidden;border-radius:9px;background:#fff;color:#64748b;border:1px solid #e2e8f0;box-shadow:none}
.shop-summary-photo>span{padding:3px;text-align:center;font-size:9px;line-height:1.2}
.shop-summary-photo>span[hidden]{display:none}
.shop-summary-photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;background:#fff}
.shop-summary-copy{display:grid;gap:3px;min-width:0;flex:1;overflow-wrap:anywhere}
.shop-summary-copy strong{font-size:13.5px;font-weight:750;line-height:1.32;color:#0f172a;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.shop-summary-meta-line{display:flex;align-items:center;flex-wrap:wrap;gap:4px 8px;min-width:0}
.shop-summary-copy small{font-size:11.5px;line-height:1.32;color:#475569;font-weight:560}
.shop-summary-price{font-size:12px;font-weight:800;color:#be123c;background:#fff1f2;border:1px solid #fecdd3;padding:1.5px 7px;border-radius:6px}
.shop-order-missing{font-size:12px;color:#64748b;margin:2px 0}

/* Page Canvas & Bright Harmonious Shop Header (matching #shopPanel outer Shop page) */
.shop-commerce-page{position:fixed;inset:0;z-index:980;display:flex;flex-direction:column;background:#f5f6f9;color:#1e293b;font-family:var(--app-font-ui);transform:translateX(100%);transition:transform .2s ease;overflow:hidden;padding-top:env(safe-area-inset-top);box-sizing:border-box}
.shop-commerce-page.is-open{transform:translateX(0)}
.shop-commerce-page>header{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 12px;background:#ffffff;color:#0f172a;flex-shrink:0;box-shadow:0 1px 0 #ececf2,0 2px 6px rgba(22,24,35,.04);border-bottom:1px solid #e5e7eb}
.shop-commerce-page>header strong{font-size:16.5px;font-weight:800;letter-spacing:0;min-width:0;overflow-wrap:anywhere;color:#0f172a}
.shop-commerce-header-search{display:flex;flex:1 1 auto;min-width:0;margin:0}
.shop-commerce-header-search .mobile-inbox-search{width:100%;height:38px;min-height:38px;box-sizing:border-box;border:1.5px solid #fda4af;border-radius:999px;padding:0 12px;background:#ffffff;box-shadow:0 1px 4px rgba(254,44,85,.08)}
.shop-commerce-header-search .mobile-inbox-search span{color:#e11d48;font-size:18px;line-height:1}
.shop-commerce-header-search .mobile-inbox-search input{width:100%;min-width:0;margin:0;padding:7px 0;border:0;background:transparent;color:#0f172a;font-size:13px;line-height:1.25;box-shadow:none}
.shop-commerce-header-search .mobile-inbox-search input::placeholder{color:#64748b;opacity:1}
.shop-order-search-empty,.shop-list-search-empty{margin:10px 0;color:#64748b;font-size:13px;text-align:center}
.shop-order-search-empty:empty,.shop-list-search-empty:empty{display:none}

/* Scrollable Subpage Body & Android Navigation Bar Clearance */
.shop-commerce-body{flex:1;min-height:0;overflow:auto;padding:8px 10px calc(28px + env(safe-area-inset-bottom,0px));overscroll-behavior:contain;box-sizing:border-box}
html.native-mobile .shop-commerce-page>.shop-commerce-body{padding-bottom:calc(28px + max(env(safe-area-inset-bottom,0px),var(--mobile-safe-bottom,48px)))}
.shop-commerce-body>button{display:block;margin:8px 0;text-align:left}

/* Menus & Pill Strips */
.shop-commerce-menu{display:grid;gap:0;margin:6px 0;border:1px solid #e5e7eb;border-radius:14px;background:#fff;overflow:hidden;min-width:0;box-sizing:border-box;box-shadow:0 2px 8px rgba(15,23,42,.04)}
.shop-commerce-menu button{display:flex;align-items:center;gap:10px;text-align:left;padding:12px 14px;margin:0;border:0;border-bottom:1px solid #f1f5f9;border-radius:0;background:#fff;box-shadow:none;color:#1e293b;font-size:14px;font-weight:700}
.shop-commerce-menu button:last-child{border-bottom:0}
.shop-commerce-menu button::before{content:'';flex:0 0 8px;width:8px;height:8px;border-radius:999px;background:#e11d48;box-shadow:0 0 0 3px #ffe4e6}
.shop-commerce-menu button:nth-child(4n+2)::before{background:#0284c7;box-shadow:0 0 0 3px #e0f2fe}
.shop-commerce-menu button:nth-child(4n+3)::before{background:#d97706;box-shadow:0 0 0 3px #fef3c7}
.shop-commerce-menu button:nth-child(4n+4)::before{background:#0d9488;box-shadow:0 0 0 3px #ccfbf1}
.shop-commerce-menu button:hover,.shop-commerce-menu button:active{background:#f8fafc}
.shop-commerce-menu.is-pill-strip{display:flex;flex-wrap:nowrap;align-items:center;gap:6px;padding:8px 10px;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;-webkit-overflow-scrolling:touch;box-sizing:border-box}
.shop-commerce-menu.is-pill-strip::-webkit-scrollbar{display:none}
.shop-commerce-menu.is-pill-strip button{flex:0 0 auto;min-height:32px;padding:5px 11px;border:1px solid #e2e8f0;border-radius:999px;background:#f8fafc;color:#1e293b;font-size:12px;font-weight:700;white-space:nowrap;gap:5px}
.shop-commerce-menu.is-pill-strip button:last-child{border:1px solid #e2e8f0}
.shop-commerce-menu.is-pill-strip button::before{content:none!important;display:none!important}
.shop-commerce-menu.is-pill-strip button:hover,.shop-commerce-menu.is-pill-strip button:active{background:#fff1f2;border-color:#fda4af;color:#be123c}

/* Forms, Controls & Buttons */
.shop-commerce-body form,.shop-commerce-checkout{display:grid;gap:10px;min-width:0}
.shop-commerce-page button,.shop-commerce-actions button,.shop-commerce-filter button,.shop-commerce-checkout button{border:1px solid #dbe2ea;border-radius:10px;background:#ffffff;color:#1e293b;padding:8px 12px;min-height:42px;font:inherit;font-size:13px;font-weight:700;cursor:pointer;white-space:normal;overflow-wrap:anywhere;transition:background .15s,border-color .15s}
.shop-commerce-page button:hover,.shop-commerce-page button:active{background:#f8fafc;border-color:#cbd5e1}
.shop-commerce-page form button[type="submit"],.shop-commerce-checkout button[type="submit"]{border:1px solid #e11d48;background:linear-gradient(90deg,#ff3b5c 0%,#e11d48 100%);color:#fff;font-size:13.5px;font-weight:800;box-shadow:0 3px 10px rgba(225,29,72,.2)}
.shop-commerce-page>header button{display:grid;place-items:center;width:36px;min-width:36px;height:36px;min-height:36px;background:transparent;color:#0f172a;border:0;font-size:21px;padding:0;border-radius:50%;box-shadow:none}
.shop-commerce-page>header button:hover,.shop-commerce-page>header button:active{background:#f1f5f9;border-color:transparent;color:#be123c}
.shop-commerce-page button:disabled{opacity:.55;cursor:default}

.shop-commerce-body input:not([type=checkbox]),.shop-commerce-body textarea,.shop-commerce-body select,.shop-commerce-checkout input{display:block;width:100%;box-sizing:border-box;min-width:0;min-height:42px;border:1px solid #cbd5e1;border-radius:10px;background:#f8fafc;color:#0f172a;padding:9px 11px;font:inherit;font-size:13.5px;margin-top:4px;transition:border-color .15s,box-shadow .15s,background .15s}
.shop-commerce-body input[readonly],.shop-commerce-body input:disabled{background:#f1f5f9;color:#475569;border-style:dashed;border-color:#cbd5e1}
.shop-commerce-body input:not([type=checkbox]):focus,.shop-commerce-body textarea:focus,.shop-commerce-body select:focus,.shop-commerce-checkout input:focus{outline:none;background:#ffffff;border-color:#e11d48;box-shadow:0 0 0 2px rgba(225,29,72,.14)}
.shop-commerce-body input[type=checkbox]{width:18px;height:18px;margin:0 8px 0 0;vertical-align:middle;accent-color:#e11d48}
.shop-commerce-body textarea{min-height:84px;resize:vertical}
.shop-commerce-body label{font-weight:700;font-size:12.5px;color:#334155;overflow-wrap:anywhere;line-height:1.35}
.shop-commerce-body p,.shop-commerce-card{overflow-wrap:anywhere;line-height:1.48}

/* Framed Cards with Soft Single Border & Unified Typography */
.shop-commerce-card{background:#ffffff;padding:11px 12px;border:1px solid #e5e7eb;border-radius:14px;margin:6px 0;min-width:0;box-shadow:0 2px 8px rgba(15,23,42,.04);box-sizing:border-box;font-family:inherit}
.shop-commerce-card h2{margin:1px 0 4px;font-size:15.5px;font-weight:800;line-height:1.34;color:#0f172a;letter-spacing:0}
.shop-commerce-card h3{margin:0 0 4px;font-size:14.5px;font-weight:800;line-height:1.34;color:#0f172a;letter-spacing:0}
.shop-commerce-card p{margin:3px 0;font-size:13px;font-weight:500;line-height:1.48;color:#334155}
.shop-commerce-card small{font-size:12px;font-weight:560;line-height:1.36;color:#475569}
.shop-commerce-card button{margin:4px 6px 0 0}
.shop-commerce-notice:empty{display:none}
.shop-inbox-commerce-head,.shop-inbox-commerce-thread-head{display:flex;align-items:center;gap:8px;min-width:0}
.shop-inbox-commerce-head strong{flex:1 1 0;min-width:0;overflow-wrap:anywhere;font-size:13.5px;color:#0f172a}
.shop-inbox-commerce-thread-head{margin:4px 0 10px;padding:4px 0}
.shop-inbox-commerce-thread-head strong{font-size:16px;color:#0f172a}
.shop-commerce-avatar{width:34px;height:34px;flex-shrink:0}
.shop-commerce-page .shop-compact-top-btn,.shop-commerce-card .shop-compact-top-btn{margin:0 0 0 auto;min-height:30px;padding:4px 10px;border:1px solid #fecdd3;border-radius:8px;background:#fff1f2;color:#be123c;font-size:11.5px;font-weight:750;line-height:1.2;white-space:nowrap;flex:0 0 auto;box-shadow:none}
.shop-commerce-page .shop-compact-top-btn:hover,.shop-commerce-page .shop-compact-top-btn:active{background:#ffe4e6;border-color:#fda4af}
.shop-inventory-item-body{display:flex;align-items:center;gap:10px;min-width:0;margin-top:2px}
.shop-inventory-item-copy{display:grid;gap:2px;flex:1 1 0;min-width:0;overflow-wrap:anywhere}
.shop-inventory-item-copy strong{font-size:13.5px;font-weight:750;line-height:1.32;color:#0f172a;overflow-wrap:anywhere}
.shop-commerce-notice{color:#9a3412;background:#fff7ed;border:1px solid #fed7aa;padding:8px 11px;border-radius:10px;font-size:12.5px;font-weight:600}
.shop-commerce-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin:8px 0}
.shop-action-status-note{display:inline-flex;align-items:center;gap:6px;margin:4px 0 0;padding:6px 11px;border-radius:8px;font-size:12px;font-weight:750;line-height:1.38;box-sizing:border-box;max-width:100%;overflow-wrap:anywhere}
.shop-action-status-note[hidden]{display:none!important}
.shop-action-status-note.is-saving{background:#eff6ff;border:1px solid #93c5fd;color:#1d4ed8}
.shop-action-status-note.is-saved,.shop-action-status-note.is-success{background:#ecfdf5;border:1px solid #6ee7b7;color:#065f46}
.shop-action-status-note.is-error{background:#fff1f2;border:1px solid #fda4af;color:#be123c}
.shop-commerce-page button[data-action-state="saving"]{background:#eff6ff!important;border-color:#60a5fa!important;color:#1d4ed8!important;opacity:.92!important}
.shop-commerce-page button[data-action-state="saved"]{background:linear-gradient(135deg,#10b981 0%,#059669 100%)!important;border-color:#059669!important;color:#ffffff!important;box-shadow:0 2px 8px rgba(5,150,105,.24)!important}
.shop-commerce-page button[data-action-state="error"]{border-color:#e11d48!important;box-shadow:0 0 0 2px rgba(225,29,72,.16)!important}

/* Recommendations & Related Product Grid */
.shop-commerce-related{min-width:0}
.shop-commerce-related-group{margin:0 0 20px;min-width:0}
.shop-commerce-related-group h3{margin:0 0 10px;line-height:1.4;color:#0f172a;font-size:14.5px;font-weight:800}
.shop-commerce-recommendations{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:6px;min-width:0;padding:0 0 8px}
.shop-commerce-recommendations .shop-related-product{display:flex;flex-direction:column;height:100%;box-sizing:border-box;min-width:0;margin:0;padding:0 0 8px;border:1px solid #ebebf0;border-radius:10px;background:#fff;box-shadow:0 2px 8px rgba(22,24,35,.04);color:#0f172a;text-align:left;font:inherit;white-space:normal;cursor:pointer;align-self:stretch;overflow:hidden}
.shop-commerce-recommendations .shop-related-product:focus-visible{outline:2px solid #0d9488;outline-offset:3px}
.shop-related-media{position:relative;display:grid;place-items:center;align-self:stretch;aspect-ratio:1/1;width:100%;min-width:0;overflow:hidden;border-radius:0;background:#ffffff}
.shop-commerce-recommendations .shop-related-media img{position:absolute;inset:0;display:block;width:100%;height:100%;min-height:0;max-height:none;object-fit:contain;aspect-ratio:1/1}
.shop-related-media .product-sale-badge,.shop-related-media .market-featured{position:absolute;top:6px;right:6px;z-index:2;padding:2px 6px;border-radius:5px;background:#e11d48;color:#fff;font-size:10.5px;font-weight:850;line-height:1.2;box-shadow:0 2px 6px rgba(225,29,72,.22)}
.shop-related-media .market-featured{background:#0f172a;color:#5eead4;border:1px solid rgba(94,234,212,.4)}
.shop-related-media .market-media-ribbon{position:absolute;left:0;right:0;bottom:0;z-index:2;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch;gap:2px;padding:2px 3px;background:linear-gradient(90deg,rgba(13,148,136,.95) 0%,rgba(29,78,216,.95) 55%,rgba(217,119,6,.95) 100%);color:#fff;font-size:7.5px;font-weight:800;line-height:1.05;white-space:nowrap;overflow:hidden}
.shop-related-media .market-media-ribbon .ribbon-xtra{display:flex;flex-direction:column;justify-content:center;padding:1px 3px;border-radius:2px;background:#fff;color:#0f766e;font-weight:900;min-width:0;overflow:hidden;text-overflow:ellipsis}
.shop-related-media .market-media-ribbon .ribbon-extra{display:flex;flex-direction:column;justify-content:center;padding:1px 3px;border-radius:2px;background:rgba(15,23,42,.22);color:#fff;min-width:0;overflow:hidden;text-overflow:ellipsis}
.shop-related-media .market-media-ribbon .ribbon-bonus{display:flex;flex-direction:column;justify-content:center;padding:1px 3px;border-radius:2px;background:#fef08a;color:#0f172a;font-weight:900;min-width:0;overflow:hidden;text-overflow:ellipsis}
.shop-related-placeholder{padding:12px;color:#64748b;text-align:center;font-size:12px;line-height:1.4;z-index:1}
.shop-related-placeholder[hidden]{display:none}
.shop-related-info{display:flex;flex-direction:column;flex:1 1 auto;align-self:stretch;min-width:0;gap:4px;padding:6px 3px 2px}
.shop-related-seller-row{display:flex;align-items:center;justify-content:space-between;gap:4px;min-width:0}
.shop-related-seller{min-width:0;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px;font-weight:800;color:#0f766e}
.shop-related-category{flex:none;padding:1px 5px;border-radius:4px;background:#f1f5f9;border:1px solid #e2e8f0;color:#475569;font-size:9px;font-weight:750;white-space:nowrap}
.shop-related-title{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;overflow-wrap:anywhere;font-size:12.5px;font-weight:650;line-height:17.5px;min-height:35px;max-height:35px;color:#0f172a}
.shop-related-title[data-campaign-badge]::before{content:attr(data-campaign-badge);display:inline-block;margin-right:4px;padding:0 4px;border-radius:3px;background:linear-gradient(90deg,#0f766e,#0d9488);color:#fff;font-size:9.5px;font-weight:900;line-height:1.3;vertical-align:baseline}
.shop-related-prices{display:flex;align-items:baseline;flex-wrap:wrap;gap:2px 5px;min-width:0}
.shop-related-price{color:#be123c;font-size:14.5px;font-weight:850;line-height:1.25;overflow-wrap:anywhere}
.shop-related-old-price{color:#94a3b8;font-size:10.5px;line-height:1.25;overflow-wrap:anywhere}
.shop-related-perks{display:flex;align-items:center;flex-wrap:wrap;gap:3px 4px;margin:0;font-size:9.5px;font-weight:750;line-height:1.2;min-width:0}
.shop-related-perks .perk-freeship{padding:1px 5px;border-radius:4px;background:#ecfdf5;border:1px solid #a7f3d0;color:#047857;font-weight:800}
.shop-related-perks .perk-hot-deal{padding:1px 5px;border-radius:4px;background:#eff6ff;border:1px solid #bfdbfe;color:#1d4ed8;font-weight:800}
.shop-related-perks .perk-rating{color:#d97706;font-weight:800}
.shop-related-meta{display:flex;flex-wrap:wrap;align-items:center;gap:3px 5px;margin:0;padding-top:1px;font-size:9.5px;line-height:1.25;color:#64748b;min-width:0}
.shop-related-meta .market-product-payment{padding:0 4px;border-radius:3px;background:#f0fdfa;border:1px solid #99f6e4;color:#0f766e;font-size:9px;font-weight:800}
.shop-related-foot{display:flex;align-items:center;justify-content:space-between;gap:4px;margin-top:auto;padding-top:4px;border-top:1px dashed #e2e8f0;min-width:0}
.shop-related-warranty{min-width:0;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:9.5px;font-weight:600;color:#64748b}
.shop-related-cta{flex:none;display:inline-flex;align-items:center;padding:2px 7px;border-radius:999px;background:#f0fdfa;border:1px solid #99f6e4;color:#0f766e;font-size:9.5px;font-weight:800;line-height:1.2;white-space:nowrap}
@media(min-width:900px){.shop-commerce-recommendations{grid-template-columns:repeat(4,minmax(0,1fr))}}
.shop-commerce-related h3{font-size:15px}
.shop-commerce-filter{padding:6px 12px}
.shop-commerce-checkout{padding:12px;border:1px solid #bae6fd;border-radius:12px;background:#f0f9ff}
.shop-commerce-checkout p{margin:0;overflow-wrap:anywhere}
@media(prefers-reduced-motion:reduce){.shop-commerce-page{transition:none}}

@media (max-width:699px), (hover:none) and (pointer:coarse){
  .shop-commerce-page{padding-top:0}
  .shop-commerce-page>header{box-sizing:border-box;min-height:calc(var(--mobile-header-height,48px) + var(--mobile-safe-top,env(safe-area-inset-top)));padding:calc(var(--mobile-header-pad,2px) + var(--mobile-safe-top,env(safe-area-inset-top))) 8px var(--mobile-header-pad,2px);gap:8px}
  .shop-commerce-page>header button{flex:none;width:var(--mobile-header-action,44px);height:var(--mobile-header-action,44px);min-height:var(--mobile-header-action,44px);padding:6px;box-shadow:none}
  .shop-commerce-page>header strong{font-size:16px;line-height:1.25}
  .shop-commerce-header-search{min-width:0}
  .shop-commerce-header-search .mobile-inbox-search{height:38px;min-height:38px;border-radius:999px}
  .shop-commerce-header-search .mobile-inbox-search input{font-size:12px}
}

/* Notification Filters & Cards */
.shop-notification-filters{display:flex;gap:6px;overflow-x:auto;margin:0 0 10px;min-width:0;padding:0 12px}
.shop-notification-filters button{flex:1 0 auto;font-size:12.5px;white-space:nowrap;border-radius:999px;background:#f8fafc;border-color:#cbd5e1;color:#334155}
.shop-notification-filters [aria-pressed=true],.shop-notification-tools [aria-pressed=true]{background:linear-gradient(135deg,#0f766e 0%,#0d9488 100%);color:#fff;border-color:#0f766e}
.shop-notification-tools{display:flex;flex-wrap:wrap;gap:6px;padding:0 12px}
.shop-notification-tools button{font-size:12px;padding:6px 10px;border-radius:8px}
.shop-notification-card>small{display:block;color:#64748b;font-size:11.5px;margin:6px 0}
.shop-notification-card.is-unread{box-shadow:inset 3.5px 0 #0d9488;background:#f0fdfa}
.shop-notification-summary{display:block;padding:8px 12px;color:#475569;font-size:12px;font-weight:600}

/* Compact Save Action */
.product-title-row{display:flex;align-items:center;gap:8px;min-width:0;flex-basis:100%}
.product-title-row>h2,.product-title-row>h3{flex:1 1 0;min-width:0;margin:0;overflow-wrap:anywhere}
.product-title-row>.product-save-icon{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;min-height:44px;padding:10px;border:0;border-radius:8px;background:transparent;color:#475569;box-shadow:none;cursor:pointer}
.product-save-icon svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linejoin:round}
.product-save-icon[aria-pressed="true"]{color:#e11d48}
.product-save-icon[aria-pressed="true"] svg{fill:currentColor}
.product-save-icon:disabled{opacity:.5;cursor:wait}
.product-save-icon:focus-visible{outline:2px solid currentColor;outline-offset:-2px}
.shop-save-status:not(.is-error){position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.shop-save-status.is-error{flex-basis:100%;font-size:12.5px;color:#be123c}

/* Product Sale Badge */
.product-sale-badge{position:absolute;top:6px;right:6px;z-index:1;display:inline-flex;align-items:center;justify-content:center;min-width:42px;max-width:calc(100% - 12px);padding:3px 6px;border-radius:5px;background:#e11d48;color:#fff;font-size:11px;font-weight:850;line-height:1.2;white-space:nowrap;pointer-events:none;box-sizing:border-box}
.product-sale-badge strong{display:none}
.product-sale-badge .product-discount-percent{font-size:inherit;font-weight:inherit;color:inherit}
.shop-related-media{position:relative}
.shop-related-sold{display:block;font-size:11px;line-height:1.4;color:#64748b;margin-top:4px}
.product-main-image{position:relative}

/* ==========================================================================
   Hero Cards, Badges, KPI Strips & Section Headers Across All 52 Submenus
   ========================================================================== */
.shop-seller-hero-card{display:grid;gap:7px;padding:11px 12px;border:1px solid #e5e7eb;border-radius:14px;background:linear-gradient(135deg,#fff7f8 0%,#ffffff 50%,#f2f8ff 100%);color:#0f172a;margin:5px 0;min-width:0;box-sizing:border-box;box-shadow:0 2px 8px rgba(15,23,42,.04)}
.shop-seller-hero-card h2,.shop-seller-hero-card h3{margin:1px 0;font-size:15.5px;font-weight:800;line-height:1.34;color:#0f172a;display:flex;align-items:center;gap:8px}
.shop-seller-hero-card h2::before,.shop-seller-hero-card h3::before{content:"";flex:0 0 22px;width:22px;height:22px;border-radius:7px;background:#fff1f2 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23e11d48'%3E%3Cpath fill-rule='evenodd' d='M10 1a.75.75 0 0 1 .65.38l1.85 3.25 3.68.78a.75.75 0 0 1 .41 1.24l-2.5 2.79.39 3.73a.75.75 0 0 1-1.06.77L10 12.39l-3.42 1.55a.75.75 0 0 1-1.06-.77l.39-3.73-2.5-2.79a.75.75 0 0 1 .41-1.24l3.68-.78L9.35 1.38A.75.75 0 0 1 10 1Z' clip-rule='evenodd'/%3E%3C/svg%3E") no-repeat center/14px 14px;border:1px solid #fecdd3;box-sizing:border-box}
.shop-seller-hero-card p{margin:0;font-size:12.5px;line-height:1.45;color:#475569}
.shop-seller-hero-top{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:6px;min-width:0}

/* Soft Harmonious Multi-Tone Badges */
.shop-seller-badge{display:inline-flex;align-items:center;gap:5px;padding:3px 9px;border-radius:999px;background:#fff1f2;color:#be123c;border:1px solid #fecdd3;font-size:11px;font-weight:750;letter-spacing:.1px;white-space:nowrap;max-width:100%;overflow:hidden;text-overflow:ellipsis}
.shop-seller-badge::before{content:"";flex:0 0 12px;width:12px;height:12px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23e11d48'%3E%3Cpath fill-rule='evenodd' d='M16.403 12.652a3 3 0 0 0 0-5.304 3 3 0 0 0-3.75-3.751 3 3 0 0 0-5.305 0 3 3 0 0 0-3.751 3.75 3 3 0 0 0 0 5.305 3 3 0 0 0 3.75 3.751 3 3 0 0 0 5.305 0 3 3 0 0 0 3.751-3.75Zm-2.546-4.46a.75.75 0 0 0-1.214-.883l-3.483 4.79-1.88-1.88a.75.75 0 1 0-1.06 1.061l2.5 2.5a.75.75 0 0 0 1.137-.089l4-5.5Z' clip-rule='evenodd'/%3E%3C/svg%3E") no-repeat center/contain}
.shop-seller-badge.is-gold{background:linear-gradient(135deg,#fffbeb 0%,#fef3c7 100%);color:#b45309;border:1px solid #fde68a}
.shop-seller-badge.is-gold::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23d97706'%3E%3Cpath fill-rule='evenodd' d='M10.868 2.884c-.321-.772-1.415-.772-1.736 0l-1.83 4.401-4.753.381c-.833.067-1.171 1.107-.536 1.651l3.62 3.102-1.106 4.637c-.194.813.691 1.456 1.405 1.02L10 15.591l4.069 2.485c.713.436 1.598-.207 1.404-1.02l-1.106-4.637 3.62-3.102c.635-.544.297-1.584-.536-1.65l-4.752-.382-1.831-4.401Z' clip-rule='evenodd'/%3E%3C/svg%3E")}
.shop-seller-badge.is-emerald{background:#ecfdf5;color:#047857;border-color:#a7f3d0}

.shop-pill-scroll-strip,.shop-seller-kpi-strip,.shop-commerce-order-tabs,.shop-orders-ops-strip{display:flex;flex-wrap:nowrap;align-items:center;gap:6px;margin-top:3px;min-width:0;max-width:100%;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;-webkit-overflow-scrolling:touch;box-sizing:border-box}
.shop-pill-scroll-strip::-webkit-scrollbar,.shop-seller-kpi-strip::-webkit-scrollbar,.shop-commerce-order-tabs::-webkit-scrollbar,.shop-orders-ops-strip::-webkit-scrollbar{display:none}
.shop-seller-kpi-strip:empty{display:none}
.shop-seller-kpi-pill,.shop-commerce-page .shop-seller-kpi-pill,.shop-commerce-card .shop-seller-kpi-pill{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;gap:5px;min-height:30px;margin:0;padding:4px 10px;border-radius:999px;font-size:11.5px;font-weight:700;background:#f8fafc;color:#334155;border:1px solid #e2e8f0;white-space:nowrap;box-shadow:none}
.shop-seller-kpi-pill.is-action,.shop-commerce-card .shop-seller-kpi-pill.is-action{border-color:#bae6fd;background:#f0f9ff;color:#0369a1;cursor:pointer}
.shop-seller-kpi-pill.is-ok,.shop-commerce-card .shop-seller-kpi-pill.is-ok{background:#ecfdf5;color:#047857;border-color:#a7f3d0}
.shop-seller-kpi-pill.is-warn,.shop-commerce-card .shop-seller-kpi-pill.is-warn{background:#fffbeb;color:#b45309;border-color:#fde68a}

/* Section Headers with Soft Divider */
.shop-seller-section-head{display:flex;align-items:flex-start;justify-content:space-between;flex-wrap:wrap;gap:6px 8px;min-width:0;padding-bottom:6px;margin-bottom:4px;border-bottom:1px solid #eef0f5}
.shop-seller-section-head h3,.shop-seller-section-head strong{flex:1 1 160px;margin:0;font-size:14px;font-weight:800;color:#0f172a;line-height:1.32;display:flex;align-items:flex-start;gap:7px;min-width:0;overflow-wrap:anywhere;word-break:break-word}
.shop-seller-section-head h3::before,.shop-seller-section-head strong::before{content:"";flex:0 0 18px;width:18px;height:18px;margin-top:1px;border-radius:5px;background:#e0f2fe url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%230284c7'%3E%3Cpath d='M5 3a2 2 0 0 0-2 2v2a2 2 0 0 0 2 2h2a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2H5ZM5 11a2 2 0 0 0-2 2v2a2 2 0 0 0 2 2h2a2 2 0 0 0 2-2v-2a2 2 0 0 0-2-2H5ZM11 5a2 2 0 0 1 2-2h2a2 2 0 0 1 2 2v2a2 2 0 0 1-2 2h-2a2 2 0 0 1-2-2V5ZM14 11a1 1 0 0 1 1 1v1h1a1 1 0 1 1 0 2h-1v1a1 1 0 1 1-2 0v-1h-1a1 1 0 1 1 0-2h1v-1a1 1 0 0 1 1-1Z'/%3E%3C/svg%3E") no-repeat center/12px 12px;border:1px solid #bae6fd;box-sizing:border-box}
.shop-seller-section-head>:is(h3,strong)+.shop-seller-badge{flex:0 0 auto;max-width:100%}
.shop-seller-section-head>.shop-seller-subnote{min-width:0;max-width:100%;font-size:11.5px;color:#475569;overflow-wrap:anywhere}

/* 4-Column Seller Todo Grid */
.shop-seller-todo-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;min-width:0}
@media(max-width:359px){.shop-seller-todo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
.shop-seller-todo-tile,.shop-commerce-card .shop-seller-todo-tile{display:grid;gap:3px;place-items:center;text-align:center;min-height:60px;margin:0;padding:8px 5px;border:1px solid #e2e8f0;border-radius:11px;background:linear-gradient(180deg,#f8fafc 0%,#ffffff 100%);color:#0f172a;box-shadow:none;min-width:0}
.shop-seller-todo-tile:nth-child(4n+1){border-color:#fecdd3;background:linear-gradient(180deg,#fff1f2 0%,#fff 100%)}
.shop-seller-todo-tile:nth-child(4n+2){border-color:#bfdbfe;background:linear-gradient(180deg,#eff6ff 0%,#fff 100%)}
.shop-seller-todo-tile:nth-child(4n+3){border-color:#fde68a;background:linear-gradient(180deg,#fffbeb 0%,#fff 100%)}
.shop-seller-todo-tile:nth-child(4n+4){border-color:#ddd6fe;background:linear-gradient(180deg,#f5f3ff 0%,#fff 100%)}
.shop-seller-todo-tile strong{font-size:15px;font-weight:850;color:#be123c;line-height:1.2;overflow-wrap:anywhere}
.shop-seller-todo-tile:nth-child(4n+2) strong{color:#1d4ed8}
.shop-seller-todo-tile:nth-child(4n+3) strong{color:#b45309}
.shop-seller-todo-tile:nth-child(4n+4) strong{color:#6d28d9}
.shop-seller-todo-tile span{font-size:11px;font-weight:700;color:#334155;line-height:1.25;overflow-wrap:anywhere}
.shop-seller-todo-tile:active{background:#fff1f2;border-color:#fda4af}

/* Commerce Overview Card */
.shop-commerce-overview{display:grid;gap:8px;margin:5px 0;padding:11px 12px;border:1px solid #e5e7eb;border-radius:14px;background:linear-gradient(135deg,#ffffff 0%,#f8fafc 100%);min-width:0;box-sizing:border-box;box-shadow:0 2px 8px rgba(15,23,42,.04)}
.shop-commerce-overview p{margin:0;font-size:12.5px;color:#475569}
.shop-commerce-overview button{text-align:left;white-space:normal;overflow-wrap:anywhere;min-height:40px}
.shop-commerce-overview .shop-seller-todo-tile{text-align:center}
.shop-commerce-overview .shop-seller-kpi-pill{min-height:30px;white-space:nowrap;text-align:center}

/* ==========================================================================
   Order Management, Multi-Tone Filter Chips, Order Cards & Action Bars
   ========================================================================== */
.shop-orders-overview-card{display:grid;gap:6px;margin:5px 0;padding:10px 12px}
.shop-orders-loaded-summary{margin:0!important;padding:5px 9px;border-radius:8px;background:#f8fafc;border:1px solid #eef0f5;font-size:11.5px!important;font-weight:600!important;color:#475569!important;line-height:1.35!important}
.shop-orders-ops-strip{padding:1px 0 0}
.shop-orders-ops-strip button,.shop-commerce-card .shop-orders-ops-strip button{flex:0 0 auto;display:inline-flex;align-items:center;gap:5px;margin:0;min-height:29px;padding:4px 10px;border:1px solid #e2e8f0;border-radius:8px;background:#f8fafc;color:#334155;font-size:11.5px;font-weight:700;white-space:nowrap;box-shadow:none}
.shop-orders-ops-strip button::before{content:none!important;display:none!important}
.shop-orders-ops-strip button:nth-child(4n+1),.shop-commerce-card .shop-orders-ops-strip button:nth-child(4n+1){background:#f0f9ff;border-color:#bae6fd;color:#0369a1}
.shop-orders-ops-strip button:nth-child(4n+2),.shop-commerce-card .shop-orders-ops-strip button:nth-child(4n+2){background:#fdf2f8;border-color:#fbcfe8;color:#be185d}
.shop-orders-ops-strip button:nth-child(4n+3),.shop-commerce-card .shop-orders-ops-strip button:nth-child(4n+3){background:#fffbeb;border-color:#fde68a;color:#b45309}
.shop-orders-ops-strip button:nth-child(4n+4),.shop-commerce-card .shop-orders-ops-strip button:nth-child(4n+4){background:#f5f3ff;border-color:#ddd6fe;color:#6d28d9}
.shop-orders-ops-strip button:hover,.shop-orders-ops-strip button:active{background:#fff1f2;border-color:#fda4af;color:#be123c}

.shop-commerce-page .shop-pill-scroll-strip button{flex:0 0 auto;display:inline-flex;align-items:center;gap:5px;margin:0;min-height:30px;padding:4px 11px;border:1px solid #e2e8f0;border-radius:999px;background:#ffffff;color:#1e293b;font-size:11.5px;font-weight:700;white-space:nowrap;box-shadow:none}
.shop-commerce-page .shop-pill-scroll-strip button::before{content:none!important;display:none!important}
.shop-commerce-page .shop-pill-scroll-strip:not(.shop-commerce-order-tabs):not(.shop-orders-ops-strip) button:nth-child(5n+1){background:#fff1f2;border-color:#fecdd3;color:#be123c}
.shop-commerce-page .shop-pill-scroll-strip:not(.shop-commerce-order-tabs):not(.shop-orders-ops-strip) button:nth-child(5n+2){background:#fffbeb;border-color:#fde68a;color:#b45309}
.shop-commerce-page .shop-pill-scroll-strip:not(.shop-commerce-order-tabs):not(.shop-orders-ops-strip) button:nth-child(5n+3){background:#f0f9ff;border-color:#bae6fd;color:#0369a1}
.shop-commerce-page .shop-pill-scroll-strip:not(.shop-commerce-order-tabs):not(.shop-orders-ops-strip) button:nth-child(5n+4){background:#f0fdfa;border-color:#99f6e4;color:#0f766e}
.shop-commerce-page .shop-pill-scroll-strip:not(.shop-commerce-order-tabs):not(.shop-orders-ops-strip) button:nth-child(5n+5){background:#f5f3ff;border-color:#ddd6fe;color:#6d28d9}
.shop-commerce-page .shop-pill-scroll-strip button:hover,.shop-commerce-page .shop-pill-scroll-strip button:active{background:#fff1f2;border-color:#fda4af;color:#be123c}
.shop-commerce-page .shop-pill-scroll-strip button[aria-pressed="true"]{background:linear-gradient(135deg,#ff3b5c 0%,#e11d48 100%)!important;border-color:#e11d48!important;color:#fff!important;font-weight:800;box-shadow:0 2px 6px rgba(225,29,72,.2)}

/* Order Cards with Soft Single Border & Clean Hierarchy (No Double Nested Borders) */
.shop-commerce-order-card{display:grid;gap:7px;padding:11px 12px;border:1px solid #e5e7eb;border-left:3px solid #cbd5e1;border-radius:14px;background:#fff;box-shadow:0 2px 8px rgba(15,23,42,.04);box-sizing:border-box}
.shop-commerce-order-card[data-order-status="pending"]{border-left-color:#f59e0b}
.shop-commerce-order-card[data-order-status="accepted"],.shop-commerce-order-card[data-order-status="shipped"]{border-left-color:#0284c7}
.shop-commerce-order-card[data-order-status="completed"]{border-left-color:#10b981}
.shop-commerce-order-card[data-order-status="cancelled"]{border-left-color:#94a3b8}
.shop-commerce-order-card .shop-order-summary{gap:5px}
.shop-commerce-order-card .shop-order-meta-row{justify-content:space-between;padding-bottom:6px;border-bottom:1px solid #f1f5f9}
.shop-commerce-order-card .shop-product-summary{padding:7px 9px;border:1px solid #eef0f5;border-radius:10px;background:#fafbfe}
.shop-commerce-order-card .shop-order-origin-warehouse{display:none}
.shop-commerce-body>.shop-commerce-card[hidden]{display:none}

.shop-order-compact-row{display:grid;gap:6px;min-width:0}
.shop-order-compact-main{min-width:0;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:5px 8px;padding:0;border-radius:0;background:transparent;border:0}
.shop-order-compact-main>:is(.shop-order-summary,.shop-product-summary,.shop-mall-product-seal-row,.shop-inbox-commerce-head,.shop-policy-chips,strong){flex:1 1 100%;min-width:0}
.shop-order-compact-main p{margin:0;font-size:12px;line-height:1.4;color:#334155}
.shop-order-compact-main p.shop-order-progress-note{flex:1 1 auto;font-weight:600;color:#475569}
.shop-order-recipient-line{flex:1 1 100%;display:flex;align-items:center;gap:5px;font-size:12px;color:#0f172a;font-weight:650}
.shop-order-recipient-line::before{content:"";flex:0 0 13px;width:13px;height:13px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%230284c7'%3E%3Cpath fill-rule='evenodd' d='m9.69 18.933.003.001C9.89 19.02 10 19 10 19s.11.02.308-.066l.002-.001.006-.003.018-.008a5.741 5.741 0 0 0 .281-.14c.186-.096.446-.24.757-.433.62-.384 1.445-.966 2.274-1.765C15.302 14.988 17 12.493 17 9A7 7 0 1 0 3 9c0 3.492 1.698 5.988 3.355 7.584a13.731 13.731 0 0 0 2.273 1.765 11.842 11.842 0 0 0 .976.544l.062.029.018.008.006.003ZM10 11.25a2.25 2.25 0 1 0 0-4.5 2.25 2.25 0 0 0 0 4.5Z' clip-rule='evenodd'/%3E%3C/svg%3E") no-repeat center/contain}
.shop-order-verified-note{flex:0 0 auto;font-size:11.5px !important;color:#047857 !important;font-weight:700}

.shop-order-footer-bar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:6px 10px;padding-top:6px;border-top:1px solid #f1f5f9}
.shop-order-inline-actions{display:flex;align-items:center;flex-wrap:wrap;justify-content:flex-start;gap:6px;min-width:0;padding-top:2px}
.shop-order-inline-actions button,.shop-commerce-card .shop-order-inline-actions button{flex:1 1 auto;display:inline-flex;align-items:center;justify-content:center;text-align:center;margin:0;min-height:34px;padding:6px 11px;border:1px solid #e2e8f0;border-radius:9px;background:#f8fafc;color:#1e293b;font-size:12px;font-weight:700;white-space:nowrap;box-shadow:none}
.shop-order-inline-actions button:hover,.shop-order-inline-actions button:active{background:#fff1f2;border-color:#fda4af;color:#be123c}
.shop-order-inline-actions button.is-primary-action,.shop-commerce-card .shop-order-inline-actions button.is-primary-action{border-color:#fecdd3;background:#fff1f2;color:#be123c;font-weight:750}
.shop-order-inline-actions button.is-solid-action,.shop-commerce-card .shop-order-inline-actions button.is-solid-action{border-color:#e11d48;background:linear-gradient(135deg,#ff3b5c 0%,#e11d48 100%);color:#fff;font-weight:800;box-shadow:0 2px 6px rgba(225,29,72,.18)}

/* Semantic Status Badges & Refined Total Price Tag */
.shop-order-status-badge{display:inline-flex;align-items:center;gap:5px;margin:0;padding:3px 10px;border-radius:999px;background:#fffbeb;border:1px solid #fde68a;font-size:11.5px;font-weight:750;color:#b45309;white-space:nowrap}
.shop-order-status-badge::before{content:"";flex:0 0 6px;width:6px;height:6px;border-radius:50%;background:currentColor}
.shop-commerce-order-card[data-order-status="accepted"] .shop-order-status-badge,.shop-commerce-order-card[data-order-status="shipped"] .shop-order-status-badge{background:#eff6ff;border-color:#bfdbfe;color:#1d4ed8}
.shop-commerce-order-card[data-order-status="completed"] .shop-order-status-badge{background:#ecfdf5;border-color:#a7f3d0;color:#047857}
.shop-commerce-order-card[data-order-status="cancelled"] .shop-order-status-badge{background:#f1f5f9;border-color:#e2e8f0;color:#475569}
.shop-order-total-line{margin:0;font-size:13.5px;font-weight:850;color:#be123c;background:#fff1f2;border:1px solid #fecdd3;padding:3px 10px;border-radius:8px;white-space:nowrap}

.shop-social-actions{display:flex;flex-wrap:wrap;gap:8px;padding:8px 0;min-width:0}
.shop-social-actions small{flex-basis:100%;font-size:11px;color:#64748b}
.shop-social-actions button{min-height:40px;padding:6px 10px;border:1px solid #fecdd3;border-radius:8px;background:#fff1f2;color:#be123c;font-weight:700;white-space:normal}

.shop-variant-editor{display:grid;gap:10px;min-width:0}
.shop-variant-editor .shop-commerce-card{display:grid;gap:8px;margin:0}
.shop-variant-editor input{min-width:0;max-width:100%;box-sizing:border-box}

.shop-commerce-order-tabs{margin:0}
.shop-commerce-order-tabs button,.shop-commerce-card .shop-commerce-order-tabs button{flex:0 0 auto;margin:0;min-height:31px;padding:4px 11px;border-radius:999px;border:1px solid #e2e8f0;background:#f8fafc;color:#334155;font-size:12px;font-weight:750;white-space:nowrap}
.shop-commerce-order-tabs button[aria-pressed="true"],.shop-commerce-card .shop-commerce-order-tabs button[aria-pressed="true"]{background:linear-gradient(135deg,#ff3b5c 0%,#e11d48 100%)!important;border-color:#e11d48!important;color:#fff!important;box-shadow:0 2px 6px rgba(225,29,72,.2)}

/* Seller Center Intro, Menus & Connection State */
.shop-seller-center-intro{padding:12px;border:1px solid #e5e7eb;border-radius:14px;background:linear-gradient(135deg,#fff7f8 0%,#ffffff 55%,#eff6ff 100%);color:#0f172a;margin:5px 0;box-sizing:border-box;box-shadow:0 2px 8px rgba(15,23,42,.04)}
.shop-seller-center-intro h2{margin:4px 0;font-size:16px;font-weight:800;line-height:1.35;color:#0f172a}
.shop-seller-center-intro p,.shop-seller-center-note{font-size:12.5px;line-height:1.52;color:#475569;overflow-wrap:anywhere}
.shop-seller-center-menu{display:grid;gap:0;margin:6px 0;border:1px solid #e5e7eb;border-radius:14px;background:#fff;overflow:hidden;min-width:0;box-sizing:border-box;box-shadow:0 2px 8px rgba(15,23,42,.04)}
.shop-seller-center-menu:empty{display:none}
.shop-seller-center-menu>button{display:flex;align-items:center;gap:12px;min-height:60px;min-width:0;margin:0;padding:10px 12px;text-align:left;border:0;border-bottom:1px solid #f1f5f9;border-radius:0;background:#fff;box-shadow:none;white-space:normal;color:#0f172a}
.shop-seller-center-menu>button:last-child{border-bottom:0}
.shop-seller-center-menu>button:hover,.shop-seller-center-menu>button:active{background:#f8fafc}
.shop-seller-center-icon{display:grid;place-items:center;flex:0 0 38px;height:38px;border:1px solid #fecdd3;border-radius:10px;background:#fff1f2;color:#e11d48;font-size:18px}
.shop-seller-center-menu>button:nth-child(4n+2) .shop-seller-center-icon{background:#f0f9ff;border-color:#bae6fd;color:#0284c7}
.shop-seller-center-menu>button:nth-child(4n+3) .shop-seller-center-icon{background:#fffbeb;border-color:#fde68a;color:#d97706}
.shop-seller-center-menu>button:nth-child(4n+4) .shop-seller-center-icon{background:#f0fdfa;border-color:#99f6e4;color:#0d9488}
.shop-seller-center-copy{flex:1;min-width:0;display:grid;gap:2px}
.shop-seller-center-copy strong{font-size:14px;font-weight:800;color:#0f172a;overflow-wrap:anywhere}
.shop-seller-center-menu small{display:block;font-size:12px;font-weight:550;color:#475569;line-height:1.4;overflow-wrap:anywhere}
.shop-seller-center-arrow{flex:none;color:#94a3b8;font-size:20px}

.shop-seller-center-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:6px 0}
.shop-seller-center-summary>.shop-seller-summary-status,.shop-seller-center-summary>p{grid-column:1/-1;order:1;display:flex;align-items:center;gap:7px;margin:0;padding-bottom:6px;border-bottom:1.5px solid #e2e8f0;font-size:13.5px;font-weight:800;color:#0f172a;line-height:1.35}
.shop-seller-center-summary>.shop-seller-summary-status::before{content:"";flex:0 0 18px;width:18px;height:18px;border-radius:5px;background:#ccfbf1 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%230f766e'%3E%3Cpath d='M5 3a2 2 0 0 0-2 2v2a2 2 0 0 0 2 2h2a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2H5ZM5 11a2 2 0 0 0-2 2v2a2 2 0 0 0 2 2h2a2 2 0 0 0 2-2v-2a2 2 0 0 0-2-2H5ZM11 5a2 2 0 0 1 2-2h2a2 2 0 0 1 2 2v2a2 2 0 0 1-2 2h-2a2 2 0 0 1-2-2V5ZM14 11a1 1 0 0 1 1 1v1h1a1 1 0 1 1 0 2h-1v1a1 1 0 1 1-2 0v-1h-1a1 1 0 1 1 0-2h1v-1a1 1 0 0 1 1-1Z'/%3E%3C/svg%3E") no-repeat center/12px 12px;border:1px solid #5eead4;box-sizing:border-box}
.shop-seller-center-summary>.shop-seller-refresh-btn,.shop-seller-center-summary>button:first-of-type{grid-column:1/-1;order:2;margin:0;min-height:38px;border:1.5px solid #94a3b8;background:#f8fafc;color:#0f172a;font-size:12.5px;font-weight:750;text-align:center}
.shop-seller-center-summary>[data-seller-count]{order:3;display:grid;gap:3px;min-height:66px;margin:0;text-align:center;place-items:center;padding:9px 8px;border:1.5px solid #0d9488;background:linear-gradient(180deg,#f0fdfa 0%,#fff 100%);color:#0f172a;border-radius:11px;white-space:normal;box-shadow:none}
.shop-seller-center-summary>[data-seller-count="pending"]{border-color:#f59e0b;background:linear-gradient(180deg,#fffbeb 0%,#ffffff 100%)}
.shop-seller-center-summary>[data-seller-count="pending"] strong{color:#b45309}
.shop-seller-center-summary>[data-seller-count="accepted"]{border-color:#3b82f6;background:linear-gradient(180deg,#eff6ff 0%,#ffffff 100%)}
.shop-seller-center-summary>[data-seller-count="accepted"] strong{color:#1d4ed8}
.shop-seller-center-summary>[data-seller-count="shipped"]{border-color:#0d9488;background:linear-gradient(180deg,#f0fdfa 0%,#ffffff 100%)}
.shop-seller-center-summary>[data-seller-count="shipped"] strong{color:#0f766e}
.shop-seller-center-summary>[data-seller-count="returns"]{border-color:#8b5cf6;background:linear-gradient(180deg,#f5f3ff 0%,#ffffff 100%)}
.shop-seller-center-summary>[data-seller-count="returns"] strong{color:#6d28d9}
.shop-seller-center-summary strong{font-size:18px;color:#0f766e;font-weight:850;line-height:1.15}
.shop-seller-center-summary span{font-size:12px;color:#1e293b;font-weight:750;line-height:1.25}
.shop-seller-center-summary>.shop-seller-setup-cta{grid-column:1/-1;order:4;margin:2px 0 0;min-height:40px;border:1.5px solid #0d9488;background:#f0fdfa;color:#0f766e;font-size:12.5px;font-weight:800;text-align:center}

.shop-seller-connection-state{padding:11px 12px;border:1px solid #e5e7eb;border-radius:14px;background:#fff;margin:5px 0;box-sizing:border-box;box-shadow:0 2px 8px rgba(15,23,42,.04)}
.shop-seller-connection-state h3{margin:0 0 8px;font-size:14px;font-weight:800;color:#0f172a}
.shop-seller-connection-state article+article{margin-top:12px;padding-top:12px;border-top:1px solid #eef2f6}
.shop-seller-connection-state p{font-size:12.5px;color:#475569;overflow-wrap:anywhere;margin:4px 0 8px}
.shop-seller-connection-state button{min-height:40px;margin:0}

/* ==========================================================================
   Shop Info & Policy Subpage
   ========================================================================== */
.shop-info-summary-card{gap:10px;padding:11px 12px;border-radius:14px;border:1px solid #e5e7eb;background:linear-gradient(180deg,#ffffff 0%,#f8fafc 100%);box-shadow:0 2px 8px rgba(15,23,42,.04);overflow:hidden}
.seller-mall-banner.is-info-banner{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:-11px -12px 2px;padding:7px 12px;background:linear-gradient(90deg,#161823 0%,#2b1220 55%,#e11d48 100%);color:#fef08a;font-size:11.5px;font-weight:750}
.seller-mall-banner.is-info-banner .seller-mall-badge{display:inline-flex;align-items:center;gap:4px;padding:2px 7px;border-radius:5px;background:linear-gradient(135deg,#fde68a 0%,#f59e0b 100%);color:#0f172a;font-weight:900;font-size:10.5px;letter-spacing:.02em;flex-shrink:0}
.seller-mall-banner.is-info-banner .seller-mall-promise{margin:0;padding:0;border:0;background:transparent;color:#e2e8f0;font-size:11px;font-weight:700;text-align:right;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.seller-mall-banner.is-info-banner .seller-mall-promise.is-ok{color:#fde68a}
.shop-info-identity-row{display:grid;grid-template-columns:48px minmax(0,1fr) auto;gap:9px;align-items:flex-start;width:100%;min-width:0}
.shop-info-avatar{width:48px!important;height:48px!important;border-radius:50%!important;border:1.5px solid #fda4af!important;box-shadow:0 2px 6px rgba(15,23,42,.08);flex-shrink:0}
.shop-info-title{margin:0;font-size:15px!important;font-weight:800!important;line-height:1.25;color:#0f172a;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.shop-info-submeta{margin:0;font-size:11.5px;line-height:1.35;color:#475569}
.shop-info-cta-col{display:flex;flex-direction:column;align-items:flex-end;justify-self:end;margin-left:auto;gap:5px;flex-shrink:0}
.shop-info-cta-col .seller-hero-top-actions,.shop-info-cta-col .seller-hero-sub-actions{display:flex;align-items:center;justify-content:flex-end;gap:4px}
.shop-commerce-page .shop-info-cta-col button{margin:0!important;min-height:26px!important;height:26px!important;border-radius:999px!important;white-space:nowrap!important}
.shop-commerce-page .shop-info-cta-col .seller-follow-pill{padding:0 11px!important;border:0!important;background:linear-gradient(135deg,#ff3b5c 0%,#e11d48 100%)!important;color:#fff!important;font-size:11.5px!important;font-weight:800!important;box-shadow:0 2px 6px rgba(225,29,72,.22)!important}
.shop-commerce-page .shop-info-cta-col .seller-follow-pill.is-active{background:#f1f5f9!important;color:#1e293b!important;border:1px solid #cbd5e1!important;box-shadow:none!important}
.shop-commerce-page .shop-info-cta-col .seller-like-icon-btn{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:3px!important;min-width:26px!important;padding:0 6px!important;border:1px solid #fecdd3!important;background:#fff1f2!important;color:#e11d48!important}
.shop-commerce-page .shop-info-cta-col .seller-like-icon-btn.is-active{background:#e11d48!important;border-color:#e11d48!important;color:#fff!important}
.shop-commerce-page .shop-info-cta-col .seller-msg-pill,.shop-commerce-page .shop-info-cta-col .seller-info-pill{min-height:24px!important;height:24px!important;padding:0 9px!important;border:1px solid #e2e8f0!important;background:#fff!important;color:#1e293b!important;font-size:11px!important;font-weight:750!important}
.shop-commerce-page .shop-info-cta-col .seller-info-pill{background:#f8fafc!important;color:#475569!important}
.shop-social-actions.has-external-controls{display:block!important;color:#475569;font-size:12px;padding:6px 0}
.shop-social-actions.has-external-controls[hidden],.shop-social-actions.has-external-controls button[hidden]{display:none!important}
.shop-info-facts{display:grid;gap:4px;margin:2px 0 0;padding:8px 10px;border-radius:10px;background:#fafbfe;border:1px solid #eef0f5;min-width:0}
.shop-info-fact-row{display:grid;grid-template-columns:98px minmax(0,1fr);gap:6px;align-items:baseline;font-size:12px;line-height:1.4;min-width:0}
.shop-info-fact-row dt{color:#64748b;font-weight:700;white-space:nowrap}
.shop-info-fact-row dd{margin:0;color:#0f172a;font-weight:650;min-width:0;overflow-wrap:anywhere}

.shop-info-policy-card{display:grid;gap:10px;padding:11px 12px;border-radius:14px;border:1px solid #e5e7eb;background:#fff;box-shadow:0 2px 8px rgba(15,23,42,.04)}
.shop-policy-card-head{display:flex;align-items:center;justify-content:space-between;gap:8px;padding-bottom:8px;border-bottom:1px solid #eef0f5}
.shop-policy-card-head strong{font-size:14px;font-weight:800;color:#0f172a}
.shop-policy-head-pill{display:inline-flex;align-items:center;padding:3px 9px;border-radius:999px;background:#fff1f2;border:1px solid #fecdd3;color:#be123c;font-size:10.5px;font-weight:800;white-space:nowrap}
.shop-policy-section-grid{display:grid;gap:8px;min-width:0}
.shop-policy-block{display:grid;gap:6px;padding:9px 10px;border-radius:11px;border:1px solid #e5e7eb;background:#fafbfe;min-width:0}
.shop-policy-block.is-intro{border-color:#bae6fd;background:linear-gradient(180deg,#f0f9ff 0%,#ffffff 100%)}
.shop-policy-block.is-hours{border-color:#a7f3d0;background:linear-gradient(180deg,#ecfdf5 0%,#ffffff 100%)}
.shop-policy-block.is-shipping{border-color:#bfdbfe;background:linear-gradient(180deg,#eff6ff 0%,#ffffff 100%)}
.shop-policy-block.is-return{border-color:#fde68a;background:linear-gradient(180deg,#fffbeb 0%,#ffffff 100%)}
.shop-policy-block-head{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;min-width:0}
.shop-policy-title-wrap{display:inline-flex;align-items:center;gap:6px;min-width:0}
.shop-policy-icon{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:7px;background:#fff;box-shadow:0 1px 3px rgba(15,23,42,.06);font-size:13px;flex-shrink:0}
.shop-policy-title{font-size:13px;font-weight:800;color:#0f172a}
.shop-policy-badge{display:inline-flex;align-items:center;padding:2px 8px;border-radius:999px;font-size:10.5px;font-weight:800;background:#f0f9ff;border:1px solid #bae6fd;color:#0369a1;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.shop-policy-block.is-hours .shop-policy-badge{border-color:#a7f3d0;color:#047857;background:#ecfdf5}
.shop-policy-block.is-shipping .shop-policy-badge{border-color:#bfdbfe;color:#1d4ed8;background:#eff6ff}
.shop-policy-block.is-return .shop-policy-badge{border-color:#fde68a;color:#b45309;background:#fffbeb}
.shop-policy-points{list-style:none;margin:0;padding:0;display:grid;gap:6px;min-width:0}
.shop-policy-inline-head{margin-bottom:6px;display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.shop-policy-point{position:relative;padding-left:20px;font-size:12px;line-height:1.48;color:#334155;min-width:0;overflow-wrap:anywhere}
.shop-policy-point + .shop-policy-point{padding-top:5px;border-top:1px dashed #e2e8f0}
.shop-policy-point::before{content:"";position:absolute;left:1px;top:3px;width:13px;height:13px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%230d9488'%3E%3Cpath fill-rule='evenodd' d='M10 18a8 8 0 1 0 0-16 8 8 0 0 0 0 16Zm3.857-9.809a.75.75 0 0 0-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 1 0-1.06 1.061l2.5 2.5a.75.75 0 0 0 1.137-.089l4-5.5Z' clip-rule='evenodd'/%3E%3C/svg%3E") no-repeat center/contain}
.shop-policy-point + .shop-policy-point::before{top:8px}
.shop-policy-block.is-hours .shop-policy-point::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%2310b981'%3E%3Cpath fill-rule='evenodd' d='M10 18a8 8 0 1 0 0-16 8 8 0 0 0 0 16Zm3.857-9.809a.75.75 0 0 0-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 1 0-1.06 1.061l2.5 2.5a.75.75 0 0 0 1.137-.089l4-5.5Z' clip-rule='evenodd'/%3E%3C/svg%3E")}
.shop-policy-block.is-shipping .shop-policy-point::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%230284c7'%3E%3Cpath fill-rule='evenodd' d='M10 18a8 8 0 1 0 0-16 8 8 0 0 0 0 16Zm3.857-9.809a.75.75 0 0 0-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 1 0-1.06 1.061l2.5 2.5a.75.75 0 0 0 1.137-.089l4-5.5Z' clip-rule='evenodd'/%3E%3C/svg%3E")}
.shop-policy-block.is-return .shop-policy-point::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23d97706'%3E%3Cpath fill-rule='evenodd' d='M10 18a8 8 0 1 0 0-16 8 8 0 0 0 0 16Zm3.857-9.809a.75.75 0 0 0-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 1 0-1.06 1.061l2.5 2.5a.75.75 0 0 0 1.137-.089l4-5.5Z' clip-rule='evenodd'/%3E%3C/svg%3E")}
.shop-policy-point-text{font-weight:550}
.shop-policy-point.is-chips-group{display:grid;gap:5px}
.shop-policy-point-lead{font-weight:750;color:#0f172a}
.shop-policy-chips{display:flex;flex-wrap:wrap;gap:5px;min-width:0}
.shop-policy-chip{display:inline-flex;align-items:center;padding:3px 8px;border-radius:7px;background:#fff;border:1px solid #e2e8f0;color:#1e293b;font-size:11px;font-weight:700;line-height:1.25}
.shop-info-policy-line{margin:0;font-size:12px;line-height:1.45;color:#475569}
.shop-info-policy-line strong{color:#0f172a}

/* Shipping Stepper & Role Tag */
.shop-shipping-overview-head{display:grid;gap:6px;margin-bottom:6px;min-width:0}
.shop-role-mode-tag{display:inline-flex;align-items:center;width:fit-content;max-width:100%;padding:3px 9px;border-radius:999px;font-size:11px;font-weight:800;line-height:1.3}
.shop-role-mode-tag.is-seller{background:#eff6ff;color:#1d4ed8;border:1px solid #bfdbfe}
.shop-role-mode-tag.is-buyer{background:#ecfdf5;color:#047857;border:1px solid #a7f3d0}
.shop-shipping-stepper{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;min-width:0}
@media(max-width:359px){.shop-shipping-stepper{grid-template-columns:repeat(2,minmax(0,1fr))}}
.shop-shipping-step{display:flex;align-items:center;justify-content:center;text-align:center;min-height:28px;padding:4px 6px;border-radius:7px;background:#f1f5f9;border:1px solid #e2e8f0;color:#64748b;font-size:11px;font-weight:700;line-height:1.2;overflow-wrap:anywhere}
.shop-shipping-step.is-done{background:#ecfdf5;border-color:#a7f3d0;color:#047857}
.shop-shipping-step.is-current{background:#eff6ff;border-color:#60a5fa;color:#1d4ed8;font-weight:850}

/* Shared 2-Column Hub Cards & Carrier Cards */
.shop-commerce-page .shop-seller-hub-groups{display:grid;gap:10px;margin:6px 0;min-width:0}
.shop-commerce-page .shop-seller-hub-group{display:grid;gap:8px;padding:11px 12px;border:1px solid #e5e7eb;border-radius:14px;background:#fff;box-shadow:0 2px 8px rgba(15,23,42,.04);min-width:0;box-sizing:border-box}
.shop-commerce-page .shop-seller-group-title{font-size:11px;font-weight:800;letter-spacing:.35px;text-transform:uppercase;color:#475569;padding:0 2px}
.shop-commerce-page .shop-seller-hub-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;min-width:0}
@media(max-width:339px){.shop-commerce-page .shop-seller-hub-grid{grid-template-columns:minmax(0,1fr)}}
.shop-commerce-page .shop-seller-hub-btn{display:flex;align-items:center;gap:9px;min-height:56px;margin:0;padding:8px 10px;border:1px solid #e2e8f0;border-radius:11px;background:#fafbfe;color:#0f172a;text-align:left;box-shadow:none;min-width:0}
.shop-commerce-page .shop-seller-hub-btn:hover,.shop-commerce-page .shop-seller-hub-btn:active{background:#fff1f2;border-color:#fda4af}
.shop-commerce-page .shop-seller-hub-icon{display:grid;place-items:center;flex:0 0 32px;width:32px;height:32px;border-radius:9px;background:#e0f2fe;border:1px solid #bae6fd;font-size:15px;line-height:1}
.shop-commerce-page .shop-seller-hub-btn:nth-child(4n+1) .shop-seller-hub-icon{background:#fff1f2;border-color:#fecdd3}
.shop-commerce-page .shop-seller-hub-btn:nth-child(4n+3) .shop-seller-hub-icon{background:#fffbeb;border-color:#fde68a}
.shop-commerce-page .shop-seller-hub-btn:nth-child(4n+4) .shop-seller-hub-icon{background:#f0fdfa;border-color:#99f6e4}
.shop-commerce-page .shop-seller-hub-copy{display:grid;gap:2px;min-width:0;flex:1}
.shop-commerce-page .shop-seller-hub-copy strong{font-size:12.5px;font-weight:800;color:#0f172a;line-height:1.25;overflow-wrap:anywhere}
.shop-commerce-page .shop-seller-hub-copy small{font-size:11px;font-weight:500;color:#64748b;line-height:1.25;overflow-wrap:anywhere}

.shop-carrier-card{display:grid;gap:8px;padding:11px 12px}
.shop-carrier-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;min-width:0}
.shop-carrier-brand{display:flex;align-items:center;gap:9px;min-width:0}
.shop-carrier-logo{display:grid;place-items:center;flex:0 0 36px;width:36px;height:36px;border-radius:10px;background:#eff6ff;border:1px solid #bfdbfe;font-size:18px}
.shop-carrier-brand h2{margin:0;font-size:14.5px;font-weight:800;color:#0f172a;line-height:1.3}
.shop-carrier-brand small{display:block;font-size:11.5px;color:#64748b;font-weight:600}
.shop-carrier-status-pill{display:inline-flex;align-items:center;flex:0 0 auto;padding:3px 9px;border-radius:999px;font-size:11px;font-weight:800;white-space:nowrap}
.shop-carrier-status-pill.is-connected{background:#ecfdf5;color:#047857;border:1px solid #a7f3d0}
.shop-carrier-status-pill.is-saved{background:#fffbeb;color:#b45309;border:1px solid #fde68a}
.shop-carrier-status-pill.is-unconfigured{background:#f1f5f9;color:#64748b;border:1px solid #e2e8f0}
.shop-carrier-facts{margin:0;padding:8px 10px;border-radius:9px;background:#fafbfe;border:1px solid #eef0f5;font-size:12px;color:#334155;line-height:1.45}

/* ==========================================================================
   Multi-Tone 3-Column KPI Grid, Feature Cards, Vouchers & Mall Subpages
   ========================================================================== */
.shop-mall-seal-badge{display:inline-flex;align-items:center;gap:4px;padding:3px 9px;border-radius:999px;background:linear-gradient(135deg,#0f172a 0%,#1e293b 100%);color:#fde68a;border:1px solid #f59e0b;font-size:10.5px;font-weight:850;white-space:nowrap;max-width:100%;overflow:hidden;text-overflow:ellipsis}

.shop-subpage-kpi-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:4px 0;min-width:0;max-width:100%}
@media(max-width:359px){
  .shop-subpage-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .shop-subpage-kpi-grid>:is(.shop-subpage-kpi-tile,.shop-subpage-kpi-card):nth-child(3){grid-column:1/-1}
}
.shop-subpage-kpi-tile,.shop-subpage-kpi-card{display:grid;gap:2px;padding:8px 8px;border-radius:11px;border:1px solid #e2e8f0;background:#f8fafc;min-width:0;text-align:left;box-sizing:border-box}
.shop-subpage-kpi-grid>:is(.shop-subpage-kpi-tile,.shop-subpage-kpi-card):nth-child(3n+1){background:linear-gradient(180deg,#fff1f2 0%,#ffffff 100%);border-color:#fecdd3}
.shop-subpage-kpi-grid>:is(.shop-subpage-kpi-tile,.shop-subpage-kpi-card):nth-child(3n+2){background:linear-gradient(180deg,#eff6ff 0%,#ffffff 100%);border-color:#bfdbfe}
.shop-subpage-kpi-grid>:is(.shop-subpage-kpi-tile,.shop-subpage-kpi-card):nth-child(3n+3){background:linear-gradient(180deg,#fffbeb 0%,#ffffff 100%);border-color:#fde68a}
.shop-subpage-kpi-tile.is-mall,.shop-subpage-kpi-card.is-mall{background:linear-gradient(180deg,#0f172a 0%,#1e293b 100%)!important;border-color:#f59e0b!important;color:#fff}

.shop-subpage-kpi-tile strong,.shop-subpage-kpi-card strong{display:flex;align-items:center;gap:4px;font-size:12.5px;font-weight:800;color:#be123c;line-height:1.22;overflow-wrap:anywhere}
.shop-subpage-kpi-grid>:is(.shop-subpage-kpi-tile,.shop-subpage-kpi-card):nth-child(3n+1) strong::before{content:"";flex:0 0 12px;width:12px;height:12px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23e11d48'%3E%3Cpath fill-rule='evenodd' d='M10 18a8 8 0 1 0 0-16 8 8 0 0 0 0 16Zm3.857-9.809a.75.75 0 0 0-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 1 0-1.06 1.061l2.5 2.5a.75.75 0 0 0 1.137-.089l4-5.5Z' clip-rule='evenodd'/%3E%3C/svg%3E") no-repeat center/contain}
.shop-subpage-kpi-grid>:is(.shop-subpage-kpi-tile,.shop-subpage-kpi-card):nth-child(3n+2) strong{color:#1d4ed8}
.shop-subpage-kpi-grid>:is(.shop-subpage-kpi-tile,.shop-subpage-kpi-card):nth-child(3n+2) strong::before{content:"";flex:0 0 12px;width:12px;height:12px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%232563eb'%3E%3Cpath fill-rule='evenodd' d='M9.661 2.237a.531.531 0 0 1 .678 0 11.947 11.947 0 0 0 7.078 2.749.5.5 0 0 1 .479.425c.069.52.104 1.05.104 1.59 0 5.162-3.26 9.563-7.834 11.256a.48.48 0 0 1-.332 0C5.26 16.564 2 12.163 2 7c0-.538.035-1.069.104-1.589a.5.5 0 0 1 .48-.425 11.947 11.947 0 0 0 7.077-2.749Zm4.196 6.954a.75.75 0 0 0-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 1 0-1.06 1.061l2.5 2.5a.75.75 0 0 0 1.137-.089l4-5.5Z' clip-rule='evenodd'/%3E%3C/svg%3E") no-repeat center/contain}
.shop-subpage-kpi-grid>:is(.shop-subpage-kpi-tile,.shop-subpage-kpi-card):nth-child(3n+3) strong{color:#b45309}
.shop-subpage-kpi-grid>:is(.shop-subpage-kpi-tile,.shop-subpage-kpi-card):nth-child(3n+3) strong::before{content:"";flex:0 0 12px;width:12px;height:12px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23d97706'%3E%3Cpath fill-rule='evenodd' d='M10.868 2.884c-.321-.772-1.415-.772-1.736 0l-1.83 4.401-4.753.381c-.833.067-1.171 1.107-.536 1.651l3.62 3.102-1.106 4.637c-.194.813.691 1.456 1.405 1.02L10 15.591l4.069 2.485c.713.436 1.598-.207 1.404-1.02l-1.106-4.637 3.62-3.102c.635-.544.297-1.584-.536-1.65l-4.752-.382-1.831-4.401Z' clip-rule='evenodd'/%3E%3C/svg%3E") no-repeat center/contain}
.shop-subpage-kpi-tile.is-mall strong,.shop-subpage-kpi-card.is-mall strong{color:#fde68a!important}
.shop-subpage-kpi-tile span,.shop-subpage-kpi-card span{font-size:11px;font-weight:700;color:#1e293b;line-height:1.25;overflow-wrap:anywhere}
.shop-subpage-kpi-tile.is-mall span,.shop-subpage-kpi-card.is-mall span{color:#fff}
.shop-subpage-kpi-tile small,.shop-subpage-kpi-card small{font-size:10px;font-weight:500;color:#64748b;line-height:1.25;overflow-wrap:anywhere}
.shop-subpage-kpi-tile.is-mall small,.shop-subpage-kpi-card.is-mall small{color:#fcd34d}

/* Feature Grid & Cards */
.shop-feature-grid{display:grid;gap:6px;margin:4px 0;min-width:0;max-width:100%}
.shop-feature-card{display:grid;gap:4px;padding:9px 10px;border-radius:11px;border:1px solid #e2e8f0;background:#fafbfe;min-width:0}
.shop-feature-card:nth-child(3n+1){border-color:#fecdd3;background:linear-gradient(180deg,#fff9fa 0%,#ffffff 100%)}
.shop-feature-card:nth-child(3n+2){border-color:#bfdbfe;background:linear-gradient(180deg,#f5f9ff 0%,#ffffff 100%)}
.shop-feature-card:nth-child(3n+3){border-color:#fde68a;background:linear-gradient(180deg,#fffdf5 0%,#ffffff 100%)}
.shop-feature-card-head{display:flex;align-items:center;gap:6px;flex-wrap:wrap;min-width:0}
.shop-feature-ico{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:7px;background:#e0f2fe;border:1px solid #bae6fd;font-size:12.5px;flex-shrink:0}
.shop-feature-card:nth-child(3n+1) .shop-feature-ico{background:#fff1f2;border-color:#fecdd3}
.shop-feature-card:nth-child(3n+3) .shop-feature-ico{background:#fffbeb;border-color:#fde68a}
.shop-feature-card-head strong{font-size:12.5px;font-weight:800;color:#0f172a;flex:1 1 auto;min-width:0;overflow-wrap:anywhere}
.shop-feature-tag{display:inline-flex;align-items:center;padding:2px 7px;border-radius:999px;background:#eff6ff;border:1px solid #bfdbfe;color:#1d4ed8;font-size:10px;font-weight:800;white-space:nowrap}
.shop-feature-card:nth-child(3n+1) .shop-feature-tag{background:#fff1f2;border-color:#fecdd3;color:#be123c}
.shop-feature-card:nth-child(3n+3) .shop-feature-tag{background:#fffbeb;border-color:#fde68a;color:#b45309}
.shop-feature-card p{margin:0;font-size:11.5px;line-height:1.44;color:#475569;overflow-wrap:anywhere}

/* Solid CTA Button */
.shop-solid-cta-btn{background:linear-gradient(135deg,#ff3b5c 0%,#e11d48 100%)!important;color:#fff!important;border:1px solid #e11d48!important;font-weight:800!important;box-shadow:0 2px 6px rgba(225,29,72,.18)!important}
.shop-solid-cta-btn:disabled{opacity:.85;background:#059669!important;box-shadow:none!important}

/* Reward Check-in & Store Balance Cards */
.shop-reward-checkin-box{display:grid;gap:7px;padding:9px 10px;border-radius:12px;background:linear-gradient(180deg,#fffbeb 0%,#fef3c7 100%);border:1px solid #fcd34d;min-width:0}
.shop-reward-checkin-strip{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;min-width:0}
@media(max-width:419px){.shop-reward-checkin-strip{grid-template-columns:repeat(4,minmax(0,1fr))}}
.shop-reward-day-pill{display:grid;gap:1px;padding:5px 3px;border-radius:8px;background:#fff;border:1px solid #fde68a;text-align:center;min-width:0}
.shop-reward-day-pill.is-claimed{background:#ecfdf5;border-color:#6ee7b7}
.shop-reward-day-pill small{font-size:9.5px;font-weight:700;color:#64748b;line-height:1.15}
.shop-reward-day-pill strong{font-size:11px;font-weight:900;color:#d97706;line-height:1.2}
.shop-reward-day-pill.is-claimed strong{color:#047857}
.shop-reward-day-pill span{font-size:9px;font-weight:750;color:#92400e;line-height:1.15}
.shop-reward-day-pill.is-claimed span{color:#059669}

.shop-reward-store-card{display:grid;gap:8px;border:1px solid #fde68a!important;background:linear-gradient(180deg,#fffdf7 0%,#ffffff 100%)!important}
.shop-reward-balance-box{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:6px 10px;padding:8px 11px;border-radius:10px;background:linear-gradient(135deg,#fffbeb 0%,#fef3c7 100%);border:1px solid #fde68a}
.shop-reward-points-badge{font-size:15px;font-weight:900;color:#b45309;line-height:1.2}
.shop-reward-worth-badge{display:inline-flex;align-items:center;padding:3px 9px;border-radius:999px;background:#ffffff;border:1px solid #fcd34d;color:#92400e;font-size:11.5px;font-weight:800}
.shop-reward-note-line{margin:0!important;font-size:12px!important;color:#475569!important;line-height:1.45}

/* Voucher Tickets, Hero & Presets */
.shop-voucher-hero-card{border:1px solid #e5e7eb!important;background:linear-gradient(145deg,#fff5f7 0%,#ffffff 55%,#fffbeb 100%)!important}
.shop-voucher-ticket{padding:11px 12px!important;border:1px solid #99f6e4!important;border-radius:14px!important;background:linear-gradient(90deg,#f0fdfa 0%,#ffffff 38%)!important;box-shadow:0 2px 8px rgba(15,23,42,.04)!important}
.shop-voucher-ticket.is-voucher-flash{border-color:#fecdd3!important;background:linear-gradient(90deg,#fff1f2 0%,#ffffff 38%)!important}
.shop-voucher-ticket.is-voucher-freeship{border-color:#bae6fd!important;background:linear-gradient(90deg,#f0f9ff 0%,#ffffff 38%)!important}
.shop-voucher-ticket.is-voucher-muted{border-color:#e2e8f0!important;background:linear-gradient(90deg,#f8fafc 0%,#ffffff 38%)!important}
.shop-voucher-ticket-row{display:grid;grid-template-columns:88px minmax(0,1fr);gap:11px;align-items:stretch;min-width:0}
@media(max-width:349px){.shop-voucher-ticket-row{grid-template-columns:76px minmax(0,1fr);gap:8px}}
.shop-voucher-stub{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;padding:9px 5px;border-radius:11px;background:linear-gradient(145deg,#0f766e 0%,#0d9488 100%);color:#fff;text-align:center;border-right:2px dashed rgba(255,255,255,.65);min-width:0}
.shop-voucher-ticket.is-voucher-flash .shop-voucher-stub{background:linear-gradient(145deg,#be123c 0%,#e11d48 100%)}
.shop-voucher-ticket.is-voucher-freeship .shop-voucher-stub{background:linear-gradient(145deg,#0369a1 0%,#0284c7 100%)}
.shop-voucher-ticket.is-voucher-muted .shop-voucher-stub{background:linear-gradient(145deg,#475569 0%,#64748b 100%)}
.shop-voucher-stub-tag{font-size:9px;font-weight:900;letter-spacing:.35px;padding:2px 6px;border-radius:4px;background:rgba(255,255,255,.22);color:#fff;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.shop-voucher-stub-value{font-size:16px;font-weight:900;color:#fff;line-height:1.12;overflow-wrap:anywhere}
.shop-voucher-stub small{font-size:10px;font-weight:700;color:#ccfbf1;line-height:1.2;overflow-wrap:anywhere}
.shop-voucher-ticket.is-voucher-flash .shop-voucher-stub small{color:#ffe4e6}
.shop-voucher-ticket.is-voucher-freeship .shop-voucher-stub small{color:#e0f2fe}
.shop-voucher-ticket.is-voucher-muted .shop-voucher-stub small{color:#e2e8f0}
.shop-voucher-main{display:grid;gap:5px;min-width:0}
.shop-voucher-top-line{display:flex;align-items:center;justify-content:space-between;gap:6px;flex-wrap:wrap;min-width:0}
.shop-voucher-code-title{margin:0!important;display:inline-flex;align-items:center;gap:5px;padding:3px 9px;border-radius:7px;background:#0f172a;color:#5eead4!important;border:1px solid #0d9488;font-size:13px!important;font-weight:900!important;letter-spacing:.4px;line-height:1.25}
.shop-voucher-ticket.is-voucher-flash .shop-voucher-code-title{background:#881337;color:#ffe4e6!important;border-color:#fb7185}
.shop-voucher-ticket.is-voucher-freeship .shop-voucher-code-title{background:#0c4a6e;color:#bae6fd!important;border-color:#38bdf8}
.shop-voucher-ticket.is-voucher-muted .shop-voucher-code-title{background:#334155;color:#e2e8f0!important;border-color:#94a3b8}
.shop-voucher-status-pill{display:inline-flex;align-items:center;gap:4px;padding:2px 9px;border-radius:999px;font-size:11px;font-weight:800;background:#ecfdf5;color:#047857;border:1px solid #a7f3d0;white-space:nowrap}
.shop-voucher-status-pill::before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor}
.shop-voucher-status-pill.is-paused,.shop-voucher-status-pill.is-upcoming{background:#fffbeb;color:#b45309;border-color:#fde68a}
.shop-voucher-status-pill.is-expired,.shop-voucher-status-pill.is-exhausted{background:#f1f5f9;color:#64748b;border-color:#e2e8f0}
.shop-voucher-shop-pill{display:inline-flex;align-items:center;padding:2px 8px;border-radius:999px;background:#fff1f2;border:1px solid #fecdd3;color:#be123c;font-size:11px;font-weight:800;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.shop-voucher-condition-line{margin:1px 0!important;font-size:12.5px!important;font-weight:750!important;color:#0f172a!important;line-height:1.38}
.shop-voucher-progress-track{width:100%;height:6px;border-radius:999px;background:#e2e8f0;overflow:hidden;margin:1px 0}
.shop-voucher-progress-fill{display:block;height:100%;min-width:6px;border-radius:999px;background:linear-gradient(90deg,#0d9488 0%,#14b8a6 100%)}
.shop-voucher-ticket.is-voucher-flash .shop-voucher-progress-fill{background:linear-gradient(90deg,#e11d48 0%,#fb7185 100%)}
.shop-voucher-ticket.is-voucher-freeship .shop-voucher-progress-fill{background:linear-gradient(90deg,#0284c7 0%,#38bdf8 100%)}
.shop-voucher-ticket.is-voucher-muted .shop-voucher-progress-fill{background:#94a3b8}
.shop-voucher-meta-row{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:4px 8px;min-width:0}
.shop-voucher-expiry-line{display:block;font-size:11px!important;font-weight:650!important;color:#64748b!important;line-height:1.3}
.shop-voucher-remaining-pill{padding:2px 8px;border-radius:999px;background:#fffbeb;border:1px solid #fde68a;color:#b45309;font-size:10.5px;font-weight:800;white-space:nowrap}
.shop-voucher-preset-row{display:grid;gap:6px;padding:9px 10px;border-radius:10px;border:1px dashed #cbd5e1;background:#f8fafc;min-width:0}
.shop-voucher-preset-info{display:grid;gap:2px;min-width:0}
.shop-voucher-preset-code{display:inline-flex;width:fit-content;max-width:100%;padding:2px 7px;border-radius:5px;background:#0f172a;color:#5eead4;font-size:10px;font-weight:850}

/* Mall Contract & Showcase Cards */
.shop-mall-contract-card{border:1px solid #fde68a!important;background:linear-gradient(180deg,#fffbeb 0%,#ffffff 100%)!important}
.shop-mall-verified-store-card{border:1px solid #fde68a!important;background:linear-gradient(180deg,#fffdf5 0%,#ffffff 100%)!important}
.shop-mall-store-head{display:flex;align-items:center;justify-content:space-between;gap:6px;flex-wrap:wrap;padding-bottom:5px;border-bottom:1px dashed #fde68a;min-width:0}
.shop-mall-seal{display:inline-flex;align-items:center;gap:4px;padding:3px 8px;border-radius:6px;background:linear-gradient(135deg,#0f172a 0%,#1e293b 100%);color:#fde68a;font-size:10px;font-weight:900;letter-spacing:.2px;max-width:100%;overflow-wrap:anywhere}
.shop-mall-contract-code{font-size:10.5px;font-weight:800;color:#92400e;background:#fef3c7;padding:2px 6px;border-radius:5px}
.shop-mall-product-seal-row{display:flex;align-items:center;gap:5px;flex-wrap:wrap;margin-bottom:3px;min-width:0}
.shop-mall-product-seal{display:inline-flex;align-items:center;padding:2px 7px;border-radius:5px;background:#0f172a;color:#fde68a;font-size:10px;font-weight:850;line-height:1.25}
.shop-mall-product-subseal{display:inline-flex;align-items:center;padding:2px 6px;border-radius:5px;background:#ecfdf5;border:1px solid #a7f3d0;color:#047857;font-size:10px;font-weight:750;line-height:1.25}
.shop-paylater-card{border:1px solid #bfdbfe!important;background:linear-gradient(180deg,#eff6ff 0%,#ffffff 100%)!important}
.shop-viet-showcase-card{border:1px solid #99f6e4!important;background:linear-gradient(180deg,#f0fdfa 0%,#ffffff 100%)!important}

/* Forms inside Subpage Body */
.shop-commerce-form{display:grid;gap:10px;background:#fff;padding:11px 12px;border:1px solid #e5e7eb;border-radius:14px;margin:5px 0;min-width:0;box-shadow:0 2px 8px rgba(15,23,42,.04);box-sizing:border-box}
.shop-commerce-card .shop-commerce-form{padding:10px;margin:6px 0 0;background:#fafbfe;border:1px solid #eef0f5;border-radius:11px;box-shadow:none}
.shop-showcase-product-card{display:grid;gap:6px;border:1px solid #e5e7eb;background:linear-gradient(180deg,#ffffff 0%,#fafbfe 100%)}
.shop-showcase-discount-pill{display:inline-flex;align-items:center;padding:2px 7px;border-radius:5px;background:#e11d48;color:#fff;font-size:10px;font-weight:850;line-height:1.25}
.shop-paylater-shop-card{display:grid;gap:6px;border:1px solid #bfdbfe;background:linear-gradient(180deg,#eff6ff 0%,#ffffff 100%)}
.shop-help-cards-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:5px 0;min-width:0}
@media(max-width:359px){.shop-help-cards-grid{grid-template-columns:minmax(0,1fr)}}
.shop-help-cards-grid .shop-commerce-card{margin:0;display:flex;flex-direction:column;justify-content:space-between;gap:6px}
.shop-help-cards-grid .shop-commerce-card:nth-child(4n+1){border-color:#fecdd3;background:linear-gradient(180deg,#fff9fa 0%,#ffffff 100%)}
.shop-help-cards-grid .shop-commerce-card:nth-child(4n+2){border-color:#bae6fd;background:linear-gradient(180deg,#f5f9ff 0%,#ffffff 100%)}
.shop-help-cards-grid .shop-commerce-card:nth-child(4n+3){border-color:#fde68a;background:linear-gradient(180deg,#fffdf5 0%,#ffffff 100%)}
.shop-help-cards-grid .shop-commerce-card:nth-child(4n+4){border-color:#ddd6fe;background:linear-gradient(180deg,#faf8ff 0%,#ffffff 100%)}
.shop-help-cards-grid .shop-commerce-card button{width:100%;margin:4px 0 0;min-height:36px;padding:6px 10px;text-align:center}

/* ==========================================================================
   Mobile Viewport Framing: Full-Width Outer Box + Soft Harmonious Single Border
   ========================================================================== */
@media (max-width:699px), (hover:none) and (pointer:coarse){
  .shop-commerce-page>.shop-commerce-body{min-width:0;max-width:none;margin-inline:0;padding:6px 0 calc(28px + env(safe-area-inset-bottom,0px))}
  html.native-mobile .shop-commerce-page>.shop-commerce-body{padding-bottom:calc(28px + max(env(safe-area-inset-bottom,0px),var(--mobile-safe-bottom,48px)))}
  .shop-commerce-body>:is(.shop-commerce-card,.shop-seller-hero-card,.shop-commerce-form,.shop-commerce-menu,.shop-seller-center-menu,.shop-commerce-overview,.shop-seller-center-intro,.shop-seller-connection-state){
    min-width:0;
    max-width:none;
    width:100%;
    margin:5px 0;
    margin-inline:0;
    border:1px solid #e5e7eb;
    border-radius:14px;
    box-shadow:0 2px 8px rgba(15,23,42,.04);
    box-sizing:border-box;
  }
  .shop-commerce-body>:is(.shop-seller-hero-card,.shop-seller-center-intro,.shop-commerce-overview,.shop-info-summary-card){
    border:1px solid #e5e7eb;
    box-shadow:0 2px 8px rgba(15,23,42,.04);
  }
  .shop-commerce-body>.shop-commerce-order-card{
    border:1px solid #e5e7eb;
    border-left:3px solid #cbd5e1;
    box-shadow:0 2px 8px rgba(15,23,42,.04);
  }
  .shop-commerce-body>.shop-commerce-order-card[data-order-status="pending"]{
    border-color:#e5e7eb;
    border-left:3px solid #f59e0b;
    box-shadow:0 2px 8px rgba(15,23,42,.04);
  }
  .shop-commerce-body>.shop-commerce-order-card[data-order-status="accepted"],
  .shop-commerce-body>.shop-commerce-order-card[data-order-status="shipped"]{
    border-color:#e5e7eb;
    border-left:3px solid #0284c7;
    box-shadow:0 2px 8px rgba(15,23,42,.04);
  }
  .shop-commerce-body>.shop-commerce-order-card[data-order-status="completed"]{
    border-color:#e5e7eb;
    border-left:3px solid #10b981;
    box-shadow:0 2px 8px rgba(15,23,42,.04);
  }
  .shop-commerce-body>.shop-commerce-order-card[data-order-status="cancelled"]{
    border-color:#e5e7eb;
    border-left:3px solid #94a3b8;
    box-shadow:0 2px 8px rgba(15,23,42,.04);
  }
  .shop-commerce-card,.shop-seller-hero-card,.shop-commerce-body>.shop-commerce-form,.shop-commerce-overview,.shop-orders-overview-card,.shop-commerce-order-card,.shop-seller-center-intro,.shop-seller-connection-state,.shop-commerce-page .shop-seller-hub-group,.shop-carrier-card,.shop-info-summary-card,.shop-info-policy-card{
    padding:11px 12px;
  }
  .seller-mall-banner.is-info-banner{margin-left:-12px;margin-right:-12px;padding-left:12px;padding-right:12px}
  .shop-policy-block{padding:9px 9px}
  .shop-notification-filters,.shop-notification-tools,.shop-notification-summary,.shop-commerce-filter,.shop-commerce-menu.is-pill-strip{padding-left:10px;padding-right:10px}
}
.shop-phone-inline-status{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;margin-top:6px;padding:8px 10px;border-radius:10px;font-size:.78rem;font-weight:750;line-height:1.4;box-sizing:border-box;max-width:100%}
.shop-phone-inline-status.is-verified{background:#ecfdf5;border:1px solid #6ee7b7;color:#065f46}
.shop-phone-inline-status.is-unverified{background:#fff7ed;border:1px solid #fdba74;color:#c2410c}
.shop-phone-inline-status.is-neutral{background:#f0f9ff;border:1px solid #bae6fd;color:#0369a1}
.shop-address-head-badges{display:inline-flex;align-items:center;gap:6px;flex-wrap:wrap}
.shop-product-promo-status{display:flex;flex-direction:column;align-items:flex-start;gap:4px;max-width:100%}
.shop-promo-status-pill{display:inline-flex;align-items:center;padding:2px 8px;border-radius:6px;font-size:.73rem;font-weight:800;background:#fff1f2;border:1px solid #fecdd3;color:#be123c}
.shop-promo-status-pill.is-stock{background:#ecfdf5;border-color:#a7f3d0;color:#047857}
.shop-promo-status-line{font-size:.72rem;font-weight:700;color:#334155;line-height:1.3}
.shop-phone-verify-panel{display:flex;flex-direction:column;gap:10px;padding:12px;background:#f8fafc;border:1px solid #93c5fd;border-radius:10px;box-sizing:border-box;max-width:100%}
.shop-phone-verify-panel[hidden],.shop-phone-otp-step[hidden],.shop-phone-verify-grid label[hidden]{display:none!important}
.shop-phone-verify-grid{display:grid;grid-template-columns:1fr;gap:8px}
.shop-phone-verify-actions,.shop-phone-otp-step{display:flex;flex-wrap:wrap;gap:8px;align-items:center}

/* Finance outcomes remain readable in both cards and desktop spreadsheet cells. */
.shop-commerce-page [data-finance-action="saving"]{background:#e8f2fc!important;color:#174f82!important;border-color:#9cbfdf!important;opacity:1!important}
.shop-commerce-page [data-finance-action="success"],.shop-commerce-page [data-finance-tone="success"]{background:#e6f5ec!important;color:#14623c!important;border-color:#9ed5b3!important;opacity:1!important}
.shop-commerce-page [data-finance-action="error"],.shop-commerce-page [data-finance-tone="error"]{background:#fff0ed!important;color:#9b3025!important;border-color:#e5ada3!important;opacity:1!important}
.shop-commerce-page [data-finance-tone="pending"]{background:#fff6df!important;color:#785200!important;border-color:#dcc68b!important}
.shop-commerce-page [data-finance-tone="active"]{background:#057a88!important;color:white!important;border-color:#057a88!important}
.shop-finance-feedback{white-space:normal;overflow-wrap:anywhere;margin:8px 0;padding:8px;border-radius:6px;font-size:13px;line-height:1.5}
.shop-finance-tabs [hidden]{display:none!important}

.shop-report-actions{min-width:0}.shop-report-decision{min-width:0;display:grid;gap:8px}.shop-report-decision p,.shop-report-decision label{grid-column:1/-1;white-space:normal}.shop-report-decision textarea{box-sizing:border-box;width:100%;min-width:0}.shop-report-actions [hidden]{display:none!important}
.shop-popup-campaign-form[hidden]{display:none!important}
.shop-popup-editing-notice{display:grid;gap:3px;padding:10px 12px;border-radius:10px;background:#f0f9ff;border:1px solid #bae6fd;color:#0c4a6e}
.shop-popup-editing-notice strong{font-size:13px;font-weight:800;color:#0369a1}
.shop-popup-editing-notice p{margin:0;font-size:12px;color:#334155;line-height:1.42}
.shop-popup-form-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px;min-width:0}
.shop-bank-accounts-manager,.shop-bank-staff-section{display:grid;gap:8px;min-width:0}
.shop-bank-section-bar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;padding-bottom:6px;border-bottom:1px solid #e2e8f0;min-width:0}
.shop-bank-section-title{display:flex;align-items:center;flex-wrap:wrap;gap:6px;min-width:0}
.shop-bank-section-bar h3,.shop-bank-section-bar strong{margin:0;font-size:13.5px;font-weight:800;color:#0f172a}
.shop-bank-accounts-list{display:grid;gap:8px;min-width:0}
.shop-bank-account-item{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px 12px;padding:10px 12px;border:1.5px solid #cbd5e1;border-radius:10px;background:#f8fafc;min-width:0;box-sizing:border-box}
.shop-bank-account-item.is-default{border-color:#0d9488;background:linear-gradient(135deg,#f0fdfa 0%,#ffffff 100%)}
.shop-bank-account-item.is-editing{box-shadow:0 0 0 2px rgba(2,132,199,.18);border-color:#0284c7}
.shop-bank-account-info{display:grid;gap:3px;min-width:0;flex:1 1 200px}
.shop-bank-account-title-line{display:flex;align-items:center;flex-wrap:wrap;gap:6px;min-width:0}
.shop-bank-account-title-line strong{font-size:13.5px;font-weight:800;color:#0f172a}
.shop-bank-default-pill{display:inline-flex;align-items:center;padding:2px 8px;border-radius:999px;font-size:11px;font-weight:800;background:#0d9488;color:#fff}
.shop-bank-sub-pill{display:inline-flex;align-items:center;padding:2px 8px;border-radius:999px;font-size:11px;font-weight:700;background:#e2e8f0;color:#475569}
.shop-bank-editing-pill{display:inline-flex;align-items:center;padding:2px 8px;border-radius:999px;font-size:11px;font-weight:750;background:#e0f2fe;color:#0369a1;border:1px solid #bae6fd}
.shop-bank-account-detail-line{display:flex;align-items:center;flex-wrap:wrap;gap:6px;font-size:12.5px;color:#334155;font-weight:600}
.shop-bank-acc-num{font-variant-numeric:tabular-nums;font-weight:750;color:#0f172a}
.shop-bank-account-actions{display:flex;align-items:center;flex-wrap:wrap;gap:6px}
.shop-bank-active-indicator{display:inline-flex;align-items:center;padding:4px 10px;border-radius:7px;font-size:11.5px;font-weight:800;background:#ecfdf5;color:#047857;border:1px solid #a7f3d0}
.shop-bank-top-checks-row{display:flex;align-items:center;flex-wrap:wrap;gap:10px 18px;padding:8px 12px;border-radius:8px;background:#f8fafc;border:1px solid #e2e8f0}
.shop-bank-check-label{display:inline-flex!important;align-items:center;gap:7px;margin:0;cursor:pointer;font-size:12.5px;font-weight:700;color:#1e293b}
.shop-bank-check-label input[type="checkbox"]{margin:0!important;width:16px;height:16px;flex:0 0 16px}
.shop-bank-editor-quick-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.shop-bank-staff-grid{display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px}
.shop-bank-staff-chip{padding:6px 12px;border-radius:8px;background:#f8fafc;border:1px solid #cbd5e1}
.shop-bank-empty-note{margin:0;font-size:12px;color:#64748b}

.shop-care-panel[hidden]{display:none!important}.shop-care-rule{min-width:0;grid-column:1/-1;border:1px solid #cbd5e1;border-radius:8px;padding:12px;display:grid;gap:8px}.shop-care-rule textarea{box-sizing:border-box;width:100%;min-width:0}.shop-care-panel p{white-space:pre-wrap;overflow-wrap:anywhere}.shop-care-panel input[type=checkbox]{width:auto}

.shop-care-rule[hidden]{display:none!important}

.shop-commerce-page .shop-report-decision{padding:8px;margin-top:8px;text-align:left;gap:6px}.shop-commerce-page .shop-report-decision p{margin:0;line-height:1.45}.shop-commerce-page .shop-report-decision .shop-finance-feedback{margin:2px 0}.shop-commerce-page .shop-report-decision label{gap:5px}

/* Policy center shares page width; only its tab strip scrolls on phones. */
.shop-policy-center .shop-admin-tabs{min-width:0}
.shop-policy-center .shop-admin-tabs-nav{display:flex;gap:6px;overflow-x:auto;margin:8px 0;padding-bottom:6px}
.shop-policy-center .shop-admin-tabs-nav button{flex:0 0 auto;white-space:nowrap}
.shop-policy-center .shop-admin-tabs-nav [aria-selected="true"]{background:#087f8c;color:#fff;border-color:#087f8c}
.shop-policy-center .shop-admin-tab-panel[hidden]{display:none!important}

.shop-warehouse-promotion{min-width:0;max-width:100%;white-space:normal}.shop-warehouse-promotion summary{cursor:pointer;font-weight:600}.shop-warehouse-promotion-content{display:flex;flex-direction:column;gap:6px;min-width:0;overflow-wrap:anywhere}.shop-warehouse-promotion-content p{margin:4px 0}.shop-warehouse-promotion-content button{white-space:normal}
.shop-commerce-order-tabs button{display:inline-flex;align-items:center;gap:5px}
.order-tab-count-badge{display:inline-flex;align-items:center;justify-content:center;min-width:18px;height:18px;padding:0 5px;border-radius:999px;font-size:.68rem;font-weight:800;line-height:1;background:rgba(225,29,72,.12);color:#be123c}
.shop-commerce-order-tabs button[aria-pressed="true"] .order-tab-count-badge{background:rgba(255,255,255,.24);color:#fff}

/* Shared Chat Tools & Shop Conversation Tools Subpages (.chat-tools-page, .shop-conversation-tools) */
.chat-tools-page{position:fixed;inset:0;z-index:10001;display:flex;flex-direction:column;width:100%;max-width:100%;box-sizing:border-box;background:#ffffff;color:#0f172a;font-size:15px;overflow:hidden}
.chat-tools-page.hidden{display:none!important}
.chat-tools-page>header{flex:0 0 auto;display:grid;grid-template-columns:40px minmax(0,1fr) 40px;align-items:center;gap:8px;min-height:calc(48px + env(safe-area-inset-top,0px));padding:calc(4px + env(safe-area-inset-top,0px)) 10px 4px;background:linear-gradient(125deg,#0d6e6e 0%,#0f766e 48%,#0284c7 100%);color:#ffffff;box-shadow:0 2px 10px rgba(15,23,42,.12);box-sizing:border-box}
.chat-tools-page>header>strong{text-align:center;font-size:16.5px;font-weight:750;color:#ffffff;letter-spacing:-.01em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.chat-tools-page>header>button{display:inline-grid;place-items:center;width:36px;height:36px;min-width:36px;min-height:36px;padding:0;border:0;border-radius:50%;background:transparent;color:#ffffff;box-shadow:none;cursor:pointer}
.chat-tools-page>header>button .mobile-back-icon{display:block;width:10px;height:10px;border-left:2.2px solid currentColor;border-bottom:2.2px solid currentColor;transform:rotate(45deg);margin-left:3px}
.chat-tools-scroll{flex:1 1 auto;min-height:0;width:100%;max-width:100%;min-width:0;box-sizing:border-box;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;padding:12px 14px calc(28px + env(safe-area-inset-bottom,0px))}
.chat-tools-scroll:has(> .chat-tools-row):not(:has(> :not(.chat-tools-row))){padding-inline:0;padding-top:4px}
.chat-tools-scroll:has(> :not(.chat-tools-row)){display:flex;flex-direction:column;gap:14px;padding:12px 14px calc(28px + env(safe-area-inset-bottom,0px))!important}
.chat-tools-scroll>:is(form,label,p,article,div,button,input,textarea,select),.chat-tools-scroll form>:is(label,p,div,button,input,textarea,select){box-sizing:border-box;max-width:100%;min-width:0;margin-inline:0}
.chat-tools-row{display:grid;width:100%;max-width:100%;box-sizing:border-box;grid-template-columns:36px minmax(0,1fr) 18px;align-items:center;gap:12px;min-height:58px;padding:10px 14px;border:0;border-bottom:1px solid #e2e8f0;background:#ffffff;color:#0f172a;text-align:left;text-decoration:none;cursor:pointer}
.chat-tools-row:not(:has(> .chat-tools-row-icon)){grid-template-columns:minmax(0,1fr) auto!important}
.chat-tools-scroll:has(> :not(.chat-tools-row))>.chat-tools-row,.chat-tools-item .chat-tools-row{padding:10px 12px;border:1px solid #dbe4ee;border-radius:12px;background:#f8fafc}
.chat-tools-row>span:not(.chat-tools-row-icon){display:flex;flex-direction:column;gap:2px;min-width:0}
.chat-tools-row strong{font-size:15px;font-weight:700;color:#0b1324;line-height:1.32;overflow-wrap:anywhere;white-space:normal}
.chat-tools-row small{font-size:12.5px;font-weight:560;color:#334155;line-height:1.38;overflow-wrap:anywhere;white-space:normal}
.chat-tools-row>:is(i,b){color:#64748b;font-size:19px;font-style:normal;font-weight:600;line-height:1;justify-self:end}
.chat-tools-row-icon{display:grid;place-items:center;width:36px;height:36px;flex:0 0 36px;border-radius:10px;border:1px solid #bae6fd;background:#f0f9ff;color:#0284c7;font-size:16px;font-weight:700}
.chat-tools-row-icon svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2.05;stroke-linecap:round;stroke-linejoin:round}
.chat-tools-row-icon.is-tone-sky{background:#f0f9ff;border-color:#bae6fd;color:#0284c7}
.chat-tools-row-icon.is-tone-amber{background:#fffbeb;border-color:#fde68a;color:#d97706}
.chat-tools-row-icon.is-tone-violet{background:#f5f3ff;border-color:#ddd6fe;color:#6d28d9}
.chat-tools-row-icon.is-tone-rose{background:#fff1f2;border-color:#fecdd3;color:#e11d48}
.chat-tools-row-icon.is-tone-teal{background:#f0fdfa;border-color:#99f6e4;color:#0f766e}
.chat-tools-row-icon.is-tone-pink{background:#fdf2f8;border-color:#fbcfe8;color:#db2777}
.chat-tools-row-icon.is-tone-indigo{background:#eef2ff;border-color:#c7d2fe;color:#4f46e5}
.chat-tools-row-icon.is-tone-emerald{background:#ecfdf5;border-color:#a7f3d0;color:#047857}
.chat-tools-page form{display:grid;gap:14px;width:100%;min-width:0;box-sizing:border-box}
.chat-tools-page form label{display:grid;gap:6px;font-size:14px;font-weight:700;color:#0f5257;min-width:0}
.chat-tools-page input:not([type=checkbox]):not([type=radio]),.chat-tools-page textarea{width:100%;min-width:0;box-sizing:border-box;padding:11px 12px;border:1.5px solid #a7c6d9;border-radius:10px;font:inherit;font-size:14.5px;line-height:1.45;color:#0f172a;background:#ffffff}
.chat-tools-page form .chat-tools-check{display:flex;align-items:center;gap:10px;font-size:14.5px;font-weight:700;color:#0f5257;cursor:pointer}
.chat-tools-check input{width:20px;height:20px;flex:0 0 20px;margin:0;accent-color:#0f766e}
.chat-tools-hint{margin:0;font-size:13.5px;font-weight:500;line-height:1.48;color:#475569;overflow-wrap:anywhere}
.chat-tools-page .primary-button{min-height:44px;padding:10px 16px;border:1px solid #0f766e;border-radius:11px;background:linear-gradient(135deg,#0d9488 0%,#0f766e 100%);color:#ffffff;font:inherit;font-size:14.5px;font-weight:750;cursor:pointer}
.chat-tools-item{border-bottom:1px solid #e2e8f0;padding:12px 0;overflow-wrap:anywhere}
.chat-tools-item p{margin:4px 0;white-space:pre-wrap;overflow-wrap:anywhere}
.chat-tools-item small{display:block;margin:4px 0;font-size:12.5px;color:#475569}
