:root{--bg:#07111f;--panel:#0d1a2b;--panel2:#101f34;--line:#20324a;--text:#edf5ff;--muted:#8da0b8;--blue:#3d8cff;--green:#2ed58a;--amber:#ffb020;--red:#ff6b6b}
*{box-sizing:border-box}body.dpp-portal{margin:0;background:radial-gradient(circle at 80% 0,#10294b 0,#07111f 35%,#050b14 100%);color:var(--text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;min-height:100vh}.dpp-portal a{color:inherit}.login-shell{min-height:100vh;display:grid;place-items:center;padding:24px}.login-card{width:min(100%,460px);background:rgba(13,26,43,.94);border:1px solid var(--line);border-radius:20px;padding:32px;box-shadow:0 30px 80px rgba(0,0,0,.35)}.brand-mark{width:56px;height:56px;border-radius:16px;display:grid;place-items:center;background:linear-gradient(135deg,#2f80ff,#1fd5d0);font-weight:800;font-size:24px;box-shadow:0 10px 30px #2f80ff33}.brand-mark.small{width:38px;height:38px;border-radius:11px;font-size:18px}.login-card h1{margin:18px 0 8px}.muted,.tiny{color:var(--muted)}.tiny{font-size:12px;margin-top:18px;text-align:center}.login-form{display:grid;gap:10px;margin-top:24px}.login-form label,.buy-form label{font-size:13px;color:#b9c7d7}.login-form input,.buy-form input{width:100%;background:#081320;color:var(--text);border:1px solid var(--line);border-radius:11px;padding:13px 14px;outline:none}.login-form input:focus,.buy-form input:focus{border-color:#3d8cff}.login-form button,.buy-form button,.telegram-btn{border:0;border-radius:11px;padding:13px 16px;background:linear-gradient(135deg,#357cff,#2f9cff);color:#fff;font-weight:700;cursor:pointer;text-decoration:none;text-align:center}.telegram-btn{display:inline-flex;justify-content:center;align-items:center;margin-top:12px;background:linear-gradient(135deg,#25a8e0,#2387cf)}.telegram-btn.compact{margin:0;padding:10px 14px;white-space:nowrap}.notice-card{margin:18px 0;background:#0a1727;border:1px solid #26415e;border-radius:12px;padding:14px;display:grid;gap:5px}.notice-card span{color:var(--muted);font-size:13px}.app-shell{display:grid;grid-template-columns:240px minmax(0,1fr);min-height:100vh}.sidebar{background:rgba(7,17,31,.92);border-right:1px solid var(--line);padding:22px 16px;display:flex;flex-direction:column;position:sticky;top:0;height:100vh}.brand{display:flex;align-items:center;gap:12px;padding:4px 8px 22px}.brand div{display:grid}.brand small{font-size:11px;color:var(--muted);margin-top:2px}.sidebar nav{display:grid;gap:6px}.sidebar nav a{padding:11px 12px;border-radius:10px;text-decoration:none;color:#9fb2c9;font-size:14px}.sidebar nav a:hover,.sidebar nav a.active{background:#122744;color:#fff}.sidebar-bottom{margin-top:auto}.balance-mini{background:#0c1d32;border:1px solid var(--line);padding:13px;border-radius:12px;display:grid;gap:3px}.balance-mini small{color:var(--muted)}.link-btn{margin-top:10px;background:transparent;border:0;color:#9fb2c9;cursor:pointer;padding:8px}.main{padding:28px;min-width:0}.topbar{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:22px}.topbar h2{margin:0 0 3px;font-size:26px}.topbar span,.top-balance small{color:var(--muted);font-size:13px}.top-balance{display:grid;text-align:right}.top-balance strong{font-size:18px}.flash{padding:12px 14px;border-radius:10px;margin-bottom:16px;border:1px solid}.flash.success{background:#0c2b21;border-color:#1c6b4e}.flash.error{background:#32171c;border-color:#803341}.rate-banner{display:flex;justify-content:space-between;align-items:center;gap:18px;background:linear-gradient(135deg,#102544,#0d2331);border:1px solid #22476e;border-radius:16px;padding:18px;margin-bottom:18px}.rate-banner div{display:grid;gap:4px}.rate-banner small{color:#7caeea;text-transform:uppercase;letter-spacing:.08em;font-size:10px}.rate-banner strong{font-size:15px}.rate-banner span{color:var(--muted);font-size:13px}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:18px}.stats>div{background:rgba(13,26,43,.92);border:1px solid var(--line);border-radius:15px;padding:17px;display:grid;gap:8px}.stats span{color:var(--muted);font-size:12px}.stats strong{font-size:25px}.panel{background:rgba(13,26,43,.94);border:1px solid var(--line);border-radius:16px;padding:18px;margin-bottom:18px}.panel.centered{text-align:center;max-width:680px;margin:30px auto}.panel-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}.panel-head h3{margin:0}.panel-head a{font-size:13px;color:#7bb6ff;text-decoration:none}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;min-width:680px}th,td{text-align:left;padding:12px 10px;border-bottom:1px solid #1c2d44;font-size:13px}th{color:#7f94ac;font-weight:600}td{color:#dbe6f3}.badge{display:inline-flex;padding:5px 8px;border-radius:999px;font-size:11px;font-weight:700}.badge.green{background:#10392b;color:#57e2a8}.badge.amber{background:#3b2a0a;color:#ffc75f}.badge.blue{background:#102f5a;color:#78b5ff}.badge.gray{background:#202b3a;color:#a8b7c8}.notices{display:grid;gap:10px;margin-bottom:18px}.notice-row{display:flex;justify-content:space-between;gap:16px;background:#101e31;border:1px solid #223751;border-radius:13px;padding:14px}.notice-row p{margin:5px 0 0;color:var(--muted);font-size:13px}.product-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:16px}.product-card{background:rgba(13,26,43,.96);border:1px solid var(--line);border-radius:17px;overflow:hidden}.product-card img,.product-placeholder{width:100%;height:150px;object-fit:cover;background:linear-gradient(135deg,#102747,#0a1a2e);display:grid;place-items:center;font-size:44px;font-weight:800;color:#6db1ff}.product-body{padding:16px}.product-top{display:flex;justify-content:space-between;align-items:center}.category{font-size:11px;color:var(--muted)}.product-body h3{margin:13px 0 7px}.product-body p{color:var(--muted);font-size:13px;min-height:36px}.price{font-size:22px;font-weight:800;margin:14px 0}.price small{font-size:12px;color:var(--muted)}.buy-form{display:grid;grid-template-columns:95px 1fr;gap:10px;align-items:end}.buy-form label{display:grid;gap:6px}.buy-form button{height:44px}.empty{padding:30px;text-align:center;color:var(--muted);background:#0d1a2b;border:1px dashed var(--line);border-radius:14px}.delivery-list{display:grid;gap:16px}.delivery-card{background:rgba(13,26,43,.96);border:1px solid var(--line);border-radius:16px;padding:18px}.delivery-head h3{margin:8px 0 3px}.delivery-head small{color:var(--muted)}.credentials{display:grid;gap:10px;margin-top:15px}.credential{background:#081421;border:1px solid #1d3148;border-radius:12px;padding:12px}.cred-head{display:flex;justify-content:space-between;color:#9bb0c7;font-size:12px}.cred-head button{background:#142943;border:1px solid #274462;color:#dfeaff;border-radius:7px;padding:5px 9px;cursor:pointer}.credential pre{white-space:pre-wrap;word-break:break-word;margin:10px 0 0;color:#f2f7fd;font-size:13px}.pos{color:#50e1a5}.neg{color:#ff8e8e}.connected-mark{width:64px;height:64px;border-radius:50%;display:grid;place-items:center;background:#123b2d;color:#59e5aa;font-size:30px;margin:10px auto}

@media(max-width:900px){
  .app-shell{grid-template-columns:1fr;display:block}
  .sidebar{position:sticky;top:0;z-index:30;height:auto;border-right:0;border-bottom:1px solid var(--line);padding:12px 14px;background:rgba(7,17,31,.98);backdrop-filter:blur(14px)}
  .brand{padding:0 4px 10px}.brand small{display:none}
  .sidebar nav{display:flex;gap:6px;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:none;padding-bottom:2px}.sidebar nav::-webkit-scrollbar{display:none}
  .sidebar nav a{white-space:nowrap;flex:0 0 auto;padding:9px 11px}
  .sidebar-bottom{display:none}
  .main{padding:18px}
  .topbar{align-items:flex-start;margin-bottom:16px}.topbar h2{font-size:23px}
  .stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .panel,.delivery-card{border-radius:14px;padding:15px}
  .table-wrap{margin:0 -2px;padding-bottom:4px;-webkit-overflow-scrolling:touch}
  table{min-width:620px}
}
@media(max-width:600px){
  body.dpp-portal{background:linear-gradient(180deg,#09192c 0,#050b14 48%,#050b14 100%)}
  .login-shell{padding:16px;place-items:center}
  .login-card{width:100%;padding:22px 18px;border-radius:16px;box-shadow:0 20px 50px rgba(0,0,0,.3)}
  .login-card h1{font-size:27px;margin-top:16px}.login-form{margin-top:20px}
  .login-form input,.login-form button{min-height:48px;font-size:16px}
  .telegram-btn{width:100%;min-height:46px}
  .sidebar{padding:10px 10px 9px}.brand{gap:9px}.brand-mark.small{width:34px;height:34px;border-radius:10px}
  .sidebar nav a{font-size:13px;padding:8px 10px}
  .main{padding:14px 12px 24px}
  .topbar{gap:10px}.topbar h2{font-size:21px}.topbar span{display:block;max-width:72vw;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .top-balance{display:none}
  .stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.stats>div{padding:13px;border-radius:13px}.stats strong{font-size:21px}
  .rate-banner{align-items:stretch;flex-direction:column;padding:15px;border-radius:14px}.rate-banner .telegram-btn{width:100%;margin-top:0}
  .notices{gap:8px}.notice-row{flex-direction:column;gap:8px}.notice-row .badge{align-self:flex-start}
  .product-grid{grid-template-columns:1fr}.product-card img,.product-placeholder{height:138px}.product-body{padding:14px}.product-body p{min-height:0}.price{font-size:20px}
  .buy-form{grid-template-columns:1fr;gap:9px}.buy-form input,.buy-form button{min-height:46px;font-size:16px}
  .panel{padding:14px;margin-bottom:14px}.panel-head{gap:10px}.panel-head h3{font-size:17px}
  table{min-width:560px}th,td{padding:10px 8px;font-size:12px}
  .delivery-card{padding:14px}.credential{padding:11px}.cred-head{gap:8px;align-items:center}.credential pre{font-size:12px}
  .panel.centered{margin:16px auto}.connected-mark{width:58px;height:58px}
}
@media(max-width:380px){
  .stats{grid-template-columns:1fr}
  .login-shell{padding:10px}.login-card{padding:20px 15px}
  .main{padding-left:10px;padding-right:10px}
}
.telegram-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-bottom:18px}.telegram-status-card{background:rgba(13,26,43,.94);border:1px solid var(--line);border-radius:15px;padding:17px}.telegram-status-head{display:flex;align-items:center;justify-content:space-between;gap:14px}.telegram-status-head>div{display:grid;gap:5px}.telegram-status-head small{color:var(--muted);font-size:12px}.telegram-status-head strong{font-size:18px}.telegram-status-card p{margin:12px 0;color:var(--muted);font-size:13px;line-height:1.5}.status-dot{width:12px;height:12px;border-radius:50%;background:#5b6879;box-shadow:0 0 0 5px rgba(91,104,121,.12);flex:0 0 auto}.status-dot.on{background:var(--green);box-shadow:0 0 0 5px rgba(46,213,138,.12)}.status-dot.off{background:#718096}.status-link{display:inline-flex;color:#7bb6ff!important;text-decoration:none;font-size:13px;font-weight:700}.telegram-status-card .telegram-btn.compact{margin-top:0}
@media(max-width:700px){.telegram-summary{grid-template-columns:1fr;gap:10px}.telegram-status-card{padding:14px}}
.telegram-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.inline-action-form{display:inline;margin:0}.disconnect-btn{appearance:none;border:1px solid #6f3340;background:#2a151b;color:#ff9aaa;border-radius:9px;padding:7px 11px;font-size:12px;font-weight:700;cursor:pointer}.disconnect-btn:hover{background:#3a1922;border-color:#a44b5d}.disconnect-btn.large{margin-top:18px;padding:11px 16px;font-size:14px}.disconnect-form{margin:0}.retention-note{background:#0b1929;border:1px solid #213a55;border-radius:13px;padding:13px 14px;margin-bottom:14px;color:#a9bdd4;font-size:13px;line-height:1.5}.delivery-retention{display:block;margin-top:5px;color:#7f94ac;font-size:11px}
@media(max-width:600px){.telegram-actions{align-items:stretch}.telegram-actions .status-link,.telegram-actions .inline-action-form,.telegram-actions .disconnect-btn{width:100%}.telegram-actions .status-link{padding:8px 0}.disconnect-btn.large{width:100%;min-height:44px}.retention-note{padding:12px}}
.variant-product-card .product-body{display:flex;flex-direction:column;gap:10px}.variant-section-title{margin-top:4px;color:#90a8c3;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.06em}.variant-option{border:1px solid #213750;background:#091725;border-radius:13px;padding:12px;display:grid;gap:10px}.variant-option-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.variant-option-head>div{display:grid;gap:3px}.variant-option-head strong{font-size:14px}.variant-option-head small{color:var(--muted);font-size:11px}.variant-option-bottom{display:flex;align-items:flex-end;justify-content:space-between;gap:12px}.variant-option .price{margin:0;font-size:18px;white-space:nowrap}.variant-buy-form{grid-template-columns:76px minmax(110px,1fr);min-width:220px}.variant-buy-form input{padding:10px 11px}.variant-buy-form button{height:40px;padding:10px 12px}.variant-label{display:inline-flex;align-self:flex-start;padding:5px 9px;border:1px solid #2a4564;background:#102238;border-radius:999px;color:#a9c9ef;font-size:11px;font-weight:700}.delivery-units{font-size:12px;color:#9eb2c8;margin:-4px 0 12px}
@media(max-width:600px){.variant-option-bottom{align-items:stretch;flex-direction:column}.variant-buy-form{grid-template-columns:1fr;min-width:0;width:100%}.variant-option .price{font-size:18px}.variant-option{padding:11px}.variant-option-head{gap:8px}}

/* v1.0.8: product card readability and full-image fit */
.product-card img{height:126px;object-fit:contain;object-position:center;padding:10px;background:#0a1727}
.product-placeholder{height:126px}
.variant-product-card,.variant-product-card .product-body,.variant-option,.variant-option-head,.variant-option-bottom,.variant-buy-form{min-width:0}
.variant-option{overflow:hidden}
.variant-option-head>div{min-width:0}
.variant-option-head strong,.variant-option-head small{overflow-wrap:anywhere}
.variant-option-bottom{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:end;gap:10px}
.variant-buy-form{grid-template-columns:66px minmax(0,1fr);width:100%;min-width:0}
.variant-buy-form label,.variant-buy-form input,.variant-buy-form button{min-width:0}
.variant-buy-form button{white-space:nowrap}
@media(max-width:600px){.product-card img,.product-placeholder{height:112px}.product-card img{padding:8px}.variant-option-bottom{grid-template-columns:1fr}.variant-buy-form{grid-template-columns:72px minmax(0,1fr)}}


/* v1.0.9: 50-item pagination for reseller orders and delivered products */
.dpp-pagination{display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap;margin-top:18px}.page-btn{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:9px 14px;border:1px solid #294766;border-radius:10px;background:#10233a;color:#dcecff!important;text-decoration:none;font-size:13px;font-weight:700}.page-btn:hover{background:#163252;border-color:#3c6791}.page-btn.disabled{opacity:.42;cursor:not-allowed}.page-status{color:#91a7c0;font-size:12px;text-align:center}@media(max-width:600px){.dpp-pagination{display:grid;grid-template-columns:1fr 1fr;gap:8px}.page-status{grid-column:1/-1;grid-row:1}.page-btn{width:100%}}


/* v1.0.13: compact My Products list with modal license viewer and TXT download */
.my-products-panel{background:rgba(13,26,43,.96);border:1px solid var(--line);border-radius:16px;overflow:hidden}.my-products-table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch}.my-products-table{width:100%;min-width:720px;border-collapse:collapse}.my-products-table th{font-size:12px;color:#8fa5bd;text-transform:none;font-weight:700;background:#0b1828}.my-products-table th,.my-products-table td{padding:15px 16px;border-bottom:1px solid #1a2c42;text-align:left;vertical-align:middle}.my-products-table tbody tr:last-child td{border-bottom:0}.my-products-table tbody tr:hover{background:#0e1d30}.delivery-view-btn,.delivery-download-btn,.delivery-secondary-btn{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:8px 13px;border-radius:9px;font-size:12px;font-weight:800;text-decoration:none;cursor:pointer}.delivery-view-btn{border:1px solid #315a84;background:#123052;color:#dcecff}.delivery-view-btn:hover{background:#17416d}.delivery-download-btn{border:1px solid #24674f;background:#103a2c;color:#8ff0c4!important}.delivery-download-btn:hover{background:#15533e}.delivery-secondary-btn{border:1px solid #334b67;background:#13253a;color:#dcecff}.delivery-dialog{width:min(760px,calc(100vw - 28px));max-height:84vh;padding:0;border:1px solid #2a4968;border-radius:17px;background:#091624;color:#eef6ff;box-shadow:0 28px 90px rgba(0,0,0,.58)}.delivery-dialog::backdrop{background:rgba(1,8,16,.78);backdrop-filter:blur(4px)}.delivery-dialog-card{display:flex;flex-direction:column;max-height:84vh}.delivery-dialog-head{display:flex;justify-content:space-between;gap:20px;padding:19px 20px;border-bottom:1px solid #1c3148;background:#0d1c2f}.delivery-dialog-head small,.delivery-dialog-head span{display:block;color:#8fa8c1;font-size:12px}.delivery-dialog-head h3{margin:5px 0 6px;font-size:20px}.dialog-close{width:36px;height:36px;border:1px solid #334d68;border-radius:10px;background:#13263b;color:#dcecff;font-size:24px;line-height:1;cursor:pointer}.delivery-dialog-items{display:grid;gap:11px;padding:18px 20px;overflow:auto}.delivery-dialog-item{border:1px solid #1f3852;border-radius:12px;background:#07121e;overflow:hidden}.delivery-dialog-item-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border-bottom:1px solid #1a3148;color:#a9c2dc;font-size:12px}.delivery-dialog-item-head button{border:1px solid #31506f;background:#122942;color:#dcecff;border-radius:7px;padding:5px 10px;cursor:pointer}.delivery-dialog-item pre{margin:0;padding:13px 12px;white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word;color:#f5f9ff;font-size:13px;line-height:1.55}.delivery-dialog-footer{display:flex;justify-content:flex-end;gap:9px;padding:14px 20px;border-top:1px solid #1c3148;background:#0b1929}.delivery-dialog-footer form{margin:0}
@media(max-width:700px){.my-products-panel{background:transparent;border:0;overflow:visible}.my-products-table-wrap{overflow:visible}.my-products-table{min-width:0;display:block}.my-products-table thead{display:none}.my-products-table tbody{display:grid;gap:11px}.my-products-table tr{display:grid;grid-template-columns:1fr 1fr;gap:9px;padding:14px;background:rgba(13,26,43,.96);border:1px solid var(--line);border-radius:14px}.my-products-table td{display:grid;gap:4px;padding:0;border:0;font-size:13px;min-width:0}.my-products-table td::before{content:attr(data-label);color:#7f98b2;font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.04em}.my-products-table td:nth-child(1),.my-products-table td:nth-child(2){grid-column:1/-1}.my-products-table td:nth-child(3){grid-column:1/-1}.my-products-table td:nth-child(4){grid-column:1}.my-products-table td:nth-child(5){grid-column:2}.delivery-view-btn,.delivery-download-btn{width:100%;min-height:42px}.delivery-dialog{width:calc(100vw - 18px);max-height:88vh}.delivery-dialog-card{max-height:88vh}.delivery-dialog-head{padding:15px;gap:10px}.delivery-dialog-head h3{font-size:18px}.delivery-dialog-items{padding:13px}.delivery-dialog-footer{padding:12px 13px;display:grid;grid-template-columns:1fr 1fr}.delivery-dialog-footer .delivery-download-btn,.delivery-dialog-footer form,.delivery-dialog-footer button{width:100%}}


/* v1.0.18: prevent multi-license modal cards from being compressed/clipped */
.delivery-dialog-card{height:min(84vh,760px);max-height:84vh;min-height:0}
.delivery-dialog-head,.delivery-dialog-footer{flex:0 0 auto}
.delivery-dialog-items{display:flex;flex-direction:column;gap:11px;flex:1 1 auto;min-height:0;overflow-y:auto;overflow-x:hidden;align-items:stretch;scrollbar-gutter:stable}
.delivery-dialog-item{display:block;flex:0 0 auto;min-height:max-content;overflow:hidden}
.delivery-dialog-item-head{flex:0 0 auto}
.delivery-dialog-item pre{display:block;height:auto;min-height:0;max-height:none;overflow:visible;margin:0;padding:13px 12px;white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word}
@media(max-width:700px){.delivery-dialog-card{height:min(88vh,760px);max-height:88vh}.delivery-dialog-items{padding:13px 12px}.delivery-dialog-item pre{font-size:12px;line-height:1.5}}


/* v1.0.23: robust product/variant fitting; action controls never overflow */
.variant-product-card{
  container-type:inline-size;
}
.variant-product-card,
.variant-product-card .product-body,
.variant-option,
.variant-option-head,
.variant-option-head>div,
.variant-option-bottom,
.variant-buy-form,
.variant-buy-form label,
.variant-buy-form input,
.variant-buy-form button{
  min-width:0;
  max-width:100%;
}
.variant-product-card .product-body{
  overflow:hidden;
}
.variant-product-card .product-body h3,
.variant-product-card .product-body p,
.variant-option-head strong,
.variant-option-head small{
  max-width:100%;
  white-space:normal;
  overflow-wrap:anywhere;
  word-break:normal;
}
.variant-option{
  overflow:hidden;
}
.variant-option-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:8px;
}
.variant-option-head>div{
  flex:1 1 auto;
}
.variant-option-head .badge{
  flex:0 0 auto;
  white-space:nowrap;
}
.variant-option-bottom{
  display:grid;
  grid-template-columns:1fr;
  align-items:stretch;
  gap:8px;
}
.variant-option .price{
  margin:0;
  font-size:18px;
  white-space:normal;
  overflow-wrap:anywhere;
}
.variant-buy-form{
  display:grid;
  grid-template-columns:minmax(56px,72px) minmax(0,1fr);
  gap:8px;
  width:100%;
  align-items:end;
}
.variant-buy-form label{
  display:grid;
  gap:5px;
}
.variant-buy-form input{
  width:100%;
  padding:9px 9px;
}
.variant-buy-form button{
  display:block;
  width:100%;
  height:40px;
  padding:8px 8px;
  font-size:12.5px;
  line-height:1.15;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
@container (max-width:320px){
  .variant-option-head{flex-wrap:wrap}
  .variant-buy-form{grid-template-columns:62px minmax(0,1fr)}
  .variant-buy-form button{font-size:12px;padding-inline:6px}
}
@container (max-width:255px){
  .variant-buy-form{grid-template-columns:1fr}
  .variant-buy-form button{min-height:40px}
}
@media(max-width:600px){
  .variant-product-card .product-body{padding:13px}
  .variant-option{padding:11px}
  .variant-buy-form{grid-template-columns:68px minmax(0,1fr)}
  .variant-buy-form button{font-size:13px}
}
