:root{
      --ink:#0d1a2d;
      --ink-soft:#203049;
      --paper:#f6f5f2;
      --white:#ffffff;
      --gold:#d7a833;
      --gold-deep:#b68518;
      --gold-pale:#f6e8bd;
      --blue:#2c7be5;
      --blue-deep:#1959b8;
      --blue-pale:#eaf3ff;
      --line:#e4e8ef;
      --muted:#6a768a;
      --green:#1d8d69;
      --shadow:0 24px 70px rgba(13,26,45,.12);
      --shadow-sm:0 12px 34px rgba(13,26,45,.08);
      --radius:24px;
      --container:min(1400px, calc(100% - 40px));
      --site-header-h:82px;
    }

    *{box-sizing:border-box}
    html{scroll-behavior:smooth}
    body{
      margin:0;
      color:var(--ink);
      background:var(--paper);
      font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans JP","Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif;
      line-height:1.75;
      letter-spacing:.02em;
    }
    a{color:inherit;text-decoration:none}
    img,svg{max-width:100%;display:block}
    button{font:inherit}

    .container{width:var(--container);margin-inline:auto}
    .eyebrow{
      display:inline-flex;
      align-items:center;
      gap:10px;
      color:var(--blue);
      font-weight:800;
      font-size:.78rem;
      letter-spacing:.16em;
      text-transform:uppercase;
    }
    .eyebrow::before{
      content:"";
      width:28px;
      height:2px;
      background:currentColor;
    }
    .section{
      padding:110px 0;
    }
    .section-head{
      display:grid;
      grid-template-columns:minmax(0,1fr) minmax(280px,.62fr);
      gap:48px;
      align-items:end;
      margin-bottom:52px;
    }
    h1,h2,h3,p{margin-top:0}
    h1{
      margin-bottom:24px;
      font-size:clamp(2.55rem,6vw,5.4rem);
      line-height:1.05;
      letter-spacing:-.055em;
    }
    h2{
      margin:12px 0 0;
      font-size:clamp(2rem,4vw,3.35rem);
      line-height:1.16;
      letter-spacing:-.04em;
    }
    h3{
      font-size:1.14rem;
      line-height:1.45;
      margin-bottom:10px;
    }
    .lead{
      color:var(--ink-soft);
      font-size:clamp(1rem,1.45vw,1.14rem);
    }
    .muted{color:var(--muted)}
    .small{font-size:.82rem}

    .site-header{
      position:fixed;
      inset:0 0 auto;
      z-index:30;
      border-bottom:1px solid transparent;
      transition:.25s ease;
    }
    .site-header.is-scrolled{
      background:rgba(246,245,242,.93);
      border-color:rgba(13,26,45,.08);
      backdrop-filter:blur(18px);
    }
    .nav{
      min-height:82px;
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:20px;
      flex-wrap:nowrap;
    }
    .brand{
      display:flex;
      align-items:center;
      gap:13px;
      font-weight:900;
      letter-spacing:.1em;
      flex-shrink:0;
      white-space:nowrap;
    }
    .brand-mark{
      width:42px;
      height:42px;
      border-radius:50%;
      display:grid;
      place-items:center;
      background:linear-gradient(135deg,var(--blue-deep),var(--blue));
      color:var(--white);
      box-shadow:inset 0 0 0 1px rgba(255,255,255,.12);
    }
    .brand-mark svg{width:23px}
    .nav-links{
      display:flex;
      align-items:center;
      gap:18px;
      font-size:.88rem;
      font-weight:700;
      flex:1 1 auto;
      justify-content:flex-end;
      min-width:0;
      white-space:nowrap;
    }
    .nav-links a{
      white-space:nowrap;
      flex-shrink:0;
    }
    .nav-links a:not(.btn):hover{color:var(--blue)}
    .nav-actions{
      display:flex;
      align-items:center;
      gap:10px;
      flex-shrink:0;
    }
    .nav-actions form{display:flex;margin:0}
    /* 顶部操作按钮 — 统一胶囊体系，三级层次 */
    .header-nav-btn,.header-cart{
      display:inline-flex;align-items:center;justify-content:center;gap:8px;
      min-height:48px;padding:0 18px;border-radius:999px;
      border:1.5px solid transparent;
      font:inherit;font-weight:800;font-size:.88rem;line-height:1;
      white-space:nowrap;cursor:pointer;text-decoration:none;
      transition:transform .2s ease,box-shadow .2s ease,background .2s ease,border-color .2s ease,color .2s ease
    }
    .header-nav-btn:hover,.header-cart:hover{transform:translateY(-2px)}
    .header-nav-btn--member{
      border-color:#93b4f6;background:#fff;color:#1d4ed8;
      box-shadow:0 4px 14px rgba(26,86,219,.1)
    }
    .header-nav-btn--member:hover{
      border-color:#1a56db;background:#f0f5ff;color:#1a56db;
      box-shadow:0 8px 20px rgba(26,86,219,.16)
    }
    .header-nav-btn--logout{
      border-color:rgba(13,26,45,.12);background:rgba(255,255,255,.78);
      color:#64748b;font-weight:700;
      box-shadow:0 2px 8px rgba(13,26,45,.05);
      min-width:40px;width:40px;min-height:40px;height:40px;padding:0;
      border-radius:50%
    }
    .header-nav-btn--logout .header-nav-btn-label{display:none}
    .header-nav-btn--logout .header-nav-btn-ico{width:18px;height:18px}
    .header-nav-btn--logout:hover{
      border-color:rgba(13,26,45,.2);background:#fff;color:#475569;
      box-shadow:0 6px 16px rgba(13,26,45,.08)
    }
    .header-nav-btn--sm.header-nav-btn--logout{
      min-width:36px;width:36px;min-height:36px;height:36px;padding:0
    }
    .header-nav-btn-ico,.header-cart-ico{
      position:relative;display:inline-grid;place-items:center;width:20px;height:20px;flex-shrink:0
    }
    .header-nav-btn-ico svg,.header-cart-ico svg{display:block}
    .header-nav-btn-label,.header-cart-label{letter-spacing:.02em}
    .header-nav-btn--sm{
      min-height:40px;height:40px;padding:0 14px;font-size:.82rem;gap:6px
    }
    .header-nav-btn--sm .header-nav-btn-ico{width:18px;height:18px}
    .header-cart,.header-nav-btn--cart{
      padding:0 20px;margin-left:2px;
      border-color:transparent;
      background:linear-gradient(180deg,#2f6fed 0%,#1a56db 55%,#1546b8 100%);
      color:#fff;
      box-shadow:0 8px 20px rgba(26,86,219,.28)
    }
    .header-cart:hover,.header-nav-btn--cart:hover{
      color:#fff;
      background:linear-gradient(180deg,#2563eb 0%,#1546b8 100%);
      box-shadow:0 12px 26px rgba(26,86,219,.34)
    }
    .header-nav-btn-badge,.header-cart-badge{
      position:absolute;top:-7px;right:-9px;min-width:17px;height:17px;padding:0 4px;
      border-radius:999px;background:#e03131;color:#fff;font-size:.64rem;font-weight:800;
      display:inline-grid;place-items:center;line-height:1;box-shadow:0 0 0 2px #1a56db
    }
    .btn{
      min-height:48px;
      display:inline-flex;
      align-items:center;
      justify-content:center;
      gap:10px;
      padding:0 22px;
      border:1px solid transparent;
      border-radius:999px;
      font-weight:800;
      white-space:nowrap;
      flex-shrink:0;
      transition:transform .2s ease, box-shadow .2s ease, background .2s ease;
      cursor:pointer;
    }
    .btn:hover{transform:translateY(-2px)}
    .btn-primary{
      color:var(--white);
      background:linear-gradient(135deg,var(--blue-deep),var(--blue));
      box-shadow:0 12px 26px rgba(44,123,229,.24);
    }
    .btn-gold{
      color:var(--ink);
      background:var(--gold);
      box-shadow:0 12px 26px rgba(215,168,51,.24);
    }
    .btn-ghost{
      border-color:rgba(13,26,45,.14);
      background:rgba(255,255,255,.56);
    }
    .menu-toggle{
      display:none;
      width:46px;
      height:46px;
      border:1px solid rgba(13,26,45,.12);
      border-radius:50%;
      background:rgba(255,255,255,.62);
      place-items:center;
    }
    .menu-toggle span,
    .menu-toggle span::before,
    .menu-toggle span::after{
      display:block;
      width:20px;
      height:2px;
      background:var(--ink);
      content:"";
      transition:.2s ease;
    }
    .menu-toggle span::before{transform:translateY(-6px)}
    .menu-toggle span::after{transform:translateY(4px)}

    .hero{
      min-height:820px;
      padding:160px 0 90px;
      position:relative;
      overflow:hidden;
      background:
        radial-gradient(circle at 82% 16%, rgba(44,123,229,.18), transparent 28%),
        radial-gradient(circle at 70% 30%, rgba(215,168,51,.15), transparent 24%),
        linear-gradient(180deg,#fbfcff 0%,var(--paper) 100%);
    }
    .hero::before{
      content:"";
      position:absolute;
      width:540px;
      height:540px;
      left:-220px;
      top:210px;
      border:1px solid rgba(44,123,229,.08);
      border-radius:50%;
      box-shadow:
        0 0 0 80px rgba(44,123,229,.025),
        0 0 0 160px rgba(44,123,229,.015);
    }
    .hero-grid{
      display:grid;
      grid-template-columns:minmax(0,1.08fr) minmax(420px,.92fr);
      align-items:center;
      gap:56px;
    }
    .hero-copy{position:relative;z-index:1}
    .hero-copy h1 span{
      display:block;
      color:var(--blue);
    }
    .hero-actions{
      display:flex;
      flex-wrap:wrap;
      gap:12px;
      margin:34px 0 30px;
    }
    .trust-row{
      display:flex;
      flex-wrap:wrap;
      gap:12px 24px;
      padding:0;
      margin:0;
      list-style:none;
      color:var(--muted);
      font-size:.88rem;
      font-weight:700;
    }
    .trust-row li{
      display:flex;
      align-items:center;
      gap:8px;
    }
    .trust-row li::before{
      content:"";
      width:8px;
      height:8px;
      border-radius:50%;
      background:var(--blue);
      box-shadow:0 0 0 4px rgba(44,123,229,.12);
    }

    .hero-visual{
      min-height:570px;
      position:relative;
      display:grid;
      place-items:center;
    }
    .route-card{
      width:min(100%,500px);
      min-height:520px;
      padding:32px;
      position:relative;
      overflow:hidden;
      border:1px solid rgba(255,255,255,.18);
      border-radius:36px;
      color:var(--white);
      background:
        linear-gradient(155deg,rgba(255,255,255,.08),transparent 38%),
        linear-gradient(135deg,#0d1a2d 0%,#132744 55%,#17345e 100%);
      box-shadow:var(--shadow);
    }
    .route-card::before{
      content:"";
      position:absolute;
      width:290px;
      height:290px;
      right:-110px;
      bottom:-100px;
      border:1px solid rgba(44,123,229,.22);
      border-radius:50%;
      box-shadow:0 0 0 54px rgba(44,123,229,.06);
    }
    .route-top{
      display:flex;
      align-items:flex-start;
      justify-content:space-between;
      gap:20px;
    }
    .route-label{
      color:rgba(255,255,255,.58);
      font-size:.75rem;
      font-weight:800;
      letter-spacing:.14em;
    }
    .route-title{
      margin:8px 0 0;
      max-width:290px;
      font-size:1.55rem;
      font-weight:900;
      line-height:1.35;
    }
    .live-badge{
      display:flex;
      align-items:center;
      gap:7px;
      padding:7px 11px;
      border:1px solid rgba(255,255,255,.12);
      border-radius:999px;
      color:rgba(255,255,255,.72);
      font-size:.72rem;
      white-space:nowrap;
    }
    .live-badge i{
      width:7px;
      height:7px;
      border-radius:50%;
      background:#62d8ae;
      box-shadow:0 0 0 5px rgba(98,216,174,.12);
    }
    .route-map{
      position:relative;
      height:290px;
      margin-top:38px;
    }
    .route-line{
      position:absolute;
      inset:28px 62px 36px;
      width:calc(100% - 124px);
      height:calc(100% - 64px);
    }
    .route-point{
      position:absolute;
      display:flex;
      align-items:center;
      gap:12px;
    }
    .route-point:nth-of-type(1){left:4px;top:9px}
    .route-point:nth-of-type(2){right:5px;top:92px}
    .route-point:nth-of-type(3){left:35px;bottom:6px}
    .point-icon{
      width:48px;
      height:48px;
      display:grid;
      place-items:center;
      border:1px solid rgba(255,255,255,.12);
      border-radius:16px;
      color:#9ec6ff;
      background:#17345e;
      box-shadow:0 12px 30px rgba(0,0,0,.2);
    }
    .point-icon svg{width:23px}
    .point-copy strong{
      display:block;
      font-size:.92rem;
    }
    .point-copy span{
      color:rgba(255,255,255,.5);
      font-size:.72rem;
    }
    .rate-card{
      position:absolute;
      right:-18px;
      bottom:40px;
      width:240px;
      padding:20px;
      border:1px solid rgba(13,26,45,.08);
      border-radius:20px;
      background:rgba(255,255,255,.95);
      box-shadow:var(--shadow-sm);
      backdrop-filter:blur(16px);
    }
    .rate-card .label{
      color:var(--muted);
      font-size:.74rem;
      font-weight:800;
    }
    .rate-card .rate{
      margin-top:4px;
      font-size:1.55rem;
      font-weight:900;
      letter-spacing:-.03em;
      color:var(--blue-deep);
    }
    .rate-card .note{
      margin-top:6px;
      color:var(--muted);
      font-size:.69rem;
      line-height:1.5;
    }

    .notice-strip{
      position:relative;
      z-index:2;
      margin-top:-46px;
    }
    .notice-inner{
      display:grid;
      grid-template-columns:220px 1fr auto;
      align-items:center;
      gap:24px;
      padding:22px 26px;
      border:1px solid rgba(13,26,45,.07);
      border-radius:20px;
      background:var(--white);
      box-shadow:var(--shadow-sm);
    }
    .notice-label{
      display:flex;
      align-items:center;
      gap:12px;
      font-weight:900;
    }
    .notice-label span{
      padding:5px 10px;
      border-radius:999px;
      background:var(--blue-pale);
      color:var(--blue-deep);
      font-size:.68rem;
      letter-spacing:.08em;
    }
    .notice-text{
      overflow:hidden;
      text-overflow:ellipsis;
      white-space:nowrap;
      color:var(--ink-soft);
      font-size:.9rem;
    }
    .cms-banners{padding:18px 0 8px}
    .cms-banner-track{display:grid;gap:16px}
    .cms-banner-item{display:block;border-radius:20px;overflow:hidden;box-shadow:var(--shadow-sm)}
    .cms-banner-item img{width:100%;max-height:360px;object-fit:cover;display:block;background:#e8eef6}
    .text-link{
      display:inline-flex;
      align-items:center;
      gap:7px;
      color:var(--blue-deep);
      font-weight:900;
      font-size:.86rem;
      white-space:nowrap;
    }

    .problem-grid,
    .service-grid,
    .staff-grid,
    .video-grid{
      display:grid;
      gap:18px;
    }
    .problem-grid{grid-template-columns:repeat(4,1fr)}
    .service-grid{grid-template-columns:repeat(2,1fr)}
    .staff-grid{grid-template-columns:repeat(3,1fr)}
    .video-grid{grid-template-columns:repeat(3,1fr)}
    .problem-card,
    .service-card,
    .staff-card,
    .video-card{
      border:1px solid var(--line);
      border-radius:var(--radius);
      background:rgba(255,255,255,.65);
      transition:.22s ease;
      overflow:hidden;
    }
    .problem-card,
    .service-card{padding:28px}
    .problem-card:hover,
    .service-card:hover,
    .staff-card:hover,
    .video-card:hover{
      transform:translateY(-5px);
      border-color:rgba(44,123,229,.35);
      background:var(--white);
      box-shadow:var(--shadow-sm);
    }
    .card-no{
      color:var(--blue);
      font-size:.72rem;
      font-weight:900;
      letter-spacing:.12em;
    }
    .problem-card h3,
    .service-card h3{margin:44px 0 12px}
    .problem-card p,
    .service-card p{
      margin-bottom:0;
      color:var(--muted);
      font-size:.9rem;
    }

    .services{
      color:var(--white);
      background:linear-gradient(180deg,#0f1d32 0%,#132744 100%);
      position:relative;
      overflow:hidden;
    }
    .services::before{
      content:"";
      position:absolute;
      inset:0;
      opacity:.28;
      background-image:
        linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px),
        linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px);
      background-size:64px 64px;
      mask-image:linear-gradient(to bottom,black,transparent 88%);
    }
    .services .container{position:relative}
    .services .section-head p{color:rgba(255,255,255,.64)}
    .services .eyebrow{color:#8ec1ff}
    .service-card{
      min-height:300px;
      border-color:rgba(255,255,255,.1);
      background:rgba(255,255,255,.045);
    }
    .service-card:hover{
      border-color:rgba(44,123,229,.5);
      background:rgba(255,255,255,.08);
      box-shadow:none;
    }
    .service-icon{
      width:52px;
      height:52px;
      display:grid;
      place-items:center;
      border-radius:17px;
      color:#9ec6ff;
      background:rgba(44,123,229,.18);
    }
    .service-icon svg{width:25px}
    .service-card h3{
      margin:28px 0 10px;
      font-size:1.35rem;
    }
    .service-card p{color:rgba(255,255,255,.62)}
    .service-tags{
      display:flex;
      flex-wrap:wrap;
      gap:8px;
      margin-top:23px;
    }
    .service-tags span{
      padding:7px 10px;
      border:1px solid rgba(255,255,255,.1);
      border-radius:999px;
      color:rgba(255,255,255,.72);
      font-size:.72rem;
      font-weight:700;
    }

    .flow-wrap{
      display:grid;
      grid-template-columns:340px 1fr;
      gap:64px;
      align-items:start;
    }
    .flow-sticky{
      position:sticky;
      top:120px;
    }
    .flow-list{
      margin:0;
      padding:0;
      list-style:none;
      border-top:1px solid var(--line);
    }
    .flow-item{
      display:grid;
      grid-template-columns:70px 1fr;
      gap:20px;
      padding:28px 0;
      border-bottom:1px solid var(--line);
    }
    .flow-num{
      color:var(--blue);
      font-size:.78rem;
      font-weight:900;
      letter-spacing:.12em;
    }
    .flow-item h3{margin-bottom:7px}
    .flow-item p{
      margin:0;
      color:var(--muted);
      font-size:.9rem;
    }

    .pricing{
      background:#edf3fb;
    }
    .pricing-grid{
      display:grid;
      grid-template-columns:repeat(2,1fr);
      gap:22px;
      align-items:stretch;
    }
    .price-card{
      padding:38px;
      border:1px solid rgba(13,26,45,.08);
      border-radius:30px;
      background:rgba(255,255,255,.82);
    }
    .price-card.featured{
      color:var(--white);
      background:linear-gradient(135deg,var(--blue-deep),var(--blue));
      box-shadow:var(--shadow);
    }
    .plan-name{
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:18px;
    }
    .plan-badge{
      padding:6px 10px;
      border-radius:999px;
      color:var(--blue-deep);
      background:var(--blue-pale);
      font-size:.68rem;
      font-weight:900;
    }
    .price{
      margin:24px 0 10px;
      font-size:clamp(2.4rem,5vw,4rem);
      line-height:1;
      font-weight:900;
      letter-spacing:-.055em;
    }
    .price small{
      font-size:.9rem;
      letter-spacing:0;
    }
    .price-desc{
      min-height:54px;
      color:var(--muted);
      font-size:.88rem;
    }
    .featured .price-desc{color:rgba(255,255,255,.72)}
    .feature-list{
      margin:28px 0 0;
      padding:0;
      list-style:none;
      border-top:1px solid rgba(13,26,45,.1);
    }
    .featured .feature-list{border-color:rgba(255,255,255,.15)}
    .feature-list li{
      display:flex;
      justify-content:space-between;
      gap:24px;
      padding:15px 0;
      border-bottom:1px solid rgba(13,26,45,.08);
      font-size:.86rem;
    }
    .featured .feature-list li{border-color:rgba(255,255,255,.11)}
    .feature-list span:first-child{color:var(--muted)}
    .featured .feature-list span:first-child{color:rgba(255,255,255,.76)}
    .feature-list strong{text-align:right}
    .pricing-note{
      margin:22px 0 0;
      color:var(--muted);
      font-size:.75rem;
      line-height:1.65;
    }

    .trust-section{
      background:linear-gradient(180deg,#ffffff 0%,#f7fbff 100%);
    }
    .staff-card .photo{
      aspect-ratio:4/4.25;
      position:relative;
      overflow:hidden;
      background:
        radial-gradient(circle at 55% 20%, rgba(255,255,255,.55), transparent 22%),
        linear-gradient(180deg,#c7dbf8 0%,#8ab4ee 45%,#5b8fd9 100%);
    }
    .staff-card .photo svg{
      position:absolute;
      inset:0;
      width:100%;
      height:100%;
    }
    .staff-body{
      padding:22px;
    }
    .staff-role{
      display:inline-block;
      padding:5px 9px;
      border-radius:999px;
      color:var(--blue-deep);
      background:var(--blue-pale);
      font-size:.68rem;
      font-weight:900;
      letter-spacing:.04em;
      margin-bottom:10px;
    }
    .staff-body p{
      margin-bottom:0;
      color:var(--muted);
      font-size:.88rem;
    }

    .video-card .thumb{
      aspect-ratio:16/10;
      position:relative;
      overflow:hidden;
      background:
        linear-gradient(135deg,rgba(13,26,45,.18),rgba(44,123,229,.32)),
        linear-gradient(180deg,#dbeafe 0%,#97c0f4 100%);
    }
    .video-card .thumb svg{
      position:absolute;
      inset:0;
      width:100%;
      height:100%;
    }
    .play{
      position:absolute;
      inset:auto auto 18px 18px;
      width:58px;
      height:58px;
      display:grid;
      place-items:center;
      border-radius:50%;
      background:rgba(255,255,255,.92);
      box-shadow:0 10px 28px rgba(13,26,45,.18);
    }
    .play:before{
      content:"";
      border-top:10px solid transparent;
      border-bottom:10px solid transparent;
      border-left:16px solid var(--blue-deep);
      margin-left:4px;
    }
    .video-time{
      position:absolute;
      right:16px;
      bottom:16px;
      padding:5px 8px;
      border-radius:999px;
      background:rgba(13,26,45,.78);
      color:#fff;
      font-size:.68rem;
      font-weight:800;
    }
    .video-body{
      padding:22px;
    }
    .video-body p{
      margin-bottom:0;
      color:var(--muted);
      font-size:.88rem;
    }

    .change-card{
      display:grid;
      grid-template-columns:.8fr 1.2fr;
      overflow:hidden;
      border-radius:34px;
      background:var(--white);
      box-shadow:var(--shadow-sm);
    }
    .change-visual{
      min-height:430px;
      padding:38px;
      color:var(--white);
      background:
        radial-gradient(circle at 20% 10%,rgba(44,123,229,.28),transparent 32%),
        linear-gradient(135deg,var(--ink) 0%,#123153 100%);
    }
    .sheet-stack{
      height:100%;
      position:relative;
      display:grid;
      place-items:center;
    }
    .sheet{
      width:76%;
      min-height:245px;
      padding:22px;
      position:absolute;
      border-radius:18px;
      background:var(--white);
      box-shadow:0 24px 50px rgba(0,0,0,.22);
    }
    .sheet:nth-child(1){transform:rotate(-7deg) translate(-25px,8px);opacity:.42}
    .sheet:nth-child(2){transform:rotate(5deg) translate(28px,-4px);opacity:.72}
    .sheet:nth-child(3){transform:rotate(-1deg)}
    .sheet-head{
      height:14px;
      width:42%;
      border-radius:7px;
      background:var(--blue-deep);
    }
    .sheet-row{
      height:10px;
      margin-top:14px;
      border-radius:5px;
      background:#e9eef6;
    }
    .sheet-row.short{width:62%}
    .sheet-grid{
      display:grid;
      grid-template-columns:repeat(3,1fr);
      gap:8px;
      margin-top:20px;
    }
    .sheet-grid span{
      height:42px;
      border-radius:7px;
      background:#f2f6fb;
    }
    .change-copy{
      padding:58px;
      display:flex;
      flex-direction:column;
      justify-content:center;
    }
    .change-copy h2{font-size:clamp(2rem,4vw,3.2rem)}
    .check-list{
      display:grid;
      gap:12px;
      margin:28px 0 34px;
      padding:0;
      list-style:none;
    }
    .check-list li{
      display:flex;
      align-items:flex-start;
      gap:11px;
      color:var(--ink-soft);
      font-size:.9rem;
    }
    .check-list li::before{
      content:"✓";
      width:22px;
      height:22px;
      flex:0 0 22px;
      display:grid;
      place-items:center;
      border-radius:50%;
      color:var(--white);
      background:var(--blue);
      font-size:.72rem;
      font-weight:900;
    }

    .faq-list{
      max-width:900px;
      margin-inline:auto;
      border-top:1px solid var(--line);
    }
    .faq-item{border-bottom:1px solid var(--line)}
    .faq-button{
      width:100%;
      display:grid;
      grid-template-columns:1fr 38px;
      align-items:center;
      gap:24px;
      padding:24px 0;
      border:0;
      color:var(--ink);
      background:transparent;
      text-align:left;
      font-weight:800;
      cursor:pointer;
    }
    .faq-button i{
      width:36px;
      height:36px;
      position:relative;
      border:1px solid rgba(13,26,45,.12);
      border-radius:50%;
    }
    .faq-button i::before,
    .faq-button i::after{
      content:"";
      position:absolute;
      left:50%;
      top:50%;
      width:14px;
      height:2px;
      background:var(--ink);
      transform:translate(-50%,-50%);
      transition:.2s ease;
    }
    .faq-button i::after{transform:translate(-50%,-50%) rotate(90deg)}
    .faq-item.is-open .faq-button i::after{transform:translate(-50%,-50%) rotate(0)}
    .faq-answer{
      max-height:0;
      overflow:hidden;
      transition:max-height .3s ease;
    }
    .faq-answer p{
      padding:0 70px 24px 0;
      margin:0;
      color:var(--muted);
      font-size:.92rem;
    }

    .cta{
      padding:0 0 112px;
    }
    .cta-box{
      padding:66px;
      position:relative;
      overflow:hidden;
      border-radius:36px;
      color:var(--white);
      background:linear-gradient(135deg,var(--blue-deep) 0%,#174b96 40%,#0d1a2d 100%);
      box-shadow:var(--shadow);
    }
    .cta-box::before{
      content:"";
      position:absolute;
      width:360px;
      height:360px;
      right:-80px;
      top:-170px;
      border:1px solid rgba(255,255,255,.18);
      border-radius:50%;
      box-shadow:
        0 0 0 54px rgba(255,255,255,.05),
        0 0 0 108px rgba(255,255,255,.03);
    }
    .cta-grid{
      position:relative;
      display:grid;
      grid-template-columns:1fr auto;
      gap:40px;
      align-items:end;
    }
    .cta h2{max-width:680px}
    .cta p{
      max-width:700px;
      margin:20px 0 0;
      color:rgba(255,255,255,.76);
    }
    .cta-actions{
      display:flex;
      flex-direction:column;
      gap:10px;
      min-width:220px;
    }

    footer{
      padding:58px 0 34px;
      color:rgba(255,255,255,.72);
      background:#0b111a;
    }
    .footer-grid{
      display:grid;
      grid-template-columns:1.3fr repeat(3,1fr);
      gap:48px;
    }
    footer .brand{color:var(--white)}
    .footer-copy{
      max-width:340px;
      margin-top:18px;
      color:rgba(255,255,255,.45);
      font-size:.83rem;
    }
    .footer-title{
      margin-bottom:16px;
      color:var(--white);
      font-size:.8rem;
      font-weight:900;
      letter-spacing:.08em;
    }
    .footer-links{
      display:grid;
      gap:10px;
      font-size:.82rem;
    }
    .footer-links a:hover{color:#8ec1ff}
    .copyright{
      display:flex;
      justify-content:space-between;
      gap:20px;
      margin-top:48px;
      padding-top:24px;
      border-top:1px solid rgba(255,255,255,.08);
      color:rgba(255,255,255,.36);
      font-size:.72rem;
    }

    .reveal{
      opacity:0;
      transform:translateY(22px);
      transition:opacity .65s ease, transform .65s ease;
    }
    .reveal.is-visible{
      opacity:1;
      transform:none;
    }

    /* TEMP PC-only: mobile breakpoints disabled
    @media (max-width:1180px){
      .nav-links{display:none}
      .menu-toggle{display:grid}
      .nav-links.is-open{
        display:grid;
        position:absolute;
        left:20px;
        right:20px;
        top:74px;
        padding:22px;
        gap:0;
        border:1px solid rgba(13,26,45,.08);
        border-radius:20px;
        background:rgba(255,255,255,.98);
        box-shadow:var(--shadow-sm);
      }
      .nav-links.is-open{white-space:normal}
      .nav-links.is-open a{
        padding:12px 4px;
        border-bottom:1px solid var(--line);
        white-space:nowrap;
      }
      .nav-links.is-open a:last-child{border:0}
      .hero-grid{grid-template-columns:1fr}
      .hero{padding-top:135px}
      .hero-copy{max-width:780px}
      .hero-visual{min-height:540px}
      .problem-grid{grid-template-columns:repeat(2,1fr)}
      .staff-grid,.video-grid{grid-template-columns:repeat(2,1fr)}
      .flow-wrap{grid-template-columns:1fr;gap:44px}
      .flow-sticky{position:static}
      .change-card{grid-template-columns:1fr}
      .change-visual{min-height:360px}
      .footer-grid{grid-template-columns:repeat(2,1fr)}
    }

    @media (max-width:760px){
      :root{--container:min(100% - 28px,1400px)}
      .section{padding:82px 0}
      .section-head{grid-template-columns:1fr;gap:22px;margin-bottom:36px}
      .site-header .nav{min-height:68px}
      .brand-mark{width:38px;height:38px}
      .nav-actions .btn-primary{display:none}
      .header-cart-label{display:none}
      .header-nav-btn-label{display:none}
      .header-nav-btn,.header-cart{min-width:48px;padding:0 14px}
      .hero{min-height:auto;padding:112px 0 74px}
      h1{font-size:clamp(2.45rem,14vw,4rem)}
      .hero-actions{display:grid}
      .hero-actions .btn{width:100%}
      .hero-visual{min-height:500px;margin-top:10px}
      .route-card{min-height:470px;padding:24px}
      .route-map{height:260px}
      .rate-card{right:8px;bottom:8px;width:215px}
      .notice-strip{margin-top:-28px}
      .notice-inner{
        grid-template-columns:1fr auto;
        gap:10px 18px;
        padding:18px;
      }
      .notice-text{grid-column:1 / -1;grid-row:2;white-space:normal}
      .problem-grid,
      .service-grid,
      .pricing-grid,
      .staff-grid,
      .video-grid{grid-template-columns:1fr}
      .problem-card,.service-card{min-height:auto}
      .problem-card h3{margin-top:26px}
      .flow-item{grid-template-columns:48px 1fr}
      .price-card{padding:28px 24px}
      .change-copy{padding:38px 26px}
      .change-visual{min-height:320px;padding:24px}
      .cta-box{padding:42px 26px}
      .cta-grid{grid-template-columns:1fr;align-items:start}
      .cta-actions{width:100%}
      .footer-grid{grid-template-columns:1fr;gap:34px}
      .copyright{flex-direction:column}
    }
    */

    @media (prefers-reduced-motion:reduce){
      html{scroll-behavior:auto}
      *,*::before,*::after{animation:none!important;transition:none!important}
      .reveal{opacity:1;transform:none}
    }

    /* Vendor handoff additions: CSP-safe classes and anchor offsets */
    [id]{scroll-margin-top:96px}
    .subsection-head{margin-top:70px;margin-bottom:34px}
    .sample-note{margin-top:18px}
    .price-unit{display:inline;font-weight:inherit}
    .price-unit-zero{font-size:.46em}
    .price-unit-monthly{font-size:.4em}
    .eyebrow-light{color:#dfeeff}
    .btn-dark-ghost{
      color:#fff;
      border-color:rgba(255,255,255,.18);
      background:rgba(255,255,255,.05);
    }
    .btn-dark-ghost:hover{background:rgba(255,255,255,.10)}
    body.nav-open{overflow:hidden}
    .faq-button:focus-visible,
    .btn:focus-visible,
    .menu-toggle:focus-visible,
    .nav-links a:focus-visible{
      outline:3px solid rgba(44,123,229,.45);
      outline-offset:4px;
    }

/* ========== App pages (auth / search / cart / member) ========== */
.auth-page{
  position:relative;overflow:hidden;min-height:100vh;
  padding:150px 0 90px;
  background:
    radial-gradient(circle at 82% 16%, rgba(44,123,229,.16), transparent 28%),
    radial-gradient(circle at 12% 78%, rgba(215,168,51,.14), transparent 26%),
    linear-gradient(180deg,#fbfcff 0%,var(--paper) 100%);
}
.auth-page::before{
  content:"";position:absolute;width:480px;height:480px;left:-200px;top:180px;
  border:1px solid rgba(44,123,229,.08);border-radius:50%;
  box-shadow:0 0 0 70px rgba(44,123,229,.025),0 0 0 140px rgba(44,123,229,.015);
  pointer-events:none;
}
.auth-grid{
  position:relative;z-index:1;
  display:grid;grid-template-columns:minmax(0,1.05fr) minmax(320px,.92fr);
  gap:56px;align-items:center;
}
.auth-copy h1{
  font-size:clamp(2.1rem,4.4vw,3.6rem);line-height:1.12;margin-bottom:16px;
}
.auth-copy h1 span{color:var(--gold-deep)}
.auth-copy .lead{max-width:34em}
.auth-points{
  display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:28px;
}
.auth-points article{
  background:rgba(255,255,255,.82);border:1px solid rgba(13,26,45,.06);
  border-radius:18px;padding:16px 14px;box-shadow:var(--shadow-sm);
}
.auth-point-no{
  display:block;font-size:.72rem;font-weight:800;letter-spacing:.1em;color:var(--blue);margin-bottom:8px;
}
.auth-points strong{display:block;font-size:.98rem}
.auth-points span{display:block;color:var(--muted);font-size:.82rem;margin-top:4px;line-height:1.45}
.auth-wrap{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:120px 20px 60px}
.auth-card{
  width:100%;background:var(--white);border-radius:var(--radius);
  padding:36px 32px;box-shadow:var(--shadow);border:1px solid rgba(13,26,45,.05);
}
.auth-card h1,.auth-card h2{font-size:1.85rem;margin:8px 0 8px;letter-spacing:-.03em;line-height:1.2}
.auth-card-lead{color:var(--muted);font-size:.92rem;margin-bottom:22px}
.auth-foot{margin:18px 0 0;color:var(--muted);font-size:.9rem}
.auth-foot a{color:var(--blue);font-weight:800}
.auth-foot a:hover{text-decoration:underline}
.auth-code-row{display:grid;grid-template-columns:1fr auto;gap:10px;align-items:end}
.auth-code-row .btn{min-height:48px;white-space:nowrap}
/* TEMP PC-only: mobile breakpoints disabled
@media (max-width:980px){
  .auth-grid{grid-template-columns:1fr;gap:28px}
  .auth-copy h1{font-size:clamp(1.9rem,8vw,2.6rem)}
  .auth-points{grid-template-columns:1fr}
  .auth-page{padding:120px 0 64px}
  .auth-code-row{grid-template-columns:1fr}
}
*/
.form-label{display:block;font-size:.86rem;font-weight:700;margin-bottom:6px;color:var(--ink-soft)}
.form-control,.form-select{
  width:100%;min-height:48px;padding:10px 14px;border:1px solid var(--line);border-radius:14px;
  background:var(--white);color:var(--ink);font:inherit
}
.form-control:focus,.form-select:focus{outline:3px solid rgba(44,123,229,.25);border-color:var(--blue)}
.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:1rem}.mt-2{margin-top:.5rem}.mt-3{margin-top:1rem}.mt-4{margin-top:1.5rem}
.w-100{width:100%}
.d-inline{display:inline}
.d-none{display:none!important}
.d-flex{display:flex}.gap-2{gap:.5rem}.flex-wrap{flex-wrap:wrap}
.row{display:flex;flex-wrap:wrap;margin:0 -8px}.row > [class*="col"]{padding:0 8px}
.col-md-2{flex:0 0 16.66%;max-width:16.66%}.col-md-3{flex:0 0 25%;max-width:25%}
.col-md-4{flex:0 0 33.33%;max-width:33.33%}.col-md-5{flex:0 0 41.66%;max-width:41.66%}
.col-md-6{flex:0 0 50%;max-width:50%}.col-md-7{flex:0 0 58.33%;max-width:58.33%}
.col-md-8{flex:0 0 66.66%;max-width:66.66%}.col-md-9{flex:0 0 75%;max-width:75%}
.col-6{flex:0 0 50%;max-width:50%}
/* TEMP PC-only: mobile breakpoints disabled
@media (max-width:900px){
  .col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9{flex:0 0 100%;max-width:100%}
}
*/
.alert{padding:12px 14px;border-radius:14px;margin-bottom:16px;font-size:.92rem}
.alert-danger{background:#fdeceb;color:#9b1c1c}
.alert-success{background:#e8f7f0;color:#146c43}
.panel-card,.side-card{background:var(--white);border-radius:20px;padding:22px;box-shadow:var(--shadow-sm)}
.m-panel-actions{
  display:flex;flex-wrap:nowrap;align-items:center;gap:10px;
  margin-top:1.25rem;padding-top:0;border-top:none
}
.panel-card > .btn,
.panel-card > a.btn{
  margin-top:1rem
}
.panel-card .m-panel-actions > .btn,
.panel-card .m-panel-actions > a.btn{margin-top:0}
.m-order-filters{
  display:flex;flex-wrap:nowrap;align-items:center;gap:6px;
  overflow-x:auto;-webkit-overflow-scrolling:touch;
  padding-bottom:4px;scrollbar-width:thin
}
.m-order-filters .btn{
  flex:0 0 auto;white-space:nowrap;
  padding:.28rem .55rem;font-size:.78rem
}
.m-order-filters .m-filter-count{
  display:inline-flex;align-items:center;justify-content:center;min-width:1.25em;padding:0 .3em;
  margin-left:3px;border-radius:999px;font-size:.7rem;font-weight:800;line-height:1.3;
  background:rgba(15,23,42,.08);color:inherit
}
.m-order-filters .btn-primary .m-filter-count{background:rgba(255,255,255,.25)}
.m-order-status-panel{padding:8px 12px 0}
.m-order-status-bar{
  display:flex;align-items:flex-end;justify-content:space-between;gap:12px;
  border-bottom:1px solid var(--line)
}
.m-order-status-tabs{
  display:flex;flex-wrap:nowrap;align-items:stretch;gap:0;min-width:0;flex:1 1 auto;
  overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:thin;
  border-bottom:0;margin-bottom:-1px
}
.m-order-status-tab{
  flex:0 0 auto;display:inline-flex;align-items:center;gap:6px;
  padding:14px 14px 12px;margin:0;border:0;border-bottom:2px solid transparent;
  color:var(--ink-soft);font-size:.88rem;font-weight:700;text-decoration:none;white-space:nowrap;
  transition:color .15s ease,border-color .15s ease
}
.m-order-status-tab:hover{color:var(--blue);text-decoration:none}
.m-order-status-tab.is-active{
  color:var(--blue);border-bottom-color:var(--blue)
}
.m-order-status-count{
  font-variant-numeric:tabular-nums;font-weight:800;color:inherit
}
.m-order-sort{
  position:relative;flex:0 0 auto;align-self:center;margin:0 4px 8px 0;z-index:5
}
.m-order-sort-btn{
  display:inline-flex;align-items:center;gap:10px;min-height:38px;max-width:240px;
  padding:0 12px 0 14px;border:1px solid rgba(44,123,229,.45);border-radius:10px;
  background:var(--white);color:var(--ink);font:inherit;font-size:.84rem;font-weight:700;
  cursor:pointer;box-shadow:0 1px 0 rgba(15,23,42,.02)
}
.m-order-sort-btn:hover{border-color:var(--blue);color:var(--blue)}
.m-order-sort-label{
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap
}
.m-order-sort-caret{
  width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;
  border-top:6px solid currentColor;flex:0 0 auto;opacity:.75;
  transition:transform .15s ease
}
.m-order-sort.is-open .m-order-sort-caret{transform:rotate(180deg)}
.m-order-sort-menu{
  position:absolute;right:0;top:calc(100% + 8px);min-width:100%;width:max-content;max-width:280px;
  margin:0;padding:6px 0;list-style:none;background:var(--white);
  border:1px solid var(--line);border-radius:12px;
  box-shadow:0 12px 28px rgba(15,23,42,.12)
}
.m-order-sort-menu::before{
  content:"";position:absolute;right:18px;top:-6px;width:10px;height:10px;
  background:var(--white);border-left:1px solid var(--line);border-top:1px solid var(--line);
  transform:rotate(45deg)
}
.m-order-sort-option{
  display:block;padding:10px 16px;color:var(--ink-soft);font-size:.86rem;font-weight:700;
  text-decoration:none;white-space:nowrap
}
.m-order-sort-option:hover,
.m-order-sort-option.is-active{
  color:var(--blue);background:rgba(44,123,229,.08);text-decoration:none
}
.m-order-search{padding:18px 20px}
.m-order-search-row{
  display:flex;flex-wrap:wrap;align-items:center;gap:10px 14px
}
.m-order-search-row + .m-order-search-row{margin-top:12px}
.m-order-search-field{
  display:flex;align-items:center;gap:8px;min-width:0;flex:1 1 200px
}
.m-order-search-field--id{flex:1 1 260px}
.m-order-search-field--dates{flex:1 1 320px}
.m-order-search-label{
  flex:0 0 auto;font-size:.86rem;font-weight:700;color:var(--ink-soft);white-space:nowrap
}
.m-order-search .form-control,
.m-order-search .form-select{
  min-height:42px;border-radius:12px;font-size:.9rem;padding:8px 12px
}
.m-order-search-id-type{flex:0 0 118px;max-width:118px}
.m-order-date-range{
  display:flex;align-items:center;gap:8px;flex:1 1 auto;min-width:0
}
.m-order-date-range .form-control{flex:1 1 0;min-width:0}
.m-order-date-sep{color:var(--ink-soft);font-weight:700}
.m-order-quick-dates{
  display:flex;flex-wrap:wrap;align-items:center;gap:8px
}
.m-order-quick-dates .btn{
  min-height:38px;padding:0 14px;font-size:.82rem;border-radius:999px
}
.m-order-search-actions{
  display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-left:auto
}
.m-order-search-actions .btn{
  min-height:40px;padding:0 18px;font-size:.88rem
}
.m-order-search .visually-hidden{
  position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;
  overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0
}
.m-order-vas{
  margin-top:1.25rem;padding-top:.25rem
}
.m-order-vas .h6{margin-bottom:.5rem}
.m-order-actions{
  display:flex;flex-wrap:nowrap;align-items:center;gap:10px;
  overflow-x:auto
}
.m-order-actions > form{
  display:inline-flex;align-items:center;margin:0;padding:0;border:0
}
.m-order-actions .btn,
.m-panel-actions .btn{
  min-width:148px;height:48px;min-height:48px;padding:0 1.1rem;
  display:inline-flex;align-items:center;justify-content:center;
  box-sizing:border-box;white-space:nowrap;flex:0 0 auto;margin:0;line-height:1.2;
  vertical-align:middle
}
.m-panel-actions .btn{min-width:auto}

/* ===== Member order detail (reference-style cards) ===== */
.m-od{display:flex;flex-direction:column;gap:16px;padding-bottom:40px}
.m-od-card{
  background:#fff;border:1px solid rgba(28,40,56,.08);border-radius:12px;
  padding:18px 20px 20px;box-shadow:0 1px 2px rgba(28,40,56,.04)
}
.m-od-card-title{
  margin:0 0 14px;font-size:.95rem;font-weight:800;color:#1c2838;letter-spacing:.02em
}
.m-od-order-no{font-size:.82rem;color:#6b7785;font-weight:600;margin-bottom:4px}
.m-od-status-label{
  font-size:1.15rem;font-weight:800;color:#e85d2a;line-height:1.3
}
.m-od-status-label.is-warn{color:#c0392b}
.m-od-status-label.is-fail{color:#c0392b}
.m-od-status-top{
  display:flex;justify-content:space-between;align-items:flex-start;gap:16px;flex-wrap:wrap;
  margin-bottom:18px
}
.m-od-status-hint{margin:0;max-width:280px;font-size:.75rem;color:#8a95a3;line-height:1.5;text-align:right}

.m-od-steps{
  list-style:none;margin:0;padding:8px 4px 4px;display:flex;align-items:flex-start;
  justify-content:space-between;gap:0;position:relative;overflow-x:auto
}
.m-od-steps::before{
  content:"";position:absolute;left:28px;right:28px;top:22px;height:3px;
  background:#e6ebf0;z-index:0
}
.m-od-step{
  position:relative;z-index:1;flex:1 1 0;min-width:72px;max-width:120px;
  display:flex;flex-direction:column;align-items:center;text-align:center;gap:6px
}
.m-od-step-dot{
  width:36px;height:36px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;
  font-size:.78rem;font-weight:800;background:#fff;border:3px solid #d5dde6;color:#8a95a3
}
.m-od-step-label{font-size:.72rem;font-weight:700;color:#8a95a3;line-height:1.25}
.m-od-step-time{font-size:.65rem;color:#a0aab4;font-weight:600}
.m-od-step.is-done .m-od-step-dot,
.m-od-step.is-active .m-od-step-dot{
  border-color:#e85d2a;background:#e85d2a;color:#fff
}
.m-od-step.is-done .m-od-step-label,
.m-od-step.is-active .m-od-step-label{color:#e85d2a}
.m-od-step.is-pending .m-od-step-dot{
  border-color:#c0392b;background:#c0392b;color:#fff
}
.m-od-step.is-pending .m-od-step-label{color:#c0392b}
.m-od-step.is-fail .m-od-step-dot{border-color:#c0392b;background:#c0392b;color:#fff}

.m-od-actions{
  display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-top:16px
}
.m-od-actions > form{margin:0}

.m-od-ship-grid{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 24px
}
.m-od-ship-item{display:flex;flex-wrap:wrap;gap:6px 10px;align-items:baseline;font-size:.9rem}
.m-od-ship-item > span{color:#6b7785;font-weight:700;font-size:.8rem;min-width:4.5rem}
.m-od-ship-item > strong{font-weight:700;color:#1c2838}
.m-od-ship-item > strong > em{font-style:normal;color:#8a95a3;font-weight:600;margin-left:4px}
.m-od-ship-item--full{grid-column:1 / -1}

.m-od-fee-grid{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 20px
}
.m-od-fee-item{display:flex;flex-wrap:wrap;gap:4px 8px;align-items:baseline;font-size:.9rem}
.m-od-fee-item > span{color:#6b7785;font-weight:700;font-size:.8rem}
.m-od-fee-item > strong{font-weight:700;font-variant-numeric:tabular-nums;color:#1c2838}
.m-od-fee-total{
  margin-top:16px;padding-top:14px;border-top:1px dashed rgba(28,40,56,.18);
  display:flex;flex-direction:column;align-items:flex-end;gap:6px
}
.m-od-fee-total-row{
  display:flex;align-items:baseline;gap:14px;font-size:.9rem
}
.m-od-fee-total-row > span{color:#6b7785;font-weight:700}
.m-od-fee-total-row > strong{font-weight:800;font-variant-numeric:tabular-nums;min-width:10rem;text-align:right}
.m-od-fee-total-row--bill > span,
.m-od-fee-total-row--bill > strong{color:#e85d2a;font-size:1.05rem}
.m-od-fee-total-row--soft > strong{font-weight:700;color:#6b7785}
.m-od-fee-note{margin:10px 0 0;font-size:.78rem;color:#8a95a3}

.m-od-table-wrap{overflow-x:auto}
.m-od-table{
  width:100%;border-collapse:collapse;font-size:.86rem
}
.m-od-table th{
  text-align:left;padding:10px 12px;background:#f5f7fa;color:#6b7785;
  font-size:.75rem;font-weight:800;border-bottom:1px solid rgba(28,40,56,.08);white-space:nowrap
}
.m-od-table td{
  padding:12px;border-bottom:1px solid rgba(28,40,56,.06);vertical-align:middle
}
.m-od-empty,.m-od-empty-cell{
  text-align:center;color:#a0aab4;font-weight:600;padding:28px 12px!important
}

.m-od-items-head{
  display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px
}
.m-od-items-count{
  font-size:.78rem;font-weight:700;color:#6b7785;
  background:rgba(28,40,56,.06);padding:3px 10px;border-radius:999px
}
.m-od-items-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch}
.m-od-items{
  width:100%;min-width:980px;border-collapse:collapse;table-layout:fixed;font-size:.86rem
}
.m-od-items thead th{
  padding:10px 8px;background:#f5f7fa;color:#6b7785;font-size:.72rem;font-weight:800;
  text-align:left;border-bottom:1px solid rgba(28,40,56,.08);white-space:nowrap
}
.m-od-items tbody td{
  padding:12px 8px;vertical-align:top;border-bottom:1px solid rgba(28,40,56,.07)
}
.m-od-items .col-no{width:40px;text-align:center;color:#8a95a3}
.m-od-items .col-product{width:28%}
.m-od-items .col-qc{width:64px;text-align:center}
.m-od-items .col-qty{width:56px;text-align:center;font-weight:800}
.m-od-items .col-price{width:110px;text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}
.m-od-items .col-sub{width:110px;text-align:right;white-space:nowrap}
.m-od-items .col-opt{width:110px}
.m-od-items .col-bc{width:130px}
.m-od-items .col-vas{width:120px}
.m-od-items th.col-no,
.m-od-items th.col-qc,
.m-od-items th.col-qty{text-align:center}
.m-od-items th.col-price,
.m-od-items th.col-sub{text-align:right}

.m-od-shop-row td{padding:0!important;border-bottom:0!important;background:transparent}
.m-od-shop-bar{
  display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px 16px;
  margin:8px 0 0;padding:10px 12px;
  background:linear-gradient(90deg,rgba(232,93,42,.1),rgba(232,93,42,.04));
  border:1px solid rgba(232,93,42,.18);border-radius:8px
}
.m-od-shop-name{font-weight:800;font-size:.9rem;color:#1c2838}
.m-od-plat{
  display:inline-block;margin-right:6px;padding:1px 7px;border-radius:4px;
  font-size:.68rem;font-weight:800;background:#1c2838;color:#fff;vertical-align:middle
}
.m-od-shop-sums{
  display:flex;flex-wrap:wrap;gap:8px 18px;font-size:.8rem;color:#5a6572;font-weight:600
}
.m-od-shop-sums strong{color:#1c2838;font-weight:800}

.m-oi-product{display:flex;gap:10px;align-items:flex-start;min-width:0}
.m-oi-product .order-item-thumb img,
.m-oi-thumb-ph{
  width:56px;height:56px;border-radius:8px;object-fit:cover;flex:0 0 auto;
  background:rgba(28,40,56,.06);box-shadow:inset 0 0 0 1px rgba(28,40,56,.06)
}
.m-oi-product-body{min-width:0;flex:1 1 auto}
.m-oi-title{
  display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;
  overflow:hidden;font-weight:700;line-height:1.4;color:#1c2838;text-decoration:none;font-size:.86rem
}
a.m-oi-title:hover{color:var(--blue)}
.m-oi-spec-plain{
  margin-top:3px;font-size:.75rem;color:#8a95a3;line-height:1.35;
  overflow-wrap:anywhere;word-break:break-word
}
.m-oi-pid{
  display:inline-block;margin-top:5px;padding:1px 6px;border-radius:3px;
  font-size:.68rem;font-weight:700;color:#6b7785;background:#eef1f5
}
.m-oi-sub{color:#c0392b;font-weight:800;font-variant-numeric:tabular-nums}
.m-oi-qc-plain{font-variant-numeric:tabular-nums;font-weight:700;color:#6b7785}
.m-oi-wh{font-weight:800;font-size:.82rem;line-height:1.35}
.m-oi-wh-chips{display:flex;flex-direction:column;gap:4px;min-width:0}
.m-oi-wh-chip{
  display:inline-flex;align-items:baseline;gap:4px;font-weight:800;font-size:.78rem;line-height:1.3;color:#1c2838
}
.m-oi-wh-chip em{font-style:normal;font-weight:700;color:#8a95a3;font-size:.7rem}
.m-oi-bc-cell{display:flex;flex-direction:column;gap:6px;align-items:flex-start;min-width:0}
.m-oi-bc-compact{
  display:flex;flex-wrap:wrap;align-items:baseline;gap:4px;font-size:.74rem;min-width:0
}
.m-oi-bc-compact code{
  font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.72rem;font-weight:600;
  background:transparent;padding:0;word-break:break-all
}
.m-oi-bc-edit{
  appearance:none;border:0;background:transparent;padding:0;cursor:pointer;
  color:var(--blue);font-weight:700;font-size:.75rem;line-height:1.2
}
.m-oi-bc-edit:hover{text-decoration:underline}
.m-oi-stack{display:flex;flex-direction:column;gap:3px;min-width:0}
.m-oi-line{display:flex;align-items:baseline;gap:5px;font-size:.74rem;min-width:0}
.m-oi-line > span{flex:0 0 auto;color:#8a95a3;font-weight:700;font-size:.65rem}
.m-oi-line > code{
  flex:1 1 auto;min-width:0;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
  font-size:.74rem;font-weight:600;background:transparent;padding:0;word-break:break-all
}
.m-oi-vas{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:4px}
.m-oi-vas-name{display:block;font-weight:700;font-size:.78rem}
.m-oi-vas-meta{display:block;font-size:.7rem;color:#8a95a3;font-weight:600}

.m-od-extra{display:flex;flex-direction:column;gap:12px}
.m-od-extra-row{display:flex;gap:12px 16px;align-items:baseline;font-size:.9rem}
.m-od-extra-row > span{flex:0 0 6.5rem;color:#6b7785;font-weight:700;font-size:.8rem}
.m-od-extra-row > strong{font-weight:700;color:#1c2838}
.m-od-extra-row--top{align-items:flex-start}

@media (max-width:900px){
  .m-od-fee-grid{grid-template-columns:1fr 1fr}
  .m-od-ship-grid{grid-template-columns:1fr}
  .m-od-status-hint{text-align:left;max-width:none}
}
@media (max-width:640px){
  .m-od-fee-grid{grid-template-columns:1fr}
  .m-od-steps::before{left:18px;right:18px}
}

/* legacy helpers kept for lightbox thumbs */
.m-order-no{font-variant-numeric:tabular-nums}

.side-card a{display:block;font-weight:700;padding:.4rem 0}
.side-card a:hover{color:var(--blue)}

/* ===== Product search (list) ===== */
.search-page{padding:0 0 80px}
.search-hero{
  position:relative;overflow:hidden;
  padding:120px 0 44px;margin-bottom:0;
  color:var(--ink)
}
.search-page--results .search-hero{padding:108px 0 32px}
.search-hero-bg{
  position:absolute;inset:0;z-index:0;
  background:
    radial-gradient(ellipse 70% 60% at 8% 0%, rgba(44,123,229,.16), transparent 55%),
    radial-gradient(ellipse 50% 45% at 92% 8%, rgba(215,168,51,.14), transparent 50%),
    radial-gradient(circle at 70% 80%, rgba(232,90,45,.06), transparent 40%),
    linear-gradient(180deg, #f8fafd 0%, var(--paper) 100%);
}
.search-hero-bg::after{
  content:"";position:absolute;inset:0;
  background-image:
    linear-gradient(rgba(13,26,45,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13,26,45,.035) 1px, transparent 1px);
  background-size:56px 56px;
  mask-image:linear-gradient(180deg, rgba(0,0,0,.55), transparent 85%);
  -webkit-mask-image:linear-gradient(180deg, rgba(0,0,0,.55), transparent 85%);
  opacity:.9;pointer-events:none
}
.search-hero-inner{position:relative;z-index:1}
.search-hero-copy{max-width:720px;margin:0 0 22px}
.search-hero-copy--compact{margin-bottom:14px}
.search-eyebrow{
  display:inline-block;margin:0 0 10px;
  font-size:.72rem;font-weight:800;letter-spacing:.16em;color:var(--blue)
}
.search-hero-copy h1{
  margin:0 0 12px;font-size:clamp(1.75rem,3.4vw,2.55rem);line-height:1.25;font-weight:800;letter-spacing:.01em
}
.search-hero-copy h1 span{color:var(--blue-deep)}
.search-hero-copy--compact h1{font-size:clamp(1.35rem,2.4vw,1.75rem);margin-bottom:0}
.search-hero-lead{
  margin:0;max-width:34em;font-size:1.02rem;line-height:1.7;color:var(--ink-soft);font-weight:500
}
.search-bar-wrap{
  display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:14px
}
.search-bar{flex:1 1 420px;margin:0;min-width:0}
.search-bar-inner{
  display:flex;align-items:stretch;gap:0;background:var(--white);
  border:1px solid #e8a090;border-radius:999px;overflow:hidden;
  box-shadow:0 16px 40px rgba(13,26,45,.1)
}
.search-platform{
  flex:0 0 auto;width:92px;max-width:120px;
  border:0;border-right:1px solid #f0d0c8;background-color:transparent;
  padding:0 26px 0 16px;font:inherit;font-weight:700;color:var(--ink-soft);cursor:pointer;
  appearance:none;-webkit-appearance:none;-moz-appearance:none;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%234a5568' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:right 10px center;background-size:14px
}
.search-input{
  flex:1;min-width:0;border:0;padding:0 16px;font:inherit;min-height:56px;background:transparent;color:var(--ink)
}
.search-input:focus,.search-platform:focus{outline:none}
.search-submit{
  border-radius:0;min-height:56px;min-width:58px;padding:0 20px;flex-shrink:0;
  background:#e85a2d;border-color:#e85a2d
}
.search-submit:hover{background:#d44e24;border-color:#d44e24}
.search-or{
  flex:0 0 auto;font-weight:800;font-size:.9rem;color:#e85a2d;letter-spacing:.04em
}
.search-image-form{flex:0 0 auto;margin:0}
.search-image-btn{
  display:inline-flex;align-items:center;gap:8px;min-height:56px;padding:0 22px;
  border-radius:999px;border:0;background:#e85a2d;color:#fff;font-weight:800;cursor:pointer;
  box-shadow:0 12px 28px rgba(232,90,45,.28)
}
.search-image-btn:hover{background:#d44e24;color:#fff}
.search-image-btn.is-loading{opacity:.7;pointer-events:none}
.search-meta-row{display:flex;flex-wrap:wrap;align-items:center;gap:10px}
.search-rate-chip,.search-mode-chip{
  display:inline-flex;align-items:center;min-height:30px;padding:0 12px;
  border-radius:999px;font-size:.8rem;font-weight:700;
  background:rgba(255,255,255,.82);color:var(--ink-soft);
  border:1px solid rgba(13,26,45,.08);box-shadow:var(--shadow-sm)
}
.search-mode-chip{background:#fff4ef;border-color:#f0c4b0;color:#c24a22}
.search-hint{margin:0 0 22px;color:var(--muted);font-size:.82rem;font-weight:600}

.search-body{padding-top:28px}
.search-landing{display:grid;gap:28px;padding-bottom:8px}
.search-ways{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;
  border-top:1px solid var(--line);border-bottom:1px solid var(--line);
  background:linear-gradient(180deg, rgba(255,255,255,.7), rgba(255,255,255,.35));
  animation:search-rise .55s ease both
}
.search-way{
  padding:28px 26px 30px;border-right:1px solid var(--line)
}
.search-way:last-child{border-right:0}
.search-way-icon{
  display:inline-flex;align-items:center;justify-content:center;
  width:44px;height:44px;margin-bottom:14px;border-radius:12px;
  background:var(--blue-pale);color:var(--blue-deep);
  transition:transform .2s ease
}
.search-way:hover .search-way-icon{transform:translateY(-2px)}
.search-way h2{
  margin:0 0 8px;font-size:1.05rem;font-weight:800;letter-spacing:.01em;color:var(--ink)
}
.search-way p{margin:0;font-size:.9rem;line-height:1.65;color:var(--muted);font-weight:600}
.search-quick{
  display:grid;gap:14px;padding:8px 2px 0;
  animation:search-rise .55s ease .08s both
}
.search-quick-head h2{
  margin:0 0 4px;font-size:1.15rem;font-weight:800;color:var(--ink)
}
.search-quick-head p{margin:0;font-size:.88rem;color:var(--muted);font-weight:600}
.search-quick-links{display:flex;flex-wrap:wrap;gap:10px}
.search-quick-link{
  display:inline-flex;align-items:center;min-height:42px;padding:0 18px;
  border-radius:999px;border:1px solid var(--line);background:#fff;
  font-size:.9rem;font-weight:800;color:var(--ink-soft);
  transition:background .18s,border-color .18s,color .18s,transform .18s
}
.search-quick-link:hover{
  background:var(--ink);color:#fff;border-color:var(--ink);transform:translateY(-1px)
}
.search-landing-note{
  display:flex;flex-wrap:wrap;align-items:baseline;gap:10px 18px;
  padding:18px 22px;border-left:3px solid var(--blue);
  background:linear-gradient(90deg, rgba(44,123,229,.08), transparent 70%);
  font-size:.9rem;color:var(--ink-soft);
  animation:search-rise .55s ease .14s both
}
.search-landing-note strong{font-weight:800;color:var(--ink);white-space:nowrap}
.search-landing-note span{font-weight:600;color:var(--muted)}
@keyframes search-rise{
  from{opacity:0;transform:translateY(12px)}
  to{opacity:1;transform:none}
}
@media (prefers-reduced-motion:reduce){
  .search-ways,.search-quick,.search-landing-note{animation:none}
}

@media (max-width:980px){
  .search-ways{grid-template-columns:1fr;border:1px solid var(--line);border-radius:16px;overflow:hidden}
  .search-way{border-right:0;border-bottom:1px solid var(--line)}
  .search-way:last-child{border-bottom:0}
  .search-layout{grid-template-columns:1fr}
  .search-filters{position:static}
  .goods-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:640px){
  .search-hero{padding:92px 0 32px}
  .search-or{display:none}
  .search-image-btn{width:100%;justify-content:center}
  .search-bar-wrap{flex-direction:column;align-items:stretch}
  .goods-grid{grid-template-columns:1fr}
}

/* 検索中オーバーレイ（キーワード / 画像） */
.search-loading-overlay{
  position:fixed;inset:0;z-index:2000;
  display:flex;align-items:center;justify-content:center;
  background:rgba(255,255,255,.92);
  backdrop-filter:blur(1px)
}
.search-loading-overlay[hidden]{display:none!important}
.search-loading-inner{display:flex;flex-direction:column;align-items:center;gap:14px;padding:24px}
.search-loading-spinner{
  width:36px;height:36px;border-radius:50%;
  border:3px solid rgba(64,169,255,.22);
  border-top-color:#40a9ff;
  animation:search-spin .7s linear infinite
}
.search-loading-text{
  margin:0;font-size:1rem;font-weight:700;letter-spacing:.04em;color:#40a9ff
}
html.is-search-loading,html.is-search-loading body{overflow:hidden}
@keyframes search-spin{to{transform:rotate(360deg)}}
.search-toolbar-right{
  display:flex;flex-direction:column;align-items:flex-end;gap:8px;margin-left:auto
}
.search-sort{display:flex;align-items:center;gap:8px;margin:0;font-size:.86rem;font-weight:700;color:var(--ink-soft)}
.search-sort-label{white-space:nowrap}
.search-sort-select{
  min-width:180px;min-height:40px;padding:0 12px;border:1px solid var(--line);border-radius:10px;
  background:#fff;font:inherit;font-weight:700;color:var(--ink);cursor:pointer
}
.search-kw{display:block;margin-bottom:0;font-size:.92rem}
.search-kw strong{font-weight:800}
.search-query-chip{
  display:flex;align-items:center;gap:12px;margin-bottom:12px
}
.search-query-chip-meta{display:flex;flex-direction:column;gap:2px;min-width:0}
.search-query-chip-hint{margin:0}
.search-query-thumb{
  position:relative;flex:0 0 auto;display:block;width:64px;height:64px;padding:0;
  border:2px solid #e85a2d;border-radius:8px;background:#fff;overflow:hidden;
  cursor:zoom-in;box-shadow:var(--shadow-sm)
}
.search-query-thumb img{
  display:block;width:100%;height:100%;object-fit:cover
}
.search-query-thumb-check,
.search-query-thumb-badge{
  position:absolute;top:0;right:0;width:18px;height:18px;
  display:flex;align-items:center;justify-content:center;
  background:#e53935;color:#fff;font-size:.75rem;line-height:1
}
.search-query-thumb:hover{opacity:.92;transform:scale(1.03)}
.search-query-thumb--empty{
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;
  width:64px;height:64px;color:var(--muted);font-size:.72rem;font-weight:700;
  cursor:default;border-style:dashed
}
.search-tabs{display:flex;gap:8px;flex-wrap:wrap}
.search-tab{
  display:inline-flex;align-items:center;padding:8px 16px;border-radius:999px;
  border:1px solid var(--line);background:#fff;font-size:.86rem;font-weight:700;color:var(--ink-soft)
}
.search-tab.is-active,.search-tab:hover{background:var(--ink);color:#fff;border-color:var(--ink)}
.search-empty{text-align:center;padding:56px 28px}
.search-empty strong{display:block;font-size:1.15rem;margin-bottom:8px}
.search-pager{display:flex;justify-content:center;align-items:center;gap:16px;margin-top:28px}

.search-layout{
  display:grid;grid-template-columns:248px minmax(0,1fr);gap:22px;align-items:start
}
.search-layout--no-filters{grid-template-columns:minmax(0,1fr)}
.search-filters{
  padding:18px 16px 20px;position:sticky;top:88px;
  border:1px solid rgba(228,232,239,.95);box-shadow:var(--shadow-sm)
}
.search-main{min-width:0}
.search-toolbar{
  display:flex;justify-content:space-between;align-items:flex-end;gap:16px;flex-wrap:wrap;
  margin-bottom:18px;padding-bottom:14px;border-bottom:1px solid var(--line)
}

/* 検索画像ライトボックス */
.search-img-lightbox{
  position:fixed;inset:0;z-index:2100;
  display:flex;align-items:center;justify-content:center;
  padding:24px;background:rgba(15,23,42,.72);
  cursor:zoom-out
}
.search-img-lightbox[hidden]{display:none!important}
.search-img-lightbox-dialog{
  position:relative;max-width:min(920px,96vw);max-height:90vh;cursor:default
}
.search-img-lightbox-dialog img{
  display:block;max-width:100%;max-height:90vh;width:auto;height:auto;
  border-radius:8px;box-shadow:0 16px 48px rgba(0,0,0,.35);background:#fff
}
.search-img-lightbox-close{
  position:absolute;top:-12px;right:-12px;width:36px;height:36px;
  border:0;border-radius:50%;background:#fff;color:#111;font-size:1.25rem;
  line-height:1;cursor:pointer;box-shadow:0 4px 14px rgba(0,0,0,.25)
}
.search-img-lightbox-close:hover{background:#f3f4f6}
html.is-search-lightbox,html.is-search-lightbox body{overflow:hidden}
.filter-group{
  margin:0 0 14px;padding:0 0 14px;
  border-bottom:1px dotted #d8dde6
}
.filter-group:last-of-type,.filter-group-price{border-bottom:0;margin-bottom:8px}
.filter-title{
  font-size:.95rem;font-weight:800;color:var(--ink);margin:0 0 10px;letter-spacing:.01em
}
.filter-opts{display:grid;gap:8px}
.filter-opt{
  display:flex;align-items:center;gap:10px;min-height:28px;
  font-size:.86rem;font-weight:600;color:#7a8494;line-height:1.35;cursor:pointer
}
.filter-opt:hover{color:var(--ink-soft)}
.filter-opt.is-active{color:var(--ink);font-weight:700}
.filter-mark{
  flex:0 0 18px;width:18px;height:18px;border-radius:50%;
  background:#d5dae3;position:relative
}
.filter-mark::after{
  content:"";position:absolute;left:5px;top:4px;width:5px;height:8px;
  border:solid #fff;border-width:0 2px 2px 0;transform:rotate(45deg)
}
.filter-opt.is-active .filter-mark{background:#ff4d2d}
.filter-opt-text{flex:1;min-width:0}
.filter-opt-score{flex-wrap:nowrap}
.filter-stars{display:inline-flex;align-items:center;gap:1px;flex:0 0 auto}
.filter-star{
  width:14px;height:14px;display:inline-block;position:relative;
  background:linear-gradient(90deg,#d8dde6 0 100%);
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.2l2.8 5.67 6.26.91-4.53 4.42 1.07 6.23L12 16.48l-5.6 2.95 1.07-6.23-4.53-4.42 6.26-.91L12 2.2z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.2l2.8 5.67 6.26.91-4.53 4.42 1.07 6.23L12 16.48l-5.6 2.95 1.07-6.23-4.53-4.42 6.26-.91L12 2.2z'/%3E%3C/svg%3E") center / contain no-repeat
}
.filter-star.is-full{background:#ff4d2d}
.filter-star.is-half{background:linear-gradient(90deg,#ff4d2d 0 50%,#d8dde6 50% 100%)}
.filter-star.is-empty{background:#d8dde6}
.filter-score-label{font-weight:700;color:inherit;white-space:nowrap}
.filter-price{display:flex;align-items:center;gap:6px}
.filter-price .form-control{min-height:40px;padding:6px 8px;font-size:.86rem}
.filter-price span{color:var(--muted);font-weight:700}
.filter-note{margin:8px 0 0;font-size:.72rem;color:var(--muted);font-weight:600;line-height:1.4}
.filter-price-btn{width:100%;margin-top:10px;min-height:40px}
.filter-clear{
  display:block;text-align:center;margin-top:8px;padding:10px 8px;
  font-size:.84rem;font-weight:700;color:var(--muted);border:1px dashed var(--line);border-radius:10px
}
.filter-clear:hover{color:var(--blue);border-color:var(--blue)}

.pager{
  display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px;margin-top:28px;padding-top:8px
}
.pager-btn,.pager-num,.pager-go{
  display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:0 12px;
  border:1px solid #ddd;background:#fff;color:var(--ink);font-size:.86rem;font-weight:700;border-radius:4px;line-height:1
}
.pager-num{min-width:36px;padding:0}
.pager-num.is-active{
  background:#e64a19;border-color:#e64a19;color:#fff
}
.pager-btn.is-disabled,.pager-num.is-disabled{
  color:#bbb;background:#fafafa;pointer-events:none;cursor:default
}
.pager-btn:hover:not(.is-disabled),.pager-num:hover:not(.is-active),.pager-go:hover{
  border-color:#c9c9c9;background:#f7f7f7
}
.pager-ellipsis{color:#999;font-weight:700;padding:0 2px}
.pager-jump{display:inline-flex;align-items:center;gap:6px;margin-left:8px;font-size:.86rem;font-weight:700;color:var(--ink-soft)}
.pager-jump input[type=number]{
  width:52px;min-height:36px;border:1px solid #ddd;border-radius:4px;text-align:center;font:inherit;font-weight:700;padding:0 4px
}
.pager-go{cursor:pointer}
.pager-total{margin-left:6px;font-size:.86rem;font-weight:700;color:var(--muted)}

.goods-grid{
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px
}
.goods-card{
  display:flex;flex-direction:column;background:var(--white);border-radius:16px;overflow:hidden;
  border:1px solid rgba(228,232,239,.9);box-shadow:var(--shadow-sm);transition:transform .18s,box-shadow .18s;height:100%
}
.goods-card:hover{transform:translateY(-3px);box-shadow:0 16px 40px rgba(13,26,45,.1)}
.goods-card-img{position:relative;aspect-ratio:1;background:#f0f2f5;overflow:hidden}
.goods-card-media{display:block;width:100%;height:100%;color:inherit;text-decoration:none}
.goods-card-img img,.goods-card-ph{width:100%;height:100%;object-fit:cover;display:block}
.goods-card-ph{background:linear-gradient(135deg,#eef1f6,#e4e8ef)}
.goods-platform{
  display:inline-flex;align-items:center;padding:3px 8px;border-radius:6px;
  background:rgba(13,26,45,.82);color:#ffe7a3;font-size:.68rem;font-weight:800;letter-spacing:.04em
}
.goods-card-img .goods-platform{
  position:absolute;left:10px;top:10px;z-index:1
}
.goods-similar-search{
  position:absolute;left:0;right:0;bottom:0;z-index:2;
  display:flex;align-items:center;justify-content:center;
  min-height:40px;padding:10px 12px;
  background:#f07167;color:#fff;font-size:.86rem;font-weight:800;letter-spacing:.02em;
  text-decoration:none;text-align:center;
  transform:translateY(100%);opacity:0;
  transition:transform .18s ease,opacity .18s ease
}
.goods-card-img:hover .goods-similar-search,
.goods-card:hover .goods-similar-search{
  transform:translateY(0);opacity:1
}
.goods-similar-search:hover{background:#e85a2d;color:#fff}
.goods-platform-lg{position:static;background:var(--ink);padding:4px 10px;font-size:.72rem}
.goods-card-body{display:flex;flex-direction:column;gap:8px;padding:12px 14px 14px;flex:1;color:inherit;text-decoration:none}
.goods-card-title{
  font-size:.88rem;line-height:1.45;font-weight:700;color:var(--ink);
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:2.6em
}
.goods-card-price{display:flex;align-items:baseline;gap:6px;flex-wrap:wrap}
.goods-card-price strong{font-size:1.05rem;font-weight:800;color:#c0392b;letter-spacing:-.02em}
.goods-card-price span{font-size:.82rem;font-weight:700;color:var(--muted)}
.goods-card-meta{
  margin-top:auto;display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap;
  padding-top:8px;border-top:1px solid #f0f2f5;font-size:.72rem;font-weight:700;color:var(--muted)
}

/* ===== Product detail ===== */
.product-page{padding:100px 0 72px}
.product-crumb{display:flex;align-items:center;gap:8px;margin-bottom:18px;font-size:.86rem;font-weight:700;color:var(--muted)}
.product-crumb a:hover{color:var(--blue)}
.product-layout{
  display:grid;grid-template-columns:minmax(360px,.88fr) minmax(0,1.12fr);gap:28px;align-items:start
}
.product-gallery{
  position:sticky;top:88px;
  background:var(--white);border-radius:16px;padding:14px;box-shadow:var(--shadow-sm);border:1px solid var(--line)
}
.product-main-stage{
  position:relative;width:100%;aspect-ratio:1;border-radius:12px;overflow:hidden;background:#f4f6f9
}
.product-main-stage.is-zoomable{cursor:zoom-in}
.product-main-zoom-hint{
  position:absolute;right:10px;bottom:10px;z-index:2;pointer-events:none;
  display:inline-flex;align-items:center;gap:6px;padding:6px 10px;border-radius:999px;
  background:rgba(13,26,45,.72);color:#fff;font-size:.72rem;font-weight:700;
  opacity:0;transform:translateY(4px);transition:opacity .18s ease,transform .18s ease
}
.product-main-stage.is-zoomable:hover .product-main-zoom-hint{opacity:1;transform:translateY(0)}
.product-main-img,.product-main-video{
  width:100%;height:100%;object-fit:contain;display:block;background:#f4f6f9
}
.product-main-img[hidden],.product-main-video[hidden]{display:none!important}
.product-main-video{object-fit:contain;background:#111}
.product-main-ph{background:linear-gradient(135deg,#eef1f6,#e4e8ef);width:100%;height:100%}
.product-thumbs{display:flex;flex-wrap:nowrap;gap:8px;margin-top:12px;overflow-x:auto;padding-bottom:4px}
.product-thumb{
  flex:0 0 68px;width:68px;height:68px;padding:0;border:2px solid var(--line);border-radius:10px;overflow:hidden;background:#fff;cursor:pointer
}
.product-thumb.is-active,.product-thumb:hover{border-color:var(--gold)}
.product-thumb img{width:100%;height:100%;object-fit:cover}
.product-thumb.is-video{
  display:grid;place-items:center;background:linear-gradient(145deg,#2a3344,#0d1a2d);border-color:#2a3344
}
.product-thumb.is-video.is-active{border-color:var(--gold)}
.product-thumb-video-icon{
  width:28px;height:28px;border-radius:50%;background:rgba(255,255,255,.92);color:#0d1a2d;
  display:grid;place-items:center;font-size:.7rem;font-weight:800;padding-left:2px
}
.product-info-head{display:flex;align-items:center;gap:12px;margin-bottom:10px}
.product-offer{font-size:.82rem;font-weight:700}
.product-title{
  font-size:clamp(1.2rem,2vw,1.55rem);line-height:1.4;letter-spacing:-.02em;margin:0 0 6px;font-weight:800
}
.product-title-zh{margin:0 0 12px;font-size:.88rem;line-height:1.5}
.product-stats{
  display:flex;flex-wrap:wrap;align-items:center;gap:14px 18px;margin:0 0 16px;
  font-size:.86rem;font-weight:700;color:var(--ink-soft)
}
.product-stats strong{color:var(--ink);font-weight:800}
.product-stars{display:inline-flex;align-items:center;gap:2px;color:#d0d5dd}
.product-stars .star{font-size:.95rem;line-height:1}
.product-stars .star.is-on{color:var(--gold-deep)}
.product-stars em{margin-left:6px;font-style:normal;color:var(--muted);font-weight:700;font-size:.8rem}
.product-price-box{
  background:linear-gradient(135deg,#fff8e8,#fff);border:1px solid #f0e0b0;border-radius:14px;
  padding:16px 18px;margin-bottom:16px
}
.product-price-grid{display:grid;grid-template-columns:1fr auto;gap:18px;align-items:end}
.product-price-label{font-size:.78rem;font-weight:800;color:var(--muted);margin-bottom:4px;letter-spacing:.04em}
.product-price-main{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap}
.product-price-main strong{font-size:1.7rem;font-weight:800;color:#c0392b;letter-spacing:-.03em;line-height:1.1}
.product-price-main span{font-size:1rem;font-weight:700;color:var(--ink-soft)}
.product-moq{font-size:1.35rem;font-weight:800;color:var(--ink);line-height:1.1}
.product-rate{margin-top:8px;font-size:.8rem;font-weight:600}
.product-freight{margin-top:6px;font-size:.82rem}
.product-shop{margin:6px 0 0;font-size:.88rem}
.product-meta-list{display:grid;gap:8px;margin:0 0 16px}
.product-meta-list > div{display:grid;grid-template-columns:88px minmax(0,1fr);gap:10px;font-size:.88rem}
.product-meta-list dt{margin:0;color:var(--muted);font-weight:700}
.product-meta-list dd{margin:0;font-weight:700}
.product-meta-list a{color:var(--blue);font-weight:800}
.product-login-cta{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-bottom:14px}
.product-login-cta p{flex:1 1 100%;margin:0}
.product-buy{display:grid;gap:12px}
.product-sku-panel{padding:0;overflow:hidden}
.product-sku-head{
  display:flex;align-items:baseline;gap:10px;padding:12px 16px;border-bottom:1px solid var(--line);
  font-weight:800;font-size:.92rem;background:#fafbfc
}
.product-sku-head .muted{font-weight:600;font-size:.8rem}
.product-sku-list{max-height:340px;overflow:auto}
.product-sku-list--preview{max-height:220px}
.product-sku-row{
  display:grid;grid-template-columns:44px minmax(0,1.4fr) minmax(90px,.7fr) minmax(88px,.55fr) auto;
  gap:10px;align-items:center;padding:10px 14px;border-bottom:1px solid #f0f2f5;font-size:.86rem
}
.product-sku-row.is-saved{background:rgba(46,125,50,.04)}
.product-sku-saved-tag{
  display:inline-block;margin-left:6px;padding:1px 6px;border-radius:4px;font-size:.68rem;font-weight:700;
  color:#2e7d32;background:#e8f5e9;vertical-align:middle
}
.product-sku-list--preview .product-sku-row{grid-template-columns:44px minmax(0,1.4fr) minmax(90px,.7fr) minmax(88px,.55fr)}
.product-sku-row:last-child{border-bottom:0}
.product-cart-added-panel{text-align:center;max-width:420px}
.product-cart-added-panel .gs-dialog-body{text-align:center}
.product-cart-added-actions{justify-content:center}
.product-cart-added-actions .btn{min-width:140px}
.gs-dialog-icon.is-success{background:rgba(34,139,84,.12);color:#228b54}
.gs-dialog-icon svg{display:block}
.product-sku-thumb,.product-sku-thumb-btn{
  width:40px;height:40px;border-radius:8px;object-fit:cover;background:#f0f2f5;border:1px solid var(--line);padding:0;overflow:hidden
}
.product-sku-thumb--empty{display:block;border-style:dashed}
.product-sku-thumb-btn{cursor:pointer;display:block}
.product-sku-thumb-btn:hover,.product-sku-thumb-btn:focus-visible{border-color:var(--gold);outline:none}
.product-sku-thumb-btn.is-active{border-color:var(--gold);box-shadow:0 0 0 1px var(--gold)}
.product-sku-thumb-btn img{width:100%;height:100%;object-fit:cover}
.product-sku-name{font-weight:700;line-height:1.35;color:var(--blue-deep)}
.product-sku-price{display:flex;flex-direction:column;gap:1px;line-height:1.25}
.product-sku-price strong{color:#c0392b;font-weight:800}
.product-sku-price span{font-size:.75rem;font-weight:700;color:var(--muted)}
.product-sku-stock{font-size:.75rem;font-weight:700;white-space:nowrap}
.qty-stepper-sm .qty-btn{width:34px;min-height:36px;font-size:.95rem}
.qty-stepper-sm .form-control{min-width:52px;min-height:36px;padding:0 4px;font-size:.86rem}
.product-total-bar{
  display:flex;flex-wrap:wrap;justify-content:space-between;gap:10px;align-items:center;
  padding:12px 16px;background:#f7f9fc;border:1px solid var(--line);border-radius:12px;font-weight:700;font-size:.9rem
}
.product-total-bar strong{color:#c0392b;font-weight:800}
.product-actions{display:flex;flex-wrap:wrap;gap:10px}
.product-actions--triple{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:4px
}
.product-btn-order,.product-btn-cart,.product-btn-sku{
  display:inline-flex;align-items:center;justify-content:center;
  min-height:48px;padding:0 14px;border-radius:6px;font-size:.95rem;font-weight:800;
  text-align:center;line-height:1.25;cursor:pointer;text-decoration:none;border:1px solid transparent
}
.product-btn-order,.product-btn-cart{
  background:#e85a2d;border-color:#e85a2d;color:#fff
}
.product-btn-order:hover,.product-btn-cart:hover{
  background:#d44e24;border-color:#d44e24;color:#fff
}
.product-btn-sku{
  background:#fff;border-color:#2a3340;color:var(--ink)
}
.product-btn-sku:hover{background:#f4f6f9;color:var(--ink)}
.product-disclaimer{
  margin:14px 0 0;font-size:.78rem;line-height:1.65;color:var(--muted);font-weight:600
}
.product-actions .product-add-btn{flex:1 1 220px;min-height:52px;font-size:1rem}
.product-actions .btn-ghost{min-height:52px}
@media (max-width:720px){
  .product-actions--triple{grid-template-columns:1fr}
}
.product-buy-row{margin-bottom:0;max-width:280px;padding:16px}
.qty-stepper{display:flex;align-items:center;gap:0}
.qty-stepper .form-control{border-radius:0;text-align:center;min-width:72px}
.qty-btn{
  width:44px;min-height:48px;border:1px solid var(--line);background:#f7f9fc;font-size:1.1rem;font-weight:800;cursor:pointer
}
.qty-btn:first-child{border-radius:12px 0 0 12px}
.qty-btn:last-child{border-radius:0 12px 12px 0}
.product-fba{margin:0;border:1px solid var(--line);border-radius:12px;padding:12px 14px;background:var(--white)}
.product-fba summary{cursor:pointer;font-weight:800;font-size:.9rem;color:var(--ink-soft)}
.product-fba-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:12px}
.product-fba-full{grid-column:1 / -1}
.product-add-btn{width:100%;min-height:52px;font-size:1rem}
.btn-lg{min-height:52px;padding:0 22px;font-size:1rem}
.product-note{font-size:.86rem;color:var(--muted);margin:0 0 12px;font-weight:600}

.product-relate{
  margin-top:32px;background:var(--white);border:1px solid var(--line);border-radius:16px;
  box-shadow:var(--shadow-sm);overflow:hidden
}
.product-relate-tabs{display:flex;gap:0;border-bottom:1px solid var(--line);background:#fafbfc}
.product-relate-tab{
  appearance:none;border:0;background:transparent;padding:14px 20px;font-weight:800;font-size:.92rem;
  color:var(--muted);cursor:pointer;border-bottom:3px solid transparent;margin-bottom:-1px
}
.product-relate-tab.is-active{color:#fff;background:#c9a227;border-bottom-color:#c9a227}
.product-relate-panel{padding:16px 12px 20px}
.product-relate-empty{margin:12px 16px;font-weight:600}
.product-relate-rail{display:grid;grid-template-columns:36px minmax(0,1fr) 36px;gap:6px;align-items:center}
.relate-nav{
  width:36px;height:36px;border-radius:50%;border:1px solid var(--line);background:#fff;
  font-size:1.35rem;font-weight:700;line-height:1;cursor:pointer;color:var(--ink-soft)
}
.relate-nav:hover{border-color:var(--gold);color:var(--ink)}
.product-relate-track{
  display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;padding:4px 2px 8px;
  -webkit-overflow-scrolling:touch;scrollbar-width:thin
}
.relate-card{
  flex:0 0 168px;scroll-snap-align:start;border:1px solid var(--line);border-radius:12px;
  overflow:hidden;background:#fff;display:flex;flex-direction:column;min-height:100%
}
.relate-card:hover{border-color:var(--gold);box-shadow:var(--shadow-sm)}
.relate-card-img{aspect-ratio:1;background:#f4f6f9;overflow:hidden}
.relate-card-img img,.relate-card-ph{width:100%;height:100%;object-fit:cover;display:block}
.relate-card-ph{background:linear-gradient(135deg,#eef1f6,#e4e8ef)}
.relate-card-body{padding:10px;display:flex;flex-direction:column;gap:6px;flex:1}
.relate-card-title{
  font-size:.78rem;font-weight:700;line-height:1.4;color:var(--ink-soft);
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:2.8em
}
.relate-card-title .goods-platform{
  position:static;display:inline;margin-right:4px;vertical-align:middle;
  padding:1px 6px;font-size:.62rem;border-radius:4px;color:#ffe7a3
}
.relate-card-price{display:flex;align-items:baseline;gap:4px;flex-wrap:wrap}
.relate-card-price strong{font-size:.95rem;font-weight:800;color:#c0392b}
.relate-card-price span{font-size:.75rem;font-weight:700;color:var(--muted)}
.relate-card-meta{font-size:.72rem;font-weight:700;color:var(--muted);margin-top:auto}

.product-section{
  margin-top:24px;background:var(--white);border:1px solid var(--line);border-radius:16px;
  box-shadow:var(--shadow-sm);padding:18px 22px 22px
}
.product-section-title{
  display:flex;align-items:center;gap:10px;font-size:1.05rem;font-weight:800;margin:0 0 14px;color:var(--ink)
}
.product-section-bar{
  width:4px;height:1.1em;border-radius:2px;background:var(--gold);flex-shrink:0
}
.product-attr-wrap{position:relative}
.product-attr-wrap.is-collapsed .product-attr-grid{
  max-height:210px;overflow:hidden
}
.product-attr-grid{
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;
  border-top:1px solid var(--line);border-left:1px solid var(--line)
}
.product-attr-item{
  display:grid;grid-template-columns:38% 62%;border-right:1px solid var(--line);border-bottom:1px solid var(--line);
  font-size:.84rem;min-height:42px
}
.product-attr-k{padding:10px 12px;background:#f7f9fc;color:var(--muted);font-weight:700}
.product-attr-v{padding:10px 12px;font-weight:700;word-break:break-word}
.product-attr-toggle{
  display:flex;align-items:center;justify-content:center;width:100%;margin-top:8px;padding:8px;
  border:0;background:transparent;cursor:pointer;color:var(--muted)
}
.product-attr-toggle:hover{color:var(--ink)}
.product-attr-wrap.is-expanded .product-attr-toggle svg{transform:rotate(180deg)}
.product-attr-toggle svg{transition:transform .2s ease}
.product-desc{font-size:.92rem;line-height:1.7;overflow:hidden}
.product-desc img{max-width:100%;height:auto;margin:8px auto;display:block}
.product-desc table{width:100%;border-collapse:collapse;margin:12px 0}
.product-desc td,.product-desc th{border:1px solid var(--line);padding:8px;font-size:.86rem}

@media (max-width:1100px){
  .product-layout{grid-template-columns:1fr}
  .product-gallery{position:static}
  .product-attr-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .product-sku-row{grid-template-columns:40px minmax(0,1fr) auto;gap:8px}
  .product-sku-price,.product-sku-stock{grid-column:2}
  .product-sku-row .qty-stepper{grid-column:1 / -1;justify-self:start}
  .relate-card{flex-basis:148px}
}
.page-section{padding:120px 0 80px}
.page-section h1{font-size:clamp(1.8rem,3vw,2.4rem);margin-bottom:12px}
.hero-search{display:flex;gap:10px;max-width:640px;margin-top:8px}
.hero-search .form-control{border-radius:999px;padding:0 18px}
.hero-search .btn{border-radius:999px;white-space:nowrap}
.table{width:100%;border-collapse:collapse}
.table th,.table td{padding:10px 8px;border-bottom:1px solid var(--line);text-align:left;vertical-align:middle;font-size:.92rem}
.table th{color:var(--muted);font-size:.8rem;font-weight:800}
.member-body .site-header{position:relative}

/* Member center */
.member-body{background:#f3f4f7;min-height:100vh;display:flex;flex-direction:column}
.member-top{
  background:#fff;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:20
}
.member-top-inner{
  width:var(--container);margin-inline:auto;
  min-height:64px;display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:nowrap
}
.member-top-left{
  display:flex;align-items:center;gap:16px;flex:1 1 auto;min-width:0
}
.member-top .brand{font-size:.92rem}
.member-search{flex:1 1 auto;display:flex;align-items:center;gap:8px;max-width:420px;min-width:0}
.member-search input{
  flex:1;min-width:0;min-height:40px;height:40px;border:1px solid var(--line);border-radius:999px;padding:0 16px;font:inherit
}
.member-top .btn-sm{min-height:40px;height:40px;padding:0 16px}
.member-top-meta{display:flex;align-items:center;gap:10px;flex-shrink:0;margin-left:0}
.member-logout{display:flex;margin:0}
.member-rate{
  font-size:.8rem;font-weight:700;color:var(--ink-soft);white-space:nowrap;
  background:#f4f6f9;border-radius:999px;padding:8px 12px;line-height:1
}
.member-user{
  font-size:.88rem;font-weight:800;white-space:nowrap;max-width:120px;overflow:hidden;text-overflow:ellipsis
}
.member-top-meta .header-nav-btn{flex-shrink:0}
.member-side-toggle{
  flex:0 0 auto;width:40px;height:40px;padding:0;border-radius:10px;
  border:1px solid var(--line);background:#fff;color:var(--ink-soft);
  display:inline-grid;place-items:center;cursor:pointer;transition:background .15s,border-color .15s,color .15s
}
.member-side-toggle:hover{
  background:#f3f6fa;border-color:#c9d7ef;color:var(--ink)
}
.member-side-toggle:focus-visible{outline:3px solid rgba(44,123,229,.28);outline-offset:1px}
.member-side-toggle-ico{display:block}
.member-side-head{
  display:flex;align-items:center;justify-content:space-between;gap:8px;
  padding:4px 10px 8px 18px;border-bottom:1px solid #f0f2f5;margin-bottom:2px;flex-shrink:0
}
.member-side-head-label{
  font-size:.68rem;font-weight:800;letter-spacing:.1em;color:#8a93a3;text-transform:uppercase
}
.member-side-toggle--rail{
  width:32px;height:32px;border-radius:8px
}
.member-shell{
  width:var(--container);margin:24px auto 28px;
  display:grid;grid-template-columns:240px minmax(0,1fr);gap:24px;padding:0;align-items:start;flex:1;
  transition:grid-template-columns .2s ease
}
.member-shell.is-side-collapsed{
  grid-template-columns:minmax(0,1fr);
  gap:0
}
.member-shell.is-side-collapsed .member-side{display:none}
.member-side{
  background:#fff;border-radius:16px;box-shadow:var(--shadow-sm);padding:10px 0 16px;
  position:sticky;top:80px;max-height:calc(100vh - 108px);overflow:hidden;display:flex;flex-direction:column
}
.m-nav{overflow-y:auto;overflow-x:hidden;padding-right:2px}
.m-nav::-webkit-scrollbar{width:6px}
.m-nav::-webkit-scrollbar-thumb{background:#d5dbe6;border-radius:999px}
.m-nav::-webkit-scrollbar-track{background:transparent}
.member-footer{
  margin-top:auto;background:#fff;border-top:1px solid var(--line)
}
.member-footer-inner{
  width:var(--container);margin-inline:auto;
  display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;
  padding:16px 0;color:var(--muted);font-size:.78rem;font-weight:700
}
.m-nav-group{padding:8px 0 6px;border-bottom:1px solid #f0f2f5}
.m-nav-group:last-child{border-bottom:0}
.m-nav-title{
  font-size:.68rem;font-weight:800;letter-spacing:.1em;color:#8a93a3;
  padding:8px 18px 6px;text-transform:uppercase
}
.m-nav a{
  display:flex;align-items:center;gap:8px;padding:8px 18px;font-weight:700;font-size:.9rem;color:#334155;border-left:3px solid transparent
}
.m-nav a:hover{background:#f7f9fc;color:var(--blue)}
.m-nav a.is-active{background:#eef4ff;color:var(--blue-deep);border-left-color:var(--blue)}
.m-nav-badge{
  margin-left:auto;min-width:18px;height:18px;padding:0 5px;border-radius:999px;
  background:#e74c3c;color:#fff;font-size:.68rem;font-weight:800;
  display:inline-grid;place-items:center;line-height:1
}
.m-nav-badge[hidden]{display:none!important}
.member-main{min-width:0}
.member-main > h1,.m-hero h1{
  font-size:clamp(1.7rem,3vw,2.35rem);letter-spacing:-.04em;line-height:1.2;margin:0 0 8px;font-weight:800
}
.m-page-head h1{
  font-size:clamp(1.35rem,2.2vw,1.75rem);letter-spacing:-.03em;line-height:1.25;margin:0 0 4px;font-weight:800
}
.member-main > .h4,.member-main h1.h4{
  font-size:clamp(1.35rem,2.2vw,1.75rem);letter-spacing:-.03em;font-weight:800
}
.m-page-head{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;margin-bottom:16px}
.m-hero{
  background:#fff;border-radius:20px;padding:28px 28px 24px;box-shadow:var(--shadow-sm);margin-bottom:18px
}
.m-hero p{margin:0;color:var(--muted);font-weight:700}
.m-stat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-bottom:18px}
.m-stat-grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.m-stat{
  background:#fff;border-radius:16px;padding:16px 18px;box-shadow:var(--shadow-sm);display:block
}
.m-stat span{display:block;color:var(--muted);font-size:.8rem;font-weight:700}
.m-stat strong{display:block;font-size:1.45rem;margin:4px 0 2px;letter-spacing:-.03em;line-height:1.2}
.m-stat em{font-style:normal;color:var(--blue);font-weight:800;font-size:.82rem}
.m-balance-bar{
  display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;
  background:#fff;border-radius:16px;padding:16px 20px;box-shadow:var(--shadow-sm);margin-bottom:18px
}
.m-balance-bar span{display:block;color:var(--muted);font-size:.8rem;font-weight:700}
.m-balance-bar strong{display:block;font-size:1.6rem;letter-spacing:-.03em;line-height:1.2;margin-top:2px}
.m-balance-bar p{margin:0;max-width:420px;color:var(--muted);font-size:.86rem;font-weight:600;line-height:1.55}
.m-wallet-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;align-items:start}
.m-wallet-side{display:grid;gap:16px}
.payee-list{display:grid;gap:10px;margin-bottom:16px}
.payee-box{
  background:#f7f9fc;border:1px solid var(--line);border-radius:12px;padding:12px 14px
}
.payee-box strong{display:block;margin-bottom:6px;font-size:.92rem}
.payee-info{font-size:.82rem;color:var(--ink-soft);line-height:1.6;white-space:pre-wrap}
.table-empty{text-align:center;padding:28px 8px !important}
.m-card-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px}
.m-card-head h2,.m-h{font-size:1.05rem;margin:0 0 12px;font-weight:800}
.m-card-head a{font-weight:800;color:var(--blue);font-size:.88rem}
.sku-search{display:flex;gap:10px;align-items:center}
.sku-search .form-control{flex:1}
.table-scroll{overflow:auto}
.sku-thumb{width:48px;height:48px;object-fit:cover;border-radius:6px;background:#eee;display:block}
.sku-thumb-btn{
  display:inline-block;padding:0;border:0;background:transparent;cursor:zoom-in;border-radius:6px;line-height:0
}
.sku-thumb-btn:hover .sku-thumb,.sku-thumb-btn:focus-visible .sku-thumb{
  outline:2px solid var(--gold);outline-offset:1px
}
.order-item-thumb{
  flex-shrink:0;line-height:0;cursor:zoom-in;border-radius:4px;overflow:hidden;background:#eee;padding:0;border:0
}
.order-item-thumb img{width:48px;height:48px;object-fit:cover;display:block}
.order-item-thumb:hover img,.order-item-thumb:focus-visible img{
  outline:2px solid var(--gold);outline-offset:1px
}
.sku-table{
  table-layout:fixed;
  width:100%;
  min-width:0;
  border-collapse:separate;
  border-spacing:0;
}
.sku-table th,.sku-table td{
  vertical-align:middle;
  border-bottom:0 !important;
  padding:10px 6px;
  background-clip:padding-box;
}
.sku-table thead th{
  white-space:nowrap;
  font-size:.75rem;
  font-weight:700;
  color:var(--muted);
  border-bottom:1px solid var(--line) !important;
  padding-top:8px;
  padding-bottom:8px;
}
.sku-table tbody tr{
  box-shadow:inset 0 -1px 0 var(--line);
}
.sku-table tbody tr:hover td{background:#fafbfc}
.sku-col-check{width:34px}
.sku-col-no{width:32px}
.sku-col-img{width:52px}
.sku-col-main{width:18%}
.sku-col-spec{width:12%}
.sku-col-asin{width:9%}
.sku-col-fn{width:10%}
.sku-col-bc{width:12%}
.sku-col-price{width:72px}
.sku-col-link{width:56px}
.sku-col-act{width:84px}
.sku-td-center{text-align:center}
.sku-td-mono{
  font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
  font-size:.74rem;letter-spacing:.01em;word-break:break-all;line-height:1.35
}
.sku-td-price{text-align:right;white-space:nowrap}
.sku-price-cny{font-weight:700;font-size:.84rem;line-height:1.2}
.sku-price-jpy{font-size:.72rem;color:var(--muted);margin-top:2px}
.sku-cell-main{min-width:0}
.sku-code{font-weight:800;font-size:.86rem;line-height:1.25;word-break:break-all}
.sku-cell-title{
  margin-top:4px;font-size:.74rem;color:var(--ink-soft);line-height:1.35;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%
}
.sku-cell-note{
  margin-top:3px;font-size:.7rem;color:var(--muted);
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap
}
.sku-cell-spec{
  font-size:.78rem;line-height:1.4;
  white-space:normal;word-break:break-word;overflow-wrap:anywhere;
  vertical-align:top;min-width:0
}
.sku-cell-bc{line-height:0}
.sku-table .sku-bc-thumb{
  display:inline-flex;align-items:center;justify-content:center;
  max-width:100%;border:0 !important;padding:0;background:transparent;border-radius:0;cursor:zoom-in
}
.sku-table .sku-bc-thumb img{
  max-width:100%;height:28px;width:auto;display:block;
  image-rendering:crisp-edges;image-rendering:pixelated;background:#fff
}
.checkout-bc-preview img,.sku-bc-preview img,.sku-bc-thumb img{
  display:block;height:40px;width:auto;max-width:260px;
  image-rendering:crisp-edges;image-rendering:pixelated;background:#fff
}
.sku-bc-lightbox-svg{
  background:#fff;padding:16px 20px;border:1px solid #e5e7eb;border-radius:8px
}
.sku-bc-lightbox-svg img{
  width:100%;height:auto;max-height:140px;
  image-rendering:crisp-edges;image-rendering:pixelated
}
.sku-link-btn{
  display:inline-block;padding:3px 8px;border:1px solid var(--line);border-radius:6px;
  font-size:.75rem;font-weight:700;color:var(--blue);text-decoration:none;background:#fff
}
.sku-link-btn:hover{border-color:var(--blue);background:#f5f8ff}
.sku-td-act{white-space:nowrap;text-align:right}
.sku-act-edit{font-size:.82rem;font-weight:700;color:var(--blue);margin-right:10px;text-decoration:none}
.sku-act-edit:hover{text-decoration:underline}
.sku-act-del{
  border:0;background:transparent;padding:0;font-size:.82rem;font-weight:700;
  color:#c62828;cursor:pointer
}
.sku-act-del:hover{text-decoration:underline}

/* 閲覧履歴 */
.browse-page{width:100%;max-width:100%}
.browse-head{
  display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:18px
}
.browse-head h1{
  margin:0;font-size:clamp(1.5rem,2.5vw,1.9rem);font-weight:800;letter-spacing:-.03em;line-height:1.25
}
.browse-empty{padding:28px}
.browse-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:12px}
.browse-item{
  display:flex;align-items:center;gap:16px;
  background:#fff;border:1px solid rgba(228,232,239,.95);border-radius:16px;
  padding:14px 16px;box-shadow:var(--shadow-sm);min-width:0
}
.browse-thumb{
  flex:0 0 88px;width:88px;height:88px;border-radius:12px;overflow:hidden;background:#eef1f5
}
.browse-thumb img,.browse-thumb-ph{display:block;width:100%;height:100%;object-fit:cover}
.browse-thumb-ph{background:linear-gradient(135deg,#eef1f6,#e4e8ef)}
.browse-body{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:6px;justify-content:center}
.browse-meta{display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:.78rem;font-weight:700;color:var(--muted)}
.browse-platform{
  display:inline-flex;align-items:center;padding:2px 8px;border-radius:6px;
  background:var(--ink);color:#ffe7a3;font-size:.68rem;letter-spacing:.04em
}
.browse-title{
  font-size:.95rem;font-weight:800;line-height:1.45;color:var(--ink);
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;word-break:break-word
}
.browse-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:2px}
.browse-actions form{display:inline-flex;margin:0}
.browse-del{color:#b42318!important;border-color:#f0c4c0}
.browse-del:hover{background:#fdeceb;color:#912018!important}
.browse-toolbar{
  display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-bottom:12px;padding:0 2px
}
.browse-select-all{display:inline-flex;align-items:center;gap:8px;font-size:.88rem;font-weight:700;cursor:pointer;margin:0}
.browse-select-all input{width:16px;height:16px;cursor:pointer}
.browse-count{margin-left:auto}
.browse-item-check{
  flex:0 0 auto;display:flex;align-items:center;padding:0 4px 0 0
}
.browse-item-check input{width:16px;height:16px;cursor:pointer}
.browse-item-del{flex:0 0 auto;margin:0;display:flex;align-items:center}
.browse-pager-wrap{
  display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-top:20px
}
.browse-pager{margin-top:0;flex:1 1 auto;justify-content:flex-end}
.browse-pager-single{font-size:.86rem;font-weight:700;color:var(--muted);margin-left:auto}
.browse-per-page{display:inline-flex;align-items:center;gap:8px;flex:0 0 auto}
.browse-per-page-label{font-size:.86rem;font-weight:700;color:var(--ink-soft);margin:0}
.browse-per-page-select{
  min-width:88px;padding:8px 12px;border-radius:10px;border:1px solid rgba(228,232,239,.95);
  background:#fff;font-size:.86rem;font-weight:700;color:var(--ink);cursor:pointer
}
.browse-per-page-select:focus{outline:2px solid rgba(255,107,53,.35);outline-offset:1px}

/* 会員フォーム共通（プロフィール / 住所） */
.m-form-page{max-width:720px;display:flex;flex-direction:column;gap:20px}
.m-form-page--wide{max-width:860px}
.m-form-card{padding:24px 26px 26px;margin:0}
.m-form-section-title{
  margin:0 0 14px;font-size:1.05rem;font-weight:800;letter-spacing:-.02em;display:flex;align-items:center;gap:8px
}
.m-optional{
  font-size:.72rem;font-weight:800;color:var(--muted);background:#f1f4f8;
  border-radius:999px;padding:3px 8px;letter-spacing:.02em
}
.m-form-section-lead{margin:-6px 0 14px;font-size:.86rem;font-weight:600}
.m-form-grid{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 16px
}
.m-field{min-width:0}
.m-field--full{grid-column:1 / -1}
.m-field--sm{max-width:100%}
.m-field .form-label{margin-bottom:6px}
.m-field .req{color:#c0392b;font-weight:800}
.m-field-hint{margin:6px 0 0;font-size:.78rem;color:var(--muted);font-weight:600}
.m-readonly-pill{
  display:inline-flex;align-items:center;min-height:44px;padding:0 14px;
  border-radius:10px;background:#f4f6f9;border:1px solid var(--line);
  font-weight:800;color:var(--ink-soft)
}
.m-form-divider{height:1px;background:var(--line);margin:22px 0 18px}
.m-form-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:20px}
.m-check{
  display:inline-flex;align-items:center;gap:8px;margin-top:16px;
  font-weight:700;font-size:.9rem;cursor:pointer;user-select:none
}
.m-check input{width:16px;height:16px}

.addr-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:12px}
.addr-card{
  display:flex;align-items:flex-start;justify-content:space-between;gap:16px;
  padding:14px 16px;border:1px solid var(--line);border-radius:14px;background:#fafbfc
}
.addr-card.is-default{border-color:#c9dbf7;background:#f5f9ff}
.addr-card-main{min-width:0;flex:1}
.addr-card-top{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:4px}
.addr-name{font-size:1rem;font-weight:800}
.addr-badge{
  font-size:.68rem;font-weight:800;padding:2px 8px;border-radius:999px;
  background:var(--blue);color:#fff
}
.addr-label{
  font-size:.72rem;font-weight:700;padding:2px 8px;border-radius:999px;
  background:#eef1f5;color:var(--ink-soft)
}
.addr-phone{font-size:.84rem;font-weight:700;color:var(--muted);margin-bottom:4px}
.addr-line{font-size:.9rem;font-weight:600;line-height:1.5;color:var(--ink);word-break:break-word}
.addr-card-actions{display:flex;align-items:center;gap:8px;flex-shrink:0}
.addr-card-actions form{margin:0;display:inline-flex}
.addr-del{color:#b42318!important;border-color:#f0c4c0}
.addr-del:hover{background:#fdeceb;color:#912018!important}

@media (max-width:720px){
  .m-form-grid{grid-template-columns:1fr}
  .addr-card{flex-direction:column}
}


.nowrap{white-space:nowrap}
.member-side .side-card{display:none}
/* TEMP PC-only: mobile breakpoints disabled
@media (max-width:1100px){
  .member-user{max-width:80px}
}
@media (max-width:980px){
  .member-shell{grid-template-columns:1fr;margin-top:16px}
  .member-side{position:static;max-height:none}
  .member-top-inner{flex-wrap:wrap;padding:10px 0;gap:10px}
  .member-top-left{flex:1 1 100%;order:1}
  .member-search{max-width:none;flex:1 1 auto}
  .member-top-meta{order:2;width:100%;justify-content:flex-end}
  .m-stat-grid,.m-stat-grid-2,.m-wallet-grid{grid-template-columns:1fr}
  .member-rate{display:none}
  .member-footer-inner{justify-content:center;text-align:center}
}
*/
.badge{display:inline-block;padding:.25rem .6rem;border-radius:999px;font-size:.75rem;font-weight:800}
.text-bg-secondary{background:var(--ink-soft);color:#fff}
.text-bg-primary{background:var(--blue);color:#fff}
.btn-sm{min-height:38px;padding:0 14px;font-size:.86rem}
.btn-link{background:none;border:0;color:var(--blue);padding:0;min-height:auto;font-weight:700;cursor:pointer}
.text-danger{color:#b42318}
.g-2{gap:.5rem}.g-3{gap:1rem}.g-4{gap:1.5rem}
.align-items-end{align-items:flex-end}.align-items-center{align-items:center}
.justify-content-between{justify-content:space-between}
.fs-3{font-size:1.75rem}.fs-4{font-size:1.35rem}.fw-bold{font-weight:800}
.small,.text-muted,.muted{color:var(--muted)}
.rounded-4{border-radius:20px}

.btn-outline-secondary,.btn-ghost.w-100{width:100%}
.form-control-sm,.form-select-sm{min-height:38px;font-size:.88rem}
.input-group{display:flex;gap:8px}
.table-sm th,.table-sm td{padding:8px 6px;font-size:.86rem}

/* ページ上部へ（コンテンツが1画面を超えるとき） */
.back-to-top{
  position:fixed;right:22px;bottom:28px;z-index:1900;
  width:48px;height:48px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  background:#e85a2d;color:#fff;text-decoration:none;
  box-shadow:0 8px 24px rgba(15,23,42,.22);
  opacity:0;visibility:hidden;pointer-events:none;
  transform:translateY(10px);transition:opacity .2s ease,visibility .2s ease,transform .2s ease,background .15s ease
}
.back-to-top.is-visible{
  opacity:1;visibility:visible;pointer-events:auto;transform:translateY(0)
}
.back-to-top:hover{background:#d44e24;color:#fff}
.back-to-top[hidden]{display:none!important}

/* カート・注文フロー */
.cart-page{
  padding:calc(var(--site-header-h) + 28px) 0 48px;
  position:relative;
  z-index:1;
}
.cart-steps{
  display:flex;align-items:stretch;gap:0;margin-bottom:24px;
  border-radius:14px;overflow:hidden;border:1px solid var(--line);background:#fff
}
.cart-steps--triple .cart-step{flex:1}
.cart-step{
  flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;
  padding:14px 12px;text-align:center;color:var(--muted);font-weight:700;position:relative
}
.cart-step + .cart-step{border-left:1px solid var(--line)}
.cart-step.is-active{background:linear-gradient(180deg,#fff7f0,#fff);color:var(--ink)}
.cart-step.is-done{background:#f7f9fc;color:var(--blue)}
a.cart-step{text-decoration:none}
.cart-step-num{font-size:.72rem;font-weight:800;letter-spacing:.06em;color:var(--blue)}
.cart-step.is-active .cart-step-num{color:#e85a2d}
.cart-step-label{font-size:.88rem;font-weight:800}
.cart-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:16px}
.cart-head h1,.cart-checkout-title{margin:6px 0 0;font-size:clamp(1.5rem,2.5vw,2rem);font-weight:800;letter-spacing:-.03em}
.cart-head--checkout{margin-bottom:18px}
.cart-rate{margin:0;font-size:.84rem;font-weight:700;color:var(--muted)}
.cart-tab{margin-bottom:0}
.cart-tab-label{
  display:inline-flex;align-items:center;padding:10px 18px 8px;
  border:1px solid var(--line);border-bottom:0;border-radius:14px 14px 0 0;
  background:#fff;font-weight:800;font-size:.9rem;color:var(--blue)
}
.cart-table-wrap{border-radius:0 16px 16px 16px;padding:0;overflow:hidden}
.cart-table-head,.cart-row{
  display:grid;
  grid-template-columns:42px minmax(0,1fr) 96px 108px 96px 88px;
  grid-template-areas:"check product price qty sub act";
  gap:10px 14px;align-items:start;padding:14px 18px
}
.cart-row{grid-template-areas:"check product price qty sub act" ". meta meta meta meta meta"}
.cart-table-head{align-items:center}
.checkout-table-head,.cart-row--readonly{
  grid-template-columns:42px minmax(0,1fr) 72px 96px 96px;
  grid-template-areas:"no product qty price sub"
}
.cart-row--readonly .cart-col-no{grid-area:no;font-weight:800;color:var(--muted);padding-top:34px;text-align:center}
.cart-row--readonly .cart-col-product{grid-area:product}
.cart-row--readonly .cart-col-qty{grid-area:qty;padding-top:34px;text-align:center}
.cart-row--readonly .cart-col-price{grid-area:price;padding-top:34px}
.cart-row--readonly .cart-col-sub{grid-area:sub;padding-top:34px}
.checkout-table-head .cart-col-no{grid-area:no;text-align:center}
.checkout-table-head .cart-col-product{grid-area:product}
.checkout-table-head .cart-col-qty{grid-area:qty;text-align:center}
.checkout-table-head .cart-col-price{grid-area:price;text-align:center}
.checkout-table-head .cart-col-sub{grid-area:sub;text-align:center}
.cart-table-head{
  background:#f7f9fc;border-bottom:1px solid var(--line);
  font-size:.78rem;font-weight:800;color:var(--muted)
}
.cart-table-head .cart-col-check{grid-area:check}
.cart-table-head .cart-col-product{grid-area:product}
.cart-table-head .cart-col-price{grid-area:price;text-align:center}
.cart-table-head .cart-col-qty{grid-area:qty;text-align:center}
.cart-table-head .cart-col-sub{grid-area:sub;text-align:center}
.cart-table-head .cart-col-act{grid-area:act;text-align:center}
.cart-row{border-bottom:1px solid #f0f2f5}
.cart-row:last-child{border-bottom:0}
.cart-shop,.cart-platform{
  padding:10px 18px;
  background:linear-gradient(90deg,#fff5eb,#fafbfc);
  border-bottom:1px solid #f0e0d0;
  border-top:1px solid var(--line)
}
.cart-shop-label,.cart-platform-label{display:inline-flex;align-items:center;gap:8px;font-weight:800;font-size:.86rem}
.cart-shop-name{color:#e85a2d}
.cart-col-check{grid-area:check;display:flex;align-items:flex-start;justify-content:center;padding-top:34px}
.cart-col-product{grid-area:product;min-width:0}
.cart-col-price{grid-area:price}
.cart-col-qty{grid-area:qty}
.cart-col-sub{grid-area:sub}
.cart-col-act{grid-area:act}
.cart-col-meta{
  grid-area:meta;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;
  padding:10px 12px;border-radius:10px;background:#f8fafc;border:1px solid #eef1f5
}
.cart-col-price,.cart-col-sub,.cart-col-qty{
  display:flex;flex-direction:column;gap:2px;font-size:.84rem;padding-top:34px;text-align:center;white-space:nowrap
}
.cart-col-price strong,.cart-col-sub strong{font-size:.92rem;color:var(--ink)}
.cart-col-price span,.cart-col-sub span{color:var(--muted);font-size:.78rem;font-weight:700}
.cart-col-qty{padding-top:28px}
.cart-col-act{
  display:flex;flex-direction:column;gap:6px;padding-top:28px;align-items:stretch
}
.cart-product{display:flex;gap:14px;align-items:flex-start;min-width:0}
.cart-product-img{
  flex:0 0 72px;width:72px;height:72px;border-radius:10px;overflow:hidden;background:#eef1f5;display:block
}
.cart-product-img img{width:100%;height:100%;object-fit:cover}
.cart-product-img--empty{background:linear-gradient(135deg,#eef1f6,#e4e8ef)}
.cart-product-body{min-width:0;flex:1}
.cart-product-title{
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
  font-weight:800;font-size:.88rem;line-height:1.45;color:var(--ink);
  text-decoration:none;margin-bottom:4px;word-break:break-word
}
a.cart-product-title:hover{color:var(--blue)}
.cart-product-spec{font-size:.78rem;color:var(--muted);font-weight:700;margin-bottom:0}
.cart-meta-field{display:flex;flex-direction:column;gap:3px;min-width:0}
.cart-meta-field span{font-size:.68rem;font-weight:800;color:var(--muted);letter-spacing:.02em}
.cart-meta-field .form-control{
  min-height:32px;height:32px;padding:0 8px;font-size:.8rem;border-radius:8px
}
.cart-row-update,.cart-row-del{
  display:block;width:100%;border:0;border-radius:8px;padding:7px 0;font:inherit;
  font-size:.76rem;font-weight:800;cursor:pointer;white-space:nowrap
}
.cart-row-update{background:#f1f4f8;color:var(--ink-soft)}
.cart-row-del{background:#fdeceb;color:#b42318}
.cart-footbar{
  display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;
  margin-top:16px;padding:16px 18px;background:#fff;border-radius:16px;box-shadow:var(--shadow-sm)
}
.cart-foot-left{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.cart-foot-check{display:inline-flex;align-items:center;gap:8px;font-weight:800;font-size:.88rem}
.cart-bulk-form{margin:0}
.cart-bulk-del{
  border:0;background:none;color:#b42318;font:inherit;font-weight:800;cursor:pointer;padding:0
}
.cart-foot-right{display:flex;align-items:center;gap:18px;flex-wrap:wrap;margin-left:auto}
.cart-foot-total{display:flex;flex-direction:column;align-items:flex-end;gap:4px;font-size:.86rem;font-weight:700}
.cart-foot-sum strong{font-size:1.1rem;color:#e85a2d}
.cart-checkout-btn{
  min-width:160px;min-height:48px;padding:0 28px;border:0;border-radius:999px;
  background:linear-gradient(135deg,#ff8f4a,#e85a2d);color:#fff;font-weight:800;font-size:.95rem;
  text-decoration:none;display:inline-flex;align-items:center;justify-content:center;cursor:pointer
}
.cart-checkout-btn:hover{color:#fff;filter:brightness(1.03)}
.cart-empty{padding:40px 24px;text-align:center}
.cart-empty p{margin:0 0 16px;color:var(--muted);font-weight:700}
.checkout-section-title{margin:0 0 14px;font-size:1.02rem;font-weight:800}
.checkout-address,.checkout-items,.checkout-form{margin-bottom:16px}
.checkout-address{padding:22px 24px}
.checkout-address-grid{
  display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:12px;margin-bottom:14px
}
.checkout-address-card{
  position:relative;display:block;padding:14px 16px;border:2px solid var(--line);border-radius:14px;
  background:#fafbfc;cursor:pointer;transition:border-color .15s ease,background .15s ease
}
.checkout-address-card input{position:absolute;opacity:0;pointer-events:none}
.checkout-address-card.is-selected,.checkout-address-card:has(input:checked){
  border-color:var(--blue);background:#f5f9ff
}
.checkout-addr-badge{
  display:inline-block;margin-bottom:6px;font-size:.68rem;font-weight:800;padding:2px 8px;border-radius:999px;
  background:var(--blue);color:#fff
}
.checkout-addr-label{font-weight:800;margin-bottom:4px}
.checkout-addr-line{font-size:.86rem;font-weight:600;line-height:1.45}
.checkout-address-add{
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-height:120px;
  border:2px dashed #d5dbe6;border-radius:14px;color:var(--blue);font-weight:800;text-decoration:none
}
.checkout-address-add:hover{background:#f7f9fc;color:var(--blue-deep)}
.checkout-address-add-ico{font-size:1.4rem;line-height:1}
.checkout-logistics-note{margin:0;font-size:.82rem;line-height:1.55}
.cart-product-tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:6px}
.cart-product-tags span{
  font-size:.72rem;font-weight:700;padding:2px 8px;border-radius:6px;background:#f1f4f8;color:var(--ink-soft)
}
.checkout-form{padding:22px 24px}
.checkout-vas-list{list-style:none;margin:0 0 14px;padding:0;display:grid;gap:8px}
.checkout-vas-list li{
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  padding:10px 12px;border-radius:10px;background:#f7f9fc;font-weight:700;font-size:.88rem
}
.checkout-vas-fee{display:inline-flex;align-items:center;gap:8px}
.checkout-vas-del{
  width:24px;height:24px;border:0;border-radius:50%;background:#fdeceb;color:#b42318;
  font-weight:800;cursor:pointer;line-height:1;padding:0
}
.checkout-vas-add{margin-bottom:18px}
.checkout-vas-empty{margin:0 0 18px;font-size:.86rem}
.checkout-field{margin-bottom:16px}
.checkout-summary{
  margin:8px 0 18px;padding:14px 16px;border-radius:12px;background:#f7f9fc
}
.checkout-summary-row{
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  font-weight:700;font-size:.9rem;margin-bottom:6px
}
.checkout-summary-note{margin:8px 0 0;font-size:.8rem}
.checkout-actions{display:flex;align-items:center;justify-content:flex-end;gap:12px;flex-wrap:wrap}
.cart-success{padding:48px 24px;text-align:center;max-width:640px;margin:0 auto}
.cart-success .eyebrow{margin-bottom:12px}
.cart-success-icon{
  width:64px;height:64px;margin:0 auto 16px;border-radius:50%;
  display:grid;place-items:center;background:#e8f7f0;color:#146c43;font-size:1.8rem;font-weight:800
}
.cart-success h1{margin:0 0 10px;font-size:clamp(1.4rem,2.2vw,1.8rem)}
.cart-success-no{margin:0 0 12px;font-size:1rem}
.cart-success-actions{display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap;margin-top:20px}
@media (max-width:900px){
  .cart-table-head{display:none}
  .cart-row{
    grid-template-columns:32px 1fr auto;
    grid-template-areas:
      "check product product"
      "check price qty"
      "check sub act"
      "meta meta meta";
    gap:8px 10px;padding:14px
  }
  .cart-row--readonly{
    grid-template-columns:32px 1fr;
    grid-template-areas:"no product" "no qty" "no price" "no sub"
  }
  .cart-col-check{padding-top:4px}
  .cart-col-price,.cart-col-sub,.cart-col-qty{padding-top:0;text-align:left}
  .cart-col-act{padding-top:0;flex-direction:row}
  .cart-col-meta{grid-template-columns:1fr}
  .cart-foot-right{width:100%;justify-content:space-between}
}

/* 注文 Step2/3（参考ラクット風） */
.checkout-rakutto{display:flex;flex-direction:column;gap:18px}
.checkout-rakutto-form{display:flex;flex-direction:column;gap:18px}
.checkout-topbar{
  display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;
  padding:18px 22px;border-bottom:3px solid #e85a2d
}
.checkout-topbar-title{display:flex;align-items:center;gap:12px}
.checkout-topbar-title h1{margin:0;font-size:1.35rem;font-weight:800;letter-spacing:-.02em}
.checkout-topbar-icon{color:var(--ink);display:grid;place-items:center}
.order-steps-bar{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.order-steps-item{
  display:flex;flex-direction:column;align-items:flex-start;gap:2px;
  color:#b0b8c4;font-weight:700;font-size:.82rem;white-space:nowrap
}
a.order-steps-item{text-decoration:none}
.order-steps-item.is-active,.order-steps-item.is-active .order-steps-num{color:var(--ink)}
.order-steps-item.is-active .order-steps-label{font-weight:800}
.order-steps-item.is-done,.order-steps-item.is-done .order-steps-num{color:var(--blue)}
.order-steps-num{font-size:.72rem;font-weight:800;letter-spacing:.04em}
.order-steps-label{font-size:.84rem}
.order-steps-chevron{color:#d0d5dd;font-size:1.1rem;line-height:1;font-weight:400}
.checkout-block{padding:20px 22px}
.checkout-block-title{margin:0 0 14px;font-size:1rem;font-weight:800}
.checkout-address-scroll{
  display:flex;gap:12px;overflow-x:auto;padding-bottom:4px;
  scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch
}
.checkout-addr-card{
  flex:0 0 240px;scroll-snap-align:start;
  position:relative;display:block;padding:14px 16px;border:2px solid #e8ebf0;border-radius:12px;
  background:#fff;cursor:pointer;transition:border-color .15s ease,box-shadow .15s ease
}
.checkout-addr-card input{position:absolute;opacity:0;pointer-events:none}
.checkout-addr-card.is-selected,.checkout-addr-card:has(input:checked){
  border-color:#e85a2d;box-shadow:0 0 0 1px rgba(232,90,45,.15)
}
.checkout-addr-card-top{display:flex;justify-content:space-between;gap:8px;font-size:.78rem;font-weight:700;color:var(--muted);margin-bottom:6px}
.checkout-addr-default{
  display:inline-block;margin-bottom:6px;padding:2px 8px;border-radius:4px;
  background:#fff3e6;color:#e85a2d;font-size:.68rem;font-weight:800
}
.checkout-addr-body{font-size:.84rem;font-weight:600;line-height:1.5;margin-bottom:4px;word-break:break-word}
.checkout-addr-name{font-size:.8rem;color:var(--muted);font-weight:700}
.checkout-addr-add{
  flex:0 0 140px;min-height:120px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;
  border:2px dashed #d5dbe6;border-radius:12px;background:#fafbfc;color:var(--ink-soft);
  font-weight:800;font-size:.86rem;cursor:pointer
}
.checkout-addr-add:hover{border-color:#e85a2d;color:#e85a2d;background:#fffaf7}
.checkout-addr-add-ico{font-size:1.5rem;line-height:1;color:#e85a2d}
.checkout-addr-tip{margin:12px 0 0;font-size:.8rem;color:var(--muted);line-height:1.55}
.checkout-addr-tip a{color:var(--blue);font-weight:700}
.checkout-supplier-bar{
  display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;
  padding:10px 14px;background:linear-gradient(90deg,#fff5eb,#fff);border-bottom:1px solid #f0e0d0;
  font-size:.84rem;font-weight:700
}
.checkout-supplier-shop{display:inline-flex;align-items:center;gap:8px;min-width:0;flex-wrap:wrap}
.checkout-supplier-plat,.checkout-supplier-bar strong{color:#e85a2d;font-size:.9rem}
.checkout-supplier-name{color:var(--ink);font-weight:800;font-size:.9rem}
.checkout-supplier-fees{
  display:inline-flex;align-items:center;gap:16px;flex-wrap:wrap;justify-content:flex-end;
  color:var(--ink);font-weight:700;font-size:.84rem
}
.checkout-supplier-fee strong{color:#e85a2d;font-weight:800}
.checkout-order-table-wrap{overflow-x:auto}
.checkout-order-table{
  width:100%;min-width:1080px;border-collapse:collapse;font-size:.82rem;table-layout:fixed
}
.checkout-order-table th,.checkout-order-table td{
  border:1px solid #eef1f5;padding:10px 8px;vertical-align:top;text-align:left
}
.checkout-order-table th{
  background:#f7f9fc;font-weight:800;color:var(--muted);font-size:.76rem;white-space:nowrap
}
.checkout-order-table .col-no{width:40px;text-align:center}
.checkout-order-table .col-product{width:22%}
.checkout-order-table .col-qty{width:56px}
.checkout-order-table .col-price{width:88px}
.checkout-order-table .col-sub{width:88px}
.checkout-order-table .col-opt{width:150px}
.checkout-order-table .col-barcode{width:150px}
.checkout-order-table .col-remark{width:170px}
.checkout-order-table .col-qty,.checkout-order-table .col-price,.checkout-order-table .col-sub{white-space:nowrap;text-align:center}
.checkout-order-table .col-price strong,.checkout-order-table .col-sub strong{display:block}
.checkout-order-table .col-sub .checkout-sub-em{color:#e85a2d}
.checkout-product{display:flex;gap:8px;align-items:flex-start;min-width:0}
.checkout-product-img{width:52px;height:52px;object-fit:cover;border-radius:8px;background:#eef1f5;flex-shrink:0}
.checkout-product-body{min-width:0;flex:1}
.checkout-product-title{
  font-weight:800;line-height:1.4;font-size:.8rem;margin-bottom:4px;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;word-break:break-word
}
.checkout-product-spec,.checkout-product-id{font-size:.72rem;color:var(--muted);font-weight:600}
.checkout-product-id{margin-top:4px;padding:2px 6px;background:#f4f6f9;border-radius:4px;display:inline-block;max-width:100%;overflow:hidden;text-overflow:ellipsis}
.checkout-mini-list{margin:0;padding:0;list-style:none;font-size:.76rem;line-height:1.5;color:var(--ink-soft)}
.checkout-mini-list--num{margin-bottom:6px}
.checkout-selected-label{font-size:.72rem;font-weight:800;color:var(--ink);margin-bottom:4px}
.checkout-link-add{
  display:inline;border:0;background:none;padding:0;margin:0;cursor:pointer;
  color:#e85a2d;font-weight:800;font-size:.8rem;text-decoration:none;font:inherit
}
.checkout-link-add:hover{text-decoration:underline}
.checkout-link-add--plain{font-weight:800}
.checkout-remark-input{
  width:100%;min-height:56px;resize:vertical;border:1px solid var(--line);border-radius:8px;
  padding:6px 8px;font:inherit;font-size:.8rem
}
.checkout-extras-grid{
  display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,.95fr);gap:24px;align-items:stretch;margin-top:16px
}
.checkout-extras-fields{display:flex;flex-direction:column}
.checkout-field-row{display:grid;grid-template-columns:120px minmax(0,1fr);gap:12px;align-items:center;margin-bottom:12px}
.checkout-field-row--remark{align-items:flex-start;margin-bottom:0}
.checkout-field-row--remark .checkout-field-label{padding-top:8px}
.checkout-remark-field{min-height:78px;resize:vertical}
.checkout-field-label{font-weight:800;font-size:.86rem;color:var(--ink-soft)}
.checkout-totals{
  background:#fafbfc;border:1px solid #eef1f5;border-radius:12px;padding:14px 16px
}
.checkout-totals-row{
  display:flex;justify-content:space-between;gap:12px;padding:6px 0;
  font-size:.86rem;font-weight:700;border-bottom:1px dashed #e8ebf0
}
.checkout-totals-row:last-of-type{border-bottom:0}
.checkout-totals-row--grand strong{color:#e03131;font-size:1rem}
.checkout-totals-note{margin:8px 0 0;font-size:.72rem;color:var(--muted);line-height:1.45}
.checkout-fee-summary{
  display:flex;flex-direction:column;justify-content:flex-end;gap:10px;
  height:100%;min-width:min(100%,440px);margin-left:auto;padding:0
}
.checkout-fee-row{
  display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:18px;
  align-items:baseline;justify-items:end;width:100%;
  font-size:.86rem;font-weight:700;color:#6a768a;line-height:1.45
}
.checkout-fee-label{
  display:inline-flex;align-items:center;gap:4px;flex-wrap:wrap;justify-content:flex-end;
  justify-self:end;text-align:right;max-width:100%
}
.checkout-fee-val{
  color:#e85a2d;font-weight:800;white-space:nowrap;letter-spacing:.01em;
  justify-self:end;text-align:right
}
.checkout-fee-row--total{align-items:end}
.checkout-fee-row--total .checkout-fee-label{font-size:.92rem}
.checkout-fee-row--total .checkout-fee-val{font-size:1.05rem}
.checkout-fee-colon{margin-left:1px}
.checkout-fee-note{
  font-style:normal;font-weight:600;font-size:.76rem;color:#8a93a3;margin-left:2px
}
.checkout-fee-tip{
  width:16px;height:16px;border-radius:50%;border:1px solid #c5ccd8;background:#fff;
  color:#8a93a3;font-size:.68rem;font-weight:800;line-height:1;padding:0;cursor:help;
  display:inline-grid;place-items:center;flex-shrink:0;position:relative
}
.checkout-fee-tip::after{
  content:attr(data-tip);position:absolute;bottom:calc(100% + 8px);left:50%;transform:translateX(-50%);
  min-width:220px;max-width:min(320px,72vw);padding:8px 10px;border-radius:8px;
  background:#2f3747;color:#fff;font-size:.72rem;font-weight:600;line-height:1.55;text-align:left;
  white-space:normal;box-shadow:0 8px 24px rgba(15,23,42,.18);opacity:0;visibility:hidden;
  pointer-events:none;transition:opacity .15s ease,visibility .15s ease;z-index:5
}
.checkout-fee-tip::before{
  content:"";position:absolute;bottom:calc(100% + 2px);left:50%;transform:translateX(-50%);
  border:6px solid transparent;border-top-color:#2f3747;opacity:0;visibility:hidden;
  pointer-events:none;transition:opacity .15s ease,visibility .15s ease;z-index:5
}
.checkout-fee-tip:hover::after,.checkout-fee-tip:hover::before,
.checkout-fee-tip:focus-visible::after,.checkout-fee-tip:focus-visible::before{
  opacity:1;visibility:visible
}
.checkout-submit-bar{
  display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;padding:18px 22px
}
.checkout-legal{display:flex;flex-wrap:wrap;gap:10px;font-size:.78rem;font-weight:700}
.checkout-legal a,.checkout-legal-link{
  color:var(--blue);background:none;border:0;padding:0;margin:0;cursor:pointer;font:inherit;font-weight:700
}
.checkout-legal-link:hover{text-decoration:underline}
.checkout-legal-body{
  max-height:min(60vh,520px);overflow:auto;padding:4px 2px 12px;line-height:1.8;font-size:.9rem
}
.checkout-legal-body h1,.checkout-legal-body h2{font-size:1.15rem;margin:0 0 12px}
.checkout-legal-body p{margin:0 0 10px}
.checkout-agree{display:inline-flex;align-items:center;gap:8px;font-weight:800;font-size:.88rem;cursor:pointer}
.checkout-agree input{width:16px;height:16px}
.checkout-submit-actions{display:flex;align-items:center;gap:12px;margin-left:auto}
.checkout-submit-btn{
  min-width:180px;min-height:48px;padding:0 28px;border:0;border-radius:6px;
  background:#e85a2d;color:#fff;font-weight:800;font-size:.95rem;cursor:pointer
}
.checkout-submit-btn:hover:not(:disabled){filter:brightness(1.05);color:#fff}
.checkout-submit-btn:disabled{opacity:.55;cursor:not-allowed}
body.checkout-modal-open{overflow:hidden}
.checkout-modal{
  position:fixed;inset:0;z-index:2000;display:grid;place-items:center;padding:20px
}
.checkout-modal[hidden]{display:none!important}
.checkout-modal-backdrop{position:absolute;inset:0;background:rgba(15,23,42,.45)}
.checkout-modal-panel{
  position:relative;z-index:1;width:min(640px,100%);max-height:calc(100vh - 40px);overflow:auto;
  background:#fff;border-radius:12px;padding:24px 26px 22px;box-shadow:0 24px 60px rgba(15,23,42,.2)
}
.checkout-modal-close{
  position:absolute;top:12px;right:14px;width:32px;height:32px;border:0;background:transparent;
  font-size:1.5rem;line-height:1;color:var(--muted);cursor:pointer
}
.checkout-modal-title{margin:0 0 18px;font-size:1.1rem;font-weight:800}
.checkout-modal-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 14px}
.checkout-modal-field{display:flex;flex-direction:column;gap:6px;min-width:0}
.checkout-modal-field--full{grid-column:1 / -1}
.checkout-modal-field span{font-size:.82rem;font-weight:800;color:var(--ink-soft)}
.checkout-modal-field .req::after{content:" *";color:#e03131}
.checkout-modal-check{display:flex;align-items:center;gap:8px;margin:14px 0;font-weight:700;font-size:.86rem}
.checkout-modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:8px}
.checkout-modal-panel--wide{width:min(860px,100%)}
.checkout-opt-table-wrap{overflow:auto;max-height:min(60vh,480px);margin-bottom:8px;border:1px solid #eef1f5;border-radius:10px}
.checkout-opt-table{width:100%;border-collapse:collapse;font-size:.84rem}
.checkout-opt-table th,.checkout-opt-table td{padding:10px 12px;border-bottom:1px solid #f0f2f5;text-align:left;vertical-align:middle}
.checkout-opt-table th{background:#f7f9fc;font-size:.76rem;font-weight:800;color:var(--muted);position:sticky;top:0}
.checkout-opt-table .col-check{width:40px;text-align:center}
.checkout-opt-table tbody tr:hover{background:#fafbfc}
.checkout-bc-grid{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 16px;margin-bottom:8px
}
.checkout-bc-row{
  display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr) minmax(0,1fr) auto;gap:12px;align-items:end;margin-bottom:12px
}
.checkout-bc-table-wrap{overflow:auto;border:1px solid var(--line);border-radius:12px;margin-bottom:8px}
.checkout-bc-dest-table{width:100%;border-collapse:collapse;font-size:.84rem}
.checkout-bc-dest-table th,.checkout-bc-dest-table td{
  padding:8px 10px;border-bottom:1px solid var(--line);vertical-align:middle
}
.checkout-bc-dest-table th{background:#f8fafc;font-weight:700;white-space:nowrap}
.checkout-bc-dest-table .bc-qty{max-width:88px}
.checkout-bc-thumb{border:0;background:transparent;padding:0;cursor:pointer;display:inline-flex}
.checkout-bc-thumb img{display:block;max-height:36px}
.checkout-bc-view-body{text-align:center;padding:8px 0 16px}
.checkout-bc-view-sku{font-weight:800;margin-bottom:10px}
.checkout-bc-view-svg{
  display:flex;justify-content:center;align-items:center;
  margin:0 auto 12px;text-align:center
}
.checkout-bc-view-svg img{display:block;margin:0 auto;max-width:100%;height:auto}
.checkout-bc-view-lines{font-size:.9rem;line-height:1.6;color:var(--ink-soft)}
.form-control.is-invalid{border-color:#dc3545}
.checkout-bc-actions{display:flex;flex-direction:column;gap:6px;min-width:140px}
.checkout-bc-gen{margin-bottom:8px;padding-top:8px;border-top:1px dashed #e5e9ef}
.checkout-bc-field{display:flex;flex-direction:column;gap:6px;min-width:0}
.checkout-bc-field > span{font-size:.82rem;font-weight:800;color:var(--ink-soft)}
.checkout-bc-barcode-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.checkout-bc-barcode-row .form-control{flex:1;min-width:160px}
.checkout-bc-preview-wrap,.sku-bc-preview-wrap{margin-top:8px;min-height:40px}
.sku-bc-preview-wrap--inline{
  margin-top:0;min-height:38px;display:flex;align-items:center;
  padding:0;border:0;background:transparent
}
.checkout-bc-preview,.sku-bc-preview,.sku-bc-thumb{
  display:inline-flex;align-items:center;justify-content:center;padding:6px 10px;border:1px solid var(--line);
  border-radius:8px;background:#fff;cursor:zoom-in;max-width:100%
}
.sku-bc-lightbox[hidden]{display:none!important}
.sku-bc-lightbox{
  position:fixed;inset:0;z-index:1080;display:flex;align-items:center;justify-content:center;padding:24px
}
.sku-bc-lightbox-backdrop{position:absolute;inset:0;background:rgba(15,23,42,.55)}
.sku-bc-lightbox-panel{
  position:relative;z-index:1;background:#fff;border-radius:14px;padding:28px 32px 20px;max-width:min(560px,96vw);
  box-shadow:0 18px 48px rgba(0,0,0,.22);text-align:center
}
.sku-bc-lightbox-close{
  position:absolute;top:8px;right:12px;border:0;background:transparent;font-size:1.6rem;line-height:1;cursor:pointer;color:var(--muted)
}
.sku-bc-lightbox-text{margin-top:12px;font-weight:700;font-size:.95rem;letter-spacing:.04em;word-break:break-all}
body.sku-bc-open{overflow:hidden}

/* Toast（SKU保存成功等） */
.gs-toast-host{position:fixed;bottom:24px;right:24px;z-index:9999;display:flex;flex-direction:column;gap:10px;pointer-events:none;max-width:min(380px,92vw)}
.gs-toast{padding:12px 18px;border-radius:10px;font-size:14px;font-weight:600;color:#fff;background:#1a7f4b;box-shadow:0 8px 24px rgba(0,0,0,.18);opacity:0;transform:translateY(8px);transition:opacity .25s ease,transform .25s ease;pointer-events:auto}
.gs-toast.is-visible{opacity:1;transform:translateY(0)}
.gs-toast--error{background:#c0392b}
.gs-toast--warn{background:#b7791f}
.gs-toast--success{background:#1a7f4b}
.gs-toast--chat-card{
  display:flex;gap:12px;align-items:flex-start;padding:14px 16px;
  background:linear-gradient(145deg,#1a2a3c 0%,#122033 100%);
  border:1px solid rgba(46,125,210,.35);border-left:4px solid #2e7dd2;
  border-radius:12px;font-weight:500;color:#eef2f7;cursor:pointer;
  box-shadow:0 12px 32px rgba(0,0,0,.22)
}
.gs-toast--chat-card:hover{filter:brightness(1.06)}
.gs-chat-toast-icon{
  flex:0 0 auto;width:40px;height:40px;border-radius:10px;
  background:rgba(46,125,210,.18);color:#5ba3ef;
  display:grid;place-items:center;font-size:1.15rem
}
.gs-chat-toast-body{flex:1;min-width:0}
.gs-chat-toast-title{font-size:.78rem;font-weight:700;letter-spacing:.04em;color:#5ba3ef;margin-bottom:2px}
.gs-chat-toast-from{font-size:.92rem;font-weight:700;color:#fff;line-height:1.35}
.gs-chat-toast-preview{
  margin-top:6px;font-size:.86rem;font-weight:500;color:rgba(255,255,255,.85);
  line-height:1.45;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden
}
.gs-chat-toast-foot{
  margin-top:8px;display:flex;justify-content:space-between;align-items:center;gap:10px;
  font-size:.75rem;color:rgba(255,255,255,.55)
}
.gs-chat-toast-action{color:#7eb8f0;font-weight:700;white-space:nowrap}

/* 前台确认弹层（替代原生 confirm） */
body.gs-dialog-open{overflow:hidden}
.gs-dialog[hidden]{display:none!important}
.gs-dialog{position:fixed;inset:0;z-index:11000;display:flex;align-items:center;justify-content:center;padding:24px}
.gs-dialog-backdrop{position:absolute;inset:0;background:rgba(13,26,45,.48);backdrop-filter:blur(2px)}
.gs-dialog-panel{
  position:relative;z-index:1;width:min(420px,100%);background:#fff;border-radius:16px;
  padding:28px 24px 20px;box-shadow:0 20px 50px rgba(13,26,45,.22);text-align:center
}
.gs-dialog-icon{
  width:52px;height:52px;margin:0 auto 14px;border-radius:14px;display:grid;place-items:center;
  background:rgba(44,123,229,.12);color:var(--blue)
}
.gs-dialog-icon.is-danger{background:rgba(192,57,43,.12);color:#c0392b}
.gs-dialog-title{margin:0 0 8px;font-size:1.12rem;font-weight:800;color:var(--ink)}
.gs-dialog-body{margin:0 0 16px;font-size:.92rem;color:var(--ink-soft);line-height:1.55;text-align:left}
.gs-dialog-body[hidden]{display:none!important}
.gs-dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:4px;flex-wrap:wrap}
.gs-dialog-actions .btn{min-width:96px}
.gs-dialog-actions .btn-danger{background:#c0392b;border-color:#c0392b;color:#fff}
.gs-dialog-actions .btn-danger:hover{filter:brightness(1.06);color:#fff}

.product-fav-form .btn{border:1px solid var(--border, #d8dee8)}

@media (max-width:900px){
  .checkout-topbar{flex-direction:column;align-items:flex-start}
  .checkout-extras-grid{grid-template-columns:1fr}
  .checkout-fee-summary{min-width:100%;margin-left:0}
  .checkout-field-row{grid-template-columns:1fr}
  .checkout-submit-bar{flex-direction:column;align-items:flex-start}
  .checkout-submit-actions{width:100%;justify-content:stretch}
  .checkout-submit-actions .btn{flex:1}
  .checkout-modal-grid,.checkout-bc-grid,.checkout-bc-row{grid-template-columns:1fr}
  .checkout-bc-actions{flex-direction:row;flex-wrap:wrap}
  .checkout-order-table{min-width:960px}
}

