.mmh-af-page .hero-section,
.mmh-af-page .ct-page-title-default,
.mmh-af-page .entry-header,
.mmh-af-page .ct-breadcrumbs,
.mmh-af-page .woocommerce-breadcrumb{display:none !important;}

.mmh-af-shop{
  --af-red:#e11d48;
  --af-text:#111;
  --af-muted:#9ca3af;
  --af-line:#f0f0f0;
  max-width:var(--theme-normal-container-max-width,1290px);
  margin:0 auto;
  padding:8px 0 48px;
  color:var(--af-text);
}
.mmh-af-shop *,
.mmh-af-shop *::before,
.mmh-af-shop *::after{box-sizing:border-box;}
.mmh-af-shop button{
  font-family:inherit;
  appearance:none;
  -webkit-appearance:none;
  touch-action:manipulation;
}

.mmh-af-layout{
  display:grid;
  grid-template-columns:minmax(0,1fr) 340px;
  gap:20px;
  align-items:start;
}
.mmh-af-main,.mmh-af-aside{
  background:#fff;
  border:1px solid #eee;
  border-radius:20px;
  box-shadow:0 8px 28px rgba(17,24,39,.04);
}
.mmh-af-main{
  display:flex;
  flex-direction:column;
  padding:28px 32px 22px;
}
.mmh-af-aside{
  position:sticky;
  top:88px;
  padding:24px 22px 20px;
}

.mmh-af-hero{
  display:flex;
  align-items:center;
  gap:18px;
  padding:0 0 22px;
  margin:0 0 22px;
  border-bottom:1px solid var(--af-line);
}
.mmh-af-hero-logo{
  width:76px;height:76px;flex-shrink:0;
  background:#f7f7f8;border-radius:18px;
  display:flex;align-items:center;justify-content:center;
  box-shadow:0 8px 20px rgba(0,0,0,.06);
}
.mmh-af-hero-logo svg{width:48px;height:48px;display:block;}
.mmh-af-hero-copy{min-width:0;flex:1;}
.mmh-af-hero h1{margin:0 0 10px;font-size:28px;line-height:1.15;font-weight:700;letter-spacing:-.02em;}
.mmh-af-props{
  list-style:none;margin:0;padding:0;
  display:flex;flex-wrap:wrap;gap:14px 28px;
}
.mmh-af-props li{display:flex;align-items:flex-start;gap:8px;}
.mmh-af-prop-icon{
  width:36px;height:36px;border-radius:50%;
  background:#feecee;color:var(--af-red);
  display:flex;align-items:center;justify-content:center;flex-shrink:0;
}
.mmh-af-prop-icon svg{width:18px;height:18px;display:block;}
.mmh-af-props strong{display:block;font-size:13px;line-height:1.2;font-weight:700;}
.mmh-af-props small{display:block;font-size:12px;color:var(--af-muted);margin-top:3px;font-weight:400;}

.mmh-af-field{margin:0 0 22px;}
.mmh-af-field h2{margin:0 0 12px;font-size:15px;font-weight:700;}

.mmh-af-regions{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
}
.mmh-af-region{
  position:relative;
  display:flex;align-items:center;gap:10px;
  min-height:56px;
  padding:14px 16px;
  border:1.5px solid #ececec;
  border-radius:12px;
  background:#fff;
  color:var(--af-text);
  font-size:15px;font-weight:700;
  cursor:pointer;
  text-align:left;
}
.mmh-af-flag{
  width:28px;height:20px;flex-shrink:0;overflow:hidden;border-radius:3px;
  box-shadow:0 0 0 1px rgba(0,0,0,.06);
  display:flex;
}
.mmh-af-flag svg{width:28px;height:20px;display:block;}
.mmh-af-region-name{line-height:1;}
.mmh-af-check{
  display:none;position:absolute;top:-7px;right:-7px;width:20px;height:20px;
}
.mmh-af-check svg{display:block;width:20px;height:20px;}
.mmh-af-soon{
  position:absolute;top:8px;right:8px;
  font-style:normal;font-size:11px;font-weight:500;
  color:#9aa3af;background:#f3f4f6;
  padding:2px 7px;border-radius:6px;line-height:1.4;
}
.mmh-af-region:not(:disabled):hover{background:#fff6f7;border-color:#f8c9d0;}
.mmh-af-region.is-active{border-color:var(--af-red);background:#fff;box-shadow:0 0 0 1px var(--af-red);}
.mmh-af-region.is-active .mmh-af-check{display:block;}
.mmh-af-region.is-soon,
.mmh-af-region:disabled{
  cursor:not-allowed;color:#6b7280;background:#fff;padding-right:56px;
}

.mmh-af-bands{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:10px;
}
.mmh-af-band{
  min-height:68px;
  padding:12px 10px;
  border:1.5px solid #ececec;
  border-radius:12px;
  background:#fff;
  color:var(--af-text);
  text-align:left;
  cursor:pointer;
}
.mmh-af-band-label{display:block;font-weight:700;font-size:14px;line-height:1.25;}
.mmh-af-band .js-meta{
  display:block;font-size:12px;color:#6b7280;margin-top:6px;line-height:1.3;min-height:1.2em;
}
.mmh-af-band:not(:disabled):hover{border-color:#f8c9d0;background:#fff6f7;}
.mmh-af-band.is-active{border-color:var(--af-red);background:#fff;color:var(--af-red);}
.mmh-af-band.is-active .js-meta{color:var(--af-red);}
.mmh-af-band.is-disabled,
.mmh-af-band:disabled{
  opacity:1;cursor:not-allowed;
  background:#f6f7f9;border-color:#eef0f2;color:#c4c8ce;
}
.mmh-af-band.is-disabled .js-meta,
.mmh-af-band:disabled .js-meta{color:#c4c8ce;}

.mmh-af-qty{
  display:flex;align-items:center;
  border:1px solid #e5e7eb;border-radius:8px;
  height:36px;padding:0 4px;background:#fff;
}
.mmh-af-qty-btn{
  width:32px;height:34px;border:0;background:transparent;
  color:#9ca3af;font-size:18px;line-height:1;cursor:pointer;padding:0;
}
.mmh-af-qty-btn:disabled{opacity:.35;cursor:not-allowed;}
.mmh-af-qty .qty{
  width:28px;height:34px;border:0;background:transparent;
  text-align:center;font-size:16px;font-weight:700;color:var(--af-text);
  padding:0;-moz-appearance:textfield;appearance:textfield;
}
.mmh-af-qty .qty::-webkit-outer-spin-button,
.mmh-af-qty .qty::-webkit-inner-spin-button{-webkit-appearance:none;margin:0;}

.mmh-af-aside-qtyrow{
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  font-size:16px;font-weight:700;
}
.mmh-af-wholesale{
  display:flex;align-items:center;justify-content:flex-end;gap:4px;
  margin:8px 0 0;color:#111;text-decoration:none;font-size:13px;font-weight:700;
}
.mmh-af-wholesale svg{width:16px;height:16px;}
.mmh-af-wholesale:hover{color:#111;}
.mmh-af-aside-bill{
  margin-top:14px;padding-top:14px;border-top:1px solid var(--af-line);
}
.mmh-af-aside-row{
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  margin-bottom:10px;font-size:14px;
}
.mmh-af-aside-row.is-orig{color:#9ca3af;}
.mmh-af-aside-row.is-disc{color:#9ca3af;}
.mmh-af-aside-row.is-disc #mmh-af-discount{color:#9ca3af;font-weight:600;}
.mmh-af-aside-row.is-disc.has-off #mmh-af-discount{color:#d97706;}
.mmh-af-aside-row.is-deal{
  margin:0 0 16px;padding-bottom:14px;border-bottom:1px solid var(--af-line);
  color:var(--af-text);font-weight:700;font-size:15px;
}
.mmh-af-aside-row.is-deal strong{
  font-size:24px;color:var(--af-red);font-weight:800;letter-spacing:-.02em;line-height:1;
}
#mmh-af-disc-toggle{
  display:inline-flex;align-items:center;gap:4px;
  border:0;background:transparent;padding:0;
  color:#9ca3af;font-size:14px;cursor:pointer;
}
#mmh-af-disc-toggle svg{width:14px;height:14px;transition:transform .15s;}
#mmh-af-disc-toggle[aria-expanded="true"] svg{transform:rotate(180deg);}
.mmh-af-disc-detail{
  display:flex;justify-content:space-between;margin:-2px 0 10px 12px;
  font-size:13px;color:#9ca3af;
}
.mmh-af-disc-detail[hidden]{display:none !important;}
.mmh-af-disc-detail span:last-child{font-weight:600;}
.mmh-af-disc-detail.has-off span:last-child{color:#d97706;}
.mmh-af-buy{
  width:100%;margin-top:18px;
  background:var(--af-red) !important;color:#fff !important;
  border:0 !important;border-radius:12px;height:48px;
  font-size:16px;font-weight:700;cursor:pointer;
}
.mmh-af-buy:hover{background:#c81e3a !important;}
.mmh-af-buy:disabled{opacity:.4;cursor:not-allowed;background:var(--af-red) !important;}

.mmh-af-mbar{display:none;}

.mmh-af-shop .woocommerce-tabs{width:100%;margin-top:36px;padding-top:8px;clear:both;}
.mmh-af-shop .wc-tabs{
  list-style:none;margin:0;padding:0;
  display:flex;justify-content:center;
  border-bottom:1px solid #e5e7eb;gap:8px;
}
.mmh-af-shop .wc-tabs li{margin:0;}
.mmh-af-shop .wc-tabs a{
  display:block;padding:10px 18px;color:#6b7280;text-decoration:none;
  border-bottom:2px solid transparent;margin-bottom:-1px;
}
.mmh-af-shop .wc-tabs li.active a{color:#111;border-bottom-color:#c9302c;font-weight:600;}
.mmh-af-shop .woocommerce-Tabs-panel{padding-top:28px;}

.mmh-product-desc{max-width:100%;margin:0 auto;}
.mmh-section{
  background:#fff;border-radius:12px;padding:24px;margin-bottom:20px;
  box-shadow:0 2px 8px rgba(0,0,0,.06);border:1px solid #f0f0f0;
}
.mmh-section-title{
  display:flex;align-items:center;gap:10px;
  font-size:18px;font-weight:600;color:#1a1a1a;
  margin-bottom:16px;padding-bottom:12px;border-bottom:2px solid #c9302c;
}
.mmh-notice-list,.mmh-list{list-style:none;padding:0;margin:0;}
.mmh-notice-list li{
  padding:10px 0;font-size:14px;line-height:1.6;color:#444;border-bottom:1px solid #f0f0f0;
}
.mmh-notice-list li:last-child{border-bottom:none;padding-bottom:0;}
.mmh-list li{
  padding:10px 0;border-bottom:1px solid #f5f5f5;font-size:15px;line-height:1.65;color:#444;
}
.mmh-list li:last-child{border-bottom:none;}
.mmh-usdt-badge{
  display:inline-block;background:linear-gradient(135deg,#26a17b 0%,#1a8f6e 100%);
  color:#fff;padding:2px 8px;border-radius:4px;font-weight:600;font-size:12px;
}
.mmh-highlight{background:#fef3cd;padding:2px 6px;border-radius:4px;font-weight:500;}
.mmh-video-wrapper{background:#000;border-radius:8px;overflow:hidden;margin-top:12px;}
.mmh-video-wrapper video,.mmh-video-wrapper .wp-video{width:100% !important;max-width:100%;height:auto;display:block;}
.mmh-tutorial-grid{display:flex;flex-wrap:wrap;gap:20px;margin-top:16px;}
.mmh-tutorial-card{
  flex:1 1 300px;min-width:280px;background:#f8f9fa;border-radius:10px;padding:16px;border:1px solid #e9ecef;
}
.mmh-tutorial-card-title{font-weight:600;color:#1a1a1a;margin-bottom:12px;}
.mmh-tutorial-card a{color:#c9302c;font-weight:500;}
.mmh-disclaimer{background:#f8f9fa;border-radius:8px;padding:16px 20px;}
.mmh-disclaimer-item{padding:8px 0;font-size:14px;color:#666;line-height:1.6;}
.mmh-disclaimer-highlight{color:#c9302c;font-weight:600;}

@media (max-width:1100px){
  .mmh-af-layout{grid-template-columns:1fr;}
  .mmh-af-aside{position:static;}
  .mmh-af-bands{grid-template-columns:repeat(3,minmax(0,1fr));}
  .mmh-af-props{gap:12px 18px;}
}

@media (max-width:980px){
  .mmh-af-layout{grid-template-columns:1fr;}
  .mmh-af-aside{position:static;}
  .mmh-af-shop{padding-bottom:96px;}
  .mmh-af-mbar{
    display:flex;align-items:center;justify-content:space-between;gap:12px;
    position:fixed;left:0;right:0;bottom:0;z-index:40;
    background:#fff;border-top:1px solid #eee;
    padding:10px 16px calc(10px + env(safe-area-inset-bottom));
    box-shadow:0 -8px 24px rgba(0,0,0,.06);
  }
  .mmh-af-mbar-price{display:flex;align-items:baseline;gap:6px;}
  .mmh-af-mbar-price strong{font-size:22px;color:var(--af-red);font-weight:800;}
  .mmh-af-mbar-price small{font-size:12px;color:var(--af-muted);}
  .mmh-af-mbar button{
    flex:0 0 auto;min-width:148px;height:44px;padding:0 18px;
    background:var(--af-red);color:#fff;border:0;border-radius:12px;
    font-size:15px;font-weight:700;cursor:pointer;
  }
  .mmh-af-mbar button:disabled{opacity:.4;cursor:not-allowed;}
}

@media (max-width:720px){
  .mmh-af-main{padding:20px 16px 16px;}
  .mmh-af-aside{padding:18px 16px;}
  .mmh-af-hero{align-items:flex-start;gap:12px;padding-bottom:16px;margin-bottom:16px;}
  .mmh-af-hero-logo{width:56px;height:56px;border-radius:14px;}
  .mmh-af-hero-logo svg{width:34px;height:34px;}
  .mmh-af-hero h1{font-size:22px;margin-bottom:8px;}
  .mmh-af-prop-icon{width:28px;height:28px;}
  .mmh-af-prop-icon svg{width:14px;height:14px;}
  .mmh-af-props{gap:10px 12px;}
  .mmh-af-props strong{font-size:12px;}
  .mmh-af-props small{font-size:11px;}
  .mmh-af-bands{grid-template-columns:repeat(2,minmax(0,1fr));}
  .mmh-af-region.is-soon,
  .mmh-af-region:disabled{padding-right:10px;padding-top:24px;}
  .mmh-af-soon{top:4px;right:6px;font-size:10px;padding:1px 5px;}
  .mmh-tutorial-card{flex:1 1 100%;min-width:0;}
  .mmh-section{padding:16px;}
}

@media (max-width:480px){
  .mmh-af-region{min-height:48px;padding:12px 8px;font-size:13px;gap:8px;}
  .mmh-af-flag,.mmh-af-flag svg{width:22px;height:16px;}
  .mmh-af-region.is-soon,.mmh-af-region:disabled{padding-right:8px;padding-top:22px;}
  .mmh-af-soon{top:4px;right:4px;font-size:10px;padding:1px 5px;}
  .mmh-af-qty{height:44px;}
  .mmh-af-qty-btn{width:44px;height:44px;}
  .mmh-af-qty .qty{height:44px;}
  .mmh-af-mbar button{min-width:0;flex:1;}
}

.mmh-af-added{
  position:fixed;inset:0;z-index:80;
  background:rgba(17,24,39,.45);
  display:flex;align-items:center;justify-content:center;
  padding:20px;
}
.mmh-af-added[hidden]{display:none !important;}
.mmh-af-added-card{
  width:100%;max-width:360px;
  background:#fff;border-radius:16px;
  padding:24px 22px 20px;
  box-shadow:0 16px 40px rgba(0,0,0,.16);
  text-align:center;
}
.mmh-af-added-ok{margin:0 0 6px;font-size:18px;font-weight:700;color:#16a34a;}
.mmh-af-added-name{margin:0 0 18px;font-size:14px;color:#4b5563;}
.mmh-af-added-actions{display:flex;flex-direction:column;gap:8px;}
.mmh-af-added-cart{
  display:block;height:44px;line-height:44px;
  background:var(--af-red,#e11d48);color:#fff !important;
  border-radius:10px;font-weight:700;text-decoration:none;
}
.mmh-af-added-cart:hover{background:#c81e3a;color:#fff !important;}
.mmh-af-added-close{
  height:40px;border:0;background:transparent;
  color:#6b7280;font-size:14px;cursor:pointer;
}
