/* MMOdrop Shop Mẫu Đa Sàn - V23 Final Smart Mobile Hub
   Mục tiêu CSS: ít lớp phụ thuộc, dễ sửa, mobile-first, không biến hub thành landing page dài. */

:root{
  --mmo-primary:#2563eb;
  --mmo-primary-2:#1d4ed8;
  --mmo-cyan:#06b6d4;
  --mmo-text:#0f172a;
  --mmo-muted:#64748b;
  --mmo-soft:#f8fafc;
  --mmo-soft-2:#f1f5f9;
  --mmo-border:#e2e8f0;
  --mmo-card:#ffffff;
  --mmo-shadow:0 14px 40px rgba(15,23,42,.08);
  --mmo-shadow-soft:0 8px 24px rgba(15,23,42,.06);
  --mmo-radius:22px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  color:var(--mmo-text);
  background:linear-gradient(180deg,#f8fbff 0%,#ffffff 38%,#f8fafc 100%);
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  text-rendering:optimizeLegibility;
}
a{text-decoration:none}
img{max-width:100%;display:block}
.fw-black{font-weight:850;letter-spacing:-.025em}

/* Topbar */
.mmo-topbar{
  min-height:60px;
  background:rgba(255,255,255,.92);
  border-bottom:1px solid rgba(226,232,240,.82);
  backdrop-filter:blur(14px);
  box-shadow:0 4px 16px rgba(15,23,42,.04);
}
.mmo-brand{display:flex;align-items:center;gap:10px;color:var(--mmo-text);font-weight:850}
.mmo-brand:hover{color:var(--mmo-text)}
.mmo-brand-mark{width:36px;height:36px;border-radius:14px;background:#eef6ff;display:grid;place-items:center;box-shadow:inset 0 0 0 1px rgba(37,99,235,.12)}
.mmo-brand-mark svg{width:26px;height:26px}
.mmo-brand-text{font-size:21px;letter-spacing:-.04em}
.hub-pill{font-size:12px;color:var(--mmo-primary);background:#eff6ff;border:1px solid #bfdbfe;border-radius:999px;padding:5px 10px;font-weight:750}
.nav-link{font-weight:700;color:#334155!important;border-radius:999px;padding:.45rem .8rem!important}
.nav-link:hover{background:#f1f5f9;color:var(--mmo-primary)!important}
.mmo-toggler{border:0;background:#f1f5f9;border-radius:12px}

/* Common */
.section-space{padding-top:22px;padding-bottom:42px}
.section-title-row{display:flex;align-items:end;justify-content:space-between;gap:14px;margin-bottom:16px}
.section-title-row h2{font-size:28px;line-height:1.05;margin:0;font-weight:850;letter-spacing:-.035em}
.eyebrow{display:block;color:var(--mmo-primary);font-size:11px;font-weight:850;text-transform:uppercase;letter-spacing:.11em;margin-bottom:5px}
.section-subcopy{font-size:14px;color:var(--mmo-muted);margin:4px 0 0;max-width:560px}
.empty-state{border:1px dashed #cbd5e1;background:#fff;border-radius:18px;padding:22px;text-align:center;color:var(--mmo-muted);font-weight:650}
.empty-state.compact{padding:14px}
.mmo-alert{border-radius:16px;border:0;box-shadow:var(--mmo-shadow-soft)}
.btn{font-weight:750}
.btn-primary{background:var(--mmo-primary);border-color:var(--mmo-primary)}
.btn-primary:hover{background:var(--mmo-primary-2);border-color:var(--mmo-primary-2)}
.btn-light{background:#f8fafc;border-color:#e2e8f0;color:#334155}
.btn-disabled{background:#f1f5f9!important;color:#94a3b8!important;border:1px solid #e2e8f0!important;font-weight:800;cursor:not-allowed}

/* Hero */
.hero-home{padding:30px 0 16px;background:radial-gradient(circle at top,#dbeafe 0,#f8fbff 42%,transparent 72%)}
.hero-shell{max-width:860px}
.hero-content h1{font-size:42px;line-height:1.04;font-weight:900;letter-spacing:-.055em;margin:0 0 10px;color:#0b1220}
.hero-content p{font-size:17px;color:var(--mmo-muted);margin:0 auto 16px;max-width:520px}
.hero-action{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:46px;border-radius:999px;padding:11px 20px;background:var(--mmo-primary);color:#fff;box-shadow:0 18px 34px rgba(37,99,235,.22)}
.hero-action:hover{color:#fff;background:var(--mmo-primary-2);transform:translateY(-1px)}
.hero-action b{font-size:18px}

/* List & filters */
.list-page-hero{padding:24px 0 8px;background:#f8fbff}
.list-final-head h1{font-size:34px;line-height:1.05;font-weight:900;letter-spacing:-.045em;margin:0 0 5px}
.list-final-head p{color:var(--mmo-muted);margin:0;font-size:15px}
.search-strip{display:flex;gap:10px;align-items:center;background:#fff;border:1px solid var(--mmo-border);border-radius:20px;padding:10px;box-shadow:var(--mmo-shadow-soft);margin-bottom:12px}
.search-strip .form-control{border:0;background:#f8fafc;border-radius:999px;min-height:44px;padding-left:16px;font-weight:650}
.search-strip .form-control:focus{box-shadow:0 0 0 .2rem rgba(37,99,235,.12);background:#fff}
.filter-panel{background:#fff;border:1px solid var(--mmo-border);border-radius:20px;padding:12px;box-shadow:var(--mmo-shadow-soft)}
.filter-links{display:flex;align-items:center;gap:10px;justify-content:space-between;overflow:hidden}
.filter-chip-group{display:flex;gap:8px;overflow-x:auto;padding-bottom:1px;scrollbar-width:none}
.filter-chip-group::-webkit-scrollbar{display:none}
.filter-chip{flex:0 0 auto;border:1px solid #dbe4f0;background:#f8fafc;color:#334155;border-radius:999px;padding:7px 12px;font-size:13px;font-weight:800;white-space:nowrap}
.filter-chip.active,.filter-chip:hover{background:#eff6ff;border-color:#93c5fd;color:var(--mmo-primary)}
.result-title-row{margin-top:18px!important}

/* Shop card */
.shop-card{height:100%;background:#fff;border:1px solid rgba(226,232,240,.9);border-radius:var(--mmo-radius);overflow:hidden;box-shadow:var(--mmo-shadow-soft);transition:.18s ease}
.shop-card:hover{transform:translateY(-2px);box-shadow:var(--mmo-shadow)}
.shop-card-media{display:block;color:inherit;background:#f1f5f9}
.shop-thumb{height:166px;background:linear-gradient(135deg,#dbeafe,#e0f2fe);display:grid;place-items:center;overflow:hidden}
.shop-thumb img{width:100%;height:100%;object-fit:cover}
.shop-thumb-placeholder{width:100%;height:100%;display:grid;place-items:center;text-align:center;color:#1e3a8a;padding:18px}
.shop-thumb-placeholder span{width:54px;height:54px;border-radius:20px;background:#fff;display:grid;place-items:center;font-size:25px;font-weight:900;margin-bottom:8px;box-shadow:0 10px 24px rgba(37,99,235,.12)}
.shop-thumb-placeholder strong{display:block;font-size:15px}
.shop-card-body{padding:14px}
.shop-card-labels{min-height:25px;display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.shop-label{display:inline-flex;align-items:center;border-radius:999px;padding:4px 8px;background:#eff6ff;border:1px solid #bfdbfe;color:#1d4ed8;font-size:11px;font-weight:850;white-space:nowrap}
.shop-card h3{font-size:17px;line-height:1.22;font-weight:850;letter-spacing:-.02em;margin:7px 0 8px;min-height:42px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.shop-card h3 a{color:var(--mmo-text)}
.platform-row{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.platform-row span{display:inline-flex;border-radius:999px;padding:4px 8px;background:#f8fafc;border:1px solid #e2e8f0;color:#475569;font-size:11px;font-weight:800;white-space:nowrap}
.shop-meta-line{display:flex;gap:6px;flex-wrap:wrap;margin:9px 0 12px;color:#475569}
.shop-meta-line span{display:inline-flex;align-items:center;border-radius:999px;background:#f8fafc;border:1px solid #e2e8f0;padding:4px 8px;font-size:11.5px;font-weight:750}
.shop-card .btn{min-height:40px;display:inline-flex;align-items:center;justify-content:center}
.cta-short{display:none}

/* Detail */
.shop-detail-hero{padding:18px 0 8px;background:#f8fbff}
.detail-hero-card{background:#fff;border:1px solid var(--mmo-border);border-radius:26px;padding:18px;box-shadow:var(--mmo-shadow-soft)}
.detail-hero-card .shop-thumb{border-radius:20px;height:220px}
.detail-hero-card h1{font-size:34px;line-height:1.08;font-weight:900;letter-spacing:-.04em;margin:5px 0 10px}
.choice-summary{display:flex;gap:8px;flex-wrap:wrap}
.choice-summary span{display:inline-flex;border-radius:999px;background:#f8fafc;border:1px solid #e2e8f0;color:#475569;padding:6px 10px;font-size:13px;font-weight:800}
.sample-link-box,.checklist-box,.resources-panel,.bot-box{background:#fff;border:1px solid var(--mmo-border);border-radius:24px;padding:18px;box-shadow:var(--mmo-shadow-soft)}
.marketplace-link-card{height:100%;background:#f8fafc;border:1px solid #e2e8f0;border-radius:18px;padding:16px;transition:.15s ease}
.marketplace-link-card:has(.btn-primary){background:#fff;border-color:#bfdbfe}
.marketplace-link-card:hover{box-shadow:0 10px 26px rgba(15,23,42,.06)}
.marketplace-link-card strong{display:block;font-size:16px;font-weight:900;color:#0f172a}
.marketplace-open-btn{min-height:42px;display:inline-flex;align-items:center;justify-content:center}
.copy-link-small{font-weight:750;color:#475569}
.disabled-link-note{margin-top:7px;font-size:12px;color:#94a3b8;text-align:center;font-weight:650}
.check-item{display:flex;align-items:flex-start;gap:9px;width:100%;height:100%;padding:12px;border:1px solid #e2e8f0;border-radius:15px;background:#f8fafc;color:#334155;font-size:14px;font-weight:650;line-height:1.35;cursor:pointer}
.check-item input{margin-top:2px;accent-color:var(--mmo-primary)}
.check-item strong{color:#0f172a}
.more-products summary{cursor:pointer;color:var(--mmo-primary);font-weight:850;list-style:none}
.more-products summary::-webkit-details-marker{display:none}
.more-products summary::after{content:" ↓";font-weight:900}
.product-card{position:relative;height:100%;background:#f8fafc;border:1px solid #e2e8f0;border-radius:17px;padding:14px}
.product-order{width:30px;height:30px;border-radius:12px;background:#eff6ff;color:#1d4ed8;display:grid;place-items:center;font-weight:900;margin-bottom:8px}
.product-card h3{font-size:15.5px;font-weight:850;letter-spacing:-.015em;margin:0 0 8px;line-height:1.25}
.product-card p{font-size:13px;color:var(--mmo-muted);margin:0 0 8px}
.product-price{font-size:13px;color:#334155}
.bot-box{padding:0;overflow:hidden}
.bot-box summary{display:flex;align-items:center;justify-content:space-between;gap:12px;cursor:pointer;padding:16px 18px;font-weight:900;list-style:none}
.bot-box summary::-webkit-details-marker{display:none}
.bot-box summary b{font-size:12px;color:var(--mmo-primary);background:#eff6ff;border:1px solid #bfdbfe;border-radius:999px;padding:5px 9px}
.bot-action-panel{border-top:1px solid #e2e8f0;padding:16px 18px;display:grid;gap:8px}
.mobile-sticky-cta{display:none}

/* Admin */
.admin-head{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;margin-bottom:18px}
.admin-head h1{font-size:30px;margin:0 0 5px}
.admin-head p{color:var(--mmo-muted);margin:0}
.admin-card{background:#fff;border:1px solid var(--mmo-border);border-radius:22px;padding:18px;box-shadow:var(--mmo-shadow-soft)}
.admin-card .table{margin-bottom:0}
.admin-card th{font-size:12px;text-transform:uppercase;letter-spacing:.06em;color:#64748b;white-space:nowrap}
.admin-card td{vertical-align:middle}
.stat-card{background:#f8fafc;border:1px solid #e2e8f0;border-radius:18px;padding:16px;height:100%}
.stat-card span{display:block;color:var(--mmo-muted);font-weight:750;font-size:13px}
.stat-card strong{display:block;font-size:30px;letter-spacing:-.04em}
.admin-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:16px}
.admin-tabs a{border:1px solid #dbe4f0;background:#fff;color:#334155;border-radius:999px;padding:8px 13px;font-weight:800}
.admin-tabs a.active,.admin-tabs a:hover{background:#eff6ff;border-color:#93c5fd;color:var(--mmo-primary)}
.admin-thumb-preview{display:flex;align-items:center;gap:10px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:14px;padding:8px}
.admin-thumb-preview img{width:72px;height:54px;object-fit:cover;border-radius:10px}
.admin-thumb-preview span{font-size:13px;color:var(--mmo-muted);font-weight:750}
.admin-actions{white-space:normal!important;min-width:280px}
.admin-actions .btn{margin:2px 1px}

/* Footer */
.mmo-footer{border-top:1px solid var(--mmo-border);background:#fff;padding:22px 0;color:var(--mmo-muted);font-size:13px}
.footer-admin-link{color:#475569;font-weight:800}

/* Tablet */
@media (max-width: 991.98px){
  .mmo-topbar{min-height:54px}
  .section-title-row{align-items:flex-start}
  .detail-hero-card .col-lg-4{display:none}
  .detail-hero-card h1{font-size:28px}
  .admin-head{flex-direction:column}
}

/* Mobile */
@media (max-width: 767.98px){
  body:has(.mobile-sticky-cta){padding-bottom:66px}
  .mmo-topbar{min-height:50px}
  .mmo-brand-mark{width:31px;height:31px;border-radius:12px}
  .mmo-brand-mark svg{width:23px;height:23px}
  .mmo-brand-text{font-size:18px}
  .navbar-toggler{padding:4px 7px}
  .hero-home{padding:18px 0 10px}
  .hero-content h1{font-size:27px;line-height:1.1;margin-bottom:7px}
  .hero-content p{font-size:13px;line-height:1.38;margin-bottom:11px;max-width:310px}
  .hero-action{min-height:38px;padding:8px 14px;font-size:14px}
  .section-space{padding-top:12px;padding-bottom:28px}
  .section-title-row{margin-bottom:10px;gap:8px}
  .section-title-row h2{font-size:21px}
  .eyebrow{font-size:10px;letter-spacing:.09em}
  .section-subcopy{font-size:12px;line-height:1.35;max-width:310px}

  .list-page-hero{padding:14px 0 5px}
  .list-final-head h1{font-size:25px}
  .list-final-head p{font-size:13px}
  .search-strip{display:grid;grid-template-columns:1fr auto;gap:8px;border-radius:16px;padding:8px}
  .search-strip .clear-search-btn{display:none}
  .search-strip .form-control{min-height:38px;font-size:13px}
  .search-strip .btn{min-height:38px;padding:7px 13px;font-size:13px}
  .filter-panel{border-radius:16px;padding:8px;box-shadow:none}
  .filter-links{display:block}
  .filter-chip-group{margin-bottom:7px}
  .filter-chip-group:last-child{margin-bottom:0}
  .filter-chip{font-size:12px;padding:6px 10px}

  .shop-thumb{height:126px}
  .shop-card{border-radius:18px}
  .shop-card-body{padding:11px}
  .shop-card-labels{min-height:21px;overflow:hidden}
  .shop-label{font-size:10px;padding:3px 7px}
  .shop-card h3{font-size:16px;margin:6px 0;min-height:39px}
  .platform-row span{font-size:10px;padding:3px 7px}
  .shop-meta-line{gap:5px;margin:8px 0 10px}
  .shop-meta-line span{font-size:10.8px;padding:3px 7px}
  .shop-card .btn{min-height:38px;font-size:13px;padding:8px 10px}

  .shop-detail-hero{padding:12px 0 4px}
  .detail-hero-card{padding:12px;border-radius:18px}
  .detail-hero-card h1{font-size:22px;margin-bottom:8px}
  .choice-summary{gap:5px}
  .choice-summary span{font-size:12px;padding:4px 7px}
  .detail-hero-card .btn-lg{min-height:40px;font-size:14px;width:100%}
  .sample-link-box,.checklist-box,.resources-panel{padding:12px;border-radius:18px}
  .marketplace-link-card{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px;border-radius:16px;min-height:70px}
  .marketplace-link-card strong{font-size:14px;white-space:nowrap}
  .marketplace-link-card .btn{width:auto!important;min-width:132px;margin-top:0!important;min-height:38px;font-size:12.5px;padding:7px 11px}
  .marketplace-link-card .copy-link-small,.disabled-link-note{display:none!important}
  .check-item{font-size:13px;padding:9px;border-radius:12px}
  .check-item span{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
  .product-card{padding:11px;border-radius:14px}
  .product-card h3{font-size:14px}
  .product-card .btn{display:none}
  .bot-box summary{min-height:44px;padding:12px 14px;font-size:14px}
  .bot-action-panel{padding:12px 14px}
  .bot-action-panel .btn{min-height:40px;margin-top:6px}
  .mobile-sticky-cta{display:block;position:fixed;left:0;right:0;bottom:0;padding:8px 12px calc(8px + env(safe-area-inset-bottom));background:rgba(255,255,255,.94);border-top:1px solid #e5e7eb;backdrop-filter:blur(10px);z-index:1030}
  .mobile-sticky-cta .btn{width:100%;min-height:42px;font-size:14px;box-shadow:0 12px 26px rgba(37,99,235,.24)}

  .admin-head h1{font-size:25px}
  .admin-card{padding:13px;border-radius:18px}
  .admin-card.table-responsive{overflow:visible}
  .admin-card table.responsive-admin-table,
  .admin-card table.responsive-admin-table thead,
  .admin-card table.responsive-admin-table tbody,
  .admin-card table.responsive-admin-table th,
  .admin-card table.responsive-admin-table td,
  .admin-card table.responsive-admin-table tr{display:block;width:100%}
  .responsive-admin-table thead{display:none!important}
  .responsive-admin-table tr{border:1px solid #e2e8f0;border-radius:16px;margin-bottom:12px;padding:10px;background:#fff}
  .responsive-admin-table td{border:0!important;padding:7px 0!important;display:flex!important;justify-content:space-between;gap:12px;align-items:flex-start;font-size:13px}
  .responsive-admin-table td::before{content:attr(data-label);font-weight:850;color:#64748b;min-width:92px;font-size:12px}
  .responsive-admin-table td[data-label="Shop"]{display:block!important}
  .responsive-admin-table td[data-label="Shop"]::before{display:none}
  .responsive-admin-table .admin-actions{display:block!important;min-width:0}
  .responsive-admin-table .admin-actions::before{display:block;margin-bottom:6px}
  .responsive-admin-table .admin-actions .btn{margin-bottom:5px}
  .mmo-footer{padding-bottom:76px;font-size:12px}
}

@media (max-width: 390px){
  .hero-content h1{font-size:24px}
  .shop-thumb{height:112px}
  .marketplace-link-card .btn{min-width:116px}
  .card-main-cta .cta-full{display:none}
  .card-main-cta .cta-short{display:inline}
}

@media (prefers-reduced-motion: reduce){
  *{scroll-behavior:auto!important;transition:none!important;animation:none!important}
}

/* V24: trang chủ đơn giản + banner ngang + xếp hạng */
.top-public-link{margin-left:auto;font-weight:850;color:#0f172a!important}
.home-compact-head{padding:22px 0 6px;background:linear-gradient(180deg,#f8fbff 0%,#ffffff 100%)}
.home-head-row{display:flex;align-items:end;justify-content:space-between;gap:14px;margin-bottom:14px}
.home-head-row h1{font-size:34px;line-height:1.05;font-weight:900;letter-spacing:-.045em;margin:0 0 6px}
.home-head-row p{margin:0;color:#64748b;font-size:14px;font-weight:600}
.home-banner{display:block;border-radius:24px;overflow:hidden;border:1px solid #dbeafe;background:linear-gradient(135deg,#eff6ff,#ffffff);box-shadow:0 14px 36px rgba(15,23,42,.08);margin:10px 0 4px}
.home-banner img{width:100%;height:clamp(118px,18vw,230px);object-fit:cover;display:block}
.home-search-strip{margin-top:8px}
.ranking-panel{background:#fff;border:1px solid #e2e8f0;border-radius:22px;padding:10px 12px;margin-top:12px;box-shadow:0 10px 28px rgba(15,23,42,.05);display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.filter-label{font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.08em;color:#64748b;margin-right:2px}
.platform-label{margin-left:auto}
.ranking-chip-group,.platform-chip-group{display:flex;gap:8px;flex-wrap:wrap}
.ranking-panel .filter-chip{white-space:nowrap}
.admin-banner-preview{border:1px solid #e2e8f0;border-radius:18px;background:#f8fafc;padding:10px;display:grid;gap:8px}
.admin-banner-preview img{width:100%;max-height:220px;object-fit:cover;border-radius:14px}
.admin-banner-preview span{font-size:13px;font-weight:800;color:#64748b}

@media (max-width: 767.98px){
  .top-public-link{font-size:13px;padding:5px 8px!important}
  .home-compact-head{padding:14px 0 4px}
  .home-head-row{margin-bottom:8px}
  .home-head-row h1{font-size:26px;margin-bottom:4px}
  .home-head-row p{font-size:13px;line-height:1.35;max-width:280px}
  .home-banner{border-radius:16px;margin:8px 0 2px}
  .home-banner img{height:96px}
  .ranking-panel{border-radius:16px;padding:8px;margin-top:8px;display:block;overflow:hidden}
  .filter-label{display:block;margin:0 0 6px;font-size:10px}
  .platform-label{margin-top:8px}
  .ranking-chip-group,.platform-chip-group{flex-wrap:nowrap;overflow-x:auto;padding-bottom:2px;-webkit-overflow-scrolling:touch}
  .ranking-chip-group::-webkit-scrollbar,.platform-chip-group::-webkit-scrollbar{display:none}
}


.youtube-panel{
    overflow:hidden;
}
.youtube-embed-box{
    width:100%;
    background:transparent;
}
.youtube-embed-box iframe{
    width:100%;
    height:auto;
    aspect-ratio:16/9;
    display:block;
    background:#000;
    border-radius:18px;
    box-shadow:0 14px 30px rgba(15,23,42,.12);
}
.youtube-note{white-space:pre-line;color:#475569;font-size:14px;line-height:1.65;margin:12px 0 0;padding:14px 16px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:14px}
.product-meta{font-size:13px;color:#64748b;margin-top:4px}

/* Quy trình đăng sản phẩm trên trang chi tiết shop */
.product-workflow-panel{padding:22px}
#product-workflow{scroll-margin-top:18px}
.workflow-steps{display:grid;gap:14px;margin-top:14px}
.workflow-step{position:relative;padding:18px 20px;border:1px solid #e2e8f0;border-radius:18px;background:#f8fafc}
.workflow-step-head{display:flex;align-items:center;gap:12px;margin-bottom:12px}
.workflow-step-number{flex:0 0 36px;width:36px;height:36px;display:grid;place-items:center;border-radius:12px;background:var(--mmo-primary);color:#fff;font-size:16px;font-weight:900;box-shadow:0 8px 18px rgba(37,99,235,.2)}
.workflow-step h3{margin:0;font-size:18px;font-weight:900;color:#0f172a;letter-spacing:-.015em;text-transform:uppercase}
.workflow-description{margin:0 0 14px 48px;padding-left:18px;color:#475569;line-height:1.65}
.workflow-lead{margin:0 0 14px 48px;color:#475569}
.workflow-action{margin-left:48px;min-width:180px;font-weight:800}
.workflow-step-video{background:#fff}
.workflow-video{margin-left:48px;max-width:900px}
.workflow-step-required{border-color:#fbbf24;background:#fffbeb}
.workflow-step-required .workflow-step-number{background:#d97706;box-shadow:0 8px 18px rgba(217,119,6,.2)}
.workflow-warning{margin:0 0 14px 48px;padding:15px 17px;border:1px solid #f59e0b;border-radius:14px;background:#fef3c7;color:#92400e}
.workflow-warning strong{display:block;margin-bottom:8px;font-size:14px;font-weight:900}
.workflow-warning ul{margin:0;padding-left:20px;line-height:1.65;font-weight:700}
.workflow-bot-box{margin:14px 0 0 48px;padding:14px 16px;border:1px solid #bfdbfe;border-radius:14px;background:#eff6ff}
.workflow-bot-box p{margin:0 0 10px;color:#334155;line-height:1.55}
.workflow-bot-box .workflow-action{margin-left:0}
.specs-table-scroll{margin:16px 0 0 48px;max-width:calc(100% - 48px);overflow-x:auto;border:1px solid #d8dee9;border-radius:14px;background:#fff;-webkit-overflow-scrolling:touch}
.specs-table{width:100%;min-width:680px;border-collapse:collapse;color:#334155}
.specs-table th,.specs-table td{padding:12px 14px;border-bottom:1px solid #e5e7eb;text-align:left;vertical-align:top;white-space:pre-line}
.specs-table th{background:#f1f5f9;color:#0f172a;font-size:13px;font-weight:900;white-space:nowrap}
.specs-table tbody tr:last-child td{border-bottom:0}
.specs-empty-message{margin:14px 0 0 48px;padding:12px 14px;border:1px dashed #d1d5db;border-radius:12px;background:#fff;color:#64748b}
.workflow-checklist{display:grid;gap:9px;margin-left:48px}
.workflow-checklist label{display:flex;align-items:center;gap:10px;margin:0;padding:10px 12px;border:1px solid #dbe4f0;border-radius:12px;background:#fff;color:#334155;font-weight:700;cursor:pointer}
.workflow-checklist input{width:18px;height:18px;margin:0;accent-color:var(--mmo-primary)}
.workflow-important-note{padding:18px 20px;border:1px solid #fca5a5;border-radius:18px;background:#fef2f2;color:#991b1b}
.workflow-important-note h3{margin:0 0 12px;font-size:17px;font-weight:900;color:#991b1b}
.workflow-shop-note{white-space:pre-line;color:#7f1d1d;line-height:1.65}

@media (max-width: 767.98px){
  .product-workflow-panel{padding:12px}
  .workflow-step{padding:14px 12px;border-radius:15px}
  .workflow-step-head{gap:9px;margin-bottom:10px}
  .workflow-step-number{flex-basis:32px;width:32px;height:32px;border-radius:10px;font-size:14px}
  .workflow-step h3{font-size:15px}
  .workflow-description,.workflow-lead,.workflow-action,.workflow-video,.workflow-warning,.workflow-bot-box,.workflow-checklist,.specs-table-scroll,.specs-empty-message{margin-left:0}
  .specs-table-scroll{max-width:100%}
  .workflow-description{padding-left:20px}
  .workflow-action{width:100%;min-width:0}
  .workflow-warning{padding:13px}
  .workflow-important-note{padding:14px 12px;border-radius:15px}
}


/* Product image upload/display fix */
.product-card{overflow:hidden}
.product-image{width:100%;aspect-ratio:4/3;border-radius:14px;overflow:hidden;background:#f1f5f9;margin-bottom:12px;border:1px solid #e2e8f0}
.product-image img{width:100%;height:100%;object-fit:cover;display:block}
.admin-product-thumb{width:86px;height:58px;object-fit:cover;border-radius:10px;border:1px solid #e2e8f0;background:#f8fafc}
.admin-product-preview{width:100%;border:1px solid #e2e8f0;border-radius:14px;background:#f8fafc;padding:8px}
.admin-product-preview img{width:100%;max-height:160px;object-fit:contain;border-radius:10px;background:#fff;display:block}
.admin-product-summary{display:grid;gap:9px}
.admin-product-summary-item{display:grid;grid-template-columns:48px minmax(0,1fr) auto;align-items:center;gap:11px;padding:9px 11px;border:1px solid #e2e8f0;border-radius:13px;background:#f8fafc}
.admin-product-summary-item:not(:has(img)){grid-template-columns:minmax(0,1fr) auto}
.admin-product-summary-item img{width:48px;height:48px;object-fit:cover;border-radius:10px;background:#fff}
.admin-product-summary-item strong,.admin-product-summary-item span{display:block}
.admin-product-summary-item span{font-size:12px;color:#64748b;margin-top:2px}
.admin-product-summary-item a{font-size:12px;font-weight:800}
.admin-current-file{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:13px 14px;border:1px solid #bfdbfe;border-radius:14px;background:#eff6ff}
.admin-current-file span,.admin-current-file strong{display:block}
.admin-current-file span{font-size:12px;color:#64748b;font-weight:750}
.admin-current-file strong{font-size:13px;color:#1e3a8a;overflow-wrap:anywhere}
.admin-badge-options{display:flex;gap:8px 16px;flex-wrap:wrap;padding:11px 13px;border:1px solid #e2e8f0;border-radius:13px;background:#f8fafc}
@media (max-width: 767.98px){.product-image{aspect-ratio:16/10}.admin-product-thumb{width:72px;height:50px}}
@media (max-width: 767.98px){.admin-current-file{align-items:flex-start;flex-direction:column}.admin-product-summary-item{grid-template-columns:42px minmax(0,1fr)}.admin-product-summary-item img{width:42px;height:42px}.admin-product-summary-item>a{grid-column:2}}
