.mmdp-shop-detail-v3{
  --mmdp-blue:#1769e8;
  --mmdp-blue-dark:#103d78;
  --mmdp-ink:#10213d;
  --mmdp-muted:#63738a;
  --mmdp-line:#dce5f0;
  --mmdp-page:#f5f8fc;
  --mmdp-orange:#ea7a00;
  --mmdp-orange-soft:#fff8e7;
  --mmdp-red:#dc334a;
  background:var(--mmdp-page);
  color:var(--mmdp-ink);
  min-height:calc(100vh - 120px);
  padding:14px 0 28px;
}
.mmdp-shop-detail-v3 *{box-sizing:border-box}
.mmdp-shop-detail-v3 a{text-decoration:none}
.mmdp-detail-hero{padding:0 0 4px}
.mmdp-detail-back{display:inline-flex;align-items:center;gap:6px;margin:0 0 10px;color:#46627f;font-size:13px;font-weight:700}
.mmdp-detail-back:hover{color:var(--mmdp-blue)}
.mmdp-detail-hero-card{display:grid;grid-template-columns:minmax(230px,280px) minmax(0,1fr) minmax(210px,250px);gap:22px;align-items:center;padding:14px;background:#fff;border:1px solid var(--mmdp-line);border-radius:18px;box-shadow:0 8px 28px rgba(30,56,92,.055)}
.mmdp-detail-cover{min-width:0}
.mmdp-detail-cover .shop-thumb{aspect-ratio:16/8.7;border-radius:13px;overflow:hidden;background:#eef3f8}
.mmdp-detail-cover .shop-thumb img{width:100%;height:100%;object-fit:cover}
.mmdp-detail-summary{min-width:0}
.mmdp-detail-tags{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:8px}
.mmdp-detail-tag{display:inline-flex;align-items:center;min-height:25px;padding:4px 9px;border:1px solid #d8e2ef;border-radius:999px;background:#f8fafc;color:#4f6178;font-size:11px;font-weight:800}
.mmdp-detail-tag--platform{border-color:#cfe0ff;background:#eef5ff;color:#155ec2}
.mmdp-detail-summary h1{margin:0;font-size:clamp(28px,3vw,40px);line-height:1.04;letter-spacing:-.04em;font-weight:850;color:var(--mmdp-ink)}
.mmdp-detail-description{max-width:650px;margin:9px 0 0;color:var(--mmdp-muted);font-size:14px;line-height:1.55}
.mmdp-detail-facts{display:flex;flex-wrap:wrap;gap:7px;margin-top:13px}
.mmdp-detail-facts span{display:inline-flex;align-items:center;min-height:30px;padding:5px 10px;border:1px solid #dce5f0;border-radius:9px;background:#f8fafc;color:#4e6077;font-size:12px;font-weight:700}
.mmdp-detail-facts strong{color:var(--mmdp-blue-dark);margin-right:3px}
.mmdp-detail-quick-actions{display:flex;flex-direction:column;gap:9px;padding:14px;border:1px solid #dbe6f4;border-radius:14px;background:linear-gradient(150deg,#f8fbff,#eef5ff)}
.mmdp-detail-quick-label{font-size:11px;font-weight:850;letter-spacing:.08em;text-transform:uppercase;color:#5c718d}
.mmdp-detail-btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:42px;padding:10px 15px;border-radius:10px;font-size:14px;font-weight:800;transition:.18s ease}
.mmdp-detail-btn:hover{transform:translateY(-1px)}
.mmdp-detail-btn--primary{background:var(--mmdp-blue);color:#fff;box-shadow:0 8px 18px rgba(23,105,232,.17)}
.mmdp-detail-btn--primary:hover{background:#0f5bd1;color:#fff}
.mmdp-detail-btn--secondary{border:1px solid #bdd0e8;background:#fff;color:#194e8e}
.mmdp-detail-btn--secondary:hover{border-color:#8eb2dc;color:#123f77}
.mmdp-detail-btn--inline{width:max-content;max-width:100%;margin-top:16px}
.mmdp-detail-text-link{align-self:flex-start;color:#235b9a;font-size:13px;font-weight:800;border-bottom:1px solid rgba(35,91,154,.25)}
.mmdp-detail-section{padding-top:14px}
.mmdp-detail-section-card{padding:18px;background:#fff;border:1px solid var(--mmdp-line);border-radius:18px;box-shadow:0 8px 26px rgba(30,56,92,.045)}
.mmdp-detail-section-head{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:14px}
.mmdp-detail-section-head h2{margin:2px 0 0;font-size:clamp(22px,2.4vw,30px);line-height:1.12;letter-spacing:-.035em;font-weight:850;color:var(--mmdp-ink)}
.mmdp-detail-eyebrow{font-size:10px;font-weight:850;letter-spacing:.11em;text-transform:uppercase;color:var(--mmdp-blue)}
.mmdp-detail-count,.mmdp-detail-workflow-status{display:inline-flex;align-items:center;min-height:30px;padding:5px 10px;border-radius:999px;background:#eef5ff;color:#185cae;font-size:12px;font-weight:850;white-space:nowrap}
.mmdp-detail-info-note{margin-bottom:14px;padding:10px 12px;border-left:3px solid var(--mmdp-blue);border-radius:8px;background:#f5f9ff;color:#53677f;font-size:13px;line-height:1.45}
.mmdp-detail-products-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.mmdp-detail-product-card{position:relative;display:flex;flex-direction:column;min-width:0;padding:10px;border:1px solid #dde6f0;border-radius:13px;background:#fbfcfe;overflow:hidden}
.mmdp-detail-product-order{position:absolute;top:16px;left:16px;z-index:2;display:inline-flex;align-items:center;justify-content:center;min-width:30px;height:24px;padding:0 7px;border-radius:7px;background:rgba(255,255,255,.95);color:var(--mmdp-blue);font-size:11px;font-weight:900;box-shadow:0 3px 10px rgba(20,43,73,.08)}
.mmdp-detail-product-media{aspect-ratio:1/1;border-radius:10px;overflow:hidden;background:#eef3f8}
.mmdp-detail-product-media img{width:100%;height:100%;object-fit:cover}
.mmdp-detail-product-placeholder{display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;height:100%;gap:7px;background:linear-gradient(145deg,#edf4ff,#f8fbff);color:#6b8098}
.mmdp-detail-product-placeholder span{display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;border-radius:13px;background:#fff;color:var(--mmdp-blue);font-size:20px;font-weight:900;box-shadow:0 6px 18px rgba(23,105,232,.10)}
.mmdp-detail-product-placeholder small{font-size:11px;font-weight:750}
.mmdp-detail-product-body{display:flex;flex-direction:column;flex:1;padding:10px 2px 2px}
.mmdp-detail-product-category{align-self:flex-start;max-width:100%;margin:0 0 6px;padding:3px 7px;border-radius:999px;background:#eef5ff;color:#155ec2;font-size:10px;font-weight:800;line-height:1.25;overflow-wrap:anywhere}
.mmdp-detail-product-body h3{margin:0;color:#182942;font-size:14px;line-height:1.35;font-weight:820;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.mmdp-detail-product-price{display:block;margin-top:7px;color:#10213d;font-size:13px}
.mmdp-detail-product-body p{margin:7px 0 0;color:#66778c;font-size:12px;line-height:1.42;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.mmdp-detail-product-link{align-self:flex-start;margin-top:auto;padding-top:10px;color:#1260c8;font-size:12px;font-weight:850;border-bottom:1px solid rgba(18,96,200,.25)}
.mmdp-detail-more-products{margin-top:15px;border-top:1px solid #e4ebf3;padding-top:13px}
.mmdp-detail-more-products summary{cursor:pointer;color:#1e5b9f;font-size:13px;font-weight:850}
.mmdp-detail-products-grid--more{margin-top:13px}
.mmdp-detail-workflow-card{overflow:hidden}
.mmdp-detail-workflow-layout{display:grid;grid-template-columns:255px minmax(0,1fr);gap:18px;align-items:start}
.mmdp-detail-step-nav{display:flex;flex-direction:column;gap:8px;position:sticky;top:76px}
.mmdp-detail-step-button{position:relative;display:grid;grid-template-columns:34px minmax(0,1fr);column-gap:10px;align-items:center;width:100%;padding:11px;border:1px solid #dce5ef;border-radius:12px;background:#f9fbfd;color:#52657c;text-align:left;cursor:pointer;transition:.18s ease}
.mmdp-detail-step-button>span{grid-row:1/3;display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:10px;background:#e9f1fb;color:#2f659d;font-size:13px;font-weight:900}
.mmdp-detail-step-button strong{font-size:13px;line-height:1.25;color:#20344f}
.mmdp-detail-step-button small{margin-top:2px;font-size:11px;line-height:1.3;color:#78889b}
.mmdp-detail-step-button:hover{border-color:#b9cde4;background:#fff}
.mmdp-detail-step-button.is-active{border-color:#9fc3ef;background:#eef6ff;box-shadow:0 7px 18px rgba(23,105,232,.08)}
.mmdp-detail-step-button.is-active>span{background:var(--mmdp-blue);color:#fff}
.mmdp-detail-step-panel{padding:18px;border:1px solid #dfe7f0;border-radius:14px;background:#fff}
.mmdp-js-ready .mmdp-detail-step-panel:not(.is-active){display:none}
.mmdp-detail-panel-head{display:flex;gap:12px;align-items:flex-start;padding-bottom:14px;border-bottom:1px solid #e8edf3}
.mmdp-detail-panel-number{display:inline-flex;align-items:center;justify-content:center;flex:0 0 34px;width:34px;height:34px;border-radius:10px;background:var(--mmdp-blue);color:#fff;font-size:14px;font-weight:900;box-shadow:0 7px 16px rgba(23,105,232,.16)}
.mmdp-detail-panel-number--orange{background:var(--mmdp-orange);box-shadow:0 7px 16px rgba(234,122,0,.16)}
.mmdp-detail-panel-head h3{margin:0;color:#152941;font-size:19px;font-weight:850}
.mmdp-detail-panel-head p{margin:3px 0 0;color:#6a7b8f;font-size:13px}
.mmdp-detail-task-list{display:grid;gap:9px;margin-top:15px}
.mmdp-detail-task-list>div{display:flex;gap:10px;align-items:flex-start;padding:10px 12px;border-radius:10px;background:#f7f9fc}
.mmdp-detail-task-list>div>span{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:50%;background:#e8f4ee;color:#218752;font-size:12px;font-weight:900}
.mmdp-detail-task-list p{margin:0;display:flex;flex-direction:column}
.mmdp-detail-task-list strong{font-size:13px;color:#24364d}
.mmdp-detail-task-list small{margin-top:2px;color:#718198;font-size:12px}
.mmdp-detail-video-loader{margin-top:15px}
.mmdp-detail-video-button{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;width:100%;min-height:235px;padding:28px;border:0;border-radius:14px;background:linear-gradient(125deg,#1e3978,#543de8 62%,#7857ff);color:#fff;text-align:left;cursor:pointer;box-shadow:0 16px 34px rgba(43,48,128,.20)}
.mmdp-detail-video-button:hover{filter:brightness(1.04)}
.mmdp-detail-play{display:inline-flex;align-items:center;justify-content:center;width:52px;height:52px;margin-bottom:15px;border-radius:50%;background:#fff;color:#ed1f32;font-size:20px;box-shadow:0 10px 24px rgba(0,0,0,.15)}
.mmdp-detail-video-button strong{font-size:20px;line-height:1.25}
.mmdp-detail-video-button small{margin-top:7px;color:rgba(255,255,255,.78);font-size:12px}
.mmdp-detail-video-loader iframe{display:block;width:100%;aspect-ratio:16/9;border:0;border-radius:14px;background:#111}
.mmdp-detail-video-note{margin:10px 0 0;color:#68798e;font-size:12px}
.mmdp-detail-required-box{margin-top:15px;padding:13px 15px;border:1px solid #f0b64e;border-left:4px solid var(--mmdp-orange);border-radius:11px;background:var(--mmdp-orange-soft)}
.mmdp-detail-required-box strong{color:#a24b00;font-size:12px;letter-spacing:.04em;text-transform:uppercase}
.mmdp-detail-required-box ul{display:flex;flex-wrap:wrap;gap:8px 24px;margin:9px 0 0;padding-left:18px;color:#7e4a13;font-size:13px;font-weight:700}
.mmdp-detail-empty-box{margin-top:14px;padding:11px 13px;border:1px dashed #cbd8e7;border-radius:10px;background:#fafbfd;color:#697b90;font-size:13px}
.mmdp-detail-specs-scroll{margin-top:14px;overflow:auto;border:1px solid #dfe6ef;border-radius:11px}
.mmdp-detail-specs-table{width:100%;border-collapse:collapse;min-width:620px;font-size:12px}
.mmdp-detail-specs-table th,.mmdp-detail-specs-table td{padding:10px 12px;border-bottom:1px solid #e7edf3;text-align:left}
.mmdp-detail-specs-table th{background:#f3f6fa;color:#40546d;font-weight:850}
.mmdp-detail-specs-table tbody tr:last-child td{border-bottom:0}
.mmdp-detail-bot-box{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:14px;padding:13px 14px;border:1px solid #bfdaff;border-radius:11px;background:#eef6ff}
.mmdp-detail-bot-box strong{color:#174b86;font-size:14px}
.mmdp-detail-bot-box p{margin:3px 0 0;color:#5f748e;font-size:12px}
.mmdp-detail-progress-wrap{margin-top:15px;padding:12px 13px;border-radius:11px;background:#f4f7fb}
.mmdp-detail-progress-wrap>div:first-child{display:flex;justify-content:space-between;gap:12px;color:#3f536d;font-size:12px}
.mmdp-detail-progress-wrap strong{font-size:13px;color:#17365f}
.mmdp-detail-progress-track{height:7px;margin-top:9px;border-radius:999px;background:#dce5ef;overflow:hidden}
.mmdp-detail-progress-track span{display:block;width:0;height:100%;border-radius:inherit;background:linear-gradient(90deg,#1769e8,#24a1ff);transition:width .2s ease}
.mmdp-detail-checklist{display:grid;gap:9px;margin-top:13px}
.mmdp-detail-checklist label{display:flex;gap:11px;align-items:flex-start;padding:11px 12px;border:1px solid #dfe7f0;border-radius:10px;background:#fff;cursor:pointer}
.mmdp-detail-checklist label:hover{border-color:#b9cde4;background:#fbfdff}
.mmdp-detail-checklist input{width:18px;height:18px;margin-top:1px;accent-color:var(--mmdp-blue)}
.mmdp-detail-checklist span{display:flex;flex-direction:column}
.mmdp-detail-checklist strong{color:#23364e;font-size:13px}
.mmdp-detail-checklist small{margin-top:2px;color:#718197;font-size:12px}
.mmdp-detail-important-note{display:flex;gap:11px;align-items:flex-start;margin-top:16px;padding:12px 14px;border-left:4px solid var(--mmdp-red);border-radius:10px;background:#fff4f5;color:#78313a}
.mmdp-detail-important-note>span{display:inline-flex;align-items:center;justify-content:center;flex:0 0 24px;width:24px;height:24px;border-radius:50%;background:#ffe0e4;color:#c92b41;font-weight:900}
.mmdp-detail-important-note h3{margin:0 0 4px;color:#a12638;font-size:13px;font-weight:850}
.mmdp-detail-important-note div div{font-size:12px;line-height:1.55;white-space:pre-line}
.mmdp-detail-mobile-actions{display:none}
@media(max-width:1100px){
  .mmdp-detail-hero-card{grid-template-columns:230px minmax(0,1fr)}
  .mmdp-detail-quick-actions{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:center}
  .mmdp-detail-quick-label{grid-column:1/-1}
  .mmdp-detail-text-link{align-self:center;justify-self:start}
  .mmdp-detail-products-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:820px){
  .mmdp-shop-detail-v3{padding-top:10px}
  .mmdp-detail-hero-card{grid-template-columns:1fr;gap:14px}
  .mmdp-detail-cover{max-width:520px}
  .mmdp-detail-cover .shop-thumb{aspect-ratio:16/7}
  .mmdp-detail-quick-actions{grid-template-columns:1fr 1fr}
  .mmdp-detail-text-link{grid-column:1/-1}
  .mmdp-detail-workflow-layout{grid-template-columns:1fr}
  .mmdp-detail-step-nav{position:static;display:grid;grid-template-columns:repeat(4,minmax(145px,1fr));overflow-x:auto;padding-bottom:4px}
  .mmdp-detail-step-button{min-width:145px;grid-template-columns:30px minmax(0,1fr)}
  .mmdp-detail-step-button>span{width:29px;height:29px}
}
@media(max-width:576px){
  .mmdp-shop-detail-v3{padding-bottom:82px}
  .mmdp-detail-hero-card,.mmdp-detail-section-card{padding:13px;border-radius:14px}
  .mmdp-detail-summary h1{font-size:29px}
  .mmdp-detail-description{font-size:13px}
  .mmdp-detail-facts{gap:6px}
  .mmdp-detail-facts span{min-height:28px;padding:4px 8px;font-size:11px}
  .mmdp-detail-quick-actions{grid-template-columns:1fr;gap:8px}
  .mmdp-detail-text-link{grid-column:auto}
  .mmdp-detail-section{padding-top:10px}
  .mmdp-detail-section-head{align-items:flex-start;margin-bottom:11px}
  .mmdp-detail-section-head h2{font-size:23px}
  .mmdp-detail-products-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
  .mmdp-detail-product-card{padding:8px;border-radius:11px}
  .mmdp-detail-product-body{padding-top:8px}
  .mmdp-detail-product-body h3{font-size:13px}
  .mmdp-detail-product-body p{display:none}
  .mmdp-detail-step-panel{padding:13px}
  .mmdp-detail-panel-head h3{font-size:17px}
  .mmdp-detail-video-button{min-height:190px;padding:20px}
  .mmdp-detail-video-button strong{font-size:17px}
  .mmdp-detail-required-box ul{display:block}
  .mmdp-detail-required-box li+li{margin-top:5px}
  .mmdp-detail-bot-box{align-items:flex-start;flex-direction:column}
  .mmdp-detail-progress-wrap>div:first-child{flex-direction:column;gap:2px}
  .mmdp-detail-mobile-actions{position:fixed;z-index:1040;left:0;right:0;bottom:0;display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:9px 12px calc(9px + env(safe-area-inset-bottom));border-top:1px solid #d9e3ef;background:rgba(255,255,255,.96);backdrop-filter:blur(14px);box-shadow:0 -8px 28px rgba(25,46,76,.11)}
  .mmdp-detail-mobile-actions a{display:flex;align-items:center;justify-content:center;min-height:43px;padding:9px 10px;border-radius:10px;background:var(--mmdp-blue);color:#fff;font-size:13px;font-weight:850}
  .mmdp-detail-mobile-actions a:last-child{border:1px solid #bcd0e8;background:#fff;color:#174f8d}
}
/* V4 ROI overrides */
.mmdp-shop-detail-v4 .mmdp-detail-step-button{position:relative}
.mmdp-shop-detail-v4 .mmdp-detail-step-check{display:none;position:absolute;right:10px;top:10px;width:20px;height:20px;border-radius:50%;background:#17a66a;color:#fff;font-style:normal;font-size:12px;line-height:20px;text-align:center}
.mmdp-shop-detail-v4 .mmdp-detail-step-button.is-complete .mmdp-detail-step-check{display:block}
.mmdp-detail-step-actions{display:flex;justify-content:flex-end;margin-top:18px;padding-top:14px;border-top:1px solid #e5ebf2}
.mmdp-detail-next-button,.mmdp-detail-finish-button{min-height:42px;padding:10px 16px;border:0;border-radius:10px;background:#1769e8;color:#fff;font-weight:800;cursor:pointer}
.mmdp-detail-next-button:hover,.mmdp-detail-finish-button:hover:not(:disabled){background:#0f58c8}
.mmdp-detail-finish-button:disabled{cursor:not-allowed;background:#cbd5e1;color:#64748b}
.mmdp-detail-product-placeholder{background:linear-gradient(135deg,#eef4fb,#f9fbfd)}
.mmdp-detail-product-placeholder small{font-weight:700}
@media(max-width:576px){.mmdp-detail-hero-card{gap:10px}.mmdp-detail-cover .shop-thumb{aspect-ratio:16/6}.mmdp-detail-summary h1{font-size:27px}.mmdp-detail-description{-webkit-line-clamp:2;display:-webkit-box;-webkit-box-orient:vertical;overflow:hidden}.mmdp-detail-quick-actions{gap:7px}.mmdp-detail-products-grid{margin-top:0}.mmdp-detail-step-actions{justify-content:stretch}.mmdp-detail-next-button,.mmdp-detail-finish-button{width:100%}}
