@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:wght@400;500;600;700;800&display=swap');
:root{--ink:#16372e;--green:#0d6f65;--teal:#168f80;--mint:#ddf4eb;--paper:#fbfaf6;--white:#fff;--stroke:#e2e9e3;--muted:#70837b;--shadow:0 14px 55px #174b3420;--radius:17px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:'Be Vietnam Pro',system-ui,Arial,sans-serif;color:var(--ink);background:var(--paper);font-size:14px}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}a{color:inherit;text-decoration:none}img{max-width:100%;display:block}[hidden]{display:none!important}h1,h2,h3,p{margin-top:0}.container{max-width:1160px;width:calc(100% - 48px);margin:0 auto}.topstrip{background:#0e524a;color:#e5f9f1;text-align:center;font-size:11px;padding:11px 8px}.site-header{background:#fff;position:sticky;top:0;z-index:30;border-bottom:1px solid var(--stroke)}.navline{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:84px}.brand{display:inline-flex;align-items:center;gap:10px;flex-shrink:0}.brand-emblem{height:43px;width:43px;background:var(--green);border-radius:14px;display:grid;place-items:center;font-size:17px;font-weight:800;color:#fff}.brand-copy{display:flex;flex-direction:column}.brand-copy strong{font-size:21px;letter-spacing:-.8px;font-weight:800;line-height:1.3}.brand-copy strong span,.hero h1 span,.section-top h2 em{color:var(--teal)}.brand-copy small{font-size:9px;color:#82958b;letter-spacing:.3px;margin-top:3px}.mainnav{display:flex;align-items:center;gap:32px;font-size:12px;font-weight:600;color:#4b635a}.mainnav a:hover,.footer-row a:hover{color:var(--teal)}.btn{border:1px solid transparent;border-radius:11px;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:13px 21px;min-height:43px;font-weight:700;font-size:12px;transition:transform .15s,background .15s}.btn:hover:not(:disabled){transform:translateY(-1px)}.btn-dark{background:var(--green);color:#fff}.btn-dark:hover{background:#08574e}.btn-ghost{background:#fff;border-color:#dce6dc;color:var(--green)}.btn-light{background:#fff;color:var(--green)}.btn-small{padding:9px 12px;min-height:33px;font-size:11px}.btn-full{width:100%}.cart-head span{display:inline-grid;place-items:center;width:22px;height:22px;border-radius:7px;background:#ffffff30}.hero{background:radial-gradient(ellipse at 88% 15%,#e1f4e8 0%,transparent 43%),linear-gradient(110deg,#fcfcf8,#eef8f0)}.hero-inner{min-height:500px;display:grid;grid-template-columns:1.1fr .9fr;gap:36px;align-items:center;padding:48px 0}.eyebrow{display:block;font-size:10px;letter-spacing:2.2px;font-weight:800;color:var(--teal);margin-bottom:14px}.hero h1{font-size:clamp(38px,4.1vw,59px);line-height:1.21;letter-spacing:-2.9px;margin:15px 0 18px;font-weight:800}.hero p{font-size:13px;color:#738c7e;line-height:2.1;max-width:525px}.hero-buttons{display:flex;flex-wrap:wrap;gap:10px;margin:24px 0}.hero-meta{display:flex;gap:20px;flex-wrap:wrap;font-size:10px;color:#779489}.hero-art{height:390px;background:linear-gradient(145deg,#cfebdd,#9bd9c1);border-radius:42px 110px 46px 105px;position:relative;overflow:hidden;display:flex;align-items:center;justify-content:center}.halo{width:310px;height:310px;border:1px solid #ffffffa0;border-radius:50%;box-shadow:0 0 0 42px #fff2,0 0 0 83px #fff2}.pack{position:absolute;background:#ffffffd9;box-shadow:0 15px 40px #205e3535;border-radius:20px;display:flex;align-items:center;justify-content:center}.p1{width:114px;height:94px;top:42px;left:60px;display:flex;flex-direction:column;color:#bf9954;transform:rotate(-9deg);font-size:28px}.p1 strong{font-size:11px}.p2{width:175px;height:190px;top:95px;left:calc(50% - 80px);font-size:90px;transform:rotate(5deg);border:8px solid #e9faf4}.p3{width:100px;height:90px;right:25px;bottom:42px;font-size:60px;color:#edb364;transform:rotate(14deg)}.hero-caption{position:absolute;bottom:24px;left:28px;color:#145a4e;font-size:20px;font-weight:800}.hero-caption span{color:#fff}.hero-caption small{font-size:9px;letter-spacing:2px;display:block;text-transform:uppercase;color:#3e8778;margin-top:4px}.features{display:grid;grid-template-columns:repeat(3,1fr);margin-top:25px;padding:23px 20px;background:#fff;border:1px solid var(--stroke);border-radius:19px;box-shadow:0 8px 32px #102d0c09;gap:14px}.features article{display:flex;align-items:center;gap:14px;padding:5px 20px;border-right:1px solid var(--stroke)}.features article:last-child{border:0}.features article>span{width:44px;height:44px;background:#e9f6f0;border-radius:12px;display:grid;place-items:center;font-size:23px}.features b,.features small{display:block}.features b{font-size:12px}.features small{color:var(--muted);font-size:10px;margin-top:5px;line-height:1.6}.section{padding-top:75px}.section-top{display:flex;justify-content:space-between;gap:20px;align-items:end;margin-bottom:23px}.section-top h2{font-size:33px;letter-spacing:-1.3px;margin:0;font-weight:800}.section-top h2 em{font-style:normal}.muted{color:var(--muted)}.chips{display:flex;gap:9px;flex-wrap:wrap}.chip{border:1px solid #dbe9df;background:white;color:var(--ink);border-radius:99px;padding:10px 15px;font-weight:600;font-size:11px}.chip:hover,.chip.is-active{background:var(--green);color:#fff;border-color:var(--green)}.products-section{padding-bottom:90px}.filters{display:flex;justify-content:space-between;gap:12px;margin:0 0 16px}.search-field{max-width:420px;flex:1;display:flex;gap:9px;align-items:center;background:#fff;border:1px solid var(--stroke);border-radius:11px;padding:0 14px}.search-field span{font-size:26px;color:var(--green)}.search-field input{border:0;outline:none;min-width:0;width:100%;height:44px;background:transparent}.filters select{border:1px solid var(--stroke);border-radius:11px;padding:0 15px;background:#fff;color:var(--ink)}.notice{margin:18px 0;padding:16px 20px;border-radius:13px;background:#eaf6ef;border:1px solid #c8e3d1;font-size:12px;line-height:1.8;color:#315748}.notice.error{background:#fff2f0;border-color:#edcfcc;color:#a63e35}.product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.product{background:white;border:1px solid var(--stroke);border-radius:16px;overflow:hidden;transition:transform .18s,box-shadow .18s}.product:hover{transform:translateY(-3px);box-shadow:var(--shadow)}.product-img{height:209px;background:linear-gradient(135deg,#e7f7ed,#bfe5d1);display:flex;align-items:center;justify-content:center;position:relative}.product-img img{width:100%;height:100%;object-fit:cover}.placeholder{font-size:56px;opacity:.75}.stock-flag{position:absolute;top:12px;left:12px;background:#fffdf4;color:#96651f;border-radius:7px;font-size:10px;font-weight:700;padding:6px 8px}.stock-flag.sold{color:#a54242}.product-desc{padding:16px}.product-category{font-size:10px;font-weight:700;color:var(--teal);margin-bottom:9px}.product h3{font-size:13px;line-height:1.6;min-height:42px;margin:0 0 7px}.product p{font-size:10px;color:#809186;line-height:1.7;min-height:35px;margin:0 0 11px}.price{font-size:16px;color:var(--green);font-weight:800}.product-bottom{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:12px 0 0}.product-bottom small{font-size:10px;color:#8e9f96}.product-bottom button{border:0;border-radius:9px;padding:9px 12px;background:#e3f2ea;color:var(--green);font-size:11px;font-weight:800}.product-bottom button:hover{background:var(--green);color:#fff}.product-bottom button:disabled{background:#ecefe9;color:#9daaa1}.footer-promo{border-radius:23px;background:linear-gradient(115deg,#0c6a5f,#178b77);color:#fff;min-height:240px;padding:45px;display:flex;align-items:center;justify-content:space-between;gap:40px;margin-bottom:70px}.footer-promo .eyebrow{color:#abdbc7}.footer-promo h2{font-size:32px;margin:0 0 9px}.footer-promo p{max-width:660px;color:#dcf5eb;line-height:2;font-size:12px}footer{background:#102d27;color:#b5d2c2}.footer-row{min-height:95px;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;font-size:11px}.footer-row a{color:#e4f5e9}.veil{position:fixed;inset:0;z-index:40;background:#081e15ac}.drawer{position:fixed;right:0;top:0;bottom:0;max-width:440px;width:100%;z-index:50;display:flex;flex-direction:column;background:#fff;box-shadow:-15px 0 50px #0015}.drawer[aria-hidden="true"]{display:none}.drawer-header,.modal-head{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:24px;border-bottom:1px solid var(--stroke)}.drawer-header h2,.modal-head h2{margin:0;font-size:23px}.circle-btn{border:1px solid var(--stroke);border-radius:50%;height:36px;width:36px;background:#fff;font-size:25px;line-height:1}.cart-items{overflow:auto;flex:1;padding:12px 24px}.cart-item{display:grid;grid-template-columns:55px 1fr auto;gap:12px;align-items:center;border-bottom:1px solid var(--stroke);padding:17px 0}.cart-thumb{height:55px;width:55px;background:#def3e7;border-radius:10px;overflow:hidden;display:grid;place-items:center;font-size:27px}.cart-thumb img{height:100%;width:100%;object-fit:cover}.cart-details strong{font-size:12px;display:block;line-height:1.7}.cart-details small{color:var(--teal);display:block;font-size:11px;margin:4px 0}.qty{display:flex;gap:8px;align-items:center}.qty button{width:27px;height:27px;border:1px solid var(--stroke);border-radius:7px;background:#fff}.remove{color:#c75343;border:0;background:none;font-size:11px}.drawer-bottom{border-top:1px solid var(--stroke);padding:22px 24px 26px}.drawer-bottom small{display:block;line-height:1.7;color:#829087;font-size:10px;margin:8px 0 18px}.total-line{display:flex;justify-content:space-between;align-items:center;gap:12px}.total-line strong{color:var(--green);font-size:22px}.modal{position:fixed;inset:0;z-index:70;background:#0c211bc7;display:grid;place-items:center;padding:16px;overflow:auto}.modal-box{background:#fff;border-radius:19px;width:min(96vw,570px);max-height:94vh;overflow:auto;box-shadow:var(--shadow)}.modal-box.wide{width:min(96vw,730px)}.modal-box form{padding:24px}.modal-box label,.login-box label{display:block;margin:0 0 16px;font-size:11px;font-weight:700}.modal-box label input,.modal-box label textarea,.modal-box label select,.login-box input,.category-add input{display:block;width:100%;border-radius:10px;border:1px solid #d6e4d9;padding:12px 13px;margin-top:8px;background:#fff;outline-color:#35a68f;font-size:12px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.form-hint,.help-text{color:#7d9284;font-size:10px;line-height:1.8}.help-text{display:block;margin-top:7px}.order-totals{border-top:1px solid var(--stroke);padding-top:14px;margin-top:5px}.error-text{font-size:12px;line-height:1.7;color:#b23b35}.honeypot{position:absolute!important;left:-9999px!important}.success{padding:30px 25px;text-align:center}.success .bigcheck{font-size:55px}.success h3{font-size:24px}.success p{line-height:1.9;color:#5d7969;font-size:12px}.success b{color:var(--green)}.toast{position:fixed;left:50%;bottom:22px;transform:translateX(-50%);z-index:100;background:#153f35;color:#fff;border-radius:13px;padding:14px 22px;box-shadow:var(--shadow);font-size:12px;max-width:90vw;display:none;text-align:center}.toast.show{display:block}
/* ADMIN */
.admin-body{background:#f6f8f5}.admin-top{background:#fff;border-bottom:1px solid var(--stroke)}.admin-top-inner{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:78px}.admin-user{display:flex;align-items:center;gap:14px;font-size:11px;color:#617c6d}.admin-user a{color:var(--teal)}.admin-main{padding-top:35px;padding-bottom:75px}.login-wrap{display:grid;place-items:center;min-height:70vh}.login-box{background:#fff;border:1px solid var(--stroke);border-radius:22px;padding:40px;max-width:470px;width:100%;box-shadow:var(--shadow)}.login-box h1{font-size:30px;letter-spacing:-1px;margin:4px 0 12px}.login-box>p{color:var(--muted);font-size:12px;line-height:1.9}.login-box form{margin:25px 0}.login-box .muted{font-size:10px;line-height:1.7}.admin-page-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:5px 0 25px}.admin-page-head h1{font-size:32px;letter-spacing:-1px;margin:0 0 8px}.admin-page-head p{font-size:12px;color:var(--muted);line-height:1.8;margin:0}.stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:28px}.stat{background:#fff;border:1px solid var(--stroke);border-radius:14px;padding:20px 22px}.stat small{display:block;color:#6f8a7b;font-size:11px;margin-bottom:14px}.stat strong{font-size:24px;color:var(--green);line-height:1.4}.admin-tabs{display:flex;gap:8px;margin-bottom:14px;flex-wrap:wrap}.tab{border:1px solid #dbe6dc;border-radius:11px;background:white;color:#657f6d;padding:13px 19px;font-size:12px;font-weight:700}.tab.is-active{background:var(--green);border-color:var(--green);color:#fff}.admin-tab{background:#fff;border:1px solid var(--stroke);border-radius:18px;padding:24px;min-height:280px}.panel-title{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:20px}.panel-title h2{font-size:19px;margin:0}.panel-title input{border:1px solid var(--stroke);border-radius:10px;padding:10px;max-width:300px;width:100%;font-size:12px}.admin-product{display:grid;grid-template-columns:65px 1fr auto;gap:15px;align-items:center;border-bottom:1px solid var(--stroke);padding:14px 0}.admin-product:last-child{border-bottom:0}.admin-thumb{height:65px;width:65px;background:#e9f5ed;border-radius:12px;overflow:hidden;display:grid;place-items:center;font-size:26px}.admin-thumb img{width:100%;height:100%;object-fit:cover}.admin-product-name{font-size:13px;font-weight:700;line-height:1.5}.admin-product-meta{font-size:11px;color:var(--muted);line-height:1.9}.admin-actions{display:flex;gap:8px;align-items:center}.action-btn{border:1px solid var(--stroke);border-radius:9px;background:#fff;padding:9px 11px;font-size:11px;font-weight:700}.action-btn.warn{color:#c14742}.action-btn:hover{background:#e7f5eb}.pill{display:inline-block;border-radius:99px;background:#e2f4e8;color:#0c6749;padding:4px 8px;font-size:10px;font-weight:700}.pill.inactive{background:#f1eade;color:#926b36}.pill.pending{background:#fff0ce;color:#915921}.pill.completed{background:#e2f4e8;color:#116943}.pill.cancelled{background:#fae3e1;color:#b23c38}.order-card{border:1px solid var(--stroke);border-radius:13px;margin-bottom:13px;padding:18px}.order-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:13px}.order-head strong{font-size:13px}.order-head small{font-size:10px;color:var(--muted);display:block;margin-top:4px}.order-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.order-grid>div{font-size:11px;line-height:1.9;color:#4f6c5d}.order-grid b{display:block;font-size:10px;color:#829487}.order-lines{background:#f6f9f6;padding:10px;border-radius:10px;font-size:11px;line-height:2;margin:12px 0}.order-line{display:flex;justify-content:space-between;gap:12px}.order-bottom{display:flex;gap:12px;align-items:center;justify-content:space-between;flex-wrap:wrap}.order-bottom strong{font-size:15px;color:var(--green)}.order-bottom select{padding:9px 12px;border-radius:10px;border:1px solid var(--stroke);background:white;font-size:11px}.category-add{display:flex;gap:12px;align-items:end;flex-wrap:wrap;margin:0 0 16px}.category-add input{margin-top:0;width:min(100%,320px)}.category-manage>div{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:14px 2px;border-top:1px solid var(--stroke);font-size:12px}.category-manage small{color:var(--muted)}.checkbox-row{display:flex!important;align-items:center;gap:10px;font-size:12px!important}.checkbox-row input{width:auto!important;margin:0!important}.product-preview{height:78px;display:flex;align-items:center;font-size:11px;color:var(--muted);gap:10px}.product-preview img{width:70px;height:70px;border:1px solid var(--stroke);border-radius:10px;object-fit:cover}
@media(max-width:990px){.product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hero-inner{min-height:0}.mainnav{gap:15px}}
@media(max-width:700px){.container{width:calc(100% - 28px)}.navline{min-height:70px}.mainnav{display:none}.brand-copy strong{font-size:17px}.brand-emblem{width:38px;height:38px}.hero-inner{display:flex;flex-direction:column;align-items:stretch;gap:15px;padding:37px 0}.hero h1{font-size:37px;letter-spacing:-1.9px}.hero p{font-size:12px}.hero-art{height:240px;border-radius:28px 70px 28px 70px}.halo{width:190px;height:190px}.p2{width:115px;height:125px;top:50px;left:calc(50% - 55px);font-size:56px}.p1{top:25px;left:20px;width:85px;height:60px;font-size:20px}.p3{right:15px;bottom:20px;width:65px;height:60px;font-size:35px}.hero-caption{font-size:15px;bottom:14px;left:15px}.features{grid-template-columns:1fr;gap:8px;margin-top:12px}.features article{border-right:0;padding:7px 12px}.section{padding-top:52px}.section-top h2{font-size:28px}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.product-img{height:155px}.product-desc{padding:11px}.product h3{font-size:11px;min-height:36px}.product p{font-size:9px}.product-bottom{align-items:stretch;flex-direction:column}.product-bottom button{width:100%}.price{font-size:15px}.footer-promo{display:block;margin-bottom:45px;padding:29px}.footer-promo .btn{margin-top:12px}.footer-row{padding:20px 0}.form-grid{grid-template-columns:1fr;gap:0}.admin-top-inner{min-height:70px}.admin-user{gap:6px}.admin-user span{display:none}.login-box{padding:25px}.admin-page-head{flex-direction:column;align-items:flex-start}.admin-page-head h1{font-size:27px}.admin-tab{padding:15px}.panel-title{align-items:flex-start;flex-direction:column}.panel-title input{max-width:none}.admin-product{grid-template-columns:50px 1fr;gap:9px}.admin-thumb{width:50px;height:50px}.admin-actions{grid-column:2}.order-grid{grid-template-columns:1fr}.modal-box form{padding:17px}.modal-head,.drawer-header{padding:17px}.stat{padding:15px}.stat strong{font-size:21px}.cart-head{padding:10px;font-size:11px}.hero-meta{gap:10px}}
@media(max-width:380px){.brand-copy strong{font-size:15px}.cart-head{font-size:10px;padding:9px}.stat-grid{gap:8px}}

/* CONTACT SETTINGS V2 */
.shop-contact-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:20px}.shop-contact-item{display:flex;flex-direction:column;gap:4px;padding:12px 14px;border:1px solid #ffffff4a;background:#ffffff15;border-radius:12px;min-width:0;overflow-wrap:anywhere}.shop-contact-item span{font-size:10px;opacity:.82}.shop-contact-item strong{font-size:12px;line-height:1.8}.shop-contact-item[href]:hover{background:#ffffff25}.settings-form{max-width:780px}.settings-form label{font-size:12px;font-weight:700;display:block;margin:0 0 16px}.settings-form label input,.settings-form label textarea{display:block;width:100%;border:1px solid #d6e4d9;border-radius:10px;padding:12px 13px;margin-top:8px;background:#fff;outline-color:#35a68f;font-size:12px}.settings-form .form-grid{gap:16px}.settings-success{color:#0a7556;font-size:12px;margin-top:12px;font-weight:700}@media(max-width:700px){.shop-contact-list{grid-template-columns:1fr}}
/* V3 bulk importer, image gallery, exports */
.actions-inline{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.action-btn.is-active,.btn.is-active{background:#e4f6ed;color:#0b6e54;border-color:#88c5ad}.import-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.import-steps>div{border:1px solid #dae8df;border-radius:13px;background:#f8fbf8;padding:16px;font-size:12px}.import-steps b{display:block;margin-bottom:12px;color:#0d6155}.import-steps small{display:block;margin-top:10px;line-height:1.8;color:#687e70}.import-steps input[type=file]{max-width:100%;width:100%}.import-steps .check-small{display:flex;gap:7px;align-items:flex-start;font-size:11px;line-height:1.65;margin:10px 0}.check-small input{margin-top:4px}.import-preview{margin:12px 0}.import-table-wrap{overflow-x:auto;border:1px solid #e0ebe3;border-radius:12px}.import-table-wrap table{border-collapse:collapse;width:100%;min-width:700px;text-align:left;font-size:11px}.import-table-wrap th{background:#eaf4ed;color:#316851;font-weight:700}.import-table-wrap td,.import-table-wrap th{padding:10px;border-bottom:1px solid #e2eee7}.import-log{max-height:260px;overflow:auto;background:#152f29;color:#c8eee3;border-radius:12px;padding:16px;font-size:11px;line-height:1.9;white-space:pre-wrap;word-break:break-word}.gallery-editor{display:flex;gap:6px;flex-wrap:wrap;font-size:11px;color:#617d71;margin:7px 0 14px}.gallery-editor img{height:69px;width:69px;object-fit:cover;border-radius:10px;border:1px solid var(--stroke)}.open-photo{display:block;width:100%;height:100%;background:none;border:0;padding:0;overflow:hidden}.open-photo img{width:100%;height:100%;object-fit:cover}.details-link{background:none;border:0;padding:0;color:var(--green);font-size:10px;text-align:left;font-weight:700;margin:6px 0 12px}.details-link:hover{text-decoration:underline}.details-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;padding:22px}.details-main-photo{min-height:300px;background:#eff8f1;border-radius:15px;display:grid;place-items:center;overflow:hidden;font-size:70px}.details-main-photo img{width:100%;max-height:430px;object-fit:contain}.details-photos{display:flex;flex-wrap:wrap;gap:8px;margin-top:9px}.details-thumb{border:2px solid transparent;border-radius:9px;background:white;padding:2px;width:65px;height:65px}.details-thumb.selected{border-color:#0d6f65}.details-thumb img{width:100%;height:100%;object-fit:cover}.details-grid h3{font-size:18px}.details-grid p{line-height:2;font-size:12px;white-space:pre-wrap}.details-grid .price{font-size:23px;margin:22px 0}.details-grid .btn{margin-bottom:10px}@media(max-width:900px){.import-steps{grid-template-columns:1fr}}@media(max-width:650px){.details-grid{grid-template-columns:1fr}.details-main-photo{min-height:230px}.actions-inline{width:100%}}

/* V4 Shopee official-link import */
.shopee-link-box{background:var(--surface,#fff);padding:22px;border:1px solid #dce7e4;border-radius:18px;display:grid;gap:22px}
.shopee-link-box>div{min-width:0}.shopee-connection{padding:16px;background:#eff9f6;border-radius:13px}
.shopee-connection p{margin:8px 0}.shopee-link-box label{display:grid;gap:8px;margin-top:12px;font-weight:600;font-size:13px}
.shopee-link-box input[type=url],.shopee-link-box select{width:100%;min-width:0;padding:12px;border:1px solid #cbd8d4;border-radius:9px;background:#fff;font:inherit}
.shopee-link-box .check-small{display:flex;align-items:center;gap:8px;font-weight:400}
.shopee-preview{display:grid;gap:12px}.shopee-preview>label{max-width:100%}
.shopee-product-preview{display:grid;grid-template-columns:110px 1fr;gap:14px;padding:12px;background:#f7faf9;border-radius:12px}
.shopee-product-preview p{font-size:12px;color:#62746f;margin:8px 0}.shopee-preview-img{width:100px;height:100px;display:grid;place-items:center;background:#e8eeee;border-radius:10px;color:#647875;overflow:hidden}
.shopee-preview-img img{max-width:100%;max-height:100%;object-fit:contain}.shopee-link-final{display:grid;gap:10px}.shopee-message{border:1px solid #dce7e4;background:#f4f8f7;padding:12px;border-radius:10px;font-size:13px;line-height:1.6}
.shopee-message[data-status=error]{background:#fff1f0;border-color:#f0c2c2;color:#9a2424}.shopee-message[data-status=success]{background:#eff9f6;border-color:#bbddd2;color:#086453}
@media(max-width:500px){.shopee-product-preview{grid-template-columns:80px 1fr}.shopee-preview-img{width:76px;height:76px}.shopee-link-box{padding:14px}}
/* V5: Shopee links without API */
.noapi-note{background:#edf9f2;border:1px solid #b9dec9;color:#285e4e;border-radius:12px;padding:16px;font-size:12px;line-height:1.9;margin:14px 0}
.shopee-link-box textarea,.shopee-link-box input[type=text],.shopee-link-box input[type=number],.shopee-link-box input[type=file],.shopee-link-box select{border:1px solid #ccdad3;border-radius:10px;padding:11px;min-width:0;width:100%;background:white;font:inherit}
.shopee-link-box textarea{resize:vertical}
.shopee-link-box code{font-weight:600;font-size:11px;background:#ecf6f1;padding:3px 5px;border-radius:5px}
.link-local-preview,.link-drafts{display:grid;gap:12px;margin-top:12px}
.link-preview-item{padding:14px;border:1px solid #dce9e2;background:#fff;border-radius:12px;display:grid;gap:5px;font-size:12px;overflow-wrap:anywhere}
.link-preview-item small{color:#617d70;font-size:11px}.link-preview-item a,.link-draft-head a{color:#0b745a;font-size:11px}
.link-draft{border:1px solid #dbe7e0;background:#fcfefc;padding:16px;border-radius:14px;display:grid;gap:11px}
.link-draft-head{display:flex;justify-content:space-between;gap:12px;align-items:center;flex-wrap:wrap;font-size:13px}
.link-draft-head small{color:#758a7b;font-weight:400;margin-left:8px}
.link-missing{padding:8px 10px;border-radius:8px;background:#fff8e8;color:#8e6222;font-size:11px;margin:0;line-height:1.6}
.link-draft label{font-size:11px;display:grid;gap:7px;font-weight:600}
.link-draft .check-small{display:flex;align-items:center;gap:8px;font-weight:400}
.link-draft .check-small input{width:auto;min-width:auto;margin:0}
.link-draft .form-grid{gap:10px}.link-draft .form-grid label{margin:0}
.link-image-row{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.link-image-row img{width:76px;height:76px;object-fit:cover;border:1px solid #dce7e0;border-radius:9px}
.link-image-row small{font-size:11px;color:#66786a}.link-row-message{font-size:11px;color:#994a20;margin:0;white-space:pre-wrap}
@media(max-width:700px){.link-draft{padding:12px}.link-draft .form-grid{grid-template-columns:1fr}}

.noapi-batch-tools{display:grid;gap:12px;border:1px dashed #9bc8b4;background:#f6faf7;border-radius:13px;padding:16px;margin:13px 0}.noapi-batch-tools label{font-size:12px;display:grid;gap:9px}.noapi-batch-tools input{width:100%;max-width:650px}

/* V6 — Multi-shop Shopee link import */
.multi-shop-guide{border:1px dashed #bddccf;background:#f3faf6;padding:12px;border-radius:10px;display:grid;gap:5px;font-size:12px;line-height:1.6}
.multi-shop-guide small{color:#527568;display:block}
.link-rights{border-radius:10px;background:#fffdf2;border:1px solid #eadba1;padding:12px;display:flex!important;gap:9px!important;align-items:flex-start!important;font-weight:500!important}
.link-rights input{width:auto!important;min-width:auto!important;margin-top:2px}
.multi-shop-summary{background:#eef8f5;border:1px solid #bfdfd1;padding:10px 12px;border-radius:10px;font-size:12px;color:#145e4b}
.link-shop-group{display:grid;gap:8px;margin:10px 0 16px}
.link-shop-group h3{font-size:14px;color:#0f6558;background:#ebf6f1;padding:10px 14px;border-radius:9px;margin:0}
.link-shop-group h3 small{font-size:11px;font-weight:400;margin-left:8px}
