:root{--green:#087c30;--green2:#149342;--dark:#12351d;--muted:#718078;--line:#e2ebe1;--soft:#f4f8f2;--cream:#f7faed;--danger:#bd2e2e;--shadow:0 12px 35px rgba(26,67,35,.09)}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,"Noto Sans Khmer","Khmer OS Battambang",Arial,sans-serif;color:#17291c;background:#fff;line-height:1.55}a{text-decoration:none;color:inherit}img{max-width:100%;display:block}button,input,select,textarea{font:inherit}.container{width:min(1420px,calc(100% - 48px));margin:auto}.site-header{position:sticky;top:0;background:rgba(255,255,255,.96);backdrop-filter:blur(14px);border-bottom:1px solid #eef3ed;z-index:50}.nav-wrap{min-height:82px;display:flex;align-items:center;gap:24px}.brand{display:flex;align-items:center;gap:10px;min-width:max-content}.brand-mark{width:46px;height:46px;border:3px solid var(--green);border-radius:13px;color:var(--green);display:grid;place-items:center;font-size:25px;font-weight:900}.brand b{display:block;color:var(--green);font-size:20px}.brand small{display:block;font-size:10px;color:#4f6653}.header-search{flex:1;display:flex;border:1px solid #dfe8df;border-radius:14px;overflow:hidden;max-width:620px;margin-left:auto}.header-search input{border:0;outline:0;padding:13px 16px;flex:1;min-width:120px}.header-search button{border:0;background:var(--green);color:#fff;width:58px;font-size:23px}.main-nav{display:flex;align-items:center;gap:18px;font-weight:700;font-size:14px}.main-nav a:hover{color:var(--green)}.main-nav em{font-style:normal;background:#e22323;color:#fff;border-radius:20px;font-size:10px;padding:2px 6px}.nav-cta{border:1px solid var(--green);padding:9px 13px;border-radius:11px;color:var(--green)}.nav-toggle{display:none;border:0;background:none;font-size:24px}.user-menu{position:relative}.user-menu>button{border:0;background:var(--soft);padding:10px 13px;border-radius:12px;font-weight:700}.user-menu>div{display:none;position:absolute;right:0;top:48px;width:210px;background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow);padding:8px}.user-menu.open>div{display:grid}.user-menu>div a,.user-menu>div button{display:block;width:100%;padding:10px 12px;border:0;background:none;text-align:left;border-radius:9px}.user-menu>div a:hover,.user-menu>div button:hover{background:var(--soft)}.flash{width:min(1420px,calc(100% - 48px));margin:14px auto;padding:13px 16px;border-radius:12px;font-weight:700}.flash.success{background:#e8f8ed;color:#087c30;border:1px solid #c8edcf}.flash.error{background:#fff0ef;color:#a42323;border:1px solid #ffd3cf}.hero{padding:28px 0 18px}.hero-inner{min-height:510px;border-radius:24px;background:radial-gradient(circle at 35% 40%,#dff3a7,transparent 40%),linear-gradient(100deg,#f5fbec 0%,#e9f4d7 54%,#dcebd4 100%);display:grid;grid-template-columns:1.05fr 1fr;overflow:hidden;position:relative}.hero-copy{padding:58px 30px 50px 58px;z-index:2}.eyebrow{display:inline-flex;color:var(--green);font-weight:800;font-size:13px;letter-spacing:.3px}.hero h1{font-size:clamp(40px,5vw,72px);line-height:1.15;margin:15px 0;color:#0e401f}.hero h1 strong{color:var(--green)}.hero-copy>p{font-size:18px;max-width:610px;color:#45604a}.hero-actions{display:flex;gap:12px;margin:30px 0}.btn{display:inline-flex;align-items:center;justify-content:center;border:1px solid transparent;border-radius:12px;padding:12px 19px;font-weight:800;cursor:pointer}.btn.primary{background:var(--green);color:#fff}.btn.primary:hover{background:#056527}.btn.ghost{background:#fff;color:#203425;border-color:#dae6d8}.btn.wide{width:100%}.btn.small{padding:8px 12px;font-size:13px}.trust-row{display:flex;flex-wrap:wrap;gap:18px;font-size:12px;font-weight:700;color:#35573d}.hero-visual{position:relative;height:100%}.hero-visual>img{width:100%;height:100%;object-fit:cover;object-position:center}.hero-visual:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#eaf5d9 0%,transparent 40%)}.hero-badge{position:absolute;right:24px;bottom:24px;background:#fff;border-radius:16px;padding:14px 18px;box-shadow:var(--shadow)}.hero-badge b{display:block;color:var(--green);font-size:24px}.hero-badge span{font-size:12px}.category-strip{display:grid;grid-template-columns:repeat(7,1fr);gap:12px;padding:16px 0 8px}.category-strip>a{min-height:92px;border:1px solid var(--line);border-radius:16px;display:flex;align-items:center;justify-content:center;gap:10px;padding:12px;background:#fff;transition:.2s}.category-strip>a:hover{transform:translateY(-3px);box-shadow:var(--shadow);border-color:#b6d9bb}.category-strip span{font-size:32px}.category-strip b{display:block;font-size:13px}.category-strip small{color:var(--muted);font-size:10px}.category-strip .all{flex-direction:column;color:var(--green)}.section{padding-top:42px;padding-bottom:42px}.section-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:22px}.section-head h1,.section-head h2{margin:3px 0;font-size:28px;color:#17351e}.section-head>a{color:var(--green);font-weight:800}.product-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:18px}.product-grid.four{grid-template-columns:repeat(4,1fr)}.product-card{border:1px solid var(--line);border-radius:17px;overflow:hidden;background:#fff;transition:.25s}.product-card:hover{transform:translateY(-4px);box-shadow:var(--shadow)}.product-image{display:block;height:210px;position:relative;overflow:hidden;background:#eff5ed}.product-image img{width:100%;height:100%;object-fit:cover;transition:.3s}.product-card:hover .product-image img{transform:scale(1.04)}.product-image>span{position:absolute;left:10px;bottom:10px;background:var(--green);color:#fff;font-size:10px;padding:4px 9px;border-radius:8px}.product-info{padding:14px}.product-info h3{font-size:15px;margin:0 0 8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.price b{font-size:17px}.price small{color:var(--muted)}.product-info>p{font-size:11px;color:var(--muted);margin:7px 0}.card-bottom{display:flex;justify-content:space-between;align-items:center;font-size:11px}.card-bottom>span{color:#8a6a00}.card-bottom button{width:34px;height:34px;border:0;border-radius:9px;background:var(--green);color:#fff;cursor:pointer}.service-bar{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid var(--line);border-radius:17px;margin-top:20px;margin-bottom:55px;background:linear-gradient(90deg,#f9fcf6,#f3f9ef)}.service-bar>div{display:flex;align-items:center;gap:13px;padding:20px;border-right:1px solid var(--line)}.service-bar>div:last-child{border:0}.service-bar i{font-style:normal;font-size:28px;color:var(--green)}.service-bar b,.service-bar small{display:block}.service-bar small{color:var(--muted);font-size:11px}.page-hero{background:linear-gradient(120deg,#f1f8e8,#fbfdf7);padding:52px 0;border-bottom:1px solid var(--line)}.page-hero h1{font-size:38px;margin:8px 0 22px}.catalog-search{display:grid;grid-template-columns:1fr 240px auto;gap:10px;max-width:900px}.catalog-search input,.catalog-search select,.form-grid input,.form-grid select,.form-grid textarea,.auth-card input,.profile-panel input,.inline-form select,.panel select,.panel input,.panel textarea{border:1px solid #dbe6da;border-radius:11px;padding:12px 13px;background:#fff;outline:none}.catalog-search input:focus,.form-grid input:focus,.form-grid textarea:focus,.auth-card input:focus{border-color:var(--green);box-shadow:0 0 0 4px #0b853315}.pagination{display:flex;justify-content:center;gap:7px;margin-top:30px}.pagination a{width:38px;height:38px;border:1px solid var(--line);border-radius:10px;display:grid;place-items:center}.pagination a.active{background:var(--green);color:#fff}.empty-state{text-align:center;border:1px dashed #cddccb;border-radius:20px;padding:60px 20px;background:var(--soft)}.empty-state b{font-size:22px;display:block}.empty-state p{color:var(--muted)}.product-detail{display:grid;grid-template-columns:1fr 1fr;gap:55px}.detail-image{border-radius:24px;overflow:hidden;background:var(--soft);max-height:620px}.detail-image img{width:100%;height:100%;object-fit:cover}.detail-info{padding:20px 0}.detail-info h1{font-size:42px;line-height:1.25;margin:10px 0}.detail-rating{color:#7d6a16}.detail-price{font-size:35px;font-weight:900;color:var(--green);margin:20px 0}.detail-price small{font-size:15px;color:var(--muted)}.detail-info>p{color:#526258}.seller-chip{display:flex;align-items:center;gap:11px;background:var(--soft);padding:12px;border-radius:13px;margin:22px 0}.seller-chip>span{width:40px;height:40px;border-radius:50%;background:var(--green);color:#fff;display:grid;place-items:center}.seller-chip small,.seller-chip b{display:block}.add-cart-form{display:flex;align-items:end;gap:10px}.add-cart-form label{font-size:12px}.add-cart-form input{display:block;width:95px;border:1px solid var(--line);padding:11px;border-radius:10px}.auth-page{min-height:70vh;display:grid;place-items:center;padding:50px 20px;background:radial-gradient(circle at 20% 20%,#e3f1bc,transparent 30%),#f7faf5}.auth-card{width:min(460px,100%);background:#fff;border:1px solid var(--line);border-radius:24px;padding:34px;box-shadow:var(--shadow);text-align:center}.auth-icon{width:58px;height:58px;background:#e5f5e8;color:var(--green);border-radius:17px;display:grid;place-items:center;margin:auto;font-size:25px;font-weight:900}.auth-card h1{margin:15px 0 4px}.auth-card>p{color:var(--muted)}.auth-card form{display:grid;gap:14px;text-align:left;margin:24px 0}.auth-card label,.form-grid label,.profile-panel label,.form-panel label{display:grid;gap:7px;font-size:12px;font-weight:800}.cart-layout,.checkout-layout{display:grid;grid-template-columns:1fr 370px;gap:28px;align-items:start}.cart-list,.panel,.order-summary{border:1px solid var(--line);border-radius:18px;background:#fff;padding:20px}.cart-item{display:flex;align-items:center;gap:15px;padding:14px 0;border-bottom:1px solid #edf2ec}.cart-item img{width:80px;height:70px;object-fit:cover;border-radius:12px}.cart-item .grow{flex:1}.cart-item h3{margin:0}.cart-item p{margin:4px 0;color:var(--muted);font-size:12px}.cart-item input{width:70px;border:1px solid var(--line);border-radius:9px;padding:8px}.order-summary{position:sticky;top:105px}.order-summary h3{margin-top:0}.order-summary>div{display:flex;justify-content:space-between;margin:12px 0}.order-summary>p{color:var(--muted);font-size:12px}.order-summary .total{font-size:18px}.checkout-form{display:grid;gap:18px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.form-grid .full{grid-column:1/-1}.form-grid textarea{min-height:100px;resize:vertical}.payment-option{display:flex;gap:12px;padding:15px;border:1px solid var(--line);border-radius:12px;margin-top:10px}.payment-option small,.payment-option b{display:block}.payment-option small{color:var(--muted)}.mini-item{display:grid!important;grid-template-columns:45px 1fr auto!important;align-items:center;gap:8px}.mini-item img{width:45px;height:42px;border-radius:8px;object-fit:cover}.narrow{max-width:1050px}.order-list{display:grid;gap:10px}.order-list>a{display:grid;grid-template-columns:1fr auto auto;gap:20px;align-items:center;border:1px solid var(--line);border-radius:14px;padding:17px}.order-list small{display:block;color:var(--muted)}.status{display:inline-flex;padding:5px 9px;border-radius:20px;background:#eef2ee;font-size:11px;font-weight:800;text-transform:capitalize}.status.published,.status.completed,.status.active,.status.paid{background:#e2f6e7;color:#087c30}.status.pending,.status.processing,.status.confirmed{background:#fff5d8;color:#8b6500}.status.rejected,.status.cancelled,.status.suspended{background:#ffe8e6;color:#b12323}.status.shipped{background:#e4efff;color:#1d5aa7}.order-detail-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:18px}.line-item{display:flex;justify-content:space-between;padding:9px 0}.line-item.total{font-size:18px}.timeline{margin-top:18px}.timeline>div{display:flex;gap:12px;padding:10px}.timeline i{width:12px;height:12px;background:var(--green);border-radius:50%;margin-top:6px}.timeline small,.timeline b{display:block}.timeline small{color:var(--muted)}.profile-panel{display:grid;grid-template-columns:130px 1fr;gap:25px}.profile-avatar{width:110px;height:110px;border-radius:50%;background:var(--green);color:#fff;display:grid;place-items:center;font-size:42px;overflow:hidden}.profile-avatar img{width:100%;height:100%;object-fit:cover}.profile-panel form{display:grid;gap:12px}.site-footer{background:#12351d;color:#dce8df;padding:50px 0 18px;margin-top:30px}.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:50px}.brand.light b,.brand.light .brand-mark{color:#fff;border-color:#fff}.footer-grid>div>a:not(.brand){display:block;color:#c4d5c8;margin:8px 0}.footer-grid h4{color:#fff}.footer-grid p{color:#b6c9bb}.footer-bottom{border-top:1px solid #31533a;margin-top:35px;padding-top:16px;font-size:12px;color:#9fb4a4}
/* dashboard */.dashboard-body{background:#f5f7f5}.dashboard-shell{display:grid;grid-template-columns:260px 1fr;min-height:100vh}.dash-sidebar{background:#102f1a;color:#dbe8dd;padding:22px 16px;position:sticky;top:0;height:100vh}.dash-logo{display:flex;align-items:center;gap:10px;padding:5px 8px 25px;font-size:18px}.dash-logo span{width:38px;height:38px;border-radius:11px;background:#fff;color:var(--green);display:grid;place-items:center}.dash-sidebar nav{display:grid;gap:4px}.dash-sidebar nav small{font-size:10px;color:#73917a;margin:18px 10px 6px}.dash-sidebar nav a{padding:11px 12px;border-radius:10px;font-size:13px}.dash-sidebar nav a:hover,.dash-sidebar nav a.active{background:#1d4b2b;color:#fff}.dash-main{min-width:0}.dash-top{height:83px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;padding:0 28px;gap:15px;position:sticky;top:0;z-index:20}.dash-top h1{font-size:20px;margin:0}.dash-top p{margin:1px 0;color:var(--muted);font-size:11px}.dash-user{margin-left:auto;display:flex;align-items:center;gap:10px;font-weight:700}.avatar{width:38px;height:38px;border-radius:50%;background:var(--green);color:#fff;display:grid;place-items:center}.icon-btn{border:0;background:#edf4ed;border-radius:10px;width:38px;height:38px;display:none}.dash-content{padding:25px}.dash-content>.flash{width:auto;margin:0 0 14px}.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:18px}.stat-card{background:#fff;border:1px solid var(--line);border-radius:16px;padding:20px;min-height:125px}.stat-card span,.stat-card small{display:block;color:var(--muted)}.stat-card b{display:block;font-size:27px;margin:8px 0}.stat-card.accent{background:linear-gradient(135deg,#087c30,#15a446);color:#fff;border:0}.stat-card.accent span,.stat-card.accent small{color:#d4f1dd}.panel{margin-bottom:18px}.panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:15px}.panel-head h2,.panel h2{font-size:17px;margin:0}.quick-actions{display:flex;gap:10px;flex-wrap:wrap}.quick-actions a{padding:13px 15px;background:var(--soft);border-radius:11px;font-weight:700}.quick-actions.vertical{display:grid}.dashboard-grid{display:grid;grid-template-columns:2fr 1fr;gap:18px}.simple-chart{height:260px;display:flex;align-items:end;gap:14px;border-bottom:1px solid var(--line);padding:15px}.simple-chart>div{flex:1;height:100%;display:flex;flex-direction:column;justify-content:end;align-items:center;gap:7px}.simple-chart span{width:min(42px,70%);background:linear-gradient(#16a047,#087c30);border-radius:8px 8px 2px 2px}.simple-chart small{font-size:10px;color:var(--muted)}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;min-width:760px}th,td{text-align:left;padding:12px;border-bottom:1px solid #edf2ec;font-size:12px;vertical-align:middle}th{color:var(--muted);font-size:10px;text-transform:uppercase}td small{display:block;color:var(--muted)}.table-product{display:flex;align-items:center;gap:10px}.table-product img{width:48px;height:44px;object-fit:cover;border-radius:9px}.inline-form{display:flex;gap:6px}.inline-form select{padding:7px}.inline-form button,.table-btn,.category-admin-list button{border:0;background:var(--green);color:#fff;border-radius:8px;padding:7px 9px}.form-panel{max-width:1000px}.check{display:flex!important;grid-auto-flow:column;justify-content:start;align-items:center}.check input{width:auto}.category-admin-list{display:grid;gap:8px}.category-admin-list form{display:grid;grid-template-columns:65px 1fr 75px 100px 80px auto;gap:7px;align-items:center}.category-admin-list input{min-width:0}
@media(max-width:1200px){.product-grid{grid-template-columns:repeat(4,1fr)}.category-strip{grid-template-columns:repeat(4,1fr)}.category-strip .all{display:none}.main-nav{gap:10px}.header-search{max-width:400px}}@media(max-width:900px){.container{width:min(100% - 28px,1420px)}.nav-toggle{display:block;margin-left:auto}.header-search{order:3;width:100%;max-width:none}.nav-wrap{flex-wrap:wrap;padding:12px 0}.main-nav{display:none;width:100%;align-items:stretch;flex-direction:column;padding:10px 0}.main-nav.open{display:flex}.hero-inner{grid-template-columns:1fr;min-height:auto}.hero-copy{padding:40px 28px}.hero-visual{height:380px}.product-grid,.product-grid.four{grid-template-columns:repeat(3,1fr)}.service-bar{grid-template-columns:1fr 1fr}.service-bar>div:nth-child(2){border-right:0}.product-detail{grid-template-columns:1fr}.cart-layout,.checkout-layout{grid-template-columns:1fr}.order-summary{position:static}.dashboard-shell{grid-template-columns:1fr}.dash-sidebar{position:fixed;z-index:40;left:-280px;width:260px;transition:.25s}.dash-sidebar.open{left:0}.icon-btn{display:block}.stats-grid{grid-template-columns:1fr 1fr}.dashboard-grid{grid-template-columns:1fr}.category-admin-list form{grid-template-columns:50px 1fr 65px auto}.category-admin-list form small,.category-admin-list form .check{display:none!important}}@media(max-width:620px){.container{width:min(100% - 20px,1420px)}.brand b{font-size:17px}.header-search{display:none}.hero{padding-top:10px}.hero-inner{border-radius:17px}.hero-copy{padding:28px 20px}.hero h1{font-size:38px}.hero-copy>p{font-size:15px}.hero-visual{height:290px}.hero-actions{flex-direction:column}.trust-row{display:none}.category-strip{grid-template-columns:repeat(3,1fr);overflow:hidden}.category-strip>a{min-height:80px;flex-direction:column;text-align:center}.category-strip small{display:none}.product-grid,.product-grid.four{grid-template-columns:repeat(2,1fr);gap:10px}.product-image{height:160px}.product-info{padding:10px}.section{padding-top:28px;padding-bottom:28px}.section-head h1,.section-head h2{font-size:22px}.service-bar{grid-template-columns:1fr}.service-bar>div{border-right:0;border-bottom:1px solid var(--line)}.catalog-search{grid-template-columns:1fr}.page-hero h1{font-size:29px}.detail-info h1{font-size:29px}.form-grid{grid-template-columns:1fr}.form-grid .full{grid-column:auto}.cart-item{display:grid;grid-template-columns:65px 1fr auto}.cart-item img{width:65px;height:60px}.cart-item input{grid-column:2}.order-list>a{grid-template-columns:1fr auto}.order-list>a strong{grid-column:1/-1}.order-detail-grid,.profile-panel{grid-template-columns:1fr}.footer-grid{grid-template-columns:1fr;gap:20px}.dash-content{padding:14px}.stats-grid{grid-template-columns:1fr}.dash-top{padding:0 14px}.dash-user>span{display:none}.panel{padding:14px}.product-card h3{font-size:13px}.price b{font-size:15px}.category-admin-list form{grid-template-columns:45px 1fr auto}.category-admin-list form input:nth-of-type(3){display:none}}

/* bilingual language switch */
.language-switch{display:inline-flex;align-items:center;gap:3px;padding:3px;border:1px solid var(--line);border-radius:10px;background:#fff;white-space:nowrap}.language-switch a{padding:5px 8px;border-radius:7px;font-size:11px;font-weight:800;color:#607266}.language-switch a.active{background:var(--green);color:#fff}.language-switch.compact{margin-left:auto}.dash-user{margin-left:0}.compact-empty{padding:28px 16px}.compact-empty b{font-size:16px}@media(max-width:900px){.main-nav .language-switch{align-self:flex-start}.language-switch.compact{margin-left:auto}}@media(max-width:620px){.dash-top .language-switch a{padding:4px 6px}.dash-top .language-switch{margin-left:auto}.main-nav .language-switch{width:max-content}}

/* Phoumika Portal UI v4.2.0 — adapted from the supplied design package */
:root{--portal-green:#197744;--portal-green-2:#2f9556;--portal-dark:#113f2b;--portal-dark-2:#184d36;--portal-bg:#f7f9f6;--portal-card:#fff;--portal-line:#e1e9df;--portal-muted:#718079;--portal-shadow:0 10px 30px rgba(23,62,36,.08)}
.portal-body{background:var(--portal-bg);color:#1c2e22;min-height:100vh}.portal-topbar{height:72px;background:#fff;border-bottom:1px solid var(--portal-line);display:flex;align-items:center;gap:24px;padding:0 28px;position:sticky;top:0;z-index:80}.portal-brand{display:flex;align-items:center;gap:10px;min-width:215px}.portal-brand-mark{width:44px;height:44px;border-radius:13px;background:linear-gradient(135deg,#1b8b4d,#90bf3e);display:grid;place-items:center;color:#fff;font-size:24px;box-shadow:0 7px 18px rgba(31,124,68,.2)}.portal-brand b{display:block;color:#146d3d;font-size:19px;line-height:1.2}.portal-brand small{display:block;color:#6f7f73;font-size:9px}.portal-menu-button{display:none;border:0;background:#edf5ef;color:var(--portal-green);width:40px;height:40px;border-radius:11px;font-size:21px}.portal-search{width:min(610px,48vw);height:43px;border:1px solid #dce6da;border-radius:13px;background:#f4f7f2;display:flex;align-items:center;gap:9px;padding:0 14px}.portal-search span{color:#718278}.portal-search input{flex:1;border:0;outline:0;background:transparent;min-width:0}.portal-top-actions{margin-left:auto;display:flex;align-items:center;gap:10px}.portal-action{height:42px;border-radius:11px;padding:0 14px;display:inline-flex;align-items:center;gap:7px;font-weight:800;font-size:13px;white-space:nowrap}.portal-action.soft{background:#ecf6ef;color:#195f39}.portal-action.cart{background:#f4f7f2;position:relative}.portal-action.cart em{font-style:normal;min-width:19px;height:19px;padding:0 5px;border-radius:999px;background:#db2f2f;color:#fff;display:grid;place-items:center;font-size:9px;position:absolute;right:-5px;top:-6px}.portal-action.login{background:var(--portal-green);color:#fff}.portal-language{border-color:#dbe6dc}.portal-user-menu>button{display:flex;align-items:center;gap:7px;padding:5px 9px 5px 5px!important;background:#f5f7f4!important}.portal-avatar{width:33px;height:33px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,#1e8a4d,#8fbd45);color:#fff}.portal-overlay{display:none}.portal-shell{display:grid;grid-template-columns:245px minmax(0,1fr);min-height:calc(100vh - 72px)}.portal-sidebar{background:var(--portal-dark);color:#dce9e1;position:sticky;top:72px;height:calc(100vh - 72px);overflow:auto;padding:22px 17px;z-index:60}.portal-sidebar nav{display:grid;gap:3px}.portal-sidebar nav small{color:#86a291;font-size:10px;letter-spacing:.9px;margin:18px 10px 7px;text-transform:uppercase}.portal-sidebar nav small:first-child{margin-top:4px}.portal-sidebar nav a{display:flex;align-items:center;gap:11px;padding:11px 12px;border-radius:10px;font-size:13px;transition:.18s}.portal-sidebar nav a:hover,.portal-sidebar nav a.active{background:var(--portal-dark-2);color:#fff;transform:translateX(2px)}.portal-main{min-width:0;display:flex;flex-direction:column}.portal-content{width:100%;padding:24px 28px 36px}.portal-content>.flash{width:100%;margin:0 0 15px}.portal-content .container{width:100%;max-width:none}.portal-footer{margin-top:auto;border-top:1px solid var(--portal-line);padding:18px 28px;color:#7a887e;font-size:11px;background:#fff}.portal-page-title{display:flex;justify-content:space-between;align-items:end;margin:0 0 18px}.portal-page-title span{color:var(--portal-green);font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.7px}.portal-page-title h1{font-size:25px;margin:3px 0 0}.portal-page-title small{color:var(--portal-muted)}
.portal-hero{min-height:330px;border-radius:23px;overflow:hidden;background:linear-gradient(115deg,#164d30 0%,#2f8e4b 55%,#87b93d 100%);color:#fff;display:grid;grid-template-columns:1.05fr .95fr;box-shadow:var(--portal-shadow)}.portal-hero-copy{padding:43px 34px 37px}.portal-pill{display:inline-flex;align-items:center;width:max-content;border-radius:999px;background:#eaf6ed;color:#197143;padding:6px 11px;font-size:10px;font-weight:900}.portal-pill.small{padding:4px 8px}.portal-hero h1{font-size:clamp(31px,4vw,49px);line-height:1.25;margin:14px 0 9px;max-width:710px;color:#fff}.portal-hero p{max-width:610px;color:#e5f0e8;font-size:15px}.portal-hero-actions{display:flex;gap:10px;margin:23px 0 20px}.btn.portal-white{background:#fff;color:#1a6d3d;border-color:#fff}.portal-trust-row{display:flex;gap:18px;flex-wrap:wrap;font-size:11px;color:#e5f0e8}.portal-hero-art{position:relative;min-height:330px}.portal-hero-art:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#2f8e4b 0%,transparent 36%);z-index:1}.portal-hero-art img{width:100%;height:100%;object-fit:cover}.portal-hero-stat{position:absolute;right:18px;bottom:18px;background:#fff;color:#173d27;border-radius:14px;padding:10px 14px;z-index:2;box-shadow:var(--portal-shadow)}.portal-hero-stat b{display:block;color:var(--portal-green);font-size:20px}.portal-hero-stat span{font-size:10px}.portal-section{padding:30px 0 0}.portal-section.no-top-padding{padding-top:0}.portal-section-head{display:flex;align-items:end;justify-content:space-between;gap:18px;margin-bottom:14px}.portal-section-head span{font-size:10px;color:var(--portal-green);font-weight:900;text-transform:uppercase;letter-spacing:.8px}.portal-section-head h2{margin:2px 0 0;font-size:22px}.portal-section-head>a{font-size:12px;color:var(--portal-green);font-weight:900}.portal-category-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.portal-category-grid>a{background:#fff;border:1px solid var(--portal-line);border-radius:16px;min-height:116px;padding:16px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;transition:.2s}.portal-category-grid>a:hover{transform:translateY(-3px);box-shadow:var(--portal-shadow);border-color:#a8cfb1}.portal-category-grid span{font-size:35px}.portal-category-grid b{font-size:13px;margin-top:8px}.portal-category-grid small{color:var(--portal-muted);font-size:10px}.portal-product-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.portal-content .product-card{border-radius:16px;box-shadow:0 4px 18px rgba(24,64,38,.04)}.portal-content .product-image{height:180px}.portal-store-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.portal-store-card{background:#fff;border:1px solid var(--portal-line);border-radius:18px;overflow:hidden;box-shadow:0 4px 18px rgba(24,64,38,.04)}.portal-store-cover{height:115px;background:linear-gradient(135deg,#dff1d7,#b6d99f);display:grid;place-items:center;font-size:55px}.portal-store-body{padding:0 17px 18px;position:relative}.portal-store-avatar{width:47px;height:47px;border-radius:50%;background:var(--portal-green);color:#fff;border:4px solid #fff;display:grid;place-items:center;font-weight:900;font-size:18px;margin-top:-24px}.portal-store-body h3{margin:8px 0 4px}.portal-store-body p{margin:0 0 12px;color:var(--portal-muted);font-size:11px}.portal-store-meta{display:flex;justify-content:space-between;color:#577061;font-size:10px;margin:0 0 12px}.portal-service-grid{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid var(--portal-line);border-radius:16px;background:#fff;margin-top:30px;overflow:hidden}.portal-service-grid>div{display:flex;align-items:center;gap:12px;padding:18px;border-right:1px solid var(--portal-line)}.portal-service-grid>div:last-child{border-right:0}.portal-service-grid i{font-style:normal;font-size:26px}.portal-service-grid b,.portal-service-grid small{display:block}.portal-service-grid b{font-size:12px}.portal-service-grid small{color:var(--portal-muted);font-size:9px}.portal-page-banner{border-radius:21px;background:linear-gradient(120deg,#174d31,#449c50 65%,#90bd46);color:#fff;padding:39px 34px;min-height:190px;display:flex;flex-direction:column;justify-content:center}.portal-page-banner.compact{min-height:160px}.portal-page-banner h1{margin:10px 0 5px;font-size:34px}.portal-page-banner p{margin:0;color:#e7f1e9;max-width:700px}.portal-store-header{background:#fff;border:1px solid var(--portal-line);border-radius:19px;padding:23px;display:flex;align-items:center;gap:18px}.portal-store-logo{width:75px;height:75px;border-radius:17px;background:linear-gradient(135deg,#1b8a4d,#88b842);color:#fff;display:grid;place-items:center;font-size:30px;font-weight:900}.portal-store-header h1{margin:7px 0 1px}.portal-store-header p{margin:0;color:var(--portal-muted)}.portal-table-panel{padding:18px}.portal-live{font-size:10px;color:#168342;font-weight:900}.price-up{color:#168342}.portal-news-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.portal-news-card{background:#fff;border:1px solid var(--portal-line);border-radius:17px;overflow:hidden}.portal-news-image{height:145px;background:linear-gradient(135deg,#e9f5e1,#cbe4b8);display:grid;place-items:center;font-size:65px}.portal-news-card>div:last-child{padding:17px}.portal-news-card h3{font-size:16px;margin:10px 0 7px}.portal-news-card p{font-size:12px;color:#596b60}.portal-news-card small{font-size:9px;color:var(--portal-muted)}
.portal-chat-shell{background:#fff;border:1px solid var(--portal-line);border-radius:18px;display:grid;grid-template-columns:280px 1fr;min-height:650px;overflow:hidden}.portal-chat-list{border-right:1px solid var(--portal-line);padding:18px}.portal-chat-list h2{font-size:18px;margin:0 0 16px}.portal-chat-contact{display:flex;align-items:center;gap:10px;padding:11px;border-radius:12px;margin-bottom:6px}.portal-chat-contact.active{background:#eaf5ed}.portal-chat-contact>span{width:38px;height:38px;border-radius:50%;background:#fff;display:grid;place-items:center}.portal-chat-contact b,.portal-chat-contact small{display:block}.portal-chat-contact small{color:var(--portal-muted);font-size:9px}.portal-chat-main{display:flex;flex-direction:column;min-width:0}.portal-chat-main>header{height:64px;border-bottom:1px solid var(--portal-line);display:flex;align-items:center;justify-content:space-between;padding:0 18px}.portal-chat-main>header b,.portal-chat-main>header small{display:block}.portal-chat-main>header small{color:#178141;font-size:9px}.portal-messages{flex:1;background:#f7faf6;padding:23px;overflow:auto}.portal-bubble{max-width:68%;width:max-content;border-radius:15px 15px 15px 4px;background:#fff;padding:11px 13px;margin-bottom:10px;box-shadow:0 4px 13px rgba(25,60,38,.06)}.portal-bubble.me{margin-left:auto;background:#dff2e4;border-radius:15px 15px 4px 15px}.portal-bubble p{margin:0}.portal-bubble small{display:block;color:var(--portal-muted);font-size:8px;margin-top:4px}.portal-chat-form{display:flex;gap:9px;padding:13px;border-top:1px solid var(--portal-line)}.portal-chat-form input{flex:1;border:1px solid #dae4d8;border-radius:11px;padding:11px 13px;outline:0}.portal-api-grid{display:grid;grid-template-columns:220px 1fr;gap:17px}.portal-api-nav{display:flex;flex-direction:column;gap:9px;align-self:start;position:sticky;top:95px}.portal-api-nav a{padding:8px;border-radius:8px;background:#f3f7f2;font-size:11px}.portal-api-content h2{margin:23px 0 10px}.portal-api-content h2:first-child{margin-top:0}.portal-api-content pre{background:#112f1e;color:#dff1e5;padding:16px;border-radius:12px;overflow:auto}.portal-endpoint{display:grid;grid-template-columns:55px minmax(180px,1fr) 1fr;gap:10px;align-items:center;border:1px solid var(--portal-line);border-radius:11px;padding:10px;margin:8px 0}.portal-endpoint span{font-size:9px;font-weight:900;text-align:center;padding:5px;border-radius:6px}.portal-endpoint .get{background:#e1f3e7;color:#08733b}.portal-endpoint .post{background:#e4edff;color:#215ca5}.portal-endpoint p{margin:0;color:var(--portal-muted);font-size:11px}.portal-stats{margin-bottom:17px}.portal-table-panel table{min-width:720px}.portal-content .section{padding:20px 0}.portal-content .page-hero{border-radius:19px;border:1px solid var(--portal-line);padding:34px 26px;background:linear-gradient(120deg,#edf7e7,#fff)}.portal-content .auth-page{min-height:calc(100vh - 160px);border-radius:20px}.portal-content .site-footer{display:none}.dashboard-surface{background:#f4f7f3}.dashboard-content{padding-top:20px}.dashboard-content .stats-grid{grid-template-columns:repeat(4,1fr)}.dashboard-content .panel{box-shadow:0 4px 18px rgba(24,64,38,.04)}.dashboard-content .table-btn{color:#fff}.grow{flex:1}
@media(max-width:1280px){.portal-action span{display:none}.portal-brand{min-width:190px}.portal-search{width:min(520px,42vw)}.portal-product-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:1000px){.portal-menu-button{display:grid;place-items:center}.portal-brand{min-width:auto}.portal-brand small{display:none}.portal-shell{grid-template-columns:1fr}.portal-sidebar{position:fixed;left:-270px;top:72px;width:245px;transition:left .24s;box-shadow:14px 0 30px rgba(12,38,23,.18)}.portal-body.portal-nav-open .portal-sidebar{left:0}.portal-body.portal-nav-open .portal-overlay{display:block;position:fixed;inset:72px 0 0;background:rgba(9,30,17,.42);z-index:55}.portal-content{padding:19px}.portal-search{width:min(520px,50vw)}.portal-category-grid{grid-template-columns:repeat(3,1fr)}.portal-store-grid,.portal-news-grid{grid-template-columns:repeat(2,1fr)}.portal-service-grid{grid-template-columns:repeat(2,1fr)}.portal-service-grid>div:nth-child(2){border-right:0}.dashboard-content .stats-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:720px){.portal-topbar{height:auto;min-height:66px;padding:10px 13px;gap:9px;flex-wrap:wrap}.portal-brand{order:1}.portal-menu-button{order:0}.portal-top-actions{order:2;margin-left:auto}.portal-search{order:3;width:100%;height:40px}.portal-shell{min-height:calc(100vh - 116px)}.portal-sidebar{top:116px;height:calc(100vh - 116px)}.portal-body.portal-nav-open .portal-overlay{inset:116px 0 0}.portal-language{display:none}.portal-action.soft{display:none}.portal-user-menu>button>span:nth-child(2){display:none}.portal-content{padding:13px}.portal-hero{grid-template-columns:1fr;min-height:auto}.portal-hero-copy{padding:27px 21px}.portal-hero h1{font-size:31px}.portal-hero-art{height:260px;min-height:0}.portal-hero-art:before{background:linear-gradient(180deg,#2f8e4b 0%,transparent 34%)}.portal-trust-row{display:none}.portal-category-grid{grid-template-columns:repeat(2,1fr);gap:9px}.portal-product-grid{grid-template-columns:repeat(2,1fr);gap:9px}.portal-content .product-image{height:150px}.portal-store-grid,.portal-news-grid{grid-template-columns:1fr}.portal-service-grid{grid-template-columns:1fr}.portal-service-grid>div{border-right:0;border-bottom:1px solid var(--portal-line)}.portal-store-header{align-items:flex-start;flex-wrap:wrap}.portal-store-header .btn{width:100%}.portal-page-banner{padding:27px 20px}.portal-page-banner h1{font-size:27px}.portal-chat-shell{grid-template-columns:1fr;min-height:590px}.portal-chat-list{display:none}.portal-api-grid{grid-template-columns:1fr}.portal-api-nav{position:static}.portal-endpoint{grid-template-columns:55px 1fr}.portal-endpoint p{grid-column:1/-1}.dashboard-content .stats-grid{grid-template-columns:1fr}.portal-page-title{align-items:start}.portal-page-title small{display:none}}
@media(max-width:430px){.portal-brand b{font-size:15px}.portal-brand-mark{width:37px;height:37px}.portal-action{padding:0 10px}.portal-hero-actions{flex-direction:column}.portal-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.portal-content .product-info{padding:9px}.portal-content .product-info>p{display:none}.portal-content .product-card h3{font-size:12px}.portal-content .product-image{height:135px}}

/* v4.2.1 — Product categories and My products */
.category-page-banner{display:flex;align-items:center;justify-content:space-between;gap:24px}.category-page-banner>div{max-width:760px}.category-page-banner p{max-width:720px;color:var(--portal-muted);margin:7px 0 0}.portal-category-directory{padding:22px 0 34px}.category-directory-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.category-directory-card{display:grid;grid-template-columns:150px 1fr;min-height:150px;border:1px solid var(--portal-line);border-radius:17px;background:#fff;overflow:hidden;transition:transform .2s,box-shadow .2s,border-color .2s}.category-directory-card:hover{transform:translateY(-3px);box-shadow:0 14px 32px rgba(25,72,39,.09);border-color:#acd2b5}.category-directory-image{position:relative;min-height:150px;background:#edf4eb;overflow:hidden}.category-directory-image img{width:100%;height:100%;object-fit:cover}.category-directory-image:after{content:"";position:absolute;inset:0;background:linear-gradient(135deg,rgba(8,74,36,.04),rgba(8,74,36,.22))}.category-directory-image span{position:absolute;z-index:1;left:12px;bottom:12px;width:42px;height:42px;display:grid;place-items:center;border-radius:12px;background:#fff;font-size:22px;box-shadow:0 8px 22px rgba(10,49,25,.16)}.category-directory-body{padding:18px;display:flex;flex-direction:column;justify-content:center}.category-directory-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.category-directory-heading h2{font-size:18px;margin:0;color:#17351e}.category-directory-heading b{width:31px;height:31px;border-radius:9px;display:grid;place-items:center;background:#e9f5eb;color:var(--green)}.category-directory-body>p{margin:7px 0 16px;color:var(--portal-muted);font-size:12px}.category-directory-meta{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;font-size:10px;font-weight:800;color:#42604a}.category-directory-meta span:last-child{color:var(--green)}
.seller-product-toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:17px}.seller-product-toolbar>div:first-child>span{font-size:10px;text-transform:uppercase;letter-spacing:.8px;font-weight:900;color:var(--green)}.seller-product-toolbar h2{margin:3px 0;font-size:25px}.seller-product-toolbar p{margin:0;color:var(--portal-muted);font-size:12px}.seller-product-actions{display:flex;gap:9px;flex-wrap:wrap}.product-manager-stats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin-bottom:16px}.product-manager-stat{min-height:83px;display:flex;align-items:center;gap:12px;padding:13px;border:1px solid var(--portal-line);border-radius:14px;background:#fff;transition:.2s}.product-manager-stat:hover,.product-manager-stat.active{border-color:#9dcaab;box-shadow:0 8px 20px rgba(24,66,36,.06)}.product-manager-stat.active{background:#f0f8f1}.product-manager-stat>span{width:39px;height:39px;display:grid;place-items:center;border-radius:11px;background:#edf6ee;font-size:18px}.product-manager-stat b,.product-manager-stat small{display:block}.product-manager-stat b{font-size:19px}.product-manager-stat small{color:var(--portal-muted);font-size:9px}.product-manager-panel{padding:0;overflow:hidden}.product-manager-filter{display:flex;align-items:center;gap:9px;padding:14px;border-bottom:1px solid var(--portal-line);background:#fbfdfb}.product-manager-filter select{min-width:165px}.product-manager-search{display:flex;align-items:center;gap:7px;flex:1;min-width:220px;border:1px solid #dbe6da;border-radius:11px;padding:0 11px;background:#fff}.product-manager-search span{color:var(--portal-muted);font-size:18px}.product-manager-search input{width:100%;border:0!important;box-shadow:none!important;padding:11px 0!important;background:transparent!important;outline:0}.product-manager-table th,.product-manager-table td{vertical-align:middle}.product-manager-product img{width:52px;height:52px;object-fit:cover}.category-table-link{display:inline-flex;padding:5px 8px;border-radius:8px;background:#eff6ef;color:#23603a;font-size:10px;font-weight:800}.stock-pill{display:inline-flex;padding:5px 8px;border-radius:8px;background:#edf6ef;color:#22603a;font-size:10px;font-weight:800}.stock-pill.low{background:#fff0e7;color:#a04b15}.table-action{display:inline-flex;align-items:center;gap:4px;padding:6px 9px;border-radius:8px;background:#eef4ff;color:#285f9f;font-size:10px;font-weight:800}.product-manager-empty{margin:20px}.product-manager-empty>span{font-size:42px;display:block;margin-bottom:8px}
@media(max-width:1100px){.category-directory-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.product-manager-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.product-manager-filter{flex-wrap:wrap}.product-manager-search{flex-basis:100%}}
@media(max-width:720px){.category-page-banner{align-items:flex-start;flex-direction:column}.category-page-banner .btn{width:100%}.category-directory-grid{grid-template-columns:1fr}.category-directory-card{grid-template-columns:115px 1fr}.category-directory-image{min-height:135px}.seller-product-toolbar{align-items:flex-start;flex-direction:column}.seller-product-actions{width:100%}.seller-product-actions .btn{flex:1}.product-manager-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.product-manager-filter select,.product-manager-filter .btn{flex:1;min-width:0}.product-manager-table{min-width:760px}}
@media(max-width:430px){.category-directory-card{grid-template-columns:95px 1fr}.category-directory-body{padding:13px}.category-directory-heading h2{font-size:15px}.category-directory-meta{display:grid}.product-manager-stats{grid-template-columns:1fr 1fr}.product-manager-stat{min-height:74px;padding:10px}.seller-product-actions{display:grid;grid-template-columns:1fr}.product-manager-filter{display:grid;grid-template-columns:1fr 1fr}.product-manager-search{grid-column:1/-1;min-width:0}.product-manager-filter select{width:100%}}

/* v4.2.2 — Admin product editor, automatic SKU, dual currency and image preview */
.product-editor{padding-bottom:28px}.product-editor form{display:block}.product-editor-head,.admin-product-toolbar{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:18px}.product-editor-head>div:first-child>span,.admin-product-toolbar>div>span{display:block;color:var(--green);font-size:10px;font-weight:900;letter-spacing:.9px;text-transform:uppercase}.product-editor-head h2,.admin-product-toolbar h2{margin:4px 0 2px;font-size:27px}.product-editor-head p,.admin-product-toolbar p{margin:0;color:var(--portal-muted);font-size:12px}.product-editor-actions{display:flex;gap:9px}.product-editor-grid{display:grid;grid-template-columns:minmax(0,1fr) 350px;gap:17px;align-items:start}.product-editor-main{display:grid;gap:17px}.editor-section{padding:21px}.editor-section-title{display:flex;align-items:flex-start;gap:12px;margin-bottom:18px}.editor-section-title>span{width:38px;height:38px;flex:0 0 38px;display:grid;place-items:center;border-radius:11px;background:#e8f4ea;color:var(--green);font-size:12px;font-weight:900}.editor-section-title h3{margin:0;font-size:17px}.editor-section-title p{margin:2px 0 0;color:var(--portal-muted);font-size:10px}.editor-section-title.compact{margin-bottom:13px}.product-editor .form-grid{gap:14px}.product-editor .form-grid label{display:flex;flex-direction:column;gap:6px;font-weight:800;font-size:11px;color:#37503e}.product-editor .form-grid label small{font-weight:600;color:var(--portal-muted)}.product-editor .form-grid label small a{color:var(--green)}.product-editor textarea{resize:vertical;min-height:128px}.readonly-field{background:#f3f6f2!important;color:#6e7b71!important}.price-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.input-affix{display:flex;align-items:center;border:1px solid #dbe6da;border-radius:11px;background:#fff;overflow:hidden}.input-affix:focus-within{border-color:var(--green);box-shadow:0 0 0 4px #0b853315}.input-affix input{border:0!important;box-shadow:none!important;min-width:0;flex:1}.input-affix span{padding:0 12px;color:var(--green);font-weight:900}.exchange-note{display:inline-flex;margin-top:13px;padding:8px 11px;border-radius:10px;background:#f0f7ed;color:#3e6547;font-size:10px;font-weight:800}.featured-check{min-height:48px;display:flex!important;flex-direction:row!important;align-items:center!important;padding:9px 12px;border:1px solid var(--portal-line);border-radius:11px}.featured-check input{width:18px;height:18px}.featured-check span b,.featured-check span small{display:block}.product-editor-side{position:sticky;top:88px;display:grid;gap:17px}.image-editor-card,.product-summary-card{padding:18px}.product-image-preview{position:relative;width:100%;height:255px;padding:0;border:1px solid var(--portal-line);border-radius:15px;overflow:hidden;background:#edf4eb;cursor:zoom-in}.product-image-preview img{width:100%;height:100%;object-fit:cover}.product-image-preview>span{position:absolute;right:10px;bottom:10px;padding:6px 9px;border-radius:8px;background:rgba(13,55,27,.84);color:#fff;font-size:9px;font-weight:800}.image-upload-zone{margin-top:12px;min-height:115px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:3px;border:1px dashed #a9c9ae;border-radius:13px;background:#f8fbf7;cursor:pointer;text-align:center;padding:15px}.image-upload-zone:hover{border-color:var(--green);background:#f0f8f1}.image-upload-zone input{display:none}.image-upload-zone>span{font-size:28px}.image-upload-zone b{font-size:12px}.image-upload-zone small{font-size:9px;color:var(--portal-muted)}.image-file-name{margin-top:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--portal-muted);font-size:9px}.product-summary-card h3{margin:0 0 12px;font-size:16px}.product-summary-card>div{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid #edf1ec;font-size:10px}.product-summary-card>div:last-child{border:0}.product-summary-card span{color:var(--portal-muted)}.product-summary-card b{text-align:right}.product-editor-mobile-actions{display:none}.image-lightbox[hidden]{display:none}.image-lightbox{position:fixed;z-index:500;inset:0;display:grid;place-items:center;padding:30px;background:rgba(4,17,9,.84);backdrop-filter:blur(6px)}.image-lightbox img{max-width:min(1100px,94vw);max-height:88vh;border-radius:18px;background:#fff;box-shadow:0 24px 70px rgba(0,0,0,.42)}.image-lightbox button{position:fixed;right:26px;top:20px;width:44px;height:44px;border:0;border-radius:50%;background:#fff;color:#15351f;font-size:28px;cursor:pointer}.admin-product-panel{padding:0;overflow:hidden}.admin-product-filter{display:flex;align-items:center;gap:9px;padding:14px;border-bottom:1px solid var(--portal-line);background:#fbfdfb}.admin-product-filter .product-manager-search{flex:1}.admin-catalog-table{min-width:1080px}.admin-catalog-table th,.admin-catalog-table td{vertical-align:middle}.catalog-image-button{position:relative;width:62px;height:62px;padding:0;border:0;border-radius:12px;overflow:hidden;background:#edf3eb;cursor:zoom-in}.catalog-image-button img{width:100%;height:100%;object-fit:cover}.catalog-image-button span{position:absolute;right:4px;bottom:4px;width:21px;height:21px;display:grid;place-items:center;border-radius:7px;background:rgba(6,82,35,.9);color:#fff;font-size:12px}.catalog-product-name b,.catalog-product-name code,.catalog-product-name small{display:block}.catalog-product-name code{width:max-content;margin:4px 0;padding:3px 6px;border-radius:6px;background:#f0f4ef;color:#31563a;font-size:9px}.catalog-product-name small{color:var(--portal-muted);font-size:9px}.dual-price-cell b,.dual-price-cell small{display:block}.dual-price-cell small{margin-top:2px;color:#3d7350;font-weight:800}.admin-product-actions{display:grid;gap:7px;min-width:190px}.compact-status-form{display:grid;grid-template-columns:1fr auto;gap:5px}.compact-status-form select{min-width:110px;padding:7px 8px!important;font-size:9px}.compact-status-form button{border:0;border-radius:8px;background:var(--green);color:#fff;padding:7px 9px;font-size:9px;font-weight:800}.product-card .price em{display:block;color:#3e7650;font-size:10px;font-style:normal;font-weight:800}.detail-price em{display:block;margin-top:3px;color:#428052;font-size:18px;font-style:normal}.panel label>small{display:block;margin-top:4px;color:var(--portal-muted);font-size:9px}
@media(max-width:1100px){.product-editor-grid{grid-template-columns:1fr}.product-editor-side{position:static;grid-template-columns:1fr 1fr}.admin-product-filter{flex-wrap:wrap}.admin-product-filter .product-manager-search{flex-basis:100%}}
@media(max-width:720px){.product-editor-head,.admin-product-toolbar{align-items:stretch;flex-direction:column}.product-editor-actions{display:none}.product-editor-side{grid-template-columns:1fr}.price-grid{grid-template-columns:1fr}.product-editor-mobile-actions{position:sticky;z-index:20;bottom:8px;display:grid;grid-template-columns:1fr 1.4fr;gap:8px;margin-top:16px;padding:9px;border:1px solid var(--portal-line);border-radius:14px;background:rgba(255,255,255,.94);backdrop-filter:blur(12px);box-shadow:0 12px 35px rgba(16,55,27,.16)}.admin-product-filter select,.admin-product-filter>.btn{flex:1;min-width:0}.image-lightbox{padding:14px}.image-lightbox button{right:12px;top:12px}.product-image-preview{height:220px}}
@media(max-width:430px){.editor-section{padding:15px}.product-editor-head h2,.admin-product-toolbar h2{font-size:22px}.product-editor .form-grid{grid-template-columns:1fr}.admin-product-filter{display:grid;grid-template-columns:1fr 1fr}.admin-product-filter .product-manager-search{grid-column:1/-1}.admin-product-filter select{width:100%}}
.category-admin-grid{grid-template-columns:minmax(0,1fr) 340px}.category-name-stack{display:grid;gap:3px}.category-name-stack code{color:var(--portal-muted);font-size:8px}.category-create-card>p{margin:-8px 0 15px;color:var(--portal-muted);font-size:10px}.category-admin-list form{grid-template-columns:54px minmax(160px,1fr) 80px auto auto auto}.category-admin-list form>input:first-of-type{text-align:center;font-size:20px}
@media(max-width:1000px){.category-admin-grid{grid-template-columns:1fr}.category-admin-list form{grid-template-columns:50px minmax(140px,1fr) 70px auto}.category-admin-list form small,.category-admin-list form button{grid-column:auto}}
@media(max-width:720px){.category-admin-list form{grid-template-columns:48px 1fr}.category-admin-list form>input[type=number],.category-admin-list form>.check,.category-admin-list form>small,.category-admin-list form>button{grid-column:auto}}

/* v4.3.0 Pro Admin, product engagement, reviews and payment manager */
:root{--pro-green:#0b7a3b;--pro-green-dark:#064c28;--pro-mint:#eaf7ee;--pro-ink:#10251a;--pro-muted:#6c7d72;--pro-line:#dce8df;--pro-card:rgba(255,255,255,.9);--pro-shadow:0 16px 45px rgba(22,72,40,.09)}
.pro-admin-body{background:radial-gradient(circle at 85% 5%,#dff2e6 0,transparent 24%),#f5f8f5}.pro-dashboard-content{max-width:1600px}.pro-titlebar{margin-bottom:20px}.pro-titlebar-meta{display:flex;align-items:flex-end;flex-direction:column;gap:5px}.pro-security-dot{color:#168245;font-size:10px;font-weight:900}.pro-sidebar-badge{display:flex;align-items:center;gap:10px;margin:12px 12px 18px;padding:11px;border:1px solid rgba(255,255,255,.12);border-radius:14px;background:rgba(255,255,255,.07)}.pro-sidebar-badge>span{display:grid;place-items:center;width:42px;height:32px;border-radius:9px;background:#a8efbb;color:#073d20;font-size:10px;font-weight:1000}.pro-sidebar-badge b,.pro-sidebar-badge small{display:block}.pro-sidebar-badge b{color:#fff;font-size:11px}.pro-sidebar-badge small{color:#9ec8ab;font-size:8px}.pro-sidebar nav a{transition:transform .2s ease,background .2s ease}.pro-sidebar nav a:hover{transform:translateX(3px)}
.pro-page-head,.pro-admin-hero{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:18px;padding:22px;border:1px solid rgba(206,226,213,.9);border-radius:20px;background:linear-gradient(135deg,rgba(255,255,255,.96),rgba(235,248,239,.9));box-shadow:var(--pro-shadow);backdrop-filter:blur(16px)}.pro-admin-hero{position:relative;overflow:hidden;background:linear-gradient(135deg,#073e21,#0d7d3e);color:#fff}.pro-admin-hero:after{content:"";position:absolute;right:-70px;top:-100px;width:260px;height:260px;border-radius:50%;background:rgba(255,255,255,.09)}.pro-admin-hero>div{position:relative;z-index:1}.pro-page-head>div>span,.pro-admin-hero>div>span{display:block;color:#19864a;font-size:10px;font-weight:1000;letter-spacing:1.1px;text-transform:uppercase}.pro-admin-hero>div>span{color:#aef0c0}.pro-page-head h2,.pro-admin-hero h2{margin:5px 0 5px;font-size:27px}.pro-page-head p,.pro-admin-hero p{max-width:720px;margin:0;color:var(--pro-muted);font-size:11px;line-height:1.7}.pro-admin-hero p{color:#c8e7d2}.pro-head-actions,.pro-admin-hero-actions{display:flex;align-items:center;gap:8px;position:relative;z-index:1}.pro-admin-hero .btn.ghost{border-color:rgba(255,255,255,.25);background:rgba(255,255,255,.1);color:#fff}
.pro-stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:14px}.pro-stat-card{display:flex;align-items:center;gap:14px;padding:18px;border:1px solid var(--pro-line);border-radius:18px;background:var(--pro-card);box-shadow:0 9px 30px rgba(27,72,40,.06);backdrop-filter:blur(14px)}.pro-stat-card>span{display:grid;place-items:center;width:47px;height:47px;flex:0 0 47px;border-radius:14px;background:var(--pro-mint);font-size:20px}.pro-stat-card.featured{border-color:#b4dfc2;background:linear-gradient(135deg,#fff,#eefaf2)}.pro-stat-card small,.pro-stat-card b,.pro-stat-card em{display:block}.pro-stat-card small{color:var(--pro-muted);font-size:9px;font-weight:800;text-transform:uppercase}.pro-stat-card b{margin:3px 0;font-size:22px;color:var(--pro-ink)}.pro-stat-card em{color:#779083;font-size:8px;font-style:normal}
.pro-alert-strip{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;margin-bottom:15px}.pro-alert-strip a{display:grid;grid-template-columns:30px 1fr;grid-template-rows:auto auto;column-gap:8px;padding:11px;border:1px solid var(--pro-line);border-radius:14px;background:#fff;color:var(--pro-ink)}.pro-alert-strip a>span{grid-row:1/3;display:grid;place-items:center;width:30px;height:30px;border-radius:9px;background:#edf7f0}.pro-alert-strip b{font-size:13px}.pro-alert-strip small{color:var(--pro-muted);font-size:8px}.pro-dashboard-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(320px,.7fr);gap:14px;margin-bottom:14px}.pro-dashboard-grid.lower{grid-template-columns:minmax(0,1.35fr) minmax(330px,.65fr)}.pro-chart-panel,.pro-quick-panel,.pro-table-panel,.pro-payment-feed{padding:18px}.pro-live-dot{padding:5px 9px;border-radius:999px;background:#e9f7ed;color:#168245;font-size:8px;font-weight:900}.pro-bar-chart{height:220px;display:grid;grid-template-columns:repeat(7,1fr);gap:12px;align-items:end;padding-top:15px}.pro-bar-chart>div{height:100%;display:flex;align-items:center;flex-direction:column;justify-content:flex-end;gap:8px}.pro-bar-chart span{display:block;width:min(38px,70%);min-height:8px;border-radius:10px 10px 4px 4px;background:linear-gradient(180deg,#31ad61,#087237);box-shadow:0 8px 18px rgba(15,126,61,.2);transition:height .6s ease}.pro-bar-chart small{font-size:8px;color:var(--pro-muted)}.pro-quick-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.pro-quick-grid a{display:grid;grid-template-columns:38px 1fr;grid-template-rows:auto auto;column-gap:10px;padding:12px;border:1px solid var(--pro-line);border-radius:14px;background:#fafdfa;color:var(--pro-ink)}.pro-quick-grid a>span{grid-row:1/3;display:grid;place-items:center;width:38px;height:38px;border-radius:11px;background:var(--pro-mint);color:var(--pro-green);font-size:17px;font-weight:900}.pro-quick-grid b{font-size:10px}.pro-quick-grid small{color:var(--pro-muted);font-size:8px}.pro-feed-list{display:grid}.pro-feed-list a{display:flex;align-items:center;gap:10px;padding:11px 0;border-bottom:1px solid #edf2ee;color:var(--pro-ink)}.pro-feed-list a:last-child{border:0}.pro-payment-icon{display:grid;place-items:center;width:36px;height:36px;border-radius:11px;background:#eef7f0}.pro-feed-list div{min-width:0;flex:1}.pro-feed-list b,.pro-feed-list small,.pro-feed-list strong,.pro-feed-list em{display:block}.pro-feed-list b{font-size:10px}.pro-feed-list small{color:var(--pro-muted);font-size:8px}.pro-feed-list strong{text-align:right;font-size:10px}.pro-feed-list em{margin-top:4px;font-size:7px;font-style:normal}
.pro-mini-stats{display:grid;gap:10px;margin-bottom:14px}.pro-mini-stats.five{grid-template-columns:repeat(5,minmax(0,1fr))}.pro-mini-stats.four{grid-template-columns:repeat(4,minmax(0,1fr))}.pro-mini-stats a{padding:14px 16px;border:1px solid var(--pro-line);border-radius:15px;background:#fff;color:var(--pro-ink);box-shadow:0 7px 22px rgba(24,65,38,.05)}.pro-mini-stats small,.pro-mini-stats b{display:block}.pro-mini-stats small{color:var(--pro-muted);font-size:8px;font-weight:800}.pro-mini-stats b{margin-top:4px;font-size:18px}.pro-data-panel{padding:0;overflow:hidden}.pro-filter-bar{display:flex;align-items:center;gap:9px;padding:13px;border-bottom:1px solid var(--pro-line);background:rgba(249,252,249,.92)}.pro-search{display:flex;align-items:center;gap:7px;flex:1;min-width:230px;padding:0 11px;border:1px solid var(--pro-line);border-radius:11px;background:#fff}.pro-search input{width:100%;border:0!important;box-shadow:none!important}.pro-product-table{min-width:1220px}.pro-payment-table{min-width:1160px}.pro-product-cell{display:flex;align-items:center;gap:10px;min-width:260px}.pro-product-cell>div b,.pro-product-cell>div small,.pro-product-cell>div code{display:block}.pro-product-cell code{width:max-content;margin:3px 0;padding:2px 6px;border-radius:6px;background:#eef4ef;font-size:8px}.pro-engagement-cell{display:grid;grid-template-columns:1fr 1fr;gap:4px;font-size:8px}.pro-engagement-cell span{padding:4px 6px;border-radius:7px;background:#f3f7f3}.dual-price-cell em{display:block;color:var(--pro-muted);font-size:8px;font-style:normal}.pro-row-actions{display:flex;align-items:center;gap:5px}.pro-row-actions a,.pro-row-actions button{display:grid;place-items:center;width:30px;height:30px;padding:0;border:1px solid var(--pro-line);border-radius:9px;background:#fff;color:#225434;cursor:pointer}.pro-row-actions button.danger{color:#b42318;border-color:#f0cbc7;background:#fff8f7}.text-danger{color:#b42318!important}.pagination{display:flex;justify-content:center;gap:5px;padding:14px;border-top:1px solid var(--pro-line)}.pagination a{display:grid;place-items:center;min-width:30px;height:30px;padding:0 8px;border:1px solid var(--pro-line);border-radius:8px;color:var(--pro-ink)}.pagination a.active{background:var(--pro-green);color:#fff;border-color:var(--pro-green)}
.pro-product-editor{padding-bottom:25px}.pro-editor-grid{display:grid;grid-template-columns:minmax(0,1fr) 350px;gap:15px;align-items:start}.pro-editor-main,.pro-editor-side{display:grid;gap:15px}.pro-editor-side{position:sticky;top:85px}.pro-editor-card,.pro-editor-summary{padding:18px}.pro-section-title{display:flex;align-items:flex-start;gap:11px;margin-bottom:15px}.pro-section-title>span{display:grid;place-items:center;width:38px;height:38px;flex:0 0 38px;border-radius:11px;background:var(--pro-mint);color:var(--pro-green);font-size:10px;font-weight:1000}.pro-section-title.compact{margin-bottom:12px}.pro-section-title h3{margin:0;font-size:15px}.pro-section-title p{margin:2px 0 0;color:var(--pro-muted);font-size:8px}.pro-editor-card>label{display:flex;flex-direction:column;gap:5px;margin-bottom:11px;font-size:9px;font-weight:800}.pro-sku-box{display:flex;align-items:center;justify-content:space-between;padding:10px;border-radius:10px;background:#f0f6f1}.pro-sku-box small{color:var(--pro-muted)}.pro-sku-box code{font-weight:900}.pro-editor-summary h3{margin:0 0 9px}.pro-editor-summary>div{display:flex;align-items:center;justify-content:space-between;padding:8px 0;border-bottom:1px solid #edf2ee;font-size:9px}.pro-editor-summary>div:last-child{border:0}.pro-editor-summary span{color:var(--pro-muted)}
.pro-review-list{display:grid}.pro-review-card{display:grid;grid-template-columns:250px minmax(0,1fr) 280px;gap:16px;padding:16px;border-bottom:1px solid var(--pro-line)}.pro-review-card:last-child{border:0}.pro-review-product{display:flex;gap:10px;color:var(--pro-ink)}.pro-review-product img{width:76px;height:76px;border-radius:13px;object-fit:cover}.pro-review-product b,.pro-review-product code,.pro-review-product small{display:block}.pro-review-product code{width:max-content;margin:4px 0;padding:2px 5px;border-radius:5px;background:#eef4ef;font-size:8px}.pro-review-content blockquote{margin:9px 0;padding:11px;border-left:3px solid #61b77d;border-radius:0 10px 10px 0;background:#f7faf7;font-size:10px;line-height:1.6}.pro-review-meta{display:flex;align-items:center;justify-content:space-between}.pro-stars{color:#f5a000;letter-spacing:1px}.pro-review-content>small{color:var(--pro-muted);font-size:8px}.pro-admin-reply{margin-top:9px;padding:10px;border-radius:10px;background:#eaf6ee}.pro-admin-reply b{font-size:9px;color:var(--pro-green)}.pro-admin-reply p{margin:3px 0 0;font-size:9px}.pro-review-action{display:grid;gap:8px}.pro-review-action label{display:flex;flex-direction:column;gap:4px;font-size:8px;font-weight:800}
.pro-method-badge{display:inline-flex;align-items:center;gap:5px;padding:5px 8px;border-radius:8px;background:#eff7f1;font-size:8px;font-weight:800}.pro-payment-detail-grid{display:grid;grid-template-columns:minmax(0,1fr) 345px;gap:15px;align-items:start}.pro-payment-detail-grid>main,.pro-payment-detail-grid>aside{display:grid;gap:15px}.pro-payment-detail-grid>aside{position:sticky;top:85px}.pro-payment-overview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;padding:0;overflow:hidden}.pro-payment-overview>div{min-height:95px;padding:16px;border-right:1px solid var(--pro-line);border-bottom:1px solid var(--pro-line)}.pro-payment-overview>div:nth-child(3n){border-right:0}.pro-payment-overview>div:nth-last-child(-n+3){border-bottom:0}.pro-payment-overview span,.pro-payment-overview small,.pro-payment-overview b,.pro-payment-overview em{display:block}.pro-payment-overview span,.pro-payment-overview small{color:var(--pro-muted);font-size:8px}.pro-payment-overview b{margin:4px 0;font-size:12px}.pro-payment-overview em{font-size:8px;font-style:normal}.pro-payment-amount{background:linear-gradient(135deg,#0b6d36,#11964a);color:#fff}.pro-payment-amount small,.pro-payment-amount em{color:#c5efd2}.pro-payment-amount b{font-size:23px}.pro-order-totals{margin-left:auto;width:min(330px,100%);padding:15px}.pro-order-totals div{display:flex;justify-content:space-between;padding:5px;font-size:9px}.pro-order-totals div:last-child{margin-top:5px;border-top:1px solid var(--pro-line);font-size:12px}.pro-payment-action-card,.pro-address-card{padding:18px}.pro-payment-action-card form{display:grid;gap:10px}.pro-payment-action-card label{display:flex;flex-direction:column;gap:5px;font-size:9px;font-weight:800}.pro-address-card h3{margin:0 0 12px}.pro-address-card p{margin:5px 0;color:var(--pro-muted);font-size:9px}.pro-timeline{padding:0 15px 15px}.pro-timeline>div{display:grid;grid-template-columns:20px 1fr;gap:9px}.pro-timeline>div>span{position:relative}.pro-timeline>div>span:before{content:"";position:absolute;top:6px;left:6px;width:8px;height:8px;border-radius:50%;background:var(--pro-green)}.pro-timeline>div>span:after{content:"";position:absolute;top:15px;bottom:-6px;left:9px;width:2px;background:#dce9e0}.pro-timeline>div:last-child>span:after{display:none}.pro-timeline section{padding-bottom:14px}.pro-timeline b{font-size:9px}.pro-timeline p{margin:2px 0;font-size:9px}.pro-timeline small{color:var(--pro-muted);font-size:8px}
.pro-store-card .portal-store-cover{position:relative}.pro-store-card .portal-store-cover span{position:absolute;right:9px;top:9px;padding:5px 8px;border-radius:999px;background:rgba(8,61,31,.78);color:#fff;font-size:8px}.pro-store-profile{overflow:hidden;margin-bottom:20px;border:1px solid var(--pro-line);border-radius:20px;background:#fff;box-shadow:var(--pro-shadow)}.pro-store-cover-large{height:150px;display:grid;place-items:center;background:linear-gradient(135deg,#0a5f31,#3ba861);font-size:70px}.pro-store-profile-body{display:flex;align-items:center;gap:15px;padding:0 22px 20px}.pro-store-profile-body .portal-store-logo{margin-top:-38px;width:76px;height:76px;flex:0 0 76px;border:5px solid #fff;font-size:28px}.pro-store-profile-body h1{margin:4px 0}.pro-store-social{display:flex;gap:15px;color:var(--pro-muted);font-size:9px}.pro-store-actions{display:flex;gap:8px}.pro-featured-badge{position:absolute!important;left:8px!important;right:auto!important;top:8px!important;padding:5px 8px!important;border-radius:999px!important;background:#f7b500!important;color:#2a2100!important;font-size:8px!important;font-style:normal!important}
.pro-product-detail-wrap{padding-top:22px}.pro-product-detail{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(360px,.95fr);gap:28px;padding:22px;border:1px solid var(--pro-line);border-radius:22px;background:#fff;box-shadow:var(--pro-shadow)}.pro-product-gallery{position:relative}.pro-product-gallery .detail-image{height:520px;border-radius:18px;overflow:hidden}.pro-product-gallery .detail-image img{width:100%;height:100%;object-fit:cover}.pro-product-badges{position:absolute;left:12px;top:12px;display:flex;gap:6px}.pro-product-badges span{padding:6px 9px;border-radius:999px;background:rgba(255,255,255,.92);font-size:8px;font-weight:900;box-shadow:0 5px 14px rgba(0,0,0,.08)}.pro-product-topline{display:flex;justify-content:space-between;color:var(--pro-muted);font-size:9px}.pro-detail-info h1{font-size:31px;line-height:1.25}.pro-product-description{color:#52665a;line-height:1.8}.pro-detail-actions{display:flex;gap:8px;margin:15px 0}.pro-detail-actions form{margin:0}.pro-cart-form{margin:10px 0 18px;padding:13px;border-radius:14px;background:#f1f8f3}.pro-cart-form label{display:flex;align-items:center;gap:8px}.pro-seller-card{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px;border:1px solid var(--pro-line);border-radius:15px}.pro-seller-card .seller-chip{color:var(--pro-ink)}.pro-seller-card .seller-chip em{display:block;color:var(--pro-muted);font-size:8px;font-style:normal}.pro-seller-card>div{display:flex;gap:5px}.pro-review-section-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}.pro-review-section-head>div>span{color:var(--pro-green);font-size:9px;font-weight:900;text-transform:uppercase}.pro-review-section-head h2{margin:4px 0}.pro-review-score{display:flex;align-items:center;gap:10px}.pro-review-score>b{font-size:35px}.pro-review-score span,.pro-review-score small{display:block}.pro-review-score small{color:var(--pro-muted);font-size:8px}.pro-review-layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:15px}.pro-public-reviews{display:grid;gap:10px}.pro-public-reviews>article{display:grid;grid-template-columns:42px 1fr;gap:11px;padding:15px;border:1px solid var(--pro-line);border-radius:15px;background:#fff}.pro-review-avatar{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:var(--pro-mint);color:var(--pro-green);font-weight:900}.pro-public-reviews header{display:flex;align-items:center;gap:9px}.pro-public-reviews header small{margin-left:auto;color:var(--pro-muted);font-size:8px}.pro-public-reviews p{margin:8px 0 0;font-size:10px;line-height:1.65}.pro-review-form{height:max-content;padding:18px}.pro-review-form h3{margin:0 0 10px}.pro-review-form form{display:grid;gap:10px}.pro-review-form label{display:flex;flex-direction:column;gap:5px;font-size:9px;font-weight:800}.pro-review-locked{text-align:center;padding:18px;border-radius:13px;background:#f3f7f4}.pro-review-locked span{font-size:25px}.pro-review-locked b{display:block;margin:6px}.pro-review-locked p{font-size:9px;color:var(--pro-muted)}
.pro-category-list form{grid-template-columns:54px minmax(220px,1fr) 80px auto auto auto}.pro-category-list .category-name-stack input+input{margin-top:5px}.pro-user-cell{display:flex;align-items:center;gap:9px}.pro-user-cell>span{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:var(--pro-mint);color:var(--pro-green);font-weight:900}.pro-user-cell b,.pro-user-cell small{display:block}
@media(max-width:1280px){.pro-alert-strip{grid-template-columns:repeat(3,1fr)}.pro-review-card{grid-template-columns:210px minmax(0,1fr)}.pro-review-action{grid-column:1/-1;grid-template-columns:180px 1fr auto;align-items:end}.pro-editor-grid{grid-template-columns:minmax(0,1fr) 320px}}
@media(max-width:1050px){.pro-stat-grid{grid-template-columns:repeat(2,1fr)}.pro-dashboard-grid,.pro-dashboard-grid.lower{grid-template-columns:1fr}.pro-mini-stats.five{grid-template-columns:repeat(3,1fr)}.pro-editor-grid,.pro-payment-detail-grid,.pro-product-detail,.pro-review-layout{grid-template-columns:1fr}.pro-editor-side,.pro-payment-detail-grid>aside{position:static}.pro-product-gallery .detail-image{height:430px}.pro-store-profile-body{flex-wrap:wrap}.pro-store-actions{width:100%;justify-content:flex-end}}
@media(max-width:720px){.pro-page-head,.pro-admin-hero{flex-direction:column;padding:17px}.pro-page-head h2,.pro-admin-hero h2{font-size:22px}.pro-head-actions,.pro-admin-hero-actions{width:100%}.pro-head-actions .btn,.pro-admin-hero-actions .btn{flex:1}.pro-stat-grid{grid-template-columns:1fr 1fr}.pro-stat-card{padding:13px}.pro-stat-card>span{width:38px;height:38px;flex-basis:38px;font-size:16px}.pro-stat-card b{font-size:16px}.pro-alert-strip{grid-template-columns:1fr 1fr}.pro-mini-stats.five,.pro-mini-stats.four{grid-template-columns:1fr 1fr}.pro-filter-bar{display:grid;grid-template-columns:1fr 1fr}.pro-filter-bar .pro-search{grid-column:1/-1;min-width:0}.pro-review-card{grid-template-columns:1fr}.pro-review-action{grid-column:auto;grid-template-columns:1fr}.pro-payment-overview{grid-template-columns:1fr 1fr}.pro-payment-overview>div{border-right:1px solid var(--pro-line)!important;border-bottom:1px solid var(--pro-line)!important}.pro-payment-overview>div:nth-child(2n){border-right:0!important}.pro-payment-overview>div:nth-last-child(-n+2){border-bottom:0!important}.pro-store-profile-body{padding:0 15px 15px}.pro-store-profile-body .portal-store-logo{width:62px;height:62px;flex-basis:62px}.pro-store-actions{display:grid;grid-template-columns:1fr 1fr}.pro-product-detail{padding:13px}.pro-product-gallery .detail-image{height:330px}.pro-detail-info h1{font-size:24px}.pro-detail-actions,.pro-seller-card{align-items:stretch;flex-direction:column}.pro-seller-card>div{display:grid;grid-template-columns:1fr 1fr}.pro-public-reviews header{align-items:flex-start;flex-wrap:wrap}.pro-public-reviews header small{width:100%;margin-left:0}.pro-category-list form{grid-template-columns:48px 1fr}}
@media(max-width:430px){.pro-stat-grid,.pro-alert-strip{grid-template-columns:1fr}.pro-mini-stats.five,.pro-mini-stats.four{grid-template-columns:1fr 1fr}.pro-quick-grid{grid-template-columns:1fr}.pro-filter-bar{grid-template-columns:1fr}.pro-filter-bar .pro-search{grid-column:auto}.pro-payment-overview{grid-template-columns:1fr}.pro-payment-overview>div{border-right:0!important;border-bottom:1px solid var(--pro-line)!important}.pro-payment-overview>div:last-child{border-bottom:0!important}.pro-store-social{flex-direction:column;gap:4px}.pro-product-gallery .detail-image{height:270px}.pro-product-detail{border-radius:15px}.pro-review-section-head{align-items:flex-start;flex-direction:column;gap:10px}}
@media(prefers-color-scheme:dark){.pro-admin-body{--pro-card:rgba(20,34,26,.9);--pro-ink:#edf8f0;--pro-muted:#9ab0a1;--pro-line:#2d4434;background:#101a14}.pro-admin-body .panel,.pro-admin-body .pro-page-head,.pro-admin-body .pro-stat-card,.pro-admin-body .pro-mini-stats a,.pro-admin-body .pro-data-panel{background:#17251c;color:var(--pro-ink);border-color:var(--pro-line)}.pro-admin-body input,.pro-admin-body select,.pro-admin-body textarea,.pro-admin-body .pro-search,.pro-admin-body .pro-row-actions a,.pro-admin-body .pro-row-actions button{background:#101b14!important;color:#eef7f0!important;border-color:#344c3a!important}.pro-admin-body .pro-filter-bar,.pro-admin-body table tr:hover{background:#132017}.pro-admin-body table th,.pro-admin-body table td{border-color:#2a4030}.pro-admin-body .pro-quick-grid a,.pro-admin-body .pro-alert-strip a,.pro-admin-body .pro-feed-list a{color:#eef7f0;background:#19291f;border-color:#304837}}

/* v4.3.2 — consolidated Pro UI stability, accessibility, mobile and theme fixes */
:root{--ui-bg:#f5f8f5;--ui-surface:#fff;--ui-surface-2:#f1f6f2;--ui-text:#14261b;--ui-muted:#6c7b71;--ui-border:#dce7df;--ui-focus:#18a957;--safe-bottom:env(safe-area-inset-bottom,0px)}
html[data-theme="light"]{color-scheme:light}html[data-theme="dark"]{color-scheme:dark}
body{overflow-x:hidden}.portal-body.portal-nav-open{overflow:hidden}.portal-main,.portal-content,.dashboard-content{min-width:0}.portal-content{overflow-x:clip}.portal-content *{overflow-wrap:anywhere}
.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}.skip-link{position:fixed;z-index:1000;left:16px;top:-70px;padding:11px 15px;border-radius:10px;background:#fff;color:#064c28;font-weight:900;box-shadow:0 10px 30px rgba(0,0,0,.22);transition:top .2s}.skip-link:focus{top:12px}
:focus-visible{outline:3px solid color-mix(in srgb,var(--ui-focus) 72%,white);outline-offset:3px}button:focus:not(:focus-visible),a:focus:not(:focus-visible),input:focus:not(:focus-visible),select:focus:not(:focus-visible),textarea:focus:not(:focus-visible){outline:none}
button,.btn,a.portal-action,.pro-row-actions a,.pro-row-actions button{touch-action:manipulation}.btn,.portal-action,.portal-menu-button,.portal-theme-toggle{min-height:42px}.btn:active,.portal-action:active,.pro-row-actions a:active,.pro-row-actions button:active{transform:translateY(1px)}
.portal-theme-toggle{display:inline-flex;align-items:center;justify-content:center;gap:6px;height:42px;padding:0 11px;border:1px solid #dbe6dc;border-radius:11px;background:#f4f7f2;color:#234b31;font-weight:800;cursor:pointer}.portal-theme-toggle [data-theme-icon]{font-size:17px;line-height:1}.portal-theme-toggle .theme-label{font-size:11px}.portal-sidebar-close{display:none;position:absolute;right:13px;top:13px;width:40px;height:40px;border:1px solid rgba(255,255,255,.17);border-radius:11px;background:rgba(255,255,255,.08);color:#fff;font-size:25px;line-height:1;cursor:pointer}
.portal-search:focus-within{border-color:#43a768;box-shadow:0 0 0 4px rgba(20,147,66,.12)}.portal-user-menu>div{max-height:min(430px,calc(100vh - 90px));overflow:auto}.portal-user-menu>button{max-width:220px}.portal-user-menu>button>span:nth-child(2){overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.portal-sidebar nav a.active{box-shadow:inset 3px 0 0 #8fe7a8}.portal-sidebar{scrollbar-width:thin;scrollbar-color:#426a50 transparent}.portal-sidebar::-webkit-scrollbar{width:7px}.portal-sidebar::-webkit-scrollbar-thumb{background:#426a50;border-radius:20px}
.table-wrap{max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain;-webkit-overflow-scrolling:touch}.table-wrap table{width:100%}.table-wrap:focus{outline:3px solid rgba(24,169,87,.35)}table td,table th{overflow-wrap:normal;word-break:normal}.pro-product-table,.pro-payment-table,.admin-catalog-table{min-width:980px}.pro-row-actions{align-items:center}.pro-row-actions form{margin:0}.pro-row-actions a,.pro-row-actions button{min-width:36px;min-height:36px}.pro-filter-bar input,.pro-filter-bar select,.product-editor input,.product-editor select,.product-editor textarea,.pro-editor-grid input,.pro-editor-grid select,.pro-editor-grid textarea{min-height:44px}.pro-filter-bar .btn{white-space:nowrap}.pro-titlebar{gap:14px}.pro-titlebar h1{line-height:1.2}.pro-page-head,.pro-admin-hero,.pro-store-profile,.pro-product-detail,.pro-data-panel,.pro-review-card,.panel{isolation:isolate}.image-lightbox{padding-bottom:calc(30px + var(--safe-bottom))}.image-lightbox img{object-fit:contain}.image-lightbox button{z-index:2}.flash{transition:opacity .32s ease,transform .32s ease}.flash.flash-leaving{opacity:0;transform:translateY(-6px)}.is-loading{opacity:.68;cursor:wait!important;pointer-events:none}.is-loading:after{content:"…";margin-left:5px}.product-card img,.portal-store-card img,.portal-news-card img{background:#e9f1eb}.product-card{height:100%;display:flex;flex-direction:column}.product-info{display:flex;flex:1;flex-direction:column}.product-info .card-bottom{margin-top:auto}.pro-public-reviews>article,.pro-review-card{content-visibility:auto;contain-intrinsic-size:180px}
[dir="rtl"] .portal-top-actions{margin-left:0;margin-right:auto}[dir="rtl"] .portal-sidebar nav a:hover,[dir="rtl"] .portal-sidebar nav a.active{transform:translateX(-2px)}[dir="rtl"] .portal-sidebar nav a.active{box-shadow:inset -3px 0 0 #8fe7a8}[dir="rtl"] .user-menu>div{right:auto;left:0}[dir="rtl"] .portal-action.cart em{right:auto;left:-5px}

/* Explicit light theme prevents OS dark-mode rules from making only half the admin panel dark. */
html[data-theme="light"] .pro-admin-body{--pro-card:rgba(255,255,255,.9);--pro-ink:#10251a;--pro-muted:#6c7d72;--pro-line:#dce8df;background:radial-gradient(circle at 85% 5%,#dff2e6 0,transparent 24%),#f5f8f5;color:#17291c}html[data-theme="light"] .pro-admin-body .panel,html[data-theme="light"] .pro-admin-body .pro-page-head,html[data-theme="light"] .pro-admin-body .pro-stat-card,html[data-theme="light"] .pro-admin-body .pro-mini-stats a,html[data-theme="light"] .pro-admin-body .pro-data-panel{background:#fff;color:#10251a;border-color:#dce8df}html[data-theme="light"] .pro-admin-body input,html[data-theme="light"] .pro-admin-body select,html[data-theme="light"] .pro-admin-body textarea,html[data-theme="light"] .pro-admin-body .pro-search{background:#fff!important;color:#10251a!important;border-color:#dce8df!important}

/* Full manual dark theme for marketplace and admin. */
html[data-theme="dark"]{--ui-bg:#0d1711;--ui-surface:#15231a;--ui-surface-2:#101c15;--ui-text:#edf6ef;--ui-muted:#9fb0a4;--ui-border:#2d4233;--line:#2d4233;--soft:#15231a;--cream:#101c15;--muted:#9fb0a4}html[data-theme="dark"] body.portal-body{background:#0d1711;color:#edf6ef}html[data-theme="dark"] .portal-topbar,html[data-theme="dark"] .portal-footer{background:rgba(18,31,23,.96);color:#edf6ef;border-color:#2d4233}html[data-theme="dark"] .portal-main{background:#0d1711}html[data-theme="dark"] .portal-brand b,html[data-theme="dark"] .portal-page-title h1,html[data-theme="dark"] .portal-section-head h2,html[data-theme="dark"] .section-head h1,html[data-theme="dark"] .section-head h2{color:#edf6ef}html[data-theme="dark"] .portal-brand small,html[data-theme="dark"] .portal-page-title small,html[data-theme="dark"] .portal-footer{color:#9fb0a4}html[data-theme="dark"] .portal-search,html[data-theme="dark"] .portal-theme-toggle,html[data-theme="dark"] .portal-action.cart,html[data-theme="dark"] .portal-user-menu>button{background:#15231a!important;color:#edf6ef!important;border-color:#314838}html[data-theme="dark"] .portal-search input{color:#edf6ef}html[data-theme="dark"] .portal-search input::placeholder{color:#829489}html[data-theme="dark"] .user-menu>div{background:#17271d;border-color:#314838;box-shadow:0 18px 50px rgba(0,0,0,.35)}html[data-theme="dark"] .user-menu>div a:hover,html[data-theme="dark"] .user-menu>div button:hover{background:#203428}html[data-theme="dark"] .panel,html[data-theme="dark"] .product-card,html[data-theme="dark"] .portal-category-card,html[data-theme="dark"] .portal-store-card,html[data-theme="dark"] .portal-news-card,html[data-theme="dark"] .portal-service-grid,html[data-theme="dark"] .pro-store-profile,html[data-theme="dark"] .pro-product-detail,html[data-theme="dark"] .pro-public-reviews>article,html[data-theme="dark"] .pro-review-card,html[data-theme="dark"] .pro-data-panel,html[data-theme="dark"] .cart-list,html[data-theme="dark"] .order-summary{background:#15231a;color:#edf6ef;border-color:#2d4233}html[data-theme="dark"] .product-info h3,html[data-theme="dark"] .pro-detail-info h1,html[data-theme="dark"] .pro-review-section-head h2,html[data-theme="dark"] .panel h2,html[data-theme="dark"] .panel h3{color:#edf6ef}html[data-theme="dark"] input,html[data-theme="dark"] select,html[data-theme="dark"] textarea{background:#101c15!important;color:#edf6ef!important;border-color:#334b3a!important}html[data-theme="dark"] input::placeholder,html[data-theme="dark"] textarea::placeholder{color:#7f9185}html[data-theme="dark"] table th{background:#111e16;color:#b9c8be}html[data-theme="dark"] table td,html[data-theme="dark"] table th{border-color:#2d4233}html[data-theme="dark"] table tr:hover{background:#18281e}html[data-theme="dark"] .btn.ghost{background:#17271d;color:#edf6ef;border-color:#38513f}html[data-theme="dark"] .empty-state{background:#111e16;border-color:#38513f}html[data-theme="dark"] .pro-cart-form,html[data-theme="dark"] .pro-review-locked,html[data-theme="dark"] .seller-chip{background:#101c15;color:#edf6ef}html[data-theme="dark"] .pro-admin-reply{background:#102a1b;border-color:#245538}html[data-theme="dark"] .status{filter:saturate(.85) brightness(.92)}html[data-theme="dark"] .pro-admin-body{--pro-card:rgba(21,35,26,.96);--pro-ink:#edf6ef;--pro-muted:#9fb0a4;--pro-line:#2d4233;background:radial-gradient(circle at 85% 5%,#193b28 0,transparent 25%),#0d1711;color:#edf6ef}html[data-theme="dark"] .pro-admin-body .pro-page-head,html[data-theme="dark"] .pro-admin-body .pro-stat-card,html[data-theme="dark"] .pro-admin-body .pro-mini-stats a,html[data-theme="dark"] .pro-admin-body .pro-alert-strip a,html[data-theme="dark"] .pro-admin-body .pro-quick-grid a,html[data-theme="dark"] .pro-admin-body .pro-feed-list a{background:#15231a;color:#edf6ef;border-color:#2d4233}

@media(max-width:1180px){.portal-topbar{gap:12px;padding-inline:18px}.portal-brand{min-width:190px}.portal-action span{display:none}.portal-action{padding-inline:11px}.portal-theme-toggle .theme-label{display:none}.portal-search{width:min(500px,44vw)}}
@media(max-width:1000px){.portal-sidebar{top:0!important;left:min(-320px,-90vw);width:min(290px,88vw);height:100dvh!important;z-index:130;padding-top:72px;transition:left .24s ease}.portal-sidebar-close{display:grid;place-items:center}.portal-body.portal-nav-open .portal-sidebar{left:0}.portal-body.portal-nav-open .portal-overlay{display:block;position:fixed;inset:0!important;background:rgba(4,19,10,.58);backdrop-filter:blur(2px);z-index:120}.portal-topbar{z-index:100}.portal-shell{min-height:calc(100dvh - 72px)}[dir="rtl"] .portal-sidebar{left:auto;right:min(-320px,-90vw);transition:right .24s ease}[dir="rtl"] .portal-body.portal-nav-open .portal-sidebar{right:0}}
@media(max-width:720px){.portal-topbar{min-height:64px;padding:9px 11px;column-gap:7px;row-gap:8px}.portal-menu-button{flex:0 0 40px}.portal-brand{flex:1;min-width:0}.portal-brand>span:last-child{min-width:0}.portal-brand b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.portal-top-actions{order:2;gap:5px}.portal-search{order:3;width:100%;height:42px}.portal-shell{min-height:calc(100dvh - 114px)}.portal-language{display:flex!important;padding:2px}.portal-language a{padding:5px 7px;font-size:10px}.portal-theme-toggle{width:38px;padding:0}.portal-theme-toggle .theme-label{display:none}.portal-action.soft{display:none}.portal-action.cart{width:42px;padding:0;justify-content:center}.portal-action.cart span{display:none}.portal-action.login{padding-inline:11px}.portal-user-menu>button{max-width:47px;padding-right:5px!important}.portal-content{padding:12px}.portal-page-title,.pro-titlebar{align-items:flex-start;flex-wrap:wrap}.pro-titlebar-meta{align-items:flex-start}.pro-filter-bar{display:grid!important;grid-template-columns:1fr 1fr}.pro-filter-bar .pro-search{grid-column:1/-1}.pro-filter-bar .btn{width:100%}.pro-head-actions,.pro-admin-hero-actions{display:grid;grid-template-columns:1fr 1fr}.pro-product-table,.pro-payment-table,.admin-catalog-table{min-width:820px}.pro-review-card{padding:13px}.pro-review-action{gap:9px}.pro-row-actions{min-width:max-content}.product-editor-mobile-actions{padding-bottom:calc(9px + var(--safe-bottom))}.portal-footer{padding-bottom:calc(18px + var(--safe-bottom))}}
@media(max-width:480px){.portal-brand small{display:none}.portal-brand b{font-size:14px}.portal-brand-mark{width:38px;height:38px}.portal-top-actions{margin-left:0}.portal-user-menu{position:static}.portal-user-menu>div{position:fixed;left:10px!important;right:10px!important;top:66px;width:auto;max-height:calc(100dvh - 80px)}.portal-category-grid,.portal-product-grid,.product-grid,.product-grid.four{grid-template-columns:repeat(2,minmax(0,1fr))}.portal-content .product-image,.product-image{height:142px}.portal-content .product-card h3,.product-info h3{font-size:12px}.pro-stat-grid,.pro-alert-strip{grid-template-columns:1fr}.pro-mini-stats.five,.pro-mini-stats.four{grid-template-columns:1fr 1fr}.pro-head-actions,.pro-admin-hero-actions,.pro-store-actions,.pro-seller-card>div{grid-template-columns:1fr}.pro-filter-bar{grid-template-columns:1fr}.pro-filter-bar .pro-search{grid-column:auto}.pro-product-gallery .detail-image{height:260px}.pro-detail-actions{display:grid}.pro-detail-actions .btn{width:100%}.pro-cart-form{align-items:stretch;flex-direction:column}.pro-cart-form label,.pro-cart-form input{width:100%}.pro-review-score>b{font-size:30px}}
@media(max-width:350px){.portal-category-grid,.portal-product-grid,.product-grid,.product-grid.four{grid-template-columns:1fr}.portal-language{display:none!important}.portal-content .product-image,.product-image{height:210px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important;scroll-behavior:auto!important}.product-card:hover,.category-strip>a:hover,.portal-sidebar nav a:hover{transform:none!important}}


/* Phoumika v4.3.3 — Store Pro, verification and minimum-order UI */
.verified-badge{display:inline-grid;place-items:center;width:1.35rem;height:1.35rem;border-radius:999px;background:#1687ff;color:#fff;font-size:.82rem;font-weight:900;line-height:1;box-shadow:0 0 0 3px rgba(22,135,255,.14);vertical-align:middle;flex:0 0 auto}.verified-badge.large{width:1.7rem;height:1.7rem;font-size:1rem}.verified-badge.small{width:1.08rem;height:1.08rem;font-size:.68rem;box-shadow:0 0 0 2px rgba(22,135,255,.12)}.verified-badge.tiny{display:inline-grid;width:.95rem;height:.95rem;font-size:.6rem;box-shadow:none}.store-title-line{display:flex;align-items:center;gap:.55rem;flex-wrap:wrap}.store-title-line.centered{justify-content:center}.store-title-line h1,.store-title-line h3{margin:0}
.store-editor-head{margin-bottom:1rem}.store-editor{display:block}.store-visual-editor{overflow:hidden;padding:0;margin-bottom:1rem}.store-cover-editor{height:260px;position:relative;background:linear-gradient(135deg,#143f2a,#2b7147)}.store-cover-editor>img{width:100%;height:100%;object-fit:cover;display:block}.store-cover-editor:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 35%,rgba(3,24,13,.68))}.store-cover-overlay{position:absolute;right:1.25rem;bottom:1.25rem;z-index:2}.store-profile-strip{display:flex;align-items:center;gap:1rem;padding:0 1.4rem 1.25rem;position:relative;z-index:3}.store-logo-editor{width:112px;height:112px;border-radius:28px;background:var(--surface,#fff);padding:5px;margin-top:-55px;position:relative;box-shadow:0 18px 45px rgba(4,42,23,.2);flex:0 0 auto}.store-logo-editor img{width:100%;height:100%;object-fit:cover;border-radius:23px}.store-logo-editor label{position:absolute;right:-4px;bottom:3px;width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#0f6f3d;color:#fff;cursor:pointer;border:3px solid var(--surface,#fff);font-weight:900}.store-editor-grid{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:1rem;align-items:start}.store-editor-main,.store-editor-side{display:grid;gap:1rem}.store-editor-side{position:sticky;top:88px}.store-verification-card{text-align:center;padding:1.5rem;background:linear-gradient(145deg,rgba(255,255,255,.94),rgba(239,248,242,.92));border:1px solid rgba(23,104,59,.13)}.store-verification-card.is-verified{background:linear-gradient(145deg,rgba(237,248,255,.95),rgba(238,255,247,.95));border-color:rgba(22,135,255,.2)}.store-verification-icon{width:62px;height:62px;border-radius:20px;display:grid;place-items:center;margin:0 auto .85rem;background:#e8f2ec;color:#527263;font-size:1.8rem;font-weight:900}.store-verification-card.is-verified .store-verification-icon{background:#1687ff;color:#fff;box-shadow:0 10px 28px rgba(22,135,255,.24)}.store-verification-card h3{margin:.25rem 0}.store-verification-card p{color:var(--muted,#607166);font-size:.92rem}.store-verification-card small{display:block;margin-top:.75rem;padding:.65rem;border-radius:12px;background:rgba(0,0,0,.035)}.admin-store-controls label{display:grid;gap:.45rem;margin-top:.85rem}.pro-toggle-row{grid-template-columns:auto 1fr!important;align-items:flex-start!important;padding:.75rem;border:1px solid rgba(20,88,49,.12);border-radius:14px;background:rgba(35,120,67,.035);cursor:pointer}.pro-toggle-row input{margin-top:.2rem;width:18px;height:18px}.pro-toggle-row span{display:grid;gap:.12rem}.pro-toggle-row small{color:var(--muted,#68766e)}.pro-toggle-row.warning{background:rgba(242,163,39,.09);border-color:rgba(242,163,39,.25)}.store-policy-card{padding:1.15rem}.store-policy-card h3{margin-top:0}.store-policy-card>div{display:flex;justify-content:space-between;gap:1rem;padding:.8rem 0;border-top:1px solid rgba(20,70,40,.09)}
.store-stat-grid article>span{background:rgba(19,119,62,.09);color:#0e6b39}.store-filter-grid{grid-template-columns:minmax(260px,1fr) 180px 180px auto auto}.store-manager-table .store-cell img{width:48px;height:48px;border-radius:15px;object-fit:cover}.store-manager-table .store-cell>div{display:grid;gap:.15rem}.store-manager-table .store-cell em{font-style:normal;color:#a26b00;font-size:.72rem}.store-metric-row,.moderation-stack{display:grid;gap:.3rem;white-space:nowrap}.policy-chip{display:inline-flex;align-items:center;width:max-content;padding:.3rem .55rem;border-radius:999px;font-size:.72rem;font-weight:800}.policy-chip.on{background:#e1f7e8;color:#086b34}.policy-chip.off{background:#f1f3f2;color:#68736d}.pending-text{color:#a86400}.status.closed{background:#eef0f0;color:#5c6661}
.public-store-card{overflow:hidden}.public-store-cover{height:150px;position:relative;display:block;background:#dfeee3}.public-store-cover img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .4s ease}.public-store-card:hover .public-store-cover img{transform:scale(1.035)}.public-store-cover:after{content:"";position:absolute;inset:45% 0 0;background:linear-gradient(transparent,rgba(3,28,15,.55))}.public-store-cover>em,.public-store-cover>.featured-store-label{position:absolute;z-index:2;color:#fff;font-style:normal;font-weight:800;font-size:.76rem}.public-store-cover>em{right:.7rem;bottom:.65rem}.featured-store-label{left:.7rem;top:.65rem;padding:.34rem .55rem;border-radius:999px;background:rgba(18,79,43,.82);backdrop-filter:blur(8px)}.public-store-logo{width:72px;height:72px;border-radius:22px;object-fit:cover;border:5px solid var(--surface,#fff);margin:-46px auto .55rem;position:relative;z-index:3;box-shadow:0 12px 28px rgba(9,54,31,.18)}.store-location{min-height:1.15rem;color:var(--muted,#65746b)}.store-card-description{min-height:2.8rem;color:var(--muted,#65746b);font-size:.87rem;line-height:1.55}.featured-store{outline:2px solid rgba(191,138,24,.18)}.public-store-profile .pro-store-cover-large{height:330px;overflow:hidden}.public-store-profile .pro-store-cover-large img{width:100%;height:100%;object-fit:cover}.portal-store-logo.image-logo{object-fit:cover}.public-store-about-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(280px,.75fr);gap:1rem}.public-store-about,.public-store-contact{padding:1.35rem}.public-store-about>span{color:#0d7440;font-size:.75rem;font-weight:900;text-transform:uppercase;letter-spacing:.08em}.public-store-about p{line-height:1.8;color:var(--muted,#586b60)}.public-store-contact>div{display:flex;gap:.75rem;padding:.75rem 0;border-top:1px solid rgba(20,70,40,.09)}.public-store-contact>div>span{width:34px;height:34px;border-radius:11px;display:grid;place-items:center;background:#edf7f0}.public-store-contact p{display:grid;margin:0;gap:.16rem}.public-store-contact small{color:var(--muted,#647168)}.store-social-links{display:flex!important;flex-wrap:wrap}.image-cover{overflow:hidden}.image-cover img{width:100%;height:100%;object-fit:cover}.image-avatar{object-fit:cover}.home-store-card .portal-store-cover{height:130px;position:relative}.home-store-card .portal-store-cover>span{position:absolute;left:.6rem;top:.6rem;padding:.3rem .5rem;border-radius:999px;background:rgba(15,91,49,.83);color:#fff;font-size:.7rem;font-weight:800}.seller-chip-avatar{overflow:hidden}.seller-chip-avatar img{width:100%;height:100%;object-fit:cover}.min-order-badge{position:absolute!important;right:.55rem;bottom:.55rem;left:auto!important;top:auto!important;background:rgba(14,85,47,.9)!important;color:#fff!important;border-radius:999px!important;padding:.28rem .48rem!important;font-size:.68rem!important;font-style:normal!important}.product-card button:disabled{opacity:.45;cursor:not-allowed}
html[data-theme="dark"] .store-verification-card{background:linear-gradient(145deg,rgba(20,38,29,.96),rgba(17,48,30,.95))}html[data-theme="dark"] .store-verification-card.is-verified{background:linear-gradient(145deg,rgba(16,38,54,.96),rgba(14,49,32,.96))}html[data-theme="dark"] .store-logo-editor{background:#17231c}html[data-theme="dark"] .store-logo-editor label{border-color:#17231c}html[data-theme="dark"] .public-store-logo{border-color:#17231c}
@media (max-width:1050px){.store-editor-grid{grid-template-columns:1fr}.store-editor-side{position:static;grid-template-columns:repeat(2,minmax(0,1fr))}.store-editor-side>.btn{grid-column:1/-1}.store-filter-grid{grid-template-columns:1fr 1fr}.store-filter-grid .pro-search-field{grid-column:1/-1}.public-store-about-grid{grid-template-columns:1fr}}
@media (max-width:720px){.store-cover-editor{height:190px}.store-profile-strip{align-items:flex-end;padding:0 1rem 1rem;flex-wrap:wrap}.store-logo-editor{width:88px;height:88px;border-radius:22px;margin-top:-42px}.store-logo-editor img{border-radius:18px}.store-profile-strip>.status{margin-left:auto}.store-editor-side{grid-template-columns:1fr}.store-filter-grid{grid-template-columns:1fr}.store-filter-grid .pro-search-field{grid-column:auto}.public-store-profile .pro-store-cover-large{height:210px}.public-store-about-grid{padding-left:.75rem;padding-right:.75rem}.store-manager-table{min-width:930px}.store-cover-overlay{right:.75rem;bottom:.75rem}}

/* Phoumika Kasiphal v4.4.0 Commerce Connect */
.notification-menu{position:relative}.notification-button{position:relative}.notification-button em,.sidebar-count{display:inline-grid;place-items:center;min-width:20px;height:20px;padding:0 5px;border-radius:999px;background:#ef4444;color:#fff;font-style:normal;font-size:11px;font-weight:800}.notification-dropdown{position:absolute;right:0;top:calc(100% + 12px);z-index:120;width:min(390px,92vw);overflow:hidden;border:1px solid var(--line,#dbe7df);border-radius:20px;background:var(--surface,#fff);box-shadow:0 24px 70px rgba(9,46,27,.22)}.notification-dropdown header{display:flex;justify-content:space-between;align-items:center;padding:15px 17px;border-bottom:1px solid var(--line,#e4ece7)}.notification-dropdown>form{padding:10px 14px;border-top:1px solid var(--line,#e4ece7)}.notification-dropdown>form button{width:100%;border:0;background:transparent;color:var(--primary,#08783e);font-weight:700;cursor:pointer}.notification-mini{display:grid;gap:3px;padding:12px 16px;border-bottom:1px solid var(--line,#edf2ef);color:inherit;text-decoration:none}.notification-mini.unread{background:rgba(16,185,129,.09)}.notification-mini b{font-size:14px}.notification-mini span{font-size:12px;color:var(--muted,#66766d);line-height:1.45}.notification-mini small{font-size:10px;color:var(--muted,#85918b)}.notification-loading,.notification-empty{padding:25px;text-align:center;color:var(--muted,#66766d)}
.notification-page-list{display:grid;gap:12px}.notification-row{display:grid;grid-template-columns:auto 1fr auto;gap:14px;align-items:center}.notification-row.unread{border-color:#34d399;background:linear-gradient(135deg,rgba(16,185,129,.08),transparent)}.notification-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:14px;background:rgba(16,185,129,.12);font-size:21px}.notification-row p{margin:4px 0}.notification-row>div:last-child{display:flex;gap:6px;align-items:center}
.address-layout{display:grid;grid-template-columns:minmax(280px,.8fr) minmax(0,1.2fr);gap:18px}.address-list{display:grid;gap:14px}.address-card{position:relative}.address-card.is-default:before{content:'✓';position:absolute;right:14px;top:14px;display:grid;place-items:center;width:28px;height:28px;border-radius:999px;background:#0b8f4d;color:#fff}.inline-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.address-card>form:last-child{position:absolute;right:14px;bottom:14px}
.wallet-stats{grid-template-columns:repeat(auto-fit,minmax(210px,1fr))}.positive{color:#0b8f4d;font-weight:800}.negative{color:#dc2626;font-weight:800}.wallet-admin-card{display:grid;gap:12px}.wallet-admin-card>strong{font-size:26px;color:#08783e}.admin-card-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(310px,1fr));gap:16px}.promotion-layout{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(250px,.7fr);gap:18px;margin-bottom:18px}.promotion-tips ul{display:grid;gap:10px;padding-left:20px}.cost-preview{display:flex;justify-content:space-between;align-items:end;padding:12px;border-radius:14px;background:rgba(16,185,129,.09)}.promotion-admin-card{display:grid;gap:15px}.promotion-admin-meta{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.table-product{display:flex;align-items:center;gap:10px}.table-product img{width:52px;height:52px;border-radius:12px;object-fit:cover}.table-product span{display:grid}.table-product small{color:var(--muted,#66766d)}
.media-editor-card{display:grid;gap:14px}.existing-media-grid,.media-preview-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.existing-media-grid article{position:relative;aspect-ratio:1;border-radius:13px;overflow:hidden;background:#0c1611}.existing-media-grid img,.existing-media-grid video,.media-preview-grid img{width:100%;height:100%;object-fit:cover}.media-remove{position:absolute;right:5px;top:5px;display:grid;place-items:center;width:28px;height:28px;border:0;border-radius:999px;background:rgba(0,0,0,.72);color:#fff;font-size:18px;cursor:pointer}.video-preview{width:100%;max-height:250px;border-radius:14px;background:#07110c}.product-media-thumbs{display:flex;gap:9px;overflow:auto;padding:10px 2px}.product-media-thumbs button{position:relative;flex:0 0 70px;width:70px;height:70px;padding:0;border:2px solid transparent;border-radius:13px;overflow:hidden;background:#e8f1eb;cursor:pointer}.product-media-thumbs button.active{border-color:#10b981}.product-media-thumbs img,.product-media-thumbs video{width:100%;height:100%;object-fit:cover}.product-media-thumbs button>span{position:absolute;z-index:2;inset:0;display:grid;place-items:center;color:#fff;font-size:22px;background:rgba(0,0,0,.25)}.media-main video{width:100%;height:100%;min-height:420px;object-fit:contain;background:#07110c}.media-main img[hidden],.media-main video[hidden]{display:none}
.settings-pro-form{padding-bottom:80px}.settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}.settings-card{display:grid;gap:15px}.settings-card h3{margin:0}.settings-checks,.payment-toggle-grid{display:grid;gap:10px}.settings-checks label,.payment-toggle-grid label{display:flex;gap:10px;align-items:flex-start;padding:12px;border:1px solid var(--line,#dbe7df);border-radius:14px}.settings-checks label span{display:grid}.settings-checks small{color:var(--muted,#66766d)}.sticky-save{position:fixed;right:24px;bottom:24px;z-index:40}.api-doc-layout{display:grid;grid-template-columns:220px minmax(0,1fr);gap:18px}.api-nav{position:sticky;top:90px;height:max-content;display:grid;gap:5px}.api-nav a{padding:9px 11px;border-radius:10px;color:inherit;text-decoration:none}.api-nav a:hover{background:rgba(16,185,129,.1)}.api-sections{display:grid;gap:15px}.api-endpoint header{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.api-method{padding:5px 8px;border-radius:7px;background:#08783e;color:#fff;font-weight:800}.api-endpoint header em{margin-left:auto;color:var(--muted,#66766d)}.api-endpoint pre{overflow:auto;padding:15px;border-radius:13px;background:#07110c;color:#d4fce6}.api-note{padding:12px;border-radius:12px;background:rgba(245,158,11,.12)}
.account-type-picker{display:grid;grid-template-columns:1fr 1fr;gap:10px;border:0;padding:0}.account-type-picker legend{margin-bottom:8px;font-weight:700}.account-type-picker label{position:relative}.account-type-picker input{position:absolute;opacity:0}.account-type-picker span{display:grid;gap:3px;height:100%;padding:13px;border:1px solid var(--line,#dbe7df);border-radius:14px;cursor:pointer}.account-type-picker input:checked+span{border-color:#10b981;background:rgba(16,185,129,.09)}.experience-review-card{margin-top:18px}.review-admin-list{display:grid;gap:12px}.review-admin-list article{display:grid;grid-template-columns:1fr auto;gap:15px;padding:14px;border:1px solid var(--line,#dbe7df);border-radius:14px}.store-review-section{margin-top:26px}.checkout-trust{display:block;margin-top:10px;text-align:center;color:var(--muted,#66766d)}.payment-method-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px}
@media(max-width:900px){.address-layout,.promotion-layout,.settings-grid,.api-doc-layout{grid-template-columns:1fr}.api-nav{position:static;display:flex;overflow:auto}.notification-dropdown{position:fixed;top:72px;right:12px;left:12px;width:auto}.existing-media-grid,.media-preview-grid{grid-template-columns:repeat(3,1fr)}.sticky-save{right:14px;bottom:14px}}
@media(max-width:620px){.notification-row{grid-template-columns:auto 1fr}.notification-row>div:last-child{grid-column:1/-1}.existing-media-grid,.media-preview-grid{grid-template-columns:repeat(2,1fr)}.account-type-picker{grid-template-columns:1fr}.review-admin-list article{grid-template-columns:1fr}.media-main video{min-height:280px}.portal-top-actions .notification-button span{display:none}}

/* v4.5.0 location intelligence, targeting, and control-center UI */
.location-picker{display:grid;gap:14px}.location-select-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.location-coordinates{display:grid;grid-template-columns:1fr 1fr auto;gap:12px;align-items:end}.location-map,.admin-location-map{min-height:360px;border-radius:20px;overflow:hidden;border:1px solid var(--line,#dfe8e2);background:#eef5ef}.location-map-help{color:var(--muted,#66756b)}.admin-map-layout{display:grid;grid-template-columns:minmax(0,2fr) minmax(300px,1fr);gap:18px}.admin-location-map{min-height:650px}.location-marker-list{max-height:650px;overflow:auto;padding:12px}.location-marker-list article{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:12px;border-bottom:1px solid var(--line,#e3e9e5)}.location-marker-list article small{display:block;color:var(--muted,#68776d);margin-top:4px}.home-section-manager{display:grid;gap:18px;margin-top:18px}.home-managed-sections{display:grid;gap:12px;margin:18px 0}.home-managed-card{display:grid;grid-template-columns:auto 1fr auto;gap:14px;align-items:center;padding:18px 20px;border-radius:22px;background:linear-gradient(135deg,rgba(20,128,71,.12),rgba(255,255,255,.86));border:1px solid rgba(20,128,71,.18);box-shadow:0 12px 36px rgba(18,78,45,.08)}.home-managed-card.banner{min-height:180px;background-size:cover;background-position:center;position:relative;overflow:hidden}.home-managed-card.banner:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(4,47,25,.86),rgba(4,47,25,.24))}.home-managed-card.banner>*{position:relative;color:#fff}.home-managed-icon{font-size:30px}.recommendation-badge,.distance-badge{display:inline-flex;align-items:center;gap:5px;border-radius:999px;padding:5px 9px;font-size:11px;font-weight:800}.recommendation-badge{background:#eaf8ef;color:#08733a}.distance-badge{background:#edf4ff;color:#2359a6}.product-card .product-meta-target{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}.compact-number{width:88px!important;min-width:70px}.mini-check{display:block;font-size:12px;margin:4px 0;white-space:nowrap}.role-limit-summary{display:flex;gap:8px;flex-wrap:wrap}.role-limit-summary span{padding:5px 9px;border-radius:999px;background:var(--surface-soft,#f1f6f2);font-size:12px}.location-inline-card{display:grid;grid-template-columns:1fr auto;gap:12px;align-items:center;padding:14px;border-radius:16px;background:var(--surface-soft,#f4f8f5)}
@media(max-width:1000px){.location-select-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-map-layout{grid-template-columns:1fr}.admin-location-map{min-height:480px}.location-marker-list{max-height:420px}}
@media(max-width:640px){.location-select-grid,.location-coordinates{grid-template-columns:1fr}.location-map{min-height:280px}.admin-location-map{min-height:360px}.home-managed-card{grid-template-columns:auto 1fr}.home-managed-card>a{grid-column:1/-1}.table-wrap input.compact-number{min-width:76px}}
.store-distance{margin:-4px 0 10px;color:var(--green,#087c30);font-size:12px;font-weight:800}.store-public-map-section{display:grid;gap:14px}.public-location-map{min-height:420px;padding:0;overflow:hidden}.public-location-map .leaflet-popup-content{display:grid;gap:3px}.location-dataset-note{padding:12px 14px;border-radius:14px;background:rgba(20,128,71,.08);color:var(--muted,#66756b)}.upload-limit-note{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}.upload-limit-note span{padding:5px 9px;border-radius:999px;background:var(--surface-soft,#f1f6f2);font-size:11px;font-weight:700}
@media(max-width:640px){.public-location-map{min-height:300px}}

/* v4.6.0 Chat Relay Pro — Admin / Seller / Buyer / Bot */
.chat-pro-page{display:grid;gap:18px}.chat-pro-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;padding:4px 2px}.chat-pro-heading h2{margin:4px 0 3px;font-size:clamp(25px,3vw,36px);letter-spacing:-.03em}.chat-pro-heading p{max-width:780px;margin:0;color:var(--ui-muted,var(--muted));font-size:13px}.chat-pro-heading-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.chat-live-pill,.chat-bot-pill{display:inline-flex;align-items:center;gap:7px;padding:8px 11px;border:1px solid var(--ui-border,var(--line));border-radius:999px;background:color-mix(in srgb,var(--ui-surface,#fff) 82%,transparent);font-size:11px;font-weight:850;backdrop-filter:blur(18px)}.chat-live-pill i{width:8px;height:8px;border-radius:50%;background:#16a34a;box-shadow:0 0 0 5px rgba(22,163,74,.12);animation:chatPulse 1.8s infinite}.chat-bot-pill{color:#08783e;background:rgba(16,185,129,.1);border-color:rgba(16,185,129,.22)}@keyframes chatPulse{50%{box-shadow:0 0 0 9px rgba(22,163,74,0)}}
.chat-pro-grid{display:grid;grid-template-columns:minmax(280px,340px) minmax(440px,1fr) minmax(260px,320px);gap:14px;min-height:690px;align-items:stretch}.chat-pro-grid.no-thread{grid-template-columns:minmax(300px,380px) 1fr}.chat-pro-inbox,.chat-pro-thread,.chat-pro-context,.chat-pro-welcome{padding:0;overflow:hidden;border-radius:24px;box-shadow:0 18px 55px rgba(15,67,35,.07)}.chat-pro-inbox{display:flex;flex-direction:column;min-width:0}.chat-pro-inbox-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:17px 17px 12px;border-bottom:1px solid var(--ui-border,var(--line))}.chat-pro-inbox-head b,.chat-pro-inbox-head small{display:block}.chat-pro-inbox-head small{color:var(--ui-muted,var(--muted));font-size:10px}.chat-compose-card{display:grid;gap:10px;margin:12px;padding:14px;border:1px solid rgba(16,185,129,.25);border-radius:18px;background:linear-gradient(145deg,rgba(236,253,245,.92),rgba(255,255,255,.96));box-shadow:0 16px 35px rgba(13,91,47,.08)}.chat-compose-card[hidden]{display:none}.chat-compose-card h3{margin:0 0 3px}.chat-compose-card label,.chat-settings-grid label{display:grid;gap:5px;font-size:11px;font-weight:800}.chat-compose-card input,.chat-compose-card select,.chat-compose-card textarea{width:100%;min-width:0}.chat-image-field{padding:10px 12px;border:1px dashed #9bc8a8;border-radius:12px;background:rgba(255,255,255,.68);cursor:pointer}.chat-image-field input{font-size:10px}.chat-image-preview{width:100%;max-height:180px;object-fit:contain;border:1px solid var(--ui-border,var(--line));border-radius:13px;background:#0b1510}.chat-filter{display:grid;grid-template-columns:1fr 120px auto;gap:7px;padding:10px 12px;border-bottom:1px solid var(--ui-border,var(--line))}.chat-filter input,.chat-filter select{min-width:0;padding:9px 10px!important;font-size:10px}.chat-thread-list{flex:1;min-height:0;overflow:auto;padding:7px}.chat-thread-item{position:relative;display:grid;grid-template-columns:42px 1fr auto;gap:10px;align-items:start;padding:11px;border:1px solid transparent;border-radius:16px;transition:.18s}.chat-thread-item:hover{background:var(--ui-surface-2,#f1f6f2)}.chat-thread-item.active{background:linear-gradient(135deg,rgba(16,185,129,.14),rgba(16,185,129,.04));border-color:rgba(16,185,129,.25)}.chat-thread-item.unread .chat-thread-copy strong{font-weight:900}.chat-thread-avatar{width:42px;height:42px;display:grid;place-items:center;overflow:hidden;border-radius:14px;background:linear-gradient(135deg,#dff6e7,#f7fff9);font-size:19px}.chat-thread-avatar img{width:100%;height:100%;object-fit:cover}.chat-thread-copy{min-width:0}.chat-thread-copy>span{display:flex;justify-content:space-between;gap:7px;align-items:center}.chat-thread-copy b,.chat-thread-copy strong,.chat-thread-copy small,.chat-thread-copy em{display:block;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.chat-thread-copy b{font-size:12px}.chat-thread-copy time{color:var(--ui-muted,var(--muted));font-size:8px;white-space:nowrap}.chat-thread-copy strong{margin-top:2px;font-size:11px}.chat-thread-copy small{margin-top:2px;color:var(--ui-muted,var(--muted));font-size:9px}.chat-thread-copy em{margin-top:6px;color:var(--ui-muted,var(--muted));font-size:8px;font-style:normal}.status-dot{display:inline-block;width:7px;height:7px;margin-right:5px;border-radius:50%;background:#94a3b8}.status-dot.open,.status-dot.waiting_buyer{background:#22c55e}.status-dot.waiting_seller,.status-dot.waiting_admin{background:#f59e0b}.status-dot.resolved{background:#3b82f6}.status-dot.closed,.status-dot.blocked{background:#64748b}.chat-unread{align-self:center;min-width:21px;height:21px;display:grid;place-items:center;padding:0 5px;border-radius:999px;background:#e11d48;color:#fff;font-size:9px;font-weight:900}.chat-empty-list{display:grid;place-items:center;text-align:center;padding:50px 22px;color:var(--ui-muted,var(--muted))}.chat-empty-list span{font-size:34px}.chat-empty-list b{color:var(--ui-text,#14261b);margin-top:8px}.chat-empty-list p{font-size:11px}.chat-disabled{padding:20px}.chat-disabled p{margin-bottom:0;color:var(--ui-muted,var(--muted))}
.chat-pro-thread{display:flex;flex-direction:column;min-width:0;background:color-mix(in srgb,var(--ui-surface,#fff) 94%,transparent)}.chat-thread-header{min-height:74px;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 16px;border-bottom:1px solid var(--ui-border,var(--line));background:rgba(255,255,255,.64);backdrop-filter:blur(18px)}.chat-thread-identity{display:flex;align-items:center;gap:10px;min-width:0}.chat-thread-identity>span{width:44px;height:44px;display:grid;place-items:center;border-radius:15px;background:linear-gradient(135deg,#d9f8e5,#effcf3);font-size:21px}.chat-thread-identity b,.chat-thread-identity small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.chat-thread-identity small{color:var(--ui-muted,var(--muted));font-size:9px}.chat-thread-header-actions{display:flex;align-items:center;gap:6px}.chat-thread-header-actions form{margin:0}.chat-privacy-banner{display:flex;align-items:center;justify-content:center;gap:7px;padding:8px 12px;border-bottom:1px solid rgba(16,185,129,.15);background:rgba(16,185,129,.07);color:#237344;font-size:9px;font-weight:700;text-align:center}.chat-message-stream{flex:1;min-height:420px;max-height:650px;overflow:auto;padding:22px 18px;background:radial-gradient(circle at 10% 0,rgba(174,239,197,.19),transparent 28%),linear-gradient(180deg,rgba(247,251,248,.92),rgba(241,247,243,.82));scroll-behavior:smooth}.chat-message{max-width:min(78%,620px);width:max-content;margin:0 0 12px;padding:11px 13px;border:1px solid rgba(35,80,51,.09);border-radius:17px 17px 17px 5px;background:#fff;box-shadow:0 8px 25px rgba(23,69,39,.06)}.chat-message.me{margin-left:auto;border-radius:17px 17px 5px 17px;background:linear-gradient(135deg,#d9f8e4,#ebfff1);border-color:#b8e8c8}.chat-message.bot{background:linear-gradient(135deg,#eef7ff,#f8fbff);border-color:#cfe0f5}.chat-message.support{background:linear-gradient(135deg,#fff8df,#fffdf3);border-color:#f0dda0}.chat-message.system{max-width:90%;margin:10px auto;text-align:center;background:rgba(100,116,139,.09);border-style:dashed;box-shadow:none}.chat-message.internal{margin-left:auto;background:linear-gradient(135deg,#f3e8ff,#fbf7ff);border-color:#ddc3f5}.chat-message-meta{display:flex;align-items:center;gap:7px;margin-bottom:5px}.chat-message-meta b{font-size:9px;color:#166534}.chat-message-meta time{margin-left:auto;color:#8a9a8f;font-size:8px}.chat-message-meta em{padding:2px 6px;border-radius:999px;background:#7e22ce;color:#fff;font-size:7px;font-style:normal}.chat-message p{margin:0;font-size:12px;white-space:normal;overflow-wrap:anywhere}.chat-attachment{display:grid;gap:5px;margin-top:8px}.chat-attachment img{max-width:min(330px,100%);max-height:300px;border-radius:12px;object-fit:cover}.chat-attachment span{font-size:8px;color:var(--ui-muted,var(--muted))}.chat-no-messages{display:grid;place-items:center;gap:7px;min-height:340px;color:var(--ui-muted,var(--muted))}.chat-no-messages span{font-size:42px}.chat-reply-box{display:grid;gap:8px;padding:11px 13px calc(11px + env(safe-area-inset-bottom,0px));border-top:1px solid var(--ui-border,var(--line));background:rgba(255,255,255,.78);backdrop-filter:blur(18px)}.chat-reply-tools{display:flex;align-items:center;gap:12px;color:var(--ui-muted,var(--muted));font-size:9px}.chat-reply-tools>label:first-child{display:grid;place-items:center;width:31px;height:31px;border-radius:10px;background:var(--ui-surface-2,#f1f6f2);cursor:pointer;font-size:15px}.chat-reply-tools input[type=file]{display:none}.chat-internal-toggle{display:flex!important;align-items:center;gap:5px;color:#7e22ce;font-weight:800}.chat-reply-main{display:grid;grid-template-columns:1fr auto;gap:8px;align-items:end}.chat-reply-main textarea{min-height:48px;max-height:140px;resize:vertical;border-radius:15px!important}.chat-reply-main .btn{height:48px}.chat-closed-box{padding:17px;text-align:center;color:var(--ui-muted,var(--muted));background:var(--ui-surface-2,#f1f6f2)}
.chat-pro-context{align-self:stretch;padding:17px;overflow:auto}.chat-pro-context section+section{margin-top:22px;padding-top:18px;border-top:1px solid var(--ui-border,var(--line))}.chat-pro-context h3{margin:6px 0 13px;font-size:17px;line-height:1.35}.chat-context-list{display:grid;gap:0;margin:0}.chat-context-list>div{display:grid;grid-template-columns:86px 1fr;gap:9px;padding:9px 0;border-bottom:1px solid var(--ui-border,var(--line))}.chat-context-list dt{color:var(--ui-muted,var(--muted));font-size:9px}.chat-context-list dd{margin:0;font-size:10px;font-weight:750;overflow-wrap:anywhere}.chat-context-list a{color:#07833f}.chat-admin-controls{display:grid;gap:13px}.chat-admin-controls form{display:grid;gap:9px}.chat-admin-controls label{display:grid;gap:5px;font-size:10px;font-weight:800}.chat-pro-welcome{display:grid;place-items:center;min-height:580px;padding:40px;background:radial-gradient(circle at 50% 20%,rgba(134,239,172,.23),transparent 34%),var(--ui-surface,#fff);text-align:center}.chat-pro-welcome>div{max-width:520px}.chat-pro-welcome span{display:grid;place-items:center;width:86px;height:86px;margin:0 auto 17px;border-radius:28px;background:linear-gradient(145deg,#dff8e7,#f5fff8);font-size:42px;box-shadow:0 18px 50px rgba(20,120,63,.12)}.chat-pro-welcome h2{font-size:30px;margin:0 0 8px}.chat-pro-welcome p{color:var(--ui-muted,var(--muted));margin:0 0 20px}.chat-settings-panel{padding:15px 18px}.chat-settings-panel summary{cursor:pointer;font-weight:850}.chat-settings-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:15px}.chat-settings-grid .toggle-line{display:flex;align-items:flex-start;gap:9px;padding:11px;border:1px solid var(--ui-border,var(--line));border-radius:14px}.toggle-line span{display:grid}.toggle-line small{color:var(--ui-muted,var(--muted));font-weight:500}.chat-top-action{position:relative}.chat-top-action em{min-width:18px;height:18px;display:grid;place-items:center;padding:0 4px;border-radius:999px;background:#e11d48;color:#fff;font-size:8px;font-style:normal;font-weight:900}
html[data-theme="dark"] .chat-compose-card{background:linear-gradient(145deg,rgba(14,57,35,.95),rgba(20,35,26,.96))}html[data-theme="dark"] .chat-thread-header,html[data-theme="dark"] .chat-reply-box{background:rgba(20,35,26,.82)}html[data-theme="dark"] .chat-message-stream{background:radial-gradient(circle at 10% 0,rgba(22,101,52,.25),transparent 28%),linear-gradient(180deg,#101c15,#0e1913)}html[data-theme="dark"] .chat-message{background:#1a2b20;border-color:#31473a;color:#edf6ef}html[data-theme="dark"] .chat-message.me{background:linear-gradient(135deg,#155b34,#1b6b3d);border-color:#2c8651}html[data-theme="dark"] .chat-message.bot{background:#172a38;border-color:#294b64}html[data-theme="dark"] .chat-message.support{background:#3a3018;border-color:#6f5c22}html[data-theme="dark"] .chat-message.internal{background:#38224a;border-color:#65407f}html[data-theme="dark"] .chat-thread-avatar,html[data-theme="dark"] .chat-thread-identity>span,html[data-theme="dark"] .chat-pro-welcome span{background:#1d3425}html[data-theme="dark"] .chat-privacy-banner{color:#9ce8b5;background:rgba(16,185,129,.12)}html[data-theme="dark"] .chat-empty-list b{color:#edf6ef}
@media(max-width:1250px){.chat-pro-grid{grid-template-columns:300px minmax(420px,1fr)}.chat-pro-context{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:20px}.chat-pro-context section+section{margin:0;padding:0 0 0 20px;border-top:0;border-left:1px solid var(--ui-border,var(--line))}.chat-settings-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:900px){.chat-pro-heading{align-items:flex-start;flex-direction:column}.chat-pro-grid,.chat-pro-grid.no-thread{grid-template-columns:1fr;min-height:0}.chat-pro-inbox{max-height:440px}.chat-pro-grid.has-thread .chat-pro-inbox{max-height:300px}.chat-thread-list{max-height:320px}.chat-message-stream{max-height:62vh;min-height:430px}.chat-pro-context{grid-template-columns:1fr}.chat-pro-context section+section{padding:18px 0 0;border-left:0;border-top:1px solid var(--ui-border,var(--line))}.chat-settings-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.chat-pro-heading-actions{width:100%}.chat-pro-grid{gap:10px}.chat-pro-inbox,.chat-pro-thread,.chat-pro-context,.chat-pro-welcome{border-radius:18px}.chat-filter{grid-template-columns:1fr 105px}.chat-filter button{grid-column:1/-1}.chat-thread-header{align-items:flex-start;flex-direction:column}.chat-thread-header-actions{width:100%;overflow:auto}.chat-thread-header-actions .btn{white-space:nowrap}.chat-message-stream{min-height:400px;padding:15px 10px}.chat-message{max-width:88%}.chat-reply-main{grid-template-columns:1fr}.chat-reply-main .btn{height:42px}.chat-reply-tools>span{margin-left:auto}.chat-context-list>div{grid-template-columns:75px 1fr}.chat-settings-grid{grid-template-columns:1fr}.chat-live-pill,.chat-bot-pill{flex:1;justify-content:center}.chat-pro-welcome{min-height:430px;padding:25px 16px}}

/* ================================================================
   Phoumika Kasiphal v4.7.0 — Mobile Smart Operations
   ================================================================ */
.category-slider-shell{position:relative;display:grid;grid-template-columns:40px minmax(0,1fr) 40px;align-items:center;gap:10px}.category-swipe-row{display:flex!important;grid-template-columns:none!important;gap:10px;overflow-x:auto;overscroll-behavior-inline:contain;scroll-snap-type:x mandatory;scrollbar-width:none;padding:4px 2px 10px;min-width:0}.category-swipe-row::-webkit-scrollbar{display:none}.category-swipe-row>a{flex:0 0 clamp(112px,12vw,148px);min-height:82px!important;padding:12px 10px!important;border-radius:18px!important;scroll-snap-align:start;display:flex!important;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:7px}.category-swipe-row>a span{font-size:1.55rem!important}.category-swipe-row>a b{font-size:.82rem;line-height:1.25;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.category-swipe-row>a small{display:none!important}.category-slide-btn{width:38px;height:38px;border-radius:50%;border:1px solid var(--line,#dce8df);background:var(--card,#fff);color:var(--green,#08743f);font-size:1.8rem;display:grid;place-items:center;cursor:pointer;box-shadow:0 8px 24px rgba(6,70,38,.1);transition:.2s transform,.2s opacity}.category-slide-btn:hover{transform:scale(1.06)}.category-slide-btn:disabled{opacity:.25;cursor:default;transform:none}

.wallet-action-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:18px 0}.wallet-request-card{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:16px}.wallet-request-card h3{margin:.15rem 0}.wallet-request-card p{margin:0;color:var(--muted,#647469)}.wallet-request-icon{width:52px;height:52px;border-radius:18px;display:grid;place-items:center;background:linear-gradient(135deg,#e0f6e7,#c8eed5);color:#08743f;font-size:1.8rem;font-weight:800}.wallet-request-form{margin-bottom:18px;animation:walletReveal .24s ease both}.wallet-request-form[hidden]{display:none!important}@keyframes walletReveal{from{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:none}}.upload-drop{border:1px dashed #9fcbb0;border-radius:16px;padding:14px;background:rgba(16,132,72,.04)}.processing-inline{align-items:center;gap:8px;color:#08743f}.processing-inline:not([hidden]){display:flex}.spinner{width:18px;height:18px;border:2px solid #b8dec5;border-top-color:#08743f;border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.live-pill{display:inline-flex;align-items:center;gap:7px;padding:7px 11px;border-radius:999px;background:#eaf8ef;color:#08743f;font-size:.78rem;font-weight:800}.live-pill i{width:8px;height:8px;border-radius:50%;background:#1db762;box-shadow:0 0 0 5px rgba(29,183,98,.12);animation:livePulse 1.8s infinite}@keyframes livePulse{50%{box-shadow:0 0 0 9px rgba(29,183,98,0)}}.proof-thumb{display:block;width:56px;height:56px;border-radius:12px;overflow:hidden;border:1px solid var(--line,#dce8df)}.proof-thumb img{width:100%;height:100%;object-fit:cover}.request-review-form{display:grid;grid-template-columns:minmax(110px,1fr) minmax(130px,1.5fr) auto;gap:7px;align-items:center;min-width:410px}

.telegram-connect-grid{display:grid;grid-template-columns:1.3fr .7fr;gap:18px;margin-bottom:18px}.telegram-status-card{display:flex;align-items:center;gap:20px;min-height:180px;background:linear-gradient(135deg,rgba(32,158,220,.08),rgba(11,116,63,.06))}.telegram-status-card.connected{border-color:#8bd2a6;background:linear-gradient(135deg,rgba(29,183,98,.12),rgba(32,158,220,.06))}.telegram-orb{width:82px;height:82px;border-radius:26px;display:grid;place-items:center;background:linear-gradient(145deg,#25a9e8,#0e83c7);color:white;font-size:2.3rem;box-shadow:0 14px 38px rgba(14,131,199,.24)}.telegram-benefits ul{list-style:none;padding:0;margin:15px 0 0;display:grid;gap:11px}.telegram-benefits li{padding:10px 12px;border-radius:12px;background:rgba(11,116,63,.055)}.telegram-connect-steps ol{list-style:none;padding:0;margin:20px 0;display:grid;gap:14px}.telegram-connect-steps li{display:grid;grid-template-columns:42px 1fr;gap:14px;align-items:start;padding:15px;border:1px solid var(--line,#dce8df);border-radius:16px}.telegram-connect-steps li>span{width:38px;height:38px;border-radius:14px;background:#08743f;color:#fff;display:grid;place-items:center;font-weight:900}.telegram-connect-steps li div{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.telegram-connect-steps li b{flex-basis:100%}.telegram-btn{background:#229ed9!important;color:#fff!important;border-color:#229ed9!important}.info-banner{padding:13px 15px;border-radius:14px;background:#eef7ff;color:#215f85}.code-block{display:block;white-space:normal;overflow-wrap:anywhere;padding:12px;border-radius:12px;background:rgba(0,0,0,.06);margin:12px 0}.detail-list{display:grid;gap:10px}.detail-list>div{display:grid;grid-template-columns:140px 1fr;gap:10px;padding:10px 0;border-bottom:1px solid var(--line,#e4ebe6)}.detail-list dt{color:var(--muted,#66756b)}.detail-list dd{margin:0;font-weight:700;overflow-wrap:anywhere}

.faq-admin-list{display:grid;gap:14px;margin-top:18px}.faq-admin-card summary{display:flex;align-items:center;justify-content:space-between;gap:12px;cursor:pointer}.faq-admin-card summary span:first-child{display:grid;gap:4px}.faq-admin-card summary small{color:var(--muted,#6d7c72);font-weight:400}.faq-admin-card form{margin-top:18px}.faq-admin-card[data-disabled]{opacity:.72}

.smart-toast-stack{position:fixed;right:max(18px,env(safe-area-inset-right));top:84px;z-index:9999;width:min(380px,calc(100vw - 28px));display:grid;gap:10px;pointer-events:none}.smart-toast{pointer-events:auto;display:grid;grid-template-columns:42px 1fr 28px;gap:10px;align-items:center;padding:13px;border-radius:18px;background:rgba(255,255,255,.94);border:1px solid rgba(8,116,63,.18);box-shadow:0 18px 55px rgba(4,54,29,.2);backdrop-filter:blur(18px);color:var(--text,#17231b);text-decoration:none;opacity:0;transform:translateX(25px);transition:.25s ease}.smart-toast.show{opacity:1;transform:none}.smart-toast>span{width:40px;height:40px;border-radius:14px;background:#e4f6ea;display:grid;place-items:center}.smart-toast div{display:grid;gap:3px;min-width:0}.smart-toast b,.smart-toast small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.smart-toast small{color:var(--muted,#69786e)}.smart-toast button{border:0;background:transparent;font-size:1.25rem;cursor:pointer;color:#78837b}.wallet-top-action em,.mobile-app-nav em{background:#f04455!important;color:#fff!important}

.mobile-app-nav{display:none}.is-standalone .portal-topbar{padding-top:env(safe-area-inset-top)}

@media(max-width:900px){.category-slider-shell{grid-template-columns:minmax(0,1fr)}.category-slide-btn{display:none}.category-swipe-row{margin-inline:-2px}.category-swipe-row>a{flex-basis:105px;min-height:76px!important}.wallet-action-grid,.telegram-connect-grid{grid-template-columns:1fr}.wallet-request-card{grid-template-columns:auto 1fr}.wallet-request-card>.btn{grid-column:1/-1;width:100%}.request-review-form{min-width:360px}.telegram-status-card{min-height:auto}.mobile-app-nav{position:fixed;display:grid;grid-template-columns:repeat(5,1fr);left:10px;right:10px;bottom:max(8px,env(safe-area-inset-bottom));z-index:1100;min-height:64px;padding:6px;border:1px solid rgba(8,92,49,.16);border-radius:22px;background:rgba(255,255,255,.94);box-shadow:0 16px 55px rgba(3,50,26,.2);backdrop-filter:blur(20px)}.mobile-app-nav a{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;border-radius:16px;color:#67736b;text-decoration:none;font-size:.68rem;min-width:0}.mobile-app-nav a>span{font-size:1.25rem;line-height:1}.mobile-app-nav a b{font-weight:700;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mobile-app-nav a.active{color:#08743f;background:#e8f6ed}.mobile-app-nav em{position:absolute;top:3px;right:calc(50% - 22px);min-width:17px;height:17px;border-radius:999px;display:grid;place-items:center;font-size:.58rem;font-style:normal;font-weight:800}.portal-main{padding-bottom:calc(88px + env(safe-area-inset-bottom))!important}.portal-footer{padding-bottom:calc(82px + env(safe-area-inset-bottom))}.smart-toast-stack{top:auto;bottom:calc(84px + env(safe-area-inset-bottom));right:14px}.portal-top-actions .wallet-top-action span{display:none}.portal-top-actions .wallet-top-action{width:40px;padding-inline:0;justify-content:center}.portal-content{overflow-x:clip}.table-wrap{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.chat-pro-layout{min-height:calc(100dvh - 180px)}.chat-reply-box{position:sticky;bottom:calc(74px + env(safe-area-inset-bottom));z-index:10;background:var(--card,#fff)}}

@media(max-width:560px){.portal-section{padding-inline:0}.portal-section-head{padding-inline:2px}.category-swipe-row>a{flex-basis:96px;padding:10px 7px!important}.category-swipe-row>a span{font-size:1.35rem!important}.category-swipe-row>a b{font-size:.74rem}.wallet-request-card{padding:14px}.telegram-status-card{align-items:flex-start;flex-direction:column}.telegram-orb{width:64px;height:64px;border-radius:20px}.telegram-connect-steps li{grid-template-columns:34px 1fr;padding:12px}.telegram-connect-steps li>span{width:32px;height:32px}.form-grid{grid-template-columns:1fr!important}.form-grid .full{grid-column:auto!important}.panel{border-radius:18px}.pro-page-head{gap:12px}.pro-page-head .head-actions{width:100%;display:grid;grid-template-columns:1fr 1fr}.pro-page-head .head-actions .btn{width:100%;padding-inline:8px}.smart-toast{grid-template-columns:38px 1fr 24px;padding:11px;border-radius:16px}.mobile-app-nav{left:6px;right:6px;bottom:max(5px,env(safe-area-inset-bottom));border-radius:19px}.portal-hero{border-radius:20px}.portal-hero-actions{display:grid;grid-template-columns:1fr}.portal-hero-actions .btn{width:100%}.notification-dropdown{position:fixed!important;left:10px!important;right:10px!important;top:68px!important;width:auto!important;max-height:70dvh;overflow:auto}.request-review-form{min-width:320px}}

[data-theme="dark"] .smart-toast,[data-theme="dark"] .mobile-app-nav{background:rgba(18,30,22,.95);border-color:rgba(122,204,151,.18)}[data-theme="dark"] .wallet-request-icon{background:rgba(32,164,86,.16)}[data-theme="dark"] .telegram-status-card{background:linear-gradient(135deg,rgba(32,158,220,.13),rgba(23,112,63,.12))}[data-theme="dark"] .live-pill{background:rgba(29,183,98,.14)}

@media(prefers-reduced-motion:reduce){.category-swipe-row{scroll-behavior:auto}.smart-toast,.wallet-request-form,.live-pill i,.spinner{animation:none!important;transition:none!important}}

.smart-ops-status .stat-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:14px 0}.smart-ops-status .stat-row>span{display:grid;gap:5px;padding:14px;border:1px solid var(--line,#dce8df);border-radius:15px;background:rgba(8,116,63,.035)}.smart-ops-status .stat-row small{color:var(--muted,#68776d)}.smart-ops-status code{display:block;overflow-wrap:anywhere;padding:10px 12px;border-radius:12px;background:rgba(0,0,0,.055)}@media(max-width:700px){.smart-ops-status .stat-row{grid-template-columns:1fr}}

/* v4.7.1 secure bot relay */
.chat-relay-lock-card{display:flex;align-items:flex-start;gap:12px;padding:13px 15px;margin:0 0 14px;border:1px solid color-mix(in srgb,var(--primary,#147a4b) 24%,transparent);border-radius:16px;background:linear-gradient(135deg,color-mix(in srgb,var(--primary,#147a4b) 9%,var(--card,#fff)),color-mix(in srgb,#2a9d6f 4%,var(--card,#fff)));box-shadow:0 8px 30px rgba(15,77,48,.07)}
.chat-relay-lock-icon{display:grid;place-items:center;width:38px;height:38px;flex:0 0 38px;border-radius:12px;background:color-mix(in srgb,var(--primary,#147a4b) 14%,transparent);font-size:19px}
.chat-relay-lock-card div{display:grid;gap:3px;min-width:0}.chat-relay-lock-card b{font-size:.94rem;line-height:1.35}.chat-relay-lock-card small{color:var(--muted,#667085);line-height:1.45}.chat-relay-lock-card em{font-style:normal;color:var(--primary,#147a4b);font-size:.78rem;font-weight:700;margin-top:2px}
.chat-message.relay .chat-message-author::before,.chat-message.bot .chat-message-author::before{content:'🛡 ';font-size:.8em}
@media(max-width:700px){.chat-relay-lock-card{margin-inline:-2px;padding:11px 12px;border-radius:14px}.chat-relay-lock-icon{width:34px;height:34px;flex-basis:34px}.chat-relay-lock-card b{font-size:.86rem}.chat-relay-lock-card small{font-size:.75rem}.chat-relay-lock-card em{font-size:.72rem}}
.chat-message-meta .telegram-source{background:rgba(34,158,217,.12);color:#1479a8;border:1px solid rgba(34,158,217,.2)}


/* v4.7.2 realtime relay, delivery state, product context, and store-team UI */
.chat-product-context{display:grid;grid-template-columns:72px minmax(0,1fr);gap:12px;align-items:center;padding:10px;margin-top:6px;border:1px solid color-mix(in srgb,var(--green,#0d7a45) 20%,transparent);border-radius:16px;background:color-mix(in srgb,var(--green-soft,#eefaf3) 72%,transparent);color:inherit;text-decoration:none}.chat-product-context:hover{transform:translateY(-1px);box-shadow:0 10px 24px rgba(12,76,45,.11)}.chat-product-context-image{width:72px;height:72px;border-radius:13px;display:grid;place-items:center;overflow:hidden;background:rgba(255,255,255,.72);font-size:28px}.chat-product-context-image img{width:100%;height:100%;object-fit:cover}.chat-product-context>span:last-child{min-width:0;display:grid;gap:2px}.chat-product-context small{font-weight:700;color:var(--green,#0d7a45)}.chat-product-context b,.chat-product-context em,.chat-product-context strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-product-context em{font-style:normal;color:var(--muted,#6b7280);font-size:.82rem}.chat-product-context strong{font-size:.78rem}.chat-delivery-status{display:block;margin-top:5px;text-align:right;font-size:.72rem;color:var(--muted,#64748b)}.chat-delivery-status.delivered{color:#2874a6}.chat-delivery-status.read{color:var(--green,#0d7a45);font-weight:700}.chat-delivery-status.read::before{content:'✓✓ '}.chat-delivery-status.delivered::before{content:'✓✓ '}.chat-delivery-status.sent::before{content:'✓ '}.chat-send-error{display:block;color:#b42318;font-weight:700;padding:6px 10px}.chat-reply-box[data-chat-sending="1"]{opacity:.82}.product-context-message{max-width:min(540px,90%)}
[data-engagement-form] button{transition:transform .18s ease,background .18s ease,color .18s ease}[data-engagement-form] button:active{transform:scale(.97)}[data-engagement-form][data-engagement-busy="1"]{pointer-events:none;opacity:.72}
.store-team-page{display:grid;gap:18px}.store-team-add,.store-team-member{border-radius:20px}.store-team-scope{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:8px;max-height:240px;overflow:auto;padding:10px;border:1px solid var(--border,#e5e7eb);border-radius:14px}.store-team-scope label{display:flex;gap:8px;align-items:flex-start;font-size:.88rem}.store-team-permissions{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:8px}.store-team-permissions label{display:flex;gap:8px;align-items:center;padding:9px 10px;border-radius:12px;background:var(--surface-soft,#f7faf8)}
@media(max-width:720px){.chat-product-context{grid-template-columns:58px minmax(0,1fr);padding:8px}.chat-product-context-image{width:58px;height:58px}.chat-message-stream{padding-left:10px;padding-right:10px}.chat-reply-box{position:sticky;bottom:calc(var(--mobile-nav-height,64px) + env(safe-area-inset-bottom));z-index:8;background:var(--surface,#fff);box-shadow:0 -10px 25px rgba(15,23,42,.08)}.chat-reply-main{gap:7px}.chat-reply-main textarea{font-size:16px}.chat-reply-main .btn{min-width:58px;padding-inline:12px}.store-team-scope{grid-template-columns:1fr 1fr;max-height:210px}}

.store-team-form{display:grid;gap:14px}.store-team-form>label{display:grid;gap:6px}.store-team-list{display:grid;gap:16px}.store-team-card{display:grid;gap:14px}.store-team-card>header{display:flex;align-items:center;justify-content:space-between;gap:12px}.store-team-person{display:flex;align-items:center;gap:10px;min-width:0}.store-team-person>span{width:44px;height:44px;border-radius:14px;background:var(--green-soft,#eaf8ef);display:grid;place-items:center;font-weight:800;color:var(--green,#0d7a45)}.store-team-person div{display:grid;min-width:0}.store-team-person small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.scope-check-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:8px;padding:12px 0}.scope-check-grid label{display:flex;gap:7px;align-items:flex-start;font-size:.86rem}.store-team-card details{border:1px solid var(--border,#e5e7eb);border-radius:13px;padding:10px 12px}.store-team-card summary{cursor:pointer;font-weight:700}@media(max-width:640px){.store-team-card>header{align-items:flex-start;flex-direction:column}.scope-check-grid{grid-template-columns:1fr 1fr}}

/* v5.1.0 product options, category media, and buyer delivery confirmation */
.product-variant-section{margin-top:18px}.variant-builder-list{display:grid;gap:14px;margin:14px 0}.variant-builder-row{position:relative;padding:16px;border:1px solid var(--line,#dfe8e2);border-radius:18px;background:color-mix(in srgb,var(--panel,#fff) 92%,var(--green-soft,#eefaf3))}.variant-builder-row>.btn{position:absolute;right:12px;top:12px}.variant-builder-row .form-grid{padding-top:24px}.product-option-selectors{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;width:100%}.product-option-selectors label{display:grid;gap:6px;font-weight:700}.product-option-selectors em{color:#b42318}.selected-option-list{display:flex;flex-wrap:wrap;gap:6px;margin-top:7px}.selected-option-list span,.order-item-with-options small em{display:inline-flex;padding:4px 8px;border-radius:999px;background:var(--green-soft,#eefaf3);color:var(--green,#0d7a45);font-size:.76rem;font-style:normal}.order-item-with-options>span{display:grid;gap:7px}.order-item-with-options small{display:flex;flex-wrap:wrap;gap:6px}.receive-confirm-card{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:20px 0;border-color:color-mix(in srgb,var(--green,#0d7a45) 32%,var(--line,#dfe8e2));background:linear-gradient(135deg,color-mix(in srgb,var(--green-soft,#eefaf3) 84%,transparent),var(--panel,#fff))}.receive-confirm-card>div{display:flex;align-items:flex-start;gap:12px}.receive-confirm-card>div>span{font-size:2rem}.receive-confirm-card h3,.receive-confirm-card p{margin:0}.category-media-admin-list form{grid-template-columns:72px minmax(90px,.5fr) minmax(220px,1.5fr) minmax(150px,1fr) 82px auto auto auto;align-items:center}.category-media-preview{width:64px;height:64px;border-radius:16px;overflow:hidden;display:grid;place-items:center;background:var(--green-soft,#eefaf3);font-size:28px}.category-media-preview img,.home-category-media img{width:100%;height:100%;object-fit:cover}.category-image-upload{font-size:.78rem}.category-image-upload input{font-size:.72rem;padding:7px}.home-category-media{overflow:hidden}.home-category-media img{border-radius:50%}
@media(max-width:900px){.product-option-selectors{grid-template-columns:1fr}.category-media-admin-list form{grid-template-columns:64px 1fr}.category-media-admin-list form>*{min-width:0}.category-media-admin-list .category-name-stack,.category-media-admin-list .category-image-upload{grid-column:2}.receive-confirm-card{align-items:stretch;flex-direction:column}.receive-confirm-card form .btn{width:100%}}

/* v5.2.0 Admin Relay audit and realtime delivery states */
.chat-message-meta .admin-relay-source{background:rgba(99,102,241,.11);color:#5146c8;border:1px solid rgba(99,102,241,.2)}
.chat-delivery-status.queued{color:#9a6700}.chat-delivery-status.queued::before{content:'⏳ '}
.chat-delivery-status.failed{color:#b42318;font-weight:700}.chat-delivery-status.failed::before{content:'⚠ '}
[data-theme="dark"] .chat-message-meta .admin-relay-source{background:rgba(129,140,248,.15);color:#c7d2fe;border-color:rgba(165,180,252,.22)}

/* v5.2.3 Store-to-Store Relay */
.chat-store-bridge-note{display:grid;gap:3px;padding:11px 12px;border:1px solid rgba(16,185,129,.24);border-radius:14px;background:rgba(16,185,129,.08);color:var(--ui-text,var(--text))}.chat-store-bridge-note b{font-size:12px}.chat-store-bridge-note small{color:var(--ui-muted,var(--muted));line-height:1.5}.chat-store-bridge-note.disabled{border-color:rgba(239,68,68,.24);background:rgba(239,68,68,.07)}.chat-store-bridge-badge{display:inline-flex;vertical-align:middle;margin-inline-start:5px;padding:2px 6px;border-radius:999px;background:rgba(16,185,129,.12);color:#08783e;font-size:9px;font-weight:900;letter-spacing:.04em}.chat-store-bridge-banner{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:10px 14px;border-bottom:1px solid var(--ui-border,var(--line));background:linear-gradient(90deg,rgba(16,185,129,.11),rgba(59,130,246,.06));font-size:12px}.chat-store-bridge-banner span{color:var(--ui-muted,var(--muted))}@media(max-width:720px){.chat-store-bridge-banner{align-items:flex-start}.chat-store-bridge-note{padding:10px}.chat-store-bridge-badge{font-size:8px}}

/* v5.2.4 live chat inbox counters */
@keyframes phoumika-chat-count-pop{0%{transform:scale(.72)}55%{transform:scale(1.28)}100%{transform:scale(1)}}
.chat-count-pop{animation:phoumika-chat-count-pop .62s cubic-bezier(.2,.9,.25,1)}
[data-chat-count][hidden],.chat-unread[hidden]{display:none!important}
.chat-thread-list{scrollbar-gutter:stable}
.chat-thread-item.unread{background:linear-gradient(135deg,rgba(225,29,72,.075),rgba(16,185,129,.035))}

/* v5.2.5 checkout Cambodia address repair */
.checkout-address-panel .panel-head small{display:block;margin-top:4px;color:var(--muted,#68776d)}
.checkout-location-block{padding:14px;border:1px solid var(--line,#dfe8e2);border-radius:18px;background:var(--surface-soft,#f5f8f6)}
.saved-address-preview{display:grid;gap:4px;margin:12px 0;padding:14px 16px;border:1px solid rgba(20,128,71,.2);border-radius:16px;background:rgba(20,128,71,.07)}
.saved-address-preview span{display:block;color:var(--muted,#66756b)}
.saved-address-preview .address-warning,.location-data-alert{color:#9b3a16;background:#fff0e8;border:1px solid #f5c3aa;border-radius:12px;padding:10px 12px}
.location-data-alert{margin-bottom:2px}
@media(max-width:820px){.location-select-grid{grid-template-columns:1fr 1fr}.location-coordinates{grid-template-columns:1fr 1fr}.location-coordinates .btn{grid-column:1/-1}.location-map{min-height:280px}}
@media(max-width:520px){.location-select-grid,.location-coordinates{grid-template-columns:1fr}.checkout-location-block{padding:10px}.location-map{min-height:240px}}

/* v5.2.6 selected-cart checkout and wallet payment */
.cart-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 16px;border-bottom:1px solid var(--line);background:var(--soft);border-radius:14px 14px 0 0;font-size:13px;color:var(--muted)}.cart-check-all{display:flex;align-items:center;gap:9px;font-weight:800;color:inherit}.cart-check-all input,.cart-select-box input{width:18px;height:18px;accent-color:var(--green)}.cart-item{grid-template-columns:26px 82px minmax(0,1fr) 112px 130px!important;transition:opacity .2s,background .2s}.cart-item.is-unselected{opacity:.58;background:var(--soft)}.cart-select-box{display:grid;place-items:center}.cart-product-image img{width:82px;height:76px;object-fit:cover;border-radius:12px}.cart-qty{display:grid;gap:5px;font-size:11px;color:var(--muted)}.cart-qty input{width:100%;min-width:80px}.cart-remove{display:inline-flex;align-items:center;gap:5px;margin-top:8px;border:0;background:transparent;color:var(--danger);font-size:12px;font-weight:800;padding:0;cursor:pointer}.cart-actions{display:flex;justify-content:flex-end;padding-top:12px}.cart-selected-summary small{display:block;margin-top:12px;color:var(--muted);line-height:1.5}.cart-selected-summary button:disabled{opacity:.5;cursor:not-allowed}.checkout-selection-notice{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:-8px 0 18px;padding:12px 15px;border:1px solid #cfe5d2;background:#f2faf3;border-radius:14px;font-size:13px}.checkout-selection-notice span{font-weight:800;color:#236334}.checkout-selection-notice a{margin-left:auto;color:var(--green);font-weight:800}.payment-option.is-disabled{opacity:.55;cursor:not-allowed}.payment-option.is-disabled input{cursor:not-allowed}.payment-option small strong{color:var(--danger)}.wallet-topup-link{display:inline-flex;margin-top:10px;color:var(--green);font-weight:800}.payment-method-grid{align-items:stretch}
html[data-theme="dark"] .cart-toolbar,html[data-theme="dark"] .cart-item.is-unselected,html[data-theme="dark"] .checkout-selection-notice{background:#101c15;border-color:#2d4233}html[data-theme="dark"] .checkout-selection-notice span{color:#91d6a2}
@media(max-width:700px){.cart-toolbar{position:sticky;top:72px;z-index:5}.cart-item{grid-template-columns:24px 64px minmax(0,1fr)!important;gap:10px}.cart-product-image img{width:64px;height:62px}.cart-item .cart-qty{grid-column:2/3}.cart-item .cart-line-total{grid-column:3/4;align-self:end;text-align:right}.cart-select-box{grid-row:1/3}.checkout-selection-notice{align-items:flex-start}.checkout-selection-notice a{width:100%;margin-left:0}.cart-selected-summary{position:sticky!important;bottom:calc(68px + env(safe-area-inset-bottom));z-index:10;box-shadow:0 -14px 30px rgba(20,50,27,.12)}}

/* v5.3.0 workspace switch and regional catalog network */
.workspace-menu-label{padding:.55rem .85rem .25rem;font-size:.72rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:var(--muted,#64748b)}
.workspace-menu-options{display:grid;gap:.2rem;padding:0 .45rem .45rem;border-bottom:1px solid var(--line,#e2e8f0);margin-bottom:.35rem}
.workspace-menu-options form{margin:0}
.workspace-option{width:100%;display:flex;align-items:center;gap:.55rem;border:0;background:transparent;padding:.65rem .55rem;border-radius:.7rem;text-align:left;color:inherit;cursor:pointer}
.workspace-option:hover,.workspace-option.active{background:rgba(22,101,52,.1);color:#166534}
.workspace-option em{margin-left:auto;font-style:normal;font-weight:900}
.workspace-switch-card{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:1rem;padding:1.1rem 1.2rem}
.workspace-switch-card h3{margin:.15rem 0 .25rem}
.workspace-switch-card p{margin:0;color:var(--muted,#64748b)}
.workspace-profile-options{display:flex;flex-wrap:wrap;gap:.5rem;justify-content:flex-end}
.workspace-profile-options form{margin:0}
.catalog-network-panel{display:grid;gap:1rem}
.catalog-network-warning{padding:.8rem 1rem;border-radius:.85rem;background:#fff7ed;border:1px solid #fed7aa;color:#9a3412;font-weight:650}
.catalog-run-summary{display:grid;gap:.45rem;padding:1rem;border-radius:1rem;background:rgba(15,118,110,.07);border:1px solid rgba(15,118,110,.18)}
.catalog-run-summary code{display:block;overflow:auto;padding:.55rem .7rem;border-radius:.6rem;background:rgba(15,23,42,.08)}
.pro-mini-stats>div{background:var(--panel,#fff);border:1px solid var(--line,#e2e8f0);border-radius:1rem;padding:1rem;display:grid;gap:.25rem}
.pro-mini-stats>div b{font-size:1.45rem}
@media(max-width:760px){
 .workspace-switch-card{align-items:flex-start;flex-direction:column}
 .workspace-profile-options{width:100%;display:grid;grid-template-columns:1fr}
 .workspace-profile-options .btn{width:100%;justify-content:center}
 .catalog-network-panel .form-grid{grid-template-columns:1fr}
 .portal-user-menu>div{max-height:min(74vh,620px);overflow:auto}
}
[data-theme="dark"] .catalog-network-warning{background:rgba(154,52,18,.18);border-color:rgba(251,146,60,.4);color:#fdba74}
[data-theme="dark"] .workspace-option:hover,[data-theme="dark"] .workspace-option.active{background:rgba(74,222,128,.13);color:#86efac}


/* v5.3.1 product studio galleries and dynamic store identity */
.product-image{position:relative;overflow:hidden}.product-store-image-badge{position:absolute;left:10px;right:auto;bottom:10px;z-index:3;max-width:calc(100% - 20px);display:inline-flex;align-items:center;gap:5px;padding:6px 9px;border:1px solid rgba(255,255,255,.42);border-radius:999px;background:rgba(14,42,24,.74);color:#fff!important;font-size:.68rem;font-style:normal;font-weight:800;line-height:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;backdrop-filter:blur(10px);box-shadow:0 6px 16px rgba(0,0,0,.14)}
.media-main{position:relative;overflow:hidden}.product-gallery-store-badge,.product-gallery-count{position:absolute;z-index:4;display:inline-flex;align-items:center;gap:5px;padding:8px 11px;border:1px solid rgba(255,255,255,.45);border-radius:999px;background:rgba(14,42,24,.76);color:#fff;font-size:.76rem;font-weight:850;backdrop-filter:blur(12px);box-shadow:0 8px 22px rgba(0,0,0,.16)}.product-gallery-store-badge{left:14px;bottom:14px;max-width:70%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.product-gallery-count{right:14px;bottom:14px}.product-media-thumbs{scrollbar-width:thin;scroll-snap-type:x proximity}.product-media-thumbs>button{scroll-snap-align:start}.product-media-thumbs img{object-fit:cover}
@media(max-width:640px){.product-store-image-badge{left:7px;bottom:7px;max-width:calc(100% - 14px);padding:5px 7px;font-size:.61rem}.product-gallery-store-badge,.product-gallery-count{bottom:9px;padding:6px 8px;font-size:.67rem}.product-gallery-store-badge{left:9px;max-width:68%}.product-gallery-count{right:9px}.product-media-thumbs{display:flex;overflow-x:auto;overscroll-behavior-inline:contain;-webkit-overflow-scrolling:touch;padding-bottom:5px}.product-media-thumbs>button{flex:0 0 66px}}

/* v5.3.2 small Store Network & Auto Catalog controls */
.pro-mini-stats.six{grid-template-columns:repeat(6,minmax(0,1fr))}
.network-chip{display:inline-flex;margin-top:5px;padding:3px 7px;border-radius:999px;background:#e8f6ed;color:#14733b;font-size:9px;font-weight:850}
.network-inline-form{display:flex;align-items:center;gap:6px;min-width:138px}
.network-inline-form input{width:62px;min-width:62px;padding:7px 8px;text-align:center}
.table-actions form{margin:0;display:inline-flex}
.table-btn.danger{background:#fff1f0!important;color:#b42318!important;border:1px solid #f2c8c4!important}
.table-btn.success{background:#eaf7ee!important;color:#15723b!important;border:1px solid #bde0c8!important}
html[data-theme="dark"] .network-chip{background:rgba(74,222,128,.14);color:#86efac}
html[data-theme="dark"] .table-btn.danger{background:rgba(180,35,24,.16)!important;color:#fda29b!important;border-color:rgba(253,162,155,.28)!important}
html[data-theme="dark"] .table-btn.success{background:rgba(21,114,59,.2)!important;color:#86efac!important;border-color:rgba(134,239,172,.25)!important}
@media(max-width:1050px){.pro-mini-stats.six{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:720px){.pro-mini-stats.six{grid-template-columns:repeat(2,minmax(0,1fr))}.network-inline-form{min-width:118px}.network-inline-form input{width:54px;min-width:54px}.table-actions{flex-wrap:wrap}}

/* --------------------------------------------------------------------------
   Phoumika Kasiphal v5.3.3 — Control Center + Store Team UI
   -------------------------------------------------------------------------- */
.cc-hero{position:relative;overflow:hidden;display:flex;align-items:center;justify-content:space-between;gap:28px;margin-bottom:20px;padding:30px;border:1px solid rgba(35,109,62,.18);border-radius:26px;background:radial-gradient(circle at 86% 18%,rgba(96,205,121,.25),transparent 31%),linear-gradient(135deg,#0b5a30 0%,#087c40 54%,#0c9a51 100%);color:#fff;box-shadow:0 24px 55px rgba(5,74,38,.2)}
.cc-hero:after{content:"";position:absolute;inset:auto -45px -80px auto;width:260px;height:260px;border:48px solid rgba(255,255,255,.06);border-radius:50%}.cc-hero-copy{position:relative;z-index:1;max-width:760px}.cc-live-label{display:inline-flex;align-items:center;gap:8px;margin-bottom:9px;font-size:.77rem;font-weight:900;letter-spacing:.08em;text-transform:uppercase;color:#dfffea}.cc-live-label>span{width:9px;height:9px;border-radius:50%;background:#7dff9f;box-shadow:0 0 0 5px rgba(125,255,159,.15)}.cc-hero h2{margin:0 0 8px;font-size:clamp(1.6rem,3vw,2.5rem);line-height:1.16;color:#fff}.cc-hero p{max-width:720px;margin:0;color:rgba(255,255,255,.83)}.cc-hero-status{display:flex;flex-wrap:wrap;gap:8px;margin-top:20px}.cc-status-chip{display:inline-flex;align-items:center;gap:6px;padding:7px 10px;border:1px solid rgba(255,255,255,.2);border-radius:999px;background:rgba(255,255,255,.11);font-size:.75rem;font-weight:800;backdrop-filter:blur(9px)}.cc-status-chip.attention{background:rgba(255,189,46,.17);border-color:rgba(255,215,98,.4)}.cc-status-chip.neutral{color:#d8efe0}.cc-hero-actions{position:relative;z-index:1;display:flex;flex-wrap:wrap;justify-content:flex-end;gap:9px;max-width:410px}.cc-hero-actions .btn{min-height:44px}.cc-hero-actions .btn.ghost{border-color:rgba(255,255,255,.25);background:rgba(255,255,255,.1);color:#fff}.cc-hero-actions .btn.primary{background:#fff;color:#075d31}
.cc-kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:20px}.cc-kpi-card{position:relative;display:grid;grid-template-columns:52px minmax(0,1fr) 22px;align-items:center;gap:13px;min-height:124px;padding:18px;border:1px solid var(--pro-line,#dce8df);border-radius:21px;background:var(--pro-card,#fff);box-shadow:0 12px 32px rgba(23,64,36,.06);transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease}.cc-kpi-card:hover{transform:translateY(-3px);border-color:#8fcda1;box-shadow:0 18px 38px rgba(23,64,36,.11)}.cc-kpi-card.revenue{background:linear-gradient(145deg,rgba(224,249,231,.96),rgba(255,255,255,.98));border-color:#b7dfc1}.cc-kpi-icon{width:52px;height:52px;display:grid;place-items:center;border-radius:16px;background:#edf8f0;color:#087c40;font-size:1.35rem;font-weight:900}.cc-kpi-card small,.cc-kpi-card strong,.cc-kpi-card em{display:block}.cc-kpi-card small{font-size:.75rem;color:var(--pro-muted,#6c7d72);font-weight:800}.cc-kpi-card strong{margin:2px 0;font-size:1.5rem;color:var(--pro-ink,#10251a)}.cc-kpi-card em{font-size:.7rem;color:var(--pro-muted,#6c7d72);font-style:normal}.cc-kpi-card>i{font-style:normal;color:#79a387;font-weight:900}
.cc-command-section{margin-bottom:20px}.cc-section-head,.cc-panel-head{display:flex;align-items:center;justify-content:space-between;gap:18px}.cc-section-head{margin-bottom:13px}.cc-section-head small,.cc-panel-head small{display:block;color:#15834a;font-size:.7rem;font-weight:900;text-transform:uppercase;letter-spacing:.07em}.cc-section-head h2,.cc-panel-head h2{margin:2px 0 0;color:var(--pro-ink,#10251a)}.cc-section-head p{margin:4px 0 0;color:var(--pro-muted,#6c7d72);font-size:.84rem}.cc-section-head>a,.cc-panel-head>a{color:#16864b;font-weight:850;font-size:.82rem}.cc-module-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.cc-module-card{display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:11px;min-height:95px;padding:15px;border:1px solid var(--pro-line,#dce8df);border-radius:18px;background:var(--pro-card,#fff);transition:.2s ease}.cc-module-card:hover{transform:translateY(-2px);border-color:#8fcca1;background:linear-gradient(145deg,var(--pro-card,#fff),rgba(235,249,239,.8))}.cc-module-card>span{width:42px;height:42px;display:grid;place-items:center;border-radius:13px;background:#eef8f1;font-size:1.15rem}.cc-module-card b,.cc-module-card small{display:block}.cc-module-card b{font-size:.84rem;color:var(--pro-ink,#10251a)}.cc-module-card small{margin-top:2px;color:var(--pro-muted,#6c7d72);font-size:.65rem;line-height:1.35}.cc-module-card>em{min-width:25px;padding:3px 7px;border-radius:999px;background:#fff0d4;color:#986300;font-size:.7rem;font-style:normal;font-weight:900;text-align:center}.cc-module-card>i{font-style:normal;color:#7c9b85}
.cc-attention-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin-bottom:20px}.cc-attention-grid>a{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:10px;padding:13px 14px;border:1px solid var(--pro-line,#dce8df);border-radius:16px;background:var(--pro-card,#fff)}.cc-attention-grid>a>span{width:38px;height:38px;display:grid;place-items:center;border-radius:12px;background:#edf7f0}.cc-attention-grid>a>span.warning{background:#fff4da}.cc-attention-grid b,.cc-attention-grid small{display:block}.cc-attention-grid b{color:var(--pro-ink,#10251a);font-size:1.05rem}.cc-attention-grid small{color:var(--pro-muted,#6c7d72);font-size:.66rem}.cc-attention-grid i{font-style:normal;color:#7f9c88}
.cc-insight-grid,.cc-activity-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(300px,.85fr);gap:18px;margin-bottom:20px}.cc-activity-grid{grid-template-columns:minmax(0,1.55fr) minmax(320px,1fr)}.cc-chart-panel,.cc-quick-panel,.cc-table-panel,.cc-payment-panel{border-radius:22px!important}.cc-live-pill{display:inline-flex;align-items:center;gap:7px;padding:7px 10px;border-radius:999px;background:#edf9f0;color:#147c43;font-size:.7rem;font-weight:900}.cc-live-pill i{width:7px;height:7px;border-radius:50%;background:#15a954;box-shadow:0 0 0 4px rgba(21,169,84,.13)}.cc-bar-chart{display:grid;grid-template-columns:repeat(7,minmax(42px,1fr));align-items:end;gap:13px;height:265px;margin-top:18px;padding:14px 6px 0}.cc-bar-column{height:100%;display:grid;grid-template-rows:28px 1fr 22px;align-items:end;text-align:center}.cc-bar-value{opacity:0;transform:translateY(4px);font-size:.62rem;color:var(--pro-muted,#6c7d72);transition:.2s}.cc-bar-column:hover .cc-bar-value{opacity:1;transform:none}.cc-bar-track{position:relative;height:100%;overflow:hidden;border-radius:11px;background:linear-gradient(180deg,rgba(29,139,76,.05),rgba(29,139,76,.12))}.cc-bar-track i{position:absolute;inset:auto 0 0;display:block;min-height:7px;border-radius:10px 10px 5px 5px;background:linear-gradient(180deg,#2fb768,#087c40);box-shadow:0 7px 15px rgba(8,124,64,.18)}.cc-bar-column small{padding-top:5px;color:var(--pro-muted,#6c7d72);font-size:.67rem}.cc-quick-list{display:grid;gap:9px;margin-top:17px}.cc-quick-list>a{display:grid;grid-template-columns:40px minmax(0,1fr) auto;align-items:center;gap:10px;padding:11px;border:1px solid var(--pro-line,#dce8df);border-radius:15px;background:rgba(248,252,249,.7)}.cc-quick-list>a>span{width:40px;height:40px;display:grid;place-items:center;border-radius:12px;background:#e9f7ed;color:#087c40;font-size:1.05rem;font-weight:900}.cc-quick-list b,.cc-quick-list small{display:block}.cc-quick-list b{font-size:.8rem;color:var(--pro-ink,#10251a)}.cc-quick-list small{font-size:.65rem;color:var(--pro-muted,#6c7d72)}.cc-quick-list i{font-style:normal;color:#7b9c86}.cc-data-table td small{display:block;color:var(--pro-muted,#6c7d72);font-size:.67rem}.cc-payment-list{display:grid;gap:8px;margin-top:15px}.cc-payment-list>a{display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px;border:1px solid var(--pro-line,#dce8df);border-radius:14px}.cc-payment-list>a>span{width:42px;height:42px;display:grid;place-items:center;border-radius:12px;background:#eef7f0}.cc-payment-list b,.cc-payment-list small,.cc-payment-list strong,.cc-payment-list em{display:block}.cc-payment-list b{font-size:.78rem;color:var(--pro-ink,#10251a)}.cc-payment-list small{font-size:.63rem;color:var(--pro-muted,#6c7d72)}.cc-payment-list strong{text-align:end;font-size:.75rem;color:var(--pro-ink,#10251a)}.cc-payment-list em{margin-top:3px;font-size:.58rem;font-style:normal}

.team-control-page{display:grid;gap:18px}.team-control-hero{display:flex;align-items:center;justify-content:space-between;gap:22px;padding:24px;border:1px solid var(--pro-line,#dce8df);border-radius:24px;background:radial-gradient(circle at 85% 10%,rgba(79,194,107,.17),transparent 30%),linear-gradient(145deg,var(--pro-card,#fff),rgba(239,249,242,.88));box-shadow:0 13px 35px rgba(17,70,36,.06)}.team-store-identity{display:flex;align-items:center;gap:16px;min-width:0}.team-store-avatar,.team-member-avatar{position:relative;overflow:hidden;flex:0 0 auto;display:grid;place-items:center;background:linear-gradient(145deg,#0a7540,#13a557);color:#fff;font-weight:900}.team-store-avatar{width:68px;height:68px;border-radius:20px;font-size:1.7rem;box-shadow:0 10px 24px rgba(8,124,64,.2)}.team-store-avatar img,.team-member-avatar img{width:100%;height:100%;object-fit:cover}.team-control-hero h1{margin:2px 0;font-size:clamp(1.45rem,2.4vw,2rem);color:var(--pro-ink,#10251a)}.team-control-hero p{margin:0;color:var(--pro-muted,#6c7d72);font-size:.84rem}.team-control-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:9px}.team-summary-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:11px}.team-summary-grid article{display:flex;align-items:center;gap:11px;min-height:92px;padding:14px;border:1px solid var(--pro-line,#dce8df);border-radius:18px;background:var(--pro-card,#fff)}.team-summary-grid article>span{width:42px;height:42px;display:grid;place-items:center;border-radius:13px;background:#eef8f1;font-size:1.12rem}.team-summary-grid small,.team-summary-grid b,.team-summary-grid em{display:block}.team-summary-grid small{color:var(--pro-muted,#6c7d72);font-size:.68rem;font-weight:800}.team-summary-grid b{color:var(--pro-ink,#10251a);font-size:1.35rem}.team-summary-grid em{color:var(--pro-muted,#6c7d72);font-size:.62rem;font-style:normal}.team-summary-grid .team-seat-card.is-full{border-color:#efc1bd;background:#fff6f4}.team-summary-grid .team-seat-card.is-full>span{background:#ffe3df;color:#a42d23}
.team-add-panel{padding:0!important;overflow:hidden}.team-add-panel>summary{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:18px 20px;cursor:pointer;list-style:none;background:linear-gradient(145deg,rgba(237,249,241,.86),var(--pro-card,#fff))}.team-add-panel>summary::-webkit-details-marker{display:none}.team-add-panel>summary>span{display:flex;align-items:center;gap:12px}.team-add-panel>summary i{width:42px;height:42px;display:grid;place-items:center;border-radius:13px;background:#087c40;color:#fff;font-style:normal;font-size:1.2rem}.team-add-panel>summary b,.team-add-panel>summary small{display:block}.team-add-panel>summary b{color:var(--pro-ink,#10251a)}.team-add-panel>summary small{color:var(--pro-muted,#6c7d72);font-size:.7rem}.team-add-panel>summary>em{font-style:normal;transition:transform .2s}.team-add-panel[open]>summary>em{transform:rotate(180deg)}.team-editor-form{display:grid;gap:0}.team-form-section{padding:22px;border-top:1px solid var(--pro-line,#dce8df)}.team-form-heading{display:flex;align-items:flex-start;gap:11px;margin-bottom:16px}.team-form-heading>span{width:29px;height:29px;display:grid;place-items:center;flex:0 0 auto;border-radius:9px;background:#087c40;color:#fff;font-size:.75rem;font-weight:900}.team-form-heading h2,.team-form-heading p{margin:0}.team-form-heading h2{font-size:1rem;color:var(--pro-ink,#10251a)}.team-form-heading p{margin-top:2px;color:var(--pro-muted,#6c7d72);font-size:.72rem}.team-primary-fields{max-width:850px}.team-role-presets{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:14px}.team-role-presets button{display:grid;grid-template-columns:38px 1fr;grid-template-rows:auto auto;align-items:center;column-gap:10px;padding:12px;border:1px solid var(--pro-line,#dce8df);border-radius:15px;background:var(--pro-card,#fff);text-align:start;cursor:pointer}.team-role-presets button>span{grid-row:1/3;width:38px;height:38px;display:grid;place-items:center;border-radius:11px;background:#edf7f0}.team-role-presets button b{font-size:.78rem;color:var(--pro-ink,#10251a)}.team-role-presets button small{font-size:.62rem;color:var(--pro-muted,#6c7d72)}.team-role-presets button.active{border-color:#4db574;background:#effaf2;box-shadow:0 0 0 3px rgba(77,181,116,.1)}.team-permission-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:0;padding:0;border:0}.team-permission-grid>legend{margin-bottom:9px;font-size:.75rem;font-weight:900}.team-permission-grid label{position:relative}.team-permission-grid input{position:absolute;opacity:0;pointer-events:none}.team-permission-grid label>span{display:flex;align-items:center;gap:9px;min-height:48px;padding:10px 12px;border:1px solid var(--pro-line,#dce8df);border-radius:14px;background:var(--pro-card,#fff);cursor:pointer;transition:.18s}.team-permission-grid label>span i{width:29px;height:29px;display:grid;place-items:center;border-radius:9px;background:#edf6ef;font-style:normal;font-size:.85rem}.team-permission-grid label>span b{font-size:.72rem;color:var(--pro-ink,#10251a)}.team-permission-grid input:checked+span{border-color:#4cb473;background:#effaf2;box-shadow:inset 0 0 0 1px #4cb473}.team-permission-grid input:checked+span i{background:#087c40;color:#fff}.team-permission-grid.compact{grid-template-columns:repeat(3,minmax(0,1fr));margin:14px 0}.team-scope-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.team-scope-grid details{overflow:hidden;border:1px solid var(--pro-line,#dce8df);border-radius:15px;background:var(--pro-card,#fff)}.team-scope-grid summary{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:13px 14px;cursor:pointer;list-style:none;font-size:.75rem;font-weight:850;color:var(--pro-ink,#10251a)}.team-scope-grid summary::-webkit-details-marker{display:none}.team-scope-grid summary em{font-style:normal;color:#16804a}.team-scope-list{max-height:235px;overflow:auto;padding:10px;border-top:1px solid var(--pro-line,#dce8df);grid-template-columns:repeat(2,minmax(0,1fr))!important}.team-scope-list label{display:flex!important;align-items:center;gap:7px;padding:7px!important;border-radius:9px;background:rgba(241,248,243,.7);font-size:.68rem!important;font-weight:700!important}.team-scope-list input{margin:0}.team-form-footer{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:16px 22px;border-top:1px solid var(--pro-line,#dce8df);background:rgba(247,251,248,.8)}.team-form-footer small{max-width:720px;color:var(--pro-muted,#6c7d72);font-size:.67rem}
.team-directory-panel{padding:20px;border:1px solid var(--pro-line,#dce8df);border-radius:22px;background:var(--pro-card,#fff)}.team-directory-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:14px}.team-directory-head h2,.team-directory-head p{margin:0}.team-directory-head h2{font-size:1.25rem;color:var(--pro-ink,#10251a)}.team-directory-head p{margin-top:3px;color:var(--pro-muted,#6c7d72);font-size:.72rem}.team-visible-count{min-width:64px;padding:8px 10px;border-radius:12px;background:#edf8f1;color:#197947;text-align:center;font-size:.7rem}.team-visible-count b{font-size:1rem}.team-filter-bar{display:grid;grid-template-columns:minmax(220px,1fr) 180px 170px auto;gap:9px;margin-bottom:14px}.team-search{display:flex!important;align-items:center;gap:7px;padding:0 12px;border:1px solid var(--pro-line,#dce8df);border-radius:12px;background:var(--pro-card,#fff)}.team-search input{width:100%;border:0!important;box-shadow:none!important;padding-inline:0!important}.team-filter-bar select{min-height:44px}.team-member-list{display:grid;gap:11px}.team-member-card{overflow:hidden;border:1px solid var(--pro-line,#dce8df);border-radius:18px;background:var(--pro-card,#fff);transition:border-color .18s,box-shadow .18s}.team-member-card:hover{border-color:#abd6b6;box-shadow:0 10px 27px rgba(23,64,36,.07)}.team-member-main{display:grid;grid-template-columns:minmax(245px,1.35fr) minmax(210px,.75fr) auto;align-items:center;gap:15px;padding:15px}.team-member-main>.team-member-avatar{grid-column:auto}.team-member-main{grid-template-columns:50px minmax(220px,1.4fr) minmax(200px,.8fr) auto}.team-member-avatar{width:50px;height:50px;border-radius:15px;font-size:1.2rem}.team-member-avatar>i{position:absolute;right:2px;bottom:2px;width:10px;height:10px;border:2px solid #fff;border-radius:50%}.team-member-avatar>i.online{background:#18ae57}.team-member-avatar>i.offline{background:#a7b0aa}.team-member-identity{min-width:0}.team-member-identity>div{display:flex;align-items:center;flex-wrap:wrap;gap:6px}.team-member-identity h3{margin:0;color:var(--pro-ink,#10251a);font-size:.92rem}.team-member-identity p{overflow:hidden;margin:3px 0 0;color:var(--pro-muted,#6c7d72);font-size:.68rem;text-overflow:ellipsis;white-space:nowrap}.team-role-badge,.team-status-badge{display:inline-flex;padding:3px 7px;border-radius:999px;font-size:.58rem;font-weight:900}.team-role-badge{background:#edf3ff;color:#305c9b}.team-role-badge.role-manager{background:#ece9ff;color:#5a3eb3}.team-role-badge.role-support{background:#fff1df;color:#9a5a00}.team-status-badge{background:#edf7f0;color:#137b43}.team-status-badge.status-inactive{background:#f0f1f0;color:#6e7771}.team-member-meta{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.team-member-meta>span{padding:7px;border-radius:10px;background:#f4f8f5;text-align:center}.team-member-meta b,.team-member-meta small{display:block}.team-member-meta b{font-size:.8rem;color:var(--pro-ink,#10251a)}.team-member-meta small{font-size:.52rem;color:var(--pro-muted,#6c7d72)}.team-member-toggle{min-height:39px;padding:8px 11px;border:1px solid var(--pro-line,#dce8df);border-radius:11px;background:var(--pro-card,#fff);color:var(--pro-ink,#10251a);font-size:.67rem;font-weight:850;cursor:pointer}.team-member-toggle[aria-expanded="true"]{border-color:#3aaa68;background:#eff9f2;color:#087c40}.team-permission-summary{display:flex;flex-wrap:wrap;gap:6px;padding:0 15px 13px 80px}.team-permission-summary span{padding:4px 8px;border-radius:999px;background:#eff7f1;color:#176e40;font-size:.58rem;font-weight:800}.team-permission-summary span.muted{background:#f1f2f1;color:#778078}.team-member-editor{position:relative;padding:17px;border-top:1px solid var(--pro-line,#dce8df);background:rgba(246,250,247,.7)}.team-member-editor-footer{display:flex;justify-content:flex-end;margin-top:15px}.team-remove-form{position:absolute;left:17px;bottom:17px}.team-no-results{margin:0!important}.team-member-card[hidden]{display:none!important}
.store-manager-table .table-actions{display:flex;flex-wrap:wrap;gap:6px}.store-manager-table .table-actions .btn{white-space:nowrap}

html[data-theme="dark"] .cc-hero{border-color:#315b40;background:radial-gradient(circle at 86% 18%,rgba(95,211,124,.2),transparent 31%),linear-gradient(135deg,#073c22,#075c31 58%,#08783e)}html[data-theme="dark"] .cc-kpi-card.revenue{background:linear-gradient(145deg,#173122,#15231a)}html[data-theme="dark"] .cc-module-card:hover,html[data-theme="dark"] .cc-quick-list>a,html[data-theme="dark"] .team-add-panel>summary,html[data-theme="dark"] .team-control-hero,html[data-theme="dark"] .team-member-editor,html[data-theme="dark"] .team-form-footer{background:#17271d}html[data-theme="dark"] .cc-kpi-icon,html[data-theme="dark"] .cc-module-card>span,html[data-theme="dark"] .cc-attention-grid>a>span,html[data-theme="dark"] .cc-quick-list>a>span,html[data-theme="dark"] .cc-payment-list>a>span,html[data-theme="dark"] .team-summary-grid article>span,html[data-theme="dark"] .team-role-presets button>span,html[data-theme="dark"] .team-permission-grid label>span i,html[data-theme="dark"] .team-visible-count{background:#203629}html[data-theme="dark"] .team-role-presets button.active,html[data-theme="dark"] .team-permission-grid input:checked+span{background:#173824}html[data-theme="dark"] .team-scope-list label,html[data-theme="dark"] .team-member-meta>span{background:#101c15}html[data-theme="dark"] .team-member-avatar>i{border-color:#15231a}

@media(max-width:1240px){.cc-module-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.cc-attention-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.team-summary-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.team-member-main{grid-template-columns:50px minmax(200px,1fr) auto}.team-member-meta{grid-column:2/3}.team-member-toggle{grid-column:3;grid-row:1/3}.team-permission-summary{padding-inline-start:80px}}
@media(max-width:980px){.cc-hero{align-items:flex-start;flex-direction:column}.cc-hero-actions{justify-content:flex-start;max-width:none}.cc-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.cc-insight-grid,.cc-activity-grid{grid-template-columns:1fr}.team-control-hero{align-items:flex-start;flex-direction:column}.team-control-actions{justify-content:flex-start}.team-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.team-filter-bar{grid-template-columns:1fr 1fr}.team-search{grid-column:1/-1}.team-role-presets,.team-permission-grid,.team-permission-grid.compact{grid-template-columns:repeat(2,minmax(0,1fr))}.team-member-main{grid-template-columns:50px minmax(0,1fr) auto}.team-member-meta{grid-column:2/4}.team-member-toggle{grid-column:3;grid-row:1}.team-permission-summary{padding-inline-start:15px}}
@media(max-width:720px){.cc-hero{padding:21px;border-radius:21px}.cc-hero-actions{display:grid;grid-template-columns:1fr 1fr;width:100%}.cc-hero-actions .btn:last-child{grid-column:1/-1}.cc-kpi-grid{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:5px}.cc-kpi-card{min-width:245px;scroll-snap-align:start}.cc-module-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.cc-attention-grid{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:5px}.cc-attention-grid>a{min-width:210px;scroll-snap-align:start}.cc-bar-chart{gap:7px;height:220px}.cc-bar-value{display:none}.cc-data-table thead{display:none}.cc-data-table,.cc-data-table tbody,.cc-data-table tr,.cc-data-table td{display:block;width:100%}.cc-data-table tr{margin-bottom:10px;padding:11px;border:1px solid var(--pro-line,#dce8df);border-radius:13px}.cc-data-table td{display:grid;grid-template-columns:110px 1fr;align-items:center;padding:5px 0!important;border:0!important}.cc-data-table td:before{content:attr(data-label);color:var(--pro-muted,#6c7d72);font-size:.65rem;font-weight:800}.team-store-identity{align-items:flex-start}.team-store-avatar{width:54px;height:54px;border-radius:16px}.team-control-actions{display:grid;grid-template-columns:1fr 1fr;width:100%}.team-summary-grid{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:5px}.team-summary-grid article{min-width:190px;scroll-snap-align:start}.team-role-presets{grid-template-columns:1fr}.team-permission-grid,.team-permission-grid.compact{grid-template-columns:1fr 1fr}.team-scope-grid{grid-template-columns:1fr}.team-form-footer{align-items:stretch;flex-direction:column}.team-form-footer .btn{width:100%}.team-directory-head{align-items:flex-start}.team-filter-bar{grid-template-columns:1fr}.team-search{grid-column:auto}.team-member-main{grid-template-columns:46px minmax(0,1fr)}.team-member-avatar{width:46px;height:46px}.team-member-meta{grid-column:1/-1}.team-member-toggle{grid-column:1/-1;grid-row:auto}.team-permission-summary{padding:0 13px 12px}.team-member-editor{padding-bottom:70px}.team-remove-form{left:17px;right:17px;bottom:14px}.team-remove-form .btn{width:100%}.team-member-editor-footer .btn{width:100%}.team-scope-list{grid-template-columns:1fr!important}}
@media(max-width:480px){.cc-module-grid{grid-template-columns:1fr}.cc-hero-actions{grid-template-columns:1fr}.cc-hero-actions .btn:last-child{grid-column:auto}.cc-status-chip{font-size:.65rem}.cc-payment-list>a{grid-template-columns:38px minmax(0,1fr)}.cc-payment-list>a>strong{grid-column:2;text-align:start}.team-control-actions{grid-template-columns:1fr}.team-permission-grid,.team-permission-grid.compact{grid-template-columns:1fr}.team-primary-fields{grid-template-columns:1fr!important}.team-directory-panel{padding:14px}.team-form-section{padding:17px}.team-member-identity>div{align-items:flex-start;flex-direction:column}.team-member-identity p{white-space:normal}.team-member-meta{grid-template-columns:repeat(3,1fr)}}


/* Phoumika Kasiphal v5.3.4 — Marketplace product cards and clean navigation */
.ui-icon{display:block;flex:0 0 auto;pointer-events:none}.portal-topbar-v2{height:70px;gap:18px;padding:0 22px;border-color:rgba(21,89,48,.1);background:rgba(255,255,255,.9);box-shadow:0 8px 28px rgba(17,63,38,.045);backdrop-filter:blur(20px) saturate(150%)}.portal-brand-v2{min-width:205px;gap:11px}.portal-brand-logo{width:44px;height:44px;border-radius:14px;background:linear-gradient(145deg,#0b803e,#39a65d);box-shadow:0 9px 22px rgba(10,116,57,.2)}.portal-brand-logo .ui-icon{stroke-width:1.65}.portal-brand-copy b{font-size:18px;letter-spacing:-.25px}.portal-brand-copy small{margin-top:2px;font-size:9px;letter-spacing:.35px}.topbar-icon-button{place-items:center}.portal-search-v2{width:min(620px,45vw);height:44px;padding:0 5px 0 14px;border-color:#dce7df;border-radius:14px;background:#f6f8f6;transition:border-color .18s,box-shadow .18s,background .18s}.portal-search-v2:focus-within{border-color:#62ad7d;background:#fff;box-shadow:0 0 0 4px rgba(17,133,66,.09)}.portal-search-v2 input{height:100%;font-size:13px}.portal-search-v2>button{width:36px;height:34px;display:grid;place-items:center;border:0;border-radius:10px;background:linear-gradient(135deg,#108640,#087036);color:#fff;cursor:pointer}.portal-search-icon{color:#738078}.portal-actions-v2{gap:7px}.portal-icon-action,.portal-theme-toggle{position:relative;min-width:42px;height:42px;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:0 11px;border:1px solid transparent;border-radius:12px;background:#f3f7f4;color:#274f37;font-size:12px;font-weight:800;white-space:nowrap;transition:background .18s,color .18s,border-color .18s,transform .18s}.portal-theme-toggle{cursor:pointer}.portal-icon-action:hover,.portal-theme-toggle:hover{border-color:#cce2d3;background:#e9f5ed;color:#0b7338;transform:translateY(-1px)}.portal-icon-action em{position:absolute;right:-4px;top:-5px;min-width:18px;height:18px;padding:0 5px;display:grid;place-items:center;border:2px solid #fff;border-radius:999px;background:#e13737;color:#fff;font-size:9px;font-style:normal;font-weight:900}.theme-glyph{width:20px;height:20px;display:grid;place-items:center}.theme-glyph:before{content:'☾';font-size:21px;line-height:1}.portal-language{height:36px;padding:3px;border-radius:11px;background:#f3f6f3}.portal-language a{padding:5px 8px;border-radius:8px}.portal-language a.active{background:#fff;color:#08753a;box-shadow:0 3px 10px rgba(17,63,38,.09)}.portal-user-menu-v2>button{min-height:42px;border:1px solid #e1e9e3!important;border-radius:13px!important;background:#fff!important;box-shadow:0 4px 14px rgba(17,63,38,.04)}.portal-user-menu-v2>button:hover{border-color:#b9d8c3!important}.portal-user-menu-v2 .portal-avatar{width:32px;height:32px}.portal-login-button{height:42px;display:flex;align-items:center;gap:7px;padding:0 14px;border-radius:12px;background:linear-gradient(135deg,#108640,#087036);color:#fff;font-size:12px;font-weight:850;box-shadow:0 8px 18px rgba(8,112,54,.18)}

.product-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:20px}.product-card-v2{position:relative;display:flex;min-width:0;flex-direction:column;border:1px solid #e0e9e2;border-radius:20px;background:#fff;box-shadow:0 3px 15px rgba(17,65,35,.035);transform:translateZ(0);transition:border-color .22s,box-shadow .22s,transform .22s}.product-card-v2:hover{border-color:#b8d6c2;box-shadow:0 18px 42px rgba(17,65,35,.12);transform:translateY(-5px)}.product-card-media{height:230px;border-radius:19px 19px 0 0;background:#eef4ef}.product-card-media img{transition:transform .45s cubic-bezier(.2,.75,.25,1)}.product-card-v2:hover .product-card-media img{transform:scale(1.055)}.product-media-shade{position:absolute!important;inset:auto 0 0!important;height:42%;padding:0!important;border-radius:0!important;background:linear-gradient(180deg,transparent,rgba(7,32,17,.32))!important;pointer-events:none}.product-category-pill,.product-featured-pill,.product-stock-pill,.product-minimum-pill{position:absolute;z-index:2;display:inline-flex;align-items:center;gap:5px;border:1px solid rgba(255,255,255,.6);border-radius:999px;box-shadow:0 6px 16px rgba(15,44,24,.12);backdrop-filter:blur(10px);font-style:normal;font-weight:850;line-height:1}.product-category-pill{left:11px!important;top:11px;bottom:auto!important;padding:7px 9px!important;background:rgba(255,255,255,.91)!important;color:#176b39!important;font-size:10px!important}.product-featured-pill{right:11px;top:11px;padding:7px 9px;background:rgba(255,246,204,.94);color:#8c6500;font-size:10px}.product-featured-pill .ui-icon{fill:currentColor}.product-stock-pill{right:11px;bottom:11px;padding:7px 9px;background:rgba(255,255,255,.91);font-size:9px}.product-stock-pill.available{color:#10743b}.product-stock-pill.unavailable{color:#af3030;background:rgba(255,238,238,.94)}.product-minimum-pill{left:11px;bottom:11px;padding:7px 9px;background:rgba(12,91,44,.9);color:#fff;font-size:9px}.product-card-content{display:flex;flex:1;flex-direction:column;padding:15px 15px 14px}.product-store-row{display:flex;align-items:center;min-width:0;gap:7px;margin-bottom:8px;color:#68766d;font-size:11px}.product-store-icon{width:28px;height:28px;display:grid;place-items:center;flex:0 0 auto;border-radius:9px;background:#eaf5ed;color:#0d7940}.product-store-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:750}.product-verified{width:17px;height:17px;display:grid;place-items:center;margin-left:auto;border-radius:50%;background:#2389e8;color:#fff}.product-title-link{display:block}.product-card-content h3{display:-webkit-box;min-height:44px;margin:0 0 8px;overflow:hidden;color:#172b1e;font-size:15px;line-height:1.45;white-space:normal;-webkit-box-orient:vertical;-webkit-line-clamp:2;transition:color .18s}.product-title-link:hover h3{color:#08743a}.product-price-row{display:flex;align-items:flex-end;justify-content:space-between;gap:10px;padding:10px 0;border-top:1px solid #edf2ee;border-bottom:1px solid #edf2ee}.product-main-price{min-width:0}.product-main-price b{display:block;color:#0a7438;font-size:18px;line-height:1.15;letter-spacing:-.25px}.product-main-price small{color:#718077;font-size:10px}.product-price-row>em{padding:4px 7px;border-radius:8px;background:#f2f6f3;color:#5e6d63;font-size:10px;font-style:normal;font-weight:800}.product-meta-target{margin-top:9px}.product-social-meta{display:flex;align-items:center;justify-content:space-between;gap:9px;margin-top:10px;color:#6c796f;font-size:10px}.product-social-meta>span{display:inline-flex;align-items:center;gap:4px}.product-rating{color:#7e6511}.product-rating .ui-icon{fill:#f7b51f;stroke:#e9a400}.product-rating small{color:#89928c}.product-likes .ui-icon{color:#d75b64}.product-card-actions{display:grid;grid-template-columns:42px minmax(0,1fr);gap:8px;margin-top:auto;padding-top:12px}.product-view-button,.product-add-cart{height:42px;display:flex;align-items:center;justify-content:center;gap:7px;border-radius:12px;font-size:11px;font-weight:850;transition:transform .18s,box-shadow .18s,background .18s}.product-view-button{border:1px solid #dce7df;background:#fff;color:#315842}.product-view-button span{display:none}.product-view-button:hover{border-color:#9fc9ad;background:#f0f8f2;color:#08743a}.product-card-cart-form{min-width:0}.product-add-cart{width:100%;border:0;background:linear-gradient(135deg,#149447,#087437);color:#fff;box-shadow:0 8px 18px rgba(8,116,55,.19);cursor:pointer}.product-add-cart:hover:not(:disabled){background:linear-gradient(135deg,#16a14e,#086b34);box-shadow:0 11px 23px rgba(8,116,55,.26);transform:translateY(-1px)}.product-add-cart:disabled{background:#c7d1ca;color:#78847c;box-shadow:none;cursor:not-allowed}.product-add-cart.added{background:linear-gradient(135deg,#0d9f68,#087652);animation:cart-button-success .8s ease}.product-add-cart.is-loading .ui-icon{animation:spin .8s linear infinite}.product-card-v2 .product-store-image-badge{display:none}.commerce-toast>span svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.commerce-toast.success>span{background:#e3f6e8;color:#08783a}.commerce-toast.error>span{background:#ffeded;color:#b73131}.cart-count-pop{animation:cart-count-pop .5s ease}

.page-hero{padding:42px 0;background:radial-gradient(circle at 82% 15%,rgba(104,188,112,.18),transparent 28%),linear-gradient(135deg,#f2f8ed,#fbfdf8);border-color:#e2ebe0}.page-hero h1{margin:5px 0 20px;color:#16351e;font-size:clamp(30px,4vw,44px);letter-spacing:-.8px}.catalog-search{max-width:960px;grid-template-columns:minmax(220px,1fr) 240px auto;padding:7px;border:1px solid #dce7dd;border-radius:17px;background:rgba(255,255,255,.88);box-shadow:0 12px 32px rgba(25,75,40,.07);backdrop-filter:blur(12px)}.catalog-search input,.catalog-search select{border:0!important;background:transparent!important;box-shadow:none!important}.catalog-search .btn{min-width:120px;border-radius:12px}.section-head h2{letter-spacing:-.35px}

.mobile-app-nav-v2 a>.ui-icon{width:21px;height:21px}.mobile-app-nav-v2 a.active>.ui-icon{stroke-width:2.2}.mobile-app-nav-v2 a.active:after{content:'';position:absolute;top:3px;width:18px;height:3px;border-radius:999px;background:#0d8041}

html[data-theme="dark"] .portal-topbar-v2{background:rgba(17,29,21,.92);border-color:#263d2d;box-shadow:0 8px 28px rgba(0,0,0,.2)}html[data-theme="dark"] .portal-search-v2,html[data-theme="dark"] .portal-icon-action,html[data-theme="dark"] .portal-theme-toggle,html[data-theme="dark"] .portal-language{background:#1b2c21;border-color:#2c4634;color:#cee1d3}html[data-theme="dark"] .portal-search-v2:focus-within{background:#15251b;border-color:#4b9567}html[data-theme="dark"] .portal-language a.active,html[data-theme="dark"] .portal-user-menu-v2>button{background:#213527!important;border-color:#324b39!important;color:#e2ece5}html[data-theme="dark"] .theme-glyph:before{content:'☀';font-size:18px}html[data-theme="dark"] .product-card-v2{border-color:#2a4131;background:#17261c;box-shadow:0 3px 15px rgba(0,0,0,.15)}html[data-theme="dark"] .product-card-v2:hover{border-color:#467554;box-shadow:0 18px 42px rgba(0,0,0,.28)}html[data-theme="dark"] .product-card-content h3{color:#e5eee7}html[data-theme="dark"] .product-store-icon{background:#213a29;color:#75d493}html[data-theme="dark"] .product-store-row,html[data-theme="dark"] .product-social-meta{color:#9eb0a3}html[data-theme="dark"] .product-price-row{border-color:#2a3e30}html[data-theme="dark"] .product-price-row>em{background:#213228;color:#b9c9bd}html[data-theme="dark"] .product-view-button{border-color:#36503d;background:#1c2d22;color:#c8dbcd}html[data-theme="dark"] .page-hero{background:radial-gradient(circle at 82% 15%,rgba(57,164,91,.12),transparent 28%),linear-gradient(135deg,#13251a,#182c1e);border-color:#2b4031}html[data-theme="dark"] .page-hero h1{color:#e5eee7}html[data-theme="dark"] .catalog-search{border-color:#304937;background:rgba(23,38,28,.9)}

@keyframes cart-button-success{0%{transform:scale(1)}45%{transform:scale(.96)}100%{transform:scale(1)}}@keyframes cart-count-pop{0%{transform:scale(.75)}55%{transform:scale(1.28)}100%{transform:scale(1)}}
@media(max-width:1320px){.product-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.portal-action-label{display:none}.portal-icon-action{width:42px;padding:0}.portal-user-name{max-width:100px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}
@media(max-width:1060px){.product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.portal-brand-v2{min-width:auto}.portal-brand-copy{display:none}.portal-search-v2{width:min(480px,43vw)}.portal-language{display:none}}
@media(max-width:780px){.portal-topbar-v2{height:64px;padding:0 11px;gap:8px}.portal-menu-button{display:grid;order:-1}.portal-brand-v2{min-width:44px}.portal-search-v2{flex:1;width:auto;min-width:0}.portal-search-v2 input{font-size:12px}.portal-actions-v2{gap:5px}.portal-actions-v2>.chat-top-action,.portal-actions-v2>.wallet-top-action{display:none}.portal-user-name,.portal-user-menu-v2>button>.ui-icon{display:none}.portal-user-menu-v2>button{padding:4px!important;border:0!important;background:transparent!important;box-shadow:none}.portal-user-menu-v2 .portal-avatar{width:36px;height:36px}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.product-card-v2{border-radius:16px}.product-card-media{height:190px;border-radius:15px 15px 0 0}.product-card-content{padding:12px}.product-store-icon{width:25px;height:25px}.product-store-row{margin-bottom:6px}.product-card-content h3{min-height:40px;font-size:13px}.product-main-price b{font-size:15px}.product-card-actions{grid-template-columns:38px minmax(0,1fr);gap:6px}.product-view-button,.product-add-cart{height:39px;border-radius:10px}.product-add-cart span{display:none}.catalog-search{grid-template-columns:1fr;padding:9px}.catalog-search .btn{width:100%}.page-hero{padding:30px 0}.page-hero h1{font-size:30px}.container{width:min(100% - 24px,1420px)}}
@media(max-width:480px){.portal-search-v2>button{display:none}.portal-search-v2{padding-right:11px}.portal-actions-v2>.portal-theme-toggle{display:none}.product-grid{gap:9px}.product-card-media{height:158px}.product-category-pill{max-width:72%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.product-stock-pill{display:none}.product-card-content{padding:10px}.product-store-name{font-size:9px}.product-card-content h3{min-height:37px;font-size:12px}.product-main-price b{font-size:14px}.product-price-row>em{display:none}.product-social-meta{font-size:9px}.product-card-actions{padding-top:9px}.product-view-button{display:none}.product-card-actions{grid-template-columns:1fr}.product-add-cart{height:38px}.product-add-cart span{display:inline;font-size:10px}.mobile-app-nav-v2{min-height:62px}}
@media(prefers-reduced-motion:reduce){.product-card-v2,.product-card-media img,.product-add-cart,.portal-icon-action,.portal-theme-toggle{transition:none!important}.product-add-cart.added,.cart-count-pop{animation:none!important}}

.portal-topbar-v2+.portal-overlay+.portal-shell{min-height:calc(100vh - 70px)}.portal-topbar-v2~.portal-shell .portal-sidebar{top:70px;height:calc(100vh - 70px)}
@media(max-width:780px){.portal-topbar-v2~.portal-shell .portal-sidebar{top:64px;height:calc(100dvh - 64px)}}

/* Phoumika v5.3.5: square image-first product cards with all commerce details on-image. */
.product-card-v3.product-card-on-image{
  position:relative;
  aspect-ratio:1/1;
  min-width:0;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.42);
  border-radius:22px;
  background:#dfe9e1;
  box-shadow:0 10px 30px rgba(10,47,24,.10);
  isolation:isolate;
  transform:translateZ(0);
  transition:transform .24s ease,box-shadow .24s ease,border-color .24s ease;
}
.product-card-v3.product-card-on-image:hover{
  transform:translateY(-5px);
  border-color:rgba(255,255,255,.78);
  box-shadow:0 22px 48px rgba(8,43,21,.22);
}
.product-card-v3-cover{
  position:absolute;
  inset:0;
  z-index:0;
  display:block;
  overflow:hidden;
  background:#e8f0ea;
}
.product-card-v3-cover img{
  width:100%;
  height:100%;
  max-width:none;
  object-fit:cover;
  object-position:center;
  transform:scale(1.001);
  transition:transform .48s cubic-bezier(.2,.75,.25,1),filter .3s ease;
}
.product-card-v3.product-card-on-image:hover .product-card-v3-cover img{transform:scale(1.055)}
.product-card-v3-scrim{
  position:absolute;
  inset:0;
  background:
    linear-gradient(180deg,rgba(4,25,12,.07) 0%,rgba(4,25,12,0) 28%,rgba(4,25,12,.30) 55%,rgba(3,20,10,.94) 100%);
  pointer-events:none;
}
.product-card-v3-badges{
  position:absolute;
  z-index:3;
  top:11px;
  left:11px;
  right:11px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  pointer-events:none;
}
.product-card-v3-category,.product-card-v3-featured{
  display:inline-flex;
  align-items:center;
  min-width:0;
  gap:5px;
  padding:7px 9px;
  border:1px solid rgba(255,255,255,.52);
  border-radius:999px;
  color:#fff;
  background:rgba(7,41,20,.58);
  box-shadow:0 7px 18px rgba(0,0,0,.14);
  backdrop-filter:blur(12px) saturate(1.18);
  -webkit-backdrop-filter:blur(12px) saturate(1.18);
  font-size:10px;
  font-style:normal;
  font-weight:850;
  line-height:1;
}
.product-card-v3-category b{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.product-card-v3-featured{
  flex:0 0 auto;
  color:#3c2a00;
  background:rgba(255,234,154,.92);
  border-color:rgba(255,246,210,.94);
}
.product-card-v3-panel{
  position:absolute;
  z-index:4;
  left:0;
  right:0;
  bottom:0;
  display:flex;
  flex-direction:column;
  min-height:54%;
  padding:42px 14px 14px;
  color:#fff;
  pointer-events:none;
}
.product-card-v3-panel a,.product-card-v3-panel button,.product-card-v3-panel form{pointer-events:auto}
.product-card-v3-store{
  display:flex;
  align-items:center;
  min-width:0;
  gap:7px;
  width:max-content;
  max-width:100%;
  margin-bottom:6px;
  color:rgba(255,255,255,.88);
  font-size:10px;
  font-weight:780;
  line-height:1.2;
}
.product-card-v3-store>span:nth-child(2){
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.product-card-v3-store-icon{
  width:25px;
  height:25px;
  display:grid;
  place-items:center;
  flex:0 0 auto;
  border:1px solid rgba(255,255,255,.36);
  border-radius:8px;
  background:rgba(255,255,255,.16);
  color:#fff;
  backdrop-filter:blur(10px);
}
.product-card-v3-store i{
  width:16px;
  height:16px;
  display:grid;
  place-items:center;
  flex:0 0 auto;
  border-radius:50%;
  background:#2196f3;
  color:#fff;
  font-style:normal;
  box-shadow:0 3px 8px rgba(0,0,0,.22);
}
.product-card-v3-title{
  display:-webkit-box;
  min-height:42px;
  overflow:hidden;
  color:#fff;
  font-size:15px;
  font-weight:900;
  line-height:1.38;
  text-shadow:0 2px 10px rgba(0,0,0,.42);
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
}
.product-card-v3-title:hover{color:#d9ffe5}
.product-card-v3-price-row{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:8px;
  margin-top:7px;
}
.product-card-v3-price{
  display:flex;
  align-items:baseline;
  min-width:0;
  gap:4px;
}
.product-card-v3-price b{
  color:#caffd7;
  font-size:18px;
  font-weight:950;
  line-height:1.1;
  letter-spacing:-.25px;
  text-shadow:0 2px 9px rgba(0,0,0,.38);
}
.product-card-v3-price small{color:rgba(255,255,255,.78);font-size:9px;font-weight:750}
.product-card-v3-price-row>em{
  flex:0 0 auto;
  color:rgba(255,255,255,.83);
  font-size:9px;
  font-style:normal;
  font-weight:800;
}
.product-card-v3-meta{
  display:flex;
  align-items:center;
  gap:8px;
  min-width:0;
  margin-top:7px;
  color:rgba(255,255,255,.78);
  font-size:9px;
  font-weight:750;
}
.product-card-v3-meta>span{display:inline-flex;align-items:center;gap:3px;white-space:nowrap}
.product-card-v3-meta>span:last-child{margin-left:auto;overflow:hidden;text-overflow:ellipsis}
.product-card-v3-rating{color:#ffe080!important}
.product-card-v3-rating .ui-icon{fill:#ffc62e;stroke:#ffc62e}
.product-card-v3-meta .is-available{color:#bff8cd}.product-card-v3-meta .is-unavailable{color:#ffc1c1}
.product-card-v3-targets{
  display:flex;
  gap:5px;
  min-width:0;
  margin-top:6px;
  overflow:hidden;
}
.product-card-v3-targets span{
  max-width:48%;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  padding:4px 6px;
  border:1px solid rgba(255,255,255,.20);
  border-radius:999px;
  background:rgba(255,255,255,.10);
  color:rgba(255,255,255,.83);
  font-size:8px;
  font-weight:750;
  backdrop-filter:blur(8px);
}
.product-card-v3-actions{
  display:grid;
  grid-template-columns:38px minmax(0,1fr);
  gap:7px;
  margin-top:10px;
}
.product-card-v3-view,.product-card-v3-add{
  height:39px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  border-radius:11px;
  font-size:10px;
  font-weight:900;
  line-height:1;
  transition:transform .18s ease,background .18s ease,box-shadow .18s ease;
}
.product-card-v3-view{
  border:1px solid rgba(255,255,255,.37);
  background:rgba(255,255,255,.15);
  color:#fff;
  backdrop-filter:blur(12px);
}
.product-card-v3-view:hover{background:rgba(255,255,255,.25);transform:translateY(-1px)}
.product-card-v3-cart-form{min-width:0}
.product-card-v3-add{
  width:100%;
  padding:0 11px;
  border:1px solid rgba(152,255,183,.5);
  background:linear-gradient(135deg,rgba(27,171,79,.97),rgba(7,117,54,.98));
  color:#fff;
  box-shadow:0 9px 20px rgba(0,0,0,.20);
  cursor:pointer;
}
.product-card-v3-add span{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.product-card-v3-add:hover:not(:disabled){
  background:linear-gradient(135deg,#26bc5c,#08723a);
  box-shadow:0 12px 25px rgba(0,0,0,.28);
  transform:translateY(-1px);
}
.product-card-v3-add:disabled{
  border-color:rgba(255,255,255,.2);
  background:rgba(111,126,116,.68);
  color:rgba(255,255,255,.7);
  box-shadow:none;
  cursor:not-allowed;
}
.product-card-v3-add.added{background:linear-gradient(135deg,#08a96e,#08704e);animation:cart-button-success .8s ease}
.product-card-v3-add.is-loading .ui-icon{animation:spin .8s linear infinite}

html[data-theme="dark"] .product-card-v3.product-card-on-image{border-color:rgba(255,255,255,.18);background:#102018}

@media(max-width:1320px){
  .product-card-v3-panel{padding:38px 12px 12px}
  .product-card-v3-title{font-size:14px}
}
@media(max-width:780px){
  .product-card-v3.product-card-on-image{border-radius:17px}
  .product-card-v3-badges{top:8px;left:8px;right:8px}
  .product-card-v3-category,.product-card-v3-featured{padding:6px 7px;font-size:8px}
  .product-card-v3-panel{min-height:63%;padding:38px 10px 10px}
  .product-card-v3-store{gap:5px;margin-bottom:4px;font-size:9px}
  .product-card-v3-store-icon{width:21px;height:21px;border-radius:7px}
  .product-card-v3-title{min-height:35px;font-size:12px;line-height:1.35}
  .product-card-v3-price-row{margin-top:5px}
  .product-card-v3-price b{font-size:14px}
  .product-card-v3-price-row>em{font-size:8px}
  .product-card-v3-meta{gap:5px;margin-top:5px;font-size:8px}
  .product-card-v3-targets{display:none}
  .product-card-v3-actions{grid-template-columns:34px minmax(0,1fr);gap:5px;margin-top:7px}
  .product-card-v3-view,.product-card-v3-add{height:34px;border-radius:9px;font-size:9px}
  .product-card-v3-add{padding:0 8px}
}
@media(max-width:480px){
  .product-card-v3-panel{min-height:67%;padding:34px 8px 8px}
  .product-card-v3-featured{display:none}
  .product-card-v3-category{max-width:72%}
  .product-card-v3-store i{width:14px;height:14px}
  .product-card-v3-title{min-height:33px;font-size:11px}
  .product-card-v3-price b{font-size:13px}
  .product-card-v3-price-row>em,.product-card-v3-meta>span:nth-child(2){display:none}
  .product-card-v3-meta>span:last-child{max-width:62px}
  .product-card-v3-actions{grid-template-columns:31px minmax(0,1fr)}
  .product-card-v3-view,.product-card-v3-add{height:32px}
  .product-card-v3-add span{font-size:8px}
}
@media(max-width:380px){
  .product-card-v3-store-icon,.product-card-v3-view{display:none}
  .product-card-v3-actions{grid-template-columns:1fr}
  .product-card-v3-meta{display:none}
  .product-card-v3-panel{min-height:62%}
  .product-card-v3-add span{display:inline}
}
@media(max-width:350px){
  .product-card-v3-panel{min-height:55%;padding:45px 12px 12px}
  .product-card-v3-title{font-size:13px}
  .product-card-v3-price b{font-size:16px}
  .product-card-v3-meta{display:flex}
}
@media(prefers-reduced-motion:reduce){
  .product-card-v3.product-card-on-image,.product-card-v3-cover img,.product-card-v3-view,.product-card-v3-add{transition:none!important}
}


/* Phoumika v5.3.6: responsive product count settings */
.catalog-display-settings .form-grid label{display:flex;flex-direction:column;gap:7px}
.catalog-display-settings .form-grid small{color:var(--muted);font-size:.78rem;line-height:1.45}
.catalog-display-preview{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:14px}
.catalog-display-preview span{display:flex;flex-direction:column;gap:3px;padding:12px 14px;border:1px solid var(--line);border-radius:14px;background:color-mix(in srgb,var(--surface) 88%,var(--primary) 12%)}
.catalog-display-preview small{color:var(--muted)}
@media(max-width:680px){.catalog-display-preview{grid-template-columns:1fr}.catalog-display-settings .form-grid{grid-template-columns:1fr}}

/* Phoumika v5.4.0: Agriculture News editorial and public experience */
.agriculture-news-banner{position:relative;overflow:hidden;background:radial-gradient(circle at 88% 16%,rgba(255,255,255,.18),transparent 24%),linear-gradient(120deg,#123d29,#237a3e 58%,#89b83d)}.agriculture-news-banner:after{content:"🌾";position:absolute;right:5%;bottom:-38px;font-size:150px;opacity:.13;transform:rotate(-8deg);pointer-events:none}.agri-news-search{display:flex;gap:9px;width:min(680px,100%);margin-top:21px;position:relative;z-index:1}.agri-news-search input{flex:1;min-width:0;height:46px;border:1px solid rgba(255,255,255,.3);border-radius:13px;background:rgba(255,255,255,.96)!important;color:#153320!important;padding:0 15px;box-shadow:0 9px 24px rgba(7,38,19,.12)}.agri-news-filters{display:flex;gap:8px;overflow:auto;padding:16px 1px 4px;scrollbar-width:none}.agri-news-filters::-webkit-scrollbar{display:none}.agri-news-filters a{white-space:nowrap;border:1px solid var(--portal-line);background:#fff;color:#42594a;border-radius:999px;padding:8px 12px;font-size:11px;font-weight:800;transition:.2s}.agri-news-filters a:hover,.agri-news-filters a.active{background:#187943;color:#fff;border-color:#187943;transform:translateY(-1px)}.agri-news-featured{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(330px,.85fr);background:#fff;border:1px solid var(--portal-line);border-radius:22px;overflow:hidden;margin-top:22px;box-shadow:0 13px 35px rgba(19,72,39,.08)}.agri-news-featured-media{min-height:345px;background:linear-gradient(135deg,#e6f2dc,#b9d69b);display:grid;place-items:center;overflow:hidden}.agri-news-featured-media img{width:100%;height:100%;object-fit:cover}.agri-news-featured-media span{font-size:110px}.agri-news-featured>div{padding:34px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center}.agri-news-featured h2{font-size:clamp(25px,3vw,37px);line-height:1.25;margin:13px 0 10px}.agri-news-featured h2 a{color:inherit}.agri-news-featured p{color:var(--portal-muted);font-size:14px;line-height:1.75;margin:0 0 14px}.agri-news-meta{display:flex;gap:13px;flex-wrap:wrap;color:#64766a;font-size:10px;margin:5px 0 18px}.agriculture-news-grid{align-items:stretch}.agriculture-news-card{display:flex;flex-direction:column;height:100%;transition:transform .2s,box-shadow .2s,border-color .2s}.agriculture-news-card:hover{transform:translateY(-4px);box-shadow:0 14px 34px rgba(19,72,39,.11);border-color:#afd0b6}.agriculture-news-card .portal-news-image{display:grid;position:relative;overflow:hidden;place-items:center}.agriculture-news-card .portal-news-image img{width:100%;height:100%;object-fit:cover;transition:transform .35s}.agriculture-news-card:hover .portal-news-image img{transform:scale(1.035)}.agriculture-news-card .portal-news-image span{font-size:65px}.agriculture-news-card .portal-news-image em{position:absolute;right:10px;top:10px;background:#fff3bd;color:#8a5a00;border-radius:50%;width:31px;height:31px;display:grid;place-items:center;font-style:normal;box-shadow:0 5px 14px rgba(0,0,0,.12)}.agriculture-news-card>div:last-child{display:flex;flex:1;flex-direction:column}.agriculture-news-card h3 a{color:inherit}.agriculture-news-card p{line-height:1.65;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.agri-news-card-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:auto;padding-top:11px;border-top:1px solid #edf2ee}.agri-news-card-footer a{width:31px;height:31px;border-radius:50%;display:grid;place-items:center;background:#e8f5eb;color:#13743c;font-weight:900}.agri-news-empty{min-height:260px;display:flex;flex-direction:column;align-items:center;justify-content:center}.agri-news-empty span{font-size:50px}.agri-news-empty p{margin:4px 0 0;color:var(--portal-muted)}.agri-pagination{display:flex;gap:7px;justify-content:center;margin:25px 0 8px}.agri-pagination a{min-width:38px;height:38px;padding:0 9px;border-radius:10px;background:#fff;border:1px solid var(--portal-line);display:grid;place-items:center;font-size:12px;font-weight:800}.agri-pagination a.active{background:#15793f;border-color:#15793f;color:#fff}.agri-article-shell{max-width:1120px;margin:0 auto}.agri-back-link{display:inline-flex;margin:4px 0 18px;color:#187943;font-size:12px;font-weight:900}.agri-article-header{max-width:900px;margin:0 auto;text-align:center}.agri-article-header h1{font-size:clamp(31px,5vw,53px);line-height:1.2;margin:15px 0 11px}.agri-article-header>p{font-size:16px;line-height:1.7;color:var(--portal-muted);max-width:760px;margin:0 auto}.agri-article-header .agri-news-meta{justify-content:center;margin-top:18px}.agri-article-cover{margin:27px 0 30px;border-radius:22px;overflow:hidden;background:#e5efdf;box-shadow:0 13px 34px rgba(17,57,31,.1);aspect-ratio:16/8.5}.agri-article-cover img{width:100%;height:100%;object-fit:cover}.agri-article-layout{display:grid;grid-template-columns:minmax(0,1fr) 285px;gap:34px;align-items:start}.agri-article-content{background:#fff;border:1px solid var(--portal-line);border-radius:19px;padding:clamp(22px,4vw,42px);font-size:16px;line-height:2;color:#2d4033;white-space:normal}.agri-article-aside{position:sticky;top:91px;display:flex;flex-direction:column;gap:10px}.agri-article-aside>div{background:linear-gradient(145deg,#e8f5eb,#f7faf5);border:1px solid #cae1cf;border-radius:18px;padding:22px}.agri-article-aside>div>span{font-size:38px}.agri-article-aside h3{margin:10px 0 6px;font-size:16px}.agri-article-aside p{font-size:11px;line-height:1.65;color:#5f7364;margin:0}.related-news-grid .portal-news-image{height:120px}.home-agriculture-news .portal-news-image{height:160px}
.agri-admin-head{align-items:center}.agri-news-stats{grid-template-columns:repeat(5,minmax(0,1fr));margin-bottom:18px}.agri-news-admin-filter{display:grid;grid-template-columns:minmax(220px,1fr) 170px 180px auto auto;gap:9px;margin-bottom:16px}.agri-news-admin-table{min-width:1050px}.agri-news-admin-table td{vertical-align:middle}.agri-admin-article-cell{display:flex;align-items:center;gap:12px;min-width:330px}.agri-admin-article-cell>img,.agri-admin-article-cell>span{width:58px;height:45px;border-radius:9px;object-fit:cover;background:#e7f0e5;display:grid;place-items:center;font-size:24px;flex:0 0 auto}.agri-admin-article-cell b,.agri-admin-article-cell small,.agri-admin-article-cell em{display:block}.agri-admin-article-cell b{font-size:12px;max-width:360px}.agri-admin-article-cell small{font-size:9px;color:var(--pro-muted);margin-top:3px}.agri-admin-article-cell em{font-size:9px;color:#168146;font-style:normal;margin-top:3px}.agri-featured-mark{display:block;color:#9b6d00;font-size:9px;margin-top:5px}.status.scheduled{background:#e9edff;color:#4055a9}.agri-news-editor{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:18px;align-items:start}.agri-news-editor-main{display:grid;gap:18px}.agri-news-editor .panel{padding:20px}.agri-news-editor label{display:grid;gap:6px;font-size:11px;font-weight:800;margin-bottom:14px}.agri-news-editor input,.agri-news-editor select,.agri-news-editor textarea{width:100%}.agri-news-editor textarea{resize:vertical;line-height:1.7}.agri-news-editor label small{font-weight:500;color:var(--pro-muted);line-height:1.45}.agri-news-editor-side{position:sticky;top:89px;display:grid;gap:18px}.agri-publish-card .btn{width:100%;margin-top:7px}.agri-news-image-preview{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:13px;margin:0 0 14px;background:#e7efe5}
html[data-theme="dark"] .agri-news-filters a,html[data-theme="dark"] .agri-news-featured,html[data-theme="dark"] .agri-article-content,html[data-theme="dark"] .agri-pagination a{background:#15231a;color:#edf6ef;border-color:#2d4233}html[data-theme="dark"] .agri-news-filters a.active,html[data-theme="dark"] .agri-news-filters a:hover,html[data-theme="dark"] .agri-pagination a.active{background:#208d50;border-color:#208d50}html[data-theme="dark"] .agri-news-card-footer{border-color:#2d4233}html[data-theme="dark"] .agri-article-content{color:#dbe8df}html[data-theme="dark"] .agri-article-aside>div{background:#132219;border-color:#2d4233}html[data-theme="dark"] .agri-article-aside p{color:#9fb0a4}
@media(max-width:1100px){.agri-news-stats{grid-template-columns:repeat(3,1fr)}.agri-news-admin-filter{grid-template-columns:1fr 1fr}.agri-news-admin-filter input{grid-column:1/-1}.agri-news-editor{grid-template-columns:1fr}.agri-news-editor-side{position:static;grid-template-columns:1fr 1fr}.agri-news-featured{grid-template-columns:1fr 1fr}.agri-article-layout{grid-template-columns:1fr}.agri-article-aside{position:static;display:grid;grid-template-columns:1fr auto auto;align-items:center}}
@media(max-width:720px){.agri-news-search{flex-direction:column}.agri-news-search .btn{width:100%}.agri-news-featured{grid-template-columns:1fr}.agri-news-featured-media{min-height:230px}.agri-news-featured>div{padding:23px}.agri-news-featured h2{font-size:27px}.agri-news-stats{grid-template-columns:repeat(2,1fr)}.agri-news-admin-filter{grid-template-columns:1fr}.agri-news-admin-filter input{grid-column:auto}.agri-news-editor-side{grid-template-columns:1fr}.agri-article-header{text-align:left}.agri-article-header .agri-news-meta{justify-content:flex-start}.agri-article-cover{border-radius:15px;aspect-ratio:16/10}.agri-article-content{font-size:15px;line-height:1.9;padding:21px}.agri-article-aside{display:flex}.home-agriculture-news .portal-news-image{height:180px}}

/* v5.4.3 clean shipping address experience */
.address-page-head{align-items:center}.address-head-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.address-count-pill{display:inline-flex;align-items:center;min-height:38px;padding:8px 12px;border:1px solid #dbe8dc;border-radius:999px;background:#fff;color:#45604a;font-size:12px;font-weight:800}.shipping-address-layout{display:grid;grid-template-columns:minmax(320px,420px) minmax(0,1fr);gap:20px;align-items:start}.address-create-panel{padding:0;position:sticky;top:94px;overflow:hidden}.address-create-panel>summary{list-style:none;display:grid;grid-template-columns:42px 1fr auto;gap:12px;align-items:center;padding:18px 20px;cursor:pointer;background:linear-gradient(135deg,#f7fbf4,#eef7ed);border-bottom:1px solid transparent}.address-create-panel[open]>summary{border-bottom-color:var(--line)}.address-create-panel>summary::-webkit-details-marker,.address-edit-panel>summary::-webkit-details-marker{display:none}.address-summary-icon{width:42px;height:42px;border-radius:13px;display:grid;place-items:center;background:var(--green);color:#fff;font-size:22px;font-weight:900}.address-create-panel summary b,.address-create-panel summary small{display:block}.address-create-panel summary small{margin-top:2px;color:var(--muted);font-size:11px}.address-summary-chevron{font-size:20px;transition:transform .2s}.address-create-panel[open] .address-summary-chevron{transform:rotate(180deg)}.address-form{display:grid;gap:17px;padding:18px 20px}.address-form.compact{padding:0}.address-form-section{display:grid;gap:13px}.address-form-section+.address-form-section{padding-top:17px;border-top:1px solid var(--line)}.address-section-title{display:flex;justify-content:space-between;gap:12px;align-items:baseline}.address-section-title b{font-size:13px}.address-section-title small{color:var(--muted);font-size:10px;text-align:right}.address-label-choices{display:flex;gap:7px;flex-wrap:wrap}.address-label-chip{border:1px solid #d8e7d9;background:#fff;color:#38533f;border-radius:999px;padding:6px 10px;font-size:11px;font-weight:800;cursor:pointer}.address-label-chip:hover,.address-label-chip.is-active{border-color:var(--green);background:#eaf7ed;color:var(--green)}.address-form-footer{display:flex;justify-content:space-between;align-items:center;gap:12px;padding-top:15px;border-top:1px solid var(--line)}.address-limit-message{padding:24px}.address-limit-message p{margin:6px 0 0;color:var(--muted);font-size:12px}.address-book-list{display:grid;gap:14px}.address-book-list-head{display:flex;align-items:end;justify-content:space-between;gap:12px;padding:2px 2px 5px}.address-book-list-head b,.address-book-list-head small{display:block}.address-book-list-head small{color:var(--muted);font-size:11px}.address-default-note{color:var(--green);font-size:11px;font-weight:900}.address-empty-state{min-height:240px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;border-style:dashed}.address-empty-state>span{width:54px;height:54px;border-radius:17px;background:#edf7ed;color:var(--green);display:grid;place-items:center;font-size:26px}.address-empty-state b{margin-top:12px;font-size:18px}.address-empty-state p{max-width:420px;margin:5px 0 0;color:var(--muted);font-size:12px}.address-card-clean{position:relative;padding:18px;transition:border-color .2s,box-shadow .2s}.address-card-clean:hover{border-color:#bfd9c2;box-shadow:0 10px 26px rgba(25,79,38,.07)}.address-card-clean.is-default{border-color:#8fc99b;background:linear-gradient(135deg,#fff,#f7fcf6)}.address-card-top{display:flex;gap:12px;align-items:flex-start}.address-pin-icon{flex:0 0 auto;width:42px;height:42px;border-radius:13px;background:#edf7ed;color:var(--green);display:grid;place-items:center;font-size:21px}.address-card-title{min-width:0;flex:1}.address-card-title>div{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.address-card-title h3{margin:0;font-size:17px}.address-card-title p{display:flex;gap:6px;align-items:center;flex-wrap:wrap;margin:5px 0 0;color:#53675a;font-size:12px}.address-card-title p a{color:var(--green);font-weight:800}.address-default-badge{display:inline-flex;align-items:center;padding:3px 8px;border-radius:999px;background:#dff4e4;color:#08753a;font-size:9px;font-style:normal;font-weight:900}.address-card-body{display:grid;gap:6px;margin:14px 0 15px;padding:13px 14px;border-radius:14px;background:#f7faf6}.address-card-body p{margin:0}.address-main-line{font-size:13px;font-weight:700;color:#263b2c}.address-location-line{display:flex;gap:7px;align-items:flex-start;color:#627267;font-size:11px}.address-location-line span{color:var(--green)}.address-map-label{color:#687a6e}.address-incomplete-warning,.checkout-address-option .address-warning{color:#9b3a16}.address-card-actions{display:flex;align-items:center;gap:9px;justify-content:flex-end;flex-wrap:wrap}.address-edit-panel{position:relative}.address-edit-panel>summary{list-style:none}.address-edit-body{position:absolute;right:0;top:calc(100% + 9px);z-index:20;width:min(680px,calc(100vw - 60px));padding:18px;border:1px solid var(--line);border-radius:17px;background:#fff;box-shadow:0 22px 60px rgba(20,56,29,.18)}.address-edit-body .location-map{min-height:250px}.address-edit-panel[open]>summary{border-color:var(--green);color:var(--green)}

.checkout-page-clean{max-width:1380px}.checkout-step-card{padding:0;overflow:visible}.checkout-step-head{display:flex;gap:12px;align-items:center;padding:18px 20px;border-bottom:1px solid var(--line)}.checkout-step-head h3,.checkout-step-head small{display:block;margin:0}.checkout-step-head small{margin-top:2px;color:var(--muted);font-size:11px}.checkout-step-number{width:34px;height:34px;flex:0 0 auto;border-radius:11px;background:#e7f5e9;color:var(--green);display:grid;place-items:center;font-size:13px;font-weight:900}.checkout-address-choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:18px 20px}.checkout-address-option{position:relative;display:grid;grid-template-columns:20px 1fr;gap:10px;min-height:128px;padding:14px;border:1px solid #dce7dc;border-radius:15px;background:#fff;cursor:pointer;transition:.18s}.checkout-address-option:hover{border-color:#a9ceaE;box-shadow:0 7px 18px rgba(25,73,36,.06)}.checkout-address-option.is-selected,.checkout-address-option:has(input:checked){border-color:var(--green);background:#f4fbf5;box-shadow:0 0 0 3px rgba(8,124,48,.08)}.checkout-address-option>input{position:absolute;opacity:0;pointer-events:none}.checkout-address-radio{width:18px;height:18px;margin-top:2px;border:2px solid #afc2b2;border-radius:50%;background:#fff;box-shadow:inset 0 0 0 4px #fff}.checkout-address-option.is-selected .checkout-address-radio,.checkout-address-option:has(input:checked) .checkout-address-radio{border-color:var(--green);background:var(--green)}.checkout-address-option-body{display:grid;gap:4px;min-width:0}.checkout-address-option-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.checkout-address-option-head b{font-size:13px}.checkout-address-option-head em{font-style:normal;color:var(--green);font-size:9px;font-weight:900}.checkout-address-option-body strong{font-size:11px}.checkout-address-option-body small{display:block;color:#66766b;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.checkout-address-new-option{align-content:center;background:#fbfdf9;border-style:dashed}.saved-address-preview{grid-template-columns:32px 1fr;align-items:start;margin:0 20px 18px}.saved-address-preview>span:last-child{display:grid;gap:2px}.saved-address-preview small{display:block;color:#64736a}.saved-address-check{width:28px;height:28px;border-radius:9px;background:var(--green);color:#fff;display:grid;place-items:center;font-weight:900}.checkout-new-address-card{margin:0 20px 20px;padding:17px;border:1px solid var(--line);border-radius:16px;background:#fbfdfb}.checkout-new-address-card .address-section-title{margin-bottom:12px}.checkout-new-address-card .address-label-choices{margin-bottom:12px}.checkout-notes-card textarea{width:calc(100% - 40px);margin:18px 20px 20px;border:1px solid #dbe6da;border-radius:12px;padding:13px;resize:vertical}.checkout-summary-clean{position:sticky;top:94px;padding:18px}.checkout-summary-head{display:flex;justify-content:space-between;align-items:center;gap:10px}.checkout-summary-head h3{margin:0}.checkout-summary-head span{padding:4px 8px;border-radius:999px;background:#edf6ee;color:var(--green);font-size:10px;font-weight:900}.checkout-summary-items{max-height:330px;overflow:auto;margin-top:10px;padding-right:3px}.checkout-summary-clean .mini-item{grid-template-columns:50px minmax(0,1fr) auto}.checkout-summary-clean .mini-item img{width:50px;height:50px}.checkout-summary-clean .total{margin-top:8px;padding-top:12px;border-top:1px solid var(--line)}

@media(max-width:1000px){.shipping-address-layout{grid-template-columns:1fr}.address-create-panel{position:static}.checkout-address-choice-grid{grid-template-columns:1fr}.address-edit-body{position:fixed;inset:72px 14px 14px;width:auto;overflow:auto}.checkout-summary-clean{position:static}}
@media(max-width:700px){.address-page-head{align-items:flex-start}.address-head-actions{width:100%}.address-head-actions .btn{flex:1}.address-count-pill{flex:1;justify-content:center}.shipping-address-layout{gap:14px}.address-create-panel>summary{grid-template-columns:36px 1fr auto;padding:14px}.address-summary-icon{width:36px;height:36px;border-radius:11px}.address-form{padding:15px}.address-section-title{display:grid;gap:2px}.address-section-title small{text-align:left}.address-form-footer{align-items:stretch;flex-direction:column}.address-form-footer .btn{width:100%}.address-book-list-head{align-items:flex-start;flex-direction:column}.address-card-clean{padding:14px}.address-card-actions{justify-content:stretch}.address-card-actions>*{flex:1}.address-card-actions .btn{width:100%}.address-edit-body{inset:64px 8px 8px;padding:14px}.checkout-step-head{padding:15px}.checkout-address-choice-grid{padding:14px}.checkout-address-option{min-height:116px;padding:12px}.saved-address-preview{margin:0 14px 14px}.checkout-new-address-card{margin:0 14px 14px;padding:14px}.checkout-notes-card textarea{width:calc(100% - 28px);margin:14px}.checkout-summary-clean{padding:15px}.checkout-summary-items{max-height:none}.location-coordinates{grid-template-columns:1fr!important}.location-coordinates .btn{width:100%}}
[data-theme="dark"] .address-count-pill,[data-theme="dark"] .address-create-panel>summary,[data-theme="dark"] .address-label-chip,[data-theme="dark"] .address-edit-body,[data-theme="dark"] .checkout-address-option,[data-theme="dark"] .checkout-new-address-card{background:#17231b;color:#edf6ef;border-color:#34463a}[data-theme="dark"] .address-card-clean.is-default,[data-theme="dark"] .checkout-address-option.is-selected,[data-theme="dark"] .checkout-address-option:has(input:checked){background:#17291d;border-color:#4d9c63}[data-theme="dark"] .address-card-body,[data-theme="dark"] .checkout-address-new-option{background:#1b2a20}[data-theme="dark"] .address-main-line,[data-theme="dark"] .address-card-title h3{color:#f0f6f1}

/* Phoumika v5.4.4: automatically captured Cambodia shipping hierarchy. */
.location-auto-capture{display:grid;grid-template-columns:34px minmax(0,1fr);gap:10px;align-items:start;padding:12px 14px;border:1px solid #b9dbc1;border-radius:14px;background:#f2fbf4;color:#24472d}.location-auto-capture.is-empty{border-style:dashed;background:#fafcf9;color:#68766c}.location-auto-capture-icon{width:30px;height:30px;border-radius:10px;display:grid;place-items:center;background:#168044;color:#fff;font-weight:900}.location-auto-capture.is-empty .location-auto-capture-icon{background:#dfe8e0;color:#6e7d72}.location-auto-capture>span:last-child{display:grid;gap:2px;min-width:0}.location-auto-capture b{font-size:12px}.location-auto-capture small{font-size:12px;font-weight:800;line-height:1.55;overflow-wrap:anywhere}.location-auto-capture em{font-size:10px;font-style:normal;color:#66756b}.location-picker.is-complete .location-auto-capture{border-color:#72bf86;box-shadow:0 0 0 3px rgba(22,128,68,.07)}
@media(max-width:640px){.location-auto-capture{grid-template-columns:30px minmax(0,1fr);padding:11px 12px}.location-auto-capture-icon{width:28px;height:28px;border-radius:9px}.location-auto-capture small{font-size:11px}}
[data-theme="dark"] .location-auto-capture{background:#17291d;border-color:#3f7650;color:#eff8f1}[data-theme="dark"] .location-auto-capture.is-empty{background:#17211a;border-color:#3a493e;color:#b8c6bc}[data-theme="dark"] .location-auto-capture em{color:#a9b8ad}

/* Phoumika v5.4.6: clean add / edit / remove shipping-address manager. */
.address-page-head-v2{gap:18px}
.address-page-head-v2 .address-head-actions{justify-content:flex-end}
.address-add-button{display:inline-flex;align-items:center;gap:7px}
.address-add-button>span{font-size:18px;line-height:1}
.address-manager-shell{display:grid;gap:14px}
.address-manager-toolbar{display:flex;align-items:flex-end;justify-content:space-between;gap:14px;padding:0 2px}
.address-manager-toolbar b,.address-manager-toolbar small{display:block}
.address-manager-toolbar b{font-size:15px}
.address-manager-toolbar small{margin-top:3px;color:var(--muted);font-size:11px}
.address-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.address-card-v2{position:relative;display:flex;flex-direction:column;min-width:0;min-height:260px;padding:18px;overflow:hidden;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}
.address-card-v2::before{content:"";position:absolute;inset:0 auto 0 0;width:4px;background:transparent}
.address-card-v2:hover{transform:translateY(-2px);border-color:#b9d7bf;box-shadow:0 14px 30px rgba(21,72,34,.08)}
.address-card-v2.is-default{border-color:#85c694;background:linear-gradient(145deg,#fff 0%,#f6fcf7 100%)}
.address-card-v2.is-default::before{background:var(--green)}
.address-card-v2-head{display:flex;align-items:flex-start;gap:12px}
.address-card-v2-icon{display:grid;place-items:center;flex:0 0 auto;width:44px;height:44px;border-radius:14px;background:#edf7ef;color:var(--green)}
.address-card-v2-icon svg,.address-card-v2-location>span svg,.address-card-v2-actions svg,.address-delete-icon svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.address-card-v2-title{min-width:0;flex:1}
.address-card-v2-title>div{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.address-card-v2-title h3{min-width:0;margin:0;font-size:17px;overflow-wrap:anywhere}
.address-card-v2-title p{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:6px 0 0;color:#52655a;font-size:12px}
.address-card-v2-title p b{font-weight:850}
.address-card-v2-title p a{padding-left:8px;border-left:1px solid #d5e1d7;color:var(--green);font-weight:850}
.address-card-v2-location{display:grid;grid-template-columns:28px minmax(0,1fr);gap:9px;flex:1;margin:16px 0;padding:14px;border:1px solid #e3ece3;border-radius:15px;background:#f8fbf8}
.address-card-v2-location>span{display:grid;place-items:center;width:28px;height:28px;border-radius:9px;background:#e5f4e8;color:var(--green)}
.address-card-v2-location>span svg{width:16px;height:16px}
.address-card-v2-location>div{display:grid;align-content:start;gap:5px;min-width:0}
.address-card-v2-location strong{color:#263d2d;font-size:12px;line-height:1.65;overflow-wrap:anywhere}
.address-card-v2-location small{color:#68786d;font-size:11px;line-height:1.55;overflow-wrap:anywhere}
.address-card-v2-location em{color:#a44822;font-size:10px;font-style:normal;font-weight:800;line-height:1.5}
.address-card-v2-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;padding-top:14px;border-top:1px solid var(--line)}
.address-card-v2-actions .btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-width:96px}
.address-card-v2-actions .btn svg{width:16px;height:16px}
.address-empty-state-v2{min-height:360px;padding:34px}
.address-empty-state-v2 .address-empty-icon{display:grid;place-items:center;width:66px;height:66px;border-radius:22px;background:#eaf6ed;color:var(--green)}
.address-empty-state-v2 .address-empty-icon svg{width:30px;height:30px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.address-empty-state-v2 .btn{margin-top:16px}
.address-limit-message-v2{display:grid;grid-template-columns:32px minmax(0,1fr);gap:10px;align-items:start;padding:13px 15px;border:1px solid #eadcb8;border-radius:14px;background:#fffaf0;color:#6f5722}
.address-limit-message-v2>span{display:grid;place-items:center;width:28px;height:28px;border-radius:9px;background:#f4dfaa;font-weight:900}
.address-limit-message-v2 b,.address-limit-message-v2 p{display:block;margin:0}
.address-limit-message-v2 p{margin-top:3px;font-size:11px;line-height:1.55}

body.address-modal-open{overflow:hidden;touch-action:none}
.address-modal[hidden]{display:none!important}
.address-modal{position:fixed;inset:0;z-index:1250;display:grid;place-items:center;padding:22px;opacity:0;transition:opacity .18s ease}
.address-modal.is-open{opacity:1}
.address-modal-backdrop{position:absolute;inset:0;width:100%;height:100%;border:0;background:rgba(10,24,15,.62);backdrop-filter:blur(5px);cursor:default}
.address-modal-panel{position:relative;z-index:1;display:flex;flex-direction:column;width:min(790px,calc(100vw - 34px));max-height:min(880px,calc(100dvh - 38px));margin:0;padding:0;border:1px solid #d9e5da;border-radius:24px;background:#fff;box-shadow:0 32px 90px rgba(8,31,15,.28);overflow:hidden;transform:translateY(12px) scale(.985);transition:transform .2s ease}
.address-modal.is-open .address-modal-panel{transform:translateY(0) scale(1)}
.address-modal-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;flex:0 0 auto;padding:20px 22px;border-bottom:1px solid var(--line);background:linear-gradient(180deg,#fff,#fbfdfb)}
.address-modal-head>div{min-width:0}
.address-modal-head span{display:block;color:var(--green);font-size:10px;font-weight:900;letter-spacing:.09em;text-transform:uppercase}
.address-modal-head h3{margin:3px 0 0;font-size:21px;line-height:1.3}
.address-modal-head p{margin:4px 0 0;color:var(--muted);font-size:11px;line-height:1.5}
.address-modal-close{display:grid;place-items:center;flex:0 0 auto;width:36px;height:36px;border:1px solid #dce7dd;border-radius:12px;background:#fff;color:#55685b;font-size:24px;line-height:1;cursor:pointer;transition:.16s}
.address-modal-close:hover{border-color:#b7cebb;background:#f2f8f3;color:var(--green)}
.address-modal-body{display:grid;gap:14px;min-height:0;padding:18px 22px 22px;overflow:auto;overscroll-behavior:contain}
.address-form-section-card{padding:16px;border:1px solid #e1eae2;border-radius:17px;background:#fbfdfb}
.address-form-section-card+.address-form-section-card{padding-top:16px;border-top:1px solid #e1eae2}
.address-form-section-card .location-picker{display:grid;gap:12px}
.address-form-section-card .location-select-grid{margin-top:0}
.address-default-control{display:grid;grid-template-columns:22px minmax(0,1fr);gap:10px;align-items:start;padding:14px 15px;border:1px solid #d8e7da;border-radius:15px;background:#f6fbf7;cursor:pointer}
.address-default-control input{width:18px;height:18px;margin-top:1px;accent-color:var(--green)}
.address-default-control span{display:grid;gap:2px}
.address-default-control b{font-size:12px}
.address-default-control small{color:var(--muted);font-size:10px;line-height:1.45}
.address-modal-footer{display:flex;align-items:center;justify-content:flex-end;gap:9px;flex:0 0 auto;padding:14px 22px;border-top:1px solid var(--line);background:#fff}
.address-modal-footer .btn{min-width:120px}
.address-delete-modal{z-index:1270}
.address-delete-panel{align-items:center;width:min(430px,calc(100vw - 30px));padding:26px;text-align:center;overflow:visible}
.address-delete-icon{display:grid;place-items:center;width:58px;height:58px;border-radius:19px;background:#fff0ed;color:#c53a2d}
.address-delete-icon svg{width:26px;height:26px}
.address-delete-panel h3{margin:15px 0 0;font-size:19px;overflow-wrap:anywhere}
.address-delete-panel p{margin:7px 0 0;color:var(--muted);font-size:12px;line-height:1.6}
.address-delete-panel form{display:grid;grid-template-columns:1fr 1fr;gap:9px;width:100%;margin-top:20px}

@media(max-width:1040px){
  .address-card-grid{grid-template-columns:1fr}
  .address-card-v2{min-height:0}
}
@media(max-width:760px){
  .address-page-head-v2{align-items:flex-start}
  .address-page-head-v2 .address-head-actions{display:grid;grid-template-columns:1fr 1fr;width:100%}
  .address-page-head-v2 .address-count-pill{grid-column:1/-1;justify-content:center}
  .address-page-head-v2 .btn{width:100%;min-height:44px}
  .address-manager-toolbar{align-items:flex-start;flex-direction:column}
  .address-card-v2{padding:15px}
  .address-card-v2-location{margin:14px 0}
  .address-card-v2-actions{display:grid;grid-template-columns:1fr 1fr}
  .address-card-v2-actions .btn{width:100%;min-width:0;min-height:42px}
  .address-modal{align-items:end;padding:0}
  .address-modal-panel{width:100%;max-height:96dvh;border-width:1px 0 0;border-radius:23px 23px 0 0;transform:translateY(24px)}
  .address-modal-head{padding:17px 16px}
  .address-modal-head h3{font-size:19px}
  .address-modal-body{padding:14px 14px 18px}
  .address-form-section-card{padding:14px}
  .address-modal-footer{padding:12px 14px calc(12px + env(safe-area-inset-bottom));box-shadow:0 -8px 24px rgba(14,46,22,.06)}
  .address-modal-footer .btn{flex:1;min-width:0;min-height:44px}
  .address-delete-modal{align-items:center;padding:15px}
  .address-delete-panel{width:min(430px,100%);border:1px solid #d9e5da;border-radius:22px;padding:23px 18px}
}
@media(max-width:460px){
  .address-page-head-v2 .address-head-actions{grid-template-columns:1fr}
  .address-page-head-v2 .address-count-pill{grid-column:auto}
  .address-card-v2-head{gap:10px}
  .address-card-v2-icon{width:40px;height:40px;border-radius:12px}
  .address-card-v2-title h3{font-size:16px}
  .address-card-v2-title p{display:grid;gap:4px}
  .address-card-v2-title p a{padding-left:0;border-left:0}
  .address-card-v2-location{grid-template-columns:25px minmax(0,1fr);padding:12px}
  .address-card-v2-location>span{width:25px;height:25px}
  .address-empty-state-v2{min-height:300px;padding:26px 16px}
  .address-modal-head p{display:none}
  .address-modal-body .form-grid{grid-template-columns:1fr}
  .address-modal-body .form-grid .full{grid-column:auto}
  .address-delete-panel form{grid-template-columns:1fr}
}
[data-theme="dark"] .address-card-v2.is-default{background:linear-gradient(145deg,#17241a,#172c1d);border-color:#4f9962}
[data-theme="dark"] .address-card-v2-icon,[data-theme="dark"] .address-card-v2-location>span,[data-theme="dark"] .address-empty-state-v2 .address-empty-icon{background:#203a27;color:#83d49a}
[data-theme="dark"] .address-card-v2-location,[data-theme="dark"] .address-form-section-card,[data-theme="dark"] .address-default-control{background:#18231b;border-color:#34463a}
[data-theme="dark"] .address-card-v2-location strong,[data-theme="dark"] .address-card-v2-title h3,[data-theme="dark"] .address-modal-head h3,[data-theme="dark"] .address-delete-panel h3{color:#f0f7f1}
[data-theme="dark"] .address-card-v2-title p,[data-theme="dark"] .address-card-v2-location small{color:#b0beb3}
[data-theme="dark"] .address-modal-panel,[data-theme="dark"] .address-modal-head,[data-theme="dark"] .address-modal-footer,[data-theme="dark"] .address-modal-close{background:#152019;border-color:#34463a;color:#edf6ef}
[data-theme="dark"] .address-modal-head{background:linear-gradient(180deg,#17231b,#152019)}
[data-theme="dark"] .address-limit-message-v2{background:#2c2618;border-color:#5a4c2a;color:#e7d49e}
[data-theme="dark"] .address-delete-icon{background:#3a211f;color:#ff8c82}

/* v5.4.9 — responsive order manager search and filters */

/* Order Manager v5.5.0 — clean desktop table + native mobile cards */
.order-manager-head{align-items:center}
.order-head-result{display:grid;min-width:132px;padding:14px 18px;border:1px solid #dce8dd;border-radius:18px;background:#fff;text-align:right;box-shadow:0 8px 22px rgba(28,72,38,.06)}
.order-head-result small{color:var(--muted);font-size:10px;font-weight:850;text-transform:uppercase;letter-spacing:.05em}
.order-head-result b{color:var(--green);font-size:28px;line-height:1.15}
.order-kpi-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr)) minmax(210px,1.25fr);gap:11px;margin-bottom:16px}
.order-kpi-strip article{position:relative;display:grid;grid-template-columns:42px minmax(0,1fr);column-gap:11px;align-items:center;min-width:0;padding:15px 16px;border:1px solid var(--line);border-radius:17px;background:#fff;box-shadow:0 8px 20px rgba(24,67,34,.045)}
.order-kpi-icon{grid-row:1/3;display:grid;place-items:center;width:42px;height:42px;border-radius:13px;background:#edf7ef;color:var(--green);font-size:18px;font-weight:900}
.order-kpi-strip small{align-self:end;color:var(--muted);font-size:10px;font-weight:850;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.order-kpi-strip b{align-self:start;min-width:0;color:#173b20;font-size:20px;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.order-kpi-revenue{background:linear-gradient(135deg,#f3fbf4,#fff)!important}
.order-manager-shell{padding:0;overflow:hidden}
.order-search-toolbar{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;padding:16px 17px 13px;border-bottom:1px solid var(--line);background:#fbfdfb}
.order-quick-search{display:grid;grid-template-columns:38px minmax(0,1fr) auto auto;align-items:center;min-width:0;height:46px;border:1px solid #d5e3d7;border-radius:14px;background:#fff;box-shadow:0 5px 16px rgba(24,67,34,.04);overflow:hidden}
.order-quick-search:focus-within{border-color:#70b780;box-shadow:0 0 0 3px rgba(20,147,66,.09)}
.order-search-icon{display:grid;place-items:center;color:var(--green);font-size:21px}
.order-quick-search input{width:100%;height:44px;border:0;background:transparent;padding:0 8px;color:#1e3023;outline:0;font-size:13px}
.order-search-clear{display:grid;place-items:center;width:30px;height:30px;border-radius:9px;color:#728078;font-size:20px;line-height:1}
.order-search-clear:hover{background:#eef4ef;color:#24392a}
.order-quick-search .btn{height:38px;margin-right:4px;border-radius:11px;padding:0 18px}
.order-filter-toggle{position:relative;min-width:118px;height:46px;gap:8px;border-radius:14px}
.order-filter-toggle b{display:grid;place-items:center;min-width:20px;height:20px;padding:0 5px;border-radius:999px;background:var(--green);color:#fff;font-size:9px}
.order-status-tabs{display:flex;gap:7px;padding:12px 17px;border-bottom:1px solid var(--line);background:#fff;overflow:auto;scrollbar-width:thin}
.order-status-tabs a{display:flex;align-items:center;gap:7px;min-width:max-content;padding:8px 11px;border:1px solid #dce6dd;border-radius:999px;background:#fff;color:#607066;font-size:10px;font-weight:850;transition:.18s ease}
.order-status-tabs a b{display:grid;place-items:center;min-width:22px;height:19px;padding:0 6px;border-radius:999px;background:#edf3ee;color:#4d6153;font-size:9px}
.order-status-tabs a:hover{border-color:#92c39d;background:#f7fbf8;color:#245d32}
.order-status-tabs a.active{border-color:var(--green);background:#eaf6ec;color:#17662c;box-shadow:0 4px 12px rgba(20,147,66,.08)}
.order-status-tabs a.active b{background:var(--green);color:#fff}
.order-advanced-filters{display:grid;grid-template-rows:0fr;border-bottom:0 solid var(--line);background:#f8fbf8;transition:grid-template-rows .22s ease,border-width .22s ease}
.order-advanced-filters>.order-filter-grid{min-height:0;overflow:hidden}
.order-advanced-filters.is-open{grid-template-rows:1fr;border-bottom-width:1px}
.order-filter-grid{display:grid;grid-template-columns:repeat(4,minmax(145px,1fr));gap:11px;padding:0 17px}
.order-advanced-filters.is-open .order-filter-grid{padding-top:15px;padding-bottom:16px}
.order-filter-grid>label{display:grid;gap:5px;min-width:0}
.order-filter-grid>label>span{color:#607066;font-size:10px;font-weight:850}
.order-filter-grid input,.order-filter-grid select{width:100%;min-width:0;height:41px;border:1px solid #d8e4d9;border-radius:11px;background:#fff;padding:0 10px;color:#1e3023;outline:0;font-size:11px}
.order-filter-grid input:focus,.order-filter-grid select:focus{border-color:#70b780;box-shadow:0 0 0 3px rgba(20,147,66,.08)}
.order-filter-actions{display:flex;align-items:end;gap:8px;grid-column:span 2}
.order-filter-actions .btn{min-height:41px}
.order-active-filters{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px 17px;border-bottom:1px solid var(--line);background:#fff}
.order-active-filters>span{color:#66766c;font-size:10px;font-weight:850}
.order-active-filters>div{display:flex;gap:6px;min-width:0;overflow:auto}
.order-active-filters>div a{display:flex;align-items:center;gap:7px;min-width:max-content;padding:6px 8px 6px 10px;border-radius:999px;background:#eff6f0;color:#31573a;font-size:9px;font-weight:800}
.order-active-filters>div a b{font-size:14px;line-height:1}
.order-clear-all{min-width:max-content;color:#b34545;font-size:9px;font-weight:850}
.order-result-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 17px;border-bottom:1px solid var(--line);background:#fff}
.order-result-bar div{display:flex;align-items:baseline;gap:6px}
.order-result-bar b{color:var(--green);font-size:18px}
.order-result-bar span,.order-result-bar small{color:var(--muted);font-size:10px}
.order-table-scroll{overflow:auto}
.order-clean-table{width:100%;min-width:1100px;border-collapse:separate;border-spacing:0}
.order-clean-table th{position:sticky;top:0;z-index:2;padding:11px 12px;border-bottom:1px solid #dfe8e0;background:#f5f9f5;color:#65736a;font-size:9px;font-weight:900;text-align:left;text-transform:uppercase;letter-spacing:.04em;white-space:nowrap}
.order-clean-table td{padding:13px 12px;border-bottom:1px solid #edf2ed;vertical-align:middle;background:#fff}
.order-clean-table tbody tr:hover td{background:#fbfdfb}
.order-clean-table tbody tr:last-child td{border-bottom:0}
.order-id-block,.order-person-block,.order-store-block,.order-location-block,.order-money-block,.order-status-block{display:grid;gap:3px;min-width:0}
.order-id-block>div{display:flex;align-items:center;gap:6px}
.order-id-block b{color:var(--green);font-size:12px;white-space:nowrap}
.order-id-block span,.order-id-block small,.order-person-block small,.order-store-block small,.order-location-block small,.order-money-block small,.order-status-block small{color:var(--muted);font-size:9px}
.order-copy-button{display:grid;place-items:center;width:24px;height:24px;border:0;border-radius:7px;background:#eef5ef;color:#52705a;cursor:pointer;font-size:12px}
.order-copy-button:hover{background:#dfeee2;color:var(--green)}
.order-person-block b,.order-store-block b,.order-location-block b{font-size:11px;line-height:1.35}
.order-person-block a{width:max-content;color:var(--green);font-size:10px;font-weight:850}
.order-location-block{max-width:280px}
.order-location-block b,.order-location-block small{overflow-wrap:anywhere}
.order-money-block b{color:#173b20;font-size:13px;white-space:nowrap}
.order-money-block .status,.order-status-block .status{width:max-content;margin-top:2px}
.order-status-block small{color:#9a6b24}
.order-action-heading{text-align:right!important}
.order-row-actions{display:flex;align-items:center;justify-content:flex-end;gap:7px}
.order-icon-action{display:grid;place-items:center;width:34px;height:34px;border:1px solid #d8e4d9;border-radius:10px;background:#fff;color:var(--green);font-size:15px}
.order-icon-action:hover{background:#edf7ef}
.order-manage-button{white-space:nowrap}
.order-mobile-list{display:none}
.order-empty-state{display:grid;justify-items:center;gap:6px;padding:54px 20px;text-align:center}
.order-empty-icon{display:grid;place-items:center;width:54px;height:54px;border-radius:17px;background:#edf6ef;color:var(--green);font-size:28px}
.order-empty-state small{max-width:430px;margin-bottom:7px;color:var(--muted)}
.order-pagination{margin:0;padding:16px 17px;border-top:1px solid var(--line);background:#fff}
.order-pagination span{display:grid;place-items:center;min-width:32px;color:var(--muted)}
.order-update-dialog{width:min(460px,calc(100vw - 28px));padding:0;border:0;border-radius:20px;background:transparent;color:inherit;box-shadow:0 24px 70px rgba(9,31,14,.28)}
.order-update-dialog::backdrop{background:rgba(8,20,11,.56);backdrop-filter:blur(3px)}
.order-update-form{overflow:hidden;border:1px solid #dce7dd;border-radius:20px;background:#fff}
.order-update-form>header{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:17px 18px;border-bottom:1px solid var(--line);background:#f8fbf8}
.order-update-form>header small{display:block;color:var(--muted);font-size:9px;font-weight:850;text-transform:uppercase}
.order-update-form>header h3{margin:3px 0 0;color:var(--green);font-size:18px}
.order-dialog-close{display:grid;place-items:center;width:34px;height:34px;border:0;border-radius:10px;background:#edf3ee;color:#55675b;cursor:pointer;font-size:22px;line-height:1}
.order-dialog-body{display:grid;gap:13px;padding:18px}
.order-dialog-body label{display:grid;gap:6px}
.order-dialog-body label>span{color:#5e7064;font-size:10px;font-weight:850}
.order-dialog-body select{width:100%;height:44px;border:1px solid #d6e3d8;border-radius:12px;background:#fff;padding:0 11px;color:#1e3023}
.order-lock-note{margin:0;padding:11px 12px;border-radius:11px;background:#fff5df;color:#825d1f;font-size:10px;line-height:1.55}
.order-update-form>footer{display:flex;justify-content:flex-end;gap:9px;padding:14px 18px;border-top:1px solid var(--line);background:#fbfdfb}
.order-copy-toast{position:fixed;left:50%;bottom:24px;z-index:1000;transform:translate(-50%,18px);padding:9px 13px;border-radius:999px;background:#15371e;color:#fff;font-size:10px;font-weight:850;opacity:0;pointer-events:none;transition:.2s ease}
.order-copy-toast.show{transform:translate(-50%,0);opacity:1}

@media(max-width:1220px){
.order-kpi-strip{grid-template-columns:repeat(3,minmax(0,1fr))}.order-kpi-revenue{grid-column:span 2}.order-filter-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:900px){
.order-manager-head{align-items:flex-start}.order-head-result{min-width:108px;padding:11px 13px}.order-kpi-strip{display:flex;gap:9px;margin:0 -4px 14px;padding:0 4px;overflow:auto;scroll-snap-type:x proximity}.order-kpi-strip article{flex:0 0 150px;scroll-snap-align:start;padding:13px}.order-kpi-strip .order-kpi-revenue{flex-basis:210px}.order-kpi-icon{width:38px;height:38px}.order-kpi-strip b{font-size:18px}.order-search-toolbar{grid-template-columns:minmax(0,1fr) auto;padding:13px}.order-filter-toggle{min-width:46px;width:46px;padding:0;font-size:0}.order-filter-toggle span{font-size:17px}.order-filter-toggle b{position:absolute;top:-5px;right:-5px;font-size:8px}.order-status-tabs{padding:10px 13px}.order-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr));padding-left:13px;padding-right:13px}.order-active-filters{grid-template-columns:1fr auto;padding:9px 13px}.order-active-filters>span{display:none}.order-result-bar{padding:11px 13px}.order-desktop-list{display:none}.order-mobile-list{display:grid;gap:11px;padding:12px;background:#f6f9f6}.order-mobile-card{overflow:hidden;border:1px solid #dce6dd;border-radius:18px;background:#fff;box-shadow:0 8px 22px rgba(23,65,31,.05)}.order-mobile-card>header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:14px 14px 10px}.order-mobile-number{display:grid;gap:2px;min-width:0}.order-mobile-number>small,.order-mobile-total small{color:var(--muted);font-size:8px;font-weight:900;text-transform:uppercase}.order-mobile-number>div{display:flex;align-items:center;gap:6px}.order-mobile-number b{color:var(--green);font-size:13px}.order-mobile-number>span{color:var(--muted);font-size:9px}.order-mobile-total{text-align:right}.order-mobile-total b{display:block;color:#173b20;font-size:15px;white-space:nowrap}.order-mobile-badges{display:flex;gap:6px;padding:0 14px 11px}.order-mobile-main{display:grid;gap:10px;padding:12px 14px;border-top:1px solid #edf2ed;border-bottom:1px solid #edf2ed;background:#fbfdfb}.order-mobile-info{display:grid;grid-template-columns:34px minmax(0,1fr);gap:9px;align-items:start}.order-mobile-info>span{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:#edf6ef;color:var(--green);font-size:15px}.order-mobile-info>div{display:grid;gap:2px;min-width:0}.order-mobile-info small{color:var(--muted);font-size:8px;font-weight:850;text-transform:uppercase}.order-mobile-info b{font-size:11px;line-height:1.45;overflow-wrap:anywhere}.order-mobile-info a{width:max-content;color:var(--green);font-size:11px;font-weight:850}.order-mobile-more{border-bottom:1px solid #edf2ed}.order-mobile-more summary{display:flex;align-items:center;justify-content:space-between;padding:10px 14px;cursor:pointer;list-style:none;color:#5c6e62;font-size:9px;font-weight:850}.order-mobile-more summary::-webkit-details-marker{display:none}.order-mobile-more[open] summary span{transform:rotate(180deg)}.order-mobile-more dl{display:grid;gap:7px;margin:0;padding:0 14px 12px}.order-mobile-more dl div{display:flex;justify-content:space-between;gap:12px}.order-mobile-more dt{color:var(--muted);font-size:9px}.order-mobile-more dd{margin:0;text-align:right;font-size:9px;font-weight:800}.order-mobile-card>footer{display:grid;grid-template-columns:1fr 1.25fr;gap:8px;padding:12px 14px}.order-mobile-card>footer .btn{min-height:40px}.order-pagination{justify-content:flex-start;padding:13px;overflow:auto}
}
@media(max-width:600px){
.order-manager-head{display:grid;gap:10px}.order-head-result{width:100%;display:flex;align-items:center;justify-content:space-between;text-align:left}.order-head-result b{font-size:23px}.order-search-toolbar{position:relative;grid-template-columns:minmax(0,1fr) 44px;gap:7px;padding:10px}.order-quick-search{grid-template-columns:34px minmax(0,1fr) auto;height:44px}.order-quick-search .btn{width:40px;height:36px;padding:0;font-size:0}.order-quick-search .btn:after{content:'⌕';font-size:17px}.order-search-clear{width:27px}.order-filter-toggle{width:44px;height:44px}.order-status-tabs{padding:9px 10px}.order-status-tabs a{padding:7px 9px}.order-filter-grid{grid-template-columns:1fr;padding-left:10px;padding-right:10px}.order-filter-actions{display:grid;grid-template-columns:1fr 1fr;grid-column:auto}.order-filter-actions .btn:only-child{grid-column:1/-1}.order-active-filters{padding:8px 10px}.order-clear-all{font-size:8px}.order-result-bar{padding:10px}.order-mobile-list{padding:9px}.order-mobile-card{border-radius:16px}.order-mobile-card>header{padding:13px 12px 9px}.order-mobile-badges{padding:0 12px 10px}.order-mobile-main{padding:11px 12px}.order-mobile-card>footer{padding:10px 12px}.order-update-dialog{width:100%;max-width:none;margin:auto 0 0;border-radius:22px 22px 0 0}.order-update-form{border-radius:22px 22px 0 0}.order-update-form>footer{display:grid;grid-template-columns:1fr 1fr}.order-copy-toast{bottom:16px}
}
[data-theme="dark"] .order-head-result,[data-theme="dark"] .order-kpi-strip article,[data-theme="dark"] .order-manager-shell,[data-theme="dark"] .order-quick-search,[data-theme="dark"] .order-status-tabs,[data-theme="dark"] .order-result-bar,[data-theme="dark"] .order-clean-table td,[data-theme="dark"] .order-mobile-card,[data-theme="dark"] .order-update-form{background:#152019;border-color:#34463a;color:#edf6ef}
[data-theme="dark"] .order-kpi-revenue{background:linear-gradient(135deg,#17251b,#152019)!important}
[data-theme="dark"] .order-kpi-strip b,[data-theme="dark"] .order-money-block b,[data-theme="dark"] .order-mobile-total b{color:#eff8f1}
[data-theme="dark"] .order-search-toolbar,[data-theme="dark"] .order-advanced-filters,[data-theme="dark"] .order-clean-table th,[data-theme="dark"] .order-mobile-main,[data-theme="dark"] .order-update-form>header,[data-theme="dark"] .order-update-form>footer{background:#18231b;border-color:#34463a}
[data-theme="dark"] .order-status-tabs a,[data-theme="dark"] .order-filter-grid input,[data-theme="dark"] .order-filter-grid select,[data-theme="dark"] .order-dialog-body select,[data-theme="dark"] .order-icon-action{background:#101a13;border-color:#34463a;color:#edf6ef}
[data-theme="dark"] .order-quick-search input{color:#edf6ef}
[data-theme="dark"] .order-clean-table td,[data-theme="dark"] .order-mobile-main,[data-theme="dark"] .order-mobile-more{border-color:#2d3c31}
[data-theme="dark"] .order-clean-table tbody tr:hover td{background:#17251b}
[data-theme="dark"] .order-active-filters{background:#152019;border-color:#34463a}
[data-theme="dark"] .order-mobile-main{background:#17231a}

/* v5.5.1 — My Orders clean customer order center */
.buyer-orders-page{width:min(1220px,calc(100% - 48px))}
.buyer-orders-head{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:18px}
.buyer-orders-head h1{margin:5px 0 4px;color:#17371f;font-size:clamp(28px,3vw,38px);line-height:1.2}
.buyer-orders-head p{max-width:680px;margin:0;color:var(--muted);font-size:13px}
.buyer-orders-head-actions{display:flex;gap:9px;flex:0 0 auto}
.buyer-order-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr)) minmax(230px,1.35fr);gap:11px;margin-bottom:16px}
.buyer-order-kpis article{display:grid;grid-template-columns:44px minmax(0,1fr);align-items:center;gap:11px;min-width:0;padding:15px 16px;border:1px solid var(--line);border-radius:18px;background:#fff;box-shadow:0 8px 22px rgba(26,67,35,.05)}
.buyer-order-kpis article>span{display:grid;place-items:center;width:44px;height:44px;border-radius:14px;background:#edf7ef;color:var(--green);font-size:19px;font-weight:900}
.buyer-order-kpis article div{display:grid;min-width:0}
.buyer-order-kpis small{color:var(--muted);font-size:9px;font-weight:850;text-transform:uppercase;letter-spacing:.035em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.buyer-order-kpis b{color:#173b20;font-size:20px;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.buyer-order-kpis .buyer-order-spent{background:linear-gradient(135deg,#f0faf2,#fff)}
.buyer-orders-manager{padding:0;overflow:hidden;border-radius:22px}
.buyer-order-search{padding:16px;border-bottom:1px solid var(--line);background:#f9fcf9}
.buyer-order-search-box{display:grid;grid-template-columns:40px minmax(0,1fr) auto auto;align-items:center;height:48px;border:1px solid #d4e2d5;border-radius:15px;background:#fff;overflow:hidden;box-shadow:0 5px 17px rgba(24,67,34,.04)}
.buyer-order-search-box:focus-within{border-color:#68b779;box-shadow:0 0 0 4px rgba(20,147,66,.09)}
.buyer-order-search-box>span{display:grid;place-items:center;color:var(--green);font-size:22px}
.buyer-order-search-box input{width:100%;height:46px;border:0;background:transparent;padding:0 8px;color:#1f3023;outline:0;font-size:13px}
.buyer-order-search-box>a{display:grid;place-items:center;width:30px;height:30px;border-radius:9px;color:#708078;font-size:20px;line-height:1}
.buyer-order-search-box>a:hover{background:#edf4ee;color:#243b2a}
.buyer-order-search-box .btn{height:40px;margin-right:4px;padding:0 19px;border-radius:12px}
.buyer-order-tabs{display:flex;gap:7px;padding:12px 16px;border-bottom:1px solid var(--line);background:#fff;overflow:auto;scrollbar-width:thin}
.buyer-order-tabs a{display:flex;align-items:center;gap:7px;min-width:max-content;padding:8px 11px;border:1px solid #dce6dd;border-radius:999px;background:#fff;color:#607066;font-size:10px;font-weight:850;transition:.18s ease}
.buyer-order-tabs a b{display:grid;place-items:center;min-width:22px;height:19px;padding:0 6px;border-radius:999px;background:#eef3ef;color:#506255;font-size:9px}
.buyer-order-tabs a:hover{border-color:#91c39c;background:#f8fbf8;color:#245e32}
.buyer-order-tabs a.active{border-color:var(--green);background:#eaf6ec;color:#17662c;box-shadow:0 4px 12px rgba(20,147,66,.08)}
.buyer-order-tabs a.active b{background:var(--green);color:#fff}
.buyer-order-advanced{border-bottom:1px solid var(--line);background:#f8fbf8}
.buyer-order-advanced summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 16px;cursor:pointer;list-style:none;color:#47604d;font-size:10px;font-weight:850}
.buyer-order-advanced summary::-webkit-details-marker{display:none}
.buyer-order-advanced summary span{color:var(--green)}
.buyer-order-advanced summary b{color:var(--muted);font-size:9px;font-weight:750}
.buyer-order-advanced[open] summary{border-bottom:1px solid #e2ebe3;background:#f3f8f4}
.buyer-order-filter-grid{display:grid;grid-template-columns:repeat(5,minmax(130px,1fr));gap:10px;padding:14px 16px 16px}
.buyer-order-filter-grid>label{display:grid;gap:5px;min-width:0}
.buyer-order-filter-grid>label>span{color:#607067;font-size:9px;font-weight:850}
.buyer-order-filter-grid input,.buyer-order-filter-grid select{width:100%;min-width:0;height:40px;border:1px solid #d8e4d9;border-radius:11px;background:#fff;padding:0 10px;color:#1e3023;outline:0;font-size:10px}
.buyer-order-filter-grid input:focus,.buyer-order-filter-grid select:focus{border-color:#70b780;box-shadow:0 0 0 3px rgba(20,147,66,.08)}
.buyer-order-filter-actions{display:flex;align-items:end;gap:8px;grid-column:span 2}
.buyer-order-filter-actions .btn{min-height:40px;padding:9px 15px;font-size:10px}
.buyer-order-active-filters{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;padding:9px 16px;border-bottom:1px solid var(--line);background:#fff}
.buyer-order-active-filters>span{color:#66766c;font-size:9px;font-weight:850}
.buyer-order-active-filters>div{display:flex;gap:6px;min-width:0;overflow:auto}
.buyer-order-active-filters>div a{display:flex;align-items:center;gap:7px;min-width:max-content;padding:6px 8px 6px 10px;border-radius:999px;background:#eff6f0;color:#31573a;font-size:9px;font-weight:800}
.buyer-order-active-filters>div a b{font-size:14px;line-height:1}
.buyer-order-active-filters>a{min-width:max-content;color:#b34545;font-size:9px;font-weight:850}
.buyer-order-results{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;border-bottom:1px solid var(--line);background:#fff}
.buyer-order-results div{display:flex;align-items:baseline;gap:6px}
.buyer-order-results b{color:var(--green);font-size:19px}
.buyer-order-results span,.buyer-order-results small{color:var(--muted);font-size:10px}
.buyer-order-list{display:grid;gap:13px;padding:14px;background:#f5f8f5}
.buyer-order-card{overflow:hidden;border:1px solid #dce6dd;border-radius:19px;background:#fff;box-shadow:0 8px 24px rgba(23,65,31,.05);transition:.18s ease}
.buyer-order-card:hover{border-color:#b9d5be;box-shadow:0 13px 30px rgba(23,65,31,.08)}
.buyer-order-card>header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:14px 16px 11px;border-bottom:1px solid #edf2ed}
.buyer-order-id{display:grid;gap:2px;min-width:0}
.buyer-order-id small{color:var(--muted);font-size:8px;font-weight:900;text-transform:uppercase;letter-spacing:.05em}
.buyer-order-id a{width:max-content;max-width:100%;color:var(--green);font-size:15px;font-weight:900;overflow:hidden;text-overflow:ellipsis}
.buyer-order-id span{color:#7b897f;font-size:9px}
.buyer-order-card-status{display:grid;justify-items:end;gap:5px;text-align:right}
.buyer-order-card-status small{color:var(--muted);font-size:9px}
.buyer-order-card-status small b{color:#3a4e3f}
.buyer-order-card-main{display:grid;grid-template-columns:82px minmax(0,1fr) auto;align-items:center;gap:14px;padding:14px 16px}
.buyer-order-product-image{width:82px;height:82px;border-radius:15px;overflow:hidden;background:#eef4ee;border:1px solid #e0e9e1}
.buyer-order-product-image img{width:100%;height:100%;object-fit:cover}
.buyer-order-product-copy{display:grid;gap:3px;min-width:0}
.buyer-order-product-copy>span{color:var(--muted);font-size:8px;font-weight:900;text-transform:uppercase;letter-spacing:.04em}
.buyer-order-product-copy h3{margin:0;color:#203727;font-size:14px;line-height:1.45;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.buyer-order-product-copy p{margin:0;color:var(--muted);font-size:9px}
.buyer-order-product-copy>a{display:flex;align-items:center;gap:4px;width:max-content;max-width:100%;margin-top:4px;color:#40704a;font-size:10px;font-weight:800;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.buyer-order-product-copy>a i{display:inline-grid;place-items:center;width:15px;height:15px;border-radius:50%;background:var(--green);color:#fff;font-size:8px;font-style:normal}
.buyer-order-money{display:grid;justify-items:end;gap:2px;min-width:130px;text-align:right}
.buyer-order-money small{color:var(--muted);font-size:8px;font-weight:900;text-transform:uppercase}
.buyer-order-money b{color:#173b20;font-size:19px;white-space:nowrap}
.buyer-order-money span{color:#718078;font-size:9px}
.buyer-order-progress{position:relative;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));padding:12px 16px 15px;border-top:1px solid #edf2ed;border-bottom:1px solid #edf2ed;background:#fbfdfb}
.buyer-order-progress:before{content:"";position:absolute;left:10%;right:10%;top:24px;height:2px;background:#dae5dc}
.buyer-order-progress>div{position:relative;z-index:1;display:grid;justify-items:center;gap:5px;text-align:center}
.buyer-order-progress i{display:grid;place-items:center;width:25px;height:25px;border:2px solid #d7e3d9;border-radius:50%;background:#fff;color:#a2aea5;font-size:9px;font-style:normal;font-weight:900}
.buyer-order-progress span{color:#839087;font-size:8px;font-weight:800;white-space:nowrap}
.buyer-order-progress>div.done i,.buyer-order-progress>div.current i{border-color:var(--green);background:var(--green);color:#fff;box-shadow:0 0 0 4px #e8f5eb}
.buyer-order-progress>div.done span,.buyer-order-progress>div.current span{color:#286438}
.buyer-order-progress>div.current i{animation:buyerOrderPulse 2s ease-in-out infinite}
@keyframes buyerOrderPulse{0%,100%{box-shadow:0 0 0 4px #e8f5eb}50%{box-shadow:0 0 0 7px rgba(20,147,66,.08)}}
.buyer-order-cancelled-note{margin:0;padding:11px 16px;border-top:1px solid #f2d6d2;border-bottom:1px solid #f2d6d2;background:#fff4f2;color:#a4433c;font-size:10px;font-weight:800}
.buyer-order-card.is-cancelled{border-color:#efd8d5}
.buyer-order-meta{display:grid;grid-template-columns:1.25fr 1fr;gap:10px;padding:12px 16px}
.buyer-order-meta>div{display:grid;grid-template-columns:33px minmax(0,1fr);align-items:start;gap:9px;min-width:0;padding:10px 11px;border:1px solid #edf2ed;border-radius:13px;background:#fbfdfb}
.buyer-order-meta>div>span{display:grid;place-items:center;width:33px;height:33px;border-radius:10px;background:#edf6ef;font-size:15px}
.buyer-order-meta p{display:grid;gap:2px;min-width:0;margin:0}
.buyer-order-meta small{color:var(--muted);font-size:8px;font-weight:850;text-transform:uppercase}
.buyer-order-meta b{color:#33483a;font-size:10px;line-height:1.55;overflow-wrap:anywhere}
.buyer-order-card>footer{display:flex;justify-content:flex-end;gap:8px;padding:11px 16px 14px;border-top:1px solid #edf2ed}
.buyer-order-card>footer .btn{min-height:39px;padding:9px 14px;font-size:10px}
.buyer-orders-empty{display:grid;justify-items:center;gap:8px;min-height:330px;padding:54px 20px;text-align:center;background:#f8fbf8}
.buyer-orders-empty>span{display:grid;place-items:center;width:68px;height:68px;border-radius:21px;background:#e8f4ea;font-size:31px}
.buyer-orders-empty h2{margin:5px 0 0;color:#1f3926;font-size:21px}
.buyer-orders-empty p{max-width:520px;margin:0;color:var(--muted);font-size:12px}
.buyer-orders-empty>div{display:flex;gap:9px;margin-top:9px}
.buyer-order-pagination{margin:0;padding:15px 16px;border-top:1px solid var(--line);background:#fff}
.buyer-order-pagination span{display:grid;place-items:center;width:30px;color:var(--muted)}

@media(max-width:1100px){
.buyer-order-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}.buyer-order-kpis .buyer-order-spent{grid-column:span 2}.buyer-order-filter-grid{grid-template-columns:repeat(3,minmax(130px,1fr))}
}
@media(max-width:800px){
.buyer-orders-page{width:min(100% - 28px,1220px)}.buyer-orders-head{align-items:flex-start}.buyer-orders-head-actions{display:grid}.buyer-order-kpis{display:flex;gap:9px;margin:0 -3px 14px;padding:0 3px;overflow:auto;scroll-snap-type:x proximity}.buyer-order-kpis article{flex:0 0 155px;padding:13px;scroll-snap-align:start}.buyer-order-kpis .buyer-order-spent{flex-basis:220px}.buyer-order-kpis article>span{width:39px;height:39px}.buyer-order-kpis b{font-size:17px}.buyer-order-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.buyer-order-card-main{grid-template-columns:72px minmax(0,1fr) auto}.buyer-order-product-image{width:72px;height:72px}.buyer-order-meta{grid-template-columns:1fr}.buyer-order-progress span{font-size:7px}
}
@media(max-width:600px){
.buyer-orders-page{width:min(100% - 20px,1220px)}.buyer-orders-head{display:grid;gap:14px;margin-bottom:14px}.buyer-orders-head h1{font-size:27px}.buyer-orders-head p{font-size:11px}.buyer-orders-head-actions{grid-template-columns:1fr 1fr;width:100%}.buyer-orders-head-actions .btn{min-width:0;padding:10px 8px;font-size:10px}.buyer-orders-manager{margin-left:-1px;margin-right:-1px;border-radius:18px}.buyer-order-search{padding:10px}.buyer-order-search-box{grid-template-columns:34px minmax(0,1fr) auto;height:45px}.buyer-order-search-box>span{font-size:18px}.buyer-order-search-box input{height:43px;padding:0 3px;font-size:11px}.buyer-order-search-box>a{width:26px}.buyer-order-search-box .btn{width:39px;height:37px;padding:0;font-size:0}.buyer-order-search-box .btn:after{content:'⌕';font-size:17px}.buyer-order-tabs{padding:9px 10px}.buyer-order-tabs a{padding:7px 9px}.buyer-order-advanced summary{padding:10px}.buyer-order-advanced summary b{display:none}.buyer-order-filter-grid{grid-template-columns:1fr;padding:12px 10px}.buyer-order-filter-actions{display:grid;grid-template-columns:1fr 1fr;grid-column:auto}.buyer-order-active-filters{grid-template-columns:minmax(0,1fr) auto;padding:8px 10px}.buyer-order-active-filters>span{display:none}.buyer-order-results{padding:10px}.buyer-order-list{gap:10px;padding:9px}.buyer-order-card{border-radius:16px}.buyer-order-card>header{padding:12px;gap:9px}.buyer-order-id a{font-size:13px}.buyer-order-card-status .status{font-size:8px}.buyer-order-card-status small{font-size:8px}.buyer-order-card-main{grid-template-columns:64px minmax(0,1fr);gap:10px;padding:12px}.buyer-order-product-image{width:64px;height:64px;border-radius:12px}.buyer-order-product-copy h3{font-size:12px}.buyer-order-product-copy p{font-size:8px}.buyer-order-product-copy>a{font-size:9px}.buyer-order-money{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;min-width:0;padding-top:9px;border-top:1px dashed #dce6dd;text-align:left}.buyer-order-money b{font-size:17px}.buyer-order-money span{margin-left:auto}.buyer-order-progress{padding:11px 7px 13px;overflow:hidden}.buyer-order-progress:before{left:10%;right:10%;top:22px}.buyer-order-progress i{width:23px;height:23px}.buyer-order-progress span{max-width:58px;font-size:6.5px;white-space:normal;line-height:1.3}.buyer-order-meta{gap:7px;padding:9px 12px}.buyer-order-meta>div{padding:9px}.buyer-order-card>footer{display:grid;grid-template-columns:1fr 1.15fr;padding:10px 12px}.buyer-order-card>footer .btn{min-width:0;padding:8px 5px}.buyer-orders-empty{min-height:290px;padding:40px 16px}.buyer-orders-empty>div{display:grid;grid-template-columns:1fr 1fr;width:100%}.buyer-order-pagination{justify-content:flex-start;padding:12px 10px;overflow:auto}
}
@media(max-width:390px){
.buyer-orders-head-actions{grid-template-columns:1fr}.buyer-order-card>header{display:grid}.buyer-order-card-status{justify-items:start;text-align:left}.buyer-order-card>footer{grid-template-columns:1fr}.buyer-orders-empty>div{grid-template-columns:1fr}
}
[data-theme="dark"] .buyer-order-kpis article,[data-theme="dark"] .buyer-orders-manager,[data-theme="dark"] .buyer-order-search-box,[data-theme="dark"] .buyer-order-tabs,[data-theme="dark"] .buyer-order-results,[data-theme="dark"] .buyer-order-card,[data-theme="dark"] .buyer-order-pagination{background:#152019;border-color:#34463a;color:#edf6ef}
[data-theme="dark"] .buyer-order-kpis .buyer-order-spent{background:linear-gradient(135deg,#17251b,#152019)}
[data-theme="dark"] .buyer-order-kpis b,[data-theme="dark"] .buyer-order-money b,[data-theme="dark"] .buyer-order-product-copy h3,[data-theme="dark"] .buyer-orders-head h1,[data-theme="dark"] .buyer-orders-empty h2{color:#eff8f1}
[data-theme="dark"] .buyer-order-search,[data-theme="dark"] .buyer-order-advanced,[data-theme="dark"] .buyer-order-list,[data-theme="dark"] .buyer-orders-empty{background:#18231b;border-color:#34463a}
[data-theme="dark"] .buyer-order-search-box input,[data-theme="dark"] .buyer-order-filter-grid input,[data-theme="dark"] .buyer-order-filter-grid select{color:#edf6ef;background:#101a13;border-color:#34463a}
[data-theme="dark"] .buyer-order-tabs a{background:#101a13;border-color:#34463a;color:#cad6cd}
[data-theme="dark"] .buyer-order-advanced summary,[data-theme="dark"] .buyer-order-advanced[open] summary,[data-theme="dark"] .buyer-order-active-filters{background:#152019;border-color:#34463a}
[data-theme="dark"] .buyer-order-card>header,[data-theme="dark"] .buyer-order-progress,[data-theme="dark"] .buyer-order-card>footer,[data-theme="dark"] .buyer-order-money{border-color:#2d3c31}
[data-theme="dark"] .buyer-order-progress,[data-theme="dark"] .buyer-order-meta>div{background:#17231a;border-color:#34463a}
[data-theme="dark"] .buyer-order-progress i{background:#152019;border-color:#3f5144}
[data-theme="dark"] .buyer-order-meta b,[data-theme="dark"] .buyer-order-card-status small b{color:#e2eee5}
[data-theme="dark"] .buyer-order-product-image{background:#101a13;border-color:#34463a}

/* v5.5.2 — Clean customer order detail center */
.buyer-order-detail-page{width:min(1220px,calc(100% - 48px));padding-top:30px}
.buyer-order-detail-head{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:17px}
.buyer-order-detail-title{display:grid;gap:4px;min-width:0}
.buyer-order-back{width:max-content;margin-bottom:5px;color:#58705e;font-size:10px;font-weight:850}
.buyer-order-back:hover{color:var(--green)}
.buyer-order-detail-title h1{margin:0;color:#16391f;font-size:clamp(27px,3.5vw,39px);line-height:1.15;letter-spacing:-.025em}
.buyer-order-detail-title p{margin:3px 0 0;color:var(--muted);font-size:10px}
.buyer-order-detail-title p b{color:#3c5142}
.buyer-order-detail-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}
.buyer-order-detail-actions .btn{min-height:42px;padding:10px 14px;font-size:10px}
.buyer-order-detail-hero{overflow:hidden;margin-bottom:17px;border:1px solid #dce7dd;border-radius:21px;background:linear-gradient(135deg,#f4faf3,#fff);box-shadow:0 12px 28px rgba(20,72,31,.055)}
.buyer-order-detail-hero.is-cancelled{border-color:#edd5d1;background:linear-gradient(135deg,#fff8f6,#fff)}
.buyer-order-detail-hero-main{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:20px;padding:18px 20px}
.buyer-order-detail-number{display:grid;gap:2px;min-width:0}
.buyer-order-detail-number>span,.buyer-order-detail-total small{color:var(--muted);font-size:8px;font-weight:900;text-transform:uppercase;letter-spacing:.05em}
.buyer-order-detail-number>b{overflow:hidden;color:var(--green);font-size:18px;text-overflow:ellipsis;white-space:nowrap}
.buyer-order-detail-number>small{color:#718078;font-size:9px}
.buyer-order-detail-badges{display:flex;flex-wrap:wrap;justify-content:center;gap:6px}
.buyer-order-detail-total{display:grid;justify-items:end;gap:1px;min-width:150px;text-align:right}
.buyer-order-detail-total>b{color:#163b20;font-size:23px;line-height:1.25;white-space:nowrap}
.buyer-order-detail-total>span{color:#758279;font-size:9px}
.buyer-order-detail-progress{position:relative;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));padding:16px 20px 19px;border-top:1px solid #e8efe8;background:#fbfdfb}
.buyer-order-detail-progress:before{content:"";position:absolute;left:10%;right:10%;top:29px;height:2px;background:#dce6dd}
.buyer-order-detail-progress>div{position:relative;z-index:1;display:grid;justify-items:center;gap:6px;text-align:center}
.buyer-order-detail-progress i{display:grid;place-items:center;width:28px;height:28px;border:2px solid #d6e1d8;border-radius:50%;background:#fff;color:#a2aea5;font-size:9px;font-style:normal;font-weight:900}
.buyer-order-detail-progress span{color:#7f8d83;font-size:8px;font-weight:850;white-space:nowrap}
.buyer-order-detail-progress>div.done i,.buyer-order-detail-progress>div.current i{border-color:var(--green);background:var(--green);color:#fff;box-shadow:0 0 0 5px #e8f5eb}
.buyer-order-detail-progress>div.done span,.buyer-order-detail-progress>div.current span{color:#2f6a3d}
.buyer-order-detail-progress>div.current i{animation:buyerOrderDetailPulse 2s ease-in-out infinite}
@keyframes buyerOrderDetailPulse{0%,100%{box-shadow:0 0 0 5px #e8f5eb}50%{box-shadow:0 0 0 8px rgba(20,147,66,.08)}}
.buyer-order-detail-cancelled{display:flex;align-items:center;gap:12px;padding:14px 20px;border-top:1px solid #f0dcd8;background:#fff5f3}
.buyer-order-detail-cancelled>span{display:grid;place-items:center;width:35px;height:35px;border-radius:12px;background:#bd2e2e;color:#fff;font-size:20px;font-weight:900}
.buyer-order-detail-cancelled b{display:block;color:#96372f;font-size:12px}
.buyer-order-detail-cancelled p{margin:2px 0 0;color:#985148;font-size:9px}
.buyer-order-detail-layout{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(285px,.75fr);align-items:start;gap:17px}
.buyer-order-detail-main,.buyer-order-detail-side{display:grid;gap:17px;min-width:0}
.buyer-order-detail-side{position:sticky;top:101px}
.buyer-order-detail-card{overflow:hidden;border:1px solid #dfe8e0;border-radius:19px;background:#fff;box-shadow:0 8px 24px rgba(22,64,30,.045)}
.buyer-order-detail-card>header{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:15px 17px;border-bottom:1px solid #edf2ed;background:#fbfdfb}
.buyer-order-detail-card>header>div{display:flex;align-items:center;gap:10px;min-width:0}
.buyer-order-detail-card>header>div>span{display:grid;place-items:center;width:37px;height:37px;flex:0 0 auto;border-radius:11px;background:#eaf5ec;font-size:17px}
.buyer-order-detail-card>header small{display:block;color:var(--muted);font-size:8px;font-weight:900;text-transform:uppercase;letter-spacing:.04em}
.buyer-order-detail-card>header h2{margin:2px 0 0;color:#213a28;font-size:15px;line-height:1.25}
.buyer-order-detail-card>header>b{color:#59705f;font-size:9px}
.buyer-order-detail-items{display:grid}
.buyer-order-detail-item{display:grid;grid-template-columns:82px minmax(0,1fr) auto;align-items:center;gap:14px;padding:15px 17px;border-bottom:1px solid #edf2ed}
.buyer-order-detail-item:last-child{border-bottom:0}
.buyer-order-detail-item-image{display:block;width:82px;height:82px;overflow:hidden;border:1px solid #e0e9e1;border-radius:15px;background:#eef4ee}
.buyer-order-detail-item-image img{width:100%;height:100%;object-fit:cover;transition:.2s}
.buyer-order-detail-item-image:hover img{transform:scale(1.035)}
.buyer-order-detail-item-copy{display:grid;gap:3px;min-width:0}
.buyer-order-detail-item-copy>small{color:#8b978f;font-size:8px;font-weight:850;text-transform:uppercase}
.buyer-order-detail-item-copy h3{margin:0;color:#243b2a;font-size:13px;line-height:1.45}
.buyer-order-detail-item-copy p{margin:1px 0 0;color:var(--muted);font-size:9px}
.buyer-order-detail-options{display:flex;flex-wrap:wrap;gap:5px;margin-top:3px}
.buyer-order-detail-options span{padding:4px 7px;border:1px solid #e0e9e1;border-radius:8px;background:#f8fbf8;color:#68786d;font-size:8px}
.buyer-order-detail-options b{color:#334a39}
.buyer-order-detail-item-numbers{display:grid;grid-template-columns:repeat(3,minmax(80px,auto));align-items:center;gap:7px;text-align:right}
.buyer-order-detail-item-numbers>div{display:grid;gap:2px;min-width:84px;padding:8px 10px;border-left:1px solid #edf2ed}
.buyer-order-detail-item-numbers small{color:var(--muted);font-size:7px;font-weight:900;text-transform:uppercase}
.buyer-order-detail-item-numbers b{color:#344a3a;font-size:10px;white-space:nowrap}
.buyer-order-detail-item-numbers .buyer-order-detail-line-total b{color:var(--green);font-size:13px}
.buyer-order-shipping-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:15px 17px}
.buyer-order-shipping-grid>div{display:grid;grid-template-columns:36px minmax(0,1fr);align-items:start;gap:10px;padding:11px 12px;border:1px solid #e8eee9;border-radius:13px;background:#fbfdfb}
.buyer-order-shipping-grid>div>span{display:grid;place-items:center;width:36px;height:36px;border-radius:10px;background:#ebf5ed;font-size:15px}
.buyer-order-shipping-grid p{display:grid;gap:2px;min-width:0;margin:0}
.buyer-order-shipping-grid small,.buyer-order-note small{color:var(--muted);font-size:8px;font-weight:900;text-transform:uppercase}
.buyer-order-shipping-grid b{color:#344a3a;font-size:10px;line-height:1.55;overflow-wrap:anywhere}
.buyer-order-shipping-grid a{color:var(--green)}
.buyer-order-full-address{grid-column:1/-1}
.buyer-order-note{display:grid;grid-template-columns:36px minmax(0,1fr);gap:10px;margin:0 17px 15px;padding:11px 12px;border:1px solid #f0e5c7;border-radius:13px;background:#fffaf0}
.buyer-order-note>span{display:grid;place-items:center;width:36px;height:36px;border-radius:10px;background:#fff0c8;font-size:15px}
.buyer-order-note p{margin:3px 0 0;color:#665a3d;font-size:9px;line-height:1.65}
.buyer-order-detail-timeline{display:grid;padding:7px 17px 13px}
.buyer-order-detail-timeline article{position:relative;display:grid;grid-template-columns:28px minmax(0,1fr);gap:11px;padding:10px 0}
.buyer-order-detail-timeline article:not(:last-child):before{content:"";position:absolute;left:13px;top:37px;bottom:-10px;width:2px;background:#dce6dd}
.buyer-order-detail-timeline i{position:relative;z-index:1;display:grid;place-items:center;width:28px;height:28px;border:2px solid #d8e2da;border-radius:50%;background:#fff;color:#8e9a91;font-size:8px;font-style:normal;font-weight:900}
.buyer-order-detail-timeline article.current i{border-color:var(--green);background:var(--green);color:#fff;box-shadow:0 0 0 4px #eaf5ec}
.buyer-order-detail-timeline b{display:block;color:#304637;font-size:11px}
.buyer-order-detail-timeline p{margin:2px 0;color:#627167;font-size:9px;line-height:1.55}
.buyer-order-detail-timeline small{display:block;color:#929d95;font-size:8px}
.buyer-order-review-card>p{margin:14px 17px 0;color:var(--muted);font-size:10px}
.buyer-order-review-form{display:grid;grid-template-columns:1fr 1fr;gap:11px;padding:15px 17px 17px}
.buyer-order-review-form label{display:grid;gap:6px}
.buyer-order-review-form label>span{color:#607067;font-size:9px;font-weight:850}
.buyer-order-review-form select,.buyer-order-review-form textarea{width:100%;border:1px solid #dce6dd;border-radius:11px;background:#fff;padding:10px 11px;outline:0}
.buyer-order-review-form textarea{min-height:100px;resize:vertical}
.buyer-order-review-form .full{grid-column:1/-1}
.buyer-order-review-form .btn{width:max-content}
.buyer-order-summary-card dl{display:grid;gap:9px;margin:0;padding:15px 17px}
.buyer-order-summary-card dl>div{display:flex;align-items:center;justify-content:space-between;gap:15px;color:#637168;font-size:10px}
.buyer-order-summary-card dd{margin:0;color:#354a3b;font-weight:850;white-space:nowrap}
.buyer-order-summary-card dl>div.total{margin-top:2px;padding-top:11px;border-top:1px dashed #d8e3da;color:#1c3f25;font-size:12px;font-weight:900}
.buyer-order-summary-card dl>div.total dd{color:var(--green);font-size:18px}
.buyer-order-payment-block{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:13px 17px;border-top:1px solid #edf2ed;background:#fbfdfb}
.buyer-order-payment-block small,.buyer-order-reference small{display:block;color:var(--muted);font-size:8px;font-weight:900;text-transform:uppercase}
.buyer-order-payment-block b{display:block;margin-top:2px;color:#344a3a;font-size:10px}
.buyer-order-reference{display:grid;gap:3px;padding:11px 17px;border-top:1px solid #edf2ed}
.buyer-order-reference b{overflow-wrap:anywhere;color:#3b5040;font-size:9px}
.buyer-order-seller-card{padding-bottom:15px}
.buyer-order-seller-name{display:grid;grid-template-columns:44px minmax(0,1fr);align-items:center;gap:10px;margin:14px 15px;padding:11px;border:1px solid #e6eee7;border-radius:14px;background:#fbfdfb}
.buyer-order-seller-name>span{display:grid;place-items:center;width:44px;height:44px;border-radius:13px;background:var(--green);color:#fff;font-size:18px;font-weight:900}
.buyer-order-seller-name b{display:block;color:#2d4634;font-size:11px}
.buyer-order-seller-name i{display:inline-grid;place-items:center;width:15px;height:15px;border-radius:50%;background:var(--green);color:#fff;font-size:8px;font-style:normal}
.buyer-order-seller-name small{display:block;margin-top:2px;color:var(--green);font-size:8px;font-weight:800}
.buyer-order-seller-card>.btn{width:calc(100% - 30px);margin:0 15px}
.buyer-order-receive-card{display:grid;justify-items:center;gap:7px;padding:18px;text-align:center;background:linear-gradient(145deg,#eff9f0,#fff)}
.buyer-order-receive-card>span{display:grid;place-items:center;width:52px;height:52px;border-radius:16px;background:#dff2e3;font-size:24px}
.buyer-order-receive-card h2{margin:2px 0 0;color:#24442c;font-size:15px}
.buyer-order-receive-card p{margin:0;color:var(--muted);font-size:9px;line-height:1.6}
.buyer-order-receive-card form{width:100%;margin-top:4px}
.buyer-order-received-card{display:grid;grid-template-columns:43px minmax(0,1fr);align-items:center;gap:11px;padding:15px;background:#f1faf3}
.buyer-order-received-card>span{display:grid;place-items:center;width:43px;height:43px;border-radius:13px;background:var(--green);color:#fff;font-size:20px;font-weight:900}
.buyer-order-received-card b{color:#285734;font-size:11px}
.buyer-order-received-card p{margin:2px 0 0;color:#627568;font-size:8px}
.buyer-order-detail-return{min-height:42px;font-size:10px}
.buyer-order-detail-toast{position:fixed;left:50%;bottom:25px;z-index:1000;transform:translate(-50%,18px);padding:9px 14px;border-radius:999px;background:#15371e;color:#fff;font-size:10px;font-weight:850;opacity:0;pointer-events:none;transition:.2s ease}
.buyer-order-detail-toast.show{transform:translate(-50%,0);opacity:1}

@media(max-width:980px){
.buyer-order-detail-layout{grid-template-columns:1fr}.buyer-order-detail-side{position:static;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}.buyer-order-summary-card{grid-row:span 2}.buyer-order-detail-return{align-self:end}.buyer-order-detail-item-numbers{grid-template-columns:repeat(3,minmax(72px,auto))}
}
@media(max-width:760px){
.buyer-order-detail-page{width:min(100% - 28px,1220px);padding-top:22px}.buyer-order-detail-head{align-items:flex-start}.buyer-order-detail-actions{max-width:310px}.buyer-order-detail-actions .btn{flex:1}.buyer-order-detail-hero-main{grid-template-columns:minmax(0,1fr) auto}.buyer-order-detail-badges{grid-column:1/-1;justify-content:flex-start}.buyer-order-detail-total{grid-column:2;grid-row:1}.buyer-order-detail-item{grid-template-columns:72px minmax(0,1fr)}.buyer-order-detail-item-image{width:72px;height:72px}.buyer-order-detail-item-numbers{grid-column:1/-1;grid-template-columns:repeat(3,1fr);padding-top:10px;border-top:1px dashed #dce6dd;text-align:left}.buyer-order-detail-item-numbers>div{padding:0 8px;border-left:0}.buyer-order-detail-item-numbers>div+div{border-left:1px solid #edf2ed}.buyer-order-detail-side{grid-template-columns:1fr 1fr}.buyer-order-detail-return{grid-column:1/-1}
}
@media(max-width:600px){
.buyer-order-detail-page{width:min(100% - 20px,1220px);padding-top:18px}.buyer-order-detail-head{display:grid;gap:13px;margin-bottom:12px}.buyer-order-detail-title h1{font-size:27px}.buyer-order-detail-title p{line-height:1.6}.buyer-order-detail-actions{display:grid;grid-template-columns:1fr 1fr;width:100%;max-width:none}.buyer-order-detail-actions .btn{min-width:0;padding:9px 7px}.buyer-order-detail-actions .btn.primary{grid-column:1/-1}.buyer-order-detail-hero{border-radius:17px}.buyer-order-detail-hero-main{gap:11px;padding:14px}.buyer-order-detail-number>b{font-size:15px}.buyer-order-detail-total{min-width:0}.buyer-order-detail-total>b{font-size:19px}.buyer-order-detail-progress{padding:13px 5px 15px}.buyer-order-detail-progress:before{left:10%;right:10%;top:25px}.buyer-order-detail-progress i{width:25px;height:25px}.buyer-order-detail-progress span{max-width:58px;font-size:6.5px;line-height:1.3;white-space:normal}.buyer-order-detail-layout,.buyer-order-detail-main,.buyer-order-detail-side{gap:11px}.buyer-order-detail-card{border-radius:16px}.buyer-order-detail-card>header{padding:12px}.buyer-order-detail-card>header>div>span{width:34px;height:34px}.buyer-order-detail-card>header h2{font-size:13px}.buyer-order-detail-item{grid-template-columns:62px minmax(0,1fr);gap:10px;padding:12px}.buyer-order-detail-item-image{width:62px;height:62px;border-radius:12px}.buyer-order-detail-item-copy h3{font-size:11px}.buyer-order-detail-item-numbers{gap:0;padding-top:9px}.buyer-order-detail-item-numbers>div{min-width:0;padding:0 6px}.buyer-order-detail-item-numbers small{font-size:6.5px}.buyer-order-detail-item-numbers b{font-size:9px}.buyer-order-detail-item-numbers .buyer-order-detail-line-total b{font-size:11px}.buyer-order-shipping-grid{grid-template-columns:1fr;padding:12px}.buyer-order-full-address{grid-column:auto}.buyer-order-note{margin:0 12px 12px}.buyer-order-detail-timeline{padding-left:12px;padding-right:12px}.buyer-order-review-form{grid-template-columns:1fr;padding:12px}.buyer-order-review-form .full{grid-column:auto}.buyer-order-review-form .btn{width:100%}.buyer-order-detail-side{grid-template-columns:1fr}.buyer-order-summary-card{grid-row:auto}.buyer-order-detail-return{grid-column:auto}.buyer-order-detail-toast{bottom:16px}
}
@media(max-width:390px){
.buyer-order-detail-actions{grid-template-columns:1fr}.buyer-order-detail-actions .btn.primary{grid-column:auto}.buyer-order-detail-hero-main{grid-template-columns:1fr}.buyer-order-detail-total{grid-column:1;grid-row:auto;justify-items:start;text-align:left}.buyer-order-detail-badges{grid-column:1}.buyer-order-detail-progress span{font-size:6px}.buyer-order-detail-item-numbers{grid-template-columns:1fr}.buyer-order-detail-item-numbers>div{display:flex;align-items:center;justify-content:space-between;padding:5px 0}.buyer-order-detail-item-numbers>div+div{border-top:1px solid #edf2ed;border-left:0}
}
[data-theme="dark"] .buyer-order-detail-hero,[data-theme="dark"] .buyer-order-detail-card,[data-theme="dark"] .buyer-order-detail-progress,[data-theme="dark"] .buyer-order-detail-item-image,[data-theme="dark"] .buyer-order-review-form select,[data-theme="dark"] .buyer-order-review-form textarea{background:#152019;border-color:#34463a;color:#edf6ef}
[data-theme="dark"] .buyer-order-detail-card>header,[data-theme="dark"] .buyer-order-payment-block,[data-theme="dark"] .buyer-order-seller-name,[data-theme="dark"] .buyer-order-shipping-grid>div,[data-theme="dark"] .buyer-order-detail-options span{background:#18231b;border-color:#34463a}
[data-theme="dark"] .buyer-order-detail-title h1,[data-theme="dark"] .buyer-order-detail-total>b,[data-theme="dark"] .buyer-order-detail-card>header h2,[data-theme="dark"] .buyer-order-detail-item-copy h3,[data-theme="dark"] .buyer-order-detail-item-numbers b,[data-theme="dark"] .buyer-order-shipping-grid b,[data-theme="dark"] .buyer-order-summary-card dd,[data-theme="dark"] .buyer-order-seller-name b,[data-theme="dark"] .buyer-order-detail-timeline b{color:#edf6ef}
[data-theme="dark"] .buyer-order-detail-progress:before,[data-theme="dark"] .buyer-order-detail-timeline article:not(:last-child):before{background:#3a4b3e}
[data-theme="dark"] .buyer-order-detail-progress i,[data-theme="dark"] .buyer-order-detail-timeline i{background:#152019;border-color:#415345}
[data-theme="dark"] .buyer-order-detail-item,[data-theme="dark"] .buyer-order-payment-block,[data-theme="dark"] .buyer-order-reference,[data-theme="dark"] .buyer-order-summary-card dl>div.total{border-color:#2f4034}
[data-theme="dark"] .buyer-order-note{background:#282619;border-color:#534a2c}
[data-theme="dark"] .buyer-order-receive-card,[data-theme="dark"] .buyer-order-received-card{background:#17251b}

@media print{
.site-header,.site-footer,.portal-sidebar,.buyer-order-detail-actions,.buyer-order-detail-return,.buyer-order-seller-card .btn,.buyer-order-receive-card,.buyer-order-detail-toast{display:none!important}
body{background:#fff!important}.buyer-order-detail-page{width:100%;padding:0}.buyer-order-detail-side{position:static}.buyer-order-detail-card,.buyer-order-detail-hero{break-inside:avoid;box-shadow:none}.buyer-order-detail-layout{grid-template-columns:1.6fr .8fr}.buyer-order-detail-head{margin-top:0}
}

/* v5.5.3 — Seller/Admin order details + professional invoice */
.order-row-actions-pro{flex-wrap:nowrap}.order-row-actions-pro .order-icon-action{flex:0 0 auto}.order-mobile-footer-pro{display:grid!important;gap:9px}.order-mobile-quick-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.order-mobile-quick-actions .btn{min-width:0;padding:9px 6px;font-size:8px}
.seller-order-detail-page{display:grid;gap:16px}.seller-order-detail-head{display:flex;align-items:flex-end;justify-content:space-between;gap:18px}.seller-order-detail-head h1{margin:4px 0;color:#183c24;font-size:30px;line-height:1.1}.seller-order-detail-head p{margin:6px 0 0;color:var(--muted);font-size:9px}.seller-order-detail-head p b{color:#3a5140}.seller-order-back{display:inline-flex;margin-bottom:8px;color:var(--green);font-size:9px;font-weight:850}.seller-order-detail-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}.seller-order-detail-summary{display:grid;grid-template-columns:minmax(230px,1fr) auto auto;align-items:center;gap:18px;padding:18px;border:1px solid #dce7de;border-radius:20px;background:linear-gradient(145deg,#f8fcf8,#fff);box-shadow:0 9px 26px rgba(26,77,36,.05)}.seller-order-detail-summary-main>span{display:block;color:#6e7d72;font-size:8px;font-weight:900;text-transform:uppercase;letter-spacing:.05em}.seller-order-detail-summary-main>div{display:flex;align-items:baseline;gap:10px;margin-top:5px}.seller-order-detail-summary-main b{color:#244b2d;font-size:20px}.seller-order-detail-summary-main small{color:var(--muted);font-size:9px}.seller-order-detail-summary-metrics{display:grid;grid-template-columns:repeat(3,minmax(95px,auto));gap:7px}.seller-order-detail-summary-metrics article{display:grid;gap:3px;min-width:105px;padding:10px 12px;border:1px solid #e2eae3;border-radius:13px;background:#fff}.seller-order-detail-summary-metrics small{color:#7c897f;font-size:7px;font-weight:900;text-transform:uppercase}.seller-order-detail-summary-metrics b{color:#344b3a;font-size:11px;white-space:nowrap}.seller-order-detail-summary-metrics .total{border-color:#b9dcc1;background:#eef8f0}.seller-order-detail-summary-metrics .total b{color:var(--green);font-size:15px}.seller-order-detail-summary-badges{display:grid;justify-items:end;gap:6px}.seller-order-detail-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(280px,.72fr);align-items:start;gap:16px}.seller-order-detail-main,.seller-order-detail-side{display:grid;gap:16px;min-width:0}.seller-order-detail-side{position:sticky;top:98px}.seller-order-detail-card{overflow:hidden;border:1px solid #dfe8e0;border-radius:18px;background:#fff;box-shadow:0 8px 24px rgba(22,64,30,.045)}.seller-order-detail-card>header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;border-bottom:1px solid #edf2ed;background:#fbfdfb}.seller-order-detail-card>header>div{display:flex;align-items:center;gap:10px}.seller-order-detail-card>header>div>span{display:grid;place-items:center;width:36px;height:36px;border-radius:11px;background:#e9f5eb;font-size:16px}.seller-order-detail-card>header small{display:block;color:#7b897f;font-size:7px;font-weight:900;text-transform:uppercase;letter-spacing:.04em}.seller-order-detail-card>header h2{margin:2px 0 0;color:#263f2d;font-size:14px}.seller-order-detail-card>header>b{color:#627269;font-size:9px}.seller-order-product-list{display:grid}.seller-order-product-row{display:grid;grid-template-columns:78px minmax(0,1fr) auto;align-items:center;gap:13px;padding:14px 16px;border-bottom:1px solid #edf2ed}.seller-order-product-row:last-child{border-bottom:0}.seller-order-product-image{display:block;width:78px;height:78px;overflow:hidden;border:1px solid #dfe8e0;border-radius:14px;background:#eef4ee}.seller-order-product-image img{width:100%;height:100%;object-fit:cover}.seller-order-product-copy{display:grid;gap:4px;min-width:0}.seller-order-product-meta{display:flex;flex-wrap:wrap;gap:5px}.seller-order-product-meta span{padding:3px 6px;border-radius:7px;background:#f1f5f1;color:#728078;font-size:7px;font-weight:800}.seller-order-product-copy h3{margin:0;color:#263f2d;font-size:12px;line-height:1.45}.seller-order-product-copy p{margin:0;color:var(--muted);font-size:8px}.seller-order-product-options{display:flex;flex-wrap:wrap;gap:5px}.seller-order-product-options span{padding:4px 7px;border:1px solid #e1e9e2;border-radius:8px;background:#fbfdfb;color:#67766c;font-size:8px}.seller-order-product-options b{color:#314b37}.seller-order-product-numbers{display:grid;grid-template-columns:repeat(3,minmax(75px,auto));gap:7px;text-align:right}.seller-order-product-numbers>div{display:grid;gap:2px;padding:8px 10px;border-left:1px solid #edf2ed}.seller-order-product-numbers small{color:#7b897f;font-size:7px;font-weight:900;text-transform:uppercase}.seller-order-product-numbers b{color:#344b3a;font-size:10px;white-space:nowrap}.seller-order-product-numbers .line-total b{color:var(--green);font-size:13px}.seller-order-recipient-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;padding:14px 16px}.seller-order-recipient-grid article{display:grid;grid-template-columns:34px minmax(0,1fr);align-items:center;gap:9px;padding:10px;border:1px solid #e5ece6;border-radius:12px;background:#fbfdfb}.seller-order-recipient-grid article>span{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:#eaf5ec}.seller-order-recipient-grid small,.seller-order-location-levels small,.seller-order-full-address small,.seller-order-landmark small,.seller-order-coordinate small,.seller-order-note small{display:block;color:#7b897f;font-size:7px;font-weight:900;text-transform:uppercase}.seller-order-recipient-grid b{display:block;margin-top:2px;color:#344b3a;font-size:9px;overflow-wrap:anywhere}.seller-order-recipient-grid a{color:var(--green)}.seller-order-location-levels{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding:0 16px 14px}.seller-order-location-levels article{position:relative;padding:10px;border:1px solid #dce8de;border-radius:12px;background:#f5faf6}.seller-order-location-levels b{display:block;margin-top:4px;color:#2e4935;font-size:9px;line-height:1.45}.seller-order-location-levels span{display:block;margin-top:3px;color:#89958c;font-size:7px}.seller-order-full-address,.seller-order-landmark,.seller-order-note{display:grid;grid-template-columns:36px minmax(0,1fr);gap:10px;margin:0 16px 12px;padding:11px 12px;border:1px solid #e5ece6;border-radius:13px;background:#fbfdfb}.seller-order-full-address>span,.seller-order-landmark>span,.seller-order-note>span{display:grid;place-items:center;width:36px;height:36px;border-radius:10px;background:#eaf5ec}.seller-order-full-address b,.seller-order-landmark b{display:block;margin-top:3px;color:#344b3a;font-size:9px;line-height:1.6}.seller-order-landmark{border-color:#f0e1b9;background:#fffaf0}.seller-order-landmark>span{background:#fff0c8}.seller-order-coordinate{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 16px 12px;padding:10px 12px;border:1px dashed #bcd7c2;border-radius:12px;background:#f2f9f3}.seller-order-coordinate b{display:block;margin-top:3px;color:#315039;font-size:9px}.seller-order-note{border-color:#dfe7ef;background:#f7fafc}.seller-order-note>span{background:#e9f1f8}.seller-order-note p{margin:3px 0 0;color:#53665a;font-size:9px;line-height:1.65}.seller-order-activity-list{display:grid;padding:7px 16px 13px}.seller-order-activity-list article{position:relative;display:grid;grid-template-columns:28px minmax(0,1fr);gap:10px;padding:9px 0}.seller-order-activity-list article:not(:last-child):before{content:"";position:absolute;left:13px;top:36px;bottom:-9px;width:2px;background:#dce6dd}.seller-order-activity-list i{position:relative;z-index:1;display:grid;place-items:center;width:28px;height:28px;border:2px solid #d8e2da;border-radius:50%;background:#fff;color:#89958c;font-size:8px;font-style:normal;font-weight:900}.seller-order-activity-list article.current i{border-color:var(--green);background:var(--green);color:#fff;box-shadow:0 0 0 4px #eaf5ec}.seller-order-activity-list b{display:block;color:#304637;font-size:10px}.seller-order-activity-list p{margin:2px 0;color:#627167;font-size:8px}.seller-order-activity-list small{display:block;color:#929d95;font-size:7px}.seller-order-customer-person,.seller-order-store-person{display:grid;grid-template-columns:44px minmax(0,1fr);align-items:center;gap:10px;margin:13px 14px}.seller-order-customer-person>span{display:grid;place-items:center;width:44px;height:44px;border-radius:13px;background:var(--green);color:#fff;font-size:18px;font-weight:900}.seller-order-store-person img{width:44px;height:44px;border-radius:13px;object-fit:cover;background:#eef4ee}.seller-order-customer-person b,.seller-order-store-person b{display:block;color:#2d4634;font-size:10px}.seller-order-customer-person small,.seller-order-store-person small{display:block;margin-top:2px;color:#7b897f;font-size:8px;overflow-wrap:anywhere}.seller-order-store-person i{display:inline-grid;place-items:center;width:14px;height:14px;border-radius:50%;background:var(--green);color:#fff;font-size:7px;font-style:normal}.seller-order-contact-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:0 14px 14px}.seller-order-contact-actions .btn{min-width:0;padding-inline:7px}.seller-order-payment-card dl{display:grid;gap:8px;margin:0;padding:14px 16px}.seller-order-payment-card dl>div{display:flex;align-items:center;justify-content:space-between;gap:10px;color:#66756b;font-size:9px}.seller-order-payment-card dd{margin:0;color:#354a3b;font-weight:850;white-space:nowrap}.seller-order-payment-card .total{padding-top:10px;border-top:1px dashed #d7e2d8;font-size:11px;font-weight:900}.seller-order-payment-card .total dd{color:var(--green);font-size:17px}.seller-order-payment-method{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:12px 16px;border-top:1px solid #edf2ed;background:#fbfdfb}.seller-order-payment-method small,.seller-order-payment-reference small{display:block;color:#7b897f;font-size:7px;font-weight:900;text-transform:uppercase}.seller-order-payment-method b{display:block;margin-top:2px;color:#344b3a;font-size:9px}.seller-order-payment-reference{display:grid;gap:3px;padding:11px 16px;border-top:1px solid #edf2ed}.seller-order-payment-reference b{color:#344b3a;font-size:8px;overflow-wrap:anywhere}.seller-order-update-card form{display:grid;gap:10px;padding:14px}.seller-order-update-card label{display:grid;gap:5px}.seller-order-update-card label>span{color:#627167;font-size:8px;font-weight:850}.seller-order-update-card select{width:100%;border:1px solid #dce6dd;border-radius:11px;background:#fff;padding:10px;outline:0}.seller-order-lock-note{margin:0;padding:9px;border-radius:10px;background:#fff7e8;color:#735a23;font-size:8px;line-height:1.5}.seller-order-copy-toast,.invoice-copy-toast{position:fixed;left:50%;bottom:22px;z-index:1100;transform:translate(-50%,15px);padding:9px 14px;border-radius:999px;background:#17391f;color:#fff;font-size:9px;font-weight:850;opacity:0;pointer-events:none;transition:.2s}.seller-order-copy-toast.show,.invoice-copy-toast.show{transform:translate(-50%,0);opacity:1}
.invoice-print-body{min-height:100vh;margin:0;background:#e8eee9;color:#24372a;font-family:Inter,"Noto Sans Khmer",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.invoice-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;width:min(100% - 28px,980px);margin:18px auto}.invoice-toolbar>div{display:flex;gap:8px}.invoice-sheet{width:min(100% - 28px,980px);min-height:1120px;margin:0 auto 28px;padding:42px 46px;border-radius:8px;background:#fff;box-shadow:0 20px 55px rgba(25,54,31,.16)}.invoice-head{display:flex;align-items:flex-start;justify-content:space-between;gap:28px;padding-bottom:24px;border-bottom:3px solid #176c34}.invoice-brand{display:grid;grid-template-columns:62px minmax(0,1fr);align-items:center;gap:14px;max-width:58%}.invoice-brand img,.invoice-brand>span{width:62px;height:62px;border-radius:16px;object-fit:cover;background:#e9f5eb}.invoice-brand>span{display:grid;place-items:center;font-size:30px}.invoice-brand h1{margin:0;color:#173e23;font-size:20px;line-height:1.25}.invoice-brand p{margin:4px 0;color:#617066;font-size:9px}.invoice-brand small{display:block;margin-top:3px;color:#78847b;font-size:8px;line-height:1.45}.invoice-title{text-align:right}.invoice-title>span{display:block;color:#6d7b71;font-size:8px;font-weight:900;letter-spacing:.12em}.invoice-title h2{margin:4px 0;color:#176c34;font-size:34px;letter-spacing:.03em}.invoice-title b{display:block;color:#2e4434;font-size:12px}.invoice-status-row{display:grid;grid-template-columns:1fr 1fr 1.2fr auto;align-items:center;gap:12px;padding:16px 0;border-bottom:1px solid #dfe7e0}.invoice-status-row>div:not(.invoice-status-badges){display:grid;gap:3px}.invoice-status-row small,.invoice-parties small,.invoice-delivery-block small,.invoice-payment-summary small{color:#7a877e;font-size:7px;font-weight:900;text-transform:uppercase;letter-spacing:.04em}.invoice-status-row b{color:#344b3a;font-size:9px}.invoice-status-badges{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:5px}.invoice-parties{display:grid;grid-template-columns:1fr 1fr;gap:28px;padding:22px 0}.invoice-parties article{padding:16px;border:1px solid #dfe8e0;border-radius:13px;background:#fbfdfb}.invoice-parties h3{margin:5px 0 7px;color:#203f29;font-size:14px}.invoice-parties p{margin:3px 0;color:#5e6d63;font-size:8px;line-height:1.5}.invoice-party-address{margin-top:8px!important;color:#314b37!important;font-weight:750}.invoice-products{overflow:hidden;border:1px solid #dce6dd;border-radius:13px}.invoice-products table{width:100%;border-collapse:collapse}.invoice-products th{padding:10px 9px;background:#176c34;color:#fff;font-size:7px;text-align:left;text-transform:uppercase;letter-spacing:.03em}.invoice-products th:nth-last-child(-n+4),.invoice-products td:nth-last-child(-n+4){text-align:right}.invoice-products td{padding:11px 9px;border-bottom:1px solid #e7ede8;color:#425448;font-size:8px;vertical-align:middle}.invoice-products tbody tr:last-child td{border-bottom:0}.invoice-products td:last-child b{color:#176c34;font-size:9px}.invoice-product-cell{display:grid;grid-template-columns:40px minmax(0,1fr);align-items:center;gap:9px;min-width:220px}.invoice-product-cell img{width:40px;height:40px;border-radius:9px;object-fit:cover;background:#eef4ee}.invoice-product-cell b{display:block;color:#263f2d;font-size:9px}.invoice-product-cell small{display:block;margin-top:2px;color:#7d8980;font-size:7px}.invoice-product-cell p{display:flex;flex-wrap:wrap;gap:4px;margin:4px 0 0}.invoice-product-cell p span{padding:2px 5px;border-radius:5px;background:#edf3ee;color:#607067;font-size:6.5px}.invoice-bottom-grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(260px,.75fr);gap:22px;padding-top:22px}.invoice-delivery-block h3{margin:0 0 11px;color:#24452c;font-size:13px}.invoice-location-grid{display:grid;grid-template-columns:1fr 1fr;gap:7px}.invoice-location-grid>div{padding:9px;border:1px solid #dfe8e0;border-radius:9px;background:#fbfdfb}.invoice-location-grid b{display:block;margin-top:3px;color:#344b3a;font-size:8px}.invoice-location-grid span{display:block;margin-top:2px;color:#89958c;font-size:6.5px}.invoice-delivery-block>p{margin:9px 0 0;color:#5d6d62;font-size:8px}.invoice-note{margin-top:11px;padding:10px;border:1px solid #e6ddc4;border-radius:9px;background:#fffaf0}.invoice-note p{margin:4px 0 0;color:#645a3f;font-size:8px;line-height:1.55}.invoice-totals{align-self:start;border:1px solid #dce6dd;border-radius:13px;overflow:hidden}.invoice-totals dl{display:grid;gap:0;margin:0}.invoice-totals dl>div{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 12px;border-bottom:1px solid #e7ede8;color:#617066;font-size:8px}.invoice-totals dd{margin:0;color:#344b3a;font-weight:850;white-space:nowrap}.invoice-totals .grand-total{padding:13px 12px;background:#176c34;color:#fff;font-size:10px;font-weight:900}.invoice-totals .grand-total dd{color:#fff;font-size:15px}.invoice-payment-summary{display:grid;gap:3px;padding:11px 12px;background:#f5faf6}.invoice-payment-summary b{color:#2d4934;font-size:9px}.invoice-payment-summary span{color:#6d7b71;font-size:7px;overflow-wrap:anywhere}.invoice-footer{display:flex;align-items:flex-end;justify-content:space-between;gap:25px;margin-top:30px;padding-top:18px;border-top:1px solid #dce5dd}.invoice-footer b{color:#21442a;font-size:11px}.invoice-footer p{max-width:560px;margin:4px 0 0;color:#6d7a71;font-size:7.5px;line-height:1.5}.invoice-footer>div:last-child{display:grid;justify-items:end;gap:2px;text-align:right}.invoice-footer small{color:#89958c;font-size:6.5px;text-transform:uppercase}.invoice-footer span{color:#7c887f;font-size:7px}
@media(max-width:1050px){.seller-order-detail-grid{grid-template-columns:1fr}.seller-order-detail-side{position:static;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}.seller-order-update-card{grid-row:span 2}.seller-order-detail-summary{grid-template-columns:1fr auto}.seller-order-detail-summary-badges{grid-column:1/-1;display:flex;justify-items:start}.seller-order-detail-summary-metrics{grid-column:2;grid-row:1}}
@media(max-width:760px){.seller-order-detail-head{align-items:flex-start}.seller-order-detail-actions{max-width:310px}.seller-order-detail-summary{grid-template-columns:1fr}.seller-order-detail-summary-metrics{grid-column:1;grid-row:auto;width:100%;grid-template-columns:repeat(3,1fr)}.seller-order-detail-summary-badges{grid-column:1}.seller-order-product-row{grid-template-columns:68px minmax(0,1fr)}.seller-order-product-image{width:68px;height:68px}.seller-order-product-numbers{grid-column:1/-1;grid-template-columns:repeat(3,1fr);padding-top:9px;border-top:1px dashed #dce6dd;text-align:left}.seller-order-product-numbers>div{border-left:0}.seller-order-product-numbers>div+div{border-left:1px solid #edf2ed}.seller-order-recipient-grid{grid-template-columns:1fr 1fr}.seller-order-recipient-grid article:last-child{grid-column:1/-1}.seller-order-location-levels{grid-template-columns:1fr 1fr}.seller-order-detail-side{grid-template-columns:1fr 1fr}.invoice-sheet{padding:28px}.invoice-bottom-grid{grid-template-columns:1fr}.invoice-title h2{font-size:28px}.invoice-status-row{grid-template-columns:1fr 1fr}.invoice-status-badges{justify-content:flex-start}}
@media(max-width:600px){.seller-order-detail-page{gap:11px}.seller-order-detail-head{display:grid;gap:12px}.seller-order-detail-head h1{font-size:25px}.seller-order-detail-actions{display:grid;grid-template-columns:1fr 1fr;width:100%;max-width:none}.seller-order-detail-actions .btn.primary{grid-column:1/-1}.seller-order-detail-summary{gap:12px;padding:14px;border-radius:16px}.seller-order-detail-summary-main>div{display:grid;gap:3px}.seller-order-detail-summary-metrics article{min-width:0;padding:8px}.seller-order-detail-summary-metrics small{font-size:6px}.seller-order-detail-summary-metrics b{font-size:9px}.seller-order-detail-summary-metrics .total b{font-size:12px}.seller-order-detail-main,.seller-order-detail-side{gap:11px}.seller-order-detail-card{border-radius:15px}.seller-order-detail-card>header{padding:12px}.seller-order-product-row{grid-template-columns:58px minmax(0,1fr);gap:9px;padding:12px}.seller-order-product-image{width:58px;height:58px;border-radius:11px}.seller-order-product-copy h3{font-size:10px}.seller-order-product-numbers{gap:0}.seller-order-product-numbers>div{padding:0 6px}.seller-order-recipient-grid{grid-template-columns:1fr;padding:12px}.seller-order-recipient-grid article:last-child{grid-column:auto}.seller-order-location-levels{padding:0 12px 12px}.seller-order-full-address,.seller-order-landmark,.seller-order-coordinate,.seller-order-note{margin-left:12px;margin-right:12px}.seller-order-coordinate{align-items:flex-start;flex-direction:column}.seller-order-detail-side{grid-template-columns:1fr}.seller-order-update-card{grid-row:auto}.seller-order-contact-actions{grid-template-columns:1fr 1fr}.order-mobile-quick-actions{grid-template-columns:1fr 1fr 1fr}.invoice-toolbar{width:min(100% - 18px,980px);margin:9px auto}.invoice-toolbar>a{display:none}.invoice-toolbar>div{width:100%}.invoice-toolbar .btn{flex:1}.invoice-sheet{width:100%;min-height:0;margin:0;padding:22px 16px;border-radius:0;box-shadow:none}.invoice-head{display:grid;gap:16px}.invoice-brand{max-width:none}.invoice-title{text-align:left}.invoice-status-row{grid-template-columns:1fr 1fr}.invoice-parties{grid-template-columns:1fr;gap:10px}.invoice-products{overflow-x:auto}.invoice-products table{min-width:720px}.invoice-bottom-grid{gap:14px}.invoice-location-grid{grid-template-columns:1fr 1fr}.invoice-footer{align-items:flex-start;display:grid}.invoice-footer>div:last-child{justify-items:start;text-align:left}}
@media(max-width:390px){.seller-order-detail-actions{grid-template-columns:1fr}.seller-order-detail-actions .btn.primary{grid-column:auto}.seller-order-detail-summary-metrics{grid-template-columns:1fr}.seller-order-product-numbers{grid-template-columns:1fr}.seller-order-product-numbers>div{display:flex;align-items:center;justify-content:space-between;padding:5px 0}.seller-order-product-numbers>div+div{border-top:1px solid #edf2ed;border-left:0}.seller-order-location-levels{grid-template-columns:1fr}.seller-order-contact-actions,.order-mobile-quick-actions{grid-template-columns:1fr}.invoice-location-grid,.invoice-status-row{grid-template-columns:1fr}}
[data-theme="dark"] .seller-order-detail-summary,[data-theme="dark"] .seller-order-detail-card,[data-theme="dark"] .seller-order-product-image,[data-theme="dark"] .seller-order-update-card select,[data-theme="dark"] .seller-order-activity-list i{background:#152019;border-color:#34463a;color:#edf6ef}[data-theme="dark"] .seller-order-detail-card>header,[data-theme="dark"] .seller-order-recipient-grid article,[data-theme="dark"] .seller-order-full-address,[data-theme="dark"] .seller-order-customer-person,[data-theme="dark"] .seller-order-payment-method,[data-theme="dark"] .seller-order-product-meta span,[data-theme="dark"] .seller-order-product-options span{background:#18231b;border-color:#34463a}[data-theme="dark"] .seller-order-detail-head h1,[data-theme="dark"] .seller-order-detail-summary-main b,[data-theme="dark"] .seller-order-detail-card>header h2,[data-theme="dark"] .seller-order-product-copy h3,[data-theme="dark"] .seller-order-product-numbers b,[data-theme="dark"] .seller-order-recipient-grid b,[data-theme="dark"] .seller-order-location-levels b,[data-theme="dark"] .seller-order-full-address b,[data-theme="dark"] .seller-order-customer-person b,[data-theme="dark"] .seller-order-store-person b,[data-theme="dark"] .seller-order-payment-card dd{color:#edf6ef}[data-theme="dark"] .seller-order-location-levels article,[data-theme="dark"] .seller-order-coordinate{background:#19271d;border-color:#38503e}[data-theme="dark"] .seller-order-product-row,[data-theme="dark"] .seller-order-payment-method,[data-theme="dark"] .seller-order-payment-reference,[data-theme="dark"] .seller-order-payment-card .total{border-color:#2f4034}
@media print{.invoice-print-body{background:#fff}.no-print{display:none!important}.invoice-sheet{width:100%;min-height:0;margin:0;padding:0;border-radius:0;box-shadow:none}.invoice-products table{min-width:0}.invoice-sheet,.invoice-parties article,.invoice-products,.invoice-totals{break-inside:avoid}.invoice-head{padding-top:0}@page{size:A4;margin:12mm}}

/* v5.5.4 Notifications + Chat clean responsive UI */
.notification-center-page{display:grid;gap:16px;max-width:1480px;margin:0 auto}.notification-center-head{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;padding:4px 2px}.notification-center-head h2{margin:4px 0 3px;font-size:clamp(26px,3vw,38px);letter-spacing:-.035em}.notification-center-head p{max-width:760px;margin:0;color:var(--ui-muted,var(--muted));font-size:13px}.notification-center-head form{margin:0}.notification-stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.notification-stat-grid article{display:flex;align-items:center;gap:12px;min-height:88px;padding:16px 18px;border:1px solid var(--ui-border,var(--line));border-radius:20px;background:var(--ui-surface,var(--card,#fff));box-shadow:0 14px 38px rgba(15,67,35,.055)}.notification-stat-grid article>span{display:grid;place-items:center;width:42px;height:42px;border-radius:14px;background:rgba(16,185,129,.1);font-size:18px}.notification-stat-grid article.unread>span{background:rgba(225,29,72,.1);color:#e11d48}.notification-stat-grid small,.notification-stat-grid b{display:block}.notification-stat-grid small{color:var(--ui-muted,var(--muted));font-size:10px;font-weight:750}.notification-stat-grid b{margin-top:2px;font-size:23px;line-height:1}.notification-filter-panel{padding:14px;border-radius:22px}.notification-search-row{display:grid;grid-template-columns:minmax(240px,1fr) minmax(170px,230px) 130px auto;gap:9px;align-items:center}.notification-search-field{position:relative;display:block}.notification-search-field>span{position:absolute;left:13px;top:50%;transform:translateY(-50%);color:var(--ui-muted,var(--muted));font-size:18px;pointer-events:none}.notification-search-field input{width:100%;padding-left:39px!important}.notification-search-row select{min-width:0}.notification-status-tabs{display:flex;gap:7px;overflow:auto;margin-top:12px;padding-top:12px;border-top:1px solid var(--ui-border,var(--line));scrollbar-width:none}.notification-status-tabs::-webkit-scrollbar{display:none}.notification-status-tabs a{display:inline-flex;align-items:center;gap:6px;flex:0 0 auto;padding:8px 13px;border:1px solid transparent;border-radius:999px;color:var(--ui-muted,var(--muted));text-decoration:none;font-size:11px;font-weight:850}.notification-status-tabs a:hover{background:var(--ui-surface-2,#f2f7f3)}.notification-status-tabs a.active{border-color:rgba(16,185,129,.24);background:rgba(16,185,129,.11);color:#08783e}.notification-advanced{margin-top:10px}.notification-advanced summary{width:max-content;cursor:pointer;color:var(--ui-muted,var(--muted));font-size:10px;font-weight:850;list-style:none}.notification-advanced summary::-webkit-details-marker{display:none}.notification-date-filter{display:grid;grid-template-columns:repeat(2,minmax(160px,220px)) auto auto;gap:9px;align-items:end;margin-top:11px;padding-top:11px;border-top:1px dashed var(--ui-border,var(--line))}.notification-date-filter label{display:grid;gap:5px;color:var(--ui-muted,var(--muted));font-size:10px;font-weight:800}.notification-result-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 3px;color:var(--ui-muted,var(--muted));font-size:11px}.notification-result-bar b{color:var(--ui-text,var(--text));font-size:13px}.notification-result-bar a{color:#08783e;text-decoration:none;font-weight:800}.notification-center-list{gap:10px}.notification-date-heading{display:flex;align-items:center;gap:10px;margin:5px 0 0;color:var(--ui-muted,var(--muted));font-size:10px;font-weight:850;text-transform:uppercase;letter-spacing:.06em}.notification-date-heading:after{content:"";height:1px;flex:1;background:var(--ui-border,var(--line))}.notification-center-card{grid-template-columns:52px minmax(0,1fr) auto;gap:14px;align-items:center;padding:15px 16px;border-radius:20px;transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease}.notification-center-card:hover{transform:translateY(-1px);box-shadow:0 14px 35px rgba(15,67,35,.07)}.notification-center-card.unread{border-color:rgba(16,185,129,.42);background:linear-gradient(135deg,rgba(16,185,129,.09),var(--ui-surface,var(--card,#fff)) 58%)}.notification-center-card.is-read{opacity:.88}.notification-center-card .notification-icon{width:48px;height:48px;border-radius:16px}.notification-card-copy{min-width:0}.notification-card-copy h3{margin:6px 0 3px;font-size:14px;line-height:1.35}.notification-card-copy p{margin:0;color:var(--ui-muted,var(--muted));font-size:11px;line-height:1.6}.notification-card-meta{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.notification-card-meta time{margin-left:auto;color:var(--ui-muted,var(--muted));font-size:9px}.notification-type-pill,.notification-new-pill{display:inline-flex;align-items:center;padding:4px 8px;border-radius:999px;font-size:8px;font-weight:900}.notification-type-pill{background:var(--ui-surface-2,#eef5f0);color:#53645a}.notification-new-pill{background:#e11d48;color:#fff}.notification-card-actions{display:flex;align-items:center;justify-content:flex-end;gap:7px;flex-wrap:wrap}.notification-card-actions form{margin:0}.notification-empty-state{display:grid;place-items:center;min-height:310px;padding:34px;text-align:center;border-radius:22px}.notification-empty-state>span{font-size:46px}.notification-empty-state b{margin-top:9px;font-size:18px}.notification-empty-state p{max-width:520px;margin:5px 0 15px;color:var(--ui-muted,var(--muted));font-size:12px}.notification-pagination{justify-content:center}

.chat-summary-pill{display:inline-flex;align-items:center;gap:6px;padding:8px 11px;border:1px solid var(--ui-border,var(--line));border-radius:999px;background:var(--ui-surface,var(--card,#fff));color:var(--ui-muted,var(--muted));font-size:10px;font-weight:800}.chat-summary-pill b{color:var(--ui-text,var(--text));font-size:11px}.chat-summary-pill.unread{border-color:rgba(225,29,72,.2);background:rgba(225,29,72,.07);color:#be123c}.chat-security-note{display:block;padding:0!important;overflow:hidden;border-radius:17px!important}.chat-security-note summary{display:grid;grid-template-columns:auto auto 1fr auto;align-items:center;gap:9px;padding:11px 14px;cursor:pointer;list-style:none}.chat-security-note summary::-webkit-details-marker{display:none}.chat-security-note summary b{font-size:11px}.chat-security-note summary small{color:var(--ui-muted,var(--muted));font-size:9px}.chat-security-note summary i{font-style:normal;transition:transform .18s}.chat-security-note[open] summary i{transform:rotate(180deg)}.chat-security-note>div{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:0 14px 12px 51px}.chat-security-note>div small{color:var(--ui-muted,var(--muted));font-size:9px;line-height:1.55}.chat-security-note>div em{flex:0 0 auto;color:#08783e;font-size:9px;font-style:normal;font-weight:850}.chat-status-tabs{display:flex;gap:5px;overflow:auto;padding:8px 11px;border-bottom:1px solid var(--ui-border,var(--line));scrollbar-width:none}.chat-status-tabs::-webkit-scrollbar{display:none}.chat-status-tabs a{flex:0 0 auto;padding:6px 10px;border-radius:999px;color:var(--ui-muted,var(--muted));text-decoration:none;font-size:9px;font-weight:850}.chat-status-tabs a:hover{background:var(--ui-surface-2,#f1f6f2)}.chat-status-tabs a.active{background:#08783e;color:#fff}.chat-mobile-back,.chat-info-button,.chat-context-mobile-head{display:none}.chat-compose-modal{position:fixed!important;inset:0!important;z-index:1600!important;display:grid!important;place-items:center;margin:0!important;padding:18px!important;border:0!important;border-radius:0!important;background:rgba(5,20,12,.55)!important;box-shadow:none!important;backdrop-filter:blur(7px)}.chat-compose-modal[hidden]{display:none!important}.chat-compose-sheet{width:min(620px,100%);max-height:min(820px,calc(100dvh - 36px));display:grid;gap:11px;overflow:auto;padding:20px;border:1px solid var(--ui-border,var(--line));border-radius:24px;background:var(--ui-surface,var(--card,#fff));box-shadow:0 28px 90px rgba(2,31,16,.28)}.chat-compose-sheet>header{position:sticky;top:-20px;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:12px;margin:-20px -20px 2px;padding:18px 20px 13px;border-bottom:1px solid var(--ui-border,var(--line));background:color-mix(in srgb,var(--ui-surface,var(--card,#fff)) 94%,transparent);backdrop-filter:blur(16px)}.chat-compose-sheet>header h3{margin:2px 0 0;font-size:19px}.chat-compose-close,.chat-context-mobile-head button{display:grid;place-items:center;width:36px;height:36px;padding:0;border:1px solid var(--ui-border,var(--line));border-radius:12px;background:var(--ui-surface-2,#f1f6f2);color:var(--ui-text,var(--text));font-size:22px;cursor:pointer}.chat-context-overlay{position:fixed;inset:0;z-index:1540;border:0;background:rgba(5,20,12,.48);backdrop-filter:blur(3px);cursor:pointer}.chat-context-overlay[hidden]{display:none!important}.chat-context-overlay.is-open{display:block}.chat-compose-open,.chat-context-open{overflow:hidden}.chat-pro-thread{min-height:0}.chat-thread-header-actions{flex-wrap:wrap}.chat-message-stream{overscroll-behavior:contain}.chat-thread-item{color:inherit;text-decoration:none}.chat-thread-item.unread{background:linear-gradient(135deg,rgba(16,185,129,.085),transparent)}

@media(max-width:1250px){.chat-info-button{display:inline-flex}.chat-pro-context[data-chat-context]{position:fixed;top:0;right:0;bottom:0;z-index:1550;width:min(390px,92vw);display:block!important;padding:0 18px 24px;overflow:auto;border-radius:24px 0 0 24px;transform:translateX(105%);transition:transform .22s ease;box-shadow:-20px 0 70px rgba(2,31,16,.2)}.chat-pro-context[data-chat-context].is-open{transform:translateX(0)}.chat-context-mobile-head{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;margin:0 -18px 14px;padding:13px 18px;border-bottom:1px solid var(--ui-border,var(--line));background:color-mix(in srgb,var(--ui-surface,var(--card,#fff)) 94%,transparent);backdrop-filter:blur(16px)}.chat-pro-context section+section{margin-top:20px!important;padding:18px 0 0!important;border-left:0!important;border-top:1px solid var(--ui-border,var(--line))!important}.chat-pro-grid{grid-template-columns:minmax(285px,340px) minmax(0,1fr)!important}.chat-pro-grid.no-thread{grid-template-columns:minmax(300px,380px) minmax(0,1fr)!important}}
@media(max-width:900px){.notification-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.notification-search-row{grid-template-columns:minmax(0,1fr) minmax(150px,210px)}.notification-search-row>select[name="per_page"],.notification-search-row>.btn{grid-row:2}.notification-date-filter{grid-template-columns:1fr 1fr}.notification-date-filter .btn{width:100%}.chat-pro-page{gap:11px}.chat-pro-heading{gap:10px}.chat-pro-heading p{display:none}.chat-pro-heading-actions{gap:6px}.chat-summary-pill,.chat-live-pill,.chat-bot-pill{padding:7px 9px}.chat-security-note>div{padding-left:14px}.chat-pro-grid,.chat-pro-grid.no-thread{display:block!important}.chat-pro-grid.has-thread .chat-pro-inbox{display:none}.chat-pro-grid.has-thread .chat-pro-thread{display:flex}.chat-pro-grid.has-thread .chat-pro-welcome{display:none}.chat-pro-grid.no-thread .chat-pro-inbox{display:flex;max-height:none}.chat-pro-grid.no-thread .chat-pro-welcome{display:none}.chat-pro-page.chat-show-inbox .chat-pro-grid.has-thread .chat-pro-inbox{display:flex;max-height:none}.chat-pro-page.chat-show-inbox .chat-pro-grid.has-thread .chat-pro-thread{display:none}.chat-mobile-back{display:grid;place-items:center;flex:0 0 34px;width:34px;height:34px;border:1px solid var(--ui-border,var(--line));border-radius:11px;background:var(--ui-surface-2,#f1f6f2);color:var(--ui-text,var(--text));text-decoration:none;font-size:26px;line-height:1}.chat-pro-inbox,.chat-pro-thread{min-height:calc(100dvh - 205px);max-height:none!important}.chat-thread-list{max-height:none!important}.chat-message-stream{min-height:calc(100dvh - 390px);max-height:calc(100dvh - 300px)}.chat-thread-header{position:sticky;top:0;z-index:8;min-height:64px;flex-direction:row!important;align-items:center!important;padding:9px 11px}.chat-thread-header-actions{width:auto!important;margin-left:auto}.chat-thread-header-actions form,.chat-thread-header-actions>a{display:none}.chat-info-button{display:inline-flex}.chat-thread-identity>span{width:38px;height:38px;border-radius:12px}.chat-thread-identity{gap:7px}.chat-reply-box{bottom:calc(74px + env(safe-area-inset-bottom));padding-inline:10px}.chat-compose-modal{place-items:end center;padding:0}.chat-compose-sheet{width:100%;max-height:92dvh;border-radius:24px 24px 0 0;padding:17px 15px calc(17px + env(safe-area-inset-bottom))}.chat-compose-sheet>header{top:-17px;margin:-17px -15px 2px;padding:15px}.chat-settings-panel{display:none}}
@media(max-width:680px){.notification-center-head{align-items:flex-start;flex-direction:column}.notification-center-head form,.notification-center-head .btn{width:100%}.notification-stat-grid{gap:8px}.notification-stat-grid article{min-height:76px;padding:12px;border-radius:17px}.notification-stat-grid article>span{width:36px;height:36px;border-radius:12px}.notification-stat-grid b{font-size:19px}.notification-filter-panel{padding:11px}.notification-search-row{grid-template-columns:1fr}.notification-search-row>select[name="per_page"],.notification-search-row>.btn{grid-row:auto}.notification-search-row .btn{width:100%}.notification-date-filter{grid-template-columns:1fr}.notification-center-card{grid-template-columns:43px minmax(0,1fr);padding:13px 12px;border-radius:17px}.notification-center-card .notification-icon{width:42px;height:42px;border-radius:14px}.notification-card-meta time{width:100%;margin-left:0}.notification-card-actions{grid-column:1/-1;justify-content:stretch;padding-top:3px}.notification-card-actions .btn,.notification-card-actions form{flex:1}.notification-card-actions form .btn{width:100%}.notification-result-bar{align-items:flex-start}.chat-pro-heading h2{font-size:25px}.chat-pro-heading-actions{width:100%;overflow:auto;flex-wrap:nowrap;padding-bottom:2px}.chat-summary-pill,.chat-live-pill,.chat-bot-pill{flex:0 0 auto!important}.chat-security-note summary{grid-template-columns:auto 1fr auto}.chat-security-note summary small{display:none}.chat-security-note>div{align-items:flex-start;flex-direction:column}.chat-filter{grid-template-columns:1fr!important;padding:9px 10px}.chat-filter button{grid-column:auto!important}.chat-status-tabs{padding-inline:9px}.chat-pro-inbox,.chat-pro-thread{border-radius:16px!important}.chat-pro-inbox-head{padding:13px 12px 10px}.chat-thread-item{grid-template-columns:40px minmax(0,1fr) auto;padding:10px 8px}.chat-thread-avatar{width:40px;height:40px}.chat-thread-copy b{font-size:11px}.chat-message-stream{padding:12px 8px}.chat-message{max-width:91%;padding:10px 11px}.chat-message p{font-size:11px}.chat-reply-tools>span{display:none}.chat-reply-main{grid-template-columns:minmax(0,1fr) auto!important}.chat-reply-main .btn{height:48px;min-width:62px}.chat-context-list>div{grid-template-columns:82px minmax(0,1fr)}}
[data-theme="dark"] .notification-stat-grid article,[data-theme="dark"] .notification-filter-panel,[data-theme="dark"] .notification-center-card,[data-theme="dark"] .notification-empty-state,[data-theme="dark"] .chat-compose-sheet,[data-theme="dark"] .chat-summary-pill{background:#132018;border-color:#304438}[data-theme="dark"] .notification-center-card.unread{background:linear-gradient(135deg,rgba(16,185,129,.13),#132018 62%)}[data-theme="dark"] .notification-type-pill,[data-theme="dark"] .chat-mobile-back,[data-theme="dark"] .chat-compose-close,[data-theme="dark"] .chat-context-mobile-head button{background:#1b2a20;color:#dce9df}[data-theme="dark"] .notification-card-copy h3,[data-theme="dark"] .notification-stat-grid b{color:#edf6ef}[data-theme="dark"] .chat-compose-modal,[data-theme="dark"] .chat-context-overlay{background:rgba(0,8,4,.68)}

/* v5.5.5 — Order detail actions + platform-branded A4/A5 invoice */
.seller-order-clear-actions{align-items:center}.seller-order-clear-actions .btn{min-height:39px;border-radius:11px;font-weight:850}.seller-order-clear-actions .order-action-primary{box-shadow:0 8px 20px rgba(8,120,62,.18)}.seller-order-update-card{scroll-margin-top:105px;border-color:#bcdcc4;box-shadow:0 12px 30px rgba(8,120,62,.08)}.seller-order-update-card>header{background:linear-gradient(135deg,#f0f9f2,#fbfdfb)}.seller-order-update-intro{margin:12px 14px 0;padding:11px 12px;border:1px solid #d7e9db;border-radius:12px;background:#f4faf5}.seller-order-update-intro b{display:block;color:#264c30;font-size:9px;line-height:1.5}.seller-order-update-intro p{margin:4px 0 0;color:#6b7b70;font-size:8px;line-height:1.55}.seller-order-save-button{min-height:43px;font-weight:900}.seller-order-platform-person{display:grid;grid-template-columns:48px minmax(0,1fr);align-items:center;gap:11px;padding:14px}.seller-order-platform-person img{width:48px;height:48px;border:1px solid #d8e7dc;border-radius:15px;object-fit:cover;background:#edf6ef}.seller-order-platform-person b{display:block;color:#284a31;font-size:11px}.seller-order-platform-person small{display:block;margin-top:3px;color:#718078;font-size:8px;line-height:1.45}.seller-order-platform-trust{margin:0 14px 12px;padding:11px 12px;border:1px solid #cfe4d4;border-radius:12px;background:linear-gradient(135deg,#eef9f1,#fff)}.seller-order-platform-trust b{display:block;color:#1f5930;font-size:9px}.seller-order-platform-trust p{margin:4px 0 0;color:#64736a;font-size:8px;line-height:1.55}.seller-order-platform-links{display:flex;flex-wrap:wrap;gap:6px;padding:0 14px 14px}.seller-order-platform-links a,.seller-order-platform-links span{display:inline-flex;align-items:center;gap:5px;padding:6px 8px;border:1px solid #dce8df;border-radius:9px;background:#fbfdfb;color:#46604d;font-size:8px;font-weight:800;text-decoration:none;overflow-wrap:anywhere}.seller-order-print-panel{display:grid;gap:7px;padding:12px;border:1px solid #dce7de;border-radius:15px;background:#fff}.seller-order-print-panel>small{color:#718078;font-size:8px;font-weight:900;text-transform:uppercase}.seller-order-print-panel>div{display:grid;grid-template-columns:1fr 1fr;gap:8px}.seller-order-print-panel .btn{width:100%;justify-content:center}
.invoice-toolbar-main{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}.invoice-size-switch{display:flex;align-items:center;gap:4px;padding:4px;border:1px solid #cfdcd2;border-radius:12px;background:#fff}.invoice-size-switch>span{padding:0 7px;color:#6e7c72;font-size:8px;font-weight:850}.invoice-size-switch a{display:grid;place-items:center;min-width:43px;height:31px;border-radius:8px;color:#506057;font-size:9px;font-weight:900;text-decoration:none}.invoice-size-switch a:hover{background:#eef6f0}.invoice-size-switch a.active{background:#176c34;color:#fff;box-shadow:0 5px 12px rgba(23,108,52,.18)}.invoice-sheet{print-color-adjust:exact;-webkit-print-color-adjust:exact}.invoice-paper-a4{max-width:210mm}.invoice-body-a5 .invoice-toolbar{width:min(100% - 24px,680px)}.invoice-paper-a5{width:min(100% - 24px,148mm);min-height:210mm;padding:24px 26px}.invoice-head-platform{align-items:center}.invoice-brand-site img{padding:4px;border:1px solid #d7e6da;background:#fff}.invoice-site-url{color:#176c34!important;font-weight:850}.invoice-trust-strip{display:grid;grid-template-columns:34px minmax(0,1fr);align-items:center;gap:10px;margin:14px 0 0;padding:10px 12px;border:1px solid #cde3d2;border-radius:12px;background:linear-gradient(135deg,#edf8ef,#fbfdfb)}.invoice-trust-strip>span,.invoice-confidence-note>span{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#176c34;color:#fff;font-size:15px;font-weight:950}.invoice-trust-strip b{display:block;color:#24532f;font-size:9px}.invoice-trust-strip p{margin:3px 0 0;color:#64746a;font-size:7.5px;line-height:1.5}.invoice-platform-card{border-color:#cfe3d3!important;background:linear-gradient(145deg,#eff9f1,#fff)!important}.invoice-platform-card p b,.invoice-parties article>p b{color:#176c34}.invoice-confidence-note{display:grid;grid-template-columns:40px minmax(0,1fr);align-items:flex-start;gap:12px;margin-top:20px;padding:14px;border:1px solid #d7e6da;border-radius:13px;background:#f7fbf8}.invoice-confidence-note>span{width:40px;height:40px}.invoice-confidence-note small{display:block;color:#748279;font-size:7px;font-weight:900;text-transform:uppercase;letter-spacing:.04em}.invoice-confidence-note b{display:block;margin-top:3px;color:#24512f;font-size:10px}.invoice-confidence-note p{margin:4px 0 0;color:#637168;font-size:8px;line-height:1.6}.invoice-paper-a5 .invoice-head{gap:14px;padding-bottom:15px}.invoice-paper-a5 .invoice-brand{grid-template-columns:46px minmax(0,1fr);gap:10px;max-width:62%}.invoice-paper-a5 .invoice-brand img{width:46px;height:46px;border-radius:12px}.invoice-paper-a5 .invoice-brand h1{font-size:14px}.invoice-paper-a5 .invoice-brand p{font-size:7px}.invoice-paper-a5 .invoice-brand small{font-size:6.3px}.invoice-paper-a5 .invoice-title>span{font-size:6px}.invoice-paper-a5 .invoice-title h2{font-size:23px}.invoice-paper-a5 .invoice-title b{font-size:9px}.invoice-paper-a5 .invoice-trust-strip{grid-template-columns:28px minmax(0,1fr);gap:8px;margin-top:10px;padding:8px 9px}.invoice-paper-a5 .invoice-trust-strip>span{width:28px;height:28px;font-size:12px}.invoice-paper-a5 .invoice-trust-strip b{font-size:7.5px}.invoice-paper-a5 .invoice-trust-strip p{font-size:6px}.invoice-paper-a5 .invoice-status-row{grid-template-columns:1fr 1fr;gap:7px;padding:10px 0}.invoice-paper-a5 .invoice-status-badges{justify-content:flex-start}.invoice-paper-a5 .invoice-parties{grid-template-columns:1fr;gap:8px;padding:12px 0}.invoice-paper-a5 .invoice-parties article{padding:10px}.invoice-paper-a5 .invoice-parties h3{font-size:10px}.invoice-paper-a5 .invoice-parties p{font-size:6.6px}.invoice-paper-a5 .invoice-products th{padding:7px 5px;font-size:5.7px}.invoice-paper-a5 .invoice-products td{padding:7px 5px;font-size:6.3px}.invoice-paper-a5 .invoice-products th:nth-child(3),.invoice-paper-a5 .invoice-products td:nth-child(3){display:none}.invoice-paper-a5 .invoice-product-cell{grid-template-columns:29px minmax(0,1fr);gap:6px;min-width:130px}.invoice-paper-a5 .invoice-product-cell img{width:29px;height:29px;border-radius:7px}.invoice-paper-a5 .invoice-product-cell b{font-size:6.8px}.invoice-paper-a5 .invoice-product-cell small{font-size:5.5px}.invoice-paper-a5 .invoice-product-cell p span{font-size:5px}.invoice-paper-a5 .invoice-bottom-grid{grid-template-columns:1fr;gap:11px;padding-top:12px}.invoice-paper-a5 .invoice-delivery-block h3{font-size:9px}.invoice-paper-a5 .invoice-location-grid{gap:5px}.invoice-paper-a5 .invoice-location-grid>div{padding:6px}.invoice-paper-a5 .invoice-location-grid b{font-size:6.5px}.invoice-paper-a5 .invoice-totals dl>div{padding:6px 9px;font-size:6.5px}.invoice-paper-a5 .invoice-totals .grand-total{padding:9px}.invoice-paper-a5 .invoice-totals .grand-total dd{font-size:11px}.invoice-paper-a5 .invoice-confidence-note{grid-template-columns:30px minmax(0,1fr);gap:8px;margin-top:12px;padding:9px}.invoice-paper-a5 .invoice-confidence-note>span{width:30px;height:30px;font-size:12px}.invoice-paper-a5 .invoice-confidence-note small{font-size:5.5px}.invoice-paper-a5 .invoice-confidence-note b{font-size:7.5px}.invoice-paper-a5 .invoice-confidence-note p{font-size:6px}.invoice-paper-a5 .invoice-footer{gap:12px;margin-top:15px;padding-top:10px}.invoice-paper-a5 .invoice-footer b{font-size:8px}.invoice-paper-a5 .invoice-footer p{font-size:5.8px}.invoice-paper-a5 .invoice-footer span,.invoice-paper-a5 .invoice-footer small{font-size:5.4px}
@media(max-width:900px){.seller-order-clear-actions{max-width:520px}.seller-order-clear-actions .order-action-primary{order:-1}.invoice-toolbar{align-items:flex-start}.invoice-toolbar-main{width:100%}}
@media(max-width:680px){.seller-order-clear-actions{display:grid;grid-template-columns:1fr 1fr;width:100%;max-width:none}.seller-order-clear-actions .btn{justify-content:center}.seller-order-clear-actions .order-action-primary{grid-column:1/-1}.seller-order-platform-links{display:grid}.seller-order-print-panel{position:sticky;bottom:calc(74px + env(safe-area-inset-bottom));z-index:10;box-shadow:0 12px 30px rgba(20,58,28,.13)}.invoice-toolbar{display:grid}.invoice-toolbar-main{display:grid;grid-template-columns:1fr 1fr}.invoice-size-switch{grid-column:1/-1;justify-content:center}.invoice-toolbar-main .btn{justify-content:center}.invoice-paper-a5{width:100%;padding:20px 14px}.invoice-paper-a5 .invoice-products{overflow-x:auto}.invoice-paper-a5 .invoice-products table{min-width:480px}}
@media(max-width:390px){.seller-order-clear-actions{grid-template-columns:1fr}.seller-order-clear-actions .order-action-primary{grid-column:auto}.invoice-toolbar-main{grid-template-columns:1fr}.invoice-size-switch{grid-column:auto}}
[data-theme="dark"] .seller-order-platform-card,[data-theme="dark"] .seller-order-print-panel,[data-theme="dark"] .seller-order-update-intro{background:#152119;border-color:#34483a}[data-theme="dark"] .seller-order-platform-trust{background:#18271d;border-color:#36513e}[data-theme="dark"] .seller-order-platform-person b,[data-theme="dark"] .seller-order-platform-trust b,[data-theme="dark"] .seller-order-update-intro b{color:#e8f4eb}[data-theme="dark"] .seller-order-platform-links a,[data-theme="dark"] .seller-order-platform-links span{background:#19271d;border-color:#35493b;color:#dce8df}
@media print{.invoice-sheet{print-color-adjust:exact;-webkit-print-color-adjust:exact}.invoice-body-a4 .invoice-sheet{font-size:100%}.invoice-body-a5 .invoice-sheet{font-size:92%}.invoice-paper-a5{width:100%;min-height:0;padding:0}.invoice-paper-a5 .invoice-products table{min-width:0}.invoice-confidence-note,.invoice-trust-strip,.invoice-products,.invoice-totals,.invoice-parties article{break-inside:avoid}}

/* v5.5.6 — Notification contrast controls + A4/A5/Thermal invoice */
.notification-center-page{padding:clamp(12px,2vw,22px);border:1px solid color-mix(in srgb,var(--notification-text,#173c25) 12%,transparent);border-radius:26px;background:var(--notification-bg,#f3f8f4);color:var(--notification-text,#173c25);font-size:var(--notification-font-size,14px)}
.notification-center-page :where(h2,h3,b,strong,label,summary,.notification-result-bar b){color:var(--notification-text,#173c25)}
.notification-center-page :where(.notification-center-head p,.notification-stat-grid small,.notification-result-bar,.notification-card-copy p,.notification-card-meta time,.notification-date-heading,.notification-date-filter label,.notification-advanced summary){color:color-mix(in srgb,var(--notification-text,#173c25) 70%,transparent)}
.notification-center-page :where(.notification-stat-grid article,.notification-filter-panel,.notification-center-card,.notification-empty-state){border-color:color-mix(in srgb,var(--notification-text,#173c25) 14%,transparent);background:var(--notification-card,#fff)}
.notification-center-page .notification-filter-panel{box-shadow:0 12px 34px color-mix(in srgb,var(--notification-text,#173c25) 8%,transparent)}
.notification-center-page .notification-center-card.unread{border-color:color-mix(in srgb,var(--notification-text,#173c25) 34%,transparent);background:linear-gradient(135deg,var(--notification-unread,#eaf8ee),var(--notification-card,#fff) 72%);opacity:1}
.notification-center-page .notification-center-card.is-read{opacity:.92}
.notification-center-page .notification-card-copy h3{font-size:calc(var(--notification-font-size,14px) + 2px)}
.notification-center-page .notification-card-copy p{font-size:var(--notification-font-size,14px);overflow-wrap:anywhere}
.notification-center-page .notification-card-meta,.notification-center-page .notification-result-bar,.notification-center-page .notification-status-tabs a{font-size:max(10px,calc(var(--notification-font-size,14px) - 3px))}
.notification-center-page .notification-type-pill,.notification-center-page .notification-new-pill{font-size:max(9px,calc(var(--notification-font-size,14px) - 4px))}
.notification-center-page :where(input,select){border-color:color-mix(in srgb,var(--notification-text,#173c25) 18%,transparent);background:var(--notification-card,#fff);color:var(--notification-text,#173c25)}
.notification-center-page input::placeholder{color:color-mix(in srgb,var(--notification-text,#173c25) 50%,transparent)}
.notification-center-page .notification-status-tabs{border-color:color-mix(in srgb,var(--notification-text,#173c25) 13%,transparent)}
.notification-center-page .notification-status-tabs a{color:color-mix(in srgb,var(--notification-text,#173c25) 72%,transparent)}
.notification-center-page .notification-status-tabs a.active{border-color:color-mix(in srgb,var(--notification-text,#173c25) 24%,transparent);background:color-mix(in srgb,var(--notification-unread,#eaf8ee) 82%,var(--notification-card,#fff));color:var(--notification-text,#173c25)}
.notification-center-page button:disabled{cursor:not-allowed;opacity:.45;filter:grayscale(.2)}
.notification-center-page .notification-icon{background:color-mix(in srgb,var(--notification-unread,#eaf8ee) 82%,var(--notification-card,#fff));color:var(--notification-text,#173c25)}
[data-theme="dark"] .notification-center-page{background:var(--notification-bg,#f3f8f4);color:var(--notification-text,#173c25)}
[data-theme="dark"] .notification-center-page :where(.notification-stat-grid article,.notification-filter-panel,.notification-center-card,.notification-empty-state){background:var(--notification-card,#fff);border-color:color-mix(in srgb,var(--notification-text,#173c25) 14%,transparent)}
[data-theme="dark"] .notification-center-page .notification-center-card.unread{background:linear-gradient(135deg,var(--notification-unread,#eaf8ee),var(--notification-card,#fff) 72%)}
[data-theme="dark"] .notification-center-page :where(.notification-card-copy h3,.notification-stat-grid b,.notification-result-bar b){color:var(--notification-text,#173c25)}

.notification-appearance-settings,.invoice-format-settings{overflow:hidden}.notification-theme-settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:14px}.notification-theme-settings-grid>label{display:grid;align-content:start;gap:7px;padding:12px;border:1px solid var(--line);border-radius:14px;background:var(--card)}.notification-theme-settings-grid>label>span{font-size:10px;font-weight:850}.notification-theme-settings-grid>label>small{color:var(--muted);font-size:8px;line-height:1.5}.notification-font-control>div{display:grid;grid-template-columns:minmax(0,1fr) 52px;align-items:center;gap:10px}.notification-font-control input{width:100%;padding:0}.notification-font-control output{display:grid;place-items:center;min-height:36px;border:1px solid var(--line);border-radius:10px;background:var(--bg);font-size:11px;font-weight:900}.settings-color-field{display:grid;grid-template-columns:54px minmax(0,1fr);align-items:center;gap:9px}.settings-color-field input[type="color"]{width:54px;height:40px;padding:3px;border-radius:10px;cursor:pointer}.settings-color-field code{padding:9px 10px;border:1px solid var(--line);border-radius:10px;background:var(--bg);font-size:10px;text-align:center}.notification-theme-preview{--preview-font-size:14px;--preview-text:#173c25;--preview-background:#f3f8f4;--preview-card:#fff;--preview-unread:#eaf8ee;display:grid;grid-template-columns:44px minmax(0,1fr) auto;align-items:center;gap:11px;margin:15px 0 12px;padding:14px;border:10px solid var(--preview-background);border-radius:20px;background:linear-gradient(135deg,var(--preview-unread),var(--preview-card) 72%);color:var(--preview-text);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--preview-text) 14%,transparent)}.notification-theme-preview>span{display:grid;place-items:center;width:44px;height:44px;border-radius:14px;background:color-mix(in srgb,var(--preview-unread) 85%,var(--preview-card));font-size:19px}.notification-theme-preview small{display:block;color:color-mix(in srgb,var(--preview-text) 65%,transparent);font-size:max(9px,calc(var(--preview-font-size) - 4px))}.notification-theme-preview b{display:block;margin-top:2px;color:var(--preview-text);font-size:calc(var(--preview-font-size) + 1px)}.notification-theme-preview p{margin:3px 0 0;color:color-mix(in srgb,var(--preview-text) 72%,transparent);font-size:var(--preview-font-size);line-height:1.5}.notification-theme-preview em{padding:5px 8px;border-radius:999px;background:#0c8144;color:#fff;font-size:9px;font-style:normal;font-weight:900}.invoice-format-preview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-top:12px}.invoice-format-preview span{display:grid;place-items:center;min-height:92px;padding:12px;border:1px solid var(--line);border-radius:14px;background:linear-gradient(145deg,var(--card),var(--bg));text-align:center}.invoice-format-preview span:nth-child(2){min-height:76px;margin-top:16px}.invoice-format-preview span.thermal{min-height:108px;border-style:dashed}.invoice-format-preview b{font-size:17px}.invoice-format-preview small{margin-top:4px;color:var(--muted);font-size:8px}

.seller-order-print-panel>div{grid-template-columns:repeat(3,minmax(0,1fr))}.invoice-size-switch a{padding-inline:10px;white-space:nowrap}.invoice-body-thermal{background:#e7ede8}.invoice-body-thermal .invoice-toolbar{width:min(100% - 24px,560px)}.invoice-paper-thermal{width:min(100% - 24px,100mm);min-height:150mm;margin:0 auto 24px;padding:7mm;border-radius:6px;background:#fff;color:#111;box-shadow:0 18px 50px rgba(15,40,23,.18);font-family:Arial,"Noto Sans Khmer",sans-serif;print-color-adjust:exact;-webkit-print-color-adjust:exact}.thermal-label-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-bottom:8px;border-bottom:2px solid #111}.thermal-label-brand{display:grid;grid-template-columns:38px minmax(0,1fr);align-items:center;gap:8px;min-width:0}.thermal-label-brand img{width:38px;height:38px;border:1px solid #111;border-radius:8px;object-fit:cover}.thermal-label-brand b{display:block;font-size:12px;line-height:1.2}.thermal-label-brand small{display:block;margin-top:2px;font-size:7px;overflow-wrap:anywhere}.thermal-label-title{text-align:right}.thermal-label-title span{display:block;font-size:8px;font-weight:950;letter-spacing:.08em}.thermal-label-title b{display:block;margin-top:3px;font-size:7px}.thermal-order-number{display:grid;justify-items:center;gap:4px;padding:9px 0;border-bottom:1px dashed #111;text-align:center}.thermal-order-number small{font-size:7px;font-weight:900;text-transform:uppercase}.thermal-order-number strong{max-width:100%;font-size:21px;line-height:1.05;letter-spacing:.04em;overflow-wrap:anywhere}.thermal-order-number>div{display:flex;justify-content:center;gap:4px;flex-wrap:wrap}.thermal-order-number .status{font-size:6px}.thermal-recipient-card{padding:9px 0;border-bottom:1px dashed #111}.thermal-recipient-card>small{display:block;font-size:7px;font-weight:900;text-transform:uppercase}.thermal-recipient-card h1{margin:3px 0 2px;font-size:18px;line-height:1.15}.thermal-recipient-card a{display:inline-block;margin:1px 0 4px;color:#111;font-size:14px;font-weight:950;text-decoration:none}.thermal-recipient-card p{margin:3px 0;font-size:10px;line-height:1.45}.thermal-recipient-card p b{font-size:12px}.thermal-recipient-card .thermal-landmark{padding:5px 7px;border:1px solid #bbb;border-radius:6px;font-size:8px}.thermal-location-grid{display:grid;grid-template-columns:1fr 1fr;gap:5px;padding:7px 0;border-bottom:1px dashed #111}.thermal-location-grid>div{min-width:0;padding:5px;border:1px solid #bbb;border-radius:5px}.thermal-location-grid small,.thermal-location-grid b,.thermal-location-grid span{display:block}.thermal-location-grid small{font-size:5.8px;font-weight:800}.thermal-location-grid b{margin-top:2px;font-size:8px;line-height:1.25}.thermal-location-grid span{margin-top:2px;font-size:5.5px}.thermal-package-block{padding:7px 0;border-bottom:1px dashed #111}.thermal-package-block>header{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:4px}.thermal-package-block>header b{font-size:8px;text-transform:uppercase}.thermal-package-block>header span{font-size:6.5px}.thermal-item-list{display:grid}.thermal-item-list article{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;padding:4px 0;border-top:1px dotted #bbb}.thermal-item-list article b{display:block;font-size:8px;line-height:1.25}.thermal-item-list article small{display:block;margin-top:1px;font-size:5.8px}.thermal-item-list article p{display:flex;gap:3px;flex-wrap:wrap;margin:2px 0 0}.thermal-item-list article p span{padding:1px 3px;border:1px solid #ccc;border-radius:3px;font-size:5.5px}.thermal-item-list article strong{align-self:center;font-size:12px}.thermal-more-items{padding-top:4px;border-top:1px dotted #bbb;font-size:7px;font-weight:900;text-align:center}.thermal-payment-row{display:grid;grid-template-columns:1fr auto;align-items:end;gap:10px;padding:8px 0;border-bottom:2px solid #111}.thermal-payment-row small{display:block;font-size:6px;font-weight:900;text-transform:uppercase}.thermal-payment-row b{display:block;margin-top:2px;font-size:9px}.thermal-amount{text-align:right}.thermal-amount strong{display:block;margin-top:2px;font-size:18px;line-height:1}.thermal-order-note{padding:6px 0;border-bottom:1px dashed #111}.thermal-order-note small{font-size:6px;font-weight:900;text-transform:uppercase}.thermal-order-note p{margin:3px 0 0;font-size:7px;line-height:1.35}.thermal-label-footer{display:grid;gap:5px;padding-top:7px}.thermal-label-footer b{font-size:7px}.thermal-label-footer p{margin:2px 0 0;font-size:6px;line-height:1.35}.thermal-label-footer>small{font-size:5.5px;text-align:center}.invoice-body-thermal .invoice-copy-toast{font-size:10px}

@media(max-width:760px){.notification-theme-settings-grid{grid-template-columns:1fr}.notification-theme-preview{grid-template-columns:40px minmax(0,1fr)}.notification-theme-preview>em{grid-column:1/-1;justify-self:start}.seller-order-print-panel>div{grid-template-columns:1fr 1fr}.seller-order-print-panel>div a:last-child{grid-column:1/-1}.invoice-body-thermal .invoice-toolbar{display:grid}.invoice-paper-thermal{width:100%;min-height:0;margin:0;padding:18px 15px;border-radius:0;box-shadow:none}}
@media(max-width:420px){.invoice-format-preview{grid-template-columns:1fr}.invoice-format-preview span,.invoice-format-preview span:nth-child(2),.invoice-format-preview span.thermal{min-height:70px;margin-top:0}.seller-order-print-panel>div{grid-template-columns:1fr}.seller-order-print-panel>div a:last-child{grid-column:auto}.thermal-order-number strong{font-size:18px}.thermal-recipient-card h1{font-size:16px}}
@media print{.invoice-body-thermal{background:#fff}.invoice-body-thermal .invoice-paper-thermal{width:100%;min-height:0;margin:0;padding:0;border-radius:0;box-shadow:none}.invoice-body-thermal .thermal-label-head,.invoice-body-thermal .thermal-order-number,.invoice-body-thermal .thermal-recipient-card,.invoice-body-thermal .thermal-location-grid,.invoice-body-thermal .thermal-package-block,.invoice-body-thermal .thermal-payment-row,.invoice-body-thermal .thermal-order-note,.invoice-body-thermal .thermal-label-footer{break-inside:avoid}.invoice-body-thermal .status{border:1px solid #888!important}}
/* v5.5.6 thermal one-label compaction */
.invoice-paper-thermal{padding:5mm}.thermal-label-head{padding-bottom:5px}.thermal-label-brand{grid-template-columns:30px minmax(0,1fr);gap:6px}.thermal-label-brand img{width:30px;height:30px;border-radius:6px}.thermal-label-brand b{font-size:10px}.thermal-label-brand small{font-size:5.8px}.thermal-label-title span{font-size:6.5px}.thermal-label-title b{font-size:5.8px}.thermal-order-number{gap:2px;padding:5px 0}.thermal-order-number small{font-size:5.8px}.thermal-order-number strong{font-size:17px}.thermal-order-number .status{padding:2px 5px;font-size:5px}.thermal-recipient-card{padding:5px 0}.thermal-recipient-card>small{font-size:5.5px}.thermal-recipient-card h1{margin:2px 0 1px;font-size:14px}.thermal-recipient-card a{margin:0 0 2px;font-size:11px}.thermal-recipient-card p{margin:2px 0;font-size:7.2px;line-height:1.3}.thermal-recipient-card .thermal-landmark{padding:3px 5px;font-size:6px}.thermal-location-grid{gap:3px;padding:4px 0}.thermal-location-grid>div{padding:3px}.thermal-location-grid small{font-size:4.8px}.thermal-location-grid b{display:inline;margin-top:1px;font-size:6.3px}.thermal-location-grid span{display:inline;margin-left:3px;font-size:4.5px}.thermal-package-block{padding:4px 0}.thermal-package-block>header{margin-bottom:2px}.thermal-package-block>header b{font-size:6.3px}.thermal-package-block>header span{font-size:5.2px}.thermal-item-list article{padding:2px 0}.thermal-item-list article b{font-size:6.5px}.thermal-item-list article small{display:inline;margin:0 0 0 4px;font-size:4.8px}.thermal-item-list article p{display:none}.thermal-item-list article strong{font-size:9px}.thermal-more-items{padding-top:2px;font-size:5.5px}.thermal-payment-row{padding:5px 0}.thermal-payment-row small{font-size:5px}.thermal-payment-row b{font-size:7px}.thermal-amount strong{font-size:14px}.thermal-order-note{padding:4px 0}.thermal-order-note small{font-size:5px}.thermal-order-note p{font-size:5.5px;line-height:1.25}.thermal-label-footer{gap:3px;padding-top:4px}.thermal-label-footer b{font-size:5.8px}.thermal-label-footer p{font-size:5px;line-height:1.25}.thermal-label-footer>small{font-size:4.7px}
.invoice-paper-thermal .thermal-item-list article small{display:none}.invoice-paper-thermal .thermal-item-list article{padding:1.5px 0}.invoice-paper-thermal .thermal-label-footer p{font-size:4.6px;line-height:1.15}.invoice-paper-thermal .thermal-order-note p{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* v5.5.7 invoice domain, PDF/image export, and buyer delivery */
.invoice-toolbar-main{flex-wrap:wrap}.invoice-export-btn{white-space:nowrap}.invoice-export-controller{display:none}.invoice-export-status{position:fixed;left:50%;bottom:24px;z-index:10020;display:none;align-items:center;gap:10px;max-width:min(92vw,620px);padding:11px 15px;border:1px solid #bfd3c5;border-radius:14px;background:#fff;color:#173c25;box-shadow:0 16px 48px rgba(13,53,29,.24);font-size:13px;font-weight:800;transform:translateX(-50%)}.invoice-export-status.show{display:flex}.invoice-export-status.working{border-color:#9ecab0;background:#eff9f2}.invoice-export-status.success{border-color:#79bd91;background:#e8f8ed;color:#075f31}.invoice-export-status.error{border-color:#e3a3a3;background:#fff0f0;color:#a21d1d}.invoice-export-status a{padding:6px 9px;border-radius:9px;background:#0c8144;color:#fff;text-decoration:none}.invoice-export-busy .invoice-export-btn{opacity:.6;cursor:progress}.invoice-site-url{display:block;margin-top:3px;color:inherit;font-size:inherit;font-weight:850;text-decoration:none;overflow-wrap:anywhere}.invoice-platform-card a{color:inherit;font-weight:850;text-decoration:none}.chat-attachment.file-attachment{grid-template-columns:46px minmax(0,1fr);align-items:center;min-height:64px;padding:9px 11px;background:color-mix(in srgb,var(--card) 88%,var(--bg))}.chat-attachment.file-attachment .chat-file-icon{display:grid;place-items:center;width:42px;height:46px;border:1px solid var(--line);border-radius:10px;background:var(--card);font-size:25px}.chat-attachment.file-attachment span:last-child{overflow-wrap:anywhere}.chat-attachment.image-attachment{display:grid}.chat-attachment.image-attachment .chat-file-icon{display:none}
@media(max-width:980px){.invoice-toolbar-main{justify-content:flex-start}.invoice-export-btn{flex:1 1 auto}.invoice-export-status{bottom:14px}}
@media(max-width:640px){.invoice-toolbar-main{display:grid;grid-template-columns:1fr 1fr;width:100%}.invoice-size-switch{grid-column:1/-1}.invoice-toolbar-main>.btn{width:100%;min-height:42px}.invoice-toolbar-main>.btn.primary{grid-column:1/-1}.invoice-export-status{align-items:flex-start;flex-direction:column;width:calc(100% - 24px)}.invoice-export-status a{width:100%;text-align:center}}
@media print{.invoice-export-status,.invoice-export-controller{display:none!important}}

/* v5.5.8 — Full appearance, settings control center, branding previews, and SEO sitemap */
html{font-family:var(--site-font);font-size:var(--site-base-font-size);background:var(--site-bg);color:var(--site-text)}
body{font-family:var(--site-font);font-size:var(--site-base-font-size);background:var(--site-bg);color:var(--site-text)}
body,.portal-main,.dashboard-surface{background-color:var(--site-bg)}
.container,.flash,.portal-content{width:min(var(--site-content-width),calc(100% - 48px))}
h1,h2,h3,h4,h5,h6{font-family:var(--site-font);color:var(--site-text)}
h1{font-size:calc(2em * var(--site-heading-scale))}h2{font-size:calc(1.55em * var(--site-heading-scale))}h3{font-size:calc(1.2em * var(--site-heading-scale))}
.panel,.product-card,.store-card,.news-card,.portal-card,.address-card,.seller-order-detail-card,.buyer-order-detail-card{border-color:var(--site-border);border-radius:var(--site-card-radius);background:var(--site-surface);color:var(--site-text)}
.btn,button,input,select,textarea,.button{font-family:var(--site-font)}
.btn,.button,button:not(.unstyled){border-radius:var(--site-button-radius)}
input,select,textarea{color:var(--site-text);border-color:var(--site-border);background:var(--site-surface)}
.portal-topbar{background:var(--site-header);border-color:var(--site-border)}
.site-sticky-header .portal-topbar{position:sticky;top:0;z-index:1100}
.portal-footer{background:var(--site-footer);color:#fff}.portal-footer a{color:#fff;text-decoration:underline;text-underline-offset:3px}
.portal-brand-logo,.image-brand .brand-logo{width:var(--site-logo-size);height:var(--site-logo-size)}
.portal-brand-logo img,.image-brand img{display:block;width:100%;height:100%;object-fit:contain}
[data-theme="dark"]{--dark:var(--site-dark-text);--muted:var(--site-dark-muted);--line:var(--site-dark-border);--site-bg:var(--site-dark-bg);--site-surface:var(--site-dark-surface);--site-text:var(--site-dark-text);--site-muted:var(--site-dark-muted);--site-border:var(--site-dark-border);--site-header:var(--site-dark-header)}
[data-theme="dark"] body,[data-theme="dark"] .portal-main,[data-theme="dark"] .dashboard-surface{background:var(--site-dark-bg);color:var(--site-dark-text)}
[data-theme="dark"] .panel,[data-theme="dark"] .product-card,[data-theme="dark"] .store-card,[data-theme="dark"] .news-card,[data-theme="dark"] .portal-card{background:var(--site-dark-surface);border-color:var(--site-dark-border);color:var(--site-dark-text)}
[data-theme="dark"] input,[data-theme="dark"] select,[data-theme="dark"] textarea{background:color-mix(in srgb,var(--site-dark-surface) 88%,#000);border-color:var(--site-dark-border);color:var(--site-dark-text)}

.settings-studio{display:grid;gap:18px;max-width:100%}
.settings-studio-hero{position:relative;overflow:hidden;display:flex;align-items:center;justify-content:space-between;gap:28px;padding:26px 28px;border:1px solid color-mix(in srgb,var(--green) 24%,var(--site-border));border-radius:calc(var(--site-card-radius) + 6px);background:linear-gradient(135deg,color-mix(in srgb,var(--green) 12%,var(--site-surface)),var(--site-surface) 55%,color-mix(in srgb,var(--site-accent) 10%,var(--site-surface)));box-shadow:var(--shadow)}
.settings-studio-hero:after{content:"";position:absolute;right:-64px;top:-92px;width:230px;height:230px;border-radius:50%;background:color-mix(in srgb,var(--green) 9%,transparent);pointer-events:none}
.settings-studio-hero>div:first-child{position:relative;z-index:1;max-width:760px}.settings-studio-hero>div:first-child>span{display:inline-flex;padding:5px 9px;border-radius:999px;background:color-mix(in srgb,var(--green) 13%,var(--site-surface));color:var(--green);font-size:.76rem;font-weight:900;letter-spacing:.04em;text-transform:uppercase}.settings-studio-hero h2{margin:9px 0 5px;font-size:clamp(1.45rem,2.8vw,2.25rem);line-height:1.2}.settings-studio-hero p{margin:0;max-width:690px;color:var(--site-muted);line-height:1.75}.settings-hero-actions{position:relative;z-index:1;display:flex;flex-wrap:wrap;justify-content:flex-end;gap:9px}
.settings-studio-toolbar{position:sticky;top:74px;z-index:50;display:grid;grid-template-columns:minmax(220px,320px) minmax(0,1fr);align-items:center;gap:14px;padding:10px;border:1px solid var(--site-border);border-radius:calc(var(--site-card-radius) + 2px);background:color-mix(in srgb,var(--site-surface) 93%,transparent);box-shadow:0 10px 30px color-mix(in srgb,var(--site-text) 8%,transparent);backdrop-filter:blur(16px)}
.settings-search{display:flex;align-items:center;gap:8px;min-height:44px;padding:0 13px;border:1px solid var(--site-border);border-radius:var(--site-button-radius);background:var(--site-bg);color:var(--site-muted)}.settings-search input{width:100%;padding:0;border:0;background:transparent;box-shadow:none}.settings-search input:focus{outline:0}
.settings-tabs{display:flex;gap:7px;min-width:0;overflow-x:auto;scrollbar-width:thin}.settings-tabs button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:42px;padding:9px 12px;border:1px solid transparent;background:transparent;color:var(--site-muted);font-weight:850;white-space:nowrap;cursor:pointer}.settings-tabs button:hover{background:var(--site-bg);color:var(--site-text)}.settings-tabs button.active{border-color:color-mix(in srgb,var(--green) 28%,var(--site-border));background:color-mix(in srgb,var(--green) 11%,var(--site-surface));color:var(--green)}
.settings-panel{display:grid;gap:15px}.settings-panel[hidden]{display:none!important}.settings-section-head{display:grid;grid-template-columns:44px minmax(0,1fr);align-items:center;gap:12px;padding:4px 2px}.settings-section-head>span{display:grid;place-items:center;width:44px;height:44px;border-radius:14px;background:var(--green);color:#fff;font-size:.8rem;font-weight:900}.settings-section-head h3{margin:0}.settings-section-head p{margin:3px 0 0;color:var(--site-muted);line-height:1.55}
.settings-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.settings-card-grid>.wide{grid-column:1/-1}.settings-pro-card{display:grid;align-content:start;gap:15px;padding:18px;border:1px solid var(--site-border);background:var(--site-surface);box-shadow:0 7px 22px color-mix(in srgb,var(--site-text) 4%,transparent)}.settings-pro-card[hidden]{display:none!important}.settings-pro-card>header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:0 0 12px;border-bottom:1px solid var(--site-border);background:transparent}.settings-pro-card>header>span{display:grid;place-items:center;flex:0 0 auto;width:38px;height:38px;border-radius:12px;background:color-mix(in srgb,var(--green) 11%,var(--site-bg));color:var(--green);font-weight:900}.settings-pro-card>header>div{flex:1;min-width:0}.settings-pro-card>header h3{margin:0;font-size:1rem}.settings-pro-card>header p{margin:4px 0 0;color:var(--site-muted);font-size:.82rem;line-height:1.5}.settings-pro-card label{display:grid;gap:6px;color:var(--site-text);font-size:.82rem;font-weight:800}.settings-pro-card label small{color:var(--site-muted);font-size:.72rem;font-weight:600;line-height:1.45}.settings-pro-card input:not([type=checkbox]):not([type=color]):not([type=range]):not([type=file]),.settings-pro-card select,.settings-pro-card textarea{width:100%;min-height:43px;padding:10px 11px;border:1px solid var(--site-border);border-radius:var(--site-button-radius);background:var(--site-bg);color:var(--site-text)}.settings-pro-card textarea{min-height:96px;resize:vertical}.settings-pro-card input:focus,.settings-pro-card select:focus,.settings-pro-card textarea:focus{border-color:color-mix(in srgb,var(--green) 60%,var(--site-border));outline:3px solid color-mix(in srgb,var(--green) 12%,transparent)}
.settings-pro-card .form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.settings-pro-card .form-grid>.full{grid-column:1/-1}.settings-toggle-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.settings-toggle-grid.compact{grid-template-columns:1fr}.settings-toggle-grid>label,.payment-toggle-grid>label{position:relative;display:grid;grid-template-columns:auto minmax(0,1fr);align-items:start;gap:9px;padding:11px;border:1px solid var(--site-border);border-radius:var(--site-button-radius);background:var(--site-bg);cursor:pointer}.settings-toggle-grid input[type=checkbox],.payment-toggle-grid input[type=checkbox]{width:18px;height:18px;margin:1px 0 0;accent-color:var(--green)}.settings-toggle-grid span{display:grid;gap:2px}.settings-toggle-grid b{font-size:.82rem}.settings-toggle-grid small{color:var(--site-muted);font-size:.72rem;line-height:1.45}.payment-toggle-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.brand-upload-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.brand-upload-card{display:grid;grid-template-columns:110px minmax(0,1fr);align-items:center;gap:13px;padding:12px;border:1px solid var(--site-border);border-radius:var(--site-card-radius);background:var(--site-bg)}.brand-upload-preview{display:grid;place-items:center;width:110px;height:110px;overflow:hidden;border:1px dashed color-mix(in srgb,var(--green) 40%,var(--site-border));border-radius:calc(var(--site-card-radius) - 4px);background:var(--site-surface)}.brand-upload-preview.wide-preview{aspect-ratio:1.91/1;height:auto}.brand-upload-preview img{display:block;width:100%;height:100%;object-fit:contain}.brand-upload-card>div:last-child{display:grid;gap:6px;min-width:0}.brand-upload-card b{overflow-wrap:anywhere}.brand-upload-card small{color:var(--site-muted);line-height:1.45}.file-button{position:relative;overflow:hidden;width:max-content}.file-button input{position:absolute;inset:0;opacity:0;cursor:pointer}.remove-asset{display:flex!important;grid-template-columns:auto 1fr!important;align-items:center;gap:7px!important;color:#a13535!important;font-size:.72rem!important}.remove-asset input{accent-color:#bb3333}
.appearance-workspace{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,370px);align-items:start;gap:16px}.appearance-workspace>.settings-card-grid{grid-template-columns:1fr}.appearance-preview-shell{position:sticky;top:146px;overflow:hidden;border:1px solid var(--site-border);border-radius:calc(var(--site-card-radius) + 2px);background:var(--site-surface);box-shadow:var(--shadow)}.appearance-preview-toolbar{display:flex;align-items:center;justify-content:space-between;padding:11px 13px;border-bottom:1px solid var(--site-border)}.appearance-preview-toolbar button{width:34px;height:34px;border:1px solid var(--site-border);background:var(--site-bg);color:var(--site-text);cursor:pointer}.appearance-preview{--pv-primary:#087c30;--pv-accent:#e6a700;--pv-bg:#f5f8f4;--pv-card:#fff;--pv-text:#17291c;--pv-muted:#65756b;--pv-border:#dfe8df;--pv-header:#fff;--pv-font:Inter,"Noto Sans Khmer",sans-serif;--pv-size:15px;--pv-heading:1;--pv-card-radius:18px;--pv-button-radius:12px;min-height:500px;padding:12px;background:var(--pv-bg);color:var(--pv-text);font-family:var(--pv-font);font-size:var(--pv-size);transition:.2s ease}.appearance-preview>header{display:grid;grid-template-columns:38px minmax(0,1fr) 30px;align-items:center;gap:9px;padding:10px;border:1px solid var(--pv-border);border-radius:var(--pv-card-radius);background:var(--pv-header)}.appearance-preview>header>span{display:grid;place-items:center;width:38px;height:38px;overflow:hidden;border-radius:11px;background:color-mix(in srgb,var(--pv-primary) 12%,var(--pv-card))}.appearance-preview>header img{width:100%;height:100%;object-fit:contain}.appearance-preview>header b,.appearance-preview>header small{display:block}.appearance-preview>header small{color:var(--pv-muted);font-size:.68em}.appearance-preview>header i{display:grid;place-items:center;height:30px;border-radius:9px;background:var(--pv-card);font-style:normal}.appearance-preview>main{display:grid;gap:12px;padding:28px 9px}.appearance-preview>main>span{width:max-content;padding:4px 8px;border-radius:999px;background:color-mix(in srgb,var(--pv-primary) 12%,var(--pv-card));color:var(--pv-primary);font-size:.7em;font-weight:900}.appearance-preview h4{margin:0;color:var(--pv-text);font-size:calc(1.45em * var(--pv-heading));line-height:1.35}.appearance-preview p{margin:0;color:var(--pv-muted);line-height:1.65}.appearance-preview>main>div{display:flex;gap:7px}.appearance-preview>main button{padding:9px 11px;border:1px solid var(--pv-border);border-radius:var(--pv-button-radius);background:var(--pv-card);color:var(--pv-text)}.appearance-preview>main button:first-child{border-color:var(--pv-primary);background:var(--pv-primary);color:#fff}.appearance-preview article{display:grid;gap:7px;margin-top:9px;padding:11px;border:1px solid var(--pv-border);border-radius:var(--pv-card-radius);background:var(--pv-card)}.appearance-preview article>div{aspect-ratio:16/9;border-radius:calc(var(--pv-card-radius) - 5px);background:linear-gradient(135deg,color-mix(in srgb,var(--pv-primary) 24%,var(--pv-card)),color-mix(in srgb,var(--pv-accent) 34%,var(--pv-card)))}.appearance-preview article small{color:var(--pv-muted)}
.appearance-controls label:has(input[type=range]){grid-template-columns:minmax(0,1fr) auto;align-items:center}.appearance-controls input[type=range]{grid-column:1/-1;width:100%;accent-color:var(--green)}.appearance-controls output{font-size:.72rem;color:var(--green)}.appearance-color-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px}.appearance-color-grid label{display:grid;grid-template-columns:36px minmax(0,1fr);align-items:center;gap:8px;padding:8px;border:1px solid var(--site-border);border-radius:var(--site-button-radius);background:var(--site-bg)}.appearance-color-grid label>span{grid-column:1/-1;font-size:.72rem}.appearance-color-grid input[type=color]{width:36px;height:36px;padding:2px;border:1px solid var(--site-border);border-radius:10px;background:transparent;cursor:pointer}.appearance-color-grid code{overflow:hidden;color:var(--site-muted);font-size:.68rem;text-overflow:ellipsis}
.seo-engine-links,.inline-actions{display:flex;flex-wrap:wrap;gap:8px}.seo-sitemap-list{display:grid;gap:8px}.seo-sitemap-list article{display:grid;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:9px;padding:10px;border:1px solid var(--site-border);border-radius:var(--site-button-radius);background:var(--site-bg)}.seo-sitemap-list article>span{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:color-mix(in srgb,var(--green) 11%,var(--site-surface));color:var(--green)}.seo-sitemap-list b,.seo-sitemap-list small{display:block;overflow-wrap:anywhere}.seo-sitemap-list small{margin-top:2px;color:var(--site-muted);font-size:.69rem}.seo-sitemap-list button{width:34px;height:34px;border:1px solid var(--site-border);background:var(--site-surface);cursor:pointer}.settings-stat-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.settings-stat-grid>span{display:grid;gap:4px;padding:11px;border:1px solid var(--site-border);border-radius:var(--site-button-radius);background:var(--site-bg)}.settings-stat-grid small{color:var(--site-muted);font-size:.7rem}.settings-stat-grid b{overflow-wrap:anywhere}.settings-command{display:block;overflow-x:auto;padding:11px;border-radius:var(--site-button-radius);background:#0c1710;color:#bff2ca;font-size:.72rem;white-space:nowrap}.invoice-format-preview{display:grid;grid-template-columns:1.3fr 1fr .72fr;align-items:end;gap:9px}.invoice-format-preview span{display:grid;place-items:center;min-height:110px;border:1px dashed var(--site-border);border-radius:12px;background:var(--site-bg);color:var(--site-muted);font-weight:900}.invoice-format-preview span:nth-child(2){min-height:88px}.invoice-format-preview span:nth-child(3){min-height:72px}
.settings-sticky-save{position:sticky;bottom:12px;z-index:55;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 14px;border:1px solid color-mix(in srgb,var(--green) 25%,var(--site-border));border-radius:calc(var(--site-card-radius) + 1px);background:color-mix(in srgb,var(--site-surface) 94%,transparent);box-shadow:0 16px 40px color-mix(in srgb,var(--site-text) 12%,transparent);backdrop-filter:blur(15px)}.settings-sticky-save>div{display:grid;gap:2px}.settings-sticky-save span{color:var(--site-accent);font-size:.78rem;font-weight:900}.settings-sticky-save small{color:var(--site-muted)}

.public-sitemap-page{display:grid;gap:18px}.public-sitemap-hero{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;padding:25px;border:1px solid var(--site-border);border-radius:calc(var(--site-card-radius) + 5px);background:linear-gradient(135deg,color-mix(in srgb,var(--green) 11%,var(--site-surface)),var(--site-surface));box-shadow:var(--shadow)}.public-sitemap-hero h1{margin:5px 0}.public-sitemap-hero p{margin:0;color:var(--site-muted)}.public-sitemap-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.public-sitemap-section{padding:18px;border:1px solid var(--site-border);border-radius:var(--site-card-radius);background:var(--site-surface)}.public-sitemap-section h2{margin:0 0 12px;font-size:1.05rem}.public-sitemap-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.public-sitemap-links a{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:9px 10px;border:1px solid var(--site-border);border-radius:var(--site-button-radius);background:var(--site-bg);color:var(--site-text);text-decoration:none}.public-sitemap-links a:hover{border-color:color-mix(in srgb,var(--green) 55%,var(--site-border));color:var(--green)}

@media(max-width:1220px){.brand-upload-grid{grid-template-columns:1fr}.brand-upload-card{grid-template-columns:100px minmax(0,1fr)}.appearance-color-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.appearance-workspace{grid-template-columns:minmax(0,1fr) 310px}}
@media(max-width:980px){.container,.flash,.portal-content{width:min(var(--site-content-width),calc(100% - 28px))}.settings-studio-toolbar{top:66px;grid-template-columns:1fr}.settings-tabs{padding-bottom:2px}.settings-card-grid{grid-template-columns:1fr}.settings-card-grid>.wide{grid-column:auto}.appearance-workspace{grid-template-columns:1fr}.appearance-preview-shell{position:static}.appearance-preview{min-height:420px}.public-sitemap-grid{grid-template-columns:1fr}}
@media(max-width:700px){.container,.flash,.portal-content{width:min(var(--site-content-width),calc(100% - 20px))}.settings-studio{gap:13px}.settings-studio-hero{align-items:stretch;flex-direction:column;padding:19px}.settings-hero-actions{justify-content:stretch}.settings-hero-actions .btn{flex:1}.settings-studio-toolbar{position:sticky;top:58px;padding:8px;border-radius:14px}.settings-tabs button{min-height:39px;padding:8px 10px;font-size:.78rem}.settings-section-head{grid-template-columns:38px minmax(0,1fr)}.settings-section-head>span{width:38px;height:38px;border-radius:12px}.settings-pro-card{padding:14px}.settings-pro-card .form-grid,.settings-toggle-grid,.payment-toggle-grid{grid-template-columns:1fr}.settings-pro-card .form-grid>.full{grid-column:auto}.brand-upload-card{grid-template-columns:80px minmax(0,1fr);padding:9px}.brand-upload-preview{width:80px;height:80px}.appearance-color-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.settings-stat-grid{grid-template-columns:1fr}.settings-sticky-save{bottom:7px;padding:9px 10px}.settings-sticky-save small{display:none}.public-sitemap-hero{align-items:stretch;flex-direction:column;padding:18px}.public-sitemap-links{grid-template-columns:1fr}.seo-sitemap-list article{grid-template-columns:30px minmax(0,1fr) auto}.seo-sitemap-list article>span{width:30px;height:30px}}
@media(max-width:430px){.settings-studio-hero h2{font-size:1.45rem}.settings-hero-actions{display:grid;grid-template-columns:1fr}.settings-search{min-height:40px}.settings-tabs button span{display:none}.brand-upload-card{grid-template-columns:1fr}.brand-upload-preview{width:100%;height:auto;aspect-ratio:1/1}.brand-upload-preview.wide-preview{aspect-ratio:1.91/1}.appearance-color-grid{grid-template-columns:1fr}.appearance-preview{min-height:380px;padding:9px}.settings-sticky-save>div{display:none}.settings-sticky-save .btn{width:100%}}
.sitemap-status-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.sitemap-status-grid article{display:grid;grid-template-columns:34px minmax(0,1fr) 34px;align-items:center;gap:9px;padding:10px;border:1px solid var(--site-border);border-radius:var(--site-button-radius);background:var(--site-bg)}.sitemap-status-grid article>span{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:color-mix(in srgb,var(--green) 11%,var(--site-surface));color:var(--green);font-weight:900}.sitemap-status-grid b,.sitemap-status-grid a{display:block;overflow-wrap:anywhere}.sitemap-status-grid a{margin-top:2px;color:var(--site-muted);font-size:.69rem;text-decoration:none}.sitemap-status-grid button{width:34px;height:34px;border:1px solid var(--site-border);background:var(--site-surface);color:var(--site-text);cursor:pointer}.seo-help-callout{padding:12px 14px;border:1px solid color-mix(in srgb,var(--green) 28%,var(--site-border));border-radius:var(--site-button-radius);background:color-mix(in srgb,var(--green) 8%,var(--site-surface))}.seo-help-callout p{margin:4px 0 0;color:var(--site-muted);line-height:1.6}@media(max-width:700px){.sitemap-status-grid{grid-template-columns:1fr}}
.sitemap-page-head{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;padding:25px;border:1px solid var(--site-border);border-radius:calc(var(--site-card-radius) + 5px);background:linear-gradient(135deg,color-mix(in srgb,var(--green) 11%,var(--site-surface)),var(--site-surface));box-shadow:var(--shadow)}.sitemap-page-head h1{margin:5px 0}.sitemap-page-head p{margin:0;color:var(--site-muted)}.sitemap-link-card{display:grid;align-content:start;gap:7px;padding:18px}.sitemap-link-card.wide{grid-column:1/-1}.sitemap-link-card h2{margin:0 0 6px;font-size:1.05rem}.sitemap-link-card>a,.sitemap-news-links a{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:9px 10px;border:1px solid var(--site-border);border-radius:var(--site-button-radius);background:var(--site-bg);color:var(--site-text);text-decoration:none}.sitemap-link-card>a:after,.sitemap-news-links a:after{content:"→";color:var(--site-muted)}.sitemap-link-card>a:hover,.sitemap-news-links a:hover{border-color:color-mix(in srgb,var(--green) 55%,var(--site-border));color:var(--green)}.sitemap-news-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}@media(max-width:700px){.sitemap-page-head{align-items:stretch;flex-direction:column;padding:18px}.sitemap-link-card.wide{grid-column:auto}.sitemap-news-links{grid-template-columns:1fr}}

/* Phoumika v5.5.9 — fast, clean homepage and Homepage Sections manager. */
.home-pro-hero{position:relative;display:grid;grid-template-columns:minmax(0,1.06fr) minmax(420px,.94fr);min-height:430px;margin-top:18px;overflow:hidden;border:1px solid color-mix(in srgb,var(--green) 24%,var(--site-border,#dfe8e2));border-radius:calc(var(--site-card-radius,18px) + 10px);background:linear-gradient(128deg,#0d4a2a 0%,#13733d 55%,#6e9f31 100%);box-shadow:0 24px 64px rgba(12,73,39,.18);color:#fff}.home-pro-hero:before{content:"";position:absolute;inset:auto auto -160px -80px;width:420px;height:420px;border-radius:50%;background:rgba(255,255,255,.06);pointer-events:none}.home-pro-hero-copy{position:relative;z-index:2;display:flex;flex-direction:column;justify-content:center;padding:46px clamp(28px,4.2vw,64px)}.home-pro-kicker{display:inline-flex;align-items:center;gap:7px;width:max-content;padding:7px 11px;border:1px solid rgba(255,255,255,.18);border-radius:999px;background:rgba(255,255,255,.11);font-size:.72rem;font-weight:900;letter-spacing:.02em;backdrop-filter:blur(10px)}.home-pro-hero h1{max-width:710px;margin:16px 0 10px;color:#fff;font-size:clamp(2rem,4.2vw,3.75rem);line-height:1.16;letter-spacing:-.035em}.home-pro-hero-copy>p{max-width:640px;margin:0;color:rgba(255,255,255,.82);font-size:clamp(.9rem,1.4vw,1.05rem);line-height:1.8}.home-hero-search{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;max-width:680px;margin-top:24px;padding:5px;border:1px solid rgba(255,255,255,.2);border-radius:15px;background:#fff;box-shadow:0 14px 30px rgba(0,0,0,.12)}.home-hero-search>span{display:grid;place-items:center;color:#5f7265;font-size:1.25rem}.home-hero-search input{min-width:0;border:0;background:transparent;padding:11px 5px;color:#1c3423;outline:0}.home-hero-search button{min-height:43px;border:0;border-radius:11px;background:var(--green);color:#fff;padding:0 19px;font-weight:900;cursor:pointer}.home-pro-hero-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:17px}.home-pro-hero-actions .btn{min-height:44px}.home-light-btn{border-color:rgba(255,255,255,.34);background:rgba(255,255,255,.1);color:#fff;backdrop-filter:blur(8px)}.home-light-btn:hover{background:#fff;color:#145b32}.home-trust-strip{display:flex;flex-wrap:wrap;gap:10px 18px;margin-top:22px}.home-trust-strip span{display:inline-flex;align-items:center;gap:7px;color:rgba(255,255,255,.86);font-size:.72rem}.home-trust-strip i{font-style:normal}.home-pro-hero-media{position:relative;min-height:430px;overflow:hidden}.home-pro-hero-media>img{width:100%;height:100%;object-fit:cover;object-position:center}.home-hero-media-shade{position:absolute;inset:0;background:linear-gradient(90deg,#13733d 0%,rgba(19,115,61,.2) 32%,rgba(9,45,25,.08)),linear-gradient(0deg,rgba(5,42,22,.36),transparent 46%)}.home-hero-floating-card{position:absolute;right:20px;top:20px;display:grid;grid-template-columns:38px minmax(0,1fr);align-items:center;gap:10px;max-width:250px;padding:11px 13px;border:1px solid rgba(255,255,255,.68);border-radius:15px;background:rgba(255,255,255,.93);color:#1f3827;box-shadow:0 16px 40px rgba(9,48,26,.22);backdrop-filter:blur(12px)}.home-hero-floating-card>span{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:#e5f5e9;color:var(--green);font-weight:900}.home-hero-floating-card b,.home-hero-floating-card small{display:block}.home-hero-floating-card b{font-size:.76rem}.home-hero-floating-card small{margin-top:2px;color:#6d7c71;font-size:.62rem;line-height:1.45}.home-hero-mini-stats{position:absolute;right:20px;bottom:20px;left:20px;display:grid;grid-template-columns:repeat(3,1fr);overflow:hidden;border:1px solid rgba(255,255,255,.4);border-radius:15px;background:rgba(12,53,29,.72);backdrop-filter:blur(13px)}.home-hero-mini-stats span{display:grid;gap:1px;padding:11px 12px;border-right:1px solid rgba(255,255,255,.15)}.home-hero-mini-stats span:last-child{border:0}.home-hero-mini-stats b{font-size:1rem}.home-hero-mini-stats small{color:rgba(255,255,255,.72);font-size:.62rem}
.home-lazy-section{content-visibility:auto;contain-intrinsic-size:auto 520px}.home-pro-section{padding-top:34px}.home-section-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:14px}.home-section-heading-copy{display:flex;align-items:center;gap:11px}.home-section-icon{display:grid;place-items:center;width:42px;height:42px;border:1px solid color-mix(in srgb,var(--green) 18%,var(--site-border,#dfe8e2));border-radius:13px;background:color-mix(in srgb,var(--green) 9%,var(--site-surface,#fff));color:var(--green);font-size:1.05rem;font-weight:900}.home-section-heading small{display:block;color:var(--green);font-size:.65rem;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.home-section-heading h2{margin:2px 0 0;color:var(--site-text,#17351e);font-size:clamp(1.2rem,2vw,1.55rem);line-height:1.3}.home-view-all{display:inline-flex;align-items:center;gap:7px;min-height:38px;padding:7px 11px;border:1px solid var(--site-border,#dfe8e2);border-radius:11px;background:var(--site-surface,#fff);color:var(--site-text,#243729);font-size:.75rem;font-weight:850}.home-view-all span{color:var(--green);font-size:1rem}.home-view-all:hover{border-color:color-mix(in srgb,var(--green) 45%,var(--site-border,#dfe8e2));color:var(--green)}
.home-managed-section-rail{display:grid;gap:11px;margin-top:18px}.home-managed-pro-card{position:relative;display:grid;grid-template-columns:minmax(0,1fr);overflow:hidden;border:1px solid var(--site-border,#dfe8e2);border-radius:calc(var(--site-card-radius,18px) + 3px);background:var(--site-surface,#fff);box-shadow:0 12px 34px color-mix(in srgb,var(--site-text,#17291c) 7%,transparent)}.home-managed-pro-card.has-media{grid-template-columns:minmax(220px,.42fr) minmax(0,1fr)}.home-managed-pro-media{min-height:160px;background:#eaf2e9}.home-managed-pro-media img{width:100%;height:100%;object-fit:cover}.home-managed-pro-content{display:grid;grid-template-columns:46px minmax(0,1fr) auto;align-items:center;gap:14px;padding:20px}.home-managed-pro-icon{display:grid;place-items:center;width:46px;height:46px;border-radius:14px;background:color-mix(in srgb,var(--green) 10%,var(--site-surface,#fff));font-size:1.35rem}.home-managed-pro-copy{min-width:0}.home-managed-pro-copy small{color:var(--green);font-size:.62rem;font-weight:900;text-transform:uppercase}.home-managed-pro-copy h2{margin:3px 0 4px;color:var(--site-text,#213826);font-size:1.15rem}.home-managed-pro-copy p{display:-webkit-box;overflow:hidden;margin:0;color:var(--site-muted,#68776d);font-size:.78rem;line-height:1.65;-webkit-line-clamp:2;-webkit-box-orient:vertical}.home-managed-pro-link{display:inline-flex;align-items:center;gap:8px;white-space:nowrap;padding:9px 11px;border-radius:11px;background:color-mix(in srgb,var(--green) 10%,var(--site-surface,#fff));color:var(--green);font-size:.72rem;font-weight:900}.home-managed-pro-card.type-banner{border-color:color-mix(in srgb,var(--green) 32%,var(--site-border,#dfe8e2));background:linear-gradient(135deg,color-mix(in srgb,var(--green) 10%,var(--site-surface,#fff)),var(--site-surface,#fff))}.home-managed-pro-card.type-notice .home-managed-pro-icon{background:#fff4d7}.home-managed-pro-card.type-html .home-managed-pro-icon{background:#ece8ff}
.home-category-slider{position:relative}.home-category-track{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(128px,1fr);grid-template-rows:1fr;gap:10px;overflow-x:auto;overscroll-behavior-inline:contain;scroll-behavior:smooth;scroll-snap-type:x proximity;scrollbar-width:none;padding:2px 1px 6px}.home-category-track::-webkit-scrollbar{display:none}.home-category-card{display:grid;justify-items:center;align-content:start;gap:7px;min-height:150px;padding:12px 10px;border:1px solid var(--site-border,#dfe8e2);border-radius:16px;background:var(--site-surface,#fff);text-align:center;scroll-snap-align:start;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}.home-category-card:hover{transform:translateY(-3px);border-color:color-mix(in srgb,var(--green) 45%,var(--site-border,#dfe8e2));box-shadow:0 12px 28px color-mix(in srgb,var(--site-text,#17291c) 8%,transparent)}.home-category-art{display:grid;place-items:center;width:88px;height:88px;overflow:hidden;border-radius:16px;background:linear-gradient(145deg,color-mix(in srgb,var(--green) 10%,var(--site-bg,#f5f8f5)),var(--site-bg,#f5f8f5))}.home-category-art img{width:100%;height:100%;object-fit:cover}.home-category-art i{font-size:2.2rem;font-style:normal}.home-category-card b{display:-webkit-box;overflow:hidden;color:var(--site-text,#23392a);font-size:.74rem;line-height:1.4;-webkit-line-clamp:2;-webkit-box-orient:vertical}.home-category-card small{color:var(--green);font-size:.6rem;font-weight:800}.home-rail-button{position:absolute;top:50%;z-index:3;display:grid;place-items:center;width:36px;height:36px;border:1px solid var(--site-border,#dfe8e2);border-radius:50%;background:color-mix(in srgb,var(--site-surface,#fff) 94%,transparent);color:var(--site-text,#243729);box-shadow:0 10px 24px rgba(19,49,28,.12);font-size:1.45rem;cursor:pointer;transform:translateY(-50%);backdrop-filter:blur(10px)}.home-rail-button.previous{left:-14px}.home-rail-button.next{right:-14px}.home-rail-button:disabled{visibility:hidden}
.home-product-grid{gap:14px}.home-product-grid .product-card{border-color:var(--site-border,#dfe8e2);border-radius:var(--site-card-radius,17px);background:var(--site-surface,#fff);box-shadow:none}.home-product-grid .product-card:hover{box-shadow:0 16px 34px color-mix(in srgb,var(--site-text,#17291c) 9%,transparent)}.home-empty-state{padding:36px 18px}.home-empty-state b{font-size:1rem}.home-empty-state p{font-size:.78rem}
.home-store-rail{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.home-store-pro-card{overflow:hidden;border:1px solid var(--site-border,#dfe8e2);border-radius:calc(var(--site-card-radius,17px) + 2px);background:var(--site-surface,#fff);transition:.2s ease}.home-store-pro-card:hover{transform:translateY(-3px);border-color:color-mix(in srgb,var(--green) 36%,var(--site-border,#dfe8e2));box-shadow:0 16px 36px color-mix(in srgb,var(--site-text,#17291c) 9%,transparent)}.home-store-cover{position:relative;display:block;height:150px;overflow:hidden;background:#eaf1e9}.home-store-cover>img{width:100%;height:100%;object-fit:cover;transition:.25s}.home-store-pro-card:hover .home-store-cover>img{transform:scale(1.025)}.home-store-cover:after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(7,40,21,.35),transparent 55%)}.home-store-featured{position:absolute;top:10px;left:10px;z-index:2;padding:5px 8px;border-radius:999px;background:rgba(255,255,255,.92);color:#8b6800;font-size:.58rem;font-weight:900}.home-store-pro-body{position:relative;padding:35px 14px 14px}.home-store-logo{position:absolute;top:-31px;left:14px;width:62px;height:62px;border:4px solid var(--site-surface,#fff);border-radius:17px;background:#fff;object-fit:cover;box-shadow:0 8px 20px rgba(12,57,29,.16)}.home-store-title{display:flex;align-items:center;gap:6px}.home-store-title h3{overflow:hidden;margin:0;color:var(--site-text,#263b2c);font-size:.9rem;text-overflow:ellipsis;white-space:nowrap}.home-store-title>span{display:grid;place-items:center;width:17px;height:17px;border-radius:50%;background:var(--green);color:#fff;font-size:.58rem}.home-store-metrics{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0 11px}.home-store-metrics span{padding:4px 7px;border-radius:8px;background:var(--site-bg,#f5f8f5);color:var(--site-muted,#68776d);font-size:.61rem}.home-store-button{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:37px;padding:8px 10px;border:1px solid var(--site-border,#dfe8e2);border-radius:10px;color:var(--green);font-size:.69rem;font-weight:900}
.home-news-layout{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(300px,.75fr);grid-template-rows:repeat(2,minmax(0,1fr));gap:14px}.home-news-pro-card{display:grid;overflow:hidden;border:1px solid var(--site-border,#dfe8e2);border-radius:calc(var(--site-card-radius,17px) + 2px);background:var(--site-surface,#fff)}.home-news-pro-card.featured{grid-row:1/3;grid-template-rows:minmax(250px,1.25fr) auto}.home-news-pro-card.compact{grid-template-columns:130px minmax(0,1fr)}.home-news-media{display:grid;place-items:center;min-height:130px;overflow:hidden;background:linear-gradient(145deg,#eaf4eb,#f5f8f5)}.home-news-media img{width:100%;height:100%;object-fit:cover;transition:.25s}.home-news-pro-card:hover .home-news-media img{transform:scale(1.025)}.home-news-media>span{font-size:2.4rem}.home-news-copy{display:grid;align-content:start;padding:14px}.home-news-category{width:max-content;padding:4px 7px;border-radius:999px;background:color-mix(in srgb,var(--green) 10%,var(--site-surface,#fff));color:var(--green);font-size:.57rem;font-weight:900}.home-news-copy h3{display:-webkit-box;overflow:hidden;margin:7px 0 5px;color:var(--site-text,#263b2c);font-size:.9rem;line-height:1.5;-webkit-line-clamp:2;-webkit-box-orient:vertical}.home-news-pro-card.featured .home-news-copy h3{font-size:1.1rem}.home-news-copy p{display:-webkit-box;overflow:hidden;margin:0;color:var(--site-muted,#68776d);font-size:.69rem;line-height:1.6;-webkit-line-clamp:2;-webkit-box-orient:vertical}.home-news-copy footer{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:10px;padding-top:9px;border-top:1px solid var(--site-border,#e2ebe1)}.home-news-copy footer small{overflow:hidden;color:var(--site-muted,#68776d);font-size:.57rem;text-overflow:ellipsis;white-space:nowrap}.home-news-copy footer a{display:grid;place-items:center;width:29px;height:29px;flex:0 0 auto;border-radius:9px;background:color-mix(in srgb,var(--green) 10%,var(--site-surface,#fff));color:var(--green);font-weight:900}
.home-service-pro-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:34px 0 28px;padding:12px;border:1px solid var(--site-border,#dfe8e2);border-radius:calc(var(--site-card-radius,17px) + 3px);background:linear-gradient(135deg,color-mix(in srgb,var(--green) 5%,var(--site-surface,#fff)),var(--site-surface,#fff))}.home-service-pro-grid article{display:grid;grid-template-columns:42px minmax(0,1fr);align-items:center;gap:10px;padding:12px;border-radius:13px}.home-service-pro-grid article>span{display:grid;place-items:center;width:42px;height:42px;border-radius:13px;background:var(--site-surface,#fff);box-shadow:0 7px 18px color-mix(in srgb,var(--site-text,#17291c) 7%,transparent);font-size:1.2rem}.home-service-pro-grid b,.home-service-pro-grid small{display:block}.home-service-pro-grid b{color:var(--site-text,#263b2c);font-size:.74rem}.home-service-pro-grid small{margin-top:2px;color:var(--site-muted,#68776d);font-size:.59rem}

/* Homepage Sections manager */
.home-manager-page{display:grid;gap:14px}.home-manager-hero{display:flex;align-items:flex-end;justify-content:space-between;gap:22px;padding:24px;border:1px solid var(--site-border,#dfe8e2);border-radius:calc(var(--site-card-radius,18px) + 5px);background:linear-gradient(135deg,color-mix(in srgb,var(--green) 10%,var(--site-surface,#fff)),var(--site-surface,#fff));box-shadow:0 14px 38px color-mix(in srgb,var(--site-text,#17291c) 7%,transparent)}.home-manager-eyebrow{color:var(--green);font-size:.68rem;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.home-manager-hero h1{margin:5px 0;color:var(--site-text,#203827);font-size:clamp(1.65rem,3vw,2.25rem)}.home-manager-hero p{max-width:760px;margin:0;color:var(--site-muted,#68776d);font-size:.8rem;line-height:1.65}.home-manager-hero-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}.home-manager-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.home-manager-summary article{display:grid;grid-template-columns:42px minmax(0,1fr);align-items:center;gap:10px;padding:13px;border:1px solid var(--site-border,#dfe8e2);border-radius:var(--site-card-radius,16px);background:var(--site-surface,#fff)}.home-manager-summary article>span{display:grid;place-items:center;width:42px;height:42px;border-radius:13px;background:color-mix(in srgb,var(--green) 10%,var(--site-bg,#f5f8f5));color:var(--green);font-weight:900}.home-manager-summary small,.home-manager-summary b{display:block}.home-manager-summary small{color:var(--site-muted,#68776d);font-size:.62rem}.home-manager-summary b{margin-top:2px;color:var(--site-text,#203827);font-size:1.15rem}.home-manager-create,.home-manager-list-panel{overflow:hidden;border:1px solid var(--site-border,#dfe8e2);border-radius:calc(var(--site-card-radius,18px) + 2px);background:var(--site-surface,#fff)}.home-manager-create>summary{display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:11px;padding:14px 16px;cursor:pointer;list-style:none}.home-manager-create>summary::-webkit-details-marker{display:none}.home-manager-create>summary>span{display:grid;place-items:center;width:42px;height:42px;border-radius:13px;background:var(--green);color:#fff;font-size:1.25rem}.home-manager-create>summary b,.home-manager-create>summary small{display:block}.home-manager-create>summary b{color:var(--site-text,#203827);font-size:.87rem}.home-manager-create>summary small{margin-top:2px;color:var(--site-muted,#68776d);font-size:.64rem}.home-manager-create>summary>i{font-style:normal;transition:.2s}.home-manager-create[open]>summary>i{transform:rotate(180deg)}.home-manager-editor-grid{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(280px,.55fr);gap:14px;padding:0 14px 14px;border-top:1px solid var(--site-border,#dfe8e2)}.home-section-editor{display:grid;gap:11px;padding-top:14px}.home-section-editor>label,.home-editor-two-col label,.home-editor-three-col label{display:grid;gap:6px;color:var(--site-text,#263b2c);font-size:.68rem;font-weight:850}.home-section-editor input,.home-section-editor select,.home-section-editor textarea{width:100%;border:1px solid var(--site-border,#dfe8e2);border-radius:11px;background:var(--site-bg,#f7faf7);color:var(--site-text,#263b2c);padding:10px 11px;outline:0}.home-section-editor textarea{resize:vertical}.home-section-editor input:focus,.home-section-editor select:focus,.home-section-editor textarea:focus{border-color:var(--green);box-shadow:0 0 0 4px color-mix(in srgb,var(--green) 12%,transparent)}.home-editor-section-title{display:grid;grid-template-columns:30px minmax(0,1fr);align-items:center;gap:9px;margin-top:3px}.home-editor-section-title>span{display:grid;place-items:center;width:30px;height:30px;border-radius:9px;background:color-mix(in srgb,var(--green) 11%,var(--site-bg,#f5f8f5));color:var(--green);font-size:.7rem;font-weight:900}.home-editor-section-title b,.home-editor-section-title small{display:block}.home-editor-section-title b{font-size:.77rem}.home-editor-section-title small{color:var(--site-muted,#68776d);font-size:.59rem}.home-editor-two-col{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.home-editor-three-col{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.home-file-field small{color:var(--site-muted,#68776d);font-size:.57rem;font-weight:500}.home-switch-field{align-content:end}.home-switch-field>input{position:absolute;opacity:0;pointer-events:none}.home-switch-field>span{display:flex;align-items:center;gap:8px;min-height:42px;padding:7px 9px;border:1px solid var(--site-border,#dfe8e2);border-radius:11px;background:var(--site-bg,#f7faf7);cursor:pointer}.home-switch-field i{position:relative;width:35px;height:20px;border-radius:999px;background:#cbd6cd;transition:.2s}.home-switch-field i:after{content:"";position:absolute;top:3px;left:3px;width:14px;height:14px;border-radius:50%;background:#fff;box-shadow:0 2px 7px rgba(0,0,0,.18);transition:.2s}.home-switch-field input:checked+span i{background:var(--green)}.home-switch-field input:checked+span i:after{transform:translateX(15px)}.home-editor-actions,.home-edit-footer{display:flex;align-items:center;gap:10px}.home-editor-actions small{color:var(--site-muted,#68776d);font-size:.59rem}.home-section-live-preview{position:sticky;top:82px;align-self:start;display:grid;gap:10px;margin-top:14px;padding:13px;border:1px solid var(--site-border,#dfe8e2);border-radius:16px;background:var(--site-bg,#f5f8f5)}.home-preview-label{display:flex;align-items:center;gap:7px;color:var(--site-text,#263b2c);font-size:.69rem;font-weight:900}.home-preview-label span{color:var(--green)}.home-preview-card{overflow:hidden;border:1px solid color-mix(in srgb,var(--green) 24%,var(--site-border,#dfe8e2));border-radius:15px;background:var(--site-surface,#fff);box-shadow:0 10px 26px color-mix(in srgb,var(--site-text,#17291c) 7%,transparent)}.home-preview-image{height:125px;background:#eaf2e9}.home-preview-image img{width:100%;height:100%;object-fit:cover}.home-preview-content{display:grid;grid-template-columns:38px minmax(0,1fr);gap:9px;padding:13px}.home-preview-content>span{display:grid;place-items:center;width:38px;height:38px;border-radius:11px;background:color-mix(in srgb,var(--green) 10%,var(--site-bg,#f5f8f5));font-size:1.1rem}.home-preview-content small{color:var(--green);font-size:.55rem;font-weight:900;text-transform:uppercase}.home-preview-content h3{margin:3px 0;color:var(--site-text,#263b2c);font-size:.85rem}.home-preview-content p{display:-webkit-box;overflow:hidden;margin:0;color:var(--site-muted,#68776d);font-size:.62rem;line-height:1.55;-webkit-line-clamp:3;-webkit-box-orient:vertical}.home-section-live-preview>p{margin:0;color:var(--site-muted,#68776d);font-size:.59rem;line-height:1.55}.home-manager-list-panel{padding:14px}.home-manager-list-head{display:flex;align-items:flex-end;justify-content:space-between;gap:14px;margin-bottom:12px}.home-manager-list-head>div:first-child>span{color:var(--green);font-size:.62rem;font-weight:900;text-transform:uppercase}.home-manager-list-head h2{margin:2px 0 0;font-size:1.1rem}.home-manager-tools{display:flex;align-items:center;gap:8px}.home-manager-search{display:grid;grid-template-columns:31px minmax(160px,250px);align-items:center;overflow:hidden;border:1px solid var(--site-border,#dfe8e2);border-radius:11px;background:var(--site-bg,#f7faf7)}.home-manager-search span{display:grid;place-items:center;color:var(--site-muted,#68776d)}.home-manager-search input{min-width:0;border:0;background:transparent;padding:9px 8px;outline:0}.home-manager-tools select{min-height:40px;border:1px solid var(--site-border,#dfe8e2);border-radius:11px;background:var(--site-bg,#f7faf7);color:var(--site-text,#263b2c);padding:8px 10px}.home-manager-card-list{display:grid;gap:9px}.home-manager-item{position:relative;display:grid;grid-template-columns:92px minmax(0,1fr) auto;align-items:center;gap:13px;padding:10px;border:1px solid var(--site-border,#dfe8e2);border-radius:15px;background:var(--site-surface,#fff)}.home-manager-item[hidden]{display:none}.home-manager-item-preview{display:grid;place-items:center;width:92px;height:78px;overflow:hidden;border-radius:12px;background:linear-gradient(145deg,color-mix(in srgb,var(--green) 10%,var(--site-bg,#f5f8f5)),var(--site-bg,#f5f8f5));font-size:1.7rem}.home-manager-item-preview img{width:100%;height:100%;object-fit:cover}.home-manager-item-main{min-width:0}.home-manager-item-topline{display:flex;align-items:center;flex-wrap:wrap;gap:5px}.home-manager-item-topline>small{overflow:hidden;color:var(--site-muted,#68776d);font-size:.55rem;text-overflow:ellipsis;white-space:nowrap}.home-status-badge,.home-type-badge{display:inline-flex;align-items:center;gap:4px;padding:4px 7px;border-radius:999px;font-size:.55rem;font-weight:900}.home-status-badge.status-active{background:#e6f6ea;color:#087232}.home-status-badge.status-scheduled{background:#fff3d8;color:#906300}.home-status-badge.status-inactive{background:#eef1ef;color:#667069}.home-status-badge.status-expired{background:#fff0ee;color:#a93a2d}.home-type-badge{background:color-mix(in srgb,var(--green) 9%,var(--site-bg,#f5f8f5));color:var(--green)}.home-manager-item h3{overflow:hidden;margin:6px 0 2px;color:var(--site-text,#263b2c);font-size:.88rem;text-overflow:ellipsis;white-space:nowrap}.home-manager-item-main>p{display:-webkit-box;overflow:hidden;margin:0;color:var(--site-muted,#68776d);font-size:.63rem;line-height:1.55;-webkit-line-clamp:1;-webkit-box-orient:vertical}.home-manager-item-meta{display:flex;align-items:center;flex-wrap:wrap;gap:5px 11px;margin-top:7px;color:var(--site-muted,#68776d);font-size:.56rem}.home-manager-item-actions{display:flex;align-items:center;gap:6px}.home-manager-edit-drawer{grid-column:1/-1;margin:3px -1px -1px;padding:13px;border-top:1px solid var(--site-border,#dfe8e2);border-radius:0 0 14px 14px;background:var(--site-bg,#f7faf7)}.home-manager-edit-drawer[hidden]{display:none}.home-manager-edit-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}.home-manager-edit-head small{color:var(--green);font-size:.57rem;font-weight:900;text-transform:uppercase}.home-manager-edit-head h3{margin:2px 0 0;font-size:.9rem}.home-manager-edit-head button{display:grid;place-items:center;width:34px;height:34px;border:1px solid var(--site-border,#dfe8e2);border-radius:10px;background:var(--site-surface,#fff);color:var(--site-text,#263b2c);font-size:1.2rem;cursor:pointer}.home-section-editor.compact{padding:0}.home-delete-section-form{display:flex;justify-content:flex-end;margin-top:-38px}.home-manager-empty,.home-manager-no-results{display:grid;justify-items:center;gap:5px;padding:42px 18px;text-align:center}.home-manager-empty>span,.home-manager-no-results>span{display:grid;place-items:center;width:52px;height:52px;border-radius:16px;background:color-mix(in srgb,var(--green) 10%,var(--site-bg,#f5f8f5));color:var(--green);font-size:1.4rem}.home-manager-empty b,.home-manager-no-results b{font-size:.9rem}.home-manager-empty p,.home-manager-no-results p{margin:0;color:var(--site-muted,#68776d);font-size:.66rem}

@media(max-width:1180px){.home-pro-hero{grid-template-columns:minmax(0,1.15fr) minmax(360px,.85fr)}.home-store-rail{grid-template-columns:repeat(2,minmax(0,1fr))}.home-manager-editor-grid{grid-template-columns:minmax(0,1fr) 300px}.home-manager-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){.home-pro-hero{grid-template-columns:1fr}.home-pro-hero-copy{padding:36px 28px}.home-pro-hero-media{min-height:300px}.home-hero-media-shade{background:linear-gradient(0deg,rgba(8,49,25,.48),transparent 62%)}.home-managed-pro-card.has-media{grid-template-columns:210px minmax(0,1fr)}.home-news-layout{grid-template-columns:1fr 1fr;grid-template-rows:auto}.home-news-pro-card.featured{grid-column:1/-1;grid-row:auto;grid-template-columns:minmax(260px,.9fr) minmax(0,1.1fr);grid-template-rows:auto}.home-news-pro-card.compact{grid-template-columns:110px minmax(0,1fr)}.home-service-pro-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.home-manager-hero{align-items:stretch;flex-direction:column}.home-manager-hero-actions{justify-content:flex-start}.home-manager-editor-grid{grid-template-columns:1fr}.home-section-live-preview{position:static;margin-top:0}.home-manager-item{grid-template-columns:78px minmax(0,1fr)}.home-manager-item-preview{width:78px;height:72px}.home-manager-item-actions{grid-column:1/-1;justify-content:flex-end;padding-top:8px;border-top:1px solid var(--site-border,#dfe8e2)}}
@media(max-width:700px){.home-pro-hero{min-height:0;margin-top:10px;border-radius:20px}.home-pro-hero-copy{padding:27px 18px 22px}.home-pro-hero h1{font-size:2.05rem}.home-pro-hero-copy>p{font-size:.82rem}.home-hero-search{grid-template-columns:34px minmax(0,1fr);margin-top:19px}.home-hero-search button{grid-column:1/-1;width:100%;margin-top:2px}.home-pro-hero-actions{display:grid;grid-template-columns:1fr 1fr}.home-pro-hero-actions .btn{min-width:0;padding:10px 8px}.home-trust-strip{display:grid;grid-template-columns:1fr 1fr;gap:8px}.home-trust-strip span:last-child{grid-column:1/-1}.home-pro-hero-media{min-height:260px}.home-hero-floating-card{top:12px;right:12px;left:12px;max-width:none}.home-hero-mini-stats{right:12px;bottom:12px;left:12px}.home-hero-mini-stats span{padding:9px}.home-managed-pro-card.has-media{grid-template-columns:1fr}.home-managed-pro-media{min-height:145px;max-height:210px}.home-managed-pro-content{grid-template-columns:40px minmax(0,1fr);padding:14px}.home-managed-pro-icon{width:40px;height:40px}.home-managed-pro-link{grid-column:1/-1;justify-content:space-between}.home-pro-section{padding-top:27px}.home-section-heading{align-items:flex-end}.home-section-icon{width:38px;height:38px}.home-view-all{min-height:34px;padding:6px 8px}.home-view-all{font-size:0}.home-view-all span{font-size:1rem}.home-rail-button{display:none}.home-category-track{grid-auto-columns:118px;margin-right:-10px;padding-right:10px}.home-category-card{min-height:140px}.home-category-art{width:78px;height:78px}.home-store-rail{display:flex;gap:10px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;margin-right:-10px;padding-right:10px}.home-store-rail::-webkit-scrollbar{display:none}.home-store-pro-card{min-width:min(82vw,310px);scroll-snap-align:start}.home-news-layout{display:flex;overflow-x:auto;gap:10px;scroll-snap-type:x mandatory;scrollbar-width:none;margin-right:-10px;padding-right:10px}.home-news-layout::-webkit-scrollbar{display:none}.home-news-pro-card.featured,.home-news-pro-card.compact{display:grid;grid-template-columns:1fr;grid-template-rows:150px auto;min-width:min(84vw,330px);scroll-snap-align:start}.home-news-media{min-height:150px}.home-news-copy p{display:none}.home-service-pro-grid{grid-template-columns:1fr;padding:8px}.home-service-pro-grid article{padding:9px}.home-manager-summary{grid-template-columns:1fr 1fr}.home-manager-create>summary{padding:12px}.home-manager-editor-grid{padding:0 10px 10px}.home-editor-two-col,.home-editor-three-col{grid-template-columns:1fr}.home-editor-actions{align-items:stretch;flex-direction:column}.home-editor-actions .btn{width:100%}.home-manager-list-head{align-items:stretch;flex-direction:column}.home-manager-tools{display:grid;grid-template-columns:1fr 120px}.home-manager-search{grid-template-columns:31px minmax(0,1fr)}.home-manager-item{grid-template-columns:64px minmax(0,1fr);padding:8px}.home-manager-item-preview{width:64px;height:64px}.home-manager-item h3{font-size:.8rem}.home-manager-item-meta span:nth-child(n+3){display:none}.home-manager-item-actions{display:grid;grid-template-columns:1fr 1fr}.home-manager-item-actions .btn{width:100%}.home-delete-section-form{margin-top:8px}.home-edit-footer{display:grid;grid-template-columns:1fr 1fr}.home-edit-footer .btn{width:100%}}
@media(max-width:430px){.home-pro-hero-actions{grid-template-columns:1fr}.home-trust-strip{grid-template-columns:1fr}.home-trust-strip span:last-child{grid-column:auto}.home-hero-mini-stats small{font-size:.53rem}.home-section-heading h2{font-size:1.08rem}.home-section-heading-copy{gap:8px}.home-manager-summary{grid-template-columns:1fr}.home-manager-hero{padding:18px}.home-manager-hero-actions{display:grid;grid-template-columns:1fr}.home-manager-hero-actions .btn{width:100%}.home-manager-tools{grid-template-columns:1fr}.home-manager-item{grid-template-columns:54px minmax(0,1fr)}.home-manager-item-preview{width:54px;height:58px}.home-manager-item-topline>small{display:none}.home-manager-item-actions{grid-template-columns:1fr}.home-editor-section-title small{display:none}}

/* Phoumika v5.6.0 — clean fast sidebar and five selectable product-card templates. */
.portal-shell{transition:grid-template-columns .22s ease}
.sidebar-v4{padding:12px 11px 18px;background:linear-gradient(180deg,#102f1c 0%,#0b2516 100%);border-right:1px solid rgba(255,255,255,.05);scrollbar-width:thin;scrollbar-color:rgba(255,255,255,.16) transparent}
.sidebar-v4-head{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 34px;align-items:center;gap:7px;margin-bottom:10px}
.sidebar-v4-brand{display:flex;align-items:center;min-width:0;gap:9px;padding:8px;border-radius:13px;color:#fff}
.sidebar-v4-brand>span{display:grid;place-items:center;flex:0 0 auto;width:38px;height:38px;overflow:hidden;border:1px solid rgba(255,255,255,.17);border-radius:12px;background:linear-gradient(135deg,#1d8b4b,#8abd3e);color:#fff}
.sidebar-v4-brand img{width:100%;height:100%;object-fit:contain}
.sidebar-v4-brand div{min-width:0}.sidebar-v4-brand b,.sidebar-v4-brand small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sidebar-v4-brand b{font-size:.75rem}.sidebar-v4-brand small{margin-top:1px;color:#91aa9a;font-size:.52rem}
.sidebar-desktop-collapse{display:grid;place-items:center;width:34px;height:34px;border:1px solid rgba(255,255,255,.12);border-radius:10px;background:rgba(255,255,255,.06);color:#cce0d2;cursor:pointer;transition:.18s}
.sidebar-desktop-collapse:hover{background:rgba(255,255,255,.12);color:#fff}
.sidebar-user-card,.sidebar-guest-card{display:grid;grid-template-columns:36px minmax(0,1fr) 28px;align-items:center;gap:8px;margin:4px 3px 10px;padding:9px;border:1px solid rgba(255,255,255,.09);border-radius:13px;background:rgba(255,255,255,.055)}
.sidebar-user-avatar,.sidebar-user-card>span:first-child,.sidebar-guest-card>span:first-child{display:grid;place-items:center;width:36px;height:36px;border-radius:11px;background:#dff6e5;color:#0b6f35;font-size:.82rem;font-weight:950}
.sidebar-user-card div,.sidebar-guest-card div{min-width:0}.sidebar-user-card b,.sidebar-user-card small,.sidebar-guest-card b,.sidebar-guest-card small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sidebar-user-card b,.sidebar-guest-card b{color:#fff;font-size:.68rem}.sidebar-user-card small,.sidebar-guest-card small{margin-top:2px;color:#91aa9a;font-size:.5rem}.sidebar-user-card>a,.sidebar-guest-card>a{display:grid!important;place-items:center!important;width:28px;height:28px!important;padding:0!important;border-radius:9px!important;color:#9fc6aa!important}
.sidebar-menu-search{display:grid;grid-template-columns:29px minmax(0,1fr) 27px;align-items:center;margin:0 3px 9px;overflow:hidden;border:1px solid rgba(255,255,255,.1);border-radius:11px;background:rgba(255,255,255,.055);color:#8fa99a}
.sidebar-menu-search>.ui-icon{justify-self:center}.sidebar-menu-search input{min-width:0;border:0;outline:0;background:transparent;color:#fff;padding:9px 3px;font-size:.65rem}.sidebar-menu-search input::placeholder{color:#769080}.sidebar-menu-search button{display:grid;place-items:center;width:27px;height:27px;border:0;border-radius:8px;background:transparent;color:#9ab1a1;cursor:pointer}.sidebar-menu-search button:hover{background:rgba(255,255,255,.08);color:#fff}
.sidebar-v4-nav{display:grid!important;gap:4px!important}.sidebar-nav-group{display:grid;gap:3px}.sidebar-v4 nav .sidebar-nav-group>small{display:block;margin:13px 9px 5px;color:#6f8c7a;font-size:.5rem;font-weight:900;letter-spacing:.09em;text-transform:uppercase}
.sidebar-v4 nav .sidebar-nav-item{position:relative;display:grid;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:8px;min-height:40px;padding:4px 8px 4px 4px;border:1px solid transparent;border-radius:11px;color:#c9dbcf;font-size:.66rem;font-weight:760;transform:none!important}
.sidebar-v4 nav .sidebar-nav-item:hover{border-color:rgba(255,255,255,.07);background:rgba(255,255,255,.07);color:#fff}.sidebar-v4 nav .sidebar-nav-item.active{border-color:rgba(118,220,145,.2);background:linear-gradient(90deg,rgba(30,155,76,.34),rgba(30,155,76,.12));color:#fff;box-shadow:inset 3px 0 #61d383}
.sidebar-nav-icon{display:grid;place-items:center;width:34px;height:32px;border-radius:9px;background:rgba(255,255,255,.055);color:#9fd2ad}.sidebar-nav-item.active .sidebar-nav-icon{background:#dff6e5;color:#08783a}.sidebar-nav-label{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sidebar-v4 .sidebar-count{position:static;min-width:20px;height:20px;padding:0 5px;border-radius:999px;background:#e64545;color:#fff;display:grid;place-items:center;font-size:.5rem;font-style:normal}
.sidebar-no-results{display:grid;justify-items:center;gap:7px;padding:28px 10px;color:#87a090;font-size:.62rem;text-align:center}.sidebar-no-results[hidden]{display:none}
.portal-body.portal-sidebar-compact .portal-shell{grid-template-columns:78px minmax(0,1fr)}.portal-body.portal-sidebar-compact .sidebar-v4{padding-inline:10px}.portal-body.portal-sidebar-compact .sidebar-v4-head{grid-template-columns:1fr}.portal-body.portal-sidebar-compact .sidebar-v4-brand{justify-content:center;padding:7px}.portal-body.portal-sidebar-compact .sidebar-v4-brand div,.portal-body.portal-sidebar-compact .sidebar-user-card div,.portal-body.portal-sidebar-compact .sidebar-guest-card div,.portal-body.portal-sidebar-compact .sidebar-user-card>a,.portal-body.portal-sidebar-compact .sidebar-guest-card>a,.portal-body.portal-sidebar-compact .sidebar-menu-search input,.portal-body.portal-sidebar-compact .sidebar-menu-search button,.portal-body.portal-sidebar-compact .sidebar-nav-label,.portal-body.portal-sidebar-compact .sidebar-v4 nav .sidebar-nav-group>small{display:none}.portal-body.portal-sidebar-compact .sidebar-desktop-collapse{position:absolute;right:-27px;top:10px;z-index:4;border-color:var(--site-border,#dce6df);background:var(--site-surface,#fff);color:var(--green);box-shadow:0 7px 20px rgba(9,45,23,.13)}.portal-body.portal-sidebar-compact .sidebar-desktop-collapse .ui-icon{transform:rotate(180deg)}.portal-body.portal-sidebar-compact .sidebar-user-card,.portal-body.portal-sidebar-compact .sidebar-guest-card{grid-template-columns:1fr;justify-items:center;padding:7px;margin-inline:0}.portal-body.portal-sidebar-compact .sidebar-menu-search{grid-template-columns:1fr;margin-inline:0}.portal-body.portal-sidebar-compact .sidebar-menu-search>.ui-icon{width:38px;height:36px}.portal-body.portal-sidebar-compact .sidebar-v4 nav .sidebar-nav-item{grid-template-columns:1fr;justify-items:center;padding:4px}.portal-body.portal-sidebar-compact .sidebar-nav-icon{width:38px}.portal-body.portal-sidebar-compact .sidebar-v4 .sidebar-count{position:absolute;right:1px;top:1px;min-width:17px;height:17px;padding:0 4px}.portal-body.portal-sidebar-compact .sidebar-nav-group{gap:5px}

/* Shared fast product-card foundation. Every template keeps a true 1:1 product image. */
.product-card-v4{position:relative;min-width:0;overflow:hidden;border:1px solid var(--site-border,#dfe8e2);border-radius:var(--site-card-radius,18px);background:var(--site-surface,#fff);color:var(--site-text,#1d3223);box-shadow:0 8px 24px rgba(13,62,31,.08);isolation:isolate;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}
.product-card-v4:hover{transform:translateY(-4px);border-color:color-mix(in srgb,var(--green) 35%,var(--site-border,#dfe8e2));box-shadow:0 18px 42px rgba(11,57,28,.15)}
.product-card-v4-media{position:relative;aspect-ratio:1/1;overflow:hidden;background:#edf3ed}.product-card-v4-cover{position:absolute;inset:0;display:block}.product-card-v4-cover img{width:100%;height:100%;max-width:none;object-fit:cover;object-position:center;transition:transform .38s cubic-bezier(.2,.7,.2,1)}.product-card-v4.image-fit-contain .product-card-v4-cover img{object-fit:contain;padding:8px;background:var(--site-surface,#fff)}.product-card-v4:hover .product-card-v4-cover img{transform:scale(1.045)}.product-card-v4.image-fit-contain:hover .product-card-v4-cover img{transform:scale(1.02)}
.product-card-v4-scrim{position:absolute;inset:0;pointer-events:none;background:linear-gradient(180deg,rgba(8,31,17,.02),rgba(8,31,17,.18))}.product-card-v4-badges{position:absolute;z-index:3;top:9px;left:9px;right:9px;display:flex;justify-content:space-between;align-items:center;gap:6px;pointer-events:none}.product-card-v4-category,.product-card-v4-featured{display:inline-flex;align-items:center;min-width:0;gap:4px;padding:6px 8px;border:1px solid rgba(255,255,255,.72);border-radius:999px;background:rgba(255,255,255,.9);color:#285034;box-shadow:0 5px 15px rgba(0,0,0,.09);backdrop-filter:blur(9px);font-size:.55rem;font-weight:900}.product-card-v4-category b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.product-card-v4-featured{flex:0 0 auto;background:#fff0ad;color:#654900}.product-card-v4-quick-view{position:absolute;z-index:4;right:10px;bottom:10px;display:grid;place-items:center;width:36px;height:36px;border:1px solid rgba(255,255,255,.75);border-radius:11px;background:rgba(255,255,255,.92);color:#174c2b;box-shadow:0 8px 22px rgba(0,0,0,.14);opacity:0;transform:translateY(5px);transition:.18s}.product-card-v4:hover .product-card-v4-quick-view{opacity:1;transform:none}
.product-card-v4-body{display:flex;flex-direction:column;min-width:0;padding:12px}.product-card-v4-store{display:flex;align-items:center;min-width:0;gap:6px;margin-bottom:6px;color:var(--site-muted,#6d7c72);font-size:.58rem;font-weight:800}.product-card-v4-store>span:nth-child(2){min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.product-card-v4-store-icon{display:grid;place-items:center;flex:0 0 auto;width:24px;height:24px;border-radius:8px;background:color-mix(in srgb,var(--green) 9%,var(--site-bg,#f4f8f4));color:var(--green)}.product-card-v4-store i{display:grid;place-items:center;flex:0 0 auto;width:15px;height:15px;border-radius:50%;background:#2388e8;color:#fff;font-style:normal}.product-card-v4-title{display:-webkit-box;min-height:39px;overflow:hidden;color:var(--site-text,#1d3223);font-size:.76rem;font-weight:900;line-height:1.45;-webkit-line-clamp:2;-webkit-box-orient:vertical}.product-card-v4-title:hover{color:var(--green)}.product-card-v4-price-row{display:flex;align-items:end;justify-content:space-between;gap:7px;margin-top:8px}.product-card-v4-price{display:flex;align-items:baseline;min-width:0;gap:3px}.product-card-v4-price b{color:var(--green);font-size:.9rem;white-space:nowrap}.product-card-v4-price small{color:var(--site-muted,#6d7c72);font-size:.52rem}.product-card-v4-price-row>em{color:var(--site-muted,#6d7c72);font-size:.55rem;font-style:normal;font-weight:800;white-space:nowrap}.product-card-v4-meta{display:flex;align-items:center;gap:7px;margin-top:7px;color:var(--site-muted,#6d7c72);font-size:.52rem}.product-card-v4-meta>span{display:inline-flex;align-items:center;gap:3px;white-space:nowrap}.product-card-v4-meta>span:last-child{margin-left:auto;overflow:hidden;text-overflow:ellipsis}.product-card-v4-rating{color:#9a7100}.product-card-v4-rating .ui-icon{fill:#f7bd20;stroke:#f7bd20}.product-card-v4-meta .is-available{color:#168344}.product-card-v4-meta .is-unavailable{color:#b53a3a}.product-card-v4-targets{display:flex;flex-wrap:wrap;gap:4px;margin-top:7px}.product-card-v4-targets span{display:inline-flex;align-items:center;gap:3px;padding:4px 6px;border-radius:999px;background:var(--site-bg,#f3f7f3);color:var(--site-muted,#617168);font-size:.48rem;font-weight:750}.product-card-v4-actions{display:grid;grid-template-columns:38px minmax(0,1fr);gap:6px;margin-top:auto;padding-top:10px}.product-card-v4-view,.product-card-v4-add{display:flex;align-items:center;justify-content:center;gap:6px;min-height:38px;border:1px solid var(--site-border,#dfe8e2);border-radius:10px;font-size:.58rem;font-weight:900;cursor:pointer}.product-card-v4-view{background:var(--site-bg,#f5f8f5);color:#31523a}.product-card-v4-view span{display:none}.product-card-v4-cart-form{min-width:0}.product-card-v4-add{width:100%;background:var(--green);border-color:var(--green);color:#fff}.product-card-v4-add:hover:not(:disabled){filter:brightness(.94)}.product-card-v4-add:disabled{background:#a7b3aa;border-color:#a7b3aa;cursor:not-allowed}.product-card-v4-add.added{background:#08765c}.product-card-v4-add.is-loading .ui-icon{animation:spin .8s linear infinite}

/* Template 1 — Overlay: image-first, all essential shopping details on the image. */
.product-template-overlay{aspect-ratio:1/1;border-color:rgba(255,255,255,.45);background:#dce7df}.product-template-overlay .product-card-v4-media{position:absolute;inset:0;aspect-ratio:auto}.product-template-overlay .product-card-v4-scrim{background:linear-gradient(180deg,rgba(3,22,10,.03) 0%,rgba(3,22,10,.08) 34%,rgba(3,22,10,.46) 58%,rgba(2,16,8,.96) 100%)}.product-template-overlay .product-card-v4-body{position:absolute;z-index:4;left:0;right:0;bottom:0;padding:38px 13px 12px;color:#fff;pointer-events:none}.product-template-overlay .product-card-v4-body a,.product-template-overlay .product-card-v4-body button,.product-template-overlay .product-card-v4-body form{pointer-events:auto}.product-template-overlay .product-card-v4-store,.product-template-overlay .product-card-v4-price small,.product-template-overlay .product-card-v4-price-row>em,.product-template-overlay .product-card-v4-meta{color:rgba(255,255,255,.8)}.product-template-overlay .product-card-v4-store-icon{border:1px solid rgba(255,255,255,.28);background:rgba(255,255,255,.13);color:#fff}.product-template-overlay .product-card-v4-title{color:#fff}.product-template-overlay .product-card-v4-title:hover{color:#d9ffe5}.product-template-overlay .product-card-v4-price b{color:#fff}.product-template-overlay .product-card-v4-rating{color:#ffe389}.product-template-overlay .product-card-v4-meta .is-available{color:#baf5c9}.product-template-overlay .product-card-v4-meta .is-unavailable{color:#ffc2c2}.product-template-overlay .product-card-v4-targets span{background:rgba(255,255,255,.12);color:rgba(255,255,255,.87);backdrop-filter:blur(8px)}.product-template-overlay .product-card-v4-actions{padding-top:8px}.product-template-overlay .product-card-v4-view{border-color:rgba(255,255,255,.35);background:rgba(255,255,255,.13);color:#fff}.product-template-overlay .product-card-v4-add{background:rgba(11,143,64,.94);border-color:rgba(255,255,255,.22)}.product-template-overlay .product-card-v4-quick-view{display:none}

/* Template 2 — Clean: generous white space and the clearest text hierarchy. */
.product-template-clean .product-card-v4-body{padding:13px 14px 14px}.product-template-clean .product-card-v4-media{border-bottom:1px solid var(--site-border,#dfe8e2)}.product-template-clean .product-card-v4-actions{grid-template-columns:1fr}.product-template-clean .product-card-v4-view{display:none}.product-template-clean .product-card-v4-add{min-height:41px}.product-template-clean .product-card-v4-title{font-size:.8rem}.product-template-clean .product-card-v4-price b{font-size:.98rem}

/* Template 3 — Commerce: denser marketplace data and two clear actions. */
.product-template-commerce{border-radius:15px}.product-template-commerce .product-card-v4-media{margin:7px;border-radius:11px}.product-template-commerce .product-card-v4-body{padding:5px 11px 11px}.product-template-commerce .product-card-v4-category,.product-template-commerce .product-card-v4-featured{padding:5px 7px}.product-template-commerce .product-card-v4-actions{grid-template-columns:1fr 1.35fr}.product-template-commerce .product-card-v4-view span{display:inline}.product-template-commerce .product-card-v4-view,.product-template-commerce .product-card-v4-add{min-height:39px}.product-template-commerce .product-card-v4-quick-view{display:none}

/* Template 4 — Compact: smaller vertical footprint for high-density catalogs. */
.product-template-compact{border-radius:14px}.product-template-compact .product-card-v4-body{padding:9px}.product-template-compact .product-card-v4-store{margin-bottom:4px}.product-template-compact .product-card-v4-store-icon{display:none}.product-template-compact .product-card-v4-title{min-height:34px;font-size:.69rem;line-height:1.4}.product-template-compact .product-card-v4-price-row{margin-top:5px}.product-template-compact .product-card-v4-price b{font-size:.8rem}.product-template-compact .product-card-v4-meta{margin-top:4px}.product-template-compact .product-card-v4-targets{display:none}.product-template-compact .product-card-v4-actions{padding-top:7px;grid-template-columns:34px minmax(0,1fr)}.product-template-compact .product-card-v4-view,.product-template-compact .product-card-v4-add{min-height:34px;border-radius:9px}.product-template-compact .product-card-v4-add span{font-size:.52rem}.product-template-compact .product-card-v4-quick-view{display:none}

/* Template 5 — Minimal: maximum image area with a small floating commerce panel. */
.product-template-minimal{aspect-ratio:1/1;border-color:rgba(255,255,255,.55);background:#dce8df}.product-template-minimal .product-card-v4-media{position:absolute;inset:0;aspect-ratio:auto}.product-template-minimal .product-card-v4-scrim{background:linear-gradient(180deg,transparent 46%,rgba(2,20,9,.82) 100%)}.product-template-minimal .product-card-v4-body{position:absolute;z-index:4;left:8px;right:8px;bottom:8px;padding:10px;border:1px solid rgba(255,255,255,.25);border-radius:13px;background:rgba(9,42,22,.78);color:#fff;backdrop-filter:blur(12px)}.product-template-minimal .product-card-v4-store,.product-template-minimal .product-card-v4-meta,.product-template-minimal .product-card-v4-targets,.product-template-minimal .product-card-v4-price-row>em{display:none}.product-template-minimal .product-card-v4-title{min-height:34px;color:#fff;font-size:.72rem}.product-template-minimal .product-card-v4-price-row{margin-top:4px}.product-template-minimal .product-card-v4-price b{color:#fff;font-size:.83rem}.product-template-minimal .product-card-v4-price small{color:rgba(255,255,255,.75)}.product-template-minimal .product-card-v4-actions{position:absolute;right:8px;bottom:8px;display:block;padding:0}.product-template-minimal .product-card-v4-view{display:none}.product-template-minimal .product-card-v4-cart-form{width:36px}.product-template-minimal .product-card-v4-add{width:36px;min-height:36px;border-radius:10px;background:#fff;color:#087539;border-color:#fff}.product-template-minimal .product-card-v4-add span{display:none}.product-template-minimal .product-card-v4-price-row{padding-right:42px}.product-template-minimal .product-card-v4-quick-view{display:none}

/* Admin product-template picker. */
.product-template-picker{display:grid;grid-template-columns:repeat(5,minmax(145px,1fr));gap:10px;margin-top:10px}.product-template-option{position:relative;cursor:pointer}.product-template-option>input{position:absolute;opacity:0;pointer-events:none}.product-template-option>span{display:grid;gap:8px;height:100%;padding:9px;border:1px solid var(--site-border,#dfe8e2);border-radius:14px;background:var(--site-surface,#fff);transition:.18s}.product-template-option>input:checked+span{border-color:var(--green);box-shadow:0 0 0 2px color-mix(in srgb,var(--green) 18%,transparent),0 12px 28px rgba(10,82,38,.12)}.product-template-option>input:focus-visible+span{outline:3px solid color-mix(in srgb,var(--green) 30%,transparent);outline-offset:2px}.product-template-option b{font-size:.65rem}.product-template-option small{color:var(--site-muted,#65756b);font-size:.52rem;line-height:1.45}.product-template-mini{position:relative;aspect-ratio:1/1;overflow:hidden;border-radius:10px;background:linear-gradient(145deg,#9fca75,#3d8c4b)}.product-template-mini:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 67% 28%,#f4c64a 0 8%,transparent 9%),linear-gradient(155deg,transparent 48%,rgba(5,42,20,.75) 49%)}.product-template-mini:after{content:"12,000 ៛";position:absolute;left:7px;right:7px;bottom:7px;padding:6px;border-radius:7px;background:rgba(255,255,255,.92);color:#126731;font-size:.48rem;font-weight:900}.product-template-mini.overlay:after{background:rgba(5,31,15,.78);color:#fff}.product-template-mini.clean{border-radius:8px 8px 2px 2px}.product-template-mini.commerce{margin:4px;aspect-ratio:auto;height:calc(100% - 8px)}.product-template-mini.compact:after{padding:4px;font-size:.43rem}.product-template-mini.minimal:after{left:10px;right:10px;background:rgba(6,35,17,.78);color:#fff}

html[data-theme="dark"] .product-card-v4{background:var(--site-surface,#17261c);border-color:var(--site-border,#2a4131);box-shadow:0 8px 24px rgba(0,0,0,.16)}html[data-theme="dark"] .product-card-v4-media{background:#213329}html[data-theme="dark"] .product-card-v4-category{background:rgba(24,43,30,.9);border-color:rgba(255,255,255,.12);color:#dceadf}html[data-theme="dark"] .product-card-v4-quick-view{background:rgba(24,43,30,.92);border-color:rgba(255,255,255,.13);color:#dceadf}html[data-theme="dark"] .product-card-v4-store-icon,html[data-theme="dark"] .product-card-v4-targets span,html[data-theme="dark"] .product-card-v4-view{background:#203428;border-color:#304b38;color:#bad0bf}

@media(max-width:1180px){.product-template-picker{grid-template-columns:repeat(3,minmax(145px,1fr))}}
@media(max-width:1000px){.portal-body.portal-sidebar-compact .portal-shell{grid-template-columns:1fr}.sidebar-desktop-collapse{display:none}.portal-body.portal-sidebar-compact .sidebar-v4{padding:72px 11px 18px}.portal-body.portal-sidebar-compact .sidebar-v4-head{grid-template-columns:minmax(0,1fr)}.portal-body.portal-sidebar-compact .sidebar-v4-brand{justify-content:flex-start}.portal-body.portal-sidebar-compact .sidebar-v4-brand div,.portal-body.portal-sidebar-compact .sidebar-user-card div,.portal-body.portal-sidebar-compact .sidebar-guest-card div,.portal-body.portal-sidebar-compact .sidebar-user-card>a,.portal-body.portal-sidebar-compact .sidebar-guest-card>a,.portal-body.portal-sidebar-compact .sidebar-menu-search input,.portal-body.portal-sidebar-compact .sidebar-menu-search button,.portal-body.portal-sidebar-compact .sidebar-nav-label,.portal-body.portal-sidebar-compact .sidebar-v4 nav .sidebar-nav-group>small{display:block}.portal-body.portal-sidebar-compact .sidebar-user-card,.portal-body.portal-sidebar-compact .sidebar-guest-card{grid-template-columns:36px minmax(0,1fr) 28px;justify-items:stretch;padding:9px;margin:4px 3px 10px}.portal-body.portal-sidebar-compact .sidebar-menu-search{grid-template-columns:29px minmax(0,1fr) 27px;margin:0 3px 9px}.portal-body.portal-sidebar-compact .sidebar-menu-search>.ui-icon{width:16px;height:16px}.portal-body.portal-sidebar-compact .sidebar-v4 nav .sidebar-nav-item{grid-template-columns:34px minmax(0,1fr) auto;justify-items:stretch;padding:4px 8px 4px 4px}.portal-body.portal-sidebar-compact .sidebar-v4 .sidebar-count{position:static;min-width:20px;height:20px}.sidebar-v4-head .portal-sidebar-close{top:0;right:0}}
@media(max-width:780px){.product-card-v4-body{padding:10px}.product-card-v4-title{min-height:36px;font-size:.68rem}.product-card-v4-price b{font-size:.8rem}.product-card-v4-meta{gap:5px}.product-card-v4-meta>span:last-child{display:none}.product-card-v4-actions{grid-template-columns:1fr}.product-card-v4-view{display:none}.product-card-v4-add{min-height:37px}.product-card-v4-add span{font-size:.52rem}.product-template-commerce .product-card-v4-actions{grid-template-columns:1fr}.product-template-commerce .product-card-v4-view{display:none}.product-template-overlay .product-card-v4-body{padding:34px 10px 10px}.product-template-overlay .product-card-v4-store{margin-bottom:3px}.product-template-overlay .product-card-v4-title{min-height:34px;font-size:.67rem}.product-template-overlay .product-card-v4-targets{display:none}.product-template-minimal .product-card-v4-body{left:6px;right:6px;bottom:6px;padding:8px}.product-template-minimal .product-card-v4-actions{right:6px;bottom:6px}.product-template-picker{grid-template-columns:repeat(2,minmax(130px,1fr))}}
@media(max-width:480px){.product-card-v4-badges{top:6px;left:6px;right:6px}.product-card-v4-category,.product-card-v4-featured{padding:5px 6px;font-size:.46rem}.product-card-v4-featured .ui-icon{display:none}.product-card-v4-quick-view{display:none}.product-card-v4-store{font-size:.48rem}.product-card-v4-store-icon{width:21px;height:21px}.product-card-v4-title{min-height:32px;font-size:.61rem}.product-card-v4-price-row>em{display:none}.product-card-v4-price b{font-size:.7rem}.product-card-v4-meta{font-size:.45rem}.product-card-v4-targets{display:none}.product-card-v4-body{padding:8px}.product-card-v4-actions{padding-top:7px}.product-card-v4-add{min-height:34px}.product-template-overlay .product-card-v4-body{padding:30px 8px 8px}.product-template-overlay .product-card-v4-store-icon{display:none}.product-template-overlay .product-card-v4-meta{display:none}.product-template-overlay .product-card-v4-actions{padding-top:5px}.product-template-clean .product-card-v4-body{padding:9px}.product-template-commerce .product-card-v4-media{margin:5px}.product-template-commerce .product-card-v4-body{padding:3px 8px 8px}.product-template-compact .product-card-v4-meta{display:none}.product-template-minimal .product-card-v4-title{font-size:.58rem;min-height:29px}.product-template-minimal .product-card-v4-price b{font-size:.62rem}.product-template-picker{grid-template-columns:1fr 1fr;gap:7px}.product-template-option>span{padding:7px}}
@media(prefers-reduced-motion:reduce){.portal-shell,.product-card-v4,.product-card-v4-cover img,.product-card-v4-quick-view{transition:none!important}}
.home-display-control-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) auto;align-items:center;gap:9px;margin-bottom:12px;padding:9px;border:1px solid var(--site-border,#dfe8e2);border-radius:15px;background:var(--site-surface,#fff);box-shadow:0 8px 24px rgba(15,68,35,.06)}.home-display-control-strip>div{display:grid;grid-template-columns:36px minmax(0,1fr);align-items:center;gap:8px;min-width:0;padding:7px 9px;border-radius:11px;background:var(--site-bg,#f5f8f5)}.home-display-control-strip>div>span{display:grid;place-items:center;width:36px;height:36px;border-radius:10px;background:color-mix(in srgb,var(--green) 10%,var(--site-surface,#fff));color:var(--green)}.home-display-control-strip small,.home-display-control-strip b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.home-display-control-strip small{color:var(--site-muted,#68776d);font-size:.52rem}.home-display-control-strip b{margin-top:2px;font-size:.67rem}.home-display-control-strip>a{white-space:nowrap}
@media(max-width:900px){.home-display-control-strip{grid-template-columns:repeat(3,minmax(0,1fr))}.home-display-control-strip>a{grid-column:1/-1}}
@media(max-width:600px){.home-display-control-strip{grid-template-columns:1fr}.home-display-control-strip>a{grid-column:auto;width:100%}}


/* ==========================================================================
   v5.6.1 — compact responsive hero + instant navigation feedback
   ========================================================================== */
.soft-nav-progress{position:fixed;z-index:10050;top:0;left:0;width:0;height:3px;pointer-events:none;opacity:0;background:linear-gradient(90deg,var(--green,#087c30),var(--site-accent,#e6a700));box-shadow:0 0 14px color-mix(in srgb,var(--green,#087c30) 48%,transparent);transition:width .18s ease,opacity .18s ease}
.soft-nav-progress.active{width:78%;opacity:1;animation:soft-nav-progress 1.05s ease-in-out infinite}
.soft-nav-loading .portal-main{opacity:.72;filter:saturate(.86);transition:opacity .14s ease}
.soft-nav-loading a,.soft-nav-loading button{cursor:progress}
@keyframes soft-nav-progress{0%{width:16%}55%{width:68%}100%{width:92%}}
@media(prefers-reduced-motion:reduce){.soft-nav-progress,.soft-nav-loading .portal-main{transition:none}.soft-nav-progress.active{animation:none;width:88%}}
@view-transition{navigation:auto}
::view-transition-old(root){animation:ph-page-out .12s ease both}
::view-transition-new(root){animation:ph-page-in .18s ease both}
@keyframes ph-page-out{to{opacity:.76;transform:translateY(2px)}}
@keyframes ph-page-in{from{opacity:.72;transform:translateY(3px)}}

/* Keep products close to the hero instead of spending the first screen on a tall banner. */
.home-pro-hero{
  grid-template-columns:minmax(0,1.08fr) minmax(360px,.92fr);
  min-height:clamp(310px,29vw,365px);
  max-height:390px;
  margin-top:12px;
}
.home-pro-hero-copy{padding:clamp(25px,3.1vw,42px) clamp(24px,3.7vw,54px)}
.home-pro-kicker{padding:6px 10px;font-size:.68rem}
.home-pro-hero h1{max-width:660px;margin:12px 0 8px;font-size:clamp(1.82rem,3.35vw,3.05rem);line-height:1.12}
.home-pro-hero-copy>p{font-size:clamp(.82rem,1.1vw,.98rem);line-height:1.6}
.home-hero-search{margin-top:17px}
.home-pro-hero-actions{margin-top:13px}
.home-trust-strip{margin-top:15px}
.home-pro-hero-media{min-height:clamp(310px,29vw,365px)}
.home-hero-floating-card{right:15px;top:15px;padding:9px 11px}
.home-hero-mini-stats{right:15px;bottom:15px;left:15px}
.home-hero-mini-stats span{padding:9px 10px}

/* Stable shell widths and touch targets across desktop, tablet, and mobile. */
.portal-shell,.portal-main,.portal-content{min-width:0}
.portal-sidebar .sidebar-nav-item{min-height:44px}
.portal-sidebar button,.portal-sidebar a{touch-action:manipulation}
.portal-main img{max-width:100%}
.portal-content :where(table){max-width:100%}
.portal-content :where(.table-wrap,.responsive-table,.orders-table-wrap){overflow-x:auto;-webkit-overflow-scrolling:touch}
.portal-main{view-transition-name:portal-main}
#portalSidebar{view-transition-name:portal-sidebar}

@media(min-width:1181px){
  .home-pro-hero{grid-template-columns:minmax(0,1.12fr) minmax(410px,.88fr)}
}
@media(min-width:761px) and (max-width:1180px){
  .home-pro-hero{
    grid-template-columns:minmax(0,1.04fr) minmax(320px,.96fr);
    min-height:330px;
    max-height:355px;
  }
  .home-pro-hero-copy{padding:27px 26px}
  .home-pro-hero h1{font-size:clamp(1.75rem,3.6vw,2.55rem)}
  .home-pro-hero-media{min-height:330px}
  .home-hero-floating-card{display:none}
  .home-hero-mini-stats{right:10px;bottom:10px;left:10px}
  .home-trust-strip{gap:8px 12px}
}
@media(max-width:1000px){
  .portal-shell{grid-template-columns:minmax(0,1fr)}
  .sidebar-v4{
    width:min(88vw,340px);
    max-width:340px;
    padding-bottom:max(18px,env(safe-area-inset-bottom));
    overscroll-behavior:contain;
  }
  .portal-sidebar-open,.portal-nav-open{overflow:hidden}
  .sidebar-v4-nav{padding-bottom:18px}
}
@media(max-width:760px){
  .home-pro-hero{
    display:block;
    min-height:355px;
    max-height:355px;
    margin-top:8px;
    border-radius:20px;
    isolation:isolate;
  }
  .home-pro-hero-media{
    position:absolute;
    inset:0;
    z-index:0;
    min-height:0;
  }
  .home-pro-hero-media>img{object-position:60% center}
  .home-hero-media-shade{
    background:linear-gradient(90deg,rgba(7,55,29,.96) 0%,rgba(10,82,42,.89) 48%,rgba(9,60,32,.35) 100%),linear-gradient(0deg,rgba(5,39,21,.76),transparent 58%);
  }
  .home-pro-hero-copy{
    position:relative;
    z-index:2;
    justify-content:flex-start;
    min-height:355px;
    padding:22px 17px 70px;
  }
  .home-pro-kicker{font-size:.62rem}
  .home-pro-hero h1{max-width:88%;margin:10px 0 6px;font-size:clamp(1.58rem,7.4vw,2.18rem);line-height:1.08}
  .home-pro-hero-copy>p{max-width:82%;font-size:.78rem;line-height:1.45}
  .home-hero-search{grid-template-columns:31px minmax(0,1fr) auto;max-width:100%;margin-top:13px;padding:4px;border-radius:13px}
  .home-hero-search input{padding:9px 3px;font-size:.78rem}
  .home-hero-search button{grid-column:auto;width:auto;min-height:38px;margin:0;padding:0 13px;font-size:.72rem}
  .home-pro-hero-actions{display:flex;gap:8px;margin-top:10px}
  .home-pro-hero-actions .btn{min-height:39px;padding:8px 11px;font-size:.72rem}
  .home-trust-strip{display:none}
  .home-hero-floating-card{display:none}
  .home-hero-mini-stats{right:10px;bottom:10px;left:10px;border-radius:12px}
  .home-hero-mini-stats span{padding:7px 6px;text-align:center}
  .home-hero-mini-stats b{font-size:.82rem}
  .home-hero-mini-stats small{font-size:.51rem}
  .home-pro-section{padding-top:20px}
}
@media(max-width:520px){
  .home-pro-hero{min-height:330px;max-height:330px}
  .home-pro-hero-copy{min-height:330px;padding:18px 14px 62px}
  .home-pro-hero h1{max-width:94%;font-size:1.62rem}
  .home-pro-hero-copy>p{max-width:92%;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
  .home-hero-search{margin-top:11px}
  .home-pro-hero-actions .btn{flex:1;min-width:0}
  .portal-content{padding-inline:10px}
  .sidebar-v4{width:min(92vw,330px)}
}
@media(max-width:380px){
  .home-pro-hero{min-height:315px;max-height:315px}
  .home-pro-hero-copy{min-height:315px;padding-bottom:58px}
  .home-pro-hero h1{font-size:1.42rem}
  .home-pro-hero-actions .btn{padding-inline:7px;font-size:.66rem}
  .home-hero-search button{padding-inline:10px}
}

/* ==========================================================================
   v5.6.2 — responsive product-card aspect ratios + drag-and-drop builder
   ========================================================================== */
.product-card-v4{--pc-aspect-desktop:1/1;--pc-aspect-tablet:1/1;--pc-aspect-mobile:1/1;--pc-current-aspect:var(--pc-aspect-desktop)}
.product-card-v4.aspect-desktop-4-3{--pc-aspect-desktop:4/3}.product-card-v4.aspect-tablet-4-3{--pc-aspect-tablet:4/3}.product-card-v4.aspect-mobile-4-3{--pc-aspect-mobile:4/3}.product-card-v4.aspect-desktop-16-9{--pc-aspect-desktop:16/9}.product-card-v4.aspect-tablet-16-9{--pc-aspect-tablet:16/9}.product-card-v4.aspect-mobile-16-9{--pc-aspect-mobile:16/9}
.product-card-v4-media{aspect-ratio:var(--pc-current-aspect)!important}
.product-template-overlay,.product-template-minimal{aspect-ratio:var(--pc-current-aspect)!important}
@media(max-width:1024px) and (min-width:641px){.product-card-v4{--pc-current-aspect:var(--pc-aspect-tablet)}}
@media(max-width:640px){.product-card-v4{--pc-current-aspect:var(--pc-aspect-mobile)}}

/* Keep image-overlay templates readable when a shorter 4:3 frame is selected. */
@media(min-width:1025px){.product-template-overlay.aspect-desktop-4-3 .product-card-v4-targets{display:none}.product-template-overlay.aspect-desktop-4-3 .product-card-v4-body{padding-top:28px}.product-template-overlay.aspect-desktop-4-3 .product-card-v4-title{min-height:34px;-webkit-line-clamp:1}}
@media(max-width:1024px) and (min-width:641px){.product-template-overlay.aspect-tablet-4-3 .product-card-v4-targets{display:none}.product-template-overlay.aspect-tablet-4-3 .product-card-v4-body{padding-top:27px}.product-template-overlay.aspect-tablet-4-3 .product-card-v4-title{min-height:32px;-webkit-line-clamp:1}}
@media(max-width:640px){.product-template-overlay.aspect-mobile-4-3 .product-card-v4-store,.product-template-overlay.aspect-mobile-4-3 .product-card-v4-meta,.product-template-overlay.aspect-mobile-4-3 .product-card-v4-targets{display:none}.product-template-overlay.aspect-mobile-4-3 .product-card-v4-body{padding:24px 7px 7px}.product-template-overlay.aspect-mobile-4-3 .product-card-v4-title{min-height:25px;-webkit-line-clamp:1}.product-template-overlay.aspect-mobile-4-3 .product-card-v4-actions{grid-template-columns:1fr;padding-top:4px}.product-template-overlay.aspect-mobile-4-3 .product-card-v4-add{min-height:30px}.product-template-overlay.aspect-mobile-4-3 .product-card-v4-add span{display:none}}

/* v5.6.5 — keep wide 16:9 image-overlay cards readable at every breakpoint. */
@media(min-width:1025px){.product-template-overlay.aspect-desktop-16-9 .product-card-v4-store,.product-template-overlay.aspect-desktop-16-9 .product-card-v4-meta,.product-template-overlay.aspect-desktop-16-9 .product-card-v4-targets{display:none}.product-template-overlay.aspect-desktop-16-9 .product-card-v4-body{padding:22px 10px 8px}.product-template-overlay.aspect-desktop-16-9 .product-card-v4-title{min-height:24px;-webkit-line-clamp:1}.product-template-overlay.aspect-desktop-16-9 .product-card-v4-actions{padding-top:4px}.product-template-overlay.aspect-desktop-16-9 .product-card-v4-add{min-height:30px}}
@media(max-width:1024px) and (min-width:641px){.product-template-overlay.aspect-tablet-16-9 .product-card-v4-store,.product-template-overlay.aspect-tablet-16-9 .product-card-v4-meta,.product-template-overlay.aspect-tablet-16-9 .product-card-v4-targets{display:none}.product-template-overlay.aspect-tablet-16-9 .product-card-v4-body{padding:21px 9px 7px}.product-template-overlay.aspect-tablet-16-9 .product-card-v4-title{min-height:23px;-webkit-line-clamp:1}.product-template-overlay.aspect-tablet-16-9 .product-card-v4-actions{padding-top:4px}.product-template-overlay.aspect-tablet-16-9 .product-card-v4-add{min-height:29px}}
@media(max-width:640px){.product-template-overlay.aspect-mobile-16-9 .product-card-v4-store,.product-template-overlay.aspect-mobile-16-9 .product-card-v4-meta,.product-template-overlay.aspect-mobile-16-9 .product-card-v4-targets,.product-template-overlay.aspect-mobile-16-9 .product-card-v4-view{display:none}.product-template-overlay.aspect-mobile-16-9 .product-card-v4-body{padding:17px 6px 5px}.product-template-overlay.aspect-mobile-16-9 .product-card-v4-title{min-height:22px;font-size:.67rem;-webkit-line-clamp:1}.product-template-overlay.aspect-mobile-16-9 .product-card-v4-price-row{margin-top:2px}.product-template-overlay.aspect-mobile-16-9 .product-card-v4-actions{grid-template-columns:1fr;padding-top:2px}.product-template-overlay.aspect-mobile-16-9 .product-card-v4-add{min-height:27px}.product-template-overlay.aspect-mobile-16-9 .product-card-v4-add span{display:none}}


/* Custom card: every block gets independent order and visibility per breakpoint. */
.product-template-custom{display:block}.product-template-custom .product-card-custom-layout{display:flex;flex-direction:column;min-width:0;min-height:100%;padding-bottom:12px}.product-template-custom .product-card-custom-block{display:var(--pc-display-desktop,block);order:var(--pc-order-desktop,10);min-width:0}.product-template-custom .product-card-custom-block:not(.pc-block-media){margin:8px 12px 0}.product-template-custom .pc-block-media{margin:0}.product-template-custom .pc-block-store .product-card-v4-store{margin:0}.product-template-custom .pc-block-title .product-card-v4-title{min-height:auto}.product-template-custom .pc-block-price .product-card-v4-price-row,.product-template-custom .pc-block-meta .product-card-v4-meta,.product-template-custom .pc-block-targets .product-card-v4-targets,.product-template-custom .pc-block-actions .product-card-v4-actions{margin-top:0}.product-template-custom .pc-block-actions{margin-top:auto!important;padding-top:3px}.product-template-custom .product-card-v4-actions{grid-template-columns:38px minmax(0,1fr)}
@media(max-width:1024px) and (min-width:641px){.product-template-custom .product-card-custom-block{display:var(--pc-display-tablet,block);order:var(--pc-order-tablet,10)}}
@media(max-width:640px){.product-template-custom .product-card-custom-layout{padding-bottom:8px}.product-template-custom .product-card-custom-block{display:var(--pc-display-mobile,block);order:var(--pc-order-mobile,10)}.product-template-custom .product-card-custom-block:not(.pc-block-media){margin:6px 8px 0}.product-template-custom .pc-block-actions{padding-top:2px}.product-template-custom .product-card-v4-actions{grid-template-columns:1fr}.product-template-custom .product-card-v4-view{display:none}}

/* Sixth template thumbnail and responsive controls. */
.product-template-picker{grid-template-columns:repeat(6,minmax(130px,1fr))}.product-template-mini.custom{background:linear-gradient(145deg,#e8f4eb,#8bc49a)}.product-template-mini.custom:before{inset:7px;background:repeating-linear-gradient(180deg,#fff 0 14px,#d7eadc 15px 17px);border:1px dashed #2e8b4d;border-radius:7px}.product-template-mini.custom:after{content:"⠿  Custom layout";left:13px;right:13px;bottom:13px;background:#176f39;color:#fff;text-align:center}
.product-card-responsive-controls{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:14px}.product-card-responsive-controls label{display:grid;gap:6px;padding:10px;border:1px solid var(--site-border);border-radius:12px;background:var(--site-bg)}.product-card-responsive-controls label>span{font-size:.66rem;font-weight:900}.product-card-responsive-controls select{min-width:0}
.product-card-studio-note{display:flex;align-items:flex-start;gap:9px;margin-top:12px;padding:11px 13px;border:1px solid color-mix(in srgb,var(--green) 25%,var(--site-border));border-radius:12px;background:color-mix(in srgb,var(--green) 7%,var(--site-surface))}.product-card-studio-note>span{display:grid;place-items:center;flex:0 0 auto;width:27px;height:27px;border-radius:9px;background:var(--green);color:#fff;font-weight:900}.product-card-studio-note p{display:grid;gap:2px;margin:0}.product-card-studio-note small{color:var(--site-muted);line-height:1.55}

/* Builder workspace. */
.product-card-builder{margin-top:14px;padding:13px;border:1px solid color-mix(in srgb,var(--green) 24%,var(--site-border));border-radius:16px;background:linear-gradient(145deg,color-mix(in srgb,var(--green) 5%,var(--site-surface)),var(--site-surface))}.product-card-builder[hidden]{display:none!important}.product-card-builder-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:12px}.product-card-builder-head>div:first-child{display:grid;gap:3px}.product-card-builder-head small{color:var(--site-muted);line-height:1.5}.product-builder-device-tabs{display:flex;gap:5px;padding:4px;border:1px solid var(--site-border);border-radius:12px;background:var(--site-bg)}.product-builder-device-tabs button{display:inline-flex;align-items:center;gap:6px;min-height:34px;padding:0 10px;border:0;border-radius:9px;background:transparent;color:var(--site-muted);font-size:.62rem;font-weight:900;cursor:pointer}.product-builder-device-tabs button.active{background:var(--site-surface);color:var(--green);box-shadow:0 5px 14px color-mix(in srgb,var(--site-text) 8%,transparent)}
.product-card-builder-workspace{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:14px;align-items:start}.product-builder-panel[hidden]{display:none!important}.product-builder-toolbar{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:7px}.product-builder-toolbar small{color:var(--site-muted)}.product-builder-sortable{display:grid;gap:6px}.product-builder-item{display:grid;grid-template-columns:34px 34px minmax(0,1fr) auto auto;align-items:center;gap:7px;padding:7px;border:1px solid var(--site-border);border-radius:11px;background:var(--site-surface);box-shadow:0 4px 12px color-mix(in srgb,var(--site-text) 4%,transparent);transition:border-color .15s,transform .15s,opacity .15s}.product-builder-item:hover{border-color:color-mix(in srgb,var(--green) 42%,var(--site-border))}.product-builder-item.is-dragging{opacity:.45;transform:scale(.985)}.product-builder-handle{display:grid;place-items:center;width:34px;height:34px;border:0;border-radius:8px;background:var(--site-bg);color:var(--site-muted);font-size:1rem;cursor:grab}.product-builder-handle:active{cursor:grabbing}.product-builder-block-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:9px;background:color-mix(in srgb,var(--green) 10%,var(--site-bg));color:var(--green);font-weight:900}.product-builder-item>b{font-size:.67rem}.product-builder-visible{display:inline-flex!important;align-items:center;gap:5px!important;margin:0!important;font-size:.55rem;font-weight:800;white-space:nowrap}.product-builder-visible input{width:17px;height:17px;accent-color:var(--green)}.product-builder-move{display:flex;gap:3px}.product-builder-move button{display:grid;place-items:center;width:28px;height:28px;border:1px solid var(--site-border);border-radius:7px;background:var(--site-bg);color:var(--site-text);cursor:pointer}.product-builder-move button:hover{border-color:var(--green);color:var(--green)}
.product-card-builder-preview-shell{position:sticky;top:150px;padding:10px;border:1px solid var(--site-border);border-radius:14px;background:var(--site-bg)}.product-card-builder-preview-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:9px}.product-card-builder-preview-head b{font-size:.66rem}.product-card-builder-preview-head span{color:var(--site-muted);font-size:.52rem;font-weight:800}.product-card-builder-device{display:grid;place-items:start center;min-height:430px;padding:12px;border-radius:11px;background:linear-gradient(145deg,#dfece2,#f4f7f4);overflow:auto}.product-card-builder-device.tablet{padding-inline:28px}.product-card-builder-device.mobile{padding-inline:55px}.product-card-builder-preview{display:flex;flex-direction:column;width:100%;max-width:275px;overflow:hidden;border:1px solid #d7e3d9;border-radius:15px;background:#fff;color:#173522;box-shadow:0 14px 35px rgba(10,65,31,.14)}.product-card-builder-device.tablet .product-card-builder-preview{max-width:230px}.product-card-builder-device.mobile .product-card-builder-preview{max-width:175px}.builder-preview-block{margin:7px 10px 0;font-size:.58rem}.builder-preview-block[hidden]{display:none!important}.builder-preview-block.media{position:relative;display:grid;place-items:center;aspect-ratio:1/1;margin:0;background:linear-gradient(145deg,#8bc56b,#287c48);color:#fff;font-weight:900}.product-card-builder-device[data-aspect="4-3"] .builder-preview-block.media{aspect-ratio:4/3}.product-card-builder-device[data-aspect="16-9"] .builder-preview-block.media{aspect-ratio:16/9}.builder-preview-block.media:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 68% 35%,#f2c84c 0 9%,transparent 10%),linear-gradient(160deg,transparent 48%,rgba(4,52,25,.35) 49%)}.builder-preview-block.media span,.builder-preview-block.media i{position:relative;z-index:2}.builder-preview-block.media i{position:absolute;top:7px;left:7px;padding:4px 6px;border-radius:999px;background:rgba(255,255,255,.88);color:#285634;font-size:.42rem;font-style:normal}.builder-preview-block.store{color:#6b796f}.builder-preview-block.title{font-size:.68rem;font-weight:900;line-height:1.4}.builder-preview-block.price{display:flex;align-items:center;justify-content:space-between}.builder-preview-block.price b{color:#087c30;font-size:.72rem}.builder-preview-block.price small,.builder-preview-block.meta,.builder-preview-block.targets{color:#6c796f}.builder-preview-block.targets{padding:5px 7px;border-radius:8px;background:#f2f7f3}.builder-preview-block.actions{display:grid;grid-template-columns:34px minmax(0,1fr);gap:5px;margin-bottom:10px}.builder-preview-block.actions span,.builder-preview-block.actions b{display:grid;place-items:center;min-height:31px;border-radius:8px;font-size:.48rem}.builder-preview-block.actions span{border:1px solid #dce6de;background:#f5f8f5}.builder-preview-block.actions b{background:#087c30;color:#fff}
html[data-theme="dark"] .product-card-builder-device{background:linear-gradient(145deg,#16251a,#0d1810)}html[data-theme="dark"] .product-card-builder-preview{border-color:#314639;background:#17271d;color:#eef8f0}

@media(max-width:1180px){.product-template-picker{grid-template-columns:repeat(3,minmax(145px,1fr))}.product-card-builder-workspace{grid-template-columns:minmax(0,1fr) 280px}.product-card-responsive-controls{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:820px){.product-card-builder-head{align-items:stretch;flex-direction:column}.product-builder-device-tabs{width:100%;overflow:auto}.product-builder-device-tabs button{flex:1;justify-content:center}.product-card-builder-workspace{grid-template-columns:1fr}.product-card-builder-preview-shell{position:static}.product-card-builder-device{min-height:360px}.product-builder-item{grid-template-columns:32px 32px minmax(0,1fr) auto}.product-builder-visible span{display:none}.product-builder-move{grid-column:1/-1;justify-content:flex-end;margin-top:-2px}.product-builder-move button{width:36px}}
@media(max-width:560px){.product-template-picker{grid-template-columns:repeat(2,minmax(0,1fr))}.product-card-responsive-controls{grid-template-columns:1fr 1fr}.product-card-responsive-controls>label:first-child{grid-column:1/-1}.product-card-builder{padding:9px}.product-builder-device-tabs button{min-width:90px}.product-card-builder-device{min-height:320px;padding:10px}.product-card-builder-device.tablet,.product-card-builder-device.mobile{padding-inline:35px}.product-builder-item{gap:5px;padding:6px}.product-builder-item>b{font-size:.61rem}.product-card-builder-preview-shell{padding:8px}}


/* ========================================================================== 
   v5.6.3 — expanded 15-style Product Card Template Library
   ========================================================================== */
/* Template 6 — Fresh market: a soft grocery-store treatment for farm produce. */
.product-template-fresh{border-color:#cfe5d3;background:linear-gradient(180deg,#f8fff9,#fff)}
.product-template-fresh .product-card-v4-media{margin:8px;border-radius:15px}
.product-template-fresh .product-card-v4-scrim{background:linear-gradient(180deg,transparent 60%,rgba(9,91,43,.18))}
.product-template-fresh .product-card-v4-body{padding:4px 13px 13px}
.product-template-fresh .product-card-v4-store-icon{border-radius:50%;background:#dcf4e3}
.product-template-fresh .product-card-v4-price b{color:#087c30;font-size:1rem}
.product-template-fresh .product-card-v4-actions{grid-template-columns:1fr}
.product-template-fresh .product-card-v4-view{display:none}
.product-template-fresh .product-card-v4-add{border-radius:999px;background:linear-gradient(135deg,#087c30,#20a44e)}

/* Template 7 — Marketplace: compact, price-forward, and familiar to large online shops. */
.product-template-marketplace{border-radius:10px;box-shadow:0 4px 14px rgba(21,42,27,.08)}
.product-template-marketplace:hover{transform:translateY(-2px);box-shadow:0 10px 24px rgba(21,42,27,.13)}
.product-template-marketplace .product-card-v4-media{border-radius:0}
.product-template-marketplace .product-card-v4-body{padding:9px}
.product-template-marketplace .product-card-v4-store{order:3;margin:6px 0 0;padding-top:6px;border-top:1px dashed var(--site-border)}
.product-template-marketplace .product-card-v4-title{order:1;min-height:35px;font-size:.7rem}
.product-template-marketplace .product-card-v4-price-row{order:2;margin-top:5px}
.product-template-marketplace .product-card-v4-price b{color:#e85b16;font-size:.96rem}
.product-template-marketplace .product-card-v4-meta{order:4;margin-top:5px}
.product-template-marketplace .product-card-v4-targets{order:5}
.product-template-marketplace .product-card-v4-actions{order:6;grid-template-columns:1fr;padding-top:7px}
.product-template-marketplace .product-card-v4-view{display:none}
.product-template-marketplace .product-card-v4-add{background:#fff3ed;border-color:#f19a6f;color:#d74d0b}
.product-template-marketplace .product-card-v4-quick-view{display:none}

/* Template 8 — Premium gold: elegant framing without sacrificing readability. */
.product-template-premium{border-color:#d8c48b;border-radius:20px;background:linear-gradient(150deg,#fffdf7,#fff);box-shadow:0 10px 28px rgba(84,61,9,.12)}
.product-template-premium:before{content:"";position:absolute;z-index:5;inset:7px;border:1px solid rgba(184,139,30,.24);border-radius:14px;pointer-events:none}
.product-template-premium .product-card-v4-media{margin:10px 10px 0;border-radius:13px}
.product-template-premium .product-card-v4-body{padding:12px 16px 16px}
.product-template-premium .product-card-v4-store-icon{background:#fff3c7;color:#9a7000}
.product-template-premium .product-card-v4-title{font-size:.8rem}
.product-template-premium .product-card-v4-price b{color:#8e6500;font-size:1rem}
.product-template-premium .product-card-v4-actions{grid-template-columns:1fr}
.product-template-premium .product-card-v4-view{display:none}
.product-template-premium .product-card-v4-add{background:linear-gradient(135deg,#785200,#c89924);border-color:#9a7000}

/* Template 9 — Glass overlay: richer product data in a modern frosted panel. */
.product-template-glass{aspect-ratio:var(--pc-current-aspect);border-color:rgba(255,255,255,.5);background:#cbdcd0}
.product-template-glass .product-card-v4-media{position:absolute;inset:0;aspect-ratio:auto!important}
.product-template-glass .product-card-v4-scrim{background:linear-gradient(180deg,rgba(3,24,11,.02) 20%,rgba(3,24,11,.45) 100%)}
.product-template-glass .product-card-v4-body{position:absolute;z-index:4;left:9px;right:9px;bottom:9px;padding:11px;border:1px solid rgba(255,255,255,.32);border-radius:15px;background:rgba(255,255,255,.76);backdrop-filter:blur(15px);box-shadow:0 12px 32px rgba(0,0,0,.18)}
.product-template-glass .product-card-v4-store{margin-bottom:4px;color:#45604d}
.product-template-glass .product-card-v4-title{min-height:34px;color:#112f1c}
.product-template-glass .product-card-v4-price-row{margin-top:4px}
.product-template-glass .product-card-v4-targets{display:none}
.product-template-glass .product-card-v4-actions{padding-top:7px}
.product-template-glass .product-card-v4-quick-view{display:none}

/* Template 10 — Side by side: fast scanning for wider desktop/tablet grids. */
.product-template-horizontal{display:grid;grid-template-columns:minmax(104px,.92fr) minmax(0,1.08fr);align-items:stretch}
.product-template-horizontal .product-card-v4-media{align-self:start;width:100%;height:auto;min-height:0;aspect-ratio:var(--pc-current-aspect)!important}
.product-template-horizontal .product-card-v4-body{padding:11px}
.product-template-horizontal .product-card-v4-title{min-height:36px;font-size:.7rem}
.product-template-horizontal .product-card-v4-price-row{display:block}
.product-template-horizontal .product-card-v4-price-row>em{display:block;margin-top:2px}
.product-template-horizontal .product-card-v4-meta{flex-wrap:wrap}
.product-template-horizontal .product-card-v4-meta>span:last-child{margin-left:0}
.product-template-horizontal .product-card-v4-targets{display:none}
.product-template-horizontal .product-card-v4-actions{grid-template-columns:1fr;padding-top:7px}
.product-template-horizontal .product-card-v4-view{display:none}
.product-template-horizontal .product-card-v4-add span{display:none}
.product-template-horizontal .product-card-v4-quick-view{display:none}

/* Template 11 — Wholesale: operational information is visually prioritized. */
.product-template-wholesale{border-radius:14px;border-width:2px;border-color:color-mix(in srgb,var(--green) 25%,var(--site-border))}
.product-template-wholesale .product-card-v4-media{margin:6px;border-radius:9px}
.product-template-wholesale .product-card-v4-body{padding:5px 11px 11px}
.product-template-wholesale .product-card-v4-store{padding-bottom:6px;border-bottom:1px solid var(--site-border)}
.product-template-wholesale .product-card-v4-price-row{padding:8px;border-radius:10px;background:color-mix(in srgb,var(--green) 8%,var(--site-bg))}
.product-template-wholesale .product-card-v4-price b{font-size:1rem}
.product-template-wholesale .product-card-v4-meta{padding:6px 0}
.product-template-wholesale .product-card-v4-targets span{border:1px solid color-mix(in srgb,var(--green) 18%,var(--site-border));background:var(--site-surface)}
.product-template-wholesale .product-card-v4-actions{grid-template-columns:1fr}
.product-template-wholesale .product-card-v4-view{display:none}
.product-template-wholesale .product-card-v4-add{min-height:42px}
.product-template-wholesale .product-card-v4-quick-view{display:none}

/* Template 12 — Social shop: image-led with engagement kept close to the title. */
.product-template-social{border-radius:22px}
.product-template-social .product-card-v4-media{margin:7px;border-radius:17px}
.product-template-social .product-card-v4-body{padding:5px 12px 12px}
.product-template-social .product-card-v4-title{order:1;font-size:.78rem}
.product-template-social .product-card-v4-meta{order:2;justify-content:flex-start;margin-top:5px}
.product-template-social .product-card-v4-meta>span:last-child{margin-left:auto}
.product-template-social .product-card-v4-store{order:3;margin:7px 0 0}
.product-template-social .product-card-v4-price-row{order:4;margin-top:7px}
.product-template-social .product-card-v4-targets{order:5}
.product-template-social .product-card-v4-actions{order:6;grid-template-columns:1fr}
.product-template-social .product-card-v4-view{display:none}
.product-template-social .product-card-v4-add{border-radius:13px}

/* Template 13 — Borderless: very light chrome for editorial/product-photo pages. */
.product-template-borderless{overflow:visible;border:0;border-radius:0;background:transparent;box-shadow:none}
.product-template-borderless:hover{transform:none;border-color:transparent;box-shadow:none}
.product-template-borderless .product-card-v4-media{overflow:hidden;border-radius:18px;box-shadow:0 10px 24px rgba(11,57,28,.12)}
.product-template-borderless .product-card-v4-body{padding:10px 3px 3px}
.product-template-borderless .product-card-v4-store-icon{display:none}
.product-template-borderless .product-card-v4-actions{grid-template-columns:1fr}
.product-template-borderless .product-card-v4-view{display:none}
.product-template-borderless .product-card-v4-add{background:transparent;border-color:var(--green);color:var(--green)}

/* Template 14 — Classic catalog: traditional boxed hierarchy with dependable contrast. */
.product-template-classic{border-radius:7px;box-shadow:0 5px 16px rgba(24,50,31,.09)}
.product-template-classic .product-card-v4-media{border-bottom:3px solid var(--green)}
.product-template-classic .product-card-v4-body{padding:11px}
.product-template-classic .product-card-v4-store{padding-bottom:5px;border-bottom:1px solid var(--site-border)}
.product-template-classic .product-card-v4-title{font-size:.75rem}
.product-template-classic .product-card-v4-price-row{padding-top:7px;border-top:1px dotted var(--site-border)}
.product-template-classic .product-card-v4-actions{grid-template-columns:1fr 1.4fr}
.product-template-classic .product-card-v4-view span{display:inline}
.product-template-classic .product-card-v4-quick-view{display:none}

/* The expanded template gallery is filterable and readable without becoming tall. */
.product-template-library-bar{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:12px}
.product-template-library-bar>small{flex:0 0 auto;color:var(--site-muted);font-size:.55rem;font-weight:800}
.product-template-filter-tabs{display:flex;gap:5px;min-width:0;padding:4px;border:1px solid var(--site-border);border-radius:12px;background:var(--site-bg);overflow:auto;scrollbar-width:none}
.product-template-filter-tabs::-webkit-scrollbar{display:none}
.product-template-filter-tabs button{flex:0 0 auto;min-height:32px;padding:0 10px;border:0;border-radius:9px;background:transparent;color:var(--site-muted);font-size:.57rem;font-weight:900;cursor:pointer}
.product-template-filter-tabs button.active{background:var(--site-surface);color:var(--green);box-shadow:0 4px 12px color-mix(in srgb,var(--site-text) 8%,transparent)}
.product-template-picker{grid-template-columns:repeat(5,minmax(125px,1fr))}
.product-template-option[hidden]{display:none!important}
.product-template-option>span{position:relative}
.product-template-new{position:absolute;z-index:3;top:14px;right:14px;padding:3px 5px;border-radius:999px;background:#fff0b5;color:#795900;font-size:.39rem;font-style:normal;font-weight:950;letter-spacing:.05em;box-shadow:0 3px 8px rgba(0,0,0,.1)}
.product-template-mini.fresh{background:linear-gradient(145deg,#dff5d4,#5cab66)}.product-template-mini.fresh:after{border-radius:999px;background:#087c30;color:#fff;text-align:center}
.product-template-mini.marketplace{border-radius:4px;background:linear-gradient(145deg,#ffe5d8,#f28a50)}.product-template-mini.marketplace:after{color:#d84e0d;border-radius:3px}
.product-template-mini.premium{border:2px solid #c99c2f;background:linear-gradient(145deg,#fff5cf,#72520a)}.product-template-mini.premium:after{background:#fff9e8;color:#806000;text-align:center}
.product-template-mini.glass{background:linear-gradient(145deg,#89b89a,#224d31)}.product-template-mini.glass:after{background:rgba(255,255,255,.72);backdrop-filter:blur(5px);color:#153b22}
.product-template-mini.horizontal{aspect-ratio:auto;background:linear-gradient(90deg,#74ad71 0 46%,#fff 47%)}.product-template-mini.horizontal:before{right:54%}.product-template-mini.horizontal:after{left:52%;right:5px;bottom:22%;background:#e9f5ec;color:#126731}
.product-template-mini.wholesale{border:2px solid #2e8b4d;background:linear-gradient(145deg,#b8dbac,#4b8e51)}.product-template-mini.wholesale:after{background:#e8f6eb;color:#126731}
.product-template-mini.social{border-radius:16px;background:linear-gradient(145deg,#a9d38c,#347a49)}.product-template-mini.social:after{left:9px;right:9px;border-radius:12px}
.product-template-mini.borderless{border-radius:16px;background:linear-gradient(145deg,#9ec77f,#327a48);box-shadow:0 8px 15px rgba(12,69,32,.18)}.product-template-mini.borderless:after{bottom:-1px;left:0;right:0;border-radius:0;background:transparent;color:#126731}
.product-template-mini.classic{border-radius:3px;background:linear-gradient(145deg,#a0c984,#3f804b)}.product-template-mini.classic:after{left:0;right:0;bottom:0;border-top:3px solid #087c30;border-radius:0}

html[data-theme="dark"] .product-template-fresh{background:linear-gradient(180deg,#162a1d,#14231a);border-color:#34533c}
html[data-theme="dark"] .product-template-marketplace .product-card-v4-add{background:#44251b;border-color:#85442b;color:#ffb28c}
html[data-theme="dark"] .product-template-premium{background:linear-gradient(150deg,#261f11,#172119);border-color:#766436}
html[data-theme="dark"] .product-template-glass .product-card-v4-body{background:rgba(20,38,26,.78);border-color:rgba(255,255,255,.15)}
html[data-theme="dark"] .product-template-glass .product-card-v4-title{color:#f0f8f1}
html[data-theme="dark"] .product-template-glass .product-card-v4-store{color:#b7c9bc}
html[data-theme="dark"] .product-template-borderless{background:transparent}

@media(max-width:1180px){.product-template-picker{grid-template-columns:repeat(4,minmax(130px,1fr))}}
@media(max-width:900px){.product-template-picker{grid-template-columns:repeat(3,minmax(130px,1fr))}.product-template-library-bar{align-items:stretch;flex-direction:column}.product-template-library-bar>small{padding-left:4px}}
@media(max-width:780px){
 .product-template-horizontal{display:block}.product-template-horizontal .product-card-v4-media{height:auto;aspect-ratio:var(--pc-current-aspect)!important}
 .product-template-glass .product-card-v4-body{left:6px;right:6px;bottom:6px;padding:8px}
 .product-template-glass .product-card-v4-store,.product-template-glass .product-card-v4-targets{display:none}
 .product-template-premium .product-card-v4-media{margin:7px 7px 0}.product-template-premium .product-card-v4-body{padding:9px}
}
@media(max-width:560px){.product-template-picker{grid-template-columns:repeat(2,minmax(0,1fr))}.product-template-filter-tabs{width:100%}.product-template-library-bar>small{display:none}.product-template-wholesale .product-card-v4-targets{display:none}.product-template-classic .product-card-v4-actions{grid-template-columns:1fr}.product-template-classic .product-card-v4-view{display:none}.product-template-new{top:11px;right:11px}}

/* v5.6.4 — real catalog preview and transparent overlay media */
.product-card-real-preview{margin-top:14px;padding:13px;border:1px solid var(--site-border);border-radius:16px;background:color-mix(in srgb,var(--site-bg) 78%,var(--site-surface));box-shadow:inset 0 1px 0 rgba(255,255,255,.45)}
.product-card-real-preview-head{display:flex;align-items:flex-end;justify-content:space-between;gap:14px;margin-bottom:11px}.product-card-real-preview-head>div:first-child{display:grid;gap:3px;min-width:0}.product-card-real-preview-head b{font-size:.76rem}.product-card-real-preview-head small{max-width:690px;color:var(--site-muted);font-size:.58rem;line-height:1.55}.product-card-real-preview-controls{display:flex;align-items:flex-end;justify-content:flex-end;gap:9px;flex-wrap:wrap}.product-card-real-preview-controls label{display:grid;gap:4px;min-width:230px}.product-card-real-preview-controls label>span{color:var(--site-muted);font-size:.53rem;font-weight:850}.product-card-real-preview-controls select{min-height:38px;padding:7px 31px 7px 9px;font-size:.62rem}
.product-card-real-device-tabs{display:flex;align-items:center;gap:4px;padding:4px;border:1px solid var(--site-border);border-radius:11px;background:var(--site-surface)}.product-card-real-device-tabs button{display:flex;align-items:center;justify-content:center;gap:4px;min-height:30px;padding:5px 8px;border:0;border-radius:8px;background:transparent;color:var(--site-muted);font-size:.54rem;font-weight:900;cursor:pointer}.product-card-real-device-tabs button.active{background:var(--green);color:#fff;box-shadow:0 5px 14px rgba(8,124,48,.2)}
.product-card-real-preview-empty{margin-bottom:9px;padding:8px 10px;border:1px dashed #e4a742;border-radius:10px;background:#fff8e7;color:#7a5310;font-size:.58rem;font-weight:800}
.product-card-real-preview-stage{display:grid;place-items:start center;min-height:430px;padding:24px;border:1px solid color-mix(in srgb,var(--site-border) 75%,transparent);border-radius:14px;background-color:#e8eee9;background-image:linear-gradient(45deg,rgba(255,255,255,.65) 25%,transparent 25%),linear-gradient(-45deg,rgba(255,255,255,.65) 25%,transparent 25%),linear-gradient(45deg,transparent 75%,rgba(255,255,255,.65) 75%),linear-gradient(-45deg,transparent 75%,rgba(255,255,255,.65) 75%);background-position:0 0,0 8px,8px -8px,-8px 0;background-size:16px 16px;overflow:auto}.product-card-real-preview-stage .product-card-v4{width:320px;max-width:100%;pointer-events:none}.product-card-real-preview-stage.tablet .product-card-v4{width:270px}.product-card-real-preview-stage.mobile .product-card-v4{width:210px}.product-card-real-preview-stage.desktop .product-template-horizontal{width:480px}.product-card-real-preview-stage.tablet .product-template-horizontal{width:360px}.product-card-real-preview-stage.mobile .product-template-horizontal{width:210px}.product-card-real-preview-stage .product-card-v4:hover{transform:none}.product-card-real-preview-stage .product-card-v4-cover img{transform:none!important}
.product-card-overlay-transparent-toggle{display:flex;align-items:flex-start;gap:9px;margin-top:10px;padding:10px;border:1px solid color-mix(in srgb,var(--green) 18%,var(--site-border));border-radius:12px;background:color-mix(in srgb,var(--green) 5%,var(--site-surface));cursor:pointer}.product-card-overlay-transparent-toggle input{margin-top:3px}.product-card-overlay-transparent-toggle span{display:grid;gap:2px}.product-card-overlay-transparent-toggle b{font-size:.64rem}.product-card-overlay-transparent-toggle small{color:var(--site-muted);font-size:.53rem;line-height:1.5}
.product-card-v4.overlay-background-transparent.product-template-overlay,.product-card-v4.overlay-background-transparent.product-template-minimal,.product-card-v4.overlay-background-transparent.product-template-glass,.product-card-v4.overlay-background-transparent.product-template-custom{background:transparent!important}.product-card-v4.overlay-background-transparent.product-template-overlay .product-card-v4-media,.product-card-v4.overlay-background-transparent.product-template-minimal .product-card-v4-media,.product-card-v4.overlay-background-transparent.product-template-glass .product-card-v4-media,.product-card-v4.overlay-background-transparent.product-template-custom .product-card-v4-media{background:transparent!important}.product-card-v4.overlay-background-transparent.product-template-overlay .product-card-v4-cover img,.product-card-v4.overlay-background-transparent.product-template-minimal .product-card-v4-cover img,.product-card-v4.overlay-background-transparent.product-template-glass .product-card-v4-cover img,.product-card-v4.overlay-background-transparent.product-template-custom .product-card-v4-cover img{background:transparent!important}.product-card-v4.overlay-background-transparent.image-fit-contain.product-template-overlay .product-card-v4-cover img,.product-card-v4.overlay-background-transparent.image-fit-contain.product-template-minimal .product-card-v4-cover img,.product-card-v4.overlay-background-transparent.image-fit-contain.product-template-glass .product-card-v4-cover img,.product-card-v4.overlay-background-transparent.image-fit-contain.product-template-custom .product-card-v4-cover img{padding:0!important}
.builder-preview-block.media{padding:0;background:transparent;color:#fff}.builder-preview-block.media:before{display:none}.builder-preview-block.media img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.builder-preview-block.media i{z-index:3}.product-card-builder-preview.overlay-background-transparent .builder-preview-block.media{background:transparent}.product-card-builder-preview.overlay-background-transparent .builder-preview-block.media img{object-fit:contain;background:transparent}
html[data-theme="dark"] .product-card-real-preview-stage{border-color:#304138;background-color:#18231b;background-image:linear-gradient(45deg,rgba(255,255,255,.05) 25%,transparent 25%),linear-gradient(-45deg,rgba(255,255,255,.05) 25%,transparent 25%),linear-gradient(45deg,transparent 75%,rgba(255,255,255,.05) 75%),linear-gradient(-45deg,transparent 75%,rgba(255,255,255,.05) 75%)}html[data-theme="dark"] .product-card-real-preview-empty{border-color:#6f5428;background:#312817;color:#f2cc83}
@media(max-width:900px){.product-card-real-preview-head{align-items:stretch;flex-direction:column}.product-card-real-preview-controls{justify-content:space-between}.product-card-real-preview-controls label{flex:1;min-width:190px}.product-card-real-preview-stage{min-height:380px;padding:18px}}
@media(max-width:560px){.product-card-real-preview{padding:9px}.product-card-real-preview-controls{align-items:stretch;flex-direction:column}.product-card-real-preview-controls label{width:100%;min-width:0}.product-card-real-device-tabs{display:grid;grid-template-columns:repeat(3,1fr);width:100%}.product-card-real-preview-stage{min-height:335px;padding:14px 9px}.product-card-real-preview-stage.desktop .product-card-v4,.product-card-real-preview-stage.tablet .product-card-v4{width:245px}.product-card-real-preview-stage.desktop .product-template-horizontal,.product-card-real-preview-stage.tablet .product-template-horizontal{width:280px}.product-card-overlay-transparent-toggle{padding:8px}}
.product-card-builder-preview.image-fit-contain .builder-preview-block.media img{object-fit:contain;padding:7px;background:var(--site-surface)}.product-card-builder-preview.image-fit-contain.overlay-background-transparent .builder-preview-block.media img{padding:0;background:transparent}

/* ==========================================================================
   v5.6.6 — independent product-card ratio, product-image ratio, and Fill/Fit
   ========================================================================== */
.product-card-v4{
  --pc-card-ratio-desktop:auto;
  --pc-card-ratio-tablet:auto;
  --pc-card-ratio-mobile:auto;
  --pc-image-ratio-desktop:1/1;
  --pc-image-ratio-tablet:1/1;
  --pc-image-ratio-mobile:1/1;
  --pc-overlay-ratio-desktop:var(--pc-image-ratio-desktop);
  --pc-overlay-ratio-tablet:var(--pc-image-ratio-tablet);
  --pc-overlay-ratio-mobile:var(--pc-image-ratio-mobile);
  --pc-image-fit-desktop:cover;
  --pc-image-fit-tablet:cover;
  --pc-image-fit-mobile:cover;
  --pc-image-padding-desktop:0px;
  --pc-image-padding-tablet:0px;
  --pc-image-padding-mobile:0px;
  --pc-image-background-desktop:transparent;
  --pc-image-background-tablet:transparent;
  --pc-image-background-mobile:transparent;
  --pc-current-card-ratio:var(--pc-card-ratio-desktop);
  --pc-current-image-ratio:var(--pc-image-ratio-desktop);
  --pc-current-overlay-ratio:var(--pc-overlay-ratio-desktop);
  --pc-current-image-fit:var(--pc-image-fit-desktop);
  --pc-current-image-padding:var(--pc-image-padding-desktop);
  --pc-current-image-background:var(--pc-image-background-desktop);
  aspect-ratio:var(--pc-current-card-ratio);
}
.product-card-v4.card-ratio-desktop-1-1{--pc-card-ratio-desktop:1/1;--pc-overlay-ratio-desktop:1/1}
.product-card-v4.card-ratio-desktop-4-3{--pc-card-ratio-desktop:4/3;--pc-overlay-ratio-desktop:4/3}
.product-card-v4.card-ratio-desktop-16-9{--pc-card-ratio-desktop:16/9;--pc-overlay-ratio-desktop:16/9}
.product-card-v4.card-ratio-tablet-1-1{--pc-card-ratio-tablet:1/1;--pc-overlay-ratio-tablet:1/1}
.product-card-v4.card-ratio-tablet-4-3{--pc-card-ratio-tablet:4/3;--pc-overlay-ratio-tablet:4/3}
.product-card-v4.card-ratio-tablet-16-9{--pc-card-ratio-tablet:16/9;--pc-overlay-ratio-tablet:16/9}
.product-card-v4.card-ratio-mobile-1-1{--pc-card-ratio-mobile:1/1;--pc-overlay-ratio-mobile:1/1}
.product-card-v4.card-ratio-mobile-4-3{--pc-card-ratio-mobile:4/3;--pc-overlay-ratio-mobile:4/3}
.product-card-v4.card-ratio-mobile-16-9{--pc-card-ratio-mobile:16/9;--pc-overlay-ratio-mobile:16/9}

.product-card-v4.image-ratio-desktop-4-3{--pc-image-ratio-desktop:4/3}
.product-card-v4.image-ratio-desktop-16-9{--pc-image-ratio-desktop:16/9}
.product-card-v4.image-ratio-tablet-4-3{--pc-image-ratio-tablet:4/3}
.product-card-v4.image-ratio-tablet-16-9{--pc-image-ratio-tablet:16/9}
.product-card-v4.image-ratio-mobile-4-3{--pc-image-ratio-mobile:4/3}
.product-card-v4.image-ratio-mobile-16-9{--pc-image-ratio-mobile:16/9}

.product-card-v4.image-mode-desktop-fit{--pc-image-fit-desktop:contain;--pc-image-padding-desktop:8px;--pc-image-background-desktop:var(--site-surface,#fff)}
.product-card-v4.image-mode-tablet-fit{--pc-image-fit-tablet:contain;--pc-image-padding-tablet:8px;--pc-image-background-tablet:var(--site-surface,#fff)}
.product-card-v4.image-mode-mobile-fit{--pc-image-fit-mobile:contain;--pc-image-padding-mobile:6px;--pc-image-background-mobile:var(--site-surface,#fff)}

.product-card-v4-media,
.product-template-horizontal .product-card-v4-media{aspect-ratio:var(--pc-current-image-ratio)!important}
.product-card-v4-cover img{
  object-fit:var(--pc-current-image-fit)!important;
  padding:var(--pc-current-image-padding)!important;
  background:var(--pc-current-image-background)!important;
}
.product-template-overlay,.product-template-minimal,.product-template-glass{aspect-ratio:var(--pc-current-overlay-ratio)!important}
.product-template-overlay .product-card-v4-media,.product-template-minimal .product-card-v4-media,.product-template-glass .product-card-v4-media{aspect-ratio:auto!important}
.product-card-v4.overlay-background-transparent:is(.product-template-overlay,.product-template-minimal,.product-template-glass,.product-template-custom) .product-card-v4-cover img{padding:0!important;background:transparent!important}

@media(max-width:1024px) and (min-width:641px){
 .product-card-v4{
  --pc-current-card-ratio:var(--pc-card-ratio-tablet);
  --pc-current-image-ratio:var(--pc-image-ratio-tablet);
  --pc-current-overlay-ratio:var(--pc-overlay-ratio-tablet);
  --pc-current-image-fit:var(--pc-image-fit-tablet);
  --pc-current-image-padding:var(--pc-image-padding-tablet);
  --pc-current-image-background:var(--pc-image-background-tablet);
 }
}
@media(max-width:640px){
 .product-card-v4{
  --pc-current-card-ratio:var(--pc-card-ratio-mobile);
  --pc-current-image-ratio:var(--pc-image-ratio-mobile);
  --pc-current-overlay-ratio:var(--pc-overlay-ratio-mobile);
  --pc-current-image-fit:var(--pc-image-fit-mobile);
  --pc-current-image-padding:var(--pc-image-padding-mobile);
  --pc-current-image-background:var(--pc-image-background-mobile);
 }
}

/* Fixed square cards use a compact vertical composition. */
@media(min-width:1025px){
 .product-card-v4.card-ratio-desktop-1-1:not(.product-template-overlay):not(.product-template-minimal):not(.product-template-glass):not(.product-template-custom){display:grid;grid-template-rows:minmax(0,56%) minmax(0,44%)}
 .product-card-v4.card-ratio-desktop-1-1:not(.product-template-overlay):not(.product-template-minimal):not(.product-template-glass):not(.product-template-custom) .product-card-v4-media{justify-self:center;width:auto;max-width:100%;height:100%;aspect-ratio:var(--pc-current-image-ratio)!important}
 .product-card-v4.card-ratio-desktop-1-1:not(.product-template-overlay):not(.product-template-minimal):not(.product-template-glass):not(.product-template-custom) .product-card-v4-body{min-height:0;overflow:hidden;padding:8px 10px}
 .product-card-v4.card-ratio-desktop-1-1 .product-card-v4-targets{display:none}
 .product-card-v4.card-ratio-desktop-1-1 .product-card-v4-title{min-height:25px;-webkit-line-clamp:1}
 .product-card-v4.card-ratio-desktop-1-1 .product-card-v4-actions{padding-top:5px}

 .product-card-v4:is(.card-ratio-desktop-4-3,.card-ratio-desktop-16-9):not(.product-template-overlay):not(.product-template-minimal):not(.product-template-glass):not(.product-template-custom){display:grid;grid-template-columns:minmax(0,43%) minmax(0,57%);grid-template-rows:1fr}
 .product-card-v4:is(.card-ratio-desktop-4-3,.card-ratio-desktop-16-9):not(.product-template-overlay):not(.product-template-minimal):not(.product-template-glass):not(.product-template-custom) .product-card-v4-media{align-self:center;width:100%;height:auto;max-height:100%;aspect-ratio:var(--pc-current-image-ratio)!important}
 .product-card-v4:is(.card-ratio-desktop-4-3,.card-ratio-desktop-16-9):not(.product-template-overlay):not(.product-template-minimal):not(.product-template-glass):not(.product-template-custom) .product-card-v4-body{min-height:0;overflow:hidden;padding:9px}
 .product-card-v4:is(.card-ratio-desktop-4-3,.card-ratio-desktop-16-9) .product-card-v4-targets{display:none}
 .product-card-v4:is(.card-ratio-desktop-4-3,.card-ratio-desktop-16-9) .product-card-v4-title{min-height:25px;-webkit-line-clamp:1}
 .product-card-v4.card-ratio-desktop-16-9 .product-card-v4-store,.product-card-v4.card-ratio-desktop-16-9 .product-card-v4-meta{display:none}
 .product-card-v4.card-ratio-desktop-16-9 .product-card-v4-price-row{margin-top:3px}
 .product-card-v4.card-ratio-desktop-16-9 .product-card-v4-actions{padding-top:4px}

 .product-template-custom:is(.card-ratio-desktop-1-1,.card-ratio-desktop-4-3,.card-ratio-desktop-16-9) .product-card-custom-layout{height:100%;overflow:hidden;padding-bottom:6px}
 .product-template-custom:is(.card-ratio-desktop-1-1,.card-ratio-desktop-4-3,.card-ratio-desktop-16-9) .pc-block-media{flex:0 0 52%;min-height:0;overflow:hidden}
 .product-template-custom:is(.card-ratio-desktop-1-1,.card-ratio-desktop-4-3,.card-ratio-desktop-16-9) .pc-block-media .product-card-v4-media{width:auto;max-width:100%;height:100%;margin:auto;aspect-ratio:var(--pc-current-image-ratio)!important}
 .product-template-custom.card-ratio-desktop-16-9 :is(.pc-block-meta,.pc-block-targets,.pc-block-store){display:none!important}
}

@media(max-width:1024px) and (min-width:641px){
 .product-card-v4.card-ratio-tablet-1-1:not(.product-template-overlay):not(.product-template-minimal):not(.product-template-glass):not(.product-template-custom){display:grid;grid-template-rows:minmax(0,57%) minmax(0,43%)}
 .product-card-v4.card-ratio-tablet-1-1:not(.product-template-overlay):not(.product-template-minimal):not(.product-template-glass):not(.product-template-custom) .product-card-v4-media{justify-self:center;width:auto;max-width:100%;height:100%;aspect-ratio:var(--pc-current-image-ratio)!important}
 .product-card-v4.card-ratio-tablet-1-1:not(.product-template-overlay):not(.product-template-minimal):not(.product-template-glass):not(.product-template-custom) .product-card-v4-body{min-height:0;overflow:hidden;padding:8px}
 .product-card-v4.card-ratio-tablet-1-1 :is(.product-card-v4-targets,.product-card-v4-meta){display:none}
 .product-card-v4.card-ratio-tablet-1-1 .product-card-v4-title{min-height:24px;-webkit-line-clamp:1}

 .product-card-v4:is(.card-ratio-tablet-4-3,.card-ratio-tablet-16-9):not(.product-template-overlay):not(.product-template-minimal):not(.product-template-glass):not(.product-template-custom){display:grid;grid-template-columns:minmax(0,44%) minmax(0,56%);grid-template-rows:1fr}
 .product-card-v4:is(.card-ratio-tablet-4-3,.card-ratio-tablet-16-9):not(.product-template-overlay):not(.product-template-minimal):not(.product-template-glass):not(.product-template-custom) .product-card-v4-media{align-self:center;width:100%;height:auto;max-height:100%;aspect-ratio:var(--pc-current-image-ratio)!important}
 .product-card-v4:is(.card-ratio-tablet-4-3,.card-ratio-tablet-16-9):not(.product-template-overlay):not(.product-template-minimal):not(.product-template-glass):not(.product-template-custom) .product-card-v4-body{min-height:0;overflow:hidden;padding:8px}
 .product-card-v4:is(.card-ratio-tablet-4-3,.card-ratio-tablet-16-9) :is(.product-card-v4-targets,.product-card-v4-meta){display:none}
 .product-card-v4:is(.card-ratio-tablet-4-3,.card-ratio-tablet-16-9) .product-card-v4-title{min-height:23px;-webkit-line-clamp:1}
 .product-card-v4.card-ratio-tablet-16-9 .product-card-v4-store{display:none}

 .product-template-custom:is(.card-ratio-tablet-1-1,.card-ratio-tablet-4-3,.card-ratio-tablet-16-9) .product-card-custom-layout{height:100%;overflow:hidden;padding-bottom:5px}
 .product-template-custom:is(.card-ratio-tablet-1-1,.card-ratio-tablet-4-3,.card-ratio-tablet-16-9) .pc-block-media{flex:0 0 54%;min-height:0;overflow:hidden}
 .product-template-custom:is(.card-ratio-tablet-1-1,.card-ratio-tablet-4-3,.card-ratio-tablet-16-9) .pc-block-media .product-card-v4-media{width:auto;max-width:100%;height:100%;margin:auto;aspect-ratio:var(--pc-current-image-ratio)!important}
 .product-template-custom.card-ratio-tablet-16-9 :is(.pc-block-meta,.pc-block-targets,.pc-block-store){display:none!important}
}

@media(max-width:640px){
 .product-card-v4.card-ratio-mobile-1-1:not(.product-template-overlay):not(.product-template-minimal):not(.product-template-glass):not(.product-template-custom){display:grid;grid-template-rows:minmax(0,59%) minmax(0,41%)}
 .product-card-v4.card-ratio-mobile-1-1:not(.product-template-overlay):not(.product-template-minimal):not(.product-template-glass):not(.product-template-custom) .product-card-v4-media{justify-self:center;width:auto;max-width:100%;height:100%;aspect-ratio:var(--pc-current-image-ratio)!important}
 .product-card-v4.card-ratio-mobile-1-1:not(.product-template-overlay):not(.product-template-minimal):not(.product-template-glass):not(.product-template-custom) .product-card-v4-body{min-height:0;overflow:hidden;padding:6px 7px}
 .product-card-v4.card-ratio-mobile-1-1 :is(.product-card-v4-store,.product-card-v4-meta,.product-card-v4-targets){display:none}
 .product-card-v4.card-ratio-mobile-1-1 .product-card-v4-title{min-height:21px;font-size:.59rem;-webkit-line-clamp:1}
 .product-card-v4.card-ratio-mobile-1-1 .product-card-v4-price-row{margin-top:2px}
 .product-card-v4.card-ratio-mobile-1-1 .product-card-v4-actions{padding-top:3px}

 .product-card-v4:is(.card-ratio-mobile-4-3,.card-ratio-mobile-16-9):not(.product-template-overlay):not(.product-template-minimal):not(.product-template-glass):not(.product-template-custom){display:grid;grid-template-columns:minmax(0,45%) minmax(0,55%);grid-template-rows:1fr}
 .product-card-v4:is(.card-ratio-mobile-4-3,.card-ratio-mobile-16-9):not(.product-template-overlay):not(.product-template-minimal):not(.product-template-glass):not(.product-template-custom) .product-card-v4-media{align-self:center;width:100%;height:auto;max-height:100%;aspect-ratio:var(--pc-current-image-ratio)!important}
 .product-card-v4:is(.card-ratio-mobile-4-3,.card-ratio-mobile-16-9):not(.product-template-overlay):not(.product-template-minimal):not(.product-template-glass):not(.product-template-custom) .product-card-v4-body{min-height:0;overflow:hidden;padding:5px 6px}
 .product-card-v4:is(.card-ratio-mobile-4-3,.card-ratio-mobile-16-9) :is(.product-card-v4-store,.product-card-v4-meta,.product-card-v4-targets,.product-card-v4-view){display:none}
 .product-card-v4:is(.card-ratio-mobile-4-3,.card-ratio-mobile-16-9) .product-card-v4-title{min-height:19px;font-size:.56rem;-webkit-line-clamp:1}
 .product-card-v4:is(.card-ratio-mobile-4-3,.card-ratio-mobile-16-9) .product-card-v4-price-row{margin-top:2px}
 .product-card-v4:is(.card-ratio-mobile-4-3,.card-ratio-mobile-16-9) .product-card-v4-actions{grid-template-columns:1fr;padding-top:2px}
 .product-card-v4:is(.card-ratio-mobile-4-3,.card-ratio-mobile-16-9) .product-card-v4-add{min-height:27px}
 .product-card-v4.card-ratio-mobile-16-9 .product-card-v4-add span{display:none}

 .product-template-custom:is(.card-ratio-mobile-1-1,.card-ratio-mobile-4-3,.card-ratio-mobile-16-9) .product-card-custom-layout{height:100%;overflow:hidden;padding-bottom:3px}
 .product-template-custom:is(.card-ratio-mobile-1-1,.card-ratio-mobile-4-3,.card-ratio-mobile-16-9) .pc-block-media{flex:0 0 56%;min-height:0;overflow:hidden}
 .product-template-custom:is(.card-ratio-mobile-1-1,.card-ratio-mobile-4-3,.card-ratio-mobile-16-9) .pc-block-media .product-card-v4-media{width:auto;max-width:100%;height:100%;margin:auto;aspect-ratio:var(--pc-current-image-ratio)!important}
 .product-template-custom:is(.card-ratio-mobile-4-3,.card-ratio-mobile-16-9) :is(.pc-block-meta,.pc-block-targets,.pc-block-store){display:none!important}
}

/* Product Card Studio sizing matrix. */
.product-card-ratio-studio{margin-top:13px;padding:13px;border:1px solid var(--site-border);border-radius:16px;background:color-mix(in srgb,var(--green) 3%,var(--site-surface))}
.product-card-ratio-studio>header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:10px}.product-card-ratio-studio>header>div{display:grid;gap:3px}.product-card-ratio-studio>header b{font-size:.7rem}.product-card-ratio-studio>header small{color:var(--site-muted);font-size:.55rem;line-height:1.5}.product-card-ratio-studio>header>span{padding:5px 8px;border-radius:999px;background:color-mix(in srgb,var(--green) 10%,var(--site-bg));color:var(--green);font-size:.5rem;font-weight:900;white-space:nowrap}
.product-card-ratio-grid{overflow:hidden;border:1px solid var(--site-border);border-radius:12px;background:var(--site-surface)}
.product-card-ratio-grid-head,.product-card-ratio-row{display:grid;grid-template-columns:minmax(120px,.7fr) repeat(3,minmax(150px,1fr));align-items:center;gap:8px;padding:8px 10px}.product-card-ratio-grid-head{background:var(--site-bg);color:var(--site-muted);font-size:.51rem;text-transform:uppercase;letter-spacing:.03em}.product-card-ratio-row{border-top:1px solid var(--site-border)}.product-card-ratio-row>strong{display:flex;align-items:center;gap:7px;font-size:.62rem}.product-card-ratio-row>strong>span{display:grid;place-items:center;width:28px;height:28px;border-radius:8px;background:color-mix(in srgb,var(--green) 9%,var(--site-bg));color:var(--green)}.product-card-ratio-row label{display:grid;gap:3px}.product-card-ratio-row label>span{display:none;color:var(--site-muted);font-size:.48rem;font-weight:850}.product-card-ratio-row select{width:100%;min-height:38px;padding:7px 30px 7px 9px;font-size:.58rem}
.product-image-mode-help{display:flex;flex-wrap:wrap;gap:7px 14px;margin-top:9px;color:var(--site-muted);font-size:.52rem;line-height:1.5}.product-image-mode-help span{display:inline-flex;gap:4px}.product-image-mode-help b{color:var(--site-text)}
@media(max-width:900px){.product-card-ratio-grid-head{display:none}.product-card-ratio-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;border:0;background:transparent;overflow:visible}.product-card-ratio-row{display:grid;grid-template-columns:1fr;align-content:start;gap:8px;padding:10px;border:1px solid var(--site-border);border-radius:12px;background:var(--site-surface)}.product-card-ratio-row:first-child{border-top:1px solid var(--site-border)}.product-card-ratio-row label>span{display:block}}
@media(max-width:620px){.product-card-ratio-studio{padding:9px}.product-card-ratio-studio>header{align-items:stretch;flex-direction:column}.product-card-ratio-studio>header>span{align-self:flex-start}.product-card-ratio-grid{grid-template-columns:1fr}.product-card-ratio-row{grid-template-columns:repeat(3,minmax(0,1fr))}.product-card-ratio-row>strong{grid-column:1/-1}.product-card-ratio-row select{min-height:42px;padding-inline:8px;font-size:.55rem}.product-image-mode-help{display:grid;grid-template-columns:1fr}}

/* Real preview and custom builder use the same independent settings. */
.product-card-real-preview-stage[data-card-ratio="1-1"] .product-card-v4{aspect-ratio:1/1}
.product-card-real-preview-stage[data-card-ratio="4-3"] .product-card-v4{aspect-ratio:4/3}
.product-card-real-preview-stage[data-card-ratio="16-9"] .product-card-v4{aspect-ratio:16/9}
.product-card-builder-device[data-image-aspect="1-1"] .builder-preview-block.media{aspect-ratio:1/1}
.product-card-builder-device[data-image-aspect="4-3"] .builder-preview-block.media{aspect-ratio:4/3}
.product-card-builder-device[data-image-aspect="16-9"] .builder-preview-block.media{aspect-ratio:16/9}
.product-card-builder-device[data-image-mode="fill"] .builder-preview-block.media img{object-fit:cover;padding:0;background:transparent}
.product-card-builder-device[data-image-mode="fit"] .builder-preview-block.media img{object-fit:contain;padding:7px;background:var(--site-surface)}
.product-card-builder-preview.has-fixed-card-ratio{height:auto;max-height:none;overflow:hidden}
.product-card-builder-preview.overlay-background-transparent .builder-preview-block.media img{background:transparent!important}.product-card-builder-device[data-image-mode="fit"] .product-card-builder-preview.overlay-background-transparent .builder-preview-block.media img{padding:0}
@media(min-width:1025px){
 .product-card-v4:is(.card-ratio-desktop-1-1,.card-ratio-desktop-4-3,.card-ratio-desktop-16-9):not(.product-template-overlay):not(.product-template-minimal):not(.product-template-glass):not(.product-template-custom) .product-card-v4-media{margin:0!important;border-radius:0!important}
}
@media(max-width:1024px) and (min-width:641px){
 .product-card-v4:is(.card-ratio-tablet-1-1,.card-ratio-tablet-4-3,.card-ratio-tablet-16-9):not(.product-template-overlay):not(.product-template-minimal):not(.product-template-glass):not(.product-template-custom) .product-card-v4-media{margin:0!important;border-radius:0!important}
}
@media(max-width:640px){
 .product-card-v4:is(.card-ratio-mobile-1-1,.card-ratio-mobile-4-3,.card-ratio-mobile-16-9):not(.product-template-overlay):not(.product-template-minimal):not(.product-template-glass):not(.product-template-custom) .product-card-v4-media{margin:0!important;border-radius:0!important}
}
@media(max-width:480px){.product-card-ratio-row{grid-template-columns:1fr}.product-card-ratio-row>strong{grid-column:auto}}
.product-card-real-preview-stage .product-card-v4:is(.preview-card-4-3,.preview-card-16-9):not(.product-template-overlay):not(.product-template-minimal):not(.product-template-glass){display:grid;grid-template-columns:minmax(0,43%) minmax(0,57%);grid-template-rows:1fr}
.product-card-real-preview-stage .product-card-v4:is(.preview-card-4-3,.preview-card-16-9):not(.product-template-overlay):not(.product-template-minimal):not(.product-template-glass) .product-card-v4-media{align-self:center;width:100%;height:auto;max-height:100%;margin:0!important;border-radius:0!important;aspect-ratio:var(--pc-current-image-ratio)!important}
.product-card-real-preview-stage .product-card-v4:is(.preview-card-4-3,.preview-card-16-9):not(.product-template-overlay):not(.product-template-minimal):not(.product-template-glass) .product-card-v4-body{min-height:0;overflow:hidden;padding:8px}
.product-card-real-preview-stage .product-card-v4:is(.preview-card-4-3,.preview-card-16-9) :is(.product-card-v4-targets,.product-card-v4-meta){display:none}
.product-card-real-preview-stage .product-card-v4.preview-card-16-9 .product-card-v4-store{display:none}
.product-card-real-preview-stage .product-card-v4.preview-card-1-1:not(.product-template-overlay):not(.product-template-minimal):not(.product-template-glass){display:grid;grid-template-rows:minmax(0,56%) minmax(0,44%)}
.product-card-real-preview-stage .product-card-v4.preview-card-1-1:not(.product-template-overlay):not(.product-template-minimal):not(.product-template-glass) .product-card-v4-media{justify-self:center;width:auto;max-width:100%;height:100%;margin:0!important;border-radius:0!important;aspect-ratio:var(--pc-current-image-ratio)!important}
.product-card-real-preview-stage .product-card-v4.preview-card-1-1:not(.product-template-overlay):not(.product-template-minimal):not(.product-template-glass) .product-card-v4-body{min-height:0;overflow:hidden;padding:8px}
.product-card-real-preview-stage .product-card-v4.preview-card-1-1 .product-card-v4-targets{display:none}

/* ==========================================================================
   v5.6.7 — sticky right-side real product preview in Product Card Studio
   ========================================================================== */
.product-card-studio{display:grid;grid-template-columns:minmax(0,1fr) minmax(350px,390px);gap:14px 16px;align-items:start}
.product-card-studio>header{grid-column:1/-1;grid-row:1}
.product-card-studio>.product-template-library-bar{grid-column:1;grid-row:2;margin-top:0}
.product-card-studio>.product-template-picker{grid-column:1;grid-row:3;margin-top:0}
.product-card-studio>.product-card-ratio-studio{grid-column:1;grid-row:4;margin-top:0}
.product-card-studio>.product-card-builder{grid-column:1;grid-row:5;margin-top:0}
.product-card-studio>.product-card-real-preview{grid-column:2;grid-row:2/span 4;position:sticky;top:86px;z-index:4;max-height:calc(100vh - 104px);margin-top:0;overflow:auto;scrollbar-width:thin}
.product-card-studio>.product-card-studio-note{grid-column:1/-1;grid-row:6;margin-top:0}
.product-card-real-preview-title-row{display:flex;align-items:center;justify-content:space-between;gap:8px}
.product-card-real-preview-title-row>span{max-width:54%;overflow:hidden;padding:5px 8px;border:1px solid color-mix(in srgb,var(--green) 25%,var(--site-border));border-radius:999px;background:color-mix(in srgb,var(--green) 8%,var(--site-surface));color:var(--green);font-size:.5rem;font-weight:900;text-overflow:ellipsis;white-space:nowrap}
.product-card-studio .product-card-real-preview-head{align-items:stretch;flex-direction:column}
.product-card-studio .product-card-real-preview-controls{justify-content:stretch}
.product-card-studio .product-card-real-preview-controls label{flex:1;min-width:0}
.product-card-studio .product-card-real-preview-stage{min-height:360px;padding:16px 10px}
.product-card-studio .product-card-real-preview-stage .product-card-v4{width:285px}
.product-card-studio .product-card-real-preview-stage.tablet .product-card-v4{width:250px}
.product-card-studio .product-card-real-preview-stage.mobile .product-card-v4{width:205px}
.product-card-studio .product-card-real-preview-stage.desktop .product-template-horizontal{width:350px}
.product-card-studio .product-card-real-preview-stage.tablet .product-template-horizontal{width:310px}
.product-card-studio .product-card-builder-workspace{grid-template-columns:1fr}
.product-card-studio .product-card-builder-preview-shell{position:static;top:auto;margin-top:10px;background:color-mix(in srgb,var(--site-bg) 84%,var(--site-surface))}
.product-card-studio .product-card-builder-device{min-height:350px}
.product-card-real-preview.is-updating{border-color:color-mix(in srgb,var(--green) 58%,var(--site-border));box-shadow:0 0 0 3px color-mix(in srgb,var(--green) 10%,transparent),0 18px 44px color-mix(in srgb,var(--green) 12%,transparent)}
.product-template-option.selected>span{transform:translateY(-1px)}
@media(max-width:1180px) and (min-width:901px){
 .product-card-studio{grid-template-columns:minmax(0,1fr) minmax(315px,35vw);gap:12px}
 .product-card-studio>.product-card-real-preview{top:76px}
 .product-card-studio .product-template-picker{grid-template-columns:repeat(3,minmax(120px,1fr))}
 .product-card-studio .product-card-real-preview-stage{min-height:330px;padding:12px 7px}
 .product-card-studio .product-card-real-preview-stage .product-card-v4{width:260px}
 .product-card-studio .product-card-real-preview-stage.desktop .product-template-horizontal{width:310px}
}
@media(max-width:900px){
 .product-card-studio{grid-template-columns:1fr;gap:12px}
 .product-card-studio>header{grid-column:1;grid-row:1}
 .product-card-studio>.product-template-library-bar{grid-column:1;grid-row:2}
 .product-card-studio>.product-template-picker{grid-column:1;grid-row:3}
 .product-card-studio>.product-card-real-preview{grid-column:1;grid-row:4;position:static;z-index:auto;max-height:none;overflow:visible}
 .product-card-studio>.product-card-ratio-studio{grid-column:1;grid-row:5}
 .product-card-studio>.product-card-builder{grid-column:1;grid-row:6}
 .product-card-studio>.product-card-studio-note{grid-column:1;grid-row:7}
 .product-card-studio .product-card-real-preview-head{gap:9px}
 .product-card-studio .product-card-real-preview-stage{min-height:350px}
}
@media(max-width:560px){
 .product-card-studio{gap:9px}
 .product-card-studio>.product-card-real-preview{padding:9px}
 .product-card-real-preview-title-row{align-items:flex-start;flex-direction:column}
 .product-card-real-preview-title-row>span{max-width:100%}
 .product-card-studio .product-card-real-preview-stage{min-height:305px;padding:10px 6px}
 .product-card-studio .product-card-real-preview-stage .product-card-v4,.product-card-studio .product-card-real-preview-stage.tablet .product-card-v4{width:235px}
 .product-card-studio .product-card-real-preview-stage.desktop .product-template-horizontal,.product-card-studio .product-card-real-preview-stage.tablet .product-template-horizontal{width:275px}
 .product-card-studio .product-card-builder-device{min-height:310px}
}

/* ==========================================================================
   v5.6.8 — real image repair, 24-template library, granular custom builder
   ========================================================================== */
/* Template thumbnails. */
.product-template-mini.produce{background:linear-gradient(145deg,#eef9e9,#6ab861)}.product-template-mini.produce:before{background:radial-gradient(circle at 67% 31%,#ffe26a 0 9%,transparent 10%),linear-gradient(155deg,transparent 45%,rgba(26,104,45,.5) 46%)}.product-template-mini.produce:after{border-radius:999px;background:#effbea;color:#247338;text-align:center}
.product-template-mini.flash{background:linear-gradient(145deg,#fff0db,#ff7b37)}.product-template-mini.flash:before{background:linear-gradient(135deg,#ff3b30 0 25%,transparent 26%),radial-gradient(circle at 70% 32%,#ffd75a 0 9%,transparent 10%)}.product-template-mini.flash:after{background:#e9362c;color:#fff;text-align:center;transform:rotate(-2deg)}
.product-template-mini.eco{background:linear-gradient(145deg,#f7f2dc,#6e9e5d)}.product-template-mini.eco:before{background:radial-gradient(circle at 65% 30%,#d9b955 0 8%,transparent 9%),linear-gradient(150deg,transparent 48%,rgba(50,95,47,.58) 49%)}.product-template-mini.eco:after{border:1px dashed #458047;background:#fffbed;color:#426839}
.product-template-mini.picture{background:linear-gradient(145deg,#acd3ee,#2b7450)}.product-template-mini.picture:after{left:10px;right:10px;background:rgba(6,35,24,.72);color:#fff;backdrop-filter:blur(5px)}
.product-template-mini.mobile{background:linear-gradient(145deg,#e8f4ec,#4a9e67)}.product-template-mini.mobile:after{min-height:22px;background:#087c30;color:#fff;text-align:center}
.product-template-mini.pricefirst{background:linear-gradient(145deg,#fff6df,#ffbf38)}.product-template-mini.pricefirst:after{top:9px;bottom:auto;background:#fff;color:#b45a00;font-size:.58rem;text-align:center;box-shadow:0 5px 12px rgba(132,72,0,.15)}
.product-template-mini.story{background:linear-gradient(145deg,#f2e6cd,#8d6b3f)}.product-template-mini.story:after{background:#fff9ea;color:#65471e;font-family:Georgia,serif}
.product-template-mini.darkmarket{background:linear-gradient(145deg,#1b2a20,#07110a)}.product-template-mini.darkmarket:after{border:1px solid #3b6247;background:#14291b;color:#b7ffbd}
.product-template-mini.ribbon{background:linear-gradient(145deg,#d9f1ff,#388aae)}.product-template-mini.ribbon:before{background:linear-gradient(135deg,#f0ad00 0 31%,transparent 32%),radial-gradient(circle at 68% 35%,#f5ce55 0 8%,transparent 9%)}.product-template-mini.ribbon:after{background:#fff;color:#176789}

/* Ready-made storefront templates. */
.product-template-produce{border-color:#cfe8cb;background:linear-gradient(180deg,#f9fff7,#fff)}.product-template-produce .product-card-v4-media{margin:7px;border-radius:16px}.product-template-produce .product-card-v4-category{background:#e8f7e3;color:#276f37}.product-template-produce .product-card-v4-price b{color:#16733a}.product-template-produce .product-card-v4-add{background:linear-gradient(135deg,#15833f,#45a85d)}
.product-template-flash{border:2px solid #ffb36b;background:#fffaf4;box-shadow:0 12px 28px rgba(190,75,12,.12)}.product-template-flash .product-card-v4-category{border:0;background:#e8372d;color:#fff;transform:rotate(-2deg)}.product-template-flash .product-card-v4-price-row{padding:7px 8px;border-radius:10px;background:#fff0dc}.product-template-flash .product-card-v4-price b{color:#d83c18;font-size:1rem}.product-template-flash .product-card-v4-add{background:#ec442d}
.product-template-eco{border:1px dashed #7eaa72;background:#fffdf5}.product-template-eco .product-card-v4-media{margin:8px;border-radius:50% 50% 18px 18px}.product-template-eco .product-card-v4-body{font-family:Georgia,"Noto Serif Khmer",serif}.product-template-eco .product-card-v4-store-icon{background:#eef5df;color:#58783e}.product-template-eco .product-card-v4-add{background:#5e8746}
.product-template-picture{position:relative;overflow:hidden;background:#153927}.product-template-picture .product-card-v4-media{min-height:68%;border-radius:0}.product-template-picture .product-card-v4-body{position:relative;margin:-42px 8px 8px;padding:11px;border:1px solid rgba(255,255,255,.28);border-radius:15px;background:rgba(255,255,255,.9);backdrop-filter:blur(13px);box-shadow:0 13px 27px rgba(0,0,0,.17)}.product-template-picture .product-card-v4-targets{display:none}
.product-template-mobile .product-card-v4-body{padding:10px}.product-template-mobile .product-card-v4-actions{grid-template-columns:42px minmax(0,1fr)}.product-template-mobile .product-card-v4-add{min-height:44px;border-radius:14px;font-size:.66rem}.product-template-mobile .product-card-v4-view{min-height:44px}.product-template-mobile .product-card-v4-title{font-size:.75rem}
.product-template-pricefirst .product-card-v4-body{display:flex;flex-direction:column}.product-template-pricefirst .product-card-v4-price-row{order:-3;margin:-3px 0 8px;padding:8px;border:1px solid #f1cf78;border-radius:12px;background:#fff7dc}.product-template-pricefirst .product-card-v4-store{order:-2}.product-template-pricefirst .product-card-v4-title{order:-1}.product-template-pricefirst .product-card-v4-price b{color:#a85e00;font-size:1.02rem}.product-template-pricefirst .product-card-v4-add{background:#e79800}
.product-template-story{border-color:#ddcfb5;background:linear-gradient(180deg,#fffdf8,#f8f0df)}.product-template-story .product-card-v4-media{margin:8px;border-radius:15px 15px 6px 6px;box-shadow:0 7px 18px rgba(89,58,25,.13)}.product-template-story .product-card-v4-body{font-family:Georgia,"Noto Serif Khmer",serif}.product-template-story .product-card-v4-title{color:#4d3820}.product-template-story .product-card-v4-add{background:#76572e}
.product-template-darkmarket{border-color:#294333;background:#101d15;color:#eff9f0;box-shadow:0 16px 36px rgba(2,14,7,.3)}.product-template-darkmarket .product-card-v4-body{background:#101d15}.product-template-darkmarket .product-card-v4-title,.product-template-darkmarket .product-card-v4-price b{color:#f3fff3}.product-template-darkmarket .product-card-v4-store,.product-template-darkmarket .product-card-v4-price small,.product-template-darkmarket .product-card-v4-price-row>em,.product-template-darkmarket .product-card-v4-meta{color:#a8baa9}.product-template-darkmarket .product-card-v4-store-icon,.product-template-darkmarket .product-card-v4-view{border-color:#304b39;background:#17291d;color:#c7e7cc}.product-template-darkmarket .product-card-v4-targets span{background:#17291d;color:#bcd1bf}.product-template-darkmarket .product-card-v4-add{background:#2c9b51}
.product-template-ribbon{position:relative;border-color:#bcdceb;background:#fafdff}.product-template-ribbon:before{content:"DEAL";position:absolute;z-index:5;top:15px;left:-31px;width:105px;padding:5px 0;background:#e8a400;color:#fff;text-align:center;font-size:.5rem;font-weight:950;transform:rotate(-42deg);box-shadow:0 5px 12px rgba(94,60,0,.2)}.product-template-ribbon .product-card-v4-category{margin-left:15px;background:#e8f7ff;color:#176989}.product-template-ribbon .product-card-v4-add{background:#1685ad}

/* Granular custom Product Card Builder. */
.product-template-custom .product-card-custom-layout{display:flex;flex-direction:column;min-width:0;min-height:100%;padding-bottom:12px}.product-template-custom .product-card-custom-block{display:var(--pc-display-desktop,block);order:var(--pc-order-desktop,10);min-width:0}.product-template-custom .product-card-custom-block:not(.pc-block-image){margin:7px 11px 0}.product-template-custom .pc-block-image{margin:0}.product-template-custom .pc-block-image .product-card-v4-media{margin:0}.product-template-custom .product-card-custom-badges{display:flex;align-items:center;justify-content:space-between;gap:6px}.product-template-custom .product-card-custom-badges .product-card-v4-category,.product-template-custom .product-card-custom-badges .product-card-v4-featured{position:static;max-width:100%}.product-template-custom .product-card-custom-stat{display:inline-flex;align-items:center;gap:5px;min-height:27px;padding:5px 8px;border-radius:9px;background:color-mix(in srgb,var(--green) 7%,var(--site-bg));color:var(--site-muted);font-size:.52rem;font-weight:800}.product-template-custom .pc-block-rating,.product-template-custom .pc-block-stock,.product-template-custom .pc-block-distance,.product-template-custom .pc-block-minimum,.product-template-custom .pc-block-likes{display:var(--pc-display-desktop,block)}.product-template-custom .pc-block-actions{margin-top:auto!important;padding-top:3px}

/* Preview canvas mirrors all granular builder blocks. */
.builder-preview-block.image{position:relative;display:grid;place-items:center;aspect-ratio:1/1;margin:0;overflow:hidden;background:transparent}.builder-preview-block.image img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.builder-preview-block.badges{display:flex;align-items:center;justify-content:space-between;gap:5px}.builder-preview-block.badges span,.builder-preview-block.badges i{max-width:72%;overflow:hidden;padding:4px 6px;border-radius:999px;background:#eaf6ed;color:#246b36;font-size:.42rem;font-style:normal;font-weight:900;text-overflow:ellipsis;white-space:nowrap}.builder-preview-block.badges i{max-width:45%;background:#fff1b8;color:#735500}.builder-preview-block.rating,.builder-preview-block.stock,.builder-preview-block.distance,.builder-preview-block.minimum,.builder-preview-block.likes{display:flex;align-items:center;min-height:27px;padding:5px 7px;border-radius:8px;background:#f2f7f3;color:#607066}.builder-preview-block.stock{color:#27723b}.builder-preview-block.likes{color:#a14455}.product-card-builder-device[data-image-aspect="1-1"] .builder-preview-block.image{aspect-ratio:1/1}.product-card-builder-device[data-image-aspect="4-3"] .builder-preview-block.image{aspect-ratio:4/3}.product-card-builder-device[data-image-aspect="16-9"] .builder-preview-block.image{aspect-ratio:16/9}.product-card-builder-device[data-image-mode="fill"] .builder-preview-block.image img{object-fit:cover;padding:0;background:transparent}.product-card-builder-device[data-image-mode="fit"] .builder-preview-block.image img{object-fit:contain;padding:7px;background:var(--site-surface)}.product-card-builder-preview.overlay-background-transparent .builder-preview-block.image img{background:transparent!important}.product-card-builder-device[data-image-mode="fit"] .product-card-builder-preview.overlay-background-transparent .builder-preview-block.image img{padding:0}

@media(max-width:1024px) and (min-width:641px){.product-template-custom .product-card-custom-block{display:var(--pc-display-tablet,block);order:var(--pc-order-tablet,10)}.product-template-picture .product-card-v4-body{margin-top:-34px}.product-template-mobile .product-card-v4-add{min-height:41px}}
@media(max-width:640px){.product-template-custom .product-card-custom-layout{padding-bottom:8px}.product-template-custom .product-card-custom-block{display:var(--pc-display-mobile,block);order:var(--pc-order-mobile,10)}.product-template-custom .product-card-custom-block:not(.pc-block-image){margin:5px 7px 0}.product-template-custom .product-card-custom-stat{min-height:24px;padding:4px 6px;font-size:.45rem}.product-template-picture .product-card-v4-body{margin:-29px 5px 5px;padding:7px}.product-template-mobile .product-card-v4-actions{grid-template-columns:1fr}.product-template-mobile .product-card-v4-view{display:none}.product-template-pricefirst .product-card-v4-price-row{padding:6px}.product-template-darkmarket .product-card-v4-body{padding:7px}}

/* ==========================================================================
   v5.6.9 — freeform product-card canvas builder
   ========================================================================== */
.product-builder-mode-bar{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:10px;padding:10px 11px;border:1px solid var(--site-border);border-radius:13px;background:var(--site-bg)}
.product-builder-mode-bar>div:first-child{display:grid;gap:2px}.product-builder-mode-bar b{font-size:.68rem}.product-builder-mode-bar small{color:var(--site-muted);font-size:.56rem;line-height:1.45}
.product-builder-mode-tabs{display:flex;gap:5px;padding:4px;border:1px solid var(--site-border);border-radius:11px;background:var(--site-surface)}
.product-builder-mode-tabs button{min-height:34px;padding:0 10px;border:0;border-radius:8px;background:transparent;color:var(--site-muted);font-size:.57rem;font-weight:900;cursor:pointer;white-space:nowrap}
.product-builder-mode-tabs button.active{background:color-mix(in srgb,var(--green) 11%,var(--site-bg));color:var(--green);box-shadow:0 4px 12px color-mix(in srgb,var(--green) 10%,transparent)}
.product-builder-flow[hidden],.product-builder-freeform[hidden]{display:none!important}
.freeform-builder-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px;padding:8px 10px;border-radius:11px;background:color-mix(in srgb,var(--green) 6%,var(--site-bg))}
.freeform-builder-toolbar>div:first-child{display:grid;gap:2px}.freeform-builder-toolbar b{font-size:.64rem}.freeform-builder-toolbar small{color:var(--site-muted);font-size:.53rem;line-height:1.45}
.freeform-builder-grid{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:10px;align-items:start}
.product-builder-canvas-wrap{padding:10px;border:1px solid var(--site-border);border-radius:14px;background:color-mix(in srgb,var(--site-bg) 92%,var(--site-surface));overflow:auto}
.product-builder-canvas{position:relative;width:100%;min-width:420px;max-width:680px;margin:auto;overflow:hidden;border:1px solid color-mix(in srgb,var(--green) 30%,var(--site-border));border-radius:14px;background-color:var(--site-surface);background-image:linear-gradient(to right,color-mix(in srgb,var(--green) 10%,transparent) 1px,transparent 1px),linear-gradient(to bottom,color-mix(in srgb,var(--green) 10%,transparent) 1px,transparent 1px);background-size:5% 5%;box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--site-surface) 70%,transparent),0 12px 30px color-mix(in srgb,var(--site-text) 7%,transparent);touch-action:none;user-select:none}
.product-builder-canvas:before{content:"PRODUCT CARD";position:absolute;right:8px;bottom:6px;color:color-mix(in srgb,var(--site-muted) 45%,transparent);font-size:.44rem;font-weight:900;letter-spacing:.12em;pointer-events:none}
.product-canvas-block{position:absolute;display:flex;align-items:center;gap:5px;min-width:4%;min-height:4%;padding:5px 7px;overflow:hidden;border:1px solid color-mix(in srgb,var(--green) 28%,var(--site-border));border-radius:8px;background:color-mix(in srgb,var(--site-surface) 90%,transparent);color:var(--site-text);box-shadow:0 4px 12px color-mix(in srgb,var(--site-text) 8%,transparent);cursor:grab;transition:box-shadow .12s,border-color .12s,opacity .12s;touch-action:none}
.product-canvas-block:active{cursor:grabbing}.product-canvas-block:hover,.product-canvas-block.is-selected{z-index:31!important;border-color:var(--green);box-shadow:0 0 0 2px color-mix(in srgb,var(--green) 16%,transparent),0 8px 20px color-mix(in srgb,var(--site-text) 12%,transparent)}
.product-canvas-block>span{display:grid;place-items:center;flex:0 0 22px;width:22px;height:22px;border-radius:6px;background:color-mix(in srgb,var(--green) 12%,var(--site-bg));color:var(--green);font-size:.58rem;font-weight:900}.product-canvas-block>b{min-width:0;overflow:hidden;font-size:.52rem;text-overflow:ellipsis;white-space:nowrap}
.product-canvas-block.is-hidden{opacity:.27;filter:grayscale(.7)}.product-canvas-block.is-hidden:after{content:"HIDDEN";position:absolute;inset:auto 3px 2px auto;padding:2px 4px;border-radius:4px;background:#9f2e2e;color:#fff;font-size:.36rem;font-weight:900}
.product-canvas-block.style-soft{background:color-mix(in srgb,var(--green) 10%,var(--site-surface))}.product-canvas-block.style-surface{background:var(--site-surface)}.product-canvas-block.style-glass{background:color-mix(in srgb,var(--site-surface) 70%,transparent);backdrop-filter:blur(10px)}.product-canvas-block.style-primary{background:var(--green);color:#fff}.product-canvas-block.style-dark{background:rgba(8,24,14,.86);color:#fff}
.product-canvas-block.align-center{justify-content:center}.product-canvas-block.align-end{justify-content:flex-end}.product-canvas-block.align-stretch{justify-content:space-between}
.product-canvas-block [data-canvas-resize]{position:absolute;right:0;bottom:0;width:16px;height:16px;border:0;border-radius:8px 0 0 0;background:linear-gradient(135deg,transparent 44%,var(--green) 45% 58%,transparent 59% 67%,var(--green) 68% 81%,transparent 82%);cursor:nwse-resize}
.product-builder-inspector{position:sticky;top:150px;min-width:0;padding:10px;border:1px solid var(--site-border);border-radius:14px;background:var(--site-surface);box-shadow:0 8px 24px color-mix(in srgb,var(--site-text) 7%,transparent)}
.product-builder-inspector-empty{display:grid;place-items:center;gap:5px;min-height:210px;padding:14px;text-align:center}.product-builder-inspector-empty>span{display:grid;place-items:center;width:42px;height:42px;border-radius:13px;background:color-mix(in srgb,var(--green) 10%,var(--site-bg));color:var(--green);font-size:1.15rem}.product-builder-inspector-empty b{font-size:.66rem}.product-builder-inspector-empty small{color:var(--site-muted);font-size:.52rem;line-height:1.55}
.product-builder-inspector-fields{display:grid;gap:9px}.product-builder-inspector-fields[hidden]{display:none!important}.product-builder-inspector-fields>header{display:grid;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:7px;padding-bottom:8px;border-bottom:1px solid var(--site-border)}.product-builder-inspector-fields>header>span{display:grid;place-items:center;width:34px;height:34px;border-radius:9px;background:color-mix(in srgb,var(--green) 10%,var(--site-bg));color:var(--green);font-weight:900}.product-builder-inspector-fields>header>div{display:grid}.product-builder-inspector-fields>header b{font-size:.64rem}.product-builder-inspector-fields>header small{color:var(--site-muted);font-size:.48rem}.product-builder-inspector-fields>header label{display:flex!important;align-items:center;gap:4px!important;margin:0!important;font-size:.5rem;font-weight:900}.product-builder-inspector-fields>header input{width:17px;height:17px;accent-color:var(--green)}
.product-inspector-number-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.product-builder-inspector-fields label{display:grid;gap:4px;color:var(--site-muted);font-size:.49rem;font-weight:900}.product-builder-inspector-fields :is(input,select){width:100%;min-height:34px;padding:6px 8px;border:1px solid var(--site-border);border-radius:8px;background:var(--site-bg);color:var(--site-text);font:inherit}
.product-builder-relative{display:grid;gap:6px;padding:8px;border:1px dashed color-mix(in srgb,var(--green) 30%,var(--site-border));border-radius:10px;background:color-mix(in srgb,var(--green) 4%,var(--site-bg))}.product-builder-relative>b{font-size:.54rem}.product-builder-relative>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}.product-builder-relative button,.product-builder-layer-actions button{min-height:31px;padding:5px;border:1px solid var(--site-border);border-radius:8px;background:var(--site-bg);color:var(--site-text);font-size:.47rem;font-weight:900;cursor:pointer}.product-builder-relative button:hover,.product-builder-layer-actions button:hover{border-color:var(--green);color:var(--green)}
.product-builder-layer-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}

/* Builder preview: flow or absolute freeform. */
.product-card-builder-preview.is-freeform{position:relative;display:block;min-height:0;padding:0}
.product-card-builder-preview.is-freeform .builder-preview-block{position:absolute;display:flex;align-items:center;min-width:0;min-height:0;margin:0;padding:4px 6px;overflow:hidden;border:1px solid transparent;border-radius:7px;background:transparent;color:#173522}
.product-card-builder-preview.is-freeform .builder-preview-block[hidden]{display:none!important}.product-card-builder-preview.is-freeform .builder-preview-block.image{padding:0;border:0;border-radius:0}.product-card-builder-preview.is-freeform .builder-preview-block.image img{width:100%;height:100%}
.product-card-builder-preview.is-freeform .builder-preview-block.style-soft{border-color:#dbeade;background:#eff7f1}.product-card-builder-preview.is-freeform .builder-preview-block.style-surface{border-color:#d9e4db;background:#fff}.product-card-builder-preview.is-freeform .builder-preview-block.style-glass{border-color:rgba(255,255,255,.45);background:rgba(255,255,255,.72);backdrop-filter:blur(8px)}.product-card-builder-preview.is-freeform .builder-preview-block.style-primary{background:#087c30;color:#fff}.product-card-builder-preview.is-freeform .builder-preview-block.style-dark{background:rgba(8,24,14,.86);color:#fff}
.product-card-builder-preview.is-freeform .builder-preview-block.align-center{justify-content:center;text-align:center}.product-card-builder-preview.is-freeform .builder-preview-block.align-end{justify-content:flex-end;text-align:right}.product-card-builder-preview.is-freeform .builder-preview-block.align-stretch{justify-content:space-between}
.product-card-builder-preview.is-freeform .builder-preview-block.actions{grid-template-columns:34px minmax(0,1fr)}

/* Real custom cards: responsive flow/freeform modes. */
@media(min-width:1025px){
 .product-template-custom.custom-mode-desktop-freeform.card-ratio-desktop-auto{aspect-ratio:4/5}
 .product-template-custom.custom-mode-desktop-freeform .product-card-custom-layout{position:relative;display:block;width:100%;height:100%;min-height:0;padding:0;overflow:hidden}
 .product-template-custom.custom-mode-desktop-freeform .product-card-custom-block{position:absolute;left:var(--pc-x-desktop);top:var(--pc-y-desktop);z-index:var(--pc-z-desktop);display:var(--pc-display-desktop);align-items:stretch;justify-content:var(--pc-align-desktop);width:var(--pc-w-desktop);height:var(--pc-h-desktop);min-width:0;min-height:0;margin:0!important;padding:4px 6px;overflow:hidden;border:1px solid var(--pc-border-desktop);border-radius:9px;background:var(--pc-bg-desktop);color:var(--pc-color-desktop);backdrop-filter:var(--pc-filter-desktop)}
}
@media(max-width:1024px) and (min-width:641px){
 .product-template-custom.custom-mode-tablet-freeform.card-ratio-tablet-auto{aspect-ratio:4/5}
 .product-template-custom.custom-mode-tablet-freeform .product-card-custom-layout{position:relative;display:block;width:100%;height:100%;min-height:0;padding:0;overflow:hidden}
 .product-template-custom.custom-mode-tablet-freeform .product-card-custom-block{position:absolute;left:var(--pc-x-tablet);top:var(--pc-y-tablet);z-index:var(--pc-z-tablet);display:var(--pc-display-tablet);align-items:stretch;justify-content:var(--pc-align-tablet);width:var(--pc-w-tablet);height:var(--pc-h-tablet);min-width:0;min-height:0;margin:0!important;padding:4px 5px;overflow:hidden;border:1px solid var(--pc-border-tablet);border-radius:8px;background:var(--pc-bg-tablet);color:var(--pc-color-tablet);backdrop-filter:var(--pc-filter-tablet)}
}
@media(max-width:640px){
 .product-template-custom.custom-mode-mobile-freeform.card-ratio-mobile-auto{aspect-ratio:3/4}
 .product-template-custom.custom-mode-mobile-freeform .product-card-custom-layout{position:relative;display:block;width:100%;height:100%;min-height:0;padding:0;overflow:hidden}
 .product-template-custom.custom-mode-mobile-freeform .product-card-custom-block{position:absolute;left:var(--pc-x-mobile);top:var(--pc-y-mobile);z-index:var(--pc-z-mobile);display:var(--pc-display-mobile);align-items:stretch;justify-content:var(--pc-align-mobile);width:var(--pc-w-mobile);height:var(--pc-h-mobile);min-width:0;min-height:0;margin:0!important;padding:3px 4px;overflow:hidden;border:1px solid var(--pc-border-mobile);border-radius:7px;background:var(--pc-bg-mobile);color:var(--pc-color-mobile);backdrop-filter:var(--pc-filter-mobile)}
}
.product-template-custom :is(.custom-mode-desktop-freeform,.custom-mode-tablet-freeform,.custom-mode-mobile-freeform){}
.product-template-custom .product-card-custom-block>*{min-width:0;max-width:100%}
.product-template-custom .pc-block-image{padding:0!important;border:0!important;border-radius:0!important}.product-template-custom .pc-block-image .product-card-v4-media,.product-template-custom .pc-block-image .product-card-v4-cover{width:100%;height:100%;min-height:0;aspect-ratio:auto!important}.product-template-custom .pc-block-image .product-card-v4-cover img{width:100%;height:100%}
.product-template-custom .pc-block-badges .product-card-custom-badges,.product-template-custom .pc-block-price .product-card-v4-price-row,.product-template-custom .pc-block-actions .product-card-v4-actions{width:100%;height:100%;margin:0}.product-template-custom .pc-block-store .product-card-v4-store,.product-template-custom .pc-block-title .product-card-v4-title{width:100%;margin:0}.product-template-custom .product-card-custom-block .product-card-custom-stat{max-width:100%;height:100%;min-height:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.product-template-custom .product-card-custom-block .product-card-v4-title{-webkit-line-clamp:2}.product-template-custom .product-card-custom-block .product-card-v4-actions{align-items:stretch}.product-template-custom .product-card-custom-block .product-card-v4-actions>*{min-height:0}

@media(max-width:900px){.freeform-builder-grid{grid-template-columns:1fr}.product-builder-inspector{position:static}.product-builder-canvas{min-width:360px}.product-builder-mode-bar{align-items:stretch;flex-direction:column}.product-builder-mode-tabs{width:100%}.product-builder-mode-tabs button{flex:1}}
@media(max-width:560px){.product-builder-canvas-wrap{padding:6px}.product-builder-canvas{min-width:300px}.freeform-builder-toolbar{align-items:stretch;flex-direction:column}.product-inspector-number-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.product-builder-relative>div,.product-builder-layer-actions{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* v5.7.0 Smart Product Assistant, Cambodia market prices, and AJAX language switch */
.language-switching{opacity:.55;pointer-events:none}.language-switching::after{content:'…'}
.field-label-action{display:flex;align-items:center;justify-content:space-between;gap:12px}.smart-description-field>small{display:block;margin-top:7px;color:var(--muted,#68766d)}
.smart-price-picker{display:grid;gap:14px;margin:0 0 18px;padding:16px;border:1px solid var(--border,#dfe8df);border-radius:18px;background:linear-gradient(145deg,color-mix(in srgb,var(--surface,#fff) 96%,var(--primary,#087c30) 4%),var(--surface,#fff))}.smart-price-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.smart-price-heading>div{display:grid;gap:3px}.smart-price-heading small{color:var(--muted,#68766d)}.smart-price-modes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.smart-price-mode{cursor:pointer}.smart-price-mode input{position:absolute;opacity:0;pointer-events:none}.smart-price-mode>span{display:flex;align-items:flex-start;gap:10px;height:100%;padding:13px;border:1px solid var(--border,#dfe8df);border-radius:14px;background:var(--surface,#fff);transition:.18s ease}.smart-price-mode i{display:grid;place-items:center;width:32px;height:32px;flex:0 0 32px;border-radius:10px;background:color-mix(in srgb,var(--primary,#087c30) 10%,transparent);color:var(--primary,#087c30);font-style:normal}.smart-price-mode b,.smart-price-mode small{display:block}.smart-price-mode small{margin-top:3px;color:var(--muted,#68766d);font-weight:400}.smart-price-mode.active>span{border-color:var(--primary,#087c30);box-shadow:0 0 0 3px color-mix(in srgb,var(--primary,#087c30) 12%,transparent)}.market-price-panel{display:grid;gap:10px}.market-price-loading,.market-price-empty{padding:14px;text-align:center;border-radius:12px;background:color-mix(in srgb,var(--surface,#fff) 92%,var(--primary,#087c30) 8%);color:var(--muted,#68766d)}.market-price-selected{display:flex;align-items:center;gap:10px;padding:11px 13px;border-radius:12px;background:#e8f8ed;color:#125d2b}.market-price-selected>span{display:grid;place-items:center;width:27px;height:27px;border-radius:50%;background:#16843c;color:#fff}.market-price-selected b,.market-price-selected small{display:block}.market-price-suggestions{display:grid;gap:10px}.market-price-suggestion{display:grid;gap:11px;padding:13px;border:1px solid var(--border,#dfe8df);border-radius:14px;background:var(--surface,#fff);transition:.18s ease}.market-price-suggestion.selected{border-color:var(--primary,#087c30);box-shadow:0 0 0 3px color-mix(in srgb,var(--primary,#087c30) 10%,transparent)}.market-price-suggestion-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.market-price-suggestion-head b,.market-price-suggestion-head small{display:block}.market-price-suggestion-head small,.market-price-foot{color:var(--muted,#68766d)}.market-source{display:inline-flex;align-items:center;justify-content:center;padding:4px 8px;border-radius:999px;background:#eef4ef;color:#4b6152;font-size:11px;font-weight:800;text-transform:uppercase;white-space:nowrap}.market-source.official{background:#e8efff;color:#2455a6}.market-source.admin{background:#fff3d7;color:#8a5b00}.market-source.import{background:#f0eaff;color:#6241a8}.market-source.catalog{background:#e8f8ed;color:#11612b}.market-price-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.market-price-choice{display:grid;gap:2px;padding:9px 7px;border:1px solid var(--border,#dfe8df);border-radius:10px;background:color-mix(in srgb,var(--surface,#fff) 96%,var(--primary,#087c30) 4%);text-align:left;cursor:pointer}.market-price-choice:hover{border-color:var(--primary,#087c30);transform:translateY(-1px)}.market-price-choice strong,.market-price-choice span{display:block}.market-price-choice span{font-size:11px;color:var(--muted,#68766d)}[data-manual-price-fields].market-price-active input[data-price-khr],[data-manual-price-fields].market-price-active input[data-price-usd]{background:color-mix(in srgb,var(--surface,#fff) 88%,var(--primary,#087c30) 12%);font-weight:800}
.market-price-hero{display:flex;align-items:center;justify-content:space-between;gap:24px}.market-rate-card{display:grid;gap:3px;min-width:250px;padding:16px 18px;border:1px solid color-mix(in srgb,#fff 25%,transparent);border-radius:18px;background:color-mix(in srgb,#fff 13%,transparent);backdrop-filter:blur(12px)}.market-rate-card b{font-size:24px}.market-rate-card small,.market-rate-card span{opacity:.82}.market-price-page{display:grid;gap:18px}.market-price-filters{display:grid;grid-template-columns:minmax(240px,1.7fr) repeat(3,minmax(130px,.7fr)) auto auto;gap:10px;padding:14px}.market-search{position:relative}.market-search>span{position:absolute;left:13px;top:50%;transform:translateY(-50%);color:var(--muted,#68766d)}.market-search input{padding-left:36px}.market-price-summary,.market-admin-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.market-price-summary>div,.market-admin-summary>article{display:grid;gap:4px;padding:15px 17px;border:1px solid var(--border,#dfe8df);border-radius:16px;background:var(--surface,#fff)}.market-price-summary span,.market-admin-summary span,.market-admin-summary small{color:var(--muted,#68766d)}.market-price-summary b,.market-admin-summary b{font-size:18px}.market-price-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.market-price-card{display:grid;gap:15px;padding:18px;border:1px solid var(--border,#dfe8df);border-radius:20px;background:var(--surface,#fff);box-shadow:0 10px 30px rgba(23,57,32,.055)}.market-price-card>header{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.market-price-card h2{margin:7px 0 2px;font-size:18px}.market-price-card p{margin:0;color:var(--muted,#68766d)}.market-price-main{text-align:right;font-size:22px;color:var(--primary,#087c30);white-space:nowrap}.market-price-main small{display:block;font-size:13px;color:var(--muted,#68766d)}.market-price-range{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.market-price-range span{display:grid;gap:3px;padding:10px;border-radius:12px;background:color-mix(in srgb,var(--surface,#fff) 91%,#839087 9%)}.market-price-range .average{background:color-mix(in srgb,var(--surface,#fff) 80%,var(--primary,#087c30) 20%)}.market-price-range small{color:var(--muted,#68766d)}.market-price-card>footer,.market-admin-row>footer{display:flex;align-items:center;gap:10px;flex-wrap:wrap;color:var(--muted,#68766d);font-size:12px}.market-price-card>footer time,.market-admin-row>footer time{margin-left:auto}.market-data-note{padding:16px 18px;border-radius:16px;background:#fff8df;border:1px solid #f1d780;color:#6a5010}.market-data-note p{margin:5px 0 0}
.market-admin-head .pro-head-actions{display:flex;flex-wrap:wrap;gap:8px}.market-admin-layout{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:18px;align-items:start}.market-admin-main{display:grid;gap:14px;min-width:0}.market-admin-list{display:grid;gap:10px}.market-admin-row{display:grid;grid-template-columns:minmax(240px,1fr) minmax(330px,.9fr);gap:14px;padding:15px 17px}.market-admin-row-title{display:flex;align-items:flex-start;gap:10px}.market-admin-row-title h3{margin:1px 0 3px}.market-admin-row-title p{margin:0;color:var(--muted,#68766d)}.market-admin-row-prices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.market-admin-row-prices span{display:grid;gap:3px;padding:9px;border-radius:11px;background:color-mix(in srgb,var(--surface,#fff) 92%,#78907e 8%)}.market-admin-row-prices .average{background:color-mix(in srgb,var(--surface,#fff) 82%,var(--primary,#087c30) 18%)}.market-admin-row-prices small,.market-admin-row-prices em{color:var(--muted,#68766d);font-style:normal}.market-admin-row>footer{grid-column:1/-1;border-top:1px solid var(--border,#dfe8df);padding-top:10px}.market-admin-row>footer form{margin-left:auto}.market-entry-form{position:sticky;top:90px;padding:17px}.market-entry-form>header{display:flex;gap:10px;margin-bottom:14px}.market-entry-form>header>span{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:color-mix(in srgb,var(--primary,#087c30) 12%,transparent);color:var(--primary,#087c30);font-size:22px}.market-entry-form header h3,.market-entry-form header p{margin:0}.market-entry-form header p{margin-top:3px;color:var(--muted,#68766d)}.market-entry-form form{display:grid;gap:11px}.settings-card-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}
@media(max-width:1100px){.market-admin-layout{grid-template-columns:1fr}.market-entry-form{position:static}.market-price-filters{grid-template-columns:repeat(3,minmax(0,1fr))}.market-search{grid-column:1/-1}.market-admin-row{grid-template-columns:1fr}.market-admin-row>footer{grid-column:auto}}
@media(max-width:760px){.field-label-action,.smart-price-heading,.market-price-hero{align-items:stretch;flex-direction:column}.smart-price-modes,.market-price-choices,.market-price-grid,.market-price-summary,.market-admin-summary,.market-admin-row-prices{grid-template-columns:1fr}.market-price-filters{grid-template-columns:1fr}.market-search{grid-column:auto}.market-price-card>header{flex-direction:column}.market-price-main{text-align:left}.market-price-range{grid-template-columns:repeat(3,minmax(90px,1fr));overflow:auto}.market-rate-card{min-width:0}.market-admin-row>footer time,.market-admin-row>footer form{margin-left:0}.field-label-action .btn{width:100%}}

/* v5.7.1 — responsive login, phone registration, Google/Facebook authentication */
.auth-route .portal-sidebar,.auth-route .mobile-bottom-nav,.auth-route .portal-footer{display:none!important}.auth-route .portal-shell{display:block;min-height:0}.auth-route .portal-main{width:100%;min-width:0;margin:0}.auth-route .portal-content{width:100%;max-width:none;padding:0}.auth-route .site-header{position:relative}.auth-route .flash{position:relative;z-index:8;margin-bottom:-58px;max-width:720px}
.auth-pro-page{min-height:calc(100dvh - 82px);padding:clamp(18px,3vw,42px);background:radial-gradient(circle at 8% 15%,rgba(160,215,115,.23),transparent 29%),radial-gradient(circle at 92% 86%,rgba(238,190,82,.14),transparent 28%),#f4f8f3}.auth-pro-shell{display:grid;grid-template-columns:minmax(330px,.9fr) minmax(430px,1.1fr);width:min(1120px,100%);min-height:650px;margin:auto;overflow:hidden;border:1px solid color-mix(in srgb,var(--border,#dfe8df) 88%,transparent);border-radius:30px;background:var(--surface,#fff);box-shadow:0 30px 80px rgba(17,63,31,.13)}
.auth-pro-brand{position:relative;display:flex;flex-direction:column;min-height:100%;padding:38px;overflow:hidden;color:#fff;background:linear-gradient(145deg,#075f27 0%,#0b7c31 58%,#159344 100%)}.auth-pro-brand:before,.auth-pro-brand:after{content:"";position:absolute;border-radius:50%;pointer-events:none}.auth-pro-brand:before{width:330px;height:330px;right:-170px;top:-120px;border:55px solid rgba(255,255,255,.07)}.auth-pro-brand:after{width:260px;height:260px;left:-140px;bottom:-130px;background:rgba(255,212,81,.09)}.auth-pro-logo{position:relative;z-index:2;display:flex;align-items:center;gap:13px}.auth-pro-logo img,.auth-pro-mobile-brand img{width:52px;height:52px;object-fit:contain;border-radius:15px;background:rgba(255,255,255,.94);padding:4px}.auth-pro-logo b,.auth-pro-logo small{display:block}.auth-pro-logo b{font-size:18px}.auth-pro-logo small{max-width:250px;margin-top:2px;color:rgba(255,255,255,.72);font-size:11px}.auth-pro-illustration{position:relative;z-index:2;display:flex;align-items:flex-end;justify-content:center;gap:9px;height:190px;margin:40px 0 16px}.auth-pro-illustration span{display:grid;place-items:center;width:95px;height:116px;border:1px solid rgba(255,255,255,.19);border-radius:26px 26px 18px 18px;background:linear-gradient(160deg,rgba(255,255,255,.2),rgba(255,255,255,.07));box-shadow:0 18px 42px rgba(0,0,0,.13);font-size:48px;backdrop-filter:blur(8px)}.auth-pro-illustration span:nth-child(2){height:158px;width:116px;font-size:58px}.auth-pro-illustration.register span:nth-child(1){height:158px;width:116px}.auth-pro-brand-copy{position:relative;z-index:2;margin-top:auto}.auth-pro-kicker{display:inline-flex;margin-bottom:10px;padding:6px 10px;border-radius:999px;background:rgba(255,255,255,.14);font-size:11px;font-weight:900;letter-spacing:.04em}.auth-pro-brand-copy h2{max-width:440px;margin:0;font-size:clamp(25px,3vw,38px);line-height:1.25}.auth-pro-brand-copy p{max-width:470px;margin:13px 0 0;color:rgba(255,255,255,.76)}.auth-pro-trust{position:relative;z-index:2;display:flex;flex-wrap:wrap;gap:8px 14px;margin-top:25px;color:rgba(255,255,255,.86);font-size:11px;font-weight:800}
.auth-pro-panel{display:flex;flex-direction:column;justify-content:center;padding:clamp(28px,5vw,62px)}.auth-pro-mobile-brand{display:none}.auth-pro-head>span{display:inline-flex;margin-bottom:6px;color:var(--primary,#087c30);font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.07em}.auth-pro-head h1{margin:0;font-size:clamp(30px,4vw,44px);line-height:1.15;color:var(--text,#17291c)}.auth-pro-head p{margin:9px 0 0;color:var(--muted,#65756b)}.auth-social-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:24px}.auth-social-btn{display:flex;align-items:center;justify-content:center;gap:10px;min-height:50px;padding:10px 14px;border:1px solid var(--border,#dfe8df);border-radius:14px;background:var(--surface,#fff);transition:.18s ease}.auth-social-btn:hover{transform:translateY(-1px);border-color:#b6c9ba;box-shadow:0 8px 22px rgba(25,65,35,.09)}.auth-social-btn.facebook{color:#1558a6}.auth-social-icon{display:grid;place-items:center;width:26px;height:26px;border-radius:8px;background:#f5f7fa;font:900 17px/1 Arial}.auth-social-btn.google .auth-social-icon{color:#4285f4}.auth-social-btn.facebook .auth-social-icon{color:#fff;background:#1877f2}.auth-divider{display:flex;align-items:center;gap:12px;margin:19px 0;color:var(--muted,#65756b);font-size:11px;font-weight:800}.auth-divider:before,.auth-divider:after{content:"";height:1px;flex:1;background:var(--border,#dfe8df)}
.auth-pro-form{display:grid;gap:15px;margin-top:24px}.auth-social-grid+.auth-divider+.auth-pro-form,.auth-divider+.auth-pro-form{margin-top:0}.auth-pro-form label>span:first-child{display:block;margin-bottom:6px;color:var(--text,#17291c);font-size:12px;font-weight:850}.auth-input-wrap{position:relative;display:flex;align-items:center;min-height:52px;border:1px solid var(--border,#dfe8df);border-radius:14px;background:var(--surface,#fff);transition:.17s ease}.auth-input-wrap:focus-within{border-color:var(--primary,#087c30);box-shadow:0 0 0 4px color-mix(in srgb,var(--primary,#087c30) 12%,transparent)}.auth-input-wrap>i{display:grid;place-items:center;width:44px;flex:0 0 44px;color:var(--muted,#65756b);font-style:normal;font-weight:900}.auth-input-wrap input{width:100%;min-width:0;height:50px;padding:0 13px 0 0!important;border:0!important;outline:0!important;background:transparent!important;box-shadow:none!important;color:var(--text,#17291c)}.auth-password-toggle{display:grid;place-items:center;width:44px;height:44px;flex:0 0 44px;border:0;background:transparent;color:var(--muted,#65756b);cursor:pointer}.auth-password-toggle.active{color:var(--primary,#087c30)}.auth-form-row{display:flex;align-items:center;justify-content:space-between;gap:12px}.auth-remember{display:flex;align-items:center;gap:7px;font-size:12px}.auth-remember span{margin:0!important}.auth-help-text{color:var(--muted,#65756b);font-size:11px}.auth-submit{min-height:52px;margin-top:2px;gap:10px;font-size:15px}.auth-switch{text-align:center;margin:22px 0 0;color:var(--muted,#65756b)}.auth-switch a{color:var(--primary,#087c30);font-weight:900}.auth-security-note{display:flex;align-items:center;justify-content:center;gap:7px;margin-top:17px;padding-top:16px;border-top:1px solid var(--border,#dfe8df);color:var(--muted,#65756b);font-size:10px;text-align:center}
.auth-register-page .auth-pro-shell{min-height:760px}.auth-register-form{margin-top:18px}.auth-account-picker{padding:0;border:0}.auth-account-picker legend{margin-bottom:8px;color:var(--text,#17291c);font-size:12px;font-weight:850}.auth-account-picker>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.auth-account-picker label{cursor:pointer}.auth-account-picker input{position:absolute;opacity:0;pointer-events:none}.auth-account-picker label>span{display:grid;grid-template-columns:38px 1fr;grid-template-rows:auto auto;column-gap:9px;min-height:70px;padding:11px;border:1px solid var(--border,#dfe8df);border-radius:14px;background:var(--surface,#fff)}.auth-account-picker label i{grid-row:1/3;display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:color-mix(in srgb,var(--primary,#087c30) 10%,transparent);font-style:normal;font-size:20px}.auth-account-picker label b{font-size:13px}.auth-account-picker label small{color:var(--muted,#65756b);font-size:10px}.auth-account-picker input:checked+span{border-color:var(--primary,#087c30);background:color-mix(in srgb,var(--surface,#fff) 94%,var(--primary,#087c30) 6%);box-shadow:0 0 0 3px color-mix(in srgb,var(--primary,#087c30) 10%,transparent)}.auth-field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.auth-contact-hint,.auth-password-help{margin:-6px 0 0;color:var(--muted,#65756b);font-size:10px}
.auth-settings-grid .auth-provider-card{position:relative}.provider-mark{display:grid!important;place-items:center;font:900 18px/1 Arial!important}.provider-mark.google{color:#4285f4;background:#eef4ff!important}.provider-mark.facebook{color:#fff;background:#1877f2!important}.oauth-callback-box{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:13px;padding:11px 13px;border:1px solid var(--border,#dfe8df);border-radius:13px;background:color-mix(in srgb,var(--surface,#fff) 94%,var(--primary,#087c30) 6%)}.oauth-callback-box div{min-width:0}.oauth-callback-box b,.oauth-callback-box code{display:block}.oauth-callback-box code{margin-top:4px;overflow:hidden;color:var(--primary,#087c30);font-size:11px;text-overflow:ellipsis;white-space:nowrap}.oauth-callback-box button{width:36px;height:36px;flex:0 0 36px;border:1px solid var(--border,#dfe8df);border-radius:10px;background:var(--surface,#fff);cursor:pointer}.auth-setup-status{display:grid;gap:8px}.auth-setup-status>div{display:grid;grid-template-columns:28px 1fr auto;align-items:center;gap:9px;padding:10px 11px;border-radius:12px;background:#f2f5f2}.auth-setup-status>div>span{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;font-weight:900}.auth-setup-status .ready>span{background:#dff4e5;color:#087c30}.auth-setup-status .warning>span{background:#fff0cd;color:#9a6900}.auth-setup-status .off>span{background:#e9edeb;color:#6d7770}.auth-setup-status small{color:var(--muted,#65756b)}.settings-help-note{margin:13px 0 0;color:var(--muted,#65756b);font-size:11px}
@media(max-width:980px){.auth-pro-page{padding:22px}.auth-pro-shell{grid-template-columns:minmax(270px,.75fr) minmax(400px,1.25fr)}.auth-pro-brand{padding:28px}.auth-pro-illustration{height:145px;margin:25px 0 12px}.auth-pro-illustration span{width:72px;height:88px;font-size:36px}.auth-pro-illustration span:nth-child(2),.auth-pro-illustration.register span:nth-child(1){width:92px;height:124px;font-size:46px}.auth-pro-brand-copy h2{font-size:27px}.auth-pro-panel{padding:34px}.auth-field-grid{grid-template-columns:1fr}.auth-register-page .auth-pro-shell{min-height:760px}}
@media(max-width:740px){.auth-route .site-header{display:none}.auth-route .flash{margin:10px auto -54px;width:calc(100% - 24px)}.auth-pro-page{min-height:100dvh;padding:0;background:var(--surface,#fff)}.auth-pro-shell{display:block;min-height:100dvh;border:0;border-radius:0;box-shadow:none}.auth-pro-brand{display:none}.auth-pro-panel{min-height:100dvh;justify-content:flex-start;padding:22px 20px 32px}.auth-pro-mobile-brand{display:flex;margin-bottom:32px}.auth-pro-mobile-brand a{display:flex;align-items:center;gap:9px;color:var(--primary,#087c30)}.auth-pro-mobile-brand img{width:42px;height:42px}.auth-pro-head h1{font-size:32px}.auth-social-grid{grid-template-columns:1fr}.auth-form-row{align-items:flex-start;flex-direction:column}.auth-account-picker>div{grid-template-columns:1fr 1fr}.auth-field-grid{grid-template-columns:1fr}.auth-register-page .auth-pro-panel{padding-bottom:38px}.auth-security-note{margin-bottom:env(safe-area-inset-bottom)}}
@media(max-width:420px){.auth-pro-panel{padding-left:15px;padding-right:15px}.auth-account-picker label>span{grid-template-columns:32px 1fr;padding:9px}.auth-account-picker label i{width:32px;height:32px}.auth-pro-head p{font-size:13px}.oauth-callback-box{align-items:flex-start}.oauth-callback-box code{white-space:normal;word-break:break-all}}

/* v5.7.2 — Product Category & Unit Manager */
.catalog-manager-head{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:18px}.catalog-manager-head>div:first-child{max-width:760px}.catalog-manager-head .eyebrow{display:block;margin-bottom:6px;color:var(--primary,#087c30);font-size:.78rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.catalog-manager-head h2{margin:0;font-size:clamp(1.55rem,2.5vw,2.25rem);line-height:1.15}.catalog-manager-head p{margin:8px 0 0;color:var(--muted,#64748b);line-height:1.65}.catalog-manager-head-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}.catalog-manager-head-actions .btn{display:inline-flex;align-items:center;gap:7px;white-space:nowrap}
.catalog-stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:18px}.catalog-stat-grid article{display:flex;align-items:center;gap:13px;min-height:92px;padding:16px;border:1px solid color-mix(in srgb,var(--border,#dfe7df) 88%,transparent);border-radius:18px;background:var(--surface,#fff);box-shadow:0 8px 24px rgba(15,23,42,.045)}.catalog-stat-grid article>span{display:grid;place-items:center;width:42px;height:42px;border-radius:13px;background:color-mix(in srgb,var(--primary,#087c30) 10%,transparent);color:var(--primary,#087c30);font-size:1.25rem}.catalog-stat-grid b{display:block;font-size:1.35rem;line-height:1}.catalog-stat-grid small{display:block;margin-top:6px;color:var(--muted,#64748b);font-size:.78rem}
.catalog-manager-panel{overflow:visible;padding:0}.catalog-manager-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:16px;border-bottom:1px solid var(--border,#e5e7eb)}.catalog-search-form{display:flex;align-items:center;gap:9px;flex:1;min-width:0}.catalog-manager-search{display:flex;align-items:center;gap:8px;flex:1;min-width:230px;padding:0 13px;border:1px solid var(--border,#d8e1dc);border-radius:12px;background:var(--surface,#fff)}.catalog-manager-search:focus-within{border-color:var(--primary,#087c30);box-shadow:0 0 0 3px color-mix(in srgb,var(--primary,#087c30) 13%,transparent)}.catalog-manager-search input{width:100%;border:0!important;box-shadow:none!important;background:transparent!important;padding:11px 0!important}.catalog-search-form select{min-width:145px}.catalog-view-actions{display:flex;align-items:center;gap:10px;color:var(--muted,#64748b)}.catalog-view-actions small{max-width:220px;text-align:right;line-height:1.4}.catalog-empty{min-height:280px;display:grid;place-items:center;align-content:center;gap:9px}.catalog-empty svg{color:var(--primary,#087c30)}
.category-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;padding:16px}.category-manager-card{position:relative;display:flex;flex-direction:column;min-width:0;overflow:hidden;border:1px solid var(--border,#e2e8f0);border-radius:18px;background:var(--surface,#fff);transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,opacity .18s ease}.category-manager-card:hover{transform:translateY(-2px);border-color:color-mix(in srgb,var(--primary,#087c30) 38%,var(--border,#e2e8f0));box-shadow:0 15px 34px rgba(15,23,42,.08)}.category-manager-card.is-inactive{opacity:.72}.category-manager-card.is-dragging{opacity:.45;transform:scale(.98)}.category-drag-handle{position:absolute;z-index:4;top:10px;left:10px;display:grid;place-items:center;width:32px;height:32px;border:1px solid rgba(255,255,255,.7);border-radius:10px;background:rgba(15,23,42,.58);color:#fff;cursor:grab;backdrop-filter:blur(8px)}.category-drag-handle:active{cursor:grabbing}.category-manager-media{position:relative;display:grid;place-items:center;aspect-ratio:16/8;overflow:hidden;background:linear-gradient(145deg,color-mix(in srgb,var(--primary,#087c30) 12%,var(--surface,#fff)),color-mix(in srgb,#f4b942 11%,var(--surface,#fff)))}.category-manager-media img{width:100%;height:100%;object-fit:cover}.category-manager-media>span{font-size:3.3rem}.category-manager-media .status-pill{position:absolute;top:11px;right:11px}.status-pill{display:inline-flex;align-items:center;width:max-content;padding:5px 9px;border-radius:999px;font-size:.7rem;font-style:normal;font-weight:800}.status-pill.success{background:#dcfce7;color:#166534}.status-pill.muted{background:#e2e8f0;color:#475569}.category-manager-body{display:flex;flex:1;flex-direction:column;gap:10px;padding:15px}.category-manager-title{display:flex;align-items:flex-start;gap:10px}.category-manager-title>span{font-size:1.35rem}.category-manager-title h3{margin:0;font-size:1rem;line-height:1.35}.category-manager-title small{display:block;margin-top:3px;color:var(--muted,#64748b)}.category-manager-body code{overflow:hidden;padding:7px 9px;border-radius:9px;background:var(--surface-2,#f5f7f6);color:var(--muted,#64748b);font-size:.72rem;text-overflow:ellipsis;white-space:nowrap}.category-manager-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-top:auto}.category-manager-metrics span{display:flex;flex-direction:column;gap:3px;padding:8px;border-radius:10px;background:var(--surface-2,#f7f9f8);color:var(--muted,#64748b);font-size:.66rem;text-align:center}.category-manager-metrics b{color:var(--text,#172026);font-size:.87rem}.category-manager-card footer{display:flex;gap:8px;padding:0 15px 15px}.category-manager-card footer .btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;flex:1}
.catalog-drawer[hidden]{display:none}.catalog-drawer{position:fixed;z-index:3000;inset:0;display:flex;justify-content:flex-end}.catalog-drawer-backdrop{position:absolute;inset:0;border:0;background:rgba(15,23,42,.52);backdrop-filter:blur(2px)}.catalog-drawer-panel{position:relative;display:flex;flex-direction:column;width:min(520px,100%);height:100%;overflow:auto;padding:22px;background:var(--surface,#fff);box-shadow:-22px 0 60px rgba(15,23,42,.2);animation:catalogDrawerIn .2s ease}.catalog-drawer-panel>header{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:18px;padding-bottom:14px;border-bottom:1px solid var(--border,#e5e7eb)}.catalog-drawer-panel>header span{color:var(--primary,#087c30);font-size:.73rem;font-weight:800;text-transform:uppercase}.catalog-drawer-panel>header h2{margin:4px 0 0;font-size:1.45rem}.catalog-drawer-panel>header button{display:grid;place-items:center;width:38px;height:38px;border:1px solid var(--border,#e5e7eb);border-radius:12px;background:var(--surface-2,#f7f9f8);color:var(--text,#172026)}.catalog-drawer-panel form{display:grid;gap:13px}.catalog-drawer-panel form>label{display:grid;gap:6px;font-weight:700}.catalog-drawer-panel form label small{color:var(--muted,#64748b);font-weight:500;line-height:1.45}.catalog-drawer-panel form>footer{position:sticky;bottom:-22px;display:flex;justify-content:flex-end;gap:9px;margin:8px -22px -22px;padding:15px 22px;background:color-mix(in srgb,var(--surface,#fff) 94%,transparent);border-top:1px solid var(--border,#e5e7eb);backdrop-filter:blur(14px)}.catalog-drawer-open{overflow:hidden}.catalog-upload-preview{display:grid;place-items:center;aspect-ratio:16/7;overflow:hidden;border:1px dashed color-mix(in srgb,var(--primary,#087c30) 42%,var(--border,#e5e7eb));border-radius:16px;background:color-mix(in srgb,var(--primary,#087c30) 6%,var(--surface,#fff))}.catalog-upload-preview img{width:100%;height:100%;object-fit:cover}.catalog-upload-preview span{font-size:3.5rem}.catalog-upload-field input{padding:10px;border:1px dashed var(--border,#d8e1dc);background:var(--surface-2,#f7f9f8)}.catalog-remove-image{padding:10px;border-radius:12px;background:#fff7ed;color:#9a3412}.switch-check{display:flex!important;align-items:center;gap:10px;padding:11px;border:1px solid var(--border,#e5e7eb);border-radius:12px}.switch-check span{display:grid}.switch-check small{margin-top:2px}.field-quick-links{display:flex;gap:10px;flex-wrap:wrap;margin-top:5px}.field-quick-links a,.field-label-action a{font-size:.73rem;font-weight:700;color:var(--primary,#087c30)}
.unit-manager-list{display:grid;gap:9px;padding:15px}.unit-manager-row{position:relative;display:grid;grid-template-columns:auto 68px minmax(160px,1.1fr) minmax(170px,1fr) minmax(130px,.7fr) auto auto;align-items:center;gap:13px;padding:13px 14px;border:1px solid var(--border,#e2e8f0);border-radius:16px;background:var(--surface,#fff);transition:border-color .18s ease,box-shadow .18s ease,opacity .18s ease}.unit-manager-row:hover{border-color:color-mix(in srgb,var(--primary,#087c30) 35%,var(--border,#e2e8f0));box-shadow:0 9px 24px rgba(15,23,42,.06)}.unit-manager-row.is-inactive{opacity:.68}.unit-manager-row.is-dragging{opacity:.42}.unit-manager-row .category-drag-handle{position:static;background:var(--surface-2,#f1f5f3);border-color:var(--border,#d8e1dc);color:var(--muted,#64748b)}.unit-symbol-box{display:grid;place-items:center;min-height:58px;padding:7px;border-radius:13px;background:color-mix(in srgb,var(--primary,#087c30) 9%,var(--surface,#fff));text-align:center}.unit-symbol-box b{font-size:1rem}.unit-symbol-box small{color:var(--muted,#64748b);font-family:ui-monospace,monospace}.unit-manager-name h3{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:0;font-size:.98rem}.unit-manager-name h3 em{padding:3px 7px;border-radius:999px;background:#fef3c7;color:#92400e;font-size:.61rem;font-style:normal}.unit-manager-name p{margin:4px 0 0;color:var(--muted,#64748b);font-size:.78rem}.unit-manager-meta{display:flex;gap:6px;flex-wrap:wrap}.unit-manager-meta span{padding:5px 8px;border-radius:999px;background:var(--surface-2,#f1f5f3);color:var(--muted,#64748b);font-size:.69rem}.unit-manager-usage{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:2px 6px}.unit-manager-usage b{font-size:.85rem}.unit-manager-usage small{color:var(--muted,#64748b);font-size:.66rem}.unit-live-preview{display:flex;align-items:center;gap:14px;padding:15px;border:1px solid color-mix(in srgb,var(--primary,#087c30) 25%,var(--border,#e5e7eb));border-radius:16px;background:linear-gradient(135deg,color-mix(in srgb,var(--primary,#087c30) 8%,var(--surface,#fff)),var(--surface,#fff))}.unit-live-preview>span{display:grid;place-items:center;min-width:64px;height:64px;padding:6px;border-radius:15px;background:var(--primary,#087c30);color:#fff;font-size:1.15rem;font-weight:900}.unit-live-preview b{display:block}.unit-live-preview small{display:block;margin-top:4px;color:var(--muted,#64748b)}
.catalog-manager-toast{min-width:220px;max-width:360px;padding:12px 15px;border-radius:12px;color:#fff;box-shadow:0 12px 30px rgba(15,23,42,.2);opacity:0;transform:translateY(-8px);transition:.2s ease}.catalog-manager-toast.show{opacity:1;transform:none}.catalog-manager-toast.success{background:#166534}.catalog-manager-toast.error{background:#b91c1c}.btn.is-loading{opacity:.65;pointer-events:none}
@keyframes catalogDrawerIn{from{transform:translateX(34px);opacity:.4}to{transform:none;opacity:1}}
@media(max-width:1180px){.category-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.unit-manager-row{grid-template-columns:auto 62px minmax(160px,1fr) minmax(150px,.85fr) auto}.unit-manager-usage{display:none}.catalog-view-actions small{display:none}}
@media(max-width:900px){.catalog-manager-head{align-items:flex-start;flex-direction:column}.catalog-manager-head-actions{justify-content:flex-start}.catalog-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.catalog-manager-toolbar{align-items:stretch;flex-direction:column}.catalog-search-form{flex-wrap:wrap}.catalog-manager-search{flex-basis:100%}.catalog-view-actions{justify-content:flex-end}.unit-manager-row{grid-template-columns:auto 58px minmax(0,1fr) auto}.unit-manager-meta{grid-column:3/5}.unit-manager-row>.status-pill{position:absolute;top:10px;right:10px}.unit-manager-row>.btn{grid-column:3/5;justify-self:end}}
@media(max-width:640px){.catalog-manager-head-actions{display:grid;width:100%;grid-template-columns:1fr 1fr}.catalog-manager-head-actions .btn:last-child{grid-column:1/-1}.catalog-stat-grid{gap:8px}.catalog-stat-grid article{min-height:78px;padding:12px}.catalog-stat-grid article>span{width:36px;height:36px}.category-card-grid{grid-template-columns:1fr;padding:10px}.category-manager-media{aspect-ratio:16/7}.catalog-search-form select,.catalog-search-form .btn{flex:1;min-width:0}.catalog-view-actions{justify-content:stretch}.catalog-view-actions .btn{width:100%}.catalog-drawer{align-items:flex-end}.catalog-drawer-panel{width:100%;height:min(90dvh,780px);padding:17px;border-radius:22px 22px 0 0;animation:catalogDrawerUp .2s ease}.catalog-drawer-panel form>footer{bottom:-17px;margin:8px -17px -17px;padding:13px 17px}.unit-manager-list{padding:10px}.unit-manager-row{grid-template-columns:auto 54px minmax(0,1fr);gap:9px;padding:11px}.unit-manager-name{padding-right:58px}.unit-manager-meta{grid-column:2/4}.unit-manager-row>.btn{grid-column:2/4;width:100%}.unit-manager-row>.status-pill{top:9px;right:9px}.unit-symbol-box{min-height:52px}.catalog-drawer-panel .form-grid.two{grid-template-columns:1fr}.field-quick-links{flex-direction:column;align-items:flex-start}@keyframes catalogDrawerUp{from{transform:translateY(35px);opacity:.4}to{transform:none;opacity:1}}}
@media(prefers-reduced-motion:reduce){.catalog-drawer-panel,.category-manager-card,.unit-manager-row,.catalog-manager-toast{animation:none;transition:none}}

/* v5.7.6 — Store Feed: farm work, production and supply-chain posts */
.btn.danger{background:#fff1f0;border-color:#f0c8c4;color:#b42f28}.btn.danger:hover{background:#b42f28;border-color:#b42f28;color:#fff}
.store-feed-card{min-width:0;overflow:hidden;border:1px solid var(--site-border,var(--line));border-radius:20px;background:var(--site-surface,#fff);box-shadow:0 9px 28px rgba(22,70,37,.06)}
.store-feed-card-head{display:flex;align-items:center;gap:11px;padding:14px 15px 10px}.store-feed-avatar{display:grid;place-items:center;flex:0 0 40px;width:40px;height:40px;overflow:hidden;border-radius:50%;background:linear-gradient(135deg,#e8f6e9,#cfe9d4);color:var(--green);font-weight:900}.store-feed-avatar img{width:100%;height:100%;object-fit:cover}.store-feed-card-head .grow{min-width:0}.store-feed-card-head b,.store-feed-card-head small{display:block}.store-feed-card-head b{overflow:hidden;color:var(--site-text,#17331e);font-size:13px;text-overflow:ellipsis;white-space:nowrap}.store-feed-card-head small{margin-top:2px;color:var(--site-muted,var(--muted));font-size:9px}.store-feed-card-badges{display:flex;align-items:flex-end;gap:5px;flex-direction:column}.store-feed-card-badges span{display:inline-flex;align-items:center;border-radius:999px;padding:4px 7px;font-size:7px;font-weight:900;white-space:nowrap}.store-feed-pin{background:#fff3c9;color:#805e00}.store-feed-type{background:#eaf5ec;color:#0a7634}.store-feed-caption{padding:2px 15px 14px;color:var(--site-text,#263c2c);font-size:11px;line-height:1.75;overflow-wrap:anywhere}.store-feed-media{display:grid;background:#edf3ed}.store-feed-media.mixed{grid-template-columns:1fr 1fr}.store-feed-media img,.store-feed-media video{display:block;width:100%;aspect-ratio:4/3;object-fit:cover;background:#111}.store-feed-media video{max-height:480px}.store-feed-card.compact{border-radius:17px}.store-feed-card.compact .store-feed-card-head{padding:11px 12px 8px}.store-feed-card.compact .store-feed-avatar{width:34px;height:34px;flex-basis:34px}.store-feed-card.compact .store-feed-caption{display:-webkit-box;padding:2px 12px 11px;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:3}.store-feed-card.compact .store-feed-media img,.store-feed-card.compact .store-feed-media video{aspect-ratio:16/10}
.public-store-feed-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.public-store-feed-section .portal-section-head>a{color:var(--green);font-weight:850}.store-feed-public-hero{position:relative;overflow:hidden;background:linear-gradient(125deg,#0b5f30,#118a46);color:#fff}.store-feed-public-hero:before{position:absolute;inset:0;background:linear-gradient(90deg,rgba(4,54,27,.96),rgba(5,81,39,.75),rgba(5,71,34,.4)),var(--store-feed-cover,none) center/cover no-repeat;content:""}.store-feed-public-hero-inner{position:relative;z-index:1;display:grid;gap:20px;padding-top:34px;padding-bottom:34px}.store-feed-back{width:max-content;color:#d6f2df;font-size:11px;font-weight:800}.store-feed-public-store{display:grid;grid-template-columns:76px minmax(0,1fr) auto;align-items:center;gap:17px}.store-feed-public-store>span{display:grid;place-items:center;width:76px;height:76px;overflow:hidden;border:3px solid rgba(255,255,255,.7);border-radius:22px;background:#fff;color:#087c30;font-size:28px;font-weight:900}.store-feed-public-store>span img{width:100%;height:100%;object-fit:cover}.store-feed-public-store small{font-size:9px;font-weight:900;letter-spacing:.6px;text-transform:uppercase}.store-feed-public-store h1{margin:3px 0 4px;font-size:31px}.store-feed-public-store p{max-width:690px;margin:0;color:#d4eadb;font-size:11px}.store-feed-public-store em{align-self:start;border:1px solid rgba(255,255,255,.35);border-radius:999px;padding:7px 10px;background:rgba(255,255,255,.12);font-size:9px;font-style:normal;font-weight:900}.store-feed-public-page{padding-top:24px;padding-bottom:50px}.store-feed-filter-bar,.store-feed-manager-filter{display:flex;align-items:end;gap:9px;margin-bottom:18px;padding:12px;border:1px solid var(--site-border,var(--line));border-radius:17px;background:var(--site-surface,#fff)}.store-feed-filter-bar label,.store-feed-manager-filter label{display:grid;gap:5px;min-width:180px}.store-feed-filter-bar label>span{color:var(--site-muted,var(--muted));font-size:8px;font-weight:850}.store-feed-filter-bar select,.store-feed-manager-filter select,.store-feed-manager-filter input{height:40px;border:1px solid var(--site-border,var(--line));border-radius:10px;background:var(--site-surface,#fff);color:var(--site-text,#17331e);padding:0 11px;outline:0}.store-feed-manager-filter label.grow{position:relative;display:flex;align-items:center;min-width:260px;flex:1}.store-feed-manager-filter label.grow svg{position:absolute;left:11px;color:var(--site-muted,var(--muted));pointer-events:none}.store-feed-manager-filter label.grow input{width:100%;padding-left:36px}.store-feed-public-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;gap:18px}.store-feed-empty{min-height:260px}.store-feed-empty>span{display:block;margin-bottom:8px;font-size:40px}.store-feed-pagination{margin-top:24px}
.store-feed-manager,.store-feed-admin{display:grid;gap:16px}.store-feed-manager-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.store-feed-manager-head>div:first-child>span{color:var(--green);font-size:9px;font-weight:900;letter-spacing:.6px;text-transform:uppercase}.store-feed-manager-head h1{margin:3px 0 4px;color:var(--site-text,#17331e);font-size:27px}.store-feed-manager-head p{max-width:720px;margin:0;color:var(--site-muted,var(--muted));font-size:10px;line-height:1.65}.store-feed-manager-actions{display:flex;gap:8px}.store-feed-manager-actions .btn{gap:7px}.store-feed-stats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.store-feed-stats article{display:flex;align-items:center;gap:11px;min-width:0;padding:14px;border:1px solid var(--site-border,var(--line));border-radius:16px;background:var(--site-surface,#fff)}.store-feed-stats article>span{display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;border-radius:12px;background:#eaf5ec;color:var(--green);font-weight:900}.store-feed-stats small,.store-feed-stats b{display:block}.store-feed-stats small{overflow:hidden;color:var(--site-muted,var(--muted));font-size:8px;text-overflow:ellipsis;white-space:nowrap}.store-feed-stats b{margin-top:2px;color:var(--site-text,#17331e);font-size:19px}.store-feed-manager-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;align-items:start;gap:15px}.store-feed-manager-layout>main{min-width:0}.store-feed-manager-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:14px}.store-feed-manager-item{overflow:hidden;border:1px solid var(--site-border,var(--line));border-radius:20px;background:var(--site-surface,#fff)}.store-feed-manager-item>.store-feed-card{border:0;border-radius:0;box-shadow:none}.store-feed-manager-item>footer{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 12px;border-top:1px solid var(--site-border,var(--line));background:color-mix(in srgb,var(--site-surface,#fff) 92%,#edf5ed)}.store-feed-manager-item>footer>div{display:flex;align-items:center;gap:7px}.store-feed-manager-item>footer small{color:var(--site-muted,var(--muted));font-size:7px}.store-feed-manager-item>footer form{display:inline-flex}.store-feed-tips{position:sticky;top:88px;padding:18px}.store-feed-tips>span{font-size:34px}.store-feed-tips h3{margin:5px 0 10px;color:var(--site-text,#17331e);font-size:15px}.store-feed-tips ul{display:grid;gap:8px;margin:0;padding:0;list-style:none}.store-feed-tips li{position:relative;padding-left:18px;color:var(--site-text,#314938);font-size:9px;line-height:1.55}.store-feed-tips li:before{position:absolute;left:0;color:var(--green);content:"✓";font-weight:900}.store-feed-tips p{margin:14px 0 0;padding:10px;border-radius:11px;background:#f1f7f1;color:#52665a;font-size:8px;line-height:1.6}
.store-feed-editor{position:fixed;inset:0;z-index:220}.store-feed-editor[hidden]{display:none}.store-feed-editor-backdrop{position:absolute;inset:0;width:100%;height:100%;border:0;background:rgba(5,24,12,.58);backdrop-filter:blur(4px)}.store-feed-editor-panel{position:absolute;top:0;right:0;display:grid;grid-template-rows:auto minmax(0,1fr);width:min(620px,100%);height:100%;overflow:hidden;background:var(--site-surface,#fff);box-shadow:-20px 0 60px rgba(0,0,0,.2)}.store-feed-editor-panel>header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 18px;border-bottom:1px solid var(--site-border,var(--line))}.store-feed-editor-panel>header span{color:var(--green);font-size:8px;font-weight:900}.store-feed-editor-panel>header h2{margin:2px 0 0;color:var(--site-text,#17331e);font-size:20px}.store-feed-editor-panel>header>button{display:grid;place-items:center;width:38px;height:38px;border:0;border-radius:11px;background:#eef4ee;color:#35503d;font-size:23px;cursor:pointer}.store-feed-editor-panel form{display:grid;grid-template-rows:minmax(0,1fr) auto;min-height:0}.store-feed-editor-grid{display:grid;grid-template-columns:1fr 1fr;align-content:start;gap:12px;padding:17px 18px;overflow:auto}.store-feed-editor-grid>label:not(.store-feed-upload):not(.store-feed-check){display:grid;gap:6px;color:var(--site-text,#29402f);font-size:9px;font-weight:850}.store-feed-editor-grid .full{grid-column:1/-1}.store-feed-editor-grid select,.store-feed-editor-grid textarea{width:100%;border:1px solid var(--site-border,var(--line));border-radius:11px;background:var(--site-surface,#fff);color:var(--site-text,#17331e);padding:10px 11px;outline:0;resize:vertical}.store-feed-editor-grid select{height:42px;padding-top:0;padding-bottom:0}.store-feed-editor-grid select:focus,.store-feed-editor-grid textarea:focus{border-color:var(--green);box-shadow:0 0 0 3px rgba(8,124,48,.1)}.store-feed-upload{position:relative;display:grid;place-items:center;min-height:112px;padding:14px;border:1px dashed #a9c9af;border-radius:15px;background:#f7fbf7;color:#32543a;text-align:center;cursor:pointer}.store-feed-upload>span{font-size:24px}.store-feed-upload b,.store-feed-upload small{display:block}.store-feed-upload b{font-size:10px}.store-feed-upload small{color:#75867a;font-size:7px}.store-feed-upload input{position:absolute;width:1px;height:1px;overflow:hidden;opacity:0}.store-feed-media-preview{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:10px;border:1px solid var(--site-border,var(--line));border-radius:14px;background:#f4f8f4}.store-feed-media-preview img,.store-feed-media-preview video{width:100%;aspect-ratio:16/10;border-radius:11px;background:#111;object-fit:cover}.store-feed-check{display:flex;align-items:center;gap:7px;color:var(--site-text,#314638);font-size:9px;font-weight:800}.store-feed-check input{width:17px;height:17px;accent-color:var(--green)}.store-feed-editor-panel form>footer{display:flex;justify-content:flex-end;gap:8px;padding:13px 18px;border-top:1px solid var(--site-border,var(--line));background:var(--site-surface,#fff)}
.store-feed-admin-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;gap:14px}.store-feed-admin-item{overflow:hidden;border:1px solid var(--site-border,var(--line));border-radius:20px;background:var(--site-surface,#fff)}.store-feed-admin-store{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:11px 12px;border-bottom:1px solid var(--site-border,var(--line))}.store-feed-admin-store>a{display:flex;align-items:center;gap:8px;min-width:0}.store-feed-admin-store>a>span{display:grid;place-items:center;width:33px;height:33px;border-radius:10px;background:#eaf5ec;color:var(--green)}.store-feed-admin-store small,.store-feed-admin-store b{display:block}.store-feed-admin-store small{color:var(--site-muted,var(--muted));font-size:7px}.store-feed-admin-store b{max-width:170px;overflow:hidden;color:var(--site-text,#17331e);font-size:10px;text-overflow:ellipsis;white-space:nowrap}.store-feed-admin-item>.store-feed-card{border:0;border-radius:0;box-shadow:none}.store-feed-admin-actions{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:9px;padding:11px 12px;border-top:1px solid var(--site-border,var(--line));background:#f7faf7}.store-feed-admin-actions>label:first-child{display:grid;gap:4px}.store-feed-admin-actions label>span{color:var(--site-muted,var(--muted));font-size:7px;font-weight:850}.store-feed-admin-actions select{height:36px;border:1px solid var(--site-border,var(--line));border-radius:9px;background:#fff;padding:0 9px}.store-feed-admin-actions .store-feed-check{grid-column:1/-1}
html.store-feed-editor-open{overflow:hidden}
[data-theme="dark"] .store-feed-type,[data-theme="dark"] .store-feed-avatar,[data-theme="dark"] .store-feed-stats article>span{background:#203c29;color:#7de39b}[data-theme="dark"] .store-feed-pin{background:#4a3e15;color:#f6d76f}[data-theme="dark"] .store-feed-upload,[data-theme="dark"] .store-feed-media-preview,[data-theme="dark"] .store-feed-tips p,[data-theme="dark"] .store-feed-admin-actions,[data-theme="dark"] .store-feed-manager-item>footer{background:#17271c}[data-theme="dark"] .store-feed-upload{border-color:#44634d;color:#dceade}[data-theme="dark"] .store-feed-admin-actions select{background:#17271c;color:#edf7ef}
@media(max-width:1180px){.public-store-feed-grid,.store-feed-public-grid,.store-feed-admin-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.store-feed-manager-layout{grid-template-columns:minmax(0,1fr) 240px}.store-feed-stats{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:900px){.store-feed-manager-layout{grid-template-columns:1fr}.store-feed-tips{position:static}.store-feed-manager-list{grid-template-columns:1fr 1fr}.store-feed-manager-head{align-items:stretch;flex-direction:column}.store-feed-manager-actions{align-self:flex-start}.store-feed-public-store{grid-template-columns:62px minmax(0,1fr)}.store-feed-public-store>span{width:62px;height:62px;border-radius:18px}.store-feed-public-store>em{display:none}.store-feed-filter-bar,.store-feed-manager-filter{align-items:stretch;flex-wrap:wrap}.store-feed-filter-bar label,.store-feed-manager-filter label,.store-feed-manager-filter label.grow{min-width:calc(50% - 6px)}}
@media(max-width:680px){.public-store-feed-grid,.store-feed-public-grid,.store-feed-manager-list,.store-feed-admin-grid{grid-template-columns:1fr}.store-feed-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.store-feed-stats article:last-child{grid-column:1/-1}.store-feed-manager-actions{display:grid;grid-template-columns:1fr 1fr;width:100%}.store-feed-manager-actions .btn{min-width:0;padding-left:8px;padding-right:8px}.store-feed-filter-bar,.store-feed-manager-filter{display:grid;grid-template-columns:1fr 1fr}.store-feed-filter-bar label,.store-feed-manager-filter label,.store-feed-manager-filter label.grow{min-width:0}.store-feed-manager-filter label.grow{grid-column:1/-1}.store-feed-filter-bar .btn,.store-feed-manager-filter .btn{width:100%}.store-feed-public-hero-inner{padding-top:24px;padding-bottom:25px}.store-feed-public-store{align-items:start}.store-feed-public-store h1{font-size:22px}.store-feed-public-store p{font-size:9px}.store-feed-card-head{align-items:flex-start}.store-feed-card-badges{max-width:90px}.store-feed-media.mixed{grid-template-columns:1fr}.store-feed-editor-panel{top:auto;bottom:0;height:min(92dvh,760px);border-radius:22px 22px 0 0}.store-feed-editor-grid{grid-template-columns:1fr}.store-feed-editor-grid .full{grid-column:auto}.store-feed-media-preview{grid-template-columns:1fr}.store-feed-manager-item>footer{align-items:flex-start;flex-direction:column}.store-feed-manager-item>footer>div:last-child{width:100%}.store-feed-manager-item>footer>div:last-child .btn{flex:1}.store-feed-admin-actions{grid-template-columns:1fr}.store-feed-admin-actions .store-feed-check{grid-column:auto}.store-feed-admin-actions .btn{width:100%}}

/* v5.7.7 — Product selling radius, delivery options, and pre-order */
.product-delivery-editor{overflow:hidden}.delivery-radius-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:16px}.delivery-number-card{display:grid;gap:8px;padding:14px;border:1px solid var(--site-border);border-radius:16px;background:color-mix(in srgb,var(--site-surface) 92%,var(--green) 8%)}.delivery-number-card>span{font-weight:800}.delivery-number-card small,.delivery-method-title small,.delivery-method-card small,.preorder-switch small,.delivery-location-note{color:var(--site-muted);line-height:1.55}.delivery-method-title{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin:20px 0 10px}.delivery-method-title small{max-width:650px}.delivery-method-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.delivery-method-card{position:relative;display:grid;grid-template-columns:auto auto 1fr;align-items:start;gap:10px;padding:14px;border:1px solid var(--site-border);border-radius:16px;background:var(--site-surface);cursor:pointer;transition:.18s ease}.delivery-method-card:hover{transform:translateY(-1px);border-color:color-mix(in srgb,var(--green) 55%,var(--site-border))}.delivery-method-card:has(input:checked){border-color:var(--green);box-shadow:0 0 0 3px color-mix(in srgb,var(--green) 14%,transparent);background:color-mix(in srgb,var(--green) 7%,var(--site-surface))}.delivery-method-card input{margin-top:4px;accent-color:var(--green)}.delivery-method-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:color-mix(in srgb,var(--green) 12%,var(--site-surface));font-size:20px}.delivery-method-card b,.preorder-switch b{display:block;margin-bottom:3px}.preorder-editor-card{margin-top:16px;padding:15px;border:1px solid var(--site-border);border-radius:18px;background:var(--site-surface)}.preorder-editor-card.is-active{border-color:color-mix(in srgb,var(--green) 65%,var(--site-border));background:color-mix(in srgb,var(--green) 6%,var(--site-surface))}.preorder-switch{display:flex;align-items:center;gap:12px;cursor:pointer}.preorder-switch>input{position:absolute;opacity:0;pointer-events:none}.switch-track{position:relative;flex:0 0 46px;width:46px;height:26px;border-radius:999px;background:color-mix(in srgb,var(--site-muted) 35%,var(--site-border));transition:.18s}.switch-track:after{content:"";position:absolute;top:3px;left:3px;width:20px;height:20px;border-radius:50%;background:#fff;box-shadow:0 2px 8px rgba(0,0,0,.18);transition:.18s}.preorder-switch input:checked+.switch-track{background:var(--green)}.preorder-switch input:checked+.switch-track:after{transform:translateX(20px)}.preorder-fields{display:flex;align-items:end;gap:12px;margin-top:14px;padding-top:14px;border-top:1px dashed var(--site-border)}.preorder-fields>label{display:grid;gap:7px}.preorder-zero-stock-note{margin-top:12px;padding:10px 12px;border-radius:12px;background:color-mix(in srgb,#f59e0b 14%,var(--site-surface));color:color-mix(in srgb,#9a5a00 80%,var(--site-text));font-weight:700}.delivery-location-note{margin-top:14px;padding:10px 12px;border-radius:12px;background:color-mix(in srgb,var(--site-border) 45%,transparent)}.preorder-stock-zero input{border-color:#f59e0b!important}.product-card-preorder-badge,.product-delivery-chip{display:inline-flex;align-items:center;gap:5px;border-radius:999px;padding:4px 8px;font-size:11px;font-weight:800}.product-card-preorder-badge{background:#fff2d6;color:#8b5600;border:1px solid #f0c36a}.product-delivery-chip{background:color-mix(in srgb,var(--green) 10%,var(--site-surface));color:var(--green);border:1px solid color-mix(in srgb,var(--green) 25%,var(--site-border))}.product-delivery-summary{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.preorder-notice{padding:13px 14px;border:1px solid #f0c36a;border-radius:14px;background:#fff7e5;color:#744700}.cart-preorder-note{display:inline-flex;margin-top:8px;padding:6px 9px;border-radius:10px;background:#fff7e5;color:#744700;font-size:12px;font-weight:700}.checkout-delivery-methods{display:grid;gap:12px}.checkout-delivery-store{padding:14px;border:1px solid var(--site-border);border-radius:16px;background:var(--site-surface)}.checkout-delivery-store>header{display:flex;justify-content:space-between;gap:12px;margin-bottom:10px}.checkout-delivery-choices{display:flex;flex-wrap:wrap;gap:8px}.checkout-delivery-choice{display:flex;align-items:center;gap:8px;padding:9px 11px;border:1px solid var(--site-border);border-radius:12px;cursor:pointer}.checkout-delivery-choice:has(input:checked){border-color:var(--green);background:color-mix(in srgb,var(--green) 8%,var(--site-surface))}.checkout-delivery-choice input{accent-color:var(--green)}
@media(max-width:900px){.delivery-method-grid{grid-template-columns:1fr}.delivery-method-title{display:grid}.preorder-fields{align-items:stretch;flex-direction:column}}
@media(max-width:640px){.delivery-radius-grid{grid-template-columns:1fr}.product-delivery-editor{margin-inline:-2px}.delivery-method-card{grid-template-columns:auto auto 1fr}.preorder-editor-card{padding:13px}.preorder-switch{align-items:flex-start}.checkout-delivery-choices{display:grid;grid-template-columns:1fr}.checkout-delivery-choice{min-height:46px}}


/* v5.7.7 selling radius, delivery options, and pre-order */
.product-delivery-summary{display:flex;flex-wrap:wrap;gap:.55rem;margin:.85rem 0 1rem}.product-delivery-summary>span,.order-delivery-flags>span{display:inline-flex;align-items:center;gap:.35rem;padding:.48rem .7rem;border:1px solid var(--border);border-radius:999px;background:var(--surface-soft);font-size:.82rem;font-weight:750}.product-delivery-summary .is-preorder,.order-delivery-flags .is-preorder{background:#f0fdf4;border-color:#86efac;color:#166534}.product-preorder-notice,.cart-preorder-note,.checkout-preorder-note{display:flex;align-items:flex-start;gap:.55rem;padding:.72rem .8rem;border:1px solid #86efac;border-radius:14px;background:#f0fdf4;color:#166534}.product-preorder-notice{margin:.8rem 0}.product-preorder-notice span,.cart-preorder-note span{font-size:.84rem}.cart-preorder-note{margin:.55rem 0;max-width:680px}.checkout-delivery-groups{display:grid;gap:1rem}.checkout-delivery-store{padding:1rem;border:1px solid var(--border);border-radius:18px;background:var(--surface-soft)}.checkout-delivery-store>header{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem;margin-bottom:.8rem}.checkout-delivery-store>header>div{display:flex;align-items:center;gap:.65rem}.checkout-delivery-store>header>div>span{font-size:1.25rem}.checkout-delivery-store header small{display:block;margin-top:.15rem;color:var(--muted)}.checkout-delivery-store header em{font-style:normal;font-size:.78rem;font-weight:800;color:#166534;background:#dcfce7;border-radius:999px;padding:.35rem .55rem}.checkout-delivery-methods{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.7rem}.checkout-delivery-method{position:relative;display:flex;align-items:center;gap:.65rem;padding:.8rem;border:1px solid var(--border);border-radius:15px;background:var(--surface);cursor:pointer;transition:.18s ease}.checkout-delivery-method:hover{border-color:var(--primary)}.checkout-delivery-method:has(input:checked){border-color:var(--primary);box-shadow:0 0 0 3px color-mix(in srgb,var(--primary) 15%,transparent)}.checkout-delivery-method input{position:absolute;opacity:0;pointer-events:none}.checkout-delivery-method-icon{display:grid;place-items:center;width:40px;height:40px;border-radius:12px;background:var(--surface-soft);font-size:1.2rem}.checkout-delivery-method small{display:block;color:var(--muted);font-size:.74rem;line-height:1.35}.checkout-preorder-note{margin-top:.75rem}.preorder-inline{display:block;margin-top:.2rem;color:#166534;font-weight:750}.order-delivery-flags{display:flex;flex-wrap:wrap;gap:.45rem;margin:.45rem 0}.invoice-product-cell b{line-height:1.35}
@media(max-width:900px){.checkout-delivery-methods{grid-template-columns:1fr}.checkout-delivery-store>header{align-items:flex-start}.product-delivery-summary{gap:.4rem}.product-delivery-summary>span{font-size:.75rem;padding:.4rem .55rem}}
@media(prefers-color-scheme:dark){.product-delivery-summary .is-preorder,.order-delivery-flags .is-preorder,.product-preorder-notice,.cart-preorder-note,.checkout-preorder-note{background:rgba(22,101,52,.22);color:#bbf7d0;border-color:#166534}}

/* ================================================================
   v5.7.8 Chat Responsive & Cross-Browser Compatibility
   ================================================================ */
.chat-pro-page{
  --chat-viewport-height:100vh;
  --chat-toolbar-height:68px;
  --chat-composer-height:86px;
  width:100%;
  min-width:0;
  max-width:1680px;
  margin-inline:auto;
  box-sizing:border-box;
}
.chat-pro-page *,
.chat-pro-page *::before,
.chat-pro-page *::after{box-sizing:border-box}
.chat-pro-page img,.chat-pro-page video{max-width:100%;height:auto}
.chat-pro-page button,.chat-pro-page input,.chat-pro-page select,.chat-pro-page textarea{font:inherit}
.chat-pro-heading>div,.chat-pro-heading-actions,.chat-pro-grid>*{min-width:0}
.chat-summary-pill{display:inline-flex;align-items:center;gap:6px;padding:8px 11px;border:1px solid var(--ui-border,var(--line));border-radius:999px;background:var(--ui-surface,var(--card,#fff));font-size:11px;font-weight:800;white-space:nowrap}
.chat-summary-pill.unread{color:#9f1239;background:#fff1f2;border-color:#fecdd3}
.chat-pro-grid{
  height:700px;
  height:calc(100vh - 218px);
  height:calc(var(--chat-viewport-height,100vh) - 218px);
  min-height:590px;
  max-height:850px;
  overflow:hidden;
}
.chat-pro-inbox,.chat-pro-thread,.chat-pro-context,.chat-pro-welcome{height:100%;min-height:0;background:var(--ui-surface,var(--card,#fff))}
.chat-pro-inbox,.chat-pro-thread{isolation:isolate}
.chat-thread-list,.chat-message-stream,.chat-pro-context{scrollbar-gutter:stable;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
.chat-thread-list{height:100%;min-height:0}
.chat-thread-item{min-height:72px;touch-action:manipulation;-webkit-tap-highlight-color:transparent}
.chat-thread-item:focus-visible{outline:3px solid rgba(8,124,48,.25);outline-offset:-2px}
.chat-thread-copy b,.chat-thread-copy strong,.chat-thread-copy small,.chat-thread-copy em{max-width:100%}
.chat-thread-header{flex:0 0 auto;background:var(--ui-surface,var(--card,#fff))}
.chat-thread-identity{min-width:0;flex:1 1 auto}
.chat-thread-identity>div{min-width:0}
.chat-thread-identity b,.chat-thread-identity small{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.chat-thread-header-actions{flex:0 0 auto;display:flex;align-items:center;justify-content:flex-end;gap:7px}
.chat-thread-header-actions .btn{min-height:38px;white-space:nowrap}
.chat-privacy-banner,.chat-store-bridge-banner{flex:0 0 auto}
.chat-message-stream{
  flex:1 1 auto;
  min-height:0!important;
  max-height:none!important;
  overflow-y:auto;
  overflow-x:hidden;
  scroll-behavior:smooth;
  overflow-anchor:auto;
}
.chat-message{min-width:72px;max-width:min(78%,760px);word-break:break-word;overflow-wrap:break-word}
.chat-message p{white-space:normal;word-break:break-word;overflow-wrap:anywhere}
.chat-message-meta{display:flex;align-items:center;gap:6px;flex-wrap:wrap;min-width:0}
.chat-message-meta b{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.chat-message-meta time{margin-inline-start:auto;white-space:nowrap}
.chat-attachment{max-width:100%;min-width:0;overflow:hidden}
.chat-attachment img{display:block;max-width:min(100%,520px);max-height:420px;object-fit:contain;background:#0b1510}
.chat-attachment span{word-break:break-word;overflow-wrap:anywhere}
.chat-product-context{max-width:100%;min-width:0}
.chat-product-context>span:last-child{min-width:0}
.chat-product-context b,.chat-product-context em,.chat-product-context strong{overflow-wrap:anywhere}
.chat-reply-box{
  position:relative!important;
  bottom:auto!important;
  flex:0 0 auto;
  z-index:12;
  width:100%;
  min-width:0;
  padding-bottom:max(12px,env(safe-area-inset-bottom));
  background:var(--ui-surface,var(--card,#fff));
}
.chat-reply-main{min-width:0}
.chat-reply-main textarea{min-width:0;max-height:150px;resize:vertical;line-height:1.45}
.chat-reply-main .btn{min-width:84px;min-height:46px}
.chat-send-error{display:block;margin:0 2px;padding:8px 10px;border-radius:10px;background:#fff1f2;color:#9f1239;font-size:11px;font-weight:700}
.chat-send-error[hidden]{display:none!important}
.chat-compose-modal,.chat-context-overlay{background:rgba(5,20,12,.68)}
.chat-compose-sheet{background:var(--ui-surface,var(--card,#fff));-webkit-overflow-scrolling:touch}
.chat-compose-sheet input,.chat-compose-sheet select,.chat-compose-sheet textarea{font-size:16px}
.chat-context-overlay{touch-action:none}
.chat-pro-context[data-chat-context]{background:var(--ui-surface,var(--card,#fff))}
.chat-context-list dd{min-width:0;overflow-wrap:anywhere;word-break:break-word}
.chat-context-list a{overflow-wrap:anywhere}
.chat-compat-mode .chat-live-pill{display:none}
.chat-compat-mode .chat-reply-box button[type="submit"]{min-width:96px}

@supports ((-webkit-backdrop-filter:blur(8px)) or (backdrop-filter:blur(8px))){
  .chat-summary-pill,.chat-live-pill,.chat-bot-pill{-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:rgba(255,255,255,.86)}
  html[data-theme="dark"] .chat-summary-pill,html[data-theme="dark"] .chat-live-pill,html[data-theme="dark"] .chat-bot-pill{background:rgba(19,32,24,.88)}
  .chat-compose-modal,.chat-context-overlay{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}
}

@media (min-width:1251px) and (max-width:1450px){
  .chat-pro-grid{grid-template-columns:minmax(280px,330px) minmax(0,1fr)!important}
  .chat-info-button{display:inline-flex!important}
  .chat-pro-context[data-chat-context]{position:fixed;top:0;right:0;bottom:0;z-index:1550;width:min(390px,92vw);display:block!important;padding:0 18px 24px;overflow:auto;border-radius:24px 0 0 24px;transform:translateX(105%);transition:transform .22s ease;box-shadow:-20px 0 70px rgba(2,31,16,.2)}
  .chat-pro-context[data-chat-context].is-open{transform:translateX(0)}
  .chat-context-mobile-head{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;margin:0 -18px 14px;padding:13px 18px;border-bottom:1px solid var(--ui-border,var(--line));background:var(--ui-surface,var(--card,#fff))}
  .chat-pro-context section+section{margin-top:20px!important;padding:18px 0 0!important;border-left:0!important;border-top:1px solid var(--ui-border,var(--line))!important}
}

@media (max-width:1250px){
  .chat-pro-grid{
    height:680px;
    height:calc(100vh - 210px);
    height:calc(var(--chat-viewport-height,100vh) - 210px);
    min-height:560px;
    max-height:820px;
  }
  .chat-pro-inbox{min-width:270px}
  .chat-pro-context[data-chat-context]{max-width:420px}
}

@media (max-width:900px){
  .chat-pro-page{gap:10px;margin-inline:-2px;width:calc(100% + 4px)}
  .chat-pro-heading{padding-inline:4px}
  .chat-pro-heading-actions{max-width:100%;overflow-x:auto;overflow-y:hidden;flex-wrap:nowrap;-webkit-overflow-scrolling:touch;scrollbar-width:none}
  .chat-pro-heading-actions::-webkit-scrollbar{display:none}
  .chat-pro-grid,.chat-pro-grid.no-thread{
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    overflow:visible;
  }
  .chat-pro-inbox,.chat-pro-thread{
    width:100%;
    height:calc(100vh - 176px);
    height:calc(var(--chat-viewport-height,100vh) - 176px);
    min-height:430px!important;
    max-height:none!important;
  }
  .chat-pro-grid.no-thread .chat-pro-inbox,.chat-pro-page.chat-show-inbox .chat-pro-grid.has-thread .chat-pro-inbox{display:flex}
  .chat-pro-grid.has-thread .chat-pro-thread{display:flex}
  .chat-pro-inbox-head{flex:0 0 auto}
  .chat-filter,.chat-status-tabs{flex:0 0 auto}
  .chat-thread-list{flex:1 1 auto;max-height:none!important}
  .chat-thread-header{top:0}
  .chat-message-stream{flex:1 1 auto;height:auto!important;min-height:0!important;max-height:none!important}
  .chat-reply-box{position:sticky!important;bottom:0!important;padding-bottom:max(10px,env(safe-area-inset-bottom));box-shadow:0 -10px 28px rgba(7,45,24,.08)}
  .chat-pro-page.chat-keyboard-open .chat-pro-heading,.chat-pro-page.chat-keyboard-open .chat-security-note{display:none}
  .chat-pro-page.chat-keyboard-open .chat-pro-inbox,.chat-pro-page.chat-keyboard-open .chat-pro-thread{height:calc(var(--chat-viewport-height,100vh) - 18px)}
  .chat-pro-page.chat-keyboard-open .chat-reply-box{padding-bottom:8px}
  .chat-compose-sheet{max-height:calc(100vh - 12px);max-height:calc(var(--chat-viewport-height,100vh) - 12px)}
  .chat-pro-context[data-chat-context]{height:100vh;height:var(--chat-viewport-height,100vh)}
}

@media (max-width:680px){
  .chat-pro-page{margin-inline:-6px;width:calc(100% + 12px)}
  .chat-pro-heading h2{font-size:23px}
  .chat-pro-heading .eyebrow{font-size:9px}
  .chat-security-note{margin-inline:2px}
  .chat-pro-inbox,.chat-pro-thread{height:calc(100vh - 162px);height:calc(var(--chat-viewport-height,100vh) - 162px);min-height:400px!important;border-radius:16px!important}
  .chat-pro-inbox-head{padding:12px}
  .chat-pro-inbox-head .btn{min-height:40px}
  .chat-thread-item{min-height:68px;padding:9px 8px;gap:8px}
  .chat-thread-copy time{font-size:9px}
  .chat-thread-copy strong{font-size:11px}
  .chat-thread-copy small{font-size:10px}
  .chat-thread-header{min-height:60px;padding:8px 9px}
  .chat-thread-identity>span{flex:0 0 38px}
  .chat-thread-header-actions{gap:4px}
  .chat-info-button{min-width:40px;padding-inline:9px!important;font-size:0!important}
  .chat-info-button::before{content:'ⓘ';font-size:16px}
  .chat-privacy-banner,.chat-store-bridge-banner{padding:7px 10px;font-size:9px}
  .chat-message-stream{padding:10px 8px 8px}
  .chat-message{max-width:92%;padding:10px 11px;border-radius:16px}
  .chat-message-meta{gap:4px}
  .chat-message-meta b{font-size:10px}
  .chat-message-meta time{font-size:8px}
  .chat-attachment img{max-height:310px}
  .chat-product-context{grid-template-columns:64px minmax(0,1fr)}
  .chat-product-context-image{width:64px;height:64px}
  .chat-reply-box{padding:8px 8px max(8px,env(safe-area-inset-bottom))}
  .chat-reply-tools{min-height:32px;overflow-x:auto;white-space:nowrap;-webkit-overflow-scrolling:touch}
  .chat-reply-main{display:grid!important;grid-template-columns:minmax(0,1fr) 62px!important;gap:7px}
  .chat-reply-main textarea{min-height:46px;max-height:112px;padding:11px;font-size:16px}
  .chat-reply-main .btn{width:62px;min-width:62px;height:46px;min-height:46px;padding-inline:6px;font-size:11px}
  .chat-image-preview{max-height:118px}
  .chat-compose-modal{padding:0!important}
  .chat-compose-sheet{border-radius:20px 20px 0 0!important}
  .chat-context-list>div{grid-template-columns:82px minmax(0,1fr)}
}

@media (max-width:420px){
  .chat-pro-page{margin-inline:-8px;width:calc(100% + 16px)}
  .chat-summary-pill,.chat-live-pill,.chat-bot-pill{padding:6px 8px;font-size:9px}
  .chat-pro-inbox,.chat-pro-thread{height:calc(100vh - 154px);height:calc(var(--chat-viewport-height,100vh) - 154px)}
  .chat-thread-item{grid-template-columns:38px minmax(0,1fr) auto}
  .chat-thread-avatar{width:38px;height:38px;border-radius:12px}
  .chat-thread-copy em{font-size:8px}
  .chat-message{max-width:94%}
  .chat-message p{font-size:12px;line-height:1.55}
  .chat-context-list>div{grid-template-columns:1fr;gap:3px}
}

@media (max-width:900px) and (orientation:landscape){
  .chat-pro-heading,.chat-security-note{display:none}
  .chat-pro-inbox,.chat-pro-thread{height:calc(100vh - 34px);height:calc(var(--chat-viewport-height,100vh) - 34px);min-height:300px!important}
  .chat-thread-header{min-height:52px}
  .chat-privacy-banner,.chat-store-bridge-banner{display:none}
  .chat-reply-tools{display:none}
}

@media (prefers-reduced-motion:reduce){
  .chat-pro-page *{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
}

@media (forced-colors:active){
  .chat-thread-item.active,.chat-message,.chat-summary-pill,.chat-live-pill,.chat-bot-pill{border:1px solid CanvasText}
  .chat-thread-item.active{outline:2px solid Highlight}
  .chat-unread{background:Highlight;color:HighlightText}
}

html[data-theme="dark"] .chat-summary-pill.unread{color:#fecdd3;background:#3f1722;border-color:#7f1d36}
html[data-theme="dark"] .chat-reply-box,html[data-theme="dark"] .chat-thread-header{background:var(--ui-surface,var(--card,#132018))}

/* ================================================================
   v5.8.0 Chat send-button reliability and responsive composer
   ================================================================ */
.chat-reply-box{
  isolation:isolate;
  overflow:visible;
}
.chat-reply-main{
  position:relative;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:end;
  gap:8px;
  width:100%;
  min-width:0;
}
.chat-reply-main textarea[data-chat-message-input]{
  display:block;
  width:100%;
  min-width:0;
  min-height:48px;
  max-height:150px;
  margin:0;
  overflow-y:auto;
  touch-action:pan-y;
}
.chat-send-button{
  position:relative;
  z-index:3;
  display:inline-flex!important;
  align-items:center;
  justify-content:center;
  gap:7px;
  width:auto!important;
  min-width:104px!important;
  min-height:48px!important;
  margin:0!important;
  padding:10px 16px!important;
  overflow:visible!important;
  white-space:nowrap;
  cursor:pointer!important;
  pointer-events:auto!important;
  touch-action:manipulation;
  -webkit-tap-highlight-color:transparent;
  user-select:none;
  -webkit-user-select:none;
}
.chat-send-button-icon{display:inline-grid;place-items:center;font-size:15px;line-height:1}
.chat-send-button-label{display:inline-block;line-height:1.2}
.chat-send-button:disabled,.chat-send-button[aria-busy="true"]{cursor:wait!important;opacity:.72}
.chat-send-button.is-loading .chat-send-button-icon{animation:chat-send-pulse .8s ease-in-out infinite alternate}
@keyframes chat-send-pulse{from{transform:translateX(0);opacity:.55}to{transform:translateX(3px);opacity:1}}
.chat-reply-box>.chat-send-error{grid-column:1/-1;width:100%;margin:0}
.chat-reply-box[data-chat-sending="1"]{opacity:1!important}
.chat-reply-box[data-chat-sending="1"] textarea{opacity:.8}

@media(max-width:900px){
  .chat-reply-box{
    position:sticky!important;
    bottom:var(--chat-bottom-offset,0px)!important;
    z-index:30!important;
    padding-bottom:10px;
    padding-bottom:max(10px,env(safe-area-inset-bottom));
    background:var(--ui-surface,var(--card,#fff));
  }
  .chat-pro-page.chat-keyboard-open .chat-reply-box{bottom:0!important;padding-bottom:8px}
}
@media(max-width:680px){
  .chat-reply-main{grid-template-columns:minmax(0,1fr) 82px!important;gap:7px!important}
  .chat-send-button{
    width:82px!important;
    min-width:82px!important;
    min-height:48px!important;
    height:48px!important;
    padding:7px 9px!important;
    font-size:11px!important;
  }
  .chat-send-button-icon{font-size:14px}
}
@media(max-width:380px){
  .chat-reply-main{grid-template-columns:minmax(0,1fr) 54px!important}
  .chat-send-button{width:54px!important;min-width:54px!important;padding:7px!important}
  .chat-send-button-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
  .chat-send-button-icon{font-size:18px}
}
@media(prefers-reduced-motion:reduce){.chat-send-button.is-loading .chat-send-button-icon{animation:none}}

/* ==========================================================================
   v5.8.1 — clean left sidebar + reliable soft navigation (PC/Tablet/Mobile)
   ========================================================================== */
.sidebar-v4{
  --sidebar-width:264px;
  --sidebar-compact-width:76px;
  width:var(--sidebar-width);
  overflow-x:hidden;
  overscroll-behavior:contain;
  -webkit-overflow-scrolling:touch;
  background:#0d2918;
  background:linear-gradient(180deg,#12341f 0%,#0c2918 54%,#091f13 100%);
  border-right:1px solid rgba(255,255,255,.07);
  box-shadow:8px 0 28px rgba(4,28,14,.08);
}
.portal-shell{grid-template-columns:var(--sidebar-width,264px) minmax(0,1fr)}
.sidebar-v4-head{
  position:sticky;
  top:-12px;
  z-index:6;
  margin:-2px -1px 8px;
  padding:2px 1px 8px;
  background:linear-gradient(180deg,#12341f 72%,rgba(18,52,31,0));
}
.sidebar-v4-brand{min-height:54px;border:1px solid transparent;transition:background .16s ease,border-color .16s ease}
.sidebar-v4-brand:hover{border-color:rgba(255,255,255,.09);background:rgba(255,255,255,.055)}
.sidebar-user-card,.sidebar-guest-card{border-color:rgba(255,255,255,.09)!important;background:rgba(255,255,255,.055)!important;box-shadow:none!important}
.sidebar-menu-search{margin-top:2px;border-color:rgba(255,255,255,.12);background:rgba(0,0,0,.12)}
.sidebar-menu-search:focus-within{border-color:rgba(109,219,142,.58);box-shadow:0 0 0 3px rgba(75,190,109,.13)}
.sidebar-v4-nav{gap:7px!important;padding-bottom:max(20px,env(safe-area-inset-bottom))}
.sidebar-nav-group{position:relative;gap:3px;padding:0 1px 7px}
.sidebar-nav-group:not(:last-of-type):after{content:"";height:1px;margin:7px 8px 0;background:rgba(255,255,255,.055)}
.sidebar-v4 nav .sidebar-nav-group>small{margin:11px 10px 5px;color:#7f9c89;font-size:.51rem;letter-spacing:.105em}
.sidebar-v4 nav .sidebar-nav-item{
  grid-template-columns:36px minmax(0,1fr) auto 16px;
  min-height:44px;
  padding:4px 8px 4px 4px;
  border-radius:12px;
  color:#cfe0d4;
  line-height:1.25;
  contain:layout paint;
  transition:background .14s ease,border-color .14s ease,color .14s ease,box-shadow .14s ease;
}
.sidebar-v4 nav .sidebar-nav-item:hover{background:rgba(255,255,255,.075);border-color:rgba(255,255,255,.085);color:#fff}
.sidebar-v4 nav .sidebar-nav-item.active{background:linear-gradient(90deg,rgba(33,164,82,.38),rgba(33,164,82,.13));border-color:rgba(111,228,145,.24);box-shadow:inset 3px 0 #6dde91,0 8px 18px rgba(0,0,0,.09)}
.sidebar-nav-icon{width:36px;height:34px;border-radius:10px;background:rgba(255,255,255,.06)}
.sidebar-nav-item.active .sidebar-nav-icon{background:#e6f8eb;color:#08783a}
.sidebar-nav-label{font-size:.69rem;letter-spacing:.002em}
.sidebar-nav-item--text-only{grid-template-columns:minmax(0,1fr) auto 16px!important;padding-left:14px!important}
.sidebar-nav-item--text-only .sidebar-nav-label{font-weight:850;color:#eef8f1}
.sidebar-nav-loader{display:none;width:13px;height:13px;border:2px solid rgba(255,255,255,.24);border-top-color:#8ee5a8;border-radius:50%}
.sidebar-nav-item.is-navigating .sidebar-nav-loader,.sidebar-v4-brand.is-navigating:after,.sidebar-user-card>a.is-navigating:after,.sidebar-guest-card>a.is-navigating:after{display:block;animation:sidebar-nav-spin .68s linear infinite}
.sidebar-nav-item.is-navigating{border-color:rgba(111,228,145,.27);background:rgba(43,162,82,.2);color:#fff}
.sidebar-v4-brand.is-navigating{position:relative;background:rgba(255,255,255,.06)}
.sidebar-v4-brand.is-navigating:after,.sidebar-user-card>a.is-navigating:after,.sidebar-guest-card>a.is-navigating:after{content:"";position:absolute;width:13px;height:13px;border:2px solid rgba(255,255,255,.28);border-top-color:#8ee5a8;border-radius:50%}
.sidebar-v4-brand.is-navigating:after{right:12px;top:20px}
.sidebar-user-card>a,.sidebar-guest-card>a{position:relative}
.sidebar-user-card>a.is-navigating .ui-icon,.sidebar-guest-card>a.is-navigating .ui-icon{opacity:0}
@keyframes sidebar-nav-spin{to{transform:rotate(360deg)}}
.portal-body.portal-sidebar-compact .portal-shell{grid-template-columns:var(--sidebar-compact-width,76px) minmax(0,1fr)}
.portal-body.portal-sidebar-compact .sidebar-v4{width:var(--sidebar-compact-width,76px)}
.portal-body.portal-sidebar-compact .sidebar-nav-item--text-only{grid-template-columns:1fr!important;min-height:12px!important;padding:0!important;margin:6px 8px;border:0;background:rgba(255,255,255,.13);box-shadow:none}
.portal-body.portal-sidebar-compact .sidebar-nav-item--text-only .sidebar-nav-label,.portal-body.portal-sidebar-compact .sidebar-nav-item--text-only .sidebar-nav-loader{display:none!important}
.soft-nav-loading .portal-main{opacity:1;filter:none}
.soft-nav-loading #mainContent{position:relative}
.soft-nav-loading #mainContent:before{content:"";position:absolute;inset:0;z-index:20;pointer-events:none;background:linear-gradient(180deg,rgba(255,255,255,.045),transparent 180px)}
[data-theme="dark"] .soft-nav-loading #mainContent:before{background:linear-gradient(180deg,rgba(255,255,255,.018),transparent 180px)}

@media(max-width:1180px) and (min-width:1001px){
  .sidebar-v4{--sidebar-width:244px}
  .sidebar-v4 nav .sidebar-nav-item{grid-template-columns:34px minmax(0,1fr) auto 16px}
  .sidebar-nav-icon{width:34px}
}
@media(max-width:1000px){
  .portal-shell,.portal-body.portal-sidebar-compact .portal-shell{grid-template-columns:minmax(0,1fr)}
  .sidebar-v4,.portal-body.portal-sidebar-compact .sidebar-v4{
    width:min(90vw,336px);
    max-width:336px;
    padding-top:max(70px,calc(54px + env(safe-area-inset-top)));
    padding-right:12px;
    padding-left:12px;
    border-right:0;
    box-shadow:22px 0 55px rgba(0,0,0,.3);
    transform:translate3d(-104%,0,0);
    left:0!important;
    transition:transform .22s cubic-bezier(.2,.75,.25,1);
    will-change:transform;
  }
  .portal-body.portal-nav-open .sidebar-v4{transform:translate3d(0,0,0)}
  [dir="rtl"] .sidebar-v4,[dir="rtl"] .portal-body.portal-sidebar-compact .sidebar-v4{left:auto!important;right:0!important;transform:translate3d(104%,0,0)}
  [dir="rtl"] .portal-body.portal-nav-open .sidebar-v4{transform:translate3d(0,0,0)}
  .sidebar-v4-head{position:static;margin-top:0;background:transparent}
  .sidebar-v4 nav .sidebar-nav-item{min-height:46px;font-size:.72rem}
  .sidebar-nav-label{font-size:.72rem}
  .portal-overlay{backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px)}
  .portal-body.portal-nav-open{overflow:hidden;touch-action:none}
  .portal-body.portal-nav-open .sidebar-v4{touch-action:pan-y}
}
@media(max-width:520px){
  .sidebar-v4,.portal-body.portal-sidebar-compact .sidebar-v4{width:min(92vw,328px);padding-inline:10px}
  .sidebar-v4-brand{min-height:50px}
  .sidebar-user-card,.sidebar-guest-card{margin-inline:1px!important}
  .sidebar-menu-search{margin-inline:1px}
  .sidebar-v4 nav .sidebar-nav-item{min-height:47px;border-radius:11px}
}
@media(prefers-reduced-motion:reduce){
  .sidebar-v4,.sidebar-v4 nav .sidebar-nav-item,.sidebar-v4-brand{transition:none!important}
  .sidebar-nav-loader,.sidebar-v4-brand.is-navigating:after,.sidebar-user-card>a.is-navigating:after,.sidebar-guest-card>a.is-navigating:after{animation-duration:1.2s}
}

/* v5.8.2: footer spacing and responsive sitemap link */
.portal-footer{display:flex;align-items:center;justify-content:flex-start;gap:8px;flex-wrap:wrap;line-height:1.5}.portal-footer-copy,.portal-footer-link{display:inline-flex;align-items:center;min-width:0}.portal-footer-link{font-weight:750;white-space:nowrap}.portal-footer-separator{display:inline-flex;align-items:center;opacity:.62;user-select:none}@media(max-width:620px){.portal-footer{justify-content:center;text-align:center;gap:6px 8px;padding-left:16px;padding-right:16px}.portal-footer-copy{justify-content:center}.portal-footer-link{justify-content:center}.portal-footer-separator{display:inline-flex}}

/* v5.9.0: stable settings workspace + clean manual ABA KHQR configuration */
.settings-studio,.settings-panel,.settings-card-grid,.settings-pro-card,.settings-pro-card>header,.settings-pro-card>header>div{min-width:0}
.settings-pro-card{overflow:hidden}
.settings-tabs{overscroll-behavior-inline:contain}
.settings-tabs button{flex:0 0 auto}
.khqr-settings-card>header{align-items:center}
.khqr-setup-badge{display:inline-flex;align-items:center;gap:6px;flex:0 0 auto;padding:7px 10px;border-radius:999px;background:color-mix(in srgb,#d69700 12%,var(--site-bg));color:#8a6300;font-size:.72rem;font-style:normal;font-weight:900;white-space:nowrap}
.khqr-setup-badge i{display:grid;place-items:center;width:20px;height:20px;border-radius:50%;background:#d69700;color:#fff;font-style:normal}
.khqr-setup-badge.ready{background:color-mix(in srgb,var(--green) 11%,var(--site-bg));color:var(--green)}
.khqr-setup-badge.ready i{background:var(--green)}
.khqr-settings-layout{display:grid;grid-template-columns:minmax(210px,280px) minmax(0,1fr);align-items:start;gap:20px}
.khqr-qr-editor{display:grid;gap:10px;min-width:0}
.khqr-qr-preview{display:grid;place-items:center;aspect-ratio:1/1;overflow:hidden;padding:12px;border:1px solid var(--site-border);border-radius:calc(var(--site-card-radius) + 2px);background:linear-gradient(145deg,#fff,#f3f8f4)}
.khqr-qr-preview img{width:100%;height:100%;border-radius:12px;object-fit:contain;background:#fff}
.khqr-qr-preview>div{display:grid;place-items:center;gap:6px;text-align:center;color:#c4262f}
.khqr-qr-preview>div b{display:grid;place-items:center;width:88px;height:88px;border:5px solid #c4262f;border-radius:18px;font-size:1.2rem;letter-spacing:.08em}
.khqr-qr-preview>div small{max-width:170px;color:var(--site-muted);font-size:.72rem;line-height:1.45}
.khqr-qr-editor>.file-button{width:100%}
.khqr-qr-editor>small{color:var(--site-muted);font-size:.7rem;line-height:1.55}
.khqr-config-fields{display:grid;gap:13px;min-width:0}
.khqr-safety-note{display:grid;grid-template-columns:36px minmax(0,1fr);align-items:start;gap:10px;padding:12px;border:1px solid color-mix(in srgb,var(--green) 22%,var(--site-border));border-radius:var(--site-button-radius);background:color-mix(in srgb,var(--green) 6%,var(--site-bg))}
.khqr-safety-note>span{display:grid;place-items:center;width:36px;height:36px;border-radius:11px;background:var(--green);color:#fff;font-weight:900}
.khqr-safety-note p{display:grid;gap:2px;margin:0}.khqr-safety-note small{color:var(--site-muted);font-size:.72rem;line-height:1.55}
.checkout-khqr-panel{display:grid;grid-template-columns:minmax(170px,220px) minmax(0,1fr);gap:17px;margin-top:14px;padding:15px;border:1px solid #efcbd0;border-radius:16px;background:linear-gradient(145deg,#fff8f8,#fff)}
.checkout-khqr-panel[hidden]{display:none!important}
.checkout-khqr-image{overflow:hidden;aspect-ratio:1/1;padding:9px;border:1px solid #ecd5d8;border-radius:14px;background:#fff}
.checkout-khqr-image img{width:100%;height:100%;object-fit:contain;border-radius:9px}
.checkout-khqr-copy{display:grid;align-content:start;gap:10px;min-width:0}
.checkout-khqr-copy>header{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.checkout-khqr-copy h4{margin:0;color:#a71f2a}.checkout-khqr-copy header span{padding:4px 8px;border-radius:999px;background:#fbe3e6;color:#a71f2a;font-size:.67rem;font-weight:900;white-space:nowrap}
.checkout-khqr-details{display:grid;gap:7px;margin:0}.checkout-khqr-details>div{display:grid;grid-template-columns:minmax(95px,.65fr) minmax(0,1fr);gap:10px;padding-bottom:7px;border-bottom:1px dashed #eadcdf}.checkout-khqr-details dt{color:var(--muted);font-size:.72rem}.checkout-khqr-details dd{margin:0;font-size:.78rem;font-weight:850;overflow-wrap:anywhere}
.checkout-khqr-instructions{margin:0;color:var(--muted);font-size:.76rem;line-height:1.65}.checkout-khqr-warning{display:flex;align-items:flex-start;gap:7px;padding:9px 10px;border-radius:11px;background:#fff4d8;color:#765700;font-size:.7rem;font-weight:750;line-height:1.5}
@media(max-width:760px){.khqr-settings-layout{grid-template-columns:1fr}.khqr-qr-editor{width:min(100%,320px);justify-self:center}.khqr-settings-card>header{align-items:flex-start;flex-wrap:wrap}.khqr-setup-badge{margin-left:50px}.checkout-khqr-panel{grid-template-columns:1fr}.checkout-khqr-image{width:min(100%,240px);justify-self:center}}
@media(max-width:430px){.khqr-setup-badge{margin-left:0}.checkout-khqr-panel{margin-inline:-2px;padding:11px}.checkout-khqr-copy>header{display:grid}.checkout-khqr-details>div{grid-template-columns:1fr;gap:2px}}

/* v5.9.1: guided user top-up and evidence-first wallet review */
.wallet-page-head{align-items:flex-end}.wallet-topup-workspace{padding:0;overflow:hidden;border-color:color-mix(in srgb,#c4262f 20%,var(--line,#dce8df));box-shadow:0 20px 60px rgba(34,74,48,.08)}
.wallet-topup-heading{margin:0;padding:20px 22px;border-bottom:1px solid var(--line,#dce8df);background:linear-gradient(135deg,color-mix(in srgb,var(--green,#08743f) 7%,#fff),#fff)}
.wallet-topup-heading .eyebrow{color:var(--green,#08743f);font-weight:850}.wallet-topup-heading h3{margin:.15rem 0}.wallet-topup-heading p{margin:0;color:var(--muted,#647469)}
.wallet-topup-layout{display:grid;grid-template-columns:minmax(245px,320px) minmax(0,1fr);gap:0;min-width:0}.wallet-khqr-card{display:grid;align-content:start;gap:14px;padding:22px;background:linear-gradient(155deg,#b8202a,#d63742);color:#fff;min-width:0}
[data-wallet-topup].method-no-khqr .wallet-topup-layout{grid-template-columns:minmax(0,1fr)}
.wallet-khqr-card[hidden],.wallet-khqr-card.unavailable[hidden]{display:none!important}.wallet-khqr-card>header{display:flex;align-items:center;gap:10px}.wallet-khqr-card>header>span{display:grid;place-items:center;width:46px;height:46px;border-radius:14px;background:#fff;color:#bd202b;font-size:.72rem;font-weight:950;letter-spacing:.06em}.wallet-khqr-card>header>div{display:grid;gap:2px}.wallet-khqr-card>header small{color:rgba(255,255,255,.72)}
.wallet-khqr-image{aspect-ratio:1/1;padding:10px;border-radius:20px;background:#fff;box-shadow:0 16px 38px rgba(69,4,10,.2)}.wallet-khqr-image img{display:block;width:100%;height:100%;border-radius:12px;object-fit:contain}
.wallet-khqr-card dl{display:grid;gap:8px;margin:0}.wallet-khqr-card dl>div{display:grid;gap:2px;padding:9px 10px;border-radius:12px;background:rgba(255,255,255,.1)}.wallet-khqr-card dt{font-size:.65rem;color:rgba(255,255,255,.68)}.wallet-khqr-card dd{margin:0;font-size:.78rem;font-weight:850;overflow-wrap:anywhere}.wallet-khqr-card p{margin:0;font-size:.71rem;line-height:1.65;color:rgba(255,255,255,.84)}
.copy-mini{display:inline-flex;align-items:center;justify-content:center;margin-left:6px;padding:3px 7px;border:0;border-radius:8px;background:rgba(255,255,255,.16);color:inherit;font:inherit;font-size:.62rem;font-weight:850;cursor:pointer}.wallet-reference-value .copy-mini{background:color-mix(in srgb,var(--green,#08743f) 10%,transparent);color:var(--green,#08743f)}
.wallet-khqr-card.unavailable{place-items:center;align-content:center;min-height:330px;text-align:center;background:linear-gradient(145deg,#f8f5ed,#fff)}.wallet-khqr-card.unavailable h4{margin:0;max-width:230px;color:#745e23;line-height:1.6}.wallet-khqr-placeholder{position:relative;display:grid;place-items:center;width:124px;height:124px;border:5px solid #c7b36d;border-radius:26px;color:#967b22}.wallet-khqr-placeholder span{position:absolute;right:-12px;top:-12px;display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#d69b16;color:#fff;font-weight:950}
.wallet-topup-form{display:grid;gap:0;min-width:0;background:var(--card,#fff)}.wallet-form-section{display:grid;gap:14px;padding:20px 22px;border-bottom:1px solid var(--line,#dce8df)}.wallet-form-section-title{display:grid;grid-template-columns:34px minmax(0,1fr);align-items:center;gap:10px}.wallet-form-section-title i{display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:#e8f6ed;color:var(--green,#08743f);font-style:normal;font-weight:900}.wallet-form-section-title>div{display:grid;gap:2px}.wallet-form-section-title small{color:var(--muted,#647469);font-size:.7rem;line-height:1.45}
.wallet-saved-payment{border:1px solid color-mix(in srgb,var(--green,#08743f) 24%,var(--line,#dce8df));border-radius:16px;background:color-mix(in srgb,var(--green,#08743f) 4%,var(--card,#fff));overflow:hidden}.wallet-saved-payment summary{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:11px;padding:14px;cursor:pointer;list-style:none}.wallet-saved-payment summary::-webkit-details-marker{display:none}.wallet-saved-payment-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:var(--green,#08743f);color:#fff;font-weight:900}.wallet-saved-payment summary>span:nth-child(2){display:grid;gap:2px;min-width:0}.wallet-saved-payment summary small{color:var(--muted,#647469);font-size:.68rem}.wallet-saved-payment summary b,.wallet-saved-payment summary em{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.wallet-saved-payment summary em{font-size:.72rem;color:var(--muted,#647469);font-style:normal}.wallet-saved-payment summary strong{color:var(--green,#08743f);font-size:.76rem}.wallet-saved-payment-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:14px;border-top:1px solid var(--line,#dce8df);background:var(--card,#fff)}.wallet-saved-payment-fields>label:first-child{grid-column:1/-1}.wallet-saved-payment-fields>p{grid-column:1/-1;margin:0;color:var(--muted,#647469);font-size:.72rem;line-height:1.5}
.wallet-amount-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(180px,.72fr);gap:12px}.wallet-amount-field{display:grid;gap:6px}.wallet-amount-field>span,.wallet-transfer-preview>span{color:var(--muted,#647469);font-size:.68rem;font-weight:800}.wallet-amount-field>div{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;overflow:hidden;border:2px solid color-mix(in srgb,var(--green,#08743f) 24%,var(--line,#dce8df));border-radius:14px;background:var(--card,#fff)}.wallet-amount-field input{min-width:0;border:0!important;box-shadow:none!important;font-size:1.15rem;font-weight:900}.wallet-amount-field>div>b{padding:0 13px;color:var(--green,#08743f);font-size:.72rem}.wallet-transfer-preview{display:grid;align-content:center;gap:2px;padding:11px 13px;border:1px solid #efcbd0;border-radius:14px;background:#fff7f8}.wallet-transfer-preview b{color:#aa1d28;font-size:1.15rem}.wallet-transfer-preview small{color:#8c6468;font-size:.64rem}
.wallet-receipt-upload{display:grid!important;gap:8px}.receipt-file-name{display:none;color:var(--green,#08743f);font-size:.7rem;font-weight:850}.receipt-file-name:not(:empty){display:block}.wallet-payment-confirm{display:flex;align-items:flex-start;gap:10px;padding:12px 13px;border:1px solid color-mix(in srgb,var(--green,#08743f) 24%,var(--line,#dce8df));border-radius:13px;background:#f4fbf6;font-size:.76rem;font-weight:800;line-height:1.5}.wallet-payment-confirm input{flex:0 0 auto;margin-top:2px}
.wallet-submit-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;padding:18px 22px;background:color-mix(in srgb,var(--green,#08743f) 4%,var(--card,#fff))}.wallet-submit-row>div:first-child{display:flex;align-items:center;gap:8px;max-width:520px;color:var(--muted,#647469)}.wallet-submit-row>div:first-child>span{font-size:1.2rem}.wallet-submit-row .processing-inline{grid-column:1/-1}
.wallet-request-history{overflow:hidden}.wallet-request-list{display:grid}.wallet-request-row{display:grid;grid-template-columns:44px minmax(0,1fr) auto;align-items:center;gap:12px;padding:14px 2px;border-top:1px solid var(--line,#dce8df)}.wallet-request-type-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:14px;background:#e8f6ed;color:var(--green,#08743f);font-size:1.25rem;font-weight:900}.wallet-request-type-icon.out{background:#fff1e8;color:#b05b19}.wallet-request-main{display:grid;gap:2px;min-width:0}.wallet-request-main>span,.wallet-request-main>small{color:var(--muted,#647469);font-size:.67rem}.wallet-request-main>b{font-size:.92rem}.wallet-request-main>em{margin-top:3px;color:#8a5e00;font-size:.66rem;font-style:normal}.wallet-request-side{display:grid;justify-items:end;gap:6px;text-align:right}.wallet-request-side>small{color:var(--muted,#647469);font-size:.65rem}
.wallet-admin-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:16px}.wallet-admin-summary article{display:grid;gap:5px;padding:17px;border:1px solid var(--line,#dce8df);border-radius:18px;background:var(--card,#fff);box-shadow:0 10px 28px rgba(24,70,40,.05)}.wallet-admin-summary article>span,.wallet-admin-summary article>small{color:var(--muted,#647469);font-size:.68rem}.wallet-admin-summary article>b{font-size:1.22rem}.wallet-admin-summary article.positive{border-color:color-mix(in srgb,var(--green,#08743f) 25%,var(--line,#dce8df));background:linear-gradient(145deg,#effaf3,var(--card,#fff))}
.wallet-admin-filters{margin-bottom:16px}.wallet-review-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.wallet-review-card{display:grid;align-content:start;gap:14px;min-width:0;overflow:hidden}.wallet-review-card>header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.wallet-review-kind{display:flex;align-items:center;gap:10px;min-width:0}.wallet-review-kind>span{display:grid;place-items:center;width:42px;height:42px;flex:0 0 auto;border-radius:14px;background:#e8f6ed;color:var(--green,#08743f);font-size:1.25rem;font-weight:900}.wallet-review-card.withdraw .wallet-review-kind>span{background:#fff1e8;color:#b05b19}.wallet-review-kind>div{display:grid;gap:2px;min-width:0}.wallet-review-kind small{color:var(--muted,#647469);font-size:.66rem}.wallet-review-kind b{overflow-wrap:anywhere}
.wallet-review-amount{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:10px;padding:13px;border-radius:15px;background:linear-gradient(135deg,#effaf3,#fff8f8)}.wallet-review-amount>div{display:grid;gap:2px}.wallet-review-amount>div:last-child{text-align:right}.wallet-review-amount small{color:var(--muted,#647469);font-size:.65rem}.wallet-review-amount>span{color:var(--muted,#647469)}
.wallet-review-details{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;margin:0;border:1px solid var(--line,#dce8df);border-radius:14px;overflow:hidden}.wallet-review-details>div{display:grid;gap:3px;padding:10px 11px;border-bottom:1px solid var(--line,#dce8df)}.wallet-review-details>div:nth-last-child(-n+2){border-bottom:0}.wallet-review-details>div:nth-child(odd){border-right:1px solid var(--line,#dce8df)}.wallet-review-details>div.wide{grid-column:1/-1;border-right:0}.wallet-review-details dt{color:var(--muted,#647469);font-size:.62rem}.wallet-review-details dd{display:grid;gap:2px;margin:0;font-size:.73rem;font-weight:800;overflow-wrap:anywhere}.wallet-review-details dd>small{color:var(--muted,#647469);font-size:.62rem;font-weight:500}
.wallet-proof-preview{position:relative;display:block;overflow:hidden;aspect-ratio:16/7;border:1px solid var(--line,#dce8df);border-radius:15px;background:#f4f6f4}.wallet-proof-preview img{width:100%;height:100%;object-fit:contain}.wallet-proof-preview>span{position:absolute;right:8px;bottom:8px;padding:5px 8px;border-radius:9px;background:rgba(17,31,21,.82);color:#fff;font-size:.62rem;font-weight:850}.wallet-proof-missing,.wallet-review-warning{padding:10px 11px;border-radius:12px;background:#fff3d8;color:#775800;font-size:.68rem;font-weight:750;line-height:1.5}.wallet-review-note{padding:10px 11px;border-radius:12px;background:#f4f7f5}.wallet-review-note.admin{background:#edf7ff}.wallet-review-note b{font-size:.66rem}.wallet-review-note p{margin:3px 0 0;color:var(--muted,#647469);font-size:.7rem;line-height:1.55}.wallet-review-form{display:grid;grid-template-columns:minmax(110px,.7fr) minmax(0,1.4fr) auto;gap:8px}.wallet-review-form .processing-inline{grid-column:1/-1}
[data-theme="dark"] .wallet-topup-heading{background:linear-gradient(135deg,rgba(30,145,78,.12),rgba(255,255,255,.01))}[data-theme="dark"] .wallet-transfer-preview{background:rgba(196,38,47,.09);border-color:rgba(239,203,208,.18)}[data-theme="dark"] .wallet-payment-confirm{background:rgba(25,137,65,.09)}[data-theme="dark"] .wallet-khqr-card.unavailable{background:rgba(190,151,48,.08)}[data-theme="dark"] .wallet-admin-summary article.positive{background:rgba(27,142,70,.1)}[data-theme="dark"] .wallet-review-amount{background:linear-gradient(135deg,rgba(28,143,71,.1),rgba(196,38,47,.08))}
@media(max-width:980px){.wallet-topup-layout{grid-template-columns:minmax(220px,285px) minmax(0,1fr)}.wallet-amount-grid{grid-template-columns:1fr}.wallet-review-grid{grid-template-columns:1fr}}
@media(max-width:760px){.wallet-topup-layout{grid-template-columns:1fr}.wallet-khqr-card{width:min(100%,380px);justify-self:center;border-radius:18px;margin:14px}.wallet-khqr-card.unavailable{min-height:220px}.wallet-admin-summary{grid-template-columns:1fr}.wallet-review-form{grid-template-columns:1fr}.wallet-review-form .btn{width:100%}}
@media(max-width:520px){.wallet-topup-workspace{margin-inline:-4px}.wallet-topup-heading,.wallet-form-section,.wallet-submit-row{padding:15px 13px}.wallet-khqr-card{width:auto;margin:10px;padding:15px}.wallet-khqr-image{width:min(100%,270px);justify-self:center}.wallet-submit-row{grid-template-columns:1fr}.wallet-submit-row .btn{width:100%}.wallet-request-row{grid-template-columns:40px minmax(0,1fr)}.wallet-request-side{grid-column:1/-1;grid-template-columns:1fr auto;align-items:center;justify-items:start;text-align:left}.wallet-request-side form{justify-self:end}.wallet-review-card{padding:14px}.wallet-review-details{grid-template-columns:1fr}.wallet-review-details>div,.wallet-review-details>div:nth-child(odd){border-right:0;border-bottom:1px solid var(--line,#dce8df)!important}.wallet-review-details>div:last-child{border-bottom:0!important}.wallet-review-details>div.wide{grid-column:auto}.wallet-review-amount{grid-template-columns:1fr}.wallet-review-amount>span{display:none}.wallet-review-amount>div:last-child{text-align:left}}
@media(max-width:520px){.wallet-saved-payment summary{grid-template-columns:36px minmax(0,1fr);padding:12px}.wallet-saved-payment summary>strong{grid-column:2}.wallet-saved-payment-fields{grid-template-columns:1fr;padding:12px}.wallet-saved-payment-fields>label:first-child,.wallet-saved-payment-fields>p{grid-column:auto}}

/* v5.9.3: unified admin finance center */
.finance-hub-nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:16px;padding:7px;border:1px solid var(--line,#dce8df);border-radius:19px;background:color-mix(in srgb,var(--card,#fff) 88%,#e9f4ec);box-shadow:0 9px 25px rgba(25,65,38,.04)}
.finance-hub-nav>a{display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:10px;min-width:0;padding:11px 12px;border:1px solid transparent;border-radius:14px;color:var(--ink,#13291b);transition:.18s ease}
.finance-hub-nav>a:hover{border-color:var(--line,#dce8df);background:var(--card,#fff);transform:translateY(-1px)}
.finance-hub-nav>a.active{border-color:color-mix(in srgb,var(--green,#08743f) 27%,var(--line,#dce8df));background:var(--card,#fff);box-shadow:0 8px 20px rgba(20,88,47,.08)}
.finance-nav-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:13px;background:#edf7f0;color:var(--green,#08743f)}.finance-hub-nav>a.active .finance-nav-icon{background:var(--green,#08743f);color:#fff}
.finance-hub-nav>a>span:nth-child(2){display:grid;gap:2px;min-width:0}.finance-hub-nav b{overflow:hidden;font-size:.78rem;text-overflow:ellipsis;white-space:nowrap}.finance-hub-nav small{overflow:hidden;color:var(--muted,#647469);font-size:.61rem;text-overflow:ellipsis;white-space:nowrap}.finance-hub-nav em{display:grid;place-items:center;min-width:28px;height:28px;padding:0 7px;border-radius:999px;background:#eef3ef;color:#44584a;font-size:.67rem;font-style:normal;font-weight:900}.finance-hub-nav>a.active em{background:#def3e5;color:#08743f}
.finance-page-head{align-items:center}.finance-page-head>.btn{display:inline-flex;align-items:center;gap:7px;white-space:nowrap}
.finance-summary-grid{display:grid;gap:12px;margin-bottom:16px}.finance-summary-grid.four{grid-template-columns:repeat(4,minmax(0,1fr))}.finance-summary-grid.five{grid-template-columns:repeat(5,minmax(0,1fr))}
.finance-summary-grid>a,.finance-summary-grid>article{display:grid;align-content:center;gap:4px;min-width:0;min-height:105px;padding:15px 16px;border:1px solid var(--line,#dce8df);border-radius:17px;background:var(--card,#fff);color:var(--ink,#13291b);box-shadow:0 8px 24px rgba(23,67,37,.045)}.finance-summary-grid>a{transition:.18s ease}.finance-summary-grid>a:hover{border-color:#a9d3b5;transform:translateY(-2px)}
.finance-summary-grid span,.finance-summary-grid small{overflow:hidden;color:var(--muted,#647469);font-size:.65rem;text-overflow:ellipsis;white-space:nowrap}.finance-summary-grid b{overflow:hidden;font-size:1.12rem;text-overflow:ellipsis;white-space:nowrap}.finance-summary-grid .positive{border-color:#c5e6ce;background:linear-gradient(145deg,#f0faf3,var(--card,#fff))}.finance-summary-grid .attention{border-color:#efd99f;background:linear-gradient(145deg,#fff9e9,var(--card,#fff))}
.finance-quick-filters{display:flex;gap:7px;max-width:100%;margin-bottom:12px;overflow-x:auto;padding:2px 1px 5px;scrollbar-width:thin}.finance-quick-filters>a{display:inline-flex;align-items:center;gap:6px;flex:0 0 auto;min-height:35px;padding:7px 11px;border:1px solid var(--line,#dce8df);border-radius:999px;background:var(--card,#fff);color:var(--muted,#647469);font-size:.68rem;font-weight:800}.finance-quick-filters>a.active,.finance-quick-filters>a:hover{border-color:var(--green,#08743f);background:#edf8f1;color:var(--green,#08743f)}.finance-quick-filters b{display:grid;place-items:center;min-width:20px;height:20px;padding:0 5px;border-radius:999px;background:rgba(8,116,63,.1);font-size:.6rem}
.finance-filter-panel,.finance-data-panel{padding:0;overflow:hidden}.finance-filter-panel{margin-bottom:16px}.finance-filter-bar{display:flex;align-items:center;gap:9px;padding:12px;background:color-mix(in srgb,var(--card,#fff) 91%,#e8f2eb)}.finance-filter-bar select{min-width:145px;min-height:44px}.finance-search{display:flex!important;align-items:center;gap:7px;flex:1;min-width:220px;min-height:44px;padding:0 11px;border:1px solid var(--line,#dce8df);border-radius:12px;background:var(--card,#fff)}.finance-search>span{display:grid;color:var(--muted,#647469)}.finance-search input{width:100%;min-width:0;border:0!important;background:transparent!important;box-shadow:none!important}.finance-filter-bar>.btn{min-height:44px;white-space:nowrap}
.finance-empty-state{display:grid;place-items:center;gap:6px;min-height:210px;padding:30px;text-align:center;color:var(--muted,#647469)}.finance-empty-state>span{display:grid;place-items:center;width:58px;height:58px;border-radius:18px;background:#edf7f0;color:var(--green,#08743f)}.finance-empty-state b{color:var(--ink,#13291b)}.finance-empty-state p{max-width:430px;margin:0;font-size:.72rem}
.wallet-owner-list{display:grid;gap:10px}.wallet-owner-card{display:grid;grid-template-columns:minmax(260px,1.25fr) minmax(170px,.7fr) minmax(175px,.65fr) minmax(150px,.6fr);align-items:center;gap:16px;padding:14px 16px}.wallet-owner-identity{display:grid;grid-template-columns:46px minmax(0,1fr);align-items:center;gap:11px;min-width:0}.wallet-owner-identity>span{display:grid;place-items:center;width:46px;height:46px;border-radius:14px;background:linear-gradient(145deg,#08743f,#14a457);color:#fff;font-size:1rem;font-weight:900}.wallet-owner-identity>div{display:grid;gap:2px;min-width:0}.wallet-owner-identity h3,.wallet-owner-identity p{overflow:hidden;margin:0;text-overflow:ellipsis;white-space:nowrap}.wallet-owner-identity h3{font-size:.85rem}.wallet-owner-identity p{color:var(--muted,#647469);font-size:.64rem}.wallet-owner-identity small{width:max-content;padding:3px 7px;border-radius:999px;background:#edf3ff;color:#365c96;font-size:.57rem;font-weight:850}
.wallet-owner-balance,.wallet-owner-activity{display:grid;gap:3px}.wallet-owner-balance small,.wallet-owner-activity small{color:var(--muted,#647469);font-size:.61rem}.wallet-owner-balance b{font-size:1.03rem}.wallet-owner-balance em{color:var(--muted,#647469);font-size:.58rem;font-style:normal}.wallet-owner-activity b{font-size:.68rem;font-weight:750}
.wallet-adjust-drawer{position:relative}.wallet-adjust-drawer>summary{display:flex;align-items:center;justify-content:center;gap:6px;min-height:40px;padding:8px 11px;border:1px solid var(--line,#dce8df);border-radius:11px;background:var(--card,#fff);color:var(--green,#08743f);font-size:.68rem;font-weight:850;cursor:pointer;list-style:none}.wallet-adjust-drawer>summary::-webkit-details-marker{display:none}.wallet-adjust-drawer[open]>summary{border-color:var(--green,#08743f);background:#edf8f1}
.wallet-adjust-drawer>form{position:absolute;z-index:12;right:0;top:48px;display:grid;gap:10px;width:min(390px,calc(100vw - 48px));padding:15px;border:1px solid var(--line,#dce8df);border-radius:16px;background:var(--card,#fff);box-shadow:0 20px 55px rgba(17,50,27,.18)}.wallet-adjust-drawer label{display:grid;gap:5px}.wallet-adjust-drawer label>span{color:var(--muted,#647469);font-size:.64rem;font-weight:800}.wallet-adjust-drawer input{min-height:42px}.wallet-adjust-drawer .processing-inline{min-height:22px}
.wallet-review-grid{grid-template-columns:1fr}.wallet-review-card{padding:17px 18px}.wallet-review-card.needs-review{border-color:color-mix(in srgb,#d59b19 36%,var(--line,#dce8df));box-shadow:0 12px 35px rgba(105,78,12,.07)}
.wallet-review-primary{display:grid;grid-template-columns:minmax(240px,1.25fr) minmax(145px,.6fr) minmax(170px,.7fr);align-items:center;gap:14px;padding:12px 13px;border:1px solid var(--line,#dce8df);border-radius:14px;background:color-mix(in srgb,var(--card,#fff) 93%,#e8f3eb)}.wallet-review-primary>div{display:grid;gap:3px;min-width:0}.wallet-review-primary small{color:var(--muted,#647469);font-size:.62rem}.wallet-review-primary b{overflow-wrap:anywhere;font-size:.8rem}.wallet-review-user{grid-template-columns:38px minmax(0,1fr)!important;align-items:center}.wallet-review-user>span{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:#e6f5eb;color:var(--green,#08743f);font-weight:900}.wallet-review-user>div{display:grid;gap:2px;min-width:0}.wallet-review-user small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.wallet-review-total{text-align:right}.wallet-review-total b{font-size:1rem}.wallet-review-total em{color:#aa671b;font-size:.61rem;font-style:normal}
.wallet-review-evidence{overflow:hidden;border:1px solid var(--line,#dce8df);border-radius:14px}.wallet-review-evidence>summary{display:grid;grid-template-columns:20px minmax(0,1fr) auto;align-items:center;gap:8px;padding:10px 12px;color:var(--ink,#13291b);font-size:.7rem;font-weight:850;cursor:pointer;list-style:none}.wallet-review-evidence>summary::-webkit-details-marker{display:none}.wallet-review-evidence>summary>small{color:var(--muted,#647469);font-size:.61rem;font-weight:600}.wallet-review-evidence[open]>summary{border-bottom:1px solid var(--line,#dce8df);background:#f5f8f6}.wallet-review-evidence-body{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(240px,.8fr);align-items:start;gap:12px;padding:12px}.wallet-review-evidence-body .wallet-review-note,.wallet-review-evidence-body .wallet-proof-missing{grid-column:1/-1}.wallet-review-evidence-body .wallet-proof-preview{aspect-ratio:16/8}
.wallet-review-warning{display:flex;align-items:flex-start;gap:7px}.wallet-review-warning svg{flex:0 0 auto}.wallet-review-form{display:grid;grid-template-columns:1fr;gap:9px;padding-top:2px}.wallet-review-form>label{display:grid;gap:5px}.wallet-review-form>label>span{color:var(--muted,#647469);font-size:.63rem;font-weight:800}.wallet-review-form input{min-height:42px}.wallet-review-actions{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap}.wallet-review-actions .btn{min-height:40px}.wallet-review-form .processing-inline{grid-column:auto}
.finance-payment-table{width:100%;min-width:980px}.finance-payment-table th{white-space:nowrap}.finance-payment-table td{vertical-align:middle}.finance-payment-table td>b,.finance-payment-table td>small,.finance-payment-table td>code{display:block}.finance-payment-table td>small{margin-top:3px;color:var(--muted,#647469);font-size:.61rem}.finance-payment-table td>code{width:max-content;max-width:150px;overflow:hidden;margin-top:3px;color:var(--muted,#647469);font-size:.58rem;text-overflow:ellipsis}.finance-method-badge{display:inline-flex;align-items:center;gap:5px;padding:5px 8px;border-radius:9px;background:#eff5f1;font-size:.66rem;font-weight:800;white-space:nowrap}.finance-review-notice{display:flex;align-items:flex-start;gap:7px;margin:12px 0;padding:10px 11px;border-radius:12px;background:#eef8f1;color:#176c3c;font-size:.68rem;font-weight:750;line-height:1.5}.finance-review-notice svg{flex:0 0 auto}.finance-payment-action form{display:grid;gap:11px}.finance-payment-action .processing-inline{min-height:22px}
[data-theme="dark"] .finance-summary-grid .positive,[data-theme="dark"] .finance-summary-grid .attention,[data-theme="dark"] .finance-hub-nav>a.active,[data-theme="dark"] .finance-quick-filters>a.active,[data-theme="dark"] .wallet-adjust-drawer[open]>summary,[data-theme="dark"] .finance-review-notice{background:color-mix(in srgb,var(--green,#08743f) 13%,var(--card,#17251c));color:var(--ink,#edf8f0)}[data-theme="dark"] .wallet-review-evidence[open]>summary,[data-theme="dark"] .wallet-review-primary,[data-theme="dark"] .finance-filter-bar,[data-theme="dark"] .finance-method-badge{background:#142219}[data-theme="dark"] .wallet-adjust-drawer>form{background:var(--card,#17251c)}
@media(max-width:1100px){.finance-summary-grid.five{grid-template-columns:repeat(3,minmax(0,1fr))}.finance-summary-grid.five>*:nth-last-child(-n+2){grid-column:span 1}.wallet-owner-card{grid-template-columns:minmax(240px,1.2fr) minmax(160px,.7fr) minmax(140px,.6fr)}.wallet-adjust-drawer{grid-column:1/-1}.wallet-adjust-drawer>summary{width:max-content}.wallet-adjust-drawer>form{left:0;right:auto}.wallet-review-evidence-body{grid-template-columns:1fr 300px}}
@media(max-width:820px){.finance-hub-nav{display:flex;overflow-x:auto;scroll-snap-type:x mandatory}.finance-hub-nav>a{min-width:245px;scroll-snap-align:start}.finance-summary-grid.four,.finance-summary-grid.five{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:5px}.finance-summary-grid.four>*,.finance-summary-grid.five>*{min-width:210px;scroll-snap-align:start}.finance-filter-bar{display:grid;grid-template-columns:1fr 1fr}.finance-search{grid-column:1/-1;min-width:0}.finance-filter-bar>.btn{width:100%}.wallet-owner-card{grid-template-columns:minmax(0,1fr) auto}.wallet-owner-activity{grid-column:1}.wallet-adjust-drawer{grid-column:2;grid-row:2}.wallet-adjust-drawer>form{left:auto;right:0}.wallet-review-primary{grid-template-columns:1fr 1fr}.wallet-review-user{grid-column:1/-1}.wallet-review-evidence-body{grid-template-columns:1fr}.wallet-review-evidence-body .wallet-proof-preview{width:min(100%,430px);justify-self:center}.wallet-review-evidence-body .wallet-review-note,.wallet-review-evidence-body .wallet-proof-missing{grid-column:auto}}
@media(max-width:680px){.finance-page-head{align-items:stretch}.finance-page-head>.btn{justify-content:center;width:100%}.finance-hub-nav{margin-inline:-2px}.finance-hub-nav>a{min-width:220px}.finance-summary-grid.four>*,.finance-summary-grid.five>*{min-width:190px;min-height:98px}.finance-filter-bar{grid-template-columns:1fr}.finance-search{grid-column:auto}.wallet-owner-card{grid-template-columns:1fr;gap:11px}.wallet-owner-balance{padding:10px 11px;border-radius:12px;background:#eef8f1}.wallet-owner-activity{grid-column:auto}.wallet-adjust-drawer{grid-column:auto;grid-row:auto}.wallet-adjust-drawer>summary{width:100%}.wallet-adjust-drawer>form{position:static;width:100%;margin-top:9px;box-shadow:none}.wallet-review-card{padding:14px}.wallet-review-primary{grid-template-columns:1fr}.wallet-review-user{grid-column:auto}.wallet-review-total{text-align:left}.wallet-review-evidence>summary{grid-template-columns:20px minmax(0,1fr)}.wallet-review-evidence>summary>small{grid-column:2}.wallet-review-actions{display:grid;grid-template-columns:1fr 1fr}.wallet-review-actions .btn{width:100%}.wallet-review-actions .btn.primary{grid-column:1/-1}.finance-payment-table-wrap{overflow:visible}.finance-payment-table{display:block;min-width:0}.finance-payment-table thead{display:none}.finance-payment-table tbody{display:grid;gap:11px;padding:11px}.finance-payment-table tr{display:grid;grid-template-columns:1fr 1fr;gap:0;padding:12px;border:1px solid var(--line,#dce8df);border-radius:15px;background:var(--card,#fff);box-shadow:0 6px 18px rgba(21,58,32,.04)}.finance-payment-table td{display:grid;align-content:start;gap:2px;padding:8px!important;border:0!important}.finance-payment-table td:before{margin-bottom:3px;color:var(--muted,#647469);font-size:.56rem;font-weight:800;content:attr(data-label)}.finance-payment-table td:nth-child(1),.finance-payment-table td:nth-child(2),.finance-payment-table td:last-child{grid-column:1/-1}.finance-payment-table td:last-child .btn{width:100%}.finance-method-badge{width:max-content}}
@media(max-width:420px){.finance-hub-nav>a{min-width:205px;grid-template-columns:38px minmax(0,1fr) auto;padding:9px}.finance-nav-icon{width:38px;height:38px}.finance-summary-grid.four>*,.finance-summary-grid.five>*{min-width:176px;padding:13px}.wallet-review-actions{grid-template-columns:1fr}.wallet-review-actions .btn.primary{grid-column:auto}.finance-payment-table tr{grid-template-columns:1fr}.finance-payment-table td:nth-child(n){grid-column:auto}.finance-payment-table td:first-child,.finance-payment-table td:last-child{grid-column:1/-1}}

/* v5.9.4: ACLEDA KHQR and deferred top-up evidence */
.acleda-khqr-settings-card>header>span,.wallet-khqr-card.acleda>header>span{background:#123f91;color:#fff}.acleda-khqr-settings-card .khqr-safety-note{background:#edf4ff;color:#174f9f}.wallet-khqr-card.acleda{background:linear-gradient(155deg,#0e397d,#1761bd)}
.checkout-khqr-panel.acleda{border-color:#c8d9f2;background:linear-gradient(145deg,#f5f9ff,#fff)}.checkout-khqr-panel.acleda .checkout-khqr-copy h4{color:#164d99}.checkout-khqr-panel.acleda .checkout-khqr-copy header span{background:#e6effd;color:#164d99}
.field-optional{display:inline-flex;margin-left:5px;padding:2px 6px;border-radius:999px;background:#edf3f0;color:var(--muted,#647469);font-size:.56rem;font-style:normal;font-weight:800}
.wallet-request-row.evidence-requested{margin:5px 0;padding:14px 12px;border:1px solid #e8c567;border-radius:15px;background:linear-gradient(145deg,#fff9e8,var(--card,#fff))}
.wallet-evidence-followup{grid-column:1/-1;overflow:hidden;border:1px solid var(--line,#dce8df);border-radius:14px;background:var(--card,#fff)}.wallet-evidence-followup>summary{display:grid;grid-template-columns:34px minmax(0,1fr);align-items:center;gap:9px;padding:10px 12px;cursor:pointer;list-style:none}.wallet-evidence-followup>summary::-webkit-details-marker{display:none}.wallet-evidence-followup>summary>span{display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:#fff2cc;color:#8a6200;font-weight:900}.wallet-evidence-followup>summary>div{display:grid;gap:2px}.wallet-evidence-followup>summary b{font-size:.72rem}.wallet-evidence-followup>summary small{color:var(--muted,#647469);font-size:.63rem;line-height:1.45}.wallet-evidence-followup>form{display:grid;grid-template-columns:1fr 1fr auto;align-items:end;gap:9px;padding:11px 12px;border-top:1px solid var(--line,#dce8df);background:color-mix(in srgb,var(--card,#fff) 94%,#eaf3ed)}.wallet-evidence-followup label{display:grid;gap:5px}.wallet-evidence-followup label>span{color:var(--muted,#647469);font-size:.61rem;font-weight:800}.wallet-evidence-followup input{min-height:41px}.wallet-followup-upload small{color:var(--green,#08743f);font-size:.59rem}.wallet-evidence-followup .processing-inline{grid-column:1/-1}
.wallet-evidence-request-form{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:9px;padding:11px;border:1px dashed #dcc070;border-radius:13px;background:#fffaeb}.wallet-evidence-request-form label{display:grid;gap:5px}.wallet-evidence-request-form label>span{color:#765900;font-size:.62rem;font-weight:850}.wallet-evidence-request-form input{min-height:41px}.wallet-evidence-request-form .processing-inline{grid-column:1/-1}.wallet-review-note.evidence-awaiting{background:#fff5d8}.wallet-review-note.evidence-received{background:#eaf8ef}.wallet-review-note>small{display:block;margin-top:5px;color:var(--muted,#647469);font-size:.58rem}
[data-theme="dark"] .wallet-request-row.evidence-requested,[data-theme="dark"] .wallet-evidence-request-form{background:rgba(181,134,24,.1)}[data-theme="dark"] .checkout-khqr-panel.acleda{background:rgba(31,91,174,.09)}
@media(max-width:760px){.wallet-evidence-followup>form{grid-template-columns:1fr}.wallet-evidence-followup>form .btn{width:100%}.wallet-evidence-request-form{grid-template-columns:1fr}.wallet-evidence-request-form .btn{width:100%}}

/* v5.9.5: instant approve-and-credit with fast wallet synchronization */
.wallet-live-credit-strip{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px 12px;border:1px solid #cce5d3;border-radius:13px;background:linear-gradient(145deg,#f0faf3,var(--card,#fff))}.wallet-live-credit-strip>span{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:#dff3e5;color:var(--green,#08743f)}.wallet-live-credit-strip>div{display:grid;gap:2px}.wallet-live-credit-strip small{color:var(--muted,#647469);font-size:.61rem}.wallet-live-credit-strip b{font-size:.91rem}.wallet-live-credit-strip em,.wallet-live-indicator{display:inline-flex;align-items:center;gap:5px;color:#167442;font-size:.59rem;font-style:normal;font-weight:850}.wallet-live-credit-strip i,.wallet-live-indicator i{width:7px;height:7px;border-radius:50%;background:#12a75b;box-shadow:0 0 0 4px rgba(18,167,91,.11);animation:walletLivePulse 1.8s ease-in-out infinite}
.wallet-approve-credit{gap:7px;background:linear-gradient(135deg,#08743f,#0ca356);box-shadow:0 8px 20px rgba(8,116,63,.17)}.wallet-approve-credit svg{flex:0 0 auto}.wallet-review-result{padding:10px 12px;border-radius:11px;font-size:.68rem;font-weight:800;line-height:1.5}.wallet-review-result.success{border:1px solid #bfe4c9;background:#eaf8ef;color:#176c3c}.wallet-review-result.error{border:1px solid #f1c4c4;background:#fff0f0;color:#a73232}.wallet-review-card.credit-complete{border-color:#9bd2aa;background:linear-gradient(145deg,color-mix(in srgb,#e8f8ed 54%,var(--card,#fff)),var(--card,#fff))}.wallet-review-card.credit-complete .wallet-live-credit-strip{box-shadow:0 0 0 3px rgba(18,167,91,.08)}
.balance-pop{animation:walletBalancePop .62s ease}.wallet-live-balance-card{position:relative;overflow:hidden}.wallet-live-balance-card.balance-live-updated:after{position:absolute;inset:0;border:2px solid rgba(73,221,132,.78);border-radius:inherit;pointer-events:none;content:"";animation:walletBalanceRing 1.2s ease-out both}.wallet-live-balance-card small{display:flex;align-items:center;gap:5px}.wallet-live-toast{position:fixed;z-index:1600;right:22px;bottom:22px;max-width:min(360px,calc(100vw - 28px));padding:12px 16px;border:1px solid #a9dfb8;border-radius:13px;background:#0a7e44;color:#fff;box-shadow:0 18px 48px rgba(7,65,34,.24);font-size:.76rem;font-weight:900;opacity:0;transform:translateY(14px);pointer-events:none;transition:.22s ease}.wallet-live-toast.show{opacity:1;transform:translateY(0)}
@keyframes walletLivePulse{0%,100%{opacity:1;transform:scale(1)}50%{opacity:.55;transform:scale(.78)}}@keyframes walletBalancePop{0%{transform:scale(1)}42%{color:#0aa052;transform:scale(1.13)}100%{transform:scale(1)}}@keyframes walletBalanceRing{0%{opacity:1;transform:scale(.96)}100%{opacity:0;transform:scale(1.04)}}
[data-theme="dark"] .wallet-live-credit-strip{border-color:#28583a;background:#14251a}[data-theme="dark"] .wallet-review-result.success{border-color:#28583a;background:#142a1c;color:#a8e9ba}[data-theme="dark"] .wallet-review-result.error{border-color:#6b3636;background:#301d1d;color:#ffc1c1}
@media(max-width:680px){.wallet-live-credit-strip{grid-template-columns:36px minmax(0,1fr)}.wallet-live-credit-strip>em{grid-column:2}.wallet-live-toast{right:14px;bottom:82px}.wallet-approve-credit{min-height:48px}}

/* v5.9.6 seller order manager detail columns */
.order-product-summary,.order-distance-block{display:grid;gap:4px;min-width:130px}.order-product-summary b{max-width:260px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.order-product-summary small,.order-distance-block small{color:var(--muted);font-size:12px}.order-distance-block b{color:var(--primary);font-weight:900}@media(max-width:1180px){.order-clean-table{min-width:1280px}}

/* v5.9.7 — seller order manager/detail/invoice UI hotfix */
.order-manager-shell,.seller-order-detail-page{min-width:0}
.order-table-scroll{max-width:100%;overscroll-behavior-inline:contain;scrollbar-gutter:stable}
.order-table-scroll::-webkit-scrollbar{height:10px}
.order-table-scroll::-webkit-scrollbar-thumb{border:2px solid transparent;border-radius:999px;background:#afc5b4;background-clip:padding-box}
.order-clean-table th:last-child,.order-clean-table td:last-child{position:sticky;right:0;z-index:3;box-shadow:-10px 0 18px -18px rgba(19,61,29,.55)}
.order-clean-table th:last-child{z-index:4;background:#f5f9f5}
.order-clean-table td:last-child{background:#fff}
.order-clean-table tbody tr:hover td:last-child{background:#fbfdfb}
.order-row-actions .btn,.order-row-actions a{flex:0 0 auto}
.order-mobile-badges{flex-wrap:wrap}
.order-mobile-card>footer .btn{width:100%;justify-content:center;white-space:normal;text-align:center;line-height:1.35}
.order-mobile-info b,.order-mobile-info a,.order-mobile-more dd{overflow-wrap:anywhere;word-break:break-word}

.seller-order-detail-head{align-items:flex-start}
.seller-order-detail-head>div:first-child{min-width:0}
.seller-order-detail-head h1,.seller-order-detail-summary-main b{overflow-wrap:anywhere}
.seller-order-detail-actions .btn{min-height:40px}
.seller-order-detail-summary{min-width:0}
.seller-order-detail-summary-main,.seller-order-detail-summary-metrics{min-width:0}
.seller-order-product-row>*{min-width:0}
.seller-order-product-copy h3,.seller-order-product-copy p,.seller-order-product-options span{overflow-wrap:anywhere}
.seller-order-product-numbers{min-width:0}
.seller-order-product-numbers>div{min-width:0}
.seller-order-location-levels article,.seller-order-recipient-grid article{min-width:0}
.seller-order-payment-reference b{overflow-wrap:anywhere;word-break:break-word}
.seller-order-print-panel>div{display:grid;gap:8px}
.seller-order-print-panel .btn{min-width:0;justify-content:center;text-align:center;white-space:normal}

.invoice-toolbar{position:sticky;top:0;z-index:50;max-width:100%;gap:10px;padding-inline:max(12px,env(safe-area-inset-left));padding-right:max(12px,env(safe-area-inset-right));backdrop-filter:blur(10px)}
.invoice-toolbar-main{min-width:0;overflow-x:auto;overscroll-behavior-inline:contain;padding-bottom:2px;scrollbar-width:thin}
.invoice-toolbar-main>*{flex:0 0 auto}
.invoice-size-switch{flex:0 0 auto}
.invoice-sheet{max-width:calc(100vw - 24px);overflow:hidden}
.invoice-products{max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain}
.invoice-products table{min-width:680px}
.invoice-product-cell{min-width:240px}
.invoice-party-address,.invoice-platform-card p,.invoice-delivery-block p{overflow-wrap:anywhere}
.invoice-status-row>div,.invoice-parties>article,.invoice-bottom-grid>*{min-width:0}
.invoice-export-status{max-width:calc(100vw - 24px)}

@media(max-width:1100px){
  .seller-order-detail-grid{grid-template-columns:1fr}
  .seller-order-detail-side{position:static;top:auto;grid-template-columns:repeat(2,minmax(0,1fr))}
  .seller-order-update-card,.seller-order-print-panel{grid-column:1/-1}
  .seller-order-detail-summary{grid-template-columns:1fr auto}
  .seller-order-detail-summary-metrics{grid-column:1/-1;grid-template-columns:repeat(3,minmax(0,1fr))}
  .seller-order-detail-summary-badges{align-self:start}
}

@media(max-width:760px){
  .seller-order-detail-page{gap:12px}
  .seller-order-detail-head{display:grid;gap:12px}
  .seller-order-detail-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}
  .seller-order-detail-actions .btn{min-width:0;justify-content:center;text-align:center;white-space:normal}
  .seller-order-detail-summary{grid-template-columns:1fr;padding:14px;gap:12px}
  .seller-order-detail-summary-main>div{align-items:flex-start;flex-direction:column;gap:3px}
  .seller-order-detail-summary-metrics{grid-column:auto;grid-template-columns:1fr 1fr}
  .seller-order-detail-summary-metrics .total{grid-column:1/-1}
  .seller-order-detail-summary-badges{display:flex;justify-items:initial;flex-wrap:wrap}
  .seller-order-detail-side{grid-template-columns:1fr}
  .seller-order-update-card,.seller-order-print-panel{grid-column:auto}
  .seller-order-product-row{grid-template-columns:64px minmax(0,1fr);align-items:start;padding:12px}
  .seller-order-product-image{width:64px;height:64px}
  .seller-order-product-numbers{grid-column:1/-1;grid-template-columns:repeat(3,minmax(0,1fr));width:100%;padding-top:8px;border-top:1px solid #edf2ed;text-align:left}
  .seller-order-product-numbers>div{padding:6px 8px;border-left:0;border-right:1px solid #edf2ed}
  .seller-order-product-numbers>div:last-child{border-right:0}
  .seller-order-recipient-grid{grid-template-columns:1fr}
  .seller-order-location-levels{grid-template-columns:1fr 1fr}
  .seller-order-coordinate{align-items:flex-start;flex-direction:column}
  .seller-order-coordinate .btn{width:100%;justify-content:center}
  .seller-order-contact-actions{grid-template-columns:1fr}
  .seller-order-print-panel>div{grid-template-columns:1fr}
  .invoice-toolbar{align-items:stretch;flex-direction:column}
  .invoice-toolbar>a{width:100%;justify-content:center}
  .invoice-toolbar-main{width:100%}
  .invoice-sheet{max-width:calc(100vw - 12px);margin-inline:auto}
  .invoice-status-row{grid-template-columns:1fr 1fr}
  .invoice-status-badges{grid-column:1/-1;justify-content:flex-start}
  .invoice-parties,.invoice-bottom-grid{grid-template-columns:1fr}
}

@media(max-width:480px){
  .order-mobile-card>footer{grid-template-columns:1fr}
  .order-mobile-total b{font-size:13px}
  .seller-order-detail-head h1{font-size:24px}
  .seller-order-detail-actions{grid-template-columns:1fr}
  .seller-order-detail-summary-metrics{grid-template-columns:1fr}
  .seller-order-detail-summary-metrics .total{grid-column:auto}
  .seller-order-product-row{grid-template-columns:54px minmax(0,1fr)}
  .seller-order-product-image{width:54px;height:54px;border-radius:11px}
  .seller-order-product-numbers{grid-template-columns:1fr}
  .seller-order-product-numbers>div{display:flex;align-items:center;justify-content:space-between;border-right:0;border-bottom:1px solid #edf2ed;text-align:right}
  .seller-order-product-numbers>div:last-child{border-bottom:0}
  .seller-order-location-levels{grid-template-columns:1fr}
  .seller-order-full-address,.seller-order-landmark,.seller-order-note{margin-inline:10px}
  .seller-order-coordinate{margin-inline:10px}
  .invoice-status-row{grid-template-columns:1fr}
  .invoice-status-badges{grid-column:auto}
  .invoice-paper-thermal{width:calc(100vw - 10px);padding:4mm}
}

@media print{
  .invoice-toolbar,.invoice-export-controller,.invoice-export-status,.no-print{display:none!important}
  .invoice-sheet{max-width:none!important;overflow:visible!important;box-shadow:none!important;margin:0 auto!important}
  .invoice-products{overflow:visible!important}
  .invoice-products table{min-width:0!important}
  body{background:#fff!important}
}

[data-theme="dark"] .order-clean-table th:last-child{background:#18231b}
[data-theme="dark"] .order-clean-table td:last-child{background:#152019}
[data-theme="dark"] .order-clean-table tbody tr:hover td:last-child{background:#17251b}


/* v5.9.8 — seller order workflow lock + full-width order manager */
.order-table-scroll{overflow:visible!important;max-width:none!important;scrollbar-gutter:auto!important}
.order-clean-table.order-clean-table-full{width:100%!important;min-width:0!important;table-layout:fixed;border-collapse:separate}
.order-clean-table-full col.col-order{width:11%}
.order-clean-table-full col.col-customer{width:12%}
.order-clean-table-full col.col-seller{width:10%}
.order-clean-table-full col.col-location{width:15%}
.order-clean-table-full col.col-products{width:16%}
.order-clean-table-full col.col-distance{width:8%}
.order-clean-table-full col.col-payment{width:11%}
.order-clean-table-full col.col-status{width:8%}
.order-clean-table-full col.col-actions{width:11%}
.order-clean-table-full th,.order-clean-table-full td{padding:10px 8px;white-space:normal;overflow-wrap:anywhere;word-break:break-word}
.order-clean-table-full th:last-child,.order-clean-table-full td:last-child{position:static!important;right:auto!important;box-shadow:none!important}
.order-clean-table-full .order-product-summary,.order-clean-table-full .order-distance-block{min-width:0}
.order-clean-table-full .order-product-summary b{max-width:none;white-space:normal;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.order-clean-table-full .order-row-actions-pro{display:grid;grid-template-columns:repeat(3,minmax(28px,1fr));gap:5px;min-width:0}
.order-clean-table-full .order-row-actions-pro .order-manage-button{grid-column:1/-1;width:100%;min-width:0;padding-inline:6px;white-space:normal}
.order-clean-table-full .order-icon-action{min-width:0;width:100%}
.order-buyer-complete-note{margin:0;padding:10px 12px;border:1px solid #b9dfc2;border-radius:10px;background:#effaf1;color:#176b2c;font-size:12px;font-weight:800;line-height:1.45}
[data-theme="dark"] .order-buyer-complete-note{border-color:#355e40;background:#18321f;color:#9de1aa}
@media(max-width:1400px) and (min-width:901px){
 .order-clean-table-full th,.order-clean-table-full td{padding:8px 6px;font-size:11px}
 .order-clean-table-full th{font-size:8px}
 .order-clean-table-full .order-person-block a,.order-clean-table-full small{font-size:9px}
 .order-clean-table-full .status{font-size:8px;padding:4px 6px}
 .order-clean-table-full .order-manage-button{font-size:9px}
}
@media(max-width:900px){.order-desktop-list{display:none!important}.order-mobile-list{display:grid!important}}

/* v6.0.0 Cloudflare R2 storage settings + direct upload */
.r2-storage-hero{display:grid;grid-template-columns:58px minmax(0,1fr) auto;align-items:center;gap:16px;padding:20px;border:1px solid var(--site-border);border-radius:calc(var(--site-card-radius) + 4px);background:linear-gradient(135deg,color-mix(in srgb,#f48120 10%,var(--site-surface)),var(--site-surface) 52%,color-mix(in srgb,var(--green) 8%,var(--site-surface)));box-shadow:var(--shadow)}
.r2-storage-hero.is-ready{border-color:color-mix(in srgb,var(--green) 42%,var(--site-border))}.r2-storage-icon{display:grid;place-items:center;width:58px;height:58px;border-radius:18px;background:#f48120;color:#fff;font-size:1.65rem;box-shadow:0 12px 28px color-mix(in srgb,#f48120 30%,transparent)}
.r2-storage-hero>div:nth-child(2){min-width:0}.r2-storage-hero>div:nth-child(2)>span{display:inline-flex;padding:4px 9px;border-radius:999px;background:color-mix(in srgb,var(--green) 11%,var(--site-bg));color:var(--green);font-size:.72rem;font-weight:900}.r2-storage-hero h3{margin:6px 0 4px;font-size:1.15rem}.r2-storage-hero p{margin:0;color:var(--site-muted);font-size:.83rem;line-height:1.6}
.r2-status-stack{display:grid;justify-items:end;gap:7px}.r2-status-stack span{padding:7px 10px;border:1px solid var(--site-border);border-radius:999px;background:var(--site-bg);font-size:.72rem;font-weight:900;white-space:nowrap}.r2-status-stack .ok{color:#087c30;border-color:color-mix(in srgb,#087c30 28%,var(--site-border));background:color-mix(in srgb,#eaf8ee 65%,var(--site-surface))}.r2-status-stack .warn{color:#9a5d00;border-color:color-mix(in srgb,#e6a700 38%,var(--site-border));background:color-mix(in srgb,#fff4cf 65%,var(--site-surface))}.r2-status-stack .muted{color:var(--site-muted)}
.r2-endpoint-preview{display:grid;gap:6px;padding:12px;border:1px dashed var(--site-border);border-radius:var(--site-button-radius);background:var(--site-bg)}.r2-endpoint-preview small{color:var(--site-muted);font-weight:800}.r2-endpoint-preview code,.r2-command-grid code{display:block;overflow:auto;padding:9px;border-radius:10px;background:color-mix(in srgb,var(--site-text) 7%,var(--site-surface));color:var(--site-text);font-size:.73rem;white-space:nowrap}
.r2-code-block{max-height:300px;overflow:auto;margin:0;padding:14px;border:1px solid var(--site-border);border-radius:var(--site-button-radius);background:#101b14;color:#dff8e5;font:600 .76rem/1.65 ui-monospace,SFMono-Regular,Menlo,monospace;white-space:pre-wrap;word-break:break-word}.r2-code-block code{color:inherit}
.r2-command-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.r2-command-grid>div{min-width:0;padding:12px;border:1px solid var(--site-border);border-radius:var(--site-button-radius);background:var(--site-bg)}.r2-command-grid b{display:block;margin-bottom:8px;font-size:.82rem}
.r2-direct-upload-status{position:fixed;right:18px;bottom:18px;z-index:1000;display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:12px;width:min(430px,calc(100vw - 30px));padding:14px;border:1px solid color-mix(in srgb,var(--green) 34%,var(--site-border));border-radius:16px;background:color-mix(in srgb,var(--site-surface) 96%,transparent);box-shadow:0 18px 50px color-mix(in srgb,var(--site-text) 20%,transparent);backdrop-filter:blur(16px)}.r2-direct-upload-status[hidden]{display:none!important}.r2-direct-upload-status.is-error{border-color:color-mix(in srgb,#dc2626 45%,var(--site-border))}.r2-direct-upload-status>div{min-width:0;display:grid;gap:4px}.r2-direct-upload-status b{font-size:.86rem}.r2-direct-upload-status small{overflow:hidden;color:var(--site-muted);font-size:.75rem;text-overflow:ellipsis;white-space:nowrap}.r2-direct-upload-status progress{width:100%;height:7px;accent-color:var(--green)}
.r2-upload-spinner{width:28px;height:28px;border:3px solid color-mix(in srgb,var(--green) 20%,transparent);border-top-color:var(--green);border-radius:50%;animation:r2spin .8s linear infinite}.is-error .r2-upload-spinner{border-color:color-mix(in srgb,#dc2626 18%,transparent);border-top-color:#dc2626}@keyframes r2spin{to{transform:rotate(360deg)}}
@media(max-width:900px){.r2-storage-hero{grid-template-columns:50px minmax(0,1fr)}.r2-storage-icon{width:50px;height:50px;border-radius:15px}.r2-status-stack{grid-column:1/-1;grid-template-columns:repeat(2,minmax(0,1fr));justify-items:stretch}.r2-status-stack span{text-align:center}.r2-command-grid{grid-template-columns:1fr}}
@media(max-width:520px){.r2-storage-hero{grid-template-columns:1fr}.r2-storage-icon{width:48px;height:48px}.r2-status-stack{grid-template-columns:1fr}.r2-direct-upload-status{right:10px;bottom:10px;width:calc(100vw - 20px)}}
.r2-private-backup-warning{border:1px solid #f0c36b;background:#fff8e8;border-radius:16px;padding:14px 16px;margin:12px 0;color:#704b09}.r2-private-backup-warning b{display:block;margin-bottom:4px}.r2-private-backup-warning p{margin:0;font-size:.9rem;line-height:1.55;color:#805f21}.dark .r2-private-backup-warning{background:#2d2412;border-color:#70551f;color:#ffe09b}.dark .r2-private-backup-warning p{color:#e7cb8d}

/* v6.0.2 R2 all-media direct upload */
.r2-direct-upload-status{display:flex;align-items:center;gap:12px;padding:12px 14px;margin:0 0 14px;border:1px solid #b9dec5;border-radius:14px;background:#effaf2;color:#174b2a}.r2-direct-upload-status[hidden]{display:none}.r2-direct-upload-status.is-error{border-color:#efb8b8;background:#fff1f1;color:#8f2020}.r2-direct-upload-status>div{display:grid;gap:4px;flex:1}.r2-direct-upload-status small{overflow-wrap:anywhere}.r2-direct-upload-status progress{width:100%;height:8px}.r2-upload-spinner{width:20px;height:20px;border:3px solid currentColor;border-right-color:transparent;border-radius:50%;animation:r2spin .8s linear infinite}@keyframes r2spin{to{transform:rotate(360deg)}}.buyer-order-documents-list{display:grid;gap:8px}.seller-order-documents-card .inline-actions{flex-wrap:wrap}

/* v6.0.3: clear R2 outage fallback state. */
.r2-direct-upload-status.is-fallback{border-color:color-mix(in srgb,#d97706 45%,var(--site-border));background:color-mix(in srgb,#fff7ed 92%,var(--site-surface));color:#8a4b08}.r2-direct-upload-status.is-fallback .r2-upload-spinner{animation:none;border-color:#d97706;border-right-color:#d97706;position:relative}.r2-direct-upload-status.is-fallback .r2-upload-spinner:after{content:'↺';position:absolute;inset:-5px;display:grid;place-items:center;font-size:.72rem;font-weight:900}

/* v6.0.3 R2 local migration and recovery manager */
.r2-migration-card{overflow:hidden}.r2-migration-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:0 0 16px}.r2-migration-stats span{display:grid;gap:4px;padding:13px;border:1px solid var(--site-border);border-radius:14px;background:color-mix(in srgb,var(--site-surface) 88%,var(--green-soft))}.r2-migration-stats small{color:var(--site-muted);font-size:.74rem}.r2-migration-stats b{font-size:1rem;overflow-wrap:anywhere}.r2-migration-actions{margin-top:14px;flex-wrap:wrap}.r2-migration-progress{display:flex;align-items:center;gap:12px;margin-top:14px;padding:13px;border:1px solid color-mix(in srgb,var(--green) 34%,var(--site-border));border-radius:14px;background:color-mix(in srgb,var(--green-soft) 56%,var(--site-surface))}.r2-migration-progress[hidden]{display:none!important}.r2-migration-progress>div{display:grid;gap:4px;min-width:0;flex:1}.r2-migration-progress small{color:var(--site-muted);overflow-wrap:anywhere}.r2-migration-progress progress{width:100%;height:8px;accent-color:var(--green)}.r2-migration-result{margin-top:12px;padding:11px 13px;border-radius:12px;background:var(--site-bg);color:var(--site-muted);font-size:.82rem;overflow-wrap:anywhere}.r2-migration-result.is-success{background:#eaf8ee;color:#176534}.r2-migration-result.is-warning{background:#fff7e8;color:#8a5300}.r2-migration-result.is-error{background:#fff0f0;color:#9b2525}.r2-run-list{display:grid;gap:7px;margin-top:14px}.r2-run-list>span{display:flex;justify-content:space-between;gap:12px;padding:9px 11px;border:1px solid var(--site-border);border-radius:11px;background:var(--site-surface)}.r2-run-list small{color:var(--site-muted);text-align:right}@media(max-width:900px){.r2-migration-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:560px){.r2-migration-stats{grid-template-columns:1fr}.r2-run-list>span{display:grid}.r2-run-list small{text-align:left}.r2-migration-actions .btn{width:100%;justify-content:center}}
