:root{
  --spv-red:#8b0714; --spv-red2:#b41424; --spv-gold:#d8a932; --spv-cream:#fff7e8; --spv-ink:#281315; --spv-muted:#766467; --spv-card:#fffdf8; --spv-line:rgba(139,7,20,.12); --spv-shadow:0 24px 56px rgba(64,15,18,.14); --spv-blue:#0f3f8f;
}
*{box-sizing:border-box} html,body{margin:0;padding:0;overflow-x:hidden} body{background:linear-gradient(180deg,#fff8eb 0%,#fffdf8 42%,#fff7e8 100%);color:var(--spv-ink);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Noto Sans JP","Noto Sans",Arial,sans-serif;line-height:1.6} a{text-decoration:none;color:inherit} img{max-width:100%;height:auto;display:block} .spviet-site-main{min-height:70vh}

.spviet-theme-header{position:sticky;top:0;z-index:999;background:rgba(255,247,232,.96);backdrop-filter:blur(16px);border-bottom:1px solid var(--spv-line)} body.admin-bar .spviet-theme-header{top:32px}
.spviet-header-inner{max-width:1240px;margin:0 auto;padding:14px 20px;display:grid;grid-template-columns:auto 1fr auto;gap:18px;align-items:center}
.spviet-logo{display:inline-flex;align-items:center;gap:12px;font-weight:900;color:var(--spv-red);min-width:max-content}.spviet-logo-mark{width:42px;height:42px;border-radius:15px;background:linear-gradient(135deg,var(--spv-red),var(--spv-red2));display:grid;place-items:center;color:#fff;box-shadow:0 12px 25px rgba(139,7,20,.25)}.spviet-logo-text{font-size:24px;letter-spacing:.02em}
.spviet-primary-nav.is-desktop{min-width:0}.spviet-menu-list{list-style:none;margin:0;padding:0;display:flex;justify-content:center;gap:8px;flex-wrap:wrap}.spviet-menu-list>li{position:relative}.spviet-menu-list>li>a{display:flex;align-items:center;justify-content:center;padding:10px 14px;border-radius:999px;font-weight:800;color:#3a2225;white-space:nowrap}.spviet-menu-list>li:hover>a,.spviet-menu-list>li.current-menu-item>a,.spviet-menu-list>li.current_page_item>a{background:#fff;color:var(--spv-red);box-shadow:0 10px 25px rgba(139,7,20,.08)}
.spviet-menu-list .sub-menu{display:none;position:absolute;left:0;top:calc(100% + 8px);min-width:240px;padding:8px;margin:0;list-style:none;background:#fff;border:1px solid var(--spv-line);border-radius:18px;box-shadow:var(--spv-shadow);z-index:40}.spviet-menu-list li:hover>.sub-menu,.spviet-menu-list li:focus-within>.sub-menu{display:block}.spviet-menu-list .sub-menu a{display:block;padding:10px 12px;border-radius:12px}.spviet-menu-list .sub-menu a:hover{background:#fff7e8;color:var(--spv-red)}
.spviet-header-actions{display:flex;align-items:center;gap:14px;justify-self:end}.spviet-order-btn,.spviet-btn-primary{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:13px 22px;border:0;background:linear-gradient(135deg,var(--spv-red),#65030f);color:#fff!important;font-weight:900;box-shadow:0 14px 28px rgba(139,7,20,.25);white-space:nowrap}.spviet-btn-primary:hover,.spviet-order-btn:hover{transform:translateY(-1px)}
.spviet-menu-toggle{display:none;flex-direction:column;align-items:center;justify-content:center;width:72px;height:72px;border:0;border-radius:0 0 0 18px;background:linear-gradient(180deg,var(--spv-red2),var(--spv-red));color:#fff;box-shadow:0 14px 28px rgba(139,7,20,.2);cursor:pointer}.spviet-menu-toggle-lines{display:grid;gap:5px}.spviet-menu-toggle-lines i{display:block;width:28px;height:2px;background:#fff;border-radius:5px}.spviet-menu-toggle small{display:block;font-size:12px;font-weight:800;letter-spacing:.08em;margin-top:6px}
.spviet-mobile-panel{position:absolute;top:100%;right:0;width:min(92vw,360px);background:#fff;border:1px solid var(--spv-line);border-radius:0 0 0 20px;box-shadow:var(--spv-shadow);overflow:hidden}.spviet-mobile-nav{padding:14px}.spviet-mobile-menu-list{list-style:none;margin:0;padding:0;display:grid;gap:8px}.spviet-mobile-menu-list>li>a{display:flex;padding:12px 14px;border-radius:14px;background:#fff7e8;font-weight:800;color:#3a2225}.spviet-mobile-menu-list .sub-menu{list-style:none;margin:6px 0 0 14px;padding:0;display:grid;gap:6px}.spviet-mobile-menu-list .sub-menu a{display:block;padding:10px 12px;border-radius:12px;background:#fff}

.spviet-home-hero{max-width:1240px;margin:0 auto;padding:36px 20px 10px;display:grid;grid-template-columns:minmax(0,1.02fr) minmax(0,.98fr);align-items:center;gap:28px}.spviet-home-copy{padding:26px 10px 22px}.spviet-eyebrow{display:inline-flex;padding:8px 14px;border:1px solid rgba(216,169,50,.6);border-radius:999px;background:rgba(255,255,255,.72);color:var(--spv-red);font-weight:900;margin-bottom:18px}.spviet-home-copy h1{margin:0 0 18px;font-size:clamp(42px,5vw,78px);line-height:1.05;letter-spacing:-.04em;color:#2f0d12}.spviet-login-note{margin:0;color:var(--spv-muted);font-size:19px;max-width:760px}.spviet-login-note a{display:inline-flex;align-items:center;justify-content:center;margin:0 4px;padding:4px 10px;border-radius:999px;background:linear-gradient(135deg,#1fa34a,#0f7d32);color:#fff!important;font-weight:900;box-shadow:0 8px 18px rgba(23,128,56,.2)}
.spviet-hero-actions{display:flex;gap:14px;flex-wrap:wrap;margin-top:26px}.spviet-btn-ghost,.spviet-btn-login{display:inline-flex;align-items:center;justify-content:center;padding:12px 22px;border-radius:999px;font-weight:900}.spviet-btn-ghost{border:1px solid rgba(139,7,20,.2);background:#fff;color:var(--spv-red)}.spviet-btn-login{border:0;background:linear-gradient(135deg,#1fa34a,#0f7d32);color:#fff!important;box-shadow:0 12px 26px rgba(23,128,56,.26)}
.spviet-home-slider-wrap{min-width:0}.spviet-slider{position:relative;background:linear-gradient(180deg,#fff,#fff7e8);border:1px solid var(--spv-line);border-radius:34px;box-shadow:var(--spv-shadow);padding:20px}.spviet-slider-track{position:relative;min-height:300px}.spviet-slide{position:absolute;inset:0;opacity:0;pointer-events:none;transition:opacity .35s ease;display:block}.spviet-slide.is-active{opacity:1;pointer-events:auto;position:relative}.spviet-slide img{width:100%;border-radius:28px;aspect-ratio:16/10;object-fit:cover;background:#f8f1e4}.spviet-slide-overlay{position:absolute;left:24px;right:24px;bottom:20px;display:grid;gap:4px;padding:16px 18px;border-radius:20px;background:linear-gradient(180deg,rgba(255,255,255,.92),rgba(255,247,232,.85));box-shadow:0 10px 25px rgba(64,15,18,.12)}.spviet-slide-overlay strong{font-size:20px;color:var(--spv-red)}.spviet-slide-overlay em{font-style:normal;color:#5d494a;font-weight:700}
.spviet-slider-arrow{position:absolute;top:50%;transform:translateY(-50%);width:42px;height:42px;border-radius:999px;border:0;background:rgba(139,7,20,.92);color:#fff;font-size:28px;cursor:pointer;display:grid;place-items:center;box-shadow:0 12px 28px rgba(139,7,20,.22)}.spviet-slider-arrow.prev{left:8px}.spviet-slider-arrow.next{right:8px}.spviet-slider-dots{display:flex;justify-content:center;gap:8px;padding-top:14px}.spviet-slider-dots button{width:10px;height:10px;border-radius:50%;border:0;background:#e8dcdc;cursor:pointer}.spviet-slider-dots button.is-active{background:var(--spv-red)}

.spviet-quick-links-section{max-width:1240px;margin:6px auto 10px;padding:0 20px}.spviet-quick-links-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.spviet-quick-link{min-height:74px;border-radius:0;display:flex;align-items:center;justify-content:space-between;padding:18px 18px;background:var(--spv-quick,#0f3f8f);color:#fff!important;font-weight:900;box-shadow:0 16px 30px rgba(0,0,0,.08)}.spviet-quick-link span{font-size:24px;line-height:1.15}.spviet-quick-link b{font-size:24px;opacity:.9}

.spviet-latest-news-section{max-width:1240px;margin:20px auto 10px;padding:0 20px}.spviet-news-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 16px;background:#0f3f8f;color:#fff;border-radius:16px 16px 0 0}.spviet-news-head h2{margin:0;font-size:30px}.spviet-news-more{display:inline-flex;align-items:center;justify-content:center;padding:10px 14px;border-radius:12px;background:#9f0514;color:#fff!important;font-weight:800}.spviet-news-list{background:#fff;border:1px solid rgba(15,63,143,.12);border-top:0;border-radius:0 0 18px 18px;box-shadow:0 18px 42px rgba(64,15,18,.08)}.spviet-news-item{display:grid;grid-template-columns:120px 1fr;gap:16px;padding:16px 20px;border-bottom:1px dashed rgba(15,63,143,.13)}.spviet-news-item:last-child{border-bottom:0}.spviet-news-item time{font-weight:700;color:#8f8080}.spviet-news-item a{font-weight:800;color:#2c2222}.spviet-news-item.empty{display:block;color:#766467}

.spviet-feature-grid{max-width:1240px;margin:20px auto 30px;padding:0 20px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.spviet-feature{background:rgba(255,255,255,.76);border:1px solid var(--spv-line);border-radius:26px;padding:22px;box-shadow:0 14px 34px rgba(64,15,18,.08)}.spviet-feature img{width:48px;height:48px;margin-bottom:12px}.spviet-feature h3{margin:0 0 8px;color:var(--spv-red);font-size:20px}.spviet-feature p{margin:0;color:var(--spv-muted)}
.spviet-page-shell,.spviet-shortcode-area{max-width:1240px;margin:0 auto;padding:10px 20px 34px}.spviet-content-card{background:rgba(255,255,255,.78);border:1px solid var(--spv-line);border-radius:28px;box-shadow:var(--spv-shadow);padding:26px}

.spviet-theme-footer{border-top:1px solid var(--spv-line);background:#fff7e8;margin-top:30px}.spviet-footer-inner{max-width:1240px;margin:0 auto;padding:24px 20px 32px;display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.spviet-footer-inner strong{display:block;color:var(--spv-red);font-size:20px}.spviet-footer-inner p{margin:6px 0 0;color:var(--spv-muted)}.spviet-footer-links{display:flex;flex-wrap:wrap;gap:12px}.spviet-footer-links a{display:inline-flex;padding:10px 14px;border-radius:999px;background:#fff;color:#3a2225;border:1px solid var(--spv-line);font-weight:800}
.spviet-mobile-footer-nav{display:none}

@media (max-width:1100px){
  .spviet-header-inner{grid-template-columns:auto auto;justify-content:space-between}.spviet-primary-nav.is-desktop,.spviet-order-btn{display:none}.spviet-menu-toggle{display:flex;position:absolute;top:0;right:0}.spviet-theme-header{position:sticky}.spviet-header-actions{position:relative;justify-self:end;padding-right:0;min-height:72px}.spviet-home-hero{grid-template-columns:1fr}.spviet-quick-links-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.spviet-feature-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:782px){body.admin-bar .spviet-theme-header{top:46px}}
@media (max-width:760px){
  .spviet-header-inner{padding:10px 14px}.spviet-logo-text{font-size:21px}.spviet-home-hero{padding:18px 14px 6px;gap:18px}.spviet-home-copy{padding:4px 2px}.spviet-home-copy h1{font-size:clamp(34px,8.8vw,56px)}.spviet-login-note{font-size:17px}.spviet-slider{padding:10px;border-radius:24px}.spviet-slide img{aspect-ratio:5/4}.spviet-slide-overlay{left:12px;right:12px;bottom:12px;padding:12px 14px}.spviet-slide-overlay strong{font-size:16px}.spviet-slide-overlay em{font-size:13px}.spviet-slider-arrow{width:34px;height:34px;font-size:24px}.spviet-quick-links-section,.spviet-latest-news-section,.spviet-feature-grid,.spviet-shortcode-area{padding-left:14px;padding-right:14px}.spviet-quick-link{min-height:66px;padding:14px 16px}.spviet-quick-link span{font-size:18px}.spviet-news-head h2{font-size:24px}.spviet-news-item{grid-template-columns:1fr;gap:6px;padding:14px 16px}.spviet-feature-grid{grid-template-columns:1fr;gap:14px}.spviet-footer-inner{padding-bottom:96px;display:block}.spviet-footer-links{margin-top:14px}.spviet-mobile-footer-nav{position:fixed;left:0;right:0;bottom:0;z-index:998;display:grid;grid-template-columns:repeat(3,1fr);background:#0f3f8f;border-top:3px solid #f0d478;box-shadow:0 -8px 24px rgba(0,0,0,.16)}.spviet-mobile-footer-nav a{display:grid;gap:6px;align-content:center;justify-items:center;min-height:72px;padding:8px 6px;color:#fff!important;font-weight:800;border-right:1px solid rgba(255,255,255,.14)}.spviet-mobile-footer-nav a:last-child{border-right:0}.spviet-mobile-footer-nav .icon{font-size:18px;line-height:1}.spviet-mobile-footer-nav .label{font-size:12px;line-height:1.25;text-align:center}
}
@media (max-width:640px){
  .spviet-hero-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;flex-wrap:nowrap;width:100%;margin-top:22px}.spviet-hero-actions .spviet-btn-primary,.spviet-hero-actions .spviet-btn-ghost,.spviet-hero-actions .spviet-btn-login{width:100%;min-width:0;padding:11px 8px;font-size:13px;line-height:1.15;text-align:center;white-space:nowrap}.spviet-quick-links-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:380px){
  .spviet-logo-mark{width:38px;height:38px}.spviet-logo-text{font-size:19px}.spviet-menu-toggle{width:68px;height:68px}.spviet-home-copy h1{font-size:32px}.spviet-quick-link span{font-size:16px}.spviet-news-more{padding:8px 10px;font-size:12px}.spviet-mobile-footer-nav .label{font-size:11px}
}


/* SPVIET V6: full-width homepage slider and responsive menu buttons */
.spviet-full-slider-section{
  width:100%;
  margin:0;
  padding:0;
  background:#fff7e8;
  border-bottom:1px solid var(--spv-line);
}
.spviet-full-slider{
  position:relative;
  width:100%;
  max-width:none;
  margin:0 auto;
  overflow:hidden;
  background:#f8f1e4;
}
.spviet-full-slider-track{
  position:relative;
  width:100%;
  min-height:clamp(330px, 40vw, 620px);
}
.spviet-full-slide{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  opacity:0;
  pointer-events:none;
  transition:opacity .42s ease;
  display:block;
  background:#f8f1e4;
}
.spviet-full-slide.is-active{
  opacity:1;
  pointer-events:auto;
  position:absolute;
}
.spviet-full-slide img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  border-radius:0;
}
.spviet-full-slide-caption{
  position:absolute;
  left:50%;
  bottom:26px;
  transform:translateX(-50%);
  width:min(900px, calc(100% - 44px));
  display:grid;
  gap:4px;
  padding:16px 22px;
  border-radius:18px;
  background:linear-gradient(180deg,rgba(255,255,255,.93),rgba(255,247,232,.86));
  box-shadow:0 14px 35px rgba(64,15,18,.13);
}
.spviet-full-slide-caption strong{
  color:var(--spv-red);
  font-size:clamp(20px, 2.6vw, 34px);
  font-weight:900;
  line-height:1.15;
}
.spviet-full-slide-caption em{
  color:#4a383a;
  font-style:normal;
  font-size:clamp(14px, 1.6vw, 20px);
  font-weight:800;
}
.spviet-full-slider .spviet-slider-arrow{
  z-index:5;
  width:52px;
  height:52px;
  background:rgba(139,7,20,.96);
}
.spviet-full-slider .spviet-slider-arrow.prev{left:24px}
.spviet-full-slider .spviet-slider-arrow.next{right:24px}
.spviet-full-dots{
  position:absolute;
  left:0;
  right:0;
  bottom:10px;
  z-index:6;
  padding:0;
}
.spviet-quick-links-under-slider{
  max-width:none;
  width:100%;
  margin:0;
  padding:0 clamp(20px, 6vw, 100px);
  background:#fff;
  border-bottom:1px solid rgba(0,0,0,.12);
}
.spviet-quick-links-under-slider .spviet-quick-links-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(110px, 1fr));
  gap:0;
  max-width:1200px;
  margin:0 auto;
}
.spviet-quick-links-under-slider .spviet-quick-link{
  min-height:76px;
  border-radius:0;
  box-shadow:none;
  background:#fff!important;
  color:var(--spv-quick,#8b0714)!important;
  border-right:1px solid rgba(0,0,0,.16);
  border-bottom:0;
  justify-content:center;
  gap:10px;
  text-align:center;
  padding:15px 12px;
}
.spviet-quick-links-under-slider .spviet-quick-link:first-child{
  border-left:1px solid rgba(0,0,0,.16);
}
.spviet-quick-links-under-slider .spviet-quick-link span{
  font-size:clamp(18px, 1.5vw, 26px);
  line-height:1.15;
}
.spviet-quick-links-under-slider .spviet-quick-link b{
  font-size:18px;
}
.spviet-quick-links-under-slider .spviet-quick-link:hover{
  background:color-mix(in srgb, var(--spv-quick,#8b0714) 8%, #fff)!important;
}
body.home .spviet-home-hero,
body.home .spviet-home-copy,
body.home .spviet-home-slider-wrap{
  display:none!important;
}

@media(max-width:900px){
  .spviet-full-slider-track{
    min-height:clamp(260px, 60vw, 500px);
  }
  .spviet-full-slider .spviet-slider-arrow{
    width:42px;
    height:42px;
  }
  .spviet-full-slider .spviet-slider-arrow.prev{left:12px}
  .spviet-full-slider .spviet-slider-arrow.next{right:12px}
  .spviet-quick-links-under-slider{
    padding:0 14px;
    background:#fff7e8;
    border-bottom:0;
  }
  .spviet-quick-links-under-slider .spviet-quick-links-grid{
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap:8px;
    padding:12px 0;
  }
  .spviet-quick-links-under-slider .spviet-quick-link{
    min-height:62px;
    border:0!important;
    border-radius:0;
    color:#fff!important;
    background:var(--spv-quick,#8b0714)!important;
    justify-content:space-between;
    padding:14px 16px;
  }
  .spviet-quick-links-under-slider .spviet-quick-link span{
    font-size:18px;
    color:#fff!important;
  }
  .spviet-quick-links-under-slider .spviet-quick-link b{
    color:#fff!important;
  }
}

@media(max-width:520px){
  .spviet-full-slider-track{
    min-height:260px;
  }
  .spviet-full-slide img{
    aspect-ratio:16/10;
  }
  .spviet-full-slide-caption{
    left:12px;
    right:12px;
    bottom:28px;
    transform:none;
    width:auto;
    padding:11px 13px;
    border-radius:14px;
  }
  .spviet-full-slider .spviet-slider-arrow{
    width:36px;
    height:36px;
    font-size:22px;
  }
  .spviet-quick-links-under-slider .spviet-quick-link{
    min-height:58px;
    padding:12px 14px;
  }
  .spviet-quick-links-under-slider .spviet-quick-link span{
    font-size:16px;
  }
}


/* SPVIET V6.1: fix oversized banner, restore login CTA, make slider autoplay selectors work */
.spviet-full-slider-section{
  background:#fff7e8!important;
  padding:0!important;
  overflow:hidden!important;
}
.spviet-full-slider{
  max-width:1500px!important;
  margin:0 auto!important;
  overflow:hidden!important;
  border-left:1px solid rgba(139,7,20,.08);
  border-right:1px solid rgba(139,7,20,.08);
}
.spviet-full-slider-track{
  min-height:0!important;
  height:clamp(310px, 31.5vw, 520px)!important;
}
.spviet-full-slide{
  overflow:hidden!important;
}
.spviet-full-slide img{
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  object-position:center center!important;
  transform:none!important;
}
.spviet-full-slide-caption{
  bottom:28px!important;
  width:min(760px, calc(100% - 110px))!important;
  left:50%!important;
  right:auto!important;
  transform:translateX(-50%)!important;
  padding:14px 20px!important;
}
.spviet-full-slider .spviet-slider-arrow{
  top:50%!important;
  transform:translateY(-50%)!important;
  z-index:20!important;
}
.spviet-full-dots{
  bottom:10px!important;
}
.spviet-login-cta-strip{
  background:#fffdf8;
  border-bottom:1px solid rgba(139,7,20,.10);
}
.spviet-login-cta-inner{
  max-width:1200px;
  margin:0 auto;
  padding:14px 20px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:14px;
  text-align:center;
  color:#5f4b4d;
  font-size:17px;
  font-weight:700;
}
.spviet-login-cta-inner a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:118px;
  padding:10px 18px;
  border-radius:999px;
  background:linear-gradient(135deg,#1fa34a,#0f7d32);
  color:#fff!important;
  font-weight:900;
  box-shadow:0 12px 25px rgba(23,128,56,.24);
}
.spviet-login-cta-inner a:hover{
  transform:translateY(-1px);
  box-shadow:0 16px 34px rgba(23,128,56,.32);
}
@media(max-width:900px){
  .spviet-full-slider{
    max-width:100%!important;
    border-left:0;
    border-right:0;
  }
  .spviet-full-slider-track{
    height:clamp(240px, 54vw, 420px)!important;
  }
  .spviet-full-slide-caption{
    width:min(680px, calc(100% - 82px))!important;
    bottom:28px!important;
  }
}
@media(max-width:560px){
  .spviet-full-slider-track{
    height:260px!important;
  }
  .spviet-full-slide-caption{
    width:calc(100% - 58px)!important;
    bottom:28px!important;
    padding:10px 13px!important;
  }
  .spviet-full-slide-caption strong{
    font-size:17px!important;
  }
  .spviet-full-slide-caption em{
    font-size:12px!important;
  }
  .spviet-login-cta-inner{
    padding:12px 14px;
    display:grid;
    gap:10px;
    font-size:14px;
  }
  .spviet-login-cta-inner a{
    width:max-content;
    margin:0 auto;
    min-width:126px;
  }
}


/* SPVIET V6.2: PC slider same width as menu, balanced height; mobile/tablet full width */
.spviet-logo-text{
  font-size:22px!important;
  letter-spacing:-.01em;
  white-space:nowrap;
}
.spviet-full-slider-section{
  background:#fff7e8!important;
  padding:0!important;
  border-bottom:0!important;
}
.spviet-full-slider{
  width:min(100%, 1200px)!important;
  max-width:1200px!important;
  margin:0 auto!important;
  border-left:1px solid rgba(139,7,20,.10)!important;
  border-right:1px solid rgba(139,7,20,.10)!important;
  border-bottom:1px solid rgba(139,7,20,.10)!important;
  border-radius:0!important;
  overflow:hidden!important;
}
.spviet-full-slider-track{
  height:clamp(300px, 28vw, 430px)!important;
}
.spviet-full-slide img{
  object-fit:cover!important;
  object-position:center center!important;
}
.spviet-full-slide-caption{
  width:min(680px, calc(100% - 110px))!important;
  bottom:24px!important;
}
.spviet-quick-links-under-slider{
  padding:0!important;
  max-width:1200px!important;
  margin:0 auto!important;
  background:#fff!important;
  border-left:1px solid rgba(0,0,0,.10)!important;
  border-right:1px solid rgba(0,0,0,.10)!important;
}
.spviet-quick-links-under-slider .spviet-quick-links-grid{
  max-width:1200px!important;
}
@media(max-width:1100px){
  .spviet-logo-text{
    font-size:20px!important;
  }
}
@media(max-width:900px){
  .spviet-full-slider{
    width:100%!important;
    max-width:none!important;
    border-left:0!important;
    border-right:0!important;
  }
  .spviet-full-slider-track{
    height:clamp(260px, 58vw, 460px)!important;
  }
  .spviet-quick-links-under-slider{
    width:100%!important;
    max-width:none!important;
    padding:0 14px!important;
    border-left:0!important;
    border-right:0!important;
    background:#fff7e8!important;
  }
}
@media(max-width:560px){
  .spviet-logo-text{
    font-size:17px!important;
    max-width:210px;
    overflow:hidden;
    text-overflow:ellipsis;
  }
  .spviet-full-slider-track{
    height:260px!important;
  }
}


/* SPVIET V8.0 - definitive mobile/PC quick-menu active contrast */
.spviet-quick-link.spviet-touch-active,
.spviet-quick-link.spviet-touch-loading,
.spviet-quick-link:active,
.spviet-quick-links-under-slider .spviet-quick-link.spviet-touch-active,
.spviet-quick-links-under-slider .spviet-quick-link.spviet-touch-loading,
.spviet-quick-links-under-slider .spviet-quick-link:active{background:#8b0714!important;background-image:linear-gradient(135deg,#8b0714,#5e0210)!important;color:#fff!important;border-color:#8b0714!important;opacity:1!important;filter:none!important;text-shadow:none!important;}
.spviet-quick-link.spviet-touch-active *, .spviet-quick-link.spviet-touch-loading *, .spviet-quick-links-under-slider .spviet-quick-link.spviet-touch-active *, .spviet-quick-links-under-slider .spviet-quick-link.spviet-touch-loading *{color:#fff!important;opacity:1!important;filter:none!important;}

/* SPVIET V8.2 DEEPFIX: mobile header compact + real touch contrast */
@media(max-width:782px){
  body.admin-bar .spviet-theme-header,
  .admin-bar .spviet-theme-header{top:0!important;margin-top:0!important;}
  .spviet-theme-header{top:0!important;margin-top:0!important;}
  .spviet-header-inner{min-height:86px!important;padding-top:10px!important;padding-bottom:10px!important;}
  .spviet-logo{gap:12px!important;}
  .spviet-logo-mark{width:54px!important;height:54px!important;border-radius:16px!important;}
  .spviet-logo-text{font-size:17px!important;max-width:230px!important;}
  .spviet-mobile-toggle{width:76px!important;height:76px!important;border-radius:0 0 0 22px!important;margin-left:auto!important;}
}
@media(max-width:430px){
  .spviet-header-inner{min-height:78px!important;padding:8px 14px!important;}
  .spviet-logo-mark{width:48px!important;height:48px!important;}
  .spviet-logo-text{font-size:15px!important;max-width:205px!important;}
  .spviet-mobile-toggle{width:68px!important;height:68px!important;}
}
.spviet-quick-link.spviet-touch-active-v82,
.spviet-quick-link.spviet-loading-v82,
.spviet-quick-link:active,
.spviet-quick-link:focus,
.spviet-quick-links-under-slider .spviet-quick-link.spviet-touch-active-v82,
.spviet-quick-links-under-slider .spviet-quick-link.spviet-loading-v82,
.spviet-quick-links-under-slider .spviet-quick-link:active,
.spviet-quick-links-under-slider .spviet-quick-link:focus{
  background:#8b0714!important;background-image:linear-gradient(135deg,#8b0714,#52010b)!important;color:#fff!important;opacity:1!important;filter:none!important;text-shadow:none!important;box-shadow:inset 0 0 0 999px rgba(139,7,20,.18),0 10px 24px rgba(139,7,20,.20)!important;
}
.spviet-quick-link.spviet-touch-active-v82 *,
.spviet-quick-link.spviet-loading-v82 *,
.spviet-quick-link:active *,
.spviet-quick-link:focus *,
.spviet-quick-links-under-slider .spviet-quick-link.spviet-touch-active-v82 *,
.spviet-quick-links-under-slider .spviet-quick-link.spviet-loading-v82 *{color:#fff!important;opacity:1!important;filter:none!important;}


/* =========================================================
   SPVIET V8.3 - FINAL MOBILE/TABLET STICKY HEADER + FOOTER
   ========================================================= */
@media (max-width: 1024px){
  html, body{overflow-x:hidden!important;}
  html[style]{margin-top:0!important;}
  body.admin-bar{padding-top:0!important;}
  #wpadminbar{position:fixed!important;top:0!important;}

  .spviet-theme-header{
    position:fixed!important;
    top:0!important;left:0!important;right:0!important;
    z-index:10020!important;
    margin:0!important;
    background:rgba(255,247,232,.98)!important;
    box-shadow:0 6px 20px rgba(112,18,28,.08)!important;
  }
  body.admin-bar .spviet-theme-header{top:46px!important;}
  .spviet-header-inner{
    min-height:86px!important;
    padding:10px 16px!important;
    display:flex!important;align-items:center!important;justify-content:space-between!important;
    gap:10px!important;
  }
  .spviet-logo{min-width:0!important;gap:12px!important;}
  .spviet-logo-mark{width:54px!important;height:54px!important;border-radius:16px!important;font-size:21px!important;}
  .spviet-logo-text{font-size:22px!important;line-height:1.15!important;white-space:nowrap!important;max-width:calc(100vw - 170px)!important;overflow:hidden!important;text-overflow:ellipsis!important;}
  .spviet-header-actions{min-height:0!important;padding:0!important;position:static!important;}
  .spviet-menu-toggle{
    position:relative!important;top:auto!important;right:auto!important;
    width:72px!important;height:72px!important;border-radius:0 0 0 24px!important;
    display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;
    background:linear-gradient(180deg,#c10b22,#8b0714)!important;color:#fff!important;
    box-shadow:0 12px 28px rgba(139,7,20,.18)!important;
  }
  .spviet-menu-toggle span{background:#fff!important;}
  .spviet-site-main{padding-top:88px!important;padding-bottom:86px!important;}
  body.admin-bar .spviet-site-main{padding-top:134px!important;}

  .spviet-mobile-footer-nav{
    position:fixed!important;left:0!important;right:0!important;bottom:0!important;
    z-index:10010!important;display:grid!important;grid-template-columns:repeat(3,1fr)!important;
    background:#0f3f8f!important;border-top:3px solid #f0d478!important;
    padding-bottom:env(safe-area-inset-bottom)!important;
  }
  .spviet-mobile-footer-nav a{min-height:68px!important;color:#fff!important;background:#0f3f8f!important;}

  /* slider: fit inside frame, no broken/cropped overflow */
  .spviet-full-slider-section{padding:0!important;margin:0 auto!important;max-width:100%!important;overflow:hidden!important;}
  .spviet-full-slider{width:100%!important;max-width:100%!important;margin:0!important;border-radius:0!important;overflow:hidden!important;}
  .spviet-full-slider-track{height:clamp(260px,42vw,380px)!important;min-height:260px!important;max-height:380px!important;overflow:hidden!important;border-radius:0!important;background:#fff7e8!important;}
  .spviet-full-slide{inset:0!important;width:100%!important;height:100%!important;display:block!important;overflow:hidden!important;}
  .spviet-full-slide img{width:100%!important;height:100%!important;object-fit:cover!important;object-position:center center!important;max-width:none!important;}
  .spviet-full-slide-caption{left:50%!important;right:auto!important;bottom:18px!important;transform:translateX(-50%)!important;width:min(76vw,720px)!important;max-width:76vw!important;}
  .spviet-full-slide-caption strong{font-size:clamp(22px,5.2vw,36px)!important;line-height:1.1!important;}
  .spviet-full-slide-caption em{font-size:clamp(14px,3vw,19px)!important;}
}

@media (max-width: 520px){
  .spviet-header-inner{min-height:78px!important;padding:8px 14px!important;}
  .spviet-logo-mark{width:46px!important;height:46px!important;border-radius:14px!important;}
  .spviet-logo-text{font-size:19px!important;max-width:calc(100vw - 148px)!important;}
  .spviet-menu-toggle{width:62px!important;height:62px!important;}
  .spviet-menu-toggle small{font-size:11px!important;letter-spacing:.08em!important;}
  .spviet-site-main{padding-top:78px!important;padding-bottom:84px!important;}
  body.admin-bar .spviet-site-main{padding-top:124px!important;}
  .spviet-full-slider-track{height:300px!important;min-height:300px!important;max-height:300px!important;}
  .spviet-full-slide img{object-fit:cover!important;}
}

@media (min-width: 1025px){
  .spviet-full-slider-section{max-width:1200px!important;margin:0 auto!important;padding:0!important;}
  .spviet-full-slider{border-radius:0!important;overflow:hidden!important;}
  .spviet-full-slider-track{height:360px!important;max-height:360px!important;overflow:hidden!important;}
  .spviet-full-slide img{width:100%!important;height:100%!important;object-fit:cover!important;object-position:center!important;}
}

/* SPVIET V8.5 Menu page hero slider */
.spviet-menu-intro-slider{position:relative;max-width:1180px;margin:0 auto 18px;border-radius:28px;overflow:hidden;border:1px solid rgba(155,0,21,.12);background:#fff7ea;box-shadow:0 22px 55px rgba(80,20,20,.10);height:clamp(240px,34vw,430px)}
.spviet-menu-intro-track,.spviet-menu-intro-slide{width:100%;height:100%;position:relative}.spviet-menu-intro-slide{display:none}.spviet-menu-intro-slide.active{display:block}.spviet-menu-intro-slide img{width:100%;height:100%;object-fit:cover;display:block}.spviet-menu-intro-caption{position:absolute;left:clamp(18px,5vw,70px);bottom:clamp(18px,4vw,48px);max-width:min(650px,78%);padding:18px 24px;border-radius:22px;background:rgba(255,255,255,.82);backdrop-filter:blur(8px);box-shadow:0 14px 35px rgba(50,20,20,.12)}.spviet-menu-intro-caption h2{margin:0 0 8px;color:#9b0015;font-size:clamp(26px,4vw,54px);font-weight:900;line-height:1.05}.spviet-menu-intro-caption p{margin:0;color:#3d2b2b;font-size:clamp(15px,2vw,24px);font-weight:800}.spviet-menu-intro-nav{position:absolute;top:50%;transform:translateY(-50%);width:46px;height:46px;border-radius:50%;border:none;background:#9b0015;color:#fff;font-size:34px;font-weight:900;display:flex;align-items:center;justify-content:center;z-index:3;box-shadow:0 12px 25px rgba(155,0,21,.28)}.spviet-menu-intro-nav.prev{left:14px}.spviet-menu-intro-nav.next{right:14px}.spviet-menu-intro-dots{position:absolute;left:0;right:0;bottom:10px;display:flex;justify-content:center;gap:10px;z-index:4}.spviet-menu-intro-dots button{width:12px;height:12px;border-radius:50%;border:0;background:rgba(255,255,255,.7);padding:0}.spviet-menu-intro-dots button.active{background:#9b0015}.page .spviet-menu-pro>.spviet-menu-toolbar{display:none!important}
@media(max-width:768px){.spviet-menu-intro-slider{height:260px;border-radius:0;margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw);max-width:100vw}.spviet-menu-intro-slide img{object-fit:cover}.spviet-menu-intro-caption{left:18px;right:18px;bottom:28px;max-width:none;padding:14px 16px}.spviet-menu-intro-nav{width:42px;height:42px}.spviet-menu-intro-nav.prev{left:10px}.spviet-menu-intro-nav.next{right:10px}}


/* =========================================================
   SPVIET V8.6 HOTFIX
   1) Nut menu mobile hien thi dung 3 gach ngang, khong bi thanh 1 khoi trang
   2) Bao ve cac trang shortcode tren mobile/tablet: khong tran khung, bang duoc keo ngang rieng
   ========================================================= */
.spviet-menu-toggle .spviet-menu-toggle-lines{
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  justify-content:center !important;
  gap:8px !important;
  width:46px !important;
  height:32px !important;
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
  padding:0 !important;
  margin:0 auto 6px !important;
  line-height:1 !important;
  overflow:visible !important;
}
.spviet-menu-toggle .spviet-menu-toggle-lines i,
.spviet-menu-toggle .spviet-menu-toggle-lines::before,
.spviet-menu-toggle .spviet-menu-toggle-lines::after{
  content:"" !important;
  display:block !important;
  width:42px !important;
  height:4px !important;
  min-height:4px !important;
  max-height:4px !important;
  border-radius:999px !important;
  background:#fff !important;
  box-shadow:0 1px 0 rgba(0,0,0,.08) !important;
  opacity:1 !important;
  transform:none !important;
}
.spviet-menu-toggle:hover .spviet-menu-toggle-lines,
.spviet-menu-toggle:active .spviet-menu-toggle-lines,
.spviet-menu-toggle:focus .spviet-menu-toggle-lines{background:transparent !important;}

.spviet-site-main,
.spviet-content,
.spviet-page,
.spviet-page-card,
.entry-content,
.wp-block-post-content{
  max-width:100% !important;
  box-sizing:border-box !important;
  overflow-x:clip;
}
.entry-content img,
.entry-content iframe,
.entry-content video,
.wp-block-post-content img,
.wp-block-post-content iframe,
.wp-block-post-content video{
  max-width:100% !important;
  height:auto !important;
}
.entry-content table,
.wp-block-post-content table,
.spviet-shortcode-safe table{
  width:max-content;
  max-width:none;
  border-collapse:collapse;
}
.spviet-shortcode-safe,
.entry-content .spviet-shortcode-safe,
.wp-block-post-content .spviet-shortcode-safe,
.entry-content .spviet-table-scroll,
.wp-block-post-content .spviet-table-scroll{
  width:100% !important;
  max-width:100% !important;
  overflow-x:auto !important;
  overflow-y:visible !important;
  -webkit-overflow-scrolling:touch !important;
  box-sizing:border-box !important;
}
@media (max-width: 900px){
  .spviet-page-card,
  .entry-content,
  .wp-block-post-content{
    width:100% !important;
    max-width:100vw !important;
    padding-left:14px !important;
    padding-right:14px !important;
    overflow-x:clip !important;
  }
  .entry-content > *,
  .wp-block-post-content > *{
    max-width:100% !important;
    box-sizing:border-box !important;
  }
  .entry-content table,
  .wp-block-post-content table{
    display:table !important;
    min-width:640px !important;
  }
}
@media (max-width: 540px){
  .spviet-brand-text{font-size:clamp(17px,4.6vw,24px) !important;}
  .spviet-menu-toggle{width:78px !important;height:92px !important;min-width:78px !important;}
  .spviet-menu-toggle .spviet-menu-toggle-lines{width:38px !important;gap:7px !important;}
  .spviet-menu-toggle .spviet-menu-toggle-lines i,
  .spviet-menu-toggle .spviet-menu-toggle-lines::before,
  .spviet-menu-toggle .spviet-menu-toggle-lines::after{width:36px !important;height:3.5px !important;min-height:3.5px !important;}
}


/* =========================================================
   SPVIET V8.7 HOTFIX - Mobile menu icon + shortcode fit
   ========================================================= */

/* Mobile hamburger: exactly 3 clear lines, never 5 lines */
.spviet-menu-toggle .spviet-menu-lines,
.spviet-mobile-menu-toggle .spviet-menu-lines,
.spviet-nav-toggle .spviet-menu-lines{
  position:relative!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  width:42px!important;
  height:34px!important;
}
.spviet-menu-toggle .spviet-menu-lines:before,
.spviet-menu-toggle .spviet-menu-lines:after,
.spviet-mobile-menu-toggle .spviet-menu-lines:before,
.spviet-mobile-menu-toggle .spviet-menu-lines:after,
.spviet-nav-toggle .spviet-menu-lines:before,
.spviet-nav-toggle .spviet-menu-lines:after{
  content:none!important;
  display:none!important;
}
.spviet-menu-toggle .spviet-menu-lines i,
.spviet-mobile-menu-toggle .spviet-menu-lines i,
.spviet-nav-toggle .spviet-menu-lines i{
  display:block!important;
  width:34px!important;
  height:4px!important;
  min-height:4px!important;
  border-radius:999px!important;
  background:#fff!important;
  opacity:1!important;
  transform:none!important;
  margin:0!important;
  box-shadow:0 1px 0 rgba(0,0,0,.12)!important;
}
.spviet-mobile-menu-button,
.spviet-menu-toggle,
.spviet-mobile-menu-toggle,
.spviet-nav-toggle{
  overflow:hidden!important;
}

/* Shortcode safety: do not let plugin shortcodes break the mobile viewport */
html, body{
  max-width:100%!important;
  overflow-x:hidden!important;
}
.spviet-page-shell,
.spviet-page-content,
.entry-content,
.page-content,
.wp-site-blocks,
.site-main,
#page,
#content{
  max-width:100%!important;
  overflow-x:hidden!important;
  box-sizing:border-box!important;
}
.spviet-page-content *,
.entry-content *,
.page-content *{
  box-sizing:border-box!important;
}
.spviet-page-content img,
.entry-content img,
.page-content img,
.spviet-page-content canvas,
.entry-content canvas,
.page-content canvas,
.spviet-page-content video,
.entry-content video,
.page-content video,
.spviet-page-content iframe,
.entry-content iframe,
.page-content iframe{
  max-width:100%!important;
  height:auto!important;
}

@media (max-width: 782px){
  /* keep header compact on mobile/tablet */
  .spviet-site-header,
  .spviet-main-header,
  .spviet-header-inner{
    min-height:0!important;
  }
  .spviet-header-inner{
    padding-top:14px!important;
    padding-bottom:14px!important;
  }

  /* Any shortcode card generated by plugins must fit inside screen */
  .spviet-page-shell{
    width:100%!important;
    max-width:100%!important;
    padding-left:10px!important;
    padding-right:10px!important;
  }
  .spviet-page-content,
  .entry-content,
  .page-content{
    width:100%!important;
    max-width:100%!important;
    padding-left:0!important;
    padding-right:0!important;
  }
  .spviet-page-content > *,
  .entry-content > *,
  .page-content > *,
  .spviet-page-content .spviet-loyalty-wrap,
  .spviet-page-content .spviet-loyalty-dashboard,
  .spviet-page-content .spviet-member-card,
  .spviet-page-content .spviet-member-page,
  .spviet-page-content .spviet-qr-card,
  .spviet-page-content .spviet-qr-wrapper,
  .spviet-page-content .spviet-reservation-wrap,
  .spviet-page-content .spviet-booking-wrap,
  .spviet-page-content .woocommerce,
  .entry-content .spviet-loyalty-wrap,
  .entry-content .spviet-loyalty-dashboard,
  .entry-content .spviet-member-card,
  .entry-content .spviet-member-page,
  .entry-content .spviet-qr-card,
  .entry-content .spviet-qr-wrapper,
  .entry-content .spviet-reservation-wrap,
  .entry-content .spviet-booking-wrap,
  .entry-content .woocommerce{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin-left:auto!important;
    margin-right:auto!important;
    transform:none!important;
  }

  /* Flex/grid shortcodes must become single column instead of overflowing right side */
  .spviet-page-content [class*="grid"],
  .entry-content [class*="grid"],
  .page-content [class*="grid"]{
    max-width:100%!important;
  }
  .spviet-page-content .spviet-loyalty-dashboard,
  .spviet-page-content .spviet-member-card,
  .spviet-page-content .spviet-qr-card,
  .spviet-page-content .spviet-reservation-wrap,
  .entry-content .spviet-loyalty-dashboard,
  .entry-content .spviet-member-card,
  .entry-content .spviet-qr-card,
  .entry-content .spviet-reservation-wrap{
    padding-left:14px!important;
    padding-right:14px!important;
  }

  /* Tables: keep the page width fixed; table scrolls inside its own box if needed */
  .spviet-page-content table,
  .entry-content table,
  .page-content table{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    overflow-x:auto!important;
    -webkit-overflow-scrolling:touch!important;
    white-space:normal!important;
  }
  .spviet-page-content th,
  .spviet-page-content td,
  .entry-content th,
  .entry-content td,
  .page-content th,
  .page-content td{
    max-width:44vw!important;
    overflow-wrap:anywhere!important;
    word-break:break-word!important;
    white-space:normal!important;
    padding-left:10px!important;
    padding-right:10px!important;
  }

  /* QR/member pages: scale large QR images and cards into the viewport */
  .spviet-page-content .qrcode,
  .spviet-page-content .qr-code,
  .spviet-page-content [class*="qr"] img,
  .entry-content .qrcode,
  .entry-content .qr-code,
  .entry-content [class*="qr"] img{
    max-width:min(78vw, 320px)!important;
    width:auto!important;
    height:auto!important;
  }

  /* Prevent long POS/order IDs from forcing horizontal scroll */
  .spviet-page-content,
  .entry-content,
  .page-content{
    overflow-wrap:anywhere!important;
    word-break:normal!important;
  }
}


/* =========================================================
   SPVIET V9.9.5 - WooCommerce Menu Pro Layout
   ========================================================= */
body.page-slug-our-menu .spviet-site-main,
body.page-template-page-our-menu .spviet-site-main{overflow-x:hidden}.spviet-menu-page-pro{width:100%;overflow:hidden}.spviet-wc-menu-pro{width:100%;padding:22px 16px 70px;clear:both;overflow:hidden}.spviet-wc-menu-shell{width:min(1200px,calc(100vw - 32px));max-width:1200px;margin:0 auto;background:rgba(255,253,248,.93);border:1px solid rgba(139,7,20,.13);border-radius:32px;padding:28px;box-shadow:0 22px 54px rgba(64,15,18,.11);overflow:hidden}.spviet-wc-menu-head{text-align:center;margin:0 auto 20px;max-width:820px}.spviet-wc-kicker{display:inline-flex;align-items:center;justify-content:center;margin-bottom:8px;padding:7px 14px;border-radius:999px;background:#fff2d1;border:1px solid rgba(216,169,50,.45);font-weight:900;color:#8b0714}.spviet-wc-menu-head h1{margin:0;color:#8b0714;font-size:clamp(32px,4vw,52px);font-weight:950;line-height:1.08;letter-spacing:-.03em}.spviet-wc-menu-head p{margin:10px auto 0;color:#5d494a;font-size:16px;line-height:1.65}.spviet-wc-toolbar{display:grid;grid-template-columns:minmax(0,1fr) 220px;gap:14px;align-items:center;margin:22px auto 14px;max-width:860px}.spviet-wc-search{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid rgba(139,7,20,.18);border-radius:999px;padding:10px 16px;box-shadow:0 10px 24px rgba(64,15,18,.06)}.spviet-wc-search input{border:0;outline:0;background:transparent;width:100%;font-size:15px;color:#281315}.spviet-wc-toolbar select{width:100%;border:1px solid rgba(139,7,20,.18);background:#fff;color:#281315;border-radius:999px;padding:12px 14px;font-weight:800;outline:0}.spviet-wc-cat-tabs{display:flex;gap:10px;align-items:center;overflow-x:auto;padding:10px 2px 16px;margin:0 0 12px;scrollbar-width:thin}.spviet-wc-cat-tabs button{flex:0 0 auto;border:1px solid rgba(139,7,20,.18);background:#fff;color:#281315;border-radius:999px;padding:11px 18px;font-weight:900;cursor:pointer;box-shadow:none}.spviet-wc-cat-tabs button.is-active,.spviet-wc-cat-tabs button:hover{background:#8b0714;color:#fff;border-color:#8b0714;box-shadow:0 12px 24px rgba(139,7,20,.18)}.spviet-wc-layout{display:grid;grid-template-columns:280px minmax(0,1fr);gap:26px;align-items:start;max-width:100%;min-width:0}.spviet-wc-filter-panel{display:grid;gap:18px;min-width:0}.spviet-wc-filter-card{background:#10463b;border:1px solid rgba(216,169,50,.65);border-radius:14px;overflow:hidden;color:#fff}.spviet-wc-filter-card h3{margin:0;padding:14px 18px;background:#d9a246;color:#fff;font-size:18px;font-weight:950;letter-spacing:.01em}.spviet-wc-filter-card label{display:flex;align-items:center;gap:10px;padding:10px 18px;font-weight:800;cursor:pointer;line-height:1.35}.spviet-wc-filter-card label:first-of-type{padding-top:16px}.spviet-wc-filter-card label:last-of-type{padding-bottom:16px}.spviet-wc-filter-card input[type="checkbox"]{width:17px;height:17px;accent-color:#8b0714;flex:0 0 auto}.spviet-wc-filter-small button{margin:8px 18px 18px;border:0;border-radius:999px;background:#fff;color:#8b0714;font-weight:900;padding:10px 14px;cursor:pointer}.spviet-wc-products-area{min-width:0;max-width:100%;overflow:hidden}.spviet-wc-cat-section{margin:0 0 34px}.spviet-wc-cat-section[hidden],.spviet-wc-menu-card[hidden],.spviet-wc-no-result[hidden]{display:none!important}.spviet-wc-cat-heading{display:flex;align-items:end;justify-content:space-between;gap:14px;margin:0 0 14px;padding:0 2px 10px;border-bottom:2px solid rgba(139,7,20,.12)}.spviet-wc-cat-heading h2{margin:0;color:#8b0714;font-size:clamp(24px,2.6vw,34px);font-weight:950;line-height:1.15}.spviet-wc-cat-heading p{margin:0;color:#6c5659;max-width:560px}.spviet-wc-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;min-width:0}.spviet-wc-menu-card{min-width:0;background:#fff;border:1px solid rgba(139,7,20,.1);border-radius:0;overflow:hidden;box-shadow:0 12px 30px rgba(64,15,18,.08);display:flex;flex-direction:column;transition:transform .18s ease,box-shadow .18s ease}.spviet-wc-menu-card:hover{transform:translateY(-3px);box-shadow:0 18px 40px rgba(64,15,18,.14)}.spviet-wc-card-media{position:relative;display:block;width:100%;aspect-ratio:4/3;background:linear-gradient(135deg,#a73a25,#e5ad3e);overflow:hidden}.spviet-wc-card-media img{width:100%;height:100%;object-fit:cover;display:block}.spviet-wc-card-noimg{display:grid;place-items:center;width:100%;height:100%;color:#fff;font-size:22px;font-weight:950;letter-spacing:.08em}.spviet-wc-sale-badge{position:absolute;right:12px;top:12px;background:#df3b3f;color:#fff;border-radius:10px;padding:6px 10px;font-weight:950;box-shadow:0 8px 18px rgba(0,0,0,.16)}.spviet-wc-card-body{display:flex;flex-direction:column;gap:10px;flex:1;padding:18px}.spviet-wc-card-body h3{margin:0;color:#1d1516;font-size:20px;font-weight:950;line-height:1.35}.spviet-wc-card-body h3 a{color:inherit;text-decoration:none}.spviet-wc-card-body p{margin:0;color:#403234;font-size:15px;line-height:1.65;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}.spviet-wc-card-bottom{margin-top:auto;display:grid;gap:12px;align-items:center}.spviet-wc-card-price{display:block;color:#d33f45;font-size:20px;font-weight:950}.spviet-wc-card-price del{font-size:.78em;color:#928184;margin-left:6px}.spviet-wc-card-price ins{text-decoration:none}.spviet-wc-detail-btn{display:inline-flex;align-items:center;justify-content:center;width:max-content;max-width:100%;padding:10px 18px;border-radius:10px;background:#d9a246;color:#fff!important;font-weight:950;text-decoration:none;box-shadow:0 8px 18px rgba(150,94,22,.18)}.spviet-wc-empty,.spviet-wc-no-result{background:#fff4ef;border:1px dashed rgba(139,7,20,.25);border-radius:18px;padding:20px;color:#7c2528;font-weight:800;line-height:1.6}.spviet-wc-no-result{margin-top:16px}.spviet-page-shell,.spviet-content-card,.spviet-page-content,.entry-content{max-width:100%;min-width:0}.woocommerce ul.products,.woocommerce-page ul.products{max-width:100%!important;margin-left:0!important;margin-right:0!important;display:grid!important;grid-template-columns:repeat(auto-fit,minmax(220px,1fr))!important;gap:22px!important}.woocommerce ul.products li.product,.woocommerce-page ul.products li.product{width:auto!important;float:none!important;margin:0!important;clear:none!important;min-width:0!important}.woocommerce .products::before,.woocommerce .products::after{display:none!important}@media(max-width:1100px){.spviet-wc-layout{grid-template-columns:240px minmax(0,1fr);gap:18px}.spviet-wc-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.spviet-wc-menu-shell{padding:22px}}@media(max-width:820px){.spviet-wc-menu-pro{padding:14px 10px 90px}.spviet-wc-menu-shell{width:100%;border-radius:24px;padding:16px}.spviet-wc-toolbar{grid-template-columns:1fr;max-width:100%}.spviet-wc-layout{grid-template-columns:1fr}.spviet-wc-filter-panel{grid-template-columns:1fr}.spviet-wc-filter-card h3{font-size:16px}.spviet-wc-cat-heading{display:block}.spviet-wc-cat-heading p{margin-top:6px}.spviet-wc-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.spviet-wc-card-body{padding:14px}.spviet-wc-card-body h3{font-size:17px}.spviet-wc-card-body p{font-size:14px;-webkit-line-clamp:3}.spviet-wc-card-price{font-size:18px}}@media(max-width:520px){.spviet-wc-grid{grid-template-columns:1fr}.spviet-wc-cat-tabs button{padding:10px 14px}.spviet-wc-filter-card label{font-size:15px}.spviet-wc-card-media{aspect-ratio:16/10}}


/* =========================================================
   SPVIET V9.9.6 - Product detail clean + order buttons + header color pills
   ========================================================= */
.spviet-primary-nav .spviet-menu-list{
  display:flex!important;
  flex-wrap:wrap!important;
  gap:10px!important;
  align-items:center!important;
  justify-content:center!important;
}
.spviet-primary-nav .spviet-menu-list>li{margin:0!important;list-style:none!important;}
.spviet-primary-nav .spviet-menu-list>li>a{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:44px!important;
  padding:11px 18px!important;
  border-radius:999px!important;
  color:#fff!important;
  font-weight:950!important;
  text-decoration:none!important;
  border:1px solid rgba(255,255,255,.46)!important;
  box-shadow:0 12px 22px rgba(64,15,18,.12)!important;
  transition:transform .16s ease, filter .16s ease, box-shadow .16s ease!important;
  white-space:nowrap!important;
}
.spviet-primary-nav .spviet-menu-list>li>a:hover,
.spviet-primary-nav .spviet-menu-list>li.current-menu-item>a{
  transform:translateY(-2px)!important;
  filter:saturate(1.14) brightness(1.04)!important;
  box-shadow:0 16px 28px rgba(64,15,18,.2)!important;
}
.spviet-primary-nav .spviet-menu-list>li:nth-child(6n+1)>a{background:#8b0714!important;}
.spviet-primary-nav .spviet-menu-list>li:nth-child(6n+2)>a{background:#d9a246!important;}
.spviet-primary-nav .spviet-menu-list>li:nth-child(6n+3)>a{background:#0f6fb4!important;}
.spviet-primary-nav .spviet-menu-list>li:nth-child(6n+4)>a{background:#139745!important;}
.spviet-primary-nav .spviet-menu-list>li:nth-child(6n+5)>a{background:#8e3cc8!important;}
.spviet-primary-nav .spviet-menu-list>li:nth-child(6n+6)>a{background:#e46b27!important;}
.spviet-header-inner{gap:16px!important;}
.spviet-header-actions .spviet-order-btn{background:#8b0714!important;border-radius:999px!important;box-shadow:0 14px 30px rgba(139,7,20,.22)!important;}

.spviet-wc-card-media img{background:#fff9ef;}
.spviet-wc-card-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;align-items:center;}
.spviet-wc-card-actions a{min-width:0!important;white-space:nowrap!important;}
.spviet-wc-detail-btn,
.spviet-wc-order-btn{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  min-height:46px!important;
  padding:10px 12px!important;
  border-radius:12px!important;
  color:#fff!important;
  font-weight:950!important;
  text-decoration:none!important;
  line-height:1.1!important;
  border:0!important;
  box-shadow:0 8px 18px rgba(150,94,22,.18)!important;
}
.spviet-wc-detail-btn{background:#d9a246!important;}
.spviet-wc-order-btn{background:#139745!important;}
.spviet-wc-order-btn:hover,.spviet-wc-detail-btn:hover{filter:brightness(1.04);transform:translateY(-1px);}
.woocommerce a.added_to_cart{display:none!important;}

.spviet-woo-page-shell{
  width:100%;
  padding:34px 16px 80px;
  background:linear-gradient(180deg,#fff9ef 0%,#fffdf8 100%);
  overflow:hidden;
}
.spviet-woo-content-card{
  width:min(1180px,calc(100vw - 32px));
  margin:0 auto;
  background:rgba(255,253,248,.96);
  border:1px solid rgba(139,7,20,.14);
  border-radius:30px;
  padding:30px;
  box-shadow:0 22px 54px rgba(64,15,18,.10);
  overflow:hidden;
}
.spviet-woocommerce-page .widget,
.spviet-woocommerce-page .sidebar,
.spviet-woocommerce-page #sidebar,
.spviet-woocommerce-page .secondary,
.spviet-woocommerce-page aside.widget-area,
.spviet-single-product-page .widget,
.spviet-single-product-page .sidebar,
.spviet-single-product-page #sidebar,
.spviet-single-product-page .secondary,
.spviet-single-product-page aside.widget-area{
  display:none!important;
}
.spviet-woocommerce-page .woocommerce,
.spviet-single-product-page .woocommerce{
  width:100%!important;
  max-width:100%!important;
  margin:0!important;
  float:none!important;
  clear:both!important;
}
.spviet-woocommerce-page .woocommerce div.product,
.spviet-single-product-page .woocommerce div.product{
  display:grid!important;
  grid-template-columns:minmax(280px,480px) minmax(0,1fr)!important;
  gap:34px!important;
  align-items:start!important;
  width:100%!important;
  max-width:100%!important;
}
.spviet-woocommerce-page .woocommerce div.product div.images,
.spviet-single-product-page .woocommerce div.product div.images,
.spviet-woocommerce-page .woocommerce div.product div.summary,
.spviet-single-product-page .woocommerce div.product div.summary{
  width:100%!important;
  float:none!important;
  margin:0!important;
  min-width:0!important;
}
.spviet-woocommerce-page .woocommerce div.product div.images img,
.spviet-single-product-page .woocommerce div.product div.images img{
  width:100%!important;
  height:auto!important;
  border-radius:22px!important;
  border:1px solid rgba(139,7,20,.12)!important;
  background:#fff9ef!important;
  object-fit:cover!important;
}
.spviet-woocommerce-page .product_title,
.spviet-single-product-page .product_title{
  color:#8b0714!important;
  font-size:clamp(30px,4vw,52px)!important;
  line-height:1.08!important;
  font-weight:950!important;
  margin:0 0 14px!important;
}
.spviet-woocommerce-page .price,
.spviet-single-product-page .price{
  color:#d33f45!important;
  font-size:28px!important;
  font-weight:950!important;
}
.spviet-woocommerce-page .single_add_to_cart_button,
.spviet-single-product-page .single_add_to_cart_button{
  background:#139745!important;
  color:#fff!important;
  border-radius:999px!important;
  min-height:50px!important;
  padding:12px 24px!important;
  font-weight:950!important;
  border:0!important;
}
.spviet-woocommerce-page .quantity .qty,
.spviet-single-product-page .quantity .qty{
  min-height:48px!important;
  border-radius:14px!important;
  border:1px solid rgba(139,7,20,.18)!important;
  padding:8px!important;
}
.spviet-woocommerce-page .woocommerce-tabs,
.spviet-single-product-page .woocommerce-tabs,
.spviet-woocommerce-page .related.products,
.spviet-single-product-page .related.products{
  grid-column:1/-1!important;
  width:100%!important;
  max-width:100%!important;
}
@media(max-width:1020px){
  .spviet-primary-nav .spviet-menu-list>li>a{padding:10px 13px!important;font-size:14px!important;}
  .spviet-woocommerce-page .woocommerce div.product,
  .spviet-single-product-page .woocommerce div.product{grid-template-columns:1fr!important;}
}
@media(max-width:720px){
  .spviet-woo-page-shell{padding:18px 10px 90px;}
  .spviet-woo-content-card{width:100%;padding:16px;border-radius:22px;}
  .spviet-wc-card-actions{grid-template-columns:1fr;}
}

/* =========================================================
   SPVIET V9.9.7 - Product fixed cards + home random Woo grid
   ========================================================= */
.spviet-img-fallback-active{object-fit:cover!important;background:#fff7e8!important;}

/* Khung ảnh sản phẩm cố định trên trang chi tiết */
.spviet-single-product-page .woocommerce div.product div.images,
.spviet-woocommerce-page .woocommerce div.product div.images{
  align-self:stretch!important;
}
.spviet-single-product-page .woocommerce div.product div.images .woocommerce-product-gallery__wrapper,
.spviet-woocommerce-page .woocommerce div.product div.images .woocommerce-product-gallery__wrapper{
  display:grid!important;
  gap:14px!important;
}
.spviet-single-product-page .woocommerce div.product div.images .woocommerce-product-gallery__image,
.spviet-woocommerce-page .woocommerce div.product div.images .woocommerce-product-gallery__image{
  width:100%!important;
  border-radius:22px!important;
  overflow:hidden!important;
  background:#fff7e8!important;
  border:1px solid rgba(139,7,20,.12)!important;
}
.spviet-single-product-page .woocommerce div.product div.images .woocommerce-product-gallery__image:first-child,
.spviet-woocommerce-page .woocommerce div.product div.images .woocommerce-product-gallery__image:first-child{
  aspect-ratio:4/3!important;
  min-height:320px!important;
}
.spviet-single-product-page .woocommerce div.product div.images .woocommerce-product-gallery__image:first-child img,
.spviet-woocommerce-page .woocommerce div.product div.images .woocommerce-product-gallery__image:first-child img{
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  border-radius:0!important;
  border:0!important;
}

/* Product loop / related products: ảnh cố định, nút Đặt Món đồng hàng góc phải dưới */
.woocommerce ul.products,
.woocommerce-page ul.products,
.spviet-single-product-page .related.products ul.products,
.spviet-woocommerce-page .related.products ul.products{
  display:grid!important;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr))!important;
  gap:24px!important;
  align-items:stretch!important;
  clear:both!important;
}
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product,
.spviet-single-product-page .related.products ul.products li.product,
.spviet-woocommerce-page .related.products ul.products li.product{
  display:flex!important;
  flex-direction:column!important;
  min-height:420px!important;
  padding:0 0 18px!important;
  margin:0!important;
  width:auto!important;
  float:none!important;
  border-radius:0!important;
  overflow:hidden!important;
  background:#fffdf8!important;
  border:1px solid rgba(139,7,20,.10)!important;
  box-shadow:0 14px 32px rgba(64,15,18,.08)!important;
}
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link,
.woocommerce-page ul.products li.product a.woocommerce-LoopProduct-link{
  display:flex!important;
  flex-direction:column!important;
  flex:1 1 auto!important;
  min-height:0!important;
}
.woocommerce ul.products li.product a img,
.woocommerce-page ul.products li.product a img{
  display:block!important;
  width:100%!important;
  height:190px!important;
  min-height:190px!important;
  max-height:190px!important;
  object-fit:cover!important;
  margin:0!important;
  background:#fff7e8!important;
  border:0!important;
  border-radius:0!important;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce-page ul.products li.product .woocommerce-loop-product__title{
  min-height:56px!important;
  padding:16px 18px 4px!important;
  margin:0!important;
  color:#1d1516!important;
  font-size:18px!important;
  font-weight:950!important;
  line-height:1.35!important;
  display:-webkit-box!important;
  -webkit-line-clamp:2!important;
  -webkit-box-orient:vertical!important;
  overflow:hidden!important;
}
.woocommerce ul.products li.product .price,
.woocommerce-page ul.products li.product .price{
  display:block!important;
  padding:8px 18px 0!important;
  margin-top:auto!important;
  color:#d33f45!important;
  font-size:21px!important;
  font-weight:950!important;
}
.woocommerce ul.products li.product .button,
.woocommerce-page ul.products li.product .button,
.woocommerce ul.products li.product a.button,
.woocommerce-page ul.products li.product a.button{
  align-self:flex-end!important;
  margin:14px 18px 0 auto!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:42px!important;
  padding:10px 18px!important;
  border-radius:10px!important;
  background:#139745!important;
  color:#fff!important;
  font-weight:950!important;
  border:0!important;
  box-shadow:0 9px 20px rgba(19,151,69,.18)!important;
  white-space:nowrap!important;
}
.woocommerce ul.products li.product a.added_to_cart,
.woocommerce-page ul.products li.product a.added_to_cart{display:none!important;}

/* Trang menu tự dựng: giữ chiều cao card đồng đều và nút ở đáy */
.spviet-wc-menu-card{height:100%!important;min-height:440px!important;}
.spviet-wc-card-media{aspect-ratio:4/3!important;min-height:178px!important;}
.spviet-wc-card-body{min-height:250px!important;}
.spviet-wc-card-actions{margin-top:auto!important;}

/* Home Shopping Center: bỏ dòng chữ cũ, thay bằng 2 hàng x 4 món random */
.spviet-home-shopping-center{
  width:min(1200px,calc(100vw - 32px));
  margin:32px auto 34px;
  padding:34px 36px 38px;
  background:rgba(255,253,248,.96);
  border:1px solid rgba(139,7,20,.11);
  border-radius:30px;
  box-shadow:0 22px 54px rgba(64,15,18,.10);
  overflow:hidden;
}
.spviet-home-shopping-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:7px 13px;
  border-radius:999px;
  background:#fff2d1;
  border:1px solid rgba(216,169,50,.52);
  color:#8b0714;
  font-size:13px;
  font-weight:950;
  margin-bottom:16px;
}
.spviet-home-shopping-center h1{
  margin:0 0 24px;
  color:#a20a1b;
  font-size:clamp(38px,5vw,72px);
  line-height:1.04;
  letter-spacing:-.045em;
  font-weight:950;
}
.spviet-home-products-wrap{transition:opacity .22s ease;}
.spviet-home-shopping-center.is-refreshing .spviet-home-products-wrap{opacity:.45;}
.spviet-home-products-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:18px;
  align-items:stretch;
}
.spviet-home-product-card{
  min-width:0;
  min-height:300px;
  display:flex;
  flex-direction:column;
  background:#fff;
  border:1px solid rgba(139,7,20,.10);
  border-radius:18px;
  overflow:hidden;
  box-shadow:0 12px 28px rgba(64,15,18,.08);
}
.spviet-home-product-media{
  display:block;
  width:100%;
  aspect-ratio:4/3;
  background:#fff7e8;
  overflow:hidden;
}
.spviet-home-product-media img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.spviet-home-product-body{
  flex:1;
  display:flex;
  flex-direction:column;
  gap:8px;
  padding:13px 14px 14px;
}
.spviet-home-product-body h3{
  margin:0;
  min-height:44px;
  color:#1d1516;
  font-size:16px;
  font-weight:950;
  line-height:1.35;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.spviet-home-product-price{
  color:#d33f45;
  font-size:17px;
  font-weight:950;
  margin-top:auto;
}
.spviet-home-product-price del{font-size:.78em;color:#9a8b8e;margin-left:5px;}
.spviet-home-product-price ins{text-decoration:none;}
.spviet-home-product-actions{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
  margin-top:4px;
}
.spviet-home-product-detail,
.spviet-home-product-order{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:38px!important;
  padding:8px 10px!important;
  border-radius:10px!important;
  color:#fff!important;
  font-weight:950!important;
  font-size:13px!important;
  line-height:1.1!important;
  text-decoration:none!important;
  border:0!important;
  white-space:nowrap!important;
}
.spviet-home-product-detail{background:#d9a246!important;}
.spviet-home-product-order{background:#139745!important;}
.spviet-home-products-empty{
  padding:22px;
  background:#fff4ef;
  color:#7c2528;
  border:1px dashed rgba(139,7,20,.25);
  border-radius:18px;
  font-weight:850;
}
@media(max-width:1100px){
  .spviet-home-products-grid{grid-template-columns:repeat(3,minmax(0,1fr));}
}
@media(max-width:820px){
  .spviet-home-shopping-center{width:calc(100vw - 20px);padding:22px 16px;border-radius:24px;}
  .spviet-home-products-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;}
  .spviet-home-product-actions{grid-template-columns:1fr;}
  .spviet-home-shopping-center h1{font-size:clamp(32px,8vw,48px);}
  .spviet-single-product-page .woocommerce div.product div.images .woocommerce-product-gallery__image:first-child,
  .spviet-woocommerce-page .woocommerce div.product div.images .woocommerce-product-gallery__image:first-child{min-height:240px!important;}
}
@media(max-width:520px){
  .spviet-home-products-grid{grid-template-columns:1fr;}
  .woocommerce ul.products,
  .woocommerce-page ul.products{grid-template-columns:1fr!important;}
}

/* =========================================================
   SPVIET V9.9.16 - Shop page uses Menu Pro catalog/filter layout
   ========================================================= */
.spviet-woo-shop-catalog-card{
  width:min(1280px,calc(100vw - 32px))!important;
  padding:0!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  overflow:visible!important;
}
.spviet-woo-shop-catalog-card .spviet-wc-menu-pro{
  padding:0 0 70px!important;
}
.spviet-woo-shop-catalog-card .spviet-wc-menu-shell{
  width:100%!important;
  max-width:1280px!important;
}
.spviet-wc-cat-title{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  margin:4px 0 4px;
  padding:7px 13px;
  border-radius:999px;
  background:#fff2d1;
  border:1px solid rgba(216,169,50,.55);
  color:#8b0714;
  font-weight:950;
  font-size:13px;
  letter-spacing:.03em;
}
.spviet-wc-menu-mode-shop .spviet-wc-menu-head{
  text-align:left!important;
  max-width:none!important;
  margin-bottom:18px!important;
}
.spviet-wc-menu-mode-shop .spviet-wc-toolbar{
  max-width:none!important;
  grid-template-columns:minmax(0,1fr) 240px!important;
}
.spviet-wc-menu-mode-shop .spviet-wc-cat-tabs{
  border-bottom:1px solid rgba(139,7,20,.10);
  margin-bottom:18px!important;
}
.spviet-wc-card-actions{
  display:grid!important;
  grid-template-columns:1fr 1fr!important;
  gap:8px!important;
  align-items:center!important;
}
.spviet-wc-detail-btn,
.spviet-wc-order-btn{
  width:100%!important;
  min-height:40px!important;
  text-align:center!important;
}
@media(max-width:820px){
  .spviet-woo-shop-catalog-card{width:100%!important;}
  .spviet-wc-menu-mode-shop .spviet-wc-toolbar{grid-template-columns:1fr!important;}
}
@media(max-width:520px){
  .spviet-wc-card-actions{grid-template-columns:1fr!important;}
}

/* =========================================================
   SPVIET V9.9.23 - Mobile simplification + editable header logo
   ========================================================= */
.spviet-logo-mark-img{
  overflow:hidden!important;
  background:#fff!important;
  border:1px solid rgba(139,7,20,.12)!important;
  padding:3px!important;
}
.spviet-logo-mark-img img{
  width:100%!important;
  height:100%!important;
  object-fit:contain!important;
  border-radius:inherit!important;
}

@media(max-width:820px){
  /* An bo loc ben trai tren trang Menu va Shop de mobile gon, de khach truy cap nhanh */
  .spviet-wc-filter-panel,
  .spviet-wc-menu-mode-shop .spviet-wc-filter-panel,
  .spviet-woo-shop-catalog-card .spviet-wc-filter-panel{
    display:none!important;
  }
  .spviet-wc-layout,
  .spviet-wc-menu-mode-shop .spviet-wc-layout,
  .spviet-woo-shop-catalog-card .spviet-wc-layout{
    grid-template-columns:1fr!important;
  }
  .spviet-wc-menu-shell{padding:14px!important;border-radius:22px!important;}
  .spviet-wc-toolbar{gap:10px!important;margin-top:12px!important;}
}

@media(max-width:640px){
  /* Nut menu mobile nho gon: 3 gach + chu MENU ben duoi de khach de hieu */
  .spviet-header-inner{min-height:72px!important;padding:9px 74px 9px 14px!important;}
  .spviet-header-actions{min-height:0!important;position:static!important;padding-right:0!important;}
  .spviet-menu-toggle{
    width:58px!important;
    height:66px!important;
    min-width:58px!important;
    border-radius:15px!important;
    top:10px!important;
    right:12px!important;
    padding:0!important;
    box-shadow:0 10px 22px rgba(139,7,20,.20)!important;
  }
  .spviet-menu-toggle .spviet-menu-toggle-lines{
    width:30px!important;
    height:22px!important;
    gap:4px!important;
    margin:0!important;
  }
  .spviet-menu-toggle .spviet-menu-toggle-lines i,
  .spviet-menu-toggle .spviet-menu-toggle-lines::before,
  .spviet-menu-toggle .spviet-menu-toggle-lines::after{
    width:28px!important;
    height:3px!important;
    min-height:3px!important;
    max-height:3px!important;
  }
  .spviet-menu-toggle-label,
  .spviet-menu-toggle small{display:block!important;font-size:9px!important;line-height:1!important;margin-top:5px!important;letter-spacing:.08em!important;font-weight:900!important;color:#fff!important;}
  .spviet-logo{gap:10px!important;min-width:0!important;}
  .spviet-logo-mark{width:48px!important;height:48px!important;border-radius:15px!important;flex:0 0 auto!important;}
  .spviet-logo-text{font-size:clamp(18px,5.2vw,24px)!important;max-width:calc(100vw - 150px)!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
  body.admin-bar .spviet-site-main{padding-top:118px!important;}
}

/* =========================================================
   SPVIET V9.9.25 - Mobile menu page + compact hamburger with MENU label
   1) Nut menu dien thoai dung 3 gach that + chu MENU ben duoi.
   2) Khong tao them 2 gach ao bang ::before/::after.
   3) An bo loc tren mobile nhung khong an/noi dung menu WooCommerce.
   ========================================================= */
@media (max-width: 820px){
  body .spviet-wc-filter-panel,
  body .spviet-wc-menu-mode-shop .spviet-wc-filter-panel,
  body .spviet-woo-shop-catalog-card .spviet-wc-filter-panel{
    display:none!important;
  }
  body .spviet-wc-layout,
  body .spviet-wc-menu-mode-shop .spviet-wc-layout,
  body .spviet-woo-shop-catalog-card .spviet-wc-layout{
    display:grid!important;
    grid-template-columns:1fr!important;
    width:100%!important;
  }
  body .spviet-menu-route-shell,
  body .spviet-menu-route-shell .spviet-page-content,
  body .spviet-menu-route-shell .spviet-wc-menu-shell{
    width:100%!important;
    max-width:100%!important;
    box-sizing:border-box!important;
  }
}

@media (max-width: 640px){
  body .spviet-theme-header{position:sticky!important;top:0!important;z-index:10020!important;}
  body.admin-bar .spviet-theme-header{top:46px!important;}
  body .spviet-header-inner{
    position:relative!important;
    min-height:74px!important;
    padding:10px 86px 10px 14px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
  }
  body .spviet-header-actions{position:static!important;min-height:0!important;padding:0!important;}
  body .spviet-menu-toggle{
    position:absolute!important;
    top:50%!important;
    right:12px!important;
    transform:translateY(-50%)!important;
    width:62px!important;
    height:68px!important;
    min-width:62px!important;
    min-height:68px!important;
    border-radius:16px!important;
    padding:0!important;
    margin:0!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    background:linear-gradient(180deg,#c10b22,#8b0714)!important;
    box-shadow:0 10px 22px rgba(139,7,20,.22)!important;
    overflow:hidden!important;
  }
  body .spviet-menu-toggle .spviet-menu-toggle-lines{
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    gap:4px!important;
    width:28px!important;
    height:22px!important;
    padding:0!important;
    margin:0!important;
    background:transparent!important;
    border:0!important;
    box-shadow:none!important;
  }
  body .spviet-menu-toggle .spviet-menu-toggle-lines::before,
  body .spviet-menu-toggle .spviet-menu-toggle-lines::after{
    content:none!important;
    display:none!important;
  }
  body .spviet-menu-toggle .spviet-menu-toggle-lines i{
    display:block!important;
    width:28px!important;
    height:3px!important;
    min-height:3px!important;
    max-height:3px!important;
    border-radius:999px!important;
    background:#fff!important;
    opacity:1!important;
    transform:none!important;
    margin:0!important;
    box-shadow:none!important;
  }
  body .spviet-menu-toggle-label,
  body .spviet-menu-toggle small{display:block!important;font-size:9px!important;line-height:1!important;margin-top:5px!important;letter-spacing:.08em!important;font-weight:900!important;color:#fff!important;text-transform:uppercase!important;}
  body .spviet-logo-text{
    font-size:clamp(18px,5vw,23px)!important;
    max-width:calc(100vw - 170px)!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
  body .spviet-site-main{padding-top:0!important;}
  body.admin-bar .spviet-site-main{padding-top:0!important;}
}

/* =========================================================
   SPVIET V9.9.26 - Mobile/iPad sticky header-footer + compact AI chat
   - Header/footer luon giu tren man hinh khi khach vuot trang.
   - Chatbox mobile thu gon de khong mat nut Gui.
   - Menu mobile van giu icon 3 gach + chu MENU ben duoi.
   ========================================================= */
@media (max-width: 1024px){
  html{scroll-padding-top:calc(88px + env(safe-area-inset-top));}
  body{
    padding-top:calc(86px + env(safe-area-inset-top))!important;
    padding-bottom:calc(108px + env(safe-area-inset-bottom))!important;
    overflow-x:hidden!important;
  }
  body.admin-bar{padding-top:calc(132px + env(safe-area-inset-top))!important;}

  body .spviet-theme-header{
    position:fixed!important;
    top:0!important;
    left:0!important;
    right:0!important;
    width:100%!important;
    z-index:999920!important;
    background:rgba(255,249,239,.96)!important;
    -webkit-backdrop-filter:blur(14px)!important;
    backdrop-filter:blur(14px)!important;
    box-shadow:0 8px 24px rgba(139,7,20,.10)!important;
  }
  body.admin-bar .spviet-theme-header{top:46px!important;}
  @media (min-width:783px) and (max-width:1024px){body.admin-bar .spviet-theme-header{top:32px!important;}}

  body .spviet-theme-footer{
    position:fixed!important;
    left:0!important;
    right:0!important;
    bottom:0!important;
    width:100%!important;
    z-index:999900!important;
    margin:0!important;
    padding:8px 12px calc(8px + env(safe-area-inset-bottom))!important;
    background:rgba(255,248,235,.97)!important;
    -webkit-backdrop-filter:blur(14px)!important;
    backdrop-filter:blur(14px)!important;
    border-top:1px solid rgba(139,7,20,.14)!important;
    box-shadow:0 -10px 30px rgba(139,7,20,.12)!important;
  }
  body .spviet-footer-inner{
    min-height:54px!important;
    max-width:100%!important;
    padding:0!important;
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:10px!important;
  }
  body .spviet-footer-inner strong{font-size:16px!important;line-height:1.1!important;display:block!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;max-width:42vw!important;}
  body .spviet-footer-inner p{font-size:12px!important;line-height:1.2!important;margin:2px 0 0!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;max-width:44vw!important;}
  body .spviet-footer-links{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:6px!important;flex-wrap:nowrap!important;overflow-x:auto!important;-webkit-overflow-scrolling:touch!important;max-width:56vw!important;}
  body .spviet-footer-links a{flex:0 0 auto!important;min-width:72px!important;padding:9px 10px!important;border-radius:16px!important;font-size:13px!important;text-align:center!important;}

  /* Chatbox / SPVIET Assistant: thu gon de nut Gui khong bi mat ngoai man hinh */
  body .spviet-ai-chat-widget,
  body .spviet-ai-chatbox,
  body .spviet-ai-chat-box,
  body .spviet-chat-widget,
  body .spviet-assistant-widget,
  body .spviet-assistant-box,
  body [class*="spviet-ai-chat"],
  body [class*="spviet-assistant"]{
    max-width:calc(100vw - 24px)!important;
    box-sizing:border-box!important;
  }
  body .spviet-ai-chat-widget,
  body .spviet-ai-chatbox,
  body .spviet-ai-chat-box,
  body .spviet-chat-widget,
  body .spviet-assistant-widget,
  body .spviet-assistant-box{
    width:calc(100vw - 24px)!important;
    height:min(68dvh,560px)!important;
    max-height:calc(100dvh - 190px - env(safe-area-inset-top) - env(safe-area-inset-bottom))!important;
    left:12px!important;
    right:12px!important;
    bottom:calc(88px + env(safe-area-inset-bottom))!important;
    border-radius:20px!important;
    overflow:hidden!important;
  }
  body .spviet-ai-chat-header,
  body .spviet-assistant-header,
  body [class*="spviet-ai-chat"] [class*="header"],
  body [class*="spviet-assistant"] [class*="header"]{
    padding:14px 16px!important;
    min-height:0!important;
  }
  body .spviet-ai-chat-messages,
  body .spviet-assistant-messages,
  body [class*="spviet-ai-chat"] [class*="messages"],
  body [class*="spviet-assistant"] [class*="messages"]{
    max-height:calc(68dvh - 170px)!important;
    overflow-y:auto!important;
    -webkit-overflow-scrolling:touch!important;
  }
  body .spviet-ai-chat-input,
  body .spviet-ai-chat-form,
  body .spviet-assistant-input,
  body .spviet-assistant-form,
  body [class*="spviet-ai-chat"] form,
  body [class*="spviet-assistant"] form{
    display:flex!important;
    align-items:center!important;
    gap:8px!important;
    width:100%!important;
    max-width:100%!important;
    box-sizing:border-box!important;
    padding:10px 12px!important;
  }
  body .spviet-ai-chat-input input,
  body .spviet-ai-chat-input textarea,
  body .spviet-ai-chat-form input,
  body .spviet-ai-chat-form textarea,
  body .spviet-assistant-input input,
  body .spviet-assistant-input textarea,
  body .spviet-assistant-form input,
  body .spviet-assistant-form textarea,
  body [class*="spviet-ai-chat"] form input,
  body [class*="spviet-ai-chat"] form textarea,
  body [class*="spviet-assistant"] form input,
  body [class*="spviet-assistant"] form textarea{
    flex:1 1 auto!important;
    min-width:0!important;
    width:auto!important;
    max-width:none!important;
    height:50px!important;
    max-height:88px!important;
    box-sizing:border-box!important;
  }
  body .spviet-ai-chat-input button,
  body .spviet-ai-chat-form button,
  body .spviet-assistant-input button,
  body .spviet-assistant-form button,
  body [class*="spviet-ai-chat"] form button,
  body [class*="spviet-assistant"] form button{
    flex:0 0 54px!important;
    width:54px!important;
    min-width:54px!important;
    max-width:54px!important;
    height:54px!important;
    min-height:54px!important;
    padding:0!important;
    border-radius:50%!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    overflow:hidden!important;
  }

  /* Hop ngon ngu va nut ho tro khong che footer/chat */
  body .gtranslate_wrapper,
  body .gt_float_switcher,
  body .gt_switcher_wrapper,
  body [class*="gtranslate"],
  body [id*="gtranslate"]{
    bottom:calc(122px + env(safe-area-inset-bottom))!important;
    right:10px!important;
    max-width:176px!important;
    transform:scale(.82)!important;
    transform-origin:right bottom!important;
  }
}

@media (max-width: 640px){
  body{padding-top:calc(76px + env(safe-area-inset-top))!important;padding-bottom:calc(96px + env(safe-area-inset-bottom))!important;}
  body.admin-bar{padding-top:calc(122px + env(safe-area-inset-top))!important;}
  body .spviet-header-inner{min-height:70px!important;padding:8px 82px 8px 12px!important;}
  body .spviet-menu-toggle{right:12px!important;top:50%!important;transform:translateY(-50%)!important;width:58px!important;height:64px!important;min-width:58px!important;min-height:64px!important;border-radius:15px!important;}
  body .spviet-menu-toggle .spviet-menu-toggle-lines{width:26px!important;height:19px!important;gap:4px!important;}
  body .spviet-menu-toggle .spviet-menu-toggle-lines i{width:26px!important;height:3px!important;}
  body .spviet-menu-toggle-label,body .spviet-menu-toggle small{font-size:9px!important;margin-top:4px!important;display:block!important;}
  body .spviet-logo-mark{width:48px!important;height:48px!important;}
  body .spviet-logo-text{max-width:calc(100vw - 156px)!important;font-size:clamp(17px,5vw,22px)!important;}
  body .spviet-footer-inner strong{display:none!important;}
  body .spviet-footer-inner p{display:none!important;}
  body .spviet-footer-links{max-width:100%!important;width:100%!important;justify-content:space-around!important;gap:0!important;}
  body .spviet-footer-links a{min-width:30%!important;font-size:13px!important;padding:10px 6px!important;border-radius:14px!important;}
}

/* =========================================================
   SPVIET V9.9.27 - Restore old mobile footer layout + icons
   - Khong doi mau/layout footer cu: xanh duong, 3 cot, icon tren chu.
   - Van giu sticky footer mobile/iPad theo yeu cau ban truoc.
   ========================================================= */
.spviet-footer-link-icon{display:none}
.spviet-footer-link-label{display:inline}
@media (max-width: 1024px){
  body{
    padding-bottom:calc(96px + env(safe-area-inset-bottom))!important;
  }
  body .spviet-theme-footer{
    position:fixed!important;
    left:0!important;
    right:0!important;
    bottom:0!important;
    width:100%!important;
    z-index:999900!important;
    margin:0!important;
    padding:0!important;
    background:#0f3f8f!important;
    border-top:3px solid #f0d478!important;
    box-shadow:0 -8px 24px rgba(0,0,0,.18)!important;
    -webkit-backdrop-filter:none!important;
    backdrop-filter:none!important;
  }
  body .spviet-footer-inner{
    width:100%!important;
    max-width:none!important;
    min-height:72px!important;
    padding:0 calc(0px + env(safe-area-inset-right)) calc(0px + env(safe-area-inset-bottom)) calc(0px + env(safe-area-inset-left))!important;
    margin:0!important;
    display:block!important;
  }
  body .spviet-footer-brand{
    display:none!important;
  }
  body .spviet-footer-links{
    display:grid!important;
    grid-template-columns:repeat(3,1fr)!important;
    align-items:stretch!important;
    justify-content:stretch!important;
    gap:0!important;
    flex-wrap:nowrap!important;
    overflow:visible!important;
    width:100%!important;
    max-width:100%!important;
    margin:0!important;
    padding:0!important;
  }
  body .spviet-footer-links a{
    display:grid!important;
    gap:6px!important;
    align-content:center!important;
    justify-items:center!important;
    min-width:0!important;
    min-height:72px!important;
    padding:8px 6px!important;
    border-radius:0!important;
    border:0!important;
    border-right:1px solid rgba(255,255,255,.16)!important;
    background:#0f3f8f!important;
    color:#fff!important;
    font-weight:900!important;
    text-align:center!important;
    box-shadow:none!important;
    text-decoration:none!important;
  }
  body .spviet-footer-links a:last-child{border-right:0!important;}
  body .spviet-footer-link-icon{
    display:block!important;
    font-size:20px!important;
    line-height:1!important;
    color:#fff!important;
    opacity:.95!important;
  }
  body .spviet-footer-link-label{
    display:block!important;
    font-size:15px!important;
    line-height:1.15!important;
    color:#fff!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    max-width:30vw!important;
  }
  body .gtranslate_wrapper,
  body .gt_float_switcher,
  body .gt_switcher_wrapper,
  body [class*="gtranslate"],
  body [id*="gtranslate"]{
    bottom:calc(112px + env(safe-area-inset-bottom))!important;
  }
}
@media (max-width: 640px){
  body .spviet-footer-inner{min-height:76px!important;}
  body .spviet-footer-links a{min-height:76px!important;padding:8px 4px!important;}
  body .spviet-footer-link-icon{font-size:19px!important;}
  body .spviet-footer-link-label{font-size:14px!important;max-width:31vw!important;}
}


/* =========================================================
   SPVIET V9.9.28 - Mobile Chatbox viewport fix
   - Thu gon chieu cao chatbox tren dien thoai de khong che tieu de va nut X.
   - Khi ban phim mo, khung nhap khong tran mat nut Gui.
   - Giu nguyen footer xanh/icon cua V9.9.27.
   ========================================================= */
@media (max-width: 1024px){
  body .spviet-ai-chat-widget,
  body .spviet-ai-chatbox,
  body .spviet-ai-chat-box,
  body .spviet-chat-widget,
  body .spviet-assistant-widget,
  body .spviet-assistant-box,
  body [class*="spviet-ai-chat"][class*="widget"],
  body [class*="spviet-ai-chat"][class*="box"],
  body [class*="spviet-assistant"][class*="widget"],
  body [class*="spviet-assistant"][class*="box"]{
    position:fixed!important;
    left:14px!important;
    right:14px!important;
    top:calc(96px + env(safe-area-inset-top))!important;
    bottom:auto!important;
    width:calc(100vw - 28px)!important;
    max-width:calc(100vw - 28px)!important;
    height:min(52dvh,430px)!important;
    max-height:calc(100dvh - 218px - env(safe-area-inset-top) - env(safe-area-inset-bottom))!important;
    min-height:260px!important;
    display:flex!important;
    flex-direction:column!important;
    overflow:hidden!important;
    box-sizing:border-box!important;
    border-radius:18px!important;
    z-index:999960!important;
  }
  body.admin-bar .spviet-ai-chat-widget,
  body.admin-bar .spviet-ai-chatbox,
  body.admin-bar .spviet-ai-chat-box,
  body.admin-bar .spviet-chat-widget,
  body.admin-bar .spviet-assistant-widget,
  body.admin-bar .spviet-assistant-box,
  body.admin-bar [class*="spviet-ai-chat"][class*="widget"],
  body.admin-bar [class*="spviet-ai-chat"][class*="box"],
  body.admin-bar [class*="spviet-assistant"][class*="widget"],
  body.admin-bar [class*="spviet-assistant"][class*="box"]{
    top:calc(142px + env(safe-area-inset-top))!important;
    max-height:calc(100dvh - 264px - env(safe-area-inset-top) - env(safe-area-inset-bottom))!important;
  }
  body .spviet-ai-chat-header,
  body .spviet-assistant-header,
  body [class*="spviet-ai-chat"] [class*="header"],
  body [class*="spviet-assistant"] [class*="header"]{
    flex:0 0 auto!important;
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    min-height:56px!important;
    padding:10px 14px!important;
    box-sizing:border-box!important;
    overflow:visible!important;
  }
  body [class*="spviet-ai-chat"] [class*="title"],
  body [class*="spviet-assistant"] [class*="title"],
  body [class*="spviet-ai-chat"] h1,
  body [class*="spviet-ai-chat"] h2,
  body [class*="spviet-assistant"] h1,
  body [class*="spviet-assistant"] h2{
    font-size:20px!important;
    line-height:1.15!important;
    margin:0!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
  body [class*="spviet-ai-chat"] [class*="close"],
  body [class*="spviet-assistant"] [class*="close"]{
    flex:0 0 42px!important;
    width:42px!important;
    height:42px!important;
    min-width:42px!important;
    min-height:42px!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
  }
  body .spviet-ai-chat-messages,
  body .spviet-assistant-messages,
  body [class*="spviet-ai-chat"] [class*="messages"],
  body [class*="spviet-assistant"] [class*="messages"],
  body [class*="spviet-ai-chat"] [class*="body"],
  body [class*="spviet-assistant"] [class*="body"]{
    flex:1 1 auto!important;
    min-height:0!important;
    max-height:none!important;
    overflow-y:auto!important;
    -webkit-overflow-scrolling:touch!important;
  }
  body .spviet-ai-chat-input,
  body .spviet-ai-chat-form,
  body .spviet-assistant-input,
  body .spviet-assistant-form,
  body [class*="spviet-ai-chat"] form,
  body [class*="spviet-assistant"] form{
    flex:0 0 auto!important;
    display:grid!important;
    grid-template-columns:minmax(0,1fr) 52px!important;
    align-items:center!important;
    gap:8px!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
    padding:8px 10px!important;
    overflow:hidden!important;
  }
  body .spviet-ai-chat-input input,
  body .spviet-ai-chat-input textarea,
  body .spviet-ai-chat-form input,
  body .spviet-ai-chat-form textarea,
  body .spviet-assistant-input input,
  body .spviet-assistant-input textarea,
  body .spviet-assistant-form input,
  body .spviet-assistant-form textarea,
  body [class*="spviet-ai-chat"] form input,
  body [class*="spviet-ai-chat"] form textarea,
  body [class*="spviet-assistant"] form input,
  body [class*="spviet-assistant"] form textarea{
    grid-column:1!important;
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    height:48px!important;
    min-height:48px!important;
    max-height:72px!important;
    box-sizing:border-box!important;
  }
  body .spviet-ai-chat-input button,
  body .spviet-ai-chat-form button,
  body .spviet-assistant-input button,
  body .spviet-assistant-form button,
  body [class*="spviet-ai-chat"] form button,
  body [class*="spviet-assistant"] form button{
    grid-column:2!important;
    position:static!important;
    transform:none!important;
    width:52px!important;
    min-width:52px!important;
    max-width:52px!important;
    height:52px!important;
    min-height:52px!important;
    margin:0!important;
    padding:0!important;
    border-radius:50%!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    overflow:hidden!important;
  }
}
@media (max-width: 640px){
  body .spviet-ai-chat-widget,
  body .spviet-ai-chatbox,
  body .spviet-ai-chat-box,
  body .spviet-chat-widget,
  body .spviet-assistant-widget,
  body .spviet-assistant-box,
  body [class*="spviet-ai-chat"][class*="widget"],
  body [class*="spviet-ai-chat"][class*="box"],
  body [class*="spviet-assistant"][class*="widget"],
  body [class*="spviet-assistant"][class*="box"]{
    left:10px!important;
    right:10px!important;
    top:calc(84px + env(safe-area-inset-top))!important;
    width:calc(100vw - 20px)!important;
    max-width:calc(100vw - 20px)!important;
    height:min(42dvh,335px)!important;
    max-height:calc(100dvh - 230px - env(safe-area-inset-top) - env(safe-area-inset-bottom))!important;
    min-height:230px!important;
    border-radius:16px!important;
  }
  body.admin-bar .spviet-ai-chat-widget,
  body.admin-bar .spviet-ai-chatbox,
  body.admin-bar .spviet-ai-chat-box,
  body.admin-bar .spviet-chat-widget,
  body.admin-bar .spviet-assistant-widget,
  body.admin-bar .spviet-assistant-box,
  body.admin-bar [class*="spviet-ai-chat"][class*="widget"],
  body.admin-bar [class*="spviet-ai-chat"][class*="box"],
  body.admin-bar [class*="spviet-assistant"][class*="widget"],
  body.admin-bar [class*="spviet-assistant"][class*="box"]{
    top:calc(130px + env(safe-area-inset-top))!important;
    max-height:calc(100dvh - 276px - env(safe-area-inset-top) - env(safe-area-inset-bottom))!important;
  }
  body [class*="spviet-ai-chat"] [class*="title"],
  body [class*="spviet-assistant"] [class*="title"],
  body [class*="spviet-ai-chat"] h1,
  body [class*="spviet-ai-chat"] h2,
  body [class*="spviet-assistant"] h1,
  body [class*="spviet-assistant"] h2{
    font-size:18px!important;
  }
  body .spviet-ai-chat-header,
  body .spviet-assistant-header,
  body [class*="spviet-ai-chat"] [class*="header"],
  body [class*="spviet-assistant"] [class*="header"]{
    min-height:50px!important;
    padding:8px 12px!important;
  }
  body .spviet-ai-chat-input,
  body .spviet-ai-chat-form,
  body .spviet-assistant-input,
  body .spviet-assistant-form,
  body [class*="spviet-ai-chat"] form,
  body [class*="spviet-assistant"] form{
    grid-template-columns:minmax(0,1fr) 48px!important;
    gap:7px!important;
    padding:7px 8px!important;
  }
  body [class*="spviet-ai-chat"] form button,
  body [class*="spviet-assistant"] form button,
  body .spviet-ai-chat-input button,
  body .spviet-ai-chat-form button,
  body .spviet-assistant-input button,
  body .spviet-assistant-form button{
    width:48px!important;min-width:48px!important;max-width:48px!important;height:48px!important;min-height:48px!important;
  }
}

/* =========================================================
 * SPVIET v9.9.31 - Mobile Chatbox Restore
 * - Tra icon chat ve dang bong tron nho goc duoi ben trai
 * - Khong cho khung do bi keo ngang tren man hinh dien thoai
 * - Khung nhap chat khong tran mat nut Gui khi ban phim mobile bat len
 * ========================================================= */
@media (max-width: 782px){
  .spviet-chat-launcher-normalized,
  .spviet-ai-chat-launcher-normalized,
  .spviet-ai-chat-bubble,
  .spviet-chat-bubble,
  .spviet-chat-launcher,
  .spviet-assistant-bubble,
  .spviet-assistant-launcher,
  .spviet-chatbot-toggle,
  .spviet-ai-chat-toggle,
  .spviet-chat-toggle,
  button[class*="chat"][class*="toggle"],
  a[class*="chat"][class*="toggle"]{
    position: fixed !important;
    left: max(16px, env(safe-area-inset-left)) !important;
    right: auto !important;
    top: auto !important;
    bottom: calc(96px + env(safe-area-inset-bottom)) !important;
    width: 62px !important;
    min-width: 62px !important;
    max-width: 62px !important;
    height: 62px !important;
    min-height: 62px !important;
    max-height: 62px !important;
    border-radius: 999px !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    z-index: 2147483001 !important;
    box-shadow: 0 14px 34px rgba(128,0,18,.28) !important;
    transform: none !important;
  }

  .spviet-chat-launcher-normalized::before,
  .spviet-chat-launcher-normalized::after,
  .spviet-ai-chat-launcher-normalized::before,
  .spviet-ai-chat-launcher-normalized::after{
    display:none !important;
    content:none !important;
  }

  .spviet-chat-hint-v84{
    left: 112px !important;
    right: 12px !important;
    bottom: calc(108px + env(safe-area-inset-bottom)) !important;
    max-width: calc(100vw - 130px) !important;
    font-size: 14px !important;
    line-height: 1.25 !important;
    z-index: 2147483000 !important;
  }

  .spviet-mobile-chat-panel-normalized,
  .spviet-ai-mobile-panel-normalized,
  .spviet-ai-chatbox,
  .spviet-ai-chat-panel,
  .spviet-chatbox-panel,
  .spviet-assistant-panel,
  .spviet-chat-window,
  .spviet-chatbox-window,
  .spviet-ai-assistant-panel,
  .spviet-assistant-chatbox{
    position: fixed !important;
    left: 8px !important;
    right: 8px !important;
    top: auto !important;
    bottom: calc(82px + env(safe-area-inset-bottom)) !important;
    width: calc(100vw - 16px) !important;
    min-width: 0 !important;
    max-width: calc(100vw - 16px) !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: min(54vh, 430px) !important;
    border-radius: 18px !important;
    transform: none !important;
    overflow: hidden !important;
    z-index: 2147483002 !important;
    box-sizing: border-box !important;
  }

  .spviet-mobile-chat-panel-normalized .spviet-ai-chat-header,
  .spviet-mobile-chat-panel-normalized [class*="header"],
  .spviet-ai-mobile-panel-normalized .spviet-ai-chat-header,
  .spviet-ai-mobile-panel-normalized [class*="header"]{
    min-height: 52px !important;
    max-height: 74px !important;
    padding: 10px 52px 10px 14px !important;
    box-sizing: border-box !important;
    overflow: visible !important;
  }

  .spviet-mobile-chat-panel-normalized .spviet-ai-chat-body,
  .spviet-mobile-chat-panel-normalized [class*="messages"],
  .spviet-mobile-chat-panel-normalized [class*="body"],
  .spviet-ai-mobile-panel-normalized .spviet-ai-chat-body,
  .spviet-ai-mobile-panel-normalized [class*="messages"],
  .spviet-ai-mobile-panel-normalized [class*="body"]{
    max-height: calc(min(54vh, 430px) - 134px) !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    box-sizing: border-box !important;
  }

  .spviet-mobile-chat-panel-normalized form,
  .spviet-mobile-chat-panel-normalized .spviet-ai-chat-input,
  .spviet-mobile-chat-panel-normalized .spviet-chat-input,
  .spviet-mobile-chat-panel-normalized [class*="input"],
  .spviet-ai-mobile-panel-normalized form,
  .spviet-ai-mobile-panel-normalized .spviet-ai-chat-input,
  .spviet-ai-mobile-panel-normalized .spviet-chat-input,
  .spviet-ai-mobile-panel-normalized [class*="input"]{
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .spviet-mobile-chat-panel-normalized .spviet-ai-chat-input,
  .spviet-mobile-chat-panel-normalized .spviet-chat-input,
  .spviet-mobile-chat-panel-normalized form[class*="chat"],
  .spviet-ai-mobile-panel-normalized .spviet-ai-chat-input,
  .spviet-ai-mobile-panel-normalized .spviet-chat-input,
  .spviet-ai-mobile-panel-normalized form[class*="chat"]{
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 10px 10px calc(10px + env(safe-area-inset-bottom)) !important;
    position: relative !important;
  }

  .spviet-mobile-chat-panel-normalized input[type="text"],
  .spviet-mobile-chat-panel-normalized input[type="search"],
  .spviet-mobile-chat-panel-normalized textarea,
  .spviet-ai-mobile-panel-normalized input[type="text"],
  .spviet-ai-mobile-panel-normalized input[type="search"],
  .spviet-ai-mobile-panel-normalized textarea{
    flex: 1 1 auto !important;
    min-width: 0 !important;
    width: auto !important;
    max-width: calc(100vw - 102px) !important;
    box-sizing: border-box !important;
    height: 52px !important;
    max-height: 80px !important;
  }

  .spviet-mobile-chat-panel-normalized button,
  .spviet-mobile-chat-panel-normalized input[type="submit"],
  .spviet-ai-mobile-panel-normalized button,
  .spviet-ai-mobile-panel-normalized input[type="submit"]{
    flex: 0 0 54px !important;
    width: 54px !important;
    min-width: 54px !important;
    max-width: 54px !important;
    height: 54px !important;
    min-height: 54px !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 999px !important;
    box-sizing: border-box !important;
    white-space: nowrap !important;
  }

  body.spviet-mobile-keyboard-open .spviet-mobile-chat-panel-normalized,
  body.spviet-mobile-keyboard-open .spviet-ai-mobile-panel-normalized{
    bottom: 8px !important;
    max-height: min(48vh, 360px) !important;
  }

  body.spviet-mobile-keyboard-open .spviet-mobile-chat-panel-normalized .spviet-ai-chat-body,
  body.spviet-mobile-keyboard-open .spviet-mobile-chat-panel-normalized [class*="messages"],
  body.spviet-mobile-keyboard-open .spviet-mobile-chat-panel-normalized [class*="body"],
  body.spviet-mobile-keyboard-open .spviet-ai-mobile-panel-normalized .spviet-ai-chat-body,
  body.spviet-mobile-keyboard-open .spviet-ai-mobile-panel-normalized [class*="messages"],
  body.spviet-mobile-keyboard-open .spviet-ai-mobile-panel-normalized [class*="body"]{
    max-height: calc(min(48vh, 360px) - 128px) !important;
  }
}


/* =========================================================
   SPVIET V9.9.32 - Mobile Stability Hotfix
   ========================================================= */
@media (max-width:1024px){

  /* Avoid Safari/iPhone freeze from excessive fixed layers */
  body,
  .spviet-site-main{
    transform:none !important;
    filter:none !important;
    will-change:auto !important;
  }

  /* Restore single floating chat bubble */
  .spviet-chat-hint-v84,
  .spviet-mobile-chat-hint,
  .spviet-floating-chat-label{
    display:none !important;
    opacity:0 !important;
    visibility:hidden !important;
  }

  .spviet-floating-chat-button,
  .spviet-chat-toggle,
  .spviet-assistant-toggle,
  .spviet-chat-fab{
    position:fixed !important;
    right:14px !important;
    left:auto !important;
    bottom:92px !important;
    width:64px !important;
    height:64px !important;
    border-radius:999px !important;
    z-index:2147483200 !important;
  }

  /* Compact chat panel */
  .spviet-ai-chat-widget,
  .spviet-ai-chatbox,
  .spviet-chatbox-panel,
  .spviet-assistant-panel,
  .spviet-chat-window{
    left:10px !important;
    right:10px !important;
    width:auto !important;
    max-width:none !important;
    bottom:84px !important;
    max-height:58vh !important;
    border-radius:18px !important;
  }

  /* Keep send button visible on iPhone */
  .spviet-ai-chat-input-row,
  .spviet-chat-input-row,
  .spviet-assistant-input{
    display:flex !important;
    align-items:center !important;
    gap:8px !important;
    padding:10px !important;
    box-sizing:border-box !important;
  }

  .spviet-ai-chat-input-row input,
  .spviet-chat-input-row input,
  .spviet-assistant-input input,
  .spviet-ai-chat-input-row textarea,
  .spviet-chat-input-row textarea{
    flex:1 1 auto !important;
    min-width:0 !important;
    width:1% !important;
  }

  .spviet-ai-chat-send,
  .spviet-chat-send,
  .spviet-assistant-send,
  .spviet-ai-chat-input-row button,
  .spviet-chat-input-row button{
    flex:0 0 auto !important;
    width:72px !important;
    min-width:72px !important;
    max-width:72px !important;
  }

  /* Social icons block */
  .spviet-company-socials{
    display:flex !important;
    flex-wrap:wrap !important;
    gap:12px !important;
    margin-top:18px !important;
  }

  .spviet-company-socials a{
    width:48px !important;
    height:48px !important;
    border-radius:14px !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    background:#fff !important;
    box-shadow:0 8px 24px rgba(0,0,0,.08) !important;
    transition:.25s ease !important;
  }

  .spviet-company-socials a:hover{
    transform:translateY(-3px) scale(1.05) !important;
  }
}


/* =========================================================
   SPVIET v9.9.33 MOBILE STABILITY HOTFIX
   - Remove mobile freeze sources
   - Keep chat icon + send button inside viewport
   ========================================================= */
@media (max-width: 768px){
  html, body{visibility:visible!important; opacity:1!important; overflow-x:hidden!important; max-width:100vw!important;}
  .spviet-mobile-safe-mode *{animation-duration:.001s!important; transition-duration:.001s!important; scroll-behavior:auto!important;}
  .spviet-luxury-bg, .spviet-bg-particles, .spviet-particle, .spviet-tv-bg-effect{pointer-events:none!important;}
  iframe{max-width:100%!important;}

  .spviet-ai-chat-launcher,
  .spviet-chat-button,
  .spviet-chat-launcher,
  .spviet-floating-chat,
  [data-spviet-chat-launcher]{
    position:fixed!important;
    left:18px!important;
    right:auto!important;
    bottom:calc(92px + env(safe-area-inset-bottom))!important;
    top:auto!important;
    width:62px!important;
    height:62px!important;
    min-width:62px!important;
    max-width:62px!important;
    border-radius:999px!important;
    transform:none!important;
    z-index:99992!important;
    overflow:hidden!important;
  }

  .spviet-ai-chat-widget,
  .spviet-chat-widget,
  .spviet-chatbox,
  .spviet-assistant-panel,
  [data-spviet-chat-panel]{
    position:fixed!important;
    left:9px!important;
    right:9px!important;
    top:auto!important;
    bottom:calc(72px + env(safe-area-inset-bottom))!important;
    width:calc(100vw - 18px)!important;
    max-width:calc(100vw - 18px)!important;
    height:min(62dvh, 540px)!important;
    max-height:min(62dvh, 540px)!important;
    overflow:hidden!important;
    z-index:99994!important;
    box-sizing:border-box!important;
  }
  @supports not (height: 1dvh){
    .spviet-ai-chat-widget,
    .spviet-chat-widget,
    .spviet-chatbox,
    .spviet-assistant-panel,
    [data-spviet-chat-panel]{height:58vh!important; max-height:58vh!important;}
  }

  .spviet-ai-chat-input,
  .spviet-chat-input,
  .spviet-chat-form,
  .spviet-assistant-input{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) 58px!important;
    gap:8px!important;
    width:100%!important;
    max-width:100%!important;
    box-sizing:border-box!important;
    padding-left:10px!important;
    padding-right:10px!important;
    overflow:visible!important;
  }
  .spviet-ai-chat-input input,
  .spviet-ai-chat-input textarea,
  .spviet-chat-input input,
  .spviet-chat-input textarea,
  .spviet-chat-form input,
  .spviet-chat-form textarea,
  .spviet-assistant-input input,
  .spviet-assistant-input textarea{
    min-width:0!important;
    width:100%!important;
    max-width:100%!important;
    box-sizing:border-box!important;
  }
  .spviet-ai-chat-input button,
  .spviet-chat-input button,
  .spviet-chat-form button,
  .spviet-assistant-input button,
  .spviet-ai-chat-input input[type="submit"],
  .spviet-chat-input input[type="submit"]{
    width:58px!important;
    min-width:58px!important;
    max-width:58px!important;
    padding-left:0!important;
    padding-right:0!important;
    box-sizing:border-box!important;
  }
}


/* =========================================================
   SPVIET v9.9.34 - MOBILE CHATBOX FINAL FIX
   - Khong lam rong nut/icon chat thanh thanh do ngang man hinh
   - Khi focus input tren iPhone/Safari, nut Gui khong bi tran khoi man hinh
   - Giu footer/header sticky, khong doi mau/layout footer cu
   ========================================================= */
@media (max-width: 782px) {
  html, body { max-width: 100%; overflow-x: hidden !important; }

  /* Widget/panel chat that opens on mobile: compact and always inside viewport */
  body .spviet-chatbox,
  body .spviet-ai-chatbox,
  body .spviet-ai-chat-widget,
  body .spviet-ai-assistant,
  body .spviet-chat-panel,
  body .spviet-chat-window,
  body [id*="spviet"][id*="chat"].is-open,
  body [class*="spviet"][class*="chat"][class*="open"] {
    max-width: calc(100vw - 18px) !important;
    width: calc(100vw - 18px) !important;
    left: 9px !important;
    right: 9px !important;
    top: auto !important;
    bottom: calc(72px + env(safe-area-inset-bottom, 0px)) !important;
    transform: none !important;
    max-height: min(58vh, 430px) !important;
    height: auto !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    border-radius: 18px !important;
    z-index: 999998 !important;
  }

  /* Header cua chatbox khong bi che mat */
  body .spviet-chatbox [class*="header"],
  body .spviet-ai-chatbox [class*="header"],
  body .spviet-ai-chat-widget [class*="header"],
  body .spviet-chat-panel [class*="header"],
  body .spviet-chat-window [class*="header"] {
    flex: 0 0 auto !important;
    min-height: 46px !important;
    max-height: 74px !important;
    overflow: hidden !important;
  }

  /* Vung noi dung chat duoc cuon rieng, khong day form gui ra ngoai */
  body .spviet-chatbox [class*="messages"],
  body .spviet-ai-chatbox [class*="messages"],
  body .spviet-ai-chat-widget [class*="messages"],
  body .spviet-chat-panel [class*="messages"],
  body .spviet-chat-window [class*="messages"],
  body .spviet-chatbox [class*="body"],
  body .spviet-ai-chatbox [class*="body"],
  body .spviet-ai-chat-widget [class*="body"],
  body .spviet-chat-panel [class*="body"],
  body .spviet-chat-window [class*="body"] {
    flex: 1 1 auto !important;
    min-height: 80px !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }

  /* Input + nut Gui: bat buoc nam cung 1 dong va khong tran ra ngoai man hinh */
  body .spviet-chatbox form,
  body .spviet-ai-chatbox form,
  body .spviet-ai-chat-widget form,
  body .spviet-chat-panel form,
  body .spviet-chat-window form,
  body .spviet-chatbox [class*="input"],
  body .spviet-ai-chatbox [class*="input"],
  body .spviet-ai-chat-widget [class*="input"],
  body .spviet-chat-panel [class*="input"],
  body .spviet-chat-window [class*="input"] {
    flex: 0 0 auto !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: visible !important;
  }

  body .spviet-chatbox input[type="text"],
  body .spviet-chatbox textarea,
  body .spviet-ai-chatbox input[type="text"],
  body .spviet-ai-chatbox textarea,
  body .spviet-ai-chat-widget input[type="text"],
  body .spviet-ai-chat-widget textarea,
  body .spviet-chat-panel input[type="text"],
  body .spviet-chat-panel textarea,
  body .spviet-chat-window input[type="text"],
  body .spviet-chat-window textarea {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    width: auto !important;
    max-width: none !important;
    box-sizing: border-box !important;
  }

  body .spviet-chatbox button,
  body .spviet-ai-chatbox button,
  body .spviet-ai-chat-widget button,
  body .spviet-chat-panel button,
  body .spviet-chat-window button {
    flex: 0 0 auto !important;
    position: static !important;
    right: auto !important;
    left: auto !important;
    transform: none !important;
    max-width: 68px !important;
    min-width: 48px !important;
    box-sizing: border-box !important;
    white-space: nowrap !important;
  }

  /* Thanh do rong bat thuong do rule cu tao ra: an/thay bang launcher that */
  body .spviet-chat-ghostbar-fix,
  body .spviet-chat-ghostbar-fix * {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  /* Nut ho tro/launcher dung dang compact, khong duoc keo ngang */
  body .spviet-chat-launcher,
  body .spviet-ai-chat-launcher,
  body .spviet-chat-floating-button,
  body .spviet-ai-chat-floating-button,
  body .spviet-chat-support-button,
  body .spviet-ai-chat-support-button,
  body [class*="spviet"][class*="chat"][class*="launcher"],
  body [class*="spviet"][class*="chat"][class*="float"] {
    width: auto !important;
    max-width: 156px !important;
    min-width: 54px !important;
    height: 54px !important;
    left: auto !important;
    right: 14px !important;
    top: auto !important;
    bottom: calc(88px + env(safe-area-inset-bottom, 0px)) !important;
    border-radius: 999px !important;
    transform: none !important;
    z-index: 999997 !important;
    overflow: hidden !important;
  }
}


/* =========================================================
   SPVIET v9.9.35 - MOBILE CHAT DOCK DRAG FIX
   - Dua icon chat mobile xuong goc duoi ben trai
   - Co the keo/th a icon trong pham vi man hinh
   - Khong anh huong footer sticky va chat panel hien co
   ========================================================= */
@media (max-width: 782px) {
  body .spviet-mobile-chat-draggable,
  body .spviet-mobile-chat-draggable[class],
  body [data-spviet-mobile-chat-drag="1"] {
    position: fixed !important;
    left: 12px !important;
    right: auto !important;
    top: auto !important;
    bottom: calc(88px + env(safe-area-inset-bottom, 0px)) !important;
    width: 64px !important;
    height: 64px !important;
    min-width: 64px !important;
    max-width: 64px !important;
    min-height: 64px !important;
    max-height: 64px !important;
    border-radius: 999px !important;
    overflow: hidden !important;
    z-index: 999997 !important;
    touch-action: none !important;
    -webkit-user-select: none !important;
    user-select: none !important;
    cursor: grab !important;
    box-sizing: border-box !important;
    transform: none !important;
  }

  body .spviet-mobile-chat-draggable.spviet-mobile-chat-dragging,
  body [data-spviet-mobile-chat-drag="1"].spviet-mobile-chat-dragging {
    cursor: grabbing !important;
  }

  body .spviet-mobile-chat-draggable *,
  body [data-spviet-mobile-chat-drag="1"] * {
    touch-action: none !important;
  }
}

/* SPVIET v9.9.36 company social icons */
.spviet-company-socials{display:flex;flex-wrap:wrap;gap:12px;margin-top:18px;padding-top:16px;border-top:1px dashed rgba(155,0,24,.16)}
.spviet-company-social{display:inline-flex;align-items:center;gap:8px;padding:10px 14px;border-radius:999px;background:#fff7ed;color:#9b0018;text-decoration:none;font-weight:800;border:1px solid rgba(155,0,24,.14);box-shadow:0 8px 18px rgba(155,0,24,.06)}
.spviet-company-social:hover{transform:translateY(-1px);box-shadow:0 12px 24px rgba(155,0,24,.12);color:#760012}
.spviet-company-social span{width:24px;height:24px;border-radius:999px;background:#9b0018;color:#fff;display:inline-flex;align-items:center;justify-content:center;font-weight:900;font-size:14px}
@media(max-width:782px){.spviet-company-socials{gap:8px}.spviet-company-social{padding:9px 12px;font-size:14px}}

/* SPVIET v9.9.37 - Company social buttons: visible in published frontend, not only Customizer preview */
.spviet-company-actions{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:12px;
  margin-top:16px;
}
.spviet-company-socials{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:10px;
}
.spviet-social-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  min-height:42px;
  padding:10px 14px;
  border-radius:999px;
  background:#fff7ec;
  border:1px solid rgba(160,0,24,.16);
  color:#9b0018;
  font-weight:900;
  text-decoration:none!important;
  box-shadow:0 10px 24px rgba(160,0,24,.10);
  transition:transform .16s ease, box-shadow .16s ease, background .16s ease;
}
.spviet-social-btn:hover{
  transform:translateY(-2px);
  box-shadow:0 14px 28px rgba(160,0,24,.18);
}
.spviet-social-icon{
  width:24px;
  height:24px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  background:#a00018;
  color:#fff;
  font-size:14px;
  line-height:1;
}
.spviet-social-facebook .spviet-social-icon{background:#1877f2;}
.spviet-social-instagram .spviet-social-icon{background:linear-gradient(135deg,#f58529,#dd2a7b,#8134af,#515bd4);}
.spviet-social-tiktok .spviet-social-icon{background:#111;}
.spviet-social-youtube .spviet-social-icon{background:#ff0000;}
@media(max-width:767px){
  .spviet-company-actions{align-items:flex-start;}
  .spviet-company-socials{width:100%; gap:8px;}
  .spviet-social-btn{flex:1 1 calc(50% - 8px); padding:10px 8px; font-size:13px;}
}
/* SPVIET V9.9.47 - Mobile touch/input stability */
@media (max-width:1024px){
  html.spviet-mobile-safe,
  html.spviet-mobile-safe body{visibility:visible!important;opacity:1!important;overflow-x:hidden!important;-webkit-text-size-adjust:100%;text-size-adjust:100%;}
  html.spviet-mobile-safe body{padding-bottom:calc(88px + env(safe-area-inset-bottom,0px))!important;}

  html.spviet-mobile-safe .spviet-theme-header{z-index:10020!important;}
  html.spviet-mobile-safe .spviet-mobile-footer-nav{z-index:10010!important;transform:translateZ(0)!important;}
  html.spviet-mobile-safe .spviet-mobile-panel{z-index:10030!important;pointer-events:auto!important;-webkit-overflow-scrolling:touch!important;}
  html.spviet-mobile-safe .spviet-mobile-panel[hidden]{display:none!important;}

  html.spviet-mobile-safe a,
  html.spviet-mobile-safe button,
  html.spviet-mobile-safe .button,
  html.spviet-mobile-safe .spviet-co-mode,
  html.spviet-mobile-safe .spviet-result-item{touch-action:manipulation!important;-webkit-tap-highlight-color:rgba(155,0,24,.16)!important;}

  html.spviet-mobile-safe input,
  html.spviet-mobile-safe textarea,
  html.spviet-mobile-safe select{touch-action:auto!important;-webkit-user-select:text!important;user-select:text!important;font-size:16px!important;}

  html.spviet-mobile-safe .woocommerce ul.products li.product,
  html.spviet-mobile-safe .woocommerce-page ul.products li.product,
  html.spviet-mobile-safe .spviet-wc-menu-card,
  html.spviet-mobile-safe .spviet-home-product-card{position:relative!important;cursor:pointer!important;touch-action:manipulation!important;transform:translateZ(0)!important;}

  html.spviet-mobile-safe .woocommerce ul.products li.product a,
  html.spviet-mobile-safe .woocommerce-page ul.products li.product a,
  html.spviet-mobile-safe .spviet-wc-menu-card a,
  html.spviet-mobile-safe .spviet-home-product-card a{position:relative!important;z-index:2!important;pointer-events:auto!important;}

  html.spviet-mobile-safe .woocommerce ul.products li.product .button,
  html.spviet-mobile-safe .woocommerce-page ul.products li.product .button,
  html.spviet-mobile-safe .spviet-wc-order-btn,
  html.spviet-mobile-safe .spviet-home-product-order,
  html.spviet-mobile-safe .single_add_to_cart_button{min-height:48px!important;min-width:112px!important;padding:12px 18px!important;z-index:4!important;pointer-events:auto!important;}

  html.spviet-mobile-safe .spviet-touch-active{filter:brightness(.96)!important;transform:translateY(1px) translateZ(0)!important;}

  /* Checkout: never let floating chat/language boxes cover form fields while typing/order flow. */
  body.woocommerce-checkout #spviet-mobile-chat-proxy-v9942,
  body.woocommerce-checkout .spviet-mobile-chat-proxy-v9942,
  body.woocommerce-checkout .spviet-chat-button,
  body.woocommerce-checkout .spviet-floating-chat{display:none!important;pointer-events:none!important;}

  body.woocommerce-checkout .trp-floater-ls,
  body.woocommerce-checkout .trp-language-switcher-container{right:6px!important;left:auto!important;bottom:calc(86px + env(safe-area-inset-bottom,0px))!important;max-width:132px!important;min-width:0!important;transform:scale(.68)!important;transform-origin:bottom right!important;z-index:9000!important;opacity:.82!important;}
  body.spviet-mobile-keyboard-open .trp-floater-ls,
  body.spviet-mobile-keyboard-open .trp-language-switcher-container{display:none!important;pointer-events:none!important;}

  .spviet-co-mode,
  .spviet-map-toolbar button,
  .spviet-result-item{min-height:48px!important;}
}

/* SPVIET V9.9.46 - mobile menu/link hitbox hard fix */
@media (max-width:1024px){
  html.spviet-mobile-safe .spviet-mobile-panel,
  html.spviet-mobile-safe .spviet-mobile-panel{
    position:fixed!important;
    top:calc(78px + env(safe-area-inset-top,0px))!important;
    left:12px!important;
    right:12px!important;
    width:auto!important;
    max-width:none!important;
    border-radius:0 0 22px 22px!important;
    z-index:2147483000!important;
    pointer-events:auto!important;
    transform:translateZ(0)!important;
  }
  body.admin-bar .spviet-mobile-panel{top:calc(124px + env(safe-area-inset-top,0px))!important;}
  html.spviet-mobile-safe .spviet-mobile-panel[hidden],
  html.spviet-mobile-safe .spviet-mobile-panel[hidden]{display:none!important;pointer-events:none!important;}
  html.spviet-mobile-safe .spviet-mobile-panel a,
  html.spviet-mobile-safe .spviet-mobile-panel a{
    display:flex!important;
    align-items:center!important;
    min-height:56px!important;
    width:100%!important;
    position:relative!important;
    z-index:2147483001!important;
    pointer-events:auto!important;
    touch-action:manipulation!important;
  }
  body.spviet-mobile-menu-open .spviet-floating-chat,
  body.spviet-mobile-menu-open .spviet-chat-button,
  body.spviet-mobile-menu-open .spviet-ai-chat-bubble,
  body.spviet-mobile-menu-open .spviet-chat-bubble,
  body.spviet-mobile-menu-open .spviet-chat-launcher,
  body.spviet-mobile-menu-open .spviet-assistant-bubble,
  body.spviet-mobile-menu-open [class*="chat"][class*="bubble"]{
    display:none!important;
    pointer-events:none!important;
  }
  html.spviet-mobile-safe .spviet-menu-toggle,
  html.spviet-mobile-safe .spviet-menu-toggle{z-index:2147483002!important;pointer-events:auto!important;touch-action:manipulation!important;}
  html.spviet-mobile-safe .spviet-mobile-footer-nav a,
  html.spviet-mobile-safe .spviet-mobile-footer-nav a,
  html.spviet-mobile-safe .spviet-quick-link,
  html.spviet-mobile-safe .spviet-quick-link{pointer-events:auto!important;touch-action:manipulation!important;}
}

/* =========================================================
   SPVIET V9.9.49 - Mobile menu z-index + chat support placement
   ========================================================= */
@media (max-width:1024px){
  html.spviet-mobile-menu-hardfix-9949 .spviet-theme-header,
  html.spviet-mobile-safe .spviet-theme-header{
    z-index:2147481000!important;
  }
  html.spviet-mobile-menu-hardfix-9949 .spviet-menu-toggle,
  html.spviet-mobile-safe .spviet-menu-toggle{
    z-index:2147483200!important;
    pointer-events:auto!important;
    touch-action:manipulation!important;
  }
  html.spviet-mobile-menu-hardfix-9949 .spviet-mobile-panel,
  html.spviet-mobile-safe .spviet-mobile-panel,
  html.spviet-mobile-menu-hardfix-9949 #spviet-mobile-panel,
  html.spviet-mobile-safe #spviet-mobile-panel{
    position:fixed!important;
    top:calc(88px + env(safe-area-inset-top,0px))!important;
    left:10px!important;
    right:10px!important;
    width:auto!important;
    max-width:none!important;
    max-height:calc(100dvh - 190px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px))!important;
    overflow:auto!important;
    -webkit-overflow-scrolling:touch!important;
    z-index:2147483000!important;
    pointer-events:auto!important;
    border-radius:0 0 22px 22px!important;
  }
  body.admin-bar .spviet-mobile-panel,
  body.admin-bar #spviet-mobile-panel{
    top:calc(136px + env(safe-area-inset-top,0px))!important;
  }
  html.spviet-mobile-menu-hardfix-9949 .spviet-mobile-panel[hidden],
  html.spviet-mobile-safe .spviet-mobile-panel[hidden],
  html.spviet-mobile-menu-hardfix-9949 #spviet-mobile-panel[hidden],
  html.spviet-mobile-safe #spviet-mobile-panel[hidden]{
    display:none!important;
    visibility:hidden!important;
    pointer-events:none!important;
  }
  html.spviet-mobile-menu-hardfix-9949 .spviet-mobile-panel a,
  html.spviet-mobile-safe .spviet-mobile-panel a,
  html.spviet-mobile-menu-hardfix-9949 #spviet-mobile-panel a,
  html.spviet-mobile-safe #spviet-mobile-panel a{
    position:relative!important;
    z-index:2147483010!important;
    pointer-events:auto!important;
    touch-action:manipulation!important;
    -webkit-user-select:none!important;
    user-select:none!important;
  }

  /* Dua icon Ho Tro / Chat ve goc trai duoi, khong che menu. */
  body:not(.spviet-mobile-menu-open) .spviet-floating-chat,
  body:not(.spviet-mobile-menu-open) .spviet-chat-button,
  body:not(.spviet-mobile-menu-open) .spviet-chat-toggle,
  body:not(.spviet-mobile-menu-open) .spviet-ai-chat-bubble,
  body:not(.spviet-mobile-menu-open) .spviet-chat-bubble,
  body:not(.spviet-mobile-menu-open) .spviet-chat-launcher,
  body:not(.spviet-mobile-menu-open) .spviet-assistant-bubble,
  body:not(.spviet-mobile-menu-open) .spviet-assistant-toggle,
  body:not(.spviet-mobile-menu-open) .spviet-assistant-chat-button,
  body:not(.spviet-mobile-menu-open) .spviet-chatbot-toggle,
  body:not(.spviet-mobile-menu-open) .spviet-chat-fab,
  body:not(.spviet-mobile-menu-open) #spviet-chat-button,
  body:not(.spviet-mobile-menu-open) #spviet-chat-toggle,
  body:not(.spviet-mobile-menu-open) #spviet-assistant-toggle,
  body:not(.spviet-mobile-menu-open) [class*="spviet"][class*="chat"][class*="toggle"],
  body:not(.spviet-mobile-menu-open) [class*="spviet"][class*="chat"][class*="bubble"],
  body:not(.spviet-mobile-menu-open) [class*="spviet"][class*="chat"][class*="button"],
  body:not(.spviet-mobile-menu-open) [id*="spviet"][id*="chat"][id*="toggle"],
  body:not(.spviet-mobile-menu-open) [id*="spviet"][id*="chat"][id*="button"]{
    position:fixed!important;
    left:14px!important;
    right:auto!important;
    top:auto!important;
    bottom:calc(94px + env(safe-area-inset-bottom,0px))!important;
    width:62px!important;
    height:62px!important;
    min-width:62px!important;
    min-height:62px!important;
    max-width:62px!important;
    max-height:62px!important;
    border-radius:999px!important;
    z-index:999850!important;
    pointer-events:auto!important;
    transform:none!important;
  }

  body.spviet-mobile-menu-open .spviet-floating-chat,
  body.spviet-mobile-menu-open .spviet-chat-button,
  body.spviet-mobile-menu-open .spviet-chat-toggle,
  body.spviet-mobile-menu-open .spviet-ai-chat-bubble,
  body.spviet-mobile-menu-open .spviet-chat-bubble,
  body.spviet-mobile-menu-open .spviet-chat-launcher,
  body.spviet-mobile-menu-open .spviet-assistant-bubble,
  body.spviet-mobile-menu-open .spviet-assistant-toggle,
  body.spviet-mobile-menu-open .spviet-assistant-chat-button,
  body.spviet-mobile-menu-open .spviet-chatbot-toggle,
  body.spviet-mobile-menu-open .spviet-chat-fab,
  body.spviet-mobile-menu-open #spviet-chat-button,
  body.spviet-mobile-menu-open #spviet-chat-toggle,
  body.spviet-mobile-menu-open #spviet-assistant-toggle,
  body.spviet-mobile-menu-open [class*="spviet"][class*="chat"][class*="toggle"],
  body.spviet-mobile-menu-open [class*="spviet"][class*="chat"][class*="bubble"],
  body.spviet-mobile-menu-open [class*="spviet"][class*="chat"][class*="button"],
  body.spviet-mobile-menu-open [id*="spviet"][id*="chat"][id*="toggle"],
  body.spviet-mobile-menu-open [id*="spviet"][id*="chat"][id*="button"]{
    display:none!important;
    opacity:0!important;
    visibility:hidden!important;
    pointer-events:none!important;
  }

  body.spviet-mobile-menu-open .trp-floater-ls,
  body.spviet-mobile-menu-open .trp-language-switcher-container,
  body.spviet-mobile-menu-open .gtranslate_wrapper,
  body.spviet-mobile-menu-open .gt_float_switcher,
  body.spviet-mobile-menu-open .gt_switcher_wrapper{
    display:none!important;
    pointer-events:none!important;
  }
}

/* =========================================================
   SPVIET V9.9.50 - Theme/AI ChatBox selector compatibility
   This final guard overrides old broad .spviet-ai-chatbox rules in earlier theme blocks.
   ========================================================= */
@media (max-width:1024px){
  body #spviet-ai-chatbox.spviet-ai-chatbox:not(.open){
    position:fixed!important;
    left:max(14px, env(safe-area-inset-left,0px))!important;
    right:auto!important;
    top:auto!important;
    bottom:calc(94px + env(safe-area-inset-bottom,0px))!important;
    width:auto!important;
    height:auto!important;
    min-width:0!important;
    min-height:0!important;
    max-width:none!important;
    max-height:none!important;
    overflow:visible!important;
    transform:none!important;
    z-index:999850!important;
    pointer-events:none!important;
  }
  body #spviet-ai-chatbox.spviet-ai-chatbox:not(.open) .spviet-ai-window{display:none!important;pointer-events:none!important;}
  body #spviet-ai-chatbox.spviet-ai-chatbox .spviet-ai-bubble{width:62px!important;height:62px!important;min-width:62px!important;min-height:62px!important;max-width:62px!important;max-height:62px!important;padding:0!important;pointer-events:auto!important;touch-action:manipulation!important;}
  body #spviet-ai-chatbox.spviet-ai-chatbox .spviet-ai-bubble b{display:none!important;}
  body.spviet-mobile-menu-open #spviet-ai-chatbox.spviet-ai-chatbox{display:none!important;visibility:hidden!important;opacity:0!important;pointer-events:none!important;}
}

/* =========================================================
   SPVIET V9.9.85 - Contact page / footer booking icon / mobile catalog sale-stock-price closeout
   ========================================================= */
.spviet-contact-pro-v9985{width:min(1180px,calc(100vw - 28px));margin:24px auto 120px;padding:0;color:#1e2532;}
.spviet-contact-hero-v9985{position:relative;overflow:hidden;border-radius:30px;padding:34px 28px;background:linear-gradient(135deg,#fffaf0 0%,#fff 55%,#fff3dd 100%);border:1px solid rgba(139,7,20,.12);box-shadow:0 24px 60px rgba(64,15,18,.10);}
.spviet-contact-hero-v9985:after{content:"";position:absolute;right:-70px;top:-70px;width:190px;height:190px;border-radius:999px;background:radial-gradient(circle,rgba(216,169,50,.28),rgba(216,169,50,0) 70%);}
.spviet-contact-kicker-v9985{display:inline-flex;align-items:center;gap:8px;margin-bottom:10px;padding:8px 14px;border-radius:999px;background:#8b0714;color:#fff;font-weight:950;letter-spacing:.08em;font-size:12px;box-shadow:0 12px 24px rgba(139,7,20,.18);}
.spviet-contact-hero-v9985 h1{margin:0;color:#8b0714;font-size:clamp(32px,5vw,56px);line-height:1.05;font-weight:950;letter-spacing:-.03em;}
.spviet-contact-hero-v9985 p{margin:14px 0 0;max-width:780px;color:#5d494a;font-size:17px;line-height:1.65;font-weight:650;}
.spviet-contact-alert-v9985{margin:16px 0 0;padding:14px 16px;border-radius:18px;font-weight:900}.spviet-contact-alert-v9985.is-ok{background:#ecfff2;border:1px solid rgba(19,151,69,.22);color:#117239}.spviet-contact-alert-v9985.is-error{background:#fff1f1;border:1px solid rgba(180,0,0,.22);color:#a00000}
.spviet-contact-grid-v9985{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(260px,.55fr);gap:20px;margin-top:20px;align-items:start}.spviet-contact-form-v9985,.spviet-contact-side-v9985{border-radius:28px;background:#fff;border:1px solid rgba(139,7,20,.12);box-shadow:0 18px 48px rgba(64,15,18,.08)}
.spviet-contact-form-v9985{padding:24px;display:grid;gap:16px}.spviet-contact-form-v9985 h2{margin:0;color:#8b0714;font-size:28px;font-weight:950}.spviet-contact-row-v9985{display:grid;gap:14px}.spviet-contact-row-v9985.two{grid-template-columns:1fr 1fr}.spviet-contact-form-v9985 label{display:grid;gap:8px;color:#30272a;font-weight:900;line-height:1.35}.spviet-contact-form-v9985 input,.spviet-contact-form-v9985 select,.spviet-contact-form-v9985 textarea{width:100%;border:1px solid rgba(139,7,20,.22);border-radius:15px;background:#fffdf9;min-height:48px;padding:12px 14px;font-size:16px;outline:0;color:#1e2532}.spviet-contact-form-v9985 textarea{min-height:140px;resize:vertical}.spviet-contact-form-v9985 input:focus,.spviet-contact-form-v9985 select:focus,.spviet-contact-form-v9985 textarea:focus{border-color:#d9a246;box-shadow:0 0 0 4px rgba(216,169,50,.14)}.spviet-contact-address-v9985{display:grid;gap:13px;border-radius:22px;padding:16px;background:#fff8ea;border:1px dashed rgba(216,169,50,.55)}.spviet-contact-address-v9985>strong{font-size:18px;color:#8b0714}.spviet-contact-address-v9985>p{margin:0;color:#6c5659;font-weight:650}.spviet-contact-submit-v9985{border:0;border-radius:999px;background:linear-gradient(135deg,#8b0714,#c70e22);color:#fff;font-weight:950;font-size:17px;min-height:54px;padding:14px 22px;box-shadow:0 16px 30px rgba(139,7,20,.24);cursor:pointer}.spviet-contact-side-v9985{display:grid;gap:12px;padding:18px}.spviet-contact-side-v9985>div{display:grid;grid-template-columns:54px 1fr;gap:8px 12px;align-items:center;padding:16px;border-radius:20px;background:linear-gradient(135deg,#fffaf0,#fff);border:1px solid rgba(216,169,50,.22)}.spviet-contact-side-v9985 span{grid-row:span 2;display:grid;place-items:center;width:54px;height:54px;border-radius:17px;background:#8b0714;color:#fff;font-size:24px}.spviet-contact-side-v9985 strong{color:#8b0714;font-size:18px}.spviet-contact-side-v9985 p{margin:0;color:#5d494a;line-height:1.45;font-weight:650}
.spviet-postcode-optional-v9982:after{content:'JPのみ必須 / chỉ bắt buộc tại Nhật';display:block;margin-top:5px;color:#776064;font-size:12px;font-weight:700;}
.spviet-address-autofill-working-v9982 input{background-image:linear-gradient(90deg,rgba(216,169,50,.12),rgba(216,169,50,.02))!important}.spviet-address-autofill-ok-v9982 input{border-color:#139745!important;box-shadow:0 0 0 3px rgba(19,151,69,.12)!important}

.spviet-wc-card-media{position:relative!important;}.spviet-wc-sale-badge{left:10px!important;right:auto!important;top:10px!important;z-index:5!important;background:linear-gradient(135deg,#b5001a,#ec2438)!important;color:#fff!important;border-radius:999px!important;padding:7px 11px!important;font-weight:950!important;font-size:12px!important;letter-spacing:.05em!important;box-shadow:0 10px 22px rgba(139,7,20,.22)!important}.spviet-wc-stock-badge{position:absolute!important;right:10px!important;top:10px!important;z-index:5!important;border-radius:999px!important;padding:7px 11px!important;color:#fff!important;font-weight:950!important;font-size:12px!important;line-height:1!important;box-shadow:0 10px 22px rgba(0,0,0,.14)!important}.spviet-wc-stock-badge.is-in-stock{background:#139745!important}.spviet-wc-stock-badge.is-out-stock{background:#7b7b7b!important}.spviet-wc-card-bottom{position:relative!important;display:grid!important;grid-template-columns:1fr!important;gap:10px!important;align-items:end!important}.spviet-wc-card-price{position:relative!important;z-index:1!important;display:block!important;min-height:30px!important;line-height:1.15!important;white-space:normal!important;margin:0!important}.spviet-wc-card-actions{position:relative!important;z-index:2!important;margin:0!important;display:grid!important;grid-template-columns:1fr!important;gap:8px!important}.spviet-wc-order-btn{position:relative!important;z-index:3!important;transform:none!important}.spviet-wc-detail-btn{display:none!important}.spviet-mobile-footer-nav a[data-spviet-footer-type="reservation"] .icon{font-size:24px!important;line-height:1!important}.spviet-mobile-footer-nav a[data-spviet-footer-type="reservation"] .icon::before{content:"📅";font-size:24px}.spviet-mobile-footer-nav a[data-spviet-footer-type="reservation"] .icon{font-size:0!important}
@media(max-width:820px){.spviet-contact-pro-v9985{width:calc(100vw - 22px);margin-top:14px;margin-bottom:calc(120px + env(safe-area-inset-bottom,0px));}.spviet-contact-hero-v9985{border-radius:24px;padding:26px 20px}.spviet-contact-grid-v9985{grid-template-columns:1fr}.spviet-contact-row-v9985.two{grid-template-columns:1fr}.spviet-contact-form-v9985{padding:18px;border-radius:24px}.spviet-contact-side-v9985{border-radius:24px}.spviet-wc-card-media .spviet-wc-sale-badge,.spviet-wc-card-media .spviet-wc-stock-badge{top:8px!important;font-size:11px!important;padding:6px 8px!important}.spviet-wc-card-body{display:flex!important;flex-direction:column!important}.spviet-wc-card-bottom{margin-top:auto!important;padding-top:8px!important;border-top:1px dashed rgba(139,7,20,.10)!important}.spviet-wc-card-actions .spviet-wc-order-btn{min-height:44px!important;border-radius:18px!important;width:100%!important}.spviet-wc-card-price del{display:inline-block!important;margin-right:6px!important;margin-left:0!important}.spviet-wc-card-price ins{display:inline-block!important;text-decoration:none!important}}
@media(max-width:420px){.spviet-wc-card-media .spviet-wc-sale-badge,.spviet-wc-card-media .spviet-wc-stock-badge{font-size:10px!important;padding:5px 7px!important}.spviet-wc-card-price{font-size:20px!important}.spviet-contact-hero-v9985 h1{font-size:34px}}


/* SPVIET V9.9.86 - Home random sale products block: 2 rows on every device. */
.spviet-home-sale-section{
  width:min(1180px,calc(100vw - 32px));
  margin:32px auto;
  padding:24px;
  border-radius:30px;
  position:relative;
  overflow:hidden;
  background:
    radial-gradient(circle at 0 0, rgba(255,215,93,.32), transparent 32%),
    linear-gradient(135deg,#fffaf0 0%,#fff 42%,#fff3e0 100%);
  border:1px solid rgba(164,9,28,.16);
  box-shadow:0 20px 42px rgba(92,18,20,.10);
}
.spviet-home-sale-section:before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:linear-gradient(90deg,rgba(164,9,28,.08),transparent 18%,transparent 82%,rgba(217,162,70,.11));
}
.spviet-home-sale-head{position:relative;z-index:1;display:grid;grid-template-columns:1fr auto;gap:6px 18px;align-items:end;margin-bottom:18px;}
.spviet-home-sale-kicker{grid-column:1/-1;justify-self:start;display:inline-flex;align-items:center;gap:7px;padding:7px 13px;border-radius:999px;background:#a4091c;color:#fff;font-weight:950;font-size:13px;letter-spacing:.04em;box-shadow:0 10px 22px rgba(164,9,28,.18);}
.spviet-home-sale-head h2{margin:0;color:#8f0617;font-size:clamp(28px,4vw,48px);font-weight:950;line-height:1.03;letter-spacing:-.035em;text-transform:uppercase;}
.spviet-home-sale-head p{margin:0;color:#755b57;font-weight:800;font-size:14px;max-width:520px;}
.spviet-home-sale-grid{position:relative;z-index:1;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;align-items:stretch;}
.spviet-home-sale-card{display:flex;flex-direction:column;min-width:0;background:#fff;border:1px solid rgba(164,9,28,.12);border-radius:22px;overflow:hidden;box-shadow:0 12px 26px rgba(90,22,24,.10);}
.spviet-home-sale-media{position:relative;display:block;width:100%;aspect-ratio:4/3;background:#fff7e8;overflow:hidden;text-decoration:none!important;}
.spviet-home-sale-media img{width:100%;height:100%;display:block;object-fit:cover;transition:transform .22s ease;}
.spviet-home-sale-card:hover .spviet-home-sale-media img{transform:scale(1.035);}
.spviet-home-sale-badge,.spviet-home-sale-stock{position:absolute;top:10px;z-index:2;display:inline-flex;align-items:center;justify-content:center;min-height:27px;padding:5px 10px;border-radius:999px;color:#fff;font-size:12px;font-weight:950;line-height:1;box-shadow:0 8px 16px rgba(0,0,0,.14);}
.spviet-home-sale-badge{left:10px;background:linear-gradient(135deg,#e50032,#ff7a00);}
.spviet-home-sale-stock{right:10px;background:#149344;}
.spviet-home-sale-stock.is-out-stock{background:#777;}
.spviet-home-sale-body{flex:1;display:flex;flex-direction:column;gap:10px;padding:14px;}
.spviet-home-sale-body h3{margin:0;min-height:42px;color:#2b1719;font-size:16px;font-weight:950;line-height:1.32;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
.spviet-home-sale-body h3 a{color:inherit!important;text-decoration:none!important;}
.spviet-home-sale-price{margin-top:auto;color:#cf2538;font-size:19px;font-weight:950;line-height:1.15;display:block;}
.spviet-home-sale-price del{color:#8d7f80;font-size:.80em;margin-right:7px;text-decoration-thickness:2px;}
.spviet-home-sale-price ins{text-decoration:none;color:#cf2538;}
.spviet-home-sale-order{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:42px!important;width:100%!important;border-radius:14px!important;background:linear-gradient(135deg,#07a64f,#06853f)!important;color:#fff!important;border:0!important;text-decoration:none!important;font-weight:950!important;font-size:14px!important;box-shadow:0 12px 24px rgba(6,133,63,.18)!important;white-space:nowrap!important;}
.spviet-home-sale-grid > .spviet-home-sale-card:nth-child(n+9){display:none;}
@media(max-width:1100px){
  .spviet-home-sale-grid{grid-template-columns:repeat(3,minmax(0,1fr));}
  .spviet-home-sale-grid > .spviet-home-sale-card:nth-child(n+7){display:none;}
}
@media(max-width:820px){
  .spviet-home-sale-section{width:calc(100vw - 20px);padding:18px 14px;margin:24px auto;border-radius:24px;}
  .spviet-home-sale-head{display:block;margin-bottom:14px;}
  .spviet-home-sale-head h2{font-size:clamp(28px,8vw,40px);margin-top:10px;}
  .spviet-home-sale-head p{font-size:13px;margin-top:7px;}
  .spviet-home-sale-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;}
  .spviet-home-sale-grid > .spviet-home-sale-card:nth-child(n+5){display:none;}
  .spviet-home-sale-body{padding:12px;}
  .spviet-home-sale-body h3{font-size:15px;min-height:40px;}
  .spviet-home-sale-price{font-size:18px;}
  .spviet-home-sale-badge,.spviet-home-sale-stock{font-size:11px;padding:5px 8px;}
}
@media(max-width:420px){
  .spviet-home-sale-grid{gap:10px;}
  .spviet-home-sale-order{font-size:13px!important;min-height:40px!important;}
}



/* =========================================================
   SPVIET V9.9.88 - Contact layout safe width + PC 4-column catalog closeout
   ========================================================= */
.spviet-contact-pro-v9985,
.entry-content .spviet-contact-pro-v9985,
.page .spviet-contact-pro-v9985{
  box-sizing:border-box!important;
  width:min(1180px, calc(100% - 32px))!important;
  max-width:1180px!important;
  margin-left:auto!important;
  margin-right:auto!important;
  padding-left:0!important;
  padding-right:0!important;
  clear:both!important;
}
.spviet-contact-pro-v9985 *{box-sizing:border-box!important;min-width:0!important;overflow-wrap:break-word!important;word-break:normal!important;}
.spviet-contact-grid-v9985{width:100%!important;grid-template-columns:minmax(0,1.42fr) minmax(300px,.58fr)!important;}
.spviet-contact-side-v9985{width:100%!important;min-width:0!important;}
.spviet-contact-side-v9985>div{grid-template-columns:58px minmax(0,1fr)!important;align-items:start!important;}
.spviet-contact-side-v9985 span{grid-column:1!important;grid-row:1 / span 2!important;}
.spviet-contact-side-v9985 strong{grid-column:2!important;grid-row:1!important;white-space:normal!important;line-height:1.25!important;}
.spviet-contact-side-v9985 p{grid-column:2!important;grid-row:2!important;white-space:normal!important;line-height:1.55!important;max-width:100%!important;}
html.spviet-device-desktop .spviet-wc-grid,
html.spviet-device-desktop .spviet-home-products-grid,
html.spviet-device-desktop .woocommerce ul.products,
html.spviet-device-desktop .woocommerce-page ul.products{
  grid-template-columns:repeat(var(--spv-ctl-pc-columns,4), minmax(0,1fr))!important;
}
html.spviet-device-desktop.spviet-desktop-wide-v9954 .spviet-wc-grid,
html.spviet-device-desktop.spviet-desktop-wide-v9954 .spviet-home-products-grid,
html.spviet-device-desktop.spviet-desktop-wide-v9954 .woocommerce ul.products,
html.spviet-device-desktop.spviet-desktop-wide-v9954 .woocommerce-page ul.products{
  grid-template-columns:repeat(var(--spv-ctl-pc-wide-columns,4), minmax(0,1fr))!important;
}
html.spviet-device-desktop .spviet-wc-card-media{aspect-ratio:4/3!important;overflow:hidden!important;}
html.spviet-device-desktop .spviet-wc-card-media img{width:100%!important;height:100%!important;object-fit:cover!important;display:block!important;}
.woocommerce a.added_to_cart.wc-forward{display:none!important;}
@media(max-width:980px){
  .spviet-contact-grid-v9985{grid-template-columns:1fr!important;}
  .spviet-contact-side-v9985>div{grid-template-columns:58px minmax(0,1fr)!important;}
}
@media(max-width:820px){
  .spviet-contact-pro-v9985,
  .entry-content .spviet-contact-pro-v9985,
  .page .spviet-contact-pro-v9985{width:calc(100% - 24px)!important;margin-top:14px!important;margin-bottom:calc(118px + env(safe-area-inset-bottom,0px))!important;}
  .spviet-contact-side-v9985>div{grid-template-columns:52px minmax(0,1fr)!important;padding:14px!important;}
  .spviet-contact-side-v9985 span{width:52px!important;height:52px!important;}
  .spviet-contact-side-v9985 strong{font-size:17px!important;}
  .spviet-contact-side-v9985 p{font-size:14px!important;}
}
@media(max-width:390px){
  .spviet-contact-side-v9985>div{grid-template-columns:1fr!important;gap:8px!important;}
  .spviet-contact-side-v9985 span,.spviet-contact-side-v9985 strong,.spviet-contact-side-v9985 p{grid-column:1!important;grid-row:auto!important;}
}

/* =========================================================
 * SPVIET V9.9.93 - Checkout/order table readability + service promises
 * Scope: Woo checkout review + order received/view order + home promise cards.
 * ========================================================= */
.spviet-service-promise-v9993{align-items:stretch!important;}
.spviet-service-promise-v9993 .spviet-promise-card-v9993{position:relative;overflow:hidden;display:grid;grid-template-columns:62px minmax(0,1fr);gap:8px 14px;align-content:start;min-height:178px;border-color:rgba(217,162,70,.32)!important;background:linear-gradient(145deg,#fffdf8 0%,#fff8ec 52%,#fff 100%)!important;}
.spviet-service-promise-v9993 .spviet-promise-card-v9993:before{content:"";position:absolute;inset:0 0 auto 0;height:5px;background:linear-gradient(90deg,#9b0016,#d79b31,#0f9d58);opacity:.9;}
.spviet-promise-icon-v9993{grid-row:1 / span 2;display:grid;place-items:center;width:58px;height:58px;border-radius:20px;background:linear-gradient(135deg,#9b0016,#bd1028);color:#fff;font-size:30px;box-shadow:0 14px 26px rgba(155,0,22,.18);}
.spviet-service-promise-v9993 h3{margin:3px 0 0!important;color:#8f0718!important;font-weight:950!important;font-size:clamp(18px,2vw,22px)!important;line-height:1.2!important;}
.spviet-service-promise-v9993 p{grid-column:2;margin:0!important;color:#5f4a4d!important;font-weight:650!important;line-height:1.55!important;}

body.woocommerce-order-received .spviet-order-table-v9992,
body.woocommerce-view-order .spviet-order-table-v9992{table-layout:fixed!important;width:100%!important;}
body.woocommerce-order-received .spviet-order-table-v9992 th,
body.woocommerce-view-order .spviet-order-table-v9992 th{color:#fff!important;text-shadow:none!important;font-weight:900!important;opacity:1!important;}
body.woocommerce-order-received .spviet-order-table-v9992 .product-name,
body.woocommerce-view-order .spviet-order-table-v9992 .product-name{width:46%!important;font-weight:500!important;color:#1f2937!important;}
body.woocommerce-order-received .spviet-order-table-v9992 .product-name a,
body.woocommerce-view-order .spviet-order-table-v9992 .product-name a{font-weight:500!important;color:#c56f00!important;text-decoration:none!important;}
body.woocommerce-order-received .spviet-order-table-v9992 .product-unit,
body.woocommerce-view-order .spviet-order-table-v9992 .product-unit{width:17%!important;text-align:right!important;color:#111827!important;font-weight:500!important;}
body.woocommerce-order-received .spviet-order-table-v9992 .product-qty,
body.woocommerce-view-order .spviet-order-table-v9992 .product-qty{width:12%!important;text-align:center!important;color:#991b1b!important;font-weight:900!important;background:rgba(255,247,237,.55)!important;}
body.woocommerce-order-received .spviet-order-table-v9992 .product-total,
body.woocommerce-view-order .spviet-order-table-v9992 .product-total{width:25%!important;text-align:right!important;color:#111827!important;font-weight:650!important;}
body.woocommerce-order-received .spviet-order-table-v9992 tbody td,
body.woocommerce-view-order .spviet-order-table-v9992 tbody td{font-weight:500!important;}

body.woocommerce-checkout .woocommerce-checkout-review-order-table.spviet-review-v9993-ready{table-layout:fixed!important;width:100%!important;border-collapse:separate!important;border-spacing:0!important;overflow:hidden!important;border-radius:14px!important;border:1px solid rgba(31,41,55,.14)!important;background:#fff!important;}
body.woocommerce-checkout .woocommerce-checkout-review-order-table.spviet-review-v9993-ready thead th{background:#fbfbfc!important;color:#1f2937!important;font-weight:900!important;border-bottom:1px solid rgba(31,41,55,.14)!important;}
body.woocommerce-checkout .woocommerce-checkout-review-order-table.spviet-review-v9993-ready .product-name{width:46%!important;font-weight:500!important;color:#1f2937!important;overflow-wrap:anywhere!important;}
body.woocommerce-checkout .woocommerce-checkout-review-order-table.spviet-review-v9993-ready .spviet-review-unit-v9993{width:17%!important;text-align:right!important;white-space:nowrap!important;color:#111827!important;font-weight:500!important;}
body.woocommerce-checkout .woocommerce-checkout-review-order-table.spviet-review-v9993-ready .spviet-review-qty-v9993{width:12%!important;text-align:center!important;white-space:nowrap!important;color:#991b1b!important;font-weight:900!important;background:rgba(255,247,237,.48)!important;}
body.woocommerce-checkout .woocommerce-checkout-review-order-table.spviet-review-v9993-ready .product-total{width:25%!important;text-align:right!important;white-space:nowrap!important;color:#111827!important;font-weight:650!important;}
body.woocommerce-checkout .woocommerce-checkout-review-order-table.spviet-review-v9993-ready .product-name .product-quantity{display:none!important;}
body.woocommerce-checkout .woocommerce-checkout-review-order-table.spviet-review-v9993-ready tfoot th{font-weight:900!important;color:#1f2937!important;}
body.woocommerce-checkout .woocommerce-checkout-review-order-table.spviet-review-v9993-ready tfoot td{text-align:right!important;font-weight:900!important;}
@media(max-width:767px){
  .spviet-service-promise-v9993{grid-template-columns:1fr!important;}
  .spviet-service-promise-v9993 .spviet-promise-card-v9993{grid-template-columns:54px minmax(0,1fr)!important;min-height:0!important;padding:18px!important;border-radius:22px!important;}
  .spviet-promise-icon-v9993{width:52px;height:52px;border-radius:17px;font-size:26px;}
  .spviet-service-promise-v9993 p{font-size:14px!important;}
  body.woocommerce-order-received .spviet-order-table-v9992,
  body.woocommerce-view-order .spviet-order-table-v9992{font-size:13px!important;}
  body.woocommerce-order-received .spviet-order-table-v9992 th,
  body.woocommerce-view-order .spviet-order-table-v9992 th,
  body.woocommerce-order-received .spviet-order-table-v9992 td,
  body.woocommerce-view-order .spviet-order-table-v9992 td{padding:10px 8px!important;}
  body.woocommerce-checkout .woocommerce-checkout-review-order-table.spviet-review-v9993-ready thead,
  body.woocommerce-checkout .woocommerce-checkout-review-order-table.spviet-review-v9993-ready tbody,
  body.woocommerce-checkout .woocommerce-checkout-review-order-table.spviet-review-v9993-ready tfoot{display:table-header-group!important;}
  body.woocommerce-checkout .woocommerce-checkout-review-order-table.spviet-review-v9993-ready tbody{display:table-row-group!important;}
  body.woocommerce-checkout .woocommerce-checkout-review-order-table.spviet-review-v9993-ready tfoot{display:table-footer-group!important;}
  body.woocommerce-checkout .woocommerce-checkout-review-order-table.spviet-review-v9993-ready tr{display:table-row!important;}
  body.woocommerce-checkout .woocommerce-checkout-review-order-table.spviet-review-v9993-ready th,
  body.woocommerce-checkout .woocommerce-checkout-review-order-table.spviet-review-v9993-ready td{display:table-cell!important;padding:10px 7px!important;font-size:13px!important;}
}

/* =========================================================
 * SPVIET v9.9.94 - PC Order received readability + 5-card summary + status timeline.
 * Display only; no checkout/payment/order-status mutation.
 * ========================================================= */
body.woocommerce-order-received ul.woocommerce-order-overview.order_details,
body.woocommerce-order-received ul.woocommerce-thankyou-order-details.order_details,
body.woocommerce-view-order ul.order_details{
  display:grid!important;
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
  gap:10px!important;
  align-items:stretch!important;
  margin:14px 0 26px!important;
  padding:0!important;
  clear:both!important;
}
body.woocommerce-order-received ul.woocommerce-order-overview.order_details li,
body.woocommerce-order-received ul.woocommerce-thankyou-order-details.order_details li,
body.woocommerce-view-order ul.order_details li{
  float:none!important;
  width:auto!important;
  min-width:0!important;
  max-width:none!important;
  margin:0!important;
  padding:12px 14px!important;
  border-right:0!important;
  word-break:normal!important;
  overflow-wrap:anywhere!important;
}
body.woocommerce-order-received ul.order_details li strong,
body.woocommerce-view-order ul.order_details li strong{
  font-size:15px!important;
  line-height:1.28!important;
  word-break:normal!important;
  overflow-wrap:anywhere!important;
}
body.woocommerce-order-received .spviet-order-table-v9992 thead th,
body.woocommerce-view-order .spviet-order-table-v9992 thead th,
body.woocommerce-order-received table.spviet-order-table-v9992 thead th.product-name,
body.woocommerce-order-received table.spviet-order-table-v9992 thead th.product-unit,
body.woocommerce-order-received table.spviet-order-table-v9992 thead th.product-qty,
body.woocommerce-order-received table.spviet-order-table-v9992 thead th.product-total,
body.woocommerce-view-order table.spviet-order-table-v9992 thead th.product-name,
body.woocommerce-view-order table.spviet-order-table-v9992 thead th.product-unit,
body.woocommerce-view-order table.spviet-order-table-v9992 thead th.product-qty,
body.woocommerce-view-order table.spviet-order-table-v9992 thead th.product-total{
  color:#fff!important;
  opacity:1!important;
  text-shadow:0 1px 0 rgba(0,0,0,.14)!important;
}
body.woocommerce-order-received .spviet-order-table-v9992 tfoot th,
body.woocommerce-order-received .spviet-order-table-v9992 tfoot td,
body.woocommerce-view-order .spviet-order-table-v9992 tfoot th,
body.woocommerce-view-order .spviet-order-table-v9992 tfoot td{
  color:#111827!important;
  opacity:1!important;
  font-weight:850!important;
  text-shadow:none!important;
}
body.woocommerce-order-received .spviet-order-table-v9992 tfoot tr:last-child th,
body.woocommerce-order-received .spviet-order-table-v9992 tfoot tr:last-child td,
body.woocommerce-view-order .spviet-order-table-v9992 tfoot tr:last-child th,
body.woocommerce-view-order .spviet-order-table-v9992 tfoot tr:last-child td{
  color:#8f0718!important;
}
.spviet-order-progress-v9994{
  margin:24px 0 4px!important;
  padding:20px 20px 18px!important;
  border-radius:22px!important;
  border:1px solid rgba(162,11,29,.14)!important;
  background:linear-gradient(135deg,#fff8e8 0%,#ffffff 65%,#fff4dc 100%)!important;
  box-shadow:0 14px 36px rgba(55,32,14,.07)!important;
}
.spviet-order-progress-head-v9994{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;margin:0 0 16px!important;}
.spviet-order-progress-kicker-v9994{display:inline-flex!important;align-items:center!important;gap:8px!important;padding:7px 12px!important;border-radius:999px!important;background:#fff1cc!important;color:#9b0718!important;font-size:12px!important;font-weight:950!important;text-transform:uppercase!important;letter-spacing:.04em!important;}
.spviet-order-progress-kicker-v9994:before{content:"📦";font-size:15px;line-height:1;}
.spviet-order-progress-head-v9994 strong{color:#172033!important;font-size:18px!important;font-weight:950!important;text-align:right!important;}
.spviet-order-progress-steps-v9994{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:0!important;margin:0!important;padding:0!important;list-style:none!important;counter-reset:none!important;}
.spviet-progress-step-v9994{position:relative!important;display:flex!important;flex-direction:column!important;align-items:center!important;text-align:center!important;gap:8px!important;min-width:0!important;padding:0 6px!important;color:#7a6a68!important;font-weight:800!important;}
.spviet-progress-step-v9994:not(:last-child):after{content:"";position:absolute!important;left:calc(50% + 19px)!important;right:calc(-50% + 19px)!important;top:18px!important;height:4px!important;border-radius:999px!important;background:#ead8cf!important;z-index:0!important;}
.spviet-progress-step-v9994.is-done:not(:last-child):after,.spviet-progress-step-v9994.is-active:not(:last-child):after{background:linear-gradient(90deg,#9b0718,#d8972e)!important;}
.spviet-progress-dot-v9994{position:relative!important;z-index:1!important;width:38px!important;height:38px!important;border-radius:999px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;background:#fff!important;border:3px solid #ead8cf!important;color:#9a7b6b!important;font-size:14px!important;font-weight:1000!important;box-shadow:0 8px 18px rgba(70,25,8,.08)!important;}
.spviet-progress-step-v9994.is-done .spviet-progress-dot-v9994{background:#159447!important;border-color:#159447!important;color:#fff!important;}
.spviet-progress-step-v9994.is-done .spviet-progress-dot-v9994:before{content:"✓";font-size:16px;}
.spviet-progress-step-v9994.is-done .spviet-progress-dot-v9994{font-size:0!important;}
.spviet-progress-step-v9994.is-active .spviet-progress-dot-v9994{background:linear-gradient(135deg,#a20b1d,#e09728)!important;border-color:#fff1cc!important;color:#fff!important;box-shadow:0 10px 24px rgba(162,11,29,.22)!important;}
.spviet-progress-label-v9994{display:block!important;max-width:130px!important;color:inherit!important;font-size:13px!important;line-height:1.25!important;}
.spviet-progress-step-v9994.is-done .spviet-progress-label-v9994,.spviet-progress-step-v9994.is-active .spviet-progress-label-v9994{color:#8f0718!important;font-weight:950!important;}
.spviet-order-progress-note-v9994{margin:14px 0 0!important;color:#665b57!important;font-size:13px!important;font-weight:650!important;line-height:1.45!important;}
.spviet-order-progress-steps-v9994.is-exception .spviet-progress-dot-v9994{border-color:#e11d48!important;color:#e11d48!important;}
@media(max-width:900px){
  body.woocommerce-order-received ul.woocommerce-order-overview.order_details,
  body.woocommerce-order-received ul.woocommerce-thankyou-order-details.order_details,
  body.woocommerce-view-order ul.order_details{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
  .spviet-order-progress-steps-v9994{grid-template-columns:1fr!important;gap:10px!important;}
  .spviet-progress-step-v9994{display:grid!important;grid-template-columns:40px minmax(0,1fr)!important;text-align:left!important;align-items:center!important;padding:0!important;}
  .spviet-progress-step-v9994:not(:last-child):after{left:18px!important;right:auto!important;top:38px!important;bottom:-14px!important;width:4px!important;height:auto!important;}
  .spviet-progress-label-v9994{max-width:none!important;font-size:14px!important;}
  .spviet-order-progress-head-v9994{align-items:flex-start!important;flex-direction:column!important;}
  .spviet-order-progress-head-v9994 strong{text-align:left!important;}
}
@media(min-width:901px){
  body.woocommerce-order-received .woocommerce-order,
  body.woocommerce-view-order .woocommerce-MyAccount-content{padding-top:28px!important;}
}


/* =========================================================
 * SPVIET V9.9.95 - Phone/Tablet order tables 3-column closeout
 * Mobile/tablet standard: Tên món / Số lượng / Thành tiền.
 * PC keeps v9.9.92/93 4-column standard with unit price.
 * ========================================================= */
@media (max-width:1024px){
  body.woocommerce-checkout table.woocommerce-checkout-review-order-table.spviet-mobile-review-3col-v9995,
  body.woocommerce-checkout table.woocommerce-checkout-review-order-table.spviet-review-v9993-ready.spviet-mobile-review-3col-v9995{
    table-layout:auto!important;width:100%!important;border-collapse:separate!important;border-spacing:0!important;overflow:hidden!important;border-radius:16px!important;
  }
  body.woocommerce-checkout table.woocommerce-checkout-review-order-table.spviet-mobile-review-3col-v9995 thead,
  body.woocommerce-checkout table.woocommerce-checkout-review-order-table.spviet-mobile-review-3col-v9995 tbody,
  body.woocommerce-checkout table.woocommerce-checkout-review-order-table.spviet-mobile-review-3col-v9995 tfoot{display:block!important;width:100%!important;}
  body.woocommerce-checkout table.woocommerce-checkout-review-order-table.spviet-mobile-review-3col-v9995 thead tr,
  body.woocommerce-checkout table.woocommerce-checkout-review-order-table.spviet-mobile-review-3col-v9995 tbody tr.cart_item{
    display:grid!important;grid-template-columns:minmax(0,1fr) 64px minmax(92px,112px)!important;align-items:center!important;width:100%!important;
  }
  body.woocommerce-checkout table.woocommerce-checkout-review-order-table.spviet-mobile-review-3col-v9995 th,
  body.woocommerce-checkout table.woocommerce-checkout-review-order-table.spviet-mobile-review-3col-v9995 td{
    display:block!important;min-width:0!important;width:auto!important;box-sizing:border-box!important;padding:11px 8px!important;border-left:0!important;border-right:0!important;vertical-align:middle!important;font-size:13px!important;line-height:1.28!important;
  }
  body.woocommerce-checkout table.woocommerce-checkout-review-order-table.spviet-mobile-review-3col-v9995 .spviet-review-unit-v9993,
  body.woocommerce-checkout table.woocommerce-checkout-review-order-table.spviet-mobile-review-3col-v9995 .spviet-mobile-review-qty:not(.spviet-review-qty-v9993){display:none!important;}
  body.woocommerce-checkout table.woocommerce-checkout-review-order-table.spviet-mobile-review-3col-v9995 .product-name{
    width:auto!important;color:#1f2937!important;font-weight:500!important;white-space:normal!important;word-break:normal!important;overflow-wrap:break-word!important;text-align:left!important;
  }
  body.woocommerce-checkout table.woocommerce-checkout-review-order-table.spviet-mobile-review-3col-v9995 .spviet-review-qty-v9993{
    width:auto!important;text-align:center!important;color:#8f0718!important;background:rgba(255,247,237,.72)!important;font-weight:950!important;white-space:nowrap!important;
  }
  body.woocommerce-checkout table.woocommerce-checkout-review-order-table.spviet-mobile-review-3col-v9995 .product-total{
    width:auto!important;text-align:right!important;color:#111827!important;font-weight:900!important;white-space:nowrap!important;word-break:normal!important;overflow-wrap:normal!important;
  }
  body.woocommerce-checkout table.woocommerce-checkout-review-order-table.spviet-mobile-review-3col-v9995 thead th{font-weight:950!important;color:#1f2937!important;background:#fbfbfc!important;}
  body.woocommerce-checkout table.woocommerce-checkout-review-order-table.spviet-mobile-review-3col-v9995 tfoot tr{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(112px,auto)!important;width:100%!important;}

  body.woocommerce-order-received table.spviet-order-table-v9992.spviet-mobile-order-3col-v9995,
  body.woocommerce-view-order table.spviet-order-table-v9992.spviet-mobile-order-3col-v9995,
  body.woocommerce-order-received table.shop_table.order_details.spviet-mobile-order-3col-v9995,
  body.woocommerce-view-order table.shop_table.order_details.spviet-mobile-order-3col-v9995{
    table-layout:auto!important;width:100%!important;border-collapse:separate!important;border-spacing:0!important;overflow:hidden!important;border-radius:16px!important;
  }
  body.woocommerce-order-received table.spviet-mobile-order-3col-v9995 thead,
  body.woocommerce-order-received table.spviet-mobile-order-3col-v9995 tbody,
  body.woocommerce-order-received table.spviet-mobile-order-3col-v9995 tfoot,
  body.woocommerce-view-order table.spviet-mobile-order-3col-v9995 thead,
  body.woocommerce-view-order table.spviet-mobile-order-3col-v9995 tbody,
  body.woocommerce-view-order table.spviet-mobile-order-3col-v9995 tfoot{display:block!important;width:100%!important;}
  body.woocommerce-order-received table.spviet-mobile-order-3col-v9995 thead tr,
  body.woocommerce-order-received table.spviet-mobile-order-3col-v9995 tbody tr.order_item,
  body.woocommerce-order-received table.spviet-mobile-order-3col-v9995 tbody tr.woocommerce-table__line-item,
  body.woocommerce-view-order table.spviet-mobile-order-3col-v9995 thead tr,
  body.woocommerce-view-order table.spviet-mobile-order-3col-v9995 tbody tr.order_item,
  body.woocommerce-view-order table.spviet-mobile-order-3col-v9995 tbody tr.woocommerce-table__line-item{
    display:grid!important;grid-template-columns:minmax(0,1fr) 64px minmax(92px,112px)!important;align-items:center!important;width:100%!important;
  }
  body.woocommerce-order-received table.spviet-mobile-order-3col-v9995 th,
  body.woocommerce-order-received table.spviet-mobile-order-3col-v9995 td,
  body.woocommerce-view-order table.spviet-mobile-order-3col-v9995 th,
  body.woocommerce-view-order table.spviet-mobile-order-3col-v9995 td{
    display:block!important;min-width:0!important;width:auto!important;box-sizing:border-box!important;padding:11px 8px!important;border-left:0!important;border-right:0!important;font-size:13px!important;line-height:1.28!important;vertical-align:middle!important;
  }
  body.woocommerce-order-received table.spviet-mobile-order-3col-v9995 .product-unit,
  body.woocommerce-order-received table.spviet-mobile-order-3col-v9995 .spviet-mobile-hide-unit-v9995,
  body.woocommerce-order-received table.spviet-mobile-order-3col-v9995 .spviet-mobile-bill-qty:not(.product-qty),
  body.woocommerce-view-order table.spviet-mobile-order-3col-v9995 .product-unit,
  body.woocommerce-view-order table.spviet-mobile-order-3col-v9995 .spviet-mobile-hide-unit-v9995,
  body.woocommerce-view-order table.spviet-mobile-order-3col-v9995 .spviet-mobile-bill-qty:not(.product-qty){display:none!important;}
  body.woocommerce-order-received table.spviet-mobile-order-3col-v9995 .product-name,
  body.woocommerce-view-order table.spviet-mobile-order-3col-v9995 .product-name{
    width:auto!important;text-align:left!important;color:#c56f00!important;font-weight:500!important;white-space:normal!important;word-break:normal!important;overflow-wrap:break-word!important;
  }
  body.woocommerce-order-received table.spviet-mobile-order-3col-v9995 .product-name a,
  body.woocommerce-view-order table.spviet-mobile-order-3col-v9995 .product-name a{font-weight:500!important;color:#c56f00!important;}
  body.woocommerce-order-received table.spviet-mobile-order-3col-v9995 .product-qty,
  body.woocommerce-view-order table.spviet-mobile-order-3col-v9995 .product-qty{
    width:auto!important;text-align:center!important;color:#8f0718!important;background:rgba(255,247,237,.72)!important;font-weight:950!important;white-space:nowrap!important;
  }
  body.woocommerce-order-received table.spviet-mobile-order-3col-v9995 .product-total,
  body.woocommerce-view-order table.spviet-mobile-order-3col-v9995 .product-total{
    width:auto!important;text-align:right!important;color:#111827!important;font-weight:900!important;white-space:nowrap!important;word-break:normal!important;overflow-wrap:normal!important;
  }
  body.woocommerce-order-received table.spviet-mobile-order-3col-v9995 thead th,
  body.woocommerce-view-order table.spviet-mobile-order-3col-v9995 thead th{font-weight:950!important;background:#fbfbfc!important;color:#1f2937!important;text-shadow:none!important;}
  body.woocommerce-order-received table.spviet-mobile-order-3col-v9995 tfoot tr,
  body.woocommerce-view-order table.spviet-mobile-order-3col-v9995 tfoot tr{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(112px,auto)!important;width:100%!important;}
}
@media (max-width:430px){
  body.woocommerce-checkout table.woocommerce-checkout-review-order-table.spviet-mobile-review-3col-v9995 thead tr,
  body.woocommerce-checkout table.woocommerce-checkout-review-order-table.spviet-mobile-review-3col-v9995 tbody tr.cart_item,
  body.woocommerce-order-received table.spviet-mobile-order-3col-v9995 thead tr,
  body.woocommerce-order-received table.spviet-mobile-order-3col-v9995 tbody tr.order_item,
  body.woocommerce-order-received table.spviet-mobile-order-3col-v9995 tbody tr.woocommerce-table__line-item,
  body.woocommerce-view-order table.spviet-mobile-order-3col-v9995 thead tr,
  body.woocommerce-view-order table.spviet-mobile-order-3col-v9995 tbody tr.order_item,
  body.woocommerce-view-order table.spviet-mobile-order-3col-v9995 tbody tr.woocommerce-table__line-item{
    grid-template-columns:minmax(0,1fr) 54px minmax(78px,94px)!important;
  }
  body.woocommerce-checkout table.woocommerce-checkout-review-order-table.spviet-mobile-review-3col-v9995 th,
  body.woocommerce-checkout table.woocommerce-checkout-review-order-table.spviet-mobile-review-3col-v9995 td,
  body.woocommerce-order-received table.spviet-mobile-order-3col-v9995 th,
  body.woocommerce-order-received table.spviet-mobile-order-3col-v9995 td,
  body.woocommerce-view-order table.spviet-mobile-order-3col-v9995 th,
  body.woocommerce-view-order table.spviet-mobile-order-3col-v9995 td{font-size:12.5px!important;padding:10px 6px!important;}
}

/* SPVIET V9.9.97 - PC Home quick menu block closeout.
   The colorful quick menu block is PC-only by default and controlled from Theme > SPVIET Mobile Home. */
.spviet-pc-home-menu-block-v9997{
  margin:18px auto 24px!important;
  max-width:1240px!important;
  width:min(1240px,calc(100vw - 48px))!important;
  padding:0!important;
  order:10;
}
.spviet-pc-home-menu-block-v9997 .spviet-quick-links-grid{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:18px!important;
}
.spviet-pc-home-menu-block-v9997 .spviet-quick-link{
  min-height:78px!important;
  border-radius:18px!important;
  padding:18px 24px!important;
  align-items:center!important;
  box-shadow:0 18px 38px rgba(80,18,20,.10)!important;
}
.spviet-pc-home-menu-block-v9997 .spviet-quick-link span{
  display:block!important;
  font-size:clamp(20px,1.55vw,28px)!important;
  line-height:1.12!important;
  text-align:center!important;
  white-space:normal!important;
  overflow-wrap:normal!important;
  word-break:keep-all!important;
}
@media (max-width:1024px){
  .spviet-pc-home-menu-block-v9997{display:none!important;}
}


/* SPVIET V9.9.98 - PC Home quick menu visible recovery above Latest News. */
@media (min-width:1025px){
  body.home .spviet-pc-home-quick-menu-v9998,
  body.front-page .spviet-pc-home-quick-menu-v9998,
  .spviet-pc-home-quick-menu-v9998{
    display:block!important;
    max-width:1240px!important;
    width:min(1240px,calc(100vw - 48px))!important;
    margin:22px auto 26px!important;
    padding:0!important;
    clear:both!important;
  }
  .spviet-pc-home-quick-menu-v9998 .spviet-quick-links-grid{
    display:grid!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:18px!important;
    align-items:stretch!important;
  }
  .spviet-pc-home-quick-menu-v9998 .spviet-quick-link{
    display:flex!important;
    min-height:82px!important;
    border-radius:18px!important;
    padding:18px 24px!important;
    align-items:center!important;
    justify-content:space-between!important;
  }
  .spviet-pc-home-quick-menu-v9998 .spviet-quick-link span{
    display:block!important;
    width:100%!important;
    font-size:clamp(20px,1.55vw,28px)!important;
    line-height:1.12!important;
    text-align:center!important;
    white-space:normal!important;
    word-break:keep-all!important;
    overflow-wrap:normal!important;
    writing-mode:horizontal-tb!important;
  }
}
@media (max-width:1024px){
  .spviet-pc-home-quick-menu-v9998{display:none!important;}
}


/* SPVIET V10.0.0 - PC header My Account button replacing QR Order. */
.spviet-header-actions .spviet-account-btn-v10000{
  background:linear-gradient(135deg,#fff8e8,#fff)!important;
  color:#7a0010!important;
  border:1px solid rgba(212,160,58,.45)!important;
  box-shadow:0 12px 26px rgba(122,0,16,.10)!important;
  gap:8px!important;
  min-height:42px!important;
  padding:10px 18px!important;
  font-size:14px!important;
}
.spviet-header-actions .spviet-account-btn-v10000:hover{
  background:linear-gradient(135deg,#fff3cb,#fff8ed)!important;
  color:#9b0018!important;
  transform:translateY(-1px);
}
.spviet-account-btn-icon-v10000{font-size:17px;line-height:1;filter:drop-shadow(0 2px 4px rgba(139,7,20,.12));}
@media (max-width:1024px){
  .spviet-header-actions .spviet-account-btn-v10000{display:none!important;}
}
.spviet-mobile-drawer-actions-v9978 a[data-drawer-action="account"]{
  background:linear-gradient(135deg,#fff6dc,#ffffff)!important;
  color:#7a0010!important;
  box-shadow:0 12px 26px rgba(122,0,16,.12),inset 0 0 0 1px rgba(212,160,58,.38)!important;
}
.spviet-mobile-drawer-actions-v9978 a[data-drawer-action="account"] span{filter:none!important;}

/* =========================================================
 * SPVIET V10.0.1 - Premium My Account Dashboard Pro
 * Scope: WooCommerce My Account page only. Display/UI only.
 * ========================================================= */
body.woocommerce-account .entry-content > .woocommerce,
body.woocommerce-account .woocommerce{
  max-width:1320px!important;
  margin:24px auto 110px!important;
  padding:0 18px!important;
  box-sizing:border-box!important;
}
body.woocommerce-account .woocommerce:after{content:"";display:block;clear:both;}
body.woocommerce-account .woocommerce h2,
body.woocommerce-account .woocommerce h3{letter-spacing:-.02em;}
body.woocommerce-account .woocommerce-MyAccount-navigation.spviet-myaccount-nav-v10001{
  float:none!important;
  width:260px!important;
  display:block!important;
  position:relative!important;
  z-index:1!important;
  margin:0!important;
  padding:16px!important;
  border:1px solid rgba(162,11,29,.13)!important;
  border-radius:26px!important;
  background:linear-gradient(180deg,#fffaf1 0%,#fff 100%)!important;
  box-shadow:0 18px 42px rgba(83,29,9,.08)!important;
}
body.woocommerce-account .woocommerce-MyAccount-navigation.spviet-myaccount-nav-v10001 ul{margin:12px 0 0!important;padding:0!important;list-style:none!important;display:grid!important;gap:8px!important;}
.spviet-myaccount-nav-title-v10001{font-size:18px!important;font-weight:1000!important;color:#9b0718!important;padding:8px 8px 12px!important;border-bottom:1px dashed rgba(162,11,29,.18)!important;}
body.woocommerce-account .woocommerce-MyAccount-navigation.spviet-myaccount-nav-v10001 li{margin:0!important;padding:0!important;list-style:none!important;}
body.woocommerce-account .woocommerce-MyAccount-navigation.spviet-myaccount-nav-v10001 a{
  display:flex!important;align-items:center!important;gap:10px!important;
  padding:12px 12px!important;border-radius:16px!important;
  text-decoration:none!important;color:#251c1b!important;font-weight:850!important;
  border:1px solid transparent!important;transition:.18s ease!important;background:transparent!important;
}
body.woocommerce-account .woocommerce-MyAccount-navigation.spviet-myaccount-nav-v10001 a span{width:30px;height:30px;border-radius:12px;display:inline-flex;align-items:center;justify-content:center;background:#fff1cc;box-shadow:0 8px 18px rgba(162,11,29,.06);}
body.woocommerce-account .woocommerce-MyAccount-navigation.spviet-myaccount-nav-v10001 li.is-active a,
body.woocommerce-account .woocommerce-MyAccount-navigation.spviet-myaccount-nav-v10001 a:hover{
  background:linear-gradient(135deg,#a20b1d 0%,#d78d26 100%)!important;color:#fff!important;border-color:rgba(255,255,255,.65)!important;box-shadow:0 12px 25px rgba(162,11,29,.16)!important;
}
body.woocommerce-account .woocommerce-MyAccount-navigation.spviet-myaccount-nav-v10001 li.is-active a span,
body.woocommerce-account .woocommerce-MyAccount-navigation.spviet-myaccount-nav-v10001 a:hover span{background:rgba(255,255,255,.22)!important;}
body.woocommerce-account .woocommerce-MyAccount-content{
  float:none!important;
  width:auto!important;
  min-height:520px!important;
  margin-left:286px!important;
  padding:0!important;
  color:#1f2937!important;
}
body.woocommerce-account .woocommerce:not(.spviet-no-account-grid-v10001){display:block!important;}
body.woocommerce-account .woocommerce:has(.spviet-myaccount-nav-v10001) .woocommerce-MyAccount-navigation{float:left!important;}
body.woocommerce-account .woocommerce-MyAccount-content > p:first-child{display:none!important;}
.spviet-myaccount-dashboard-v10001{display:grid!important;gap:20px!important;}
.spviet-account-hero-v10001{
  display:grid!important;grid-template-columns:86px minmax(0,1fr) auto!important;align-items:center!important;gap:20px!important;
  padding:28px!important;border-radius:30px!important;border:1px solid rgba(162,11,29,.14)!important;
  background:radial-gradient(circle at 8% 0%,rgba(245,205,121,.38),transparent 32%),linear-gradient(135deg,#fff7e8 0%,#fff 58%,#fff2d4 100%)!important;
  box-shadow:0 24px 58px rgba(91,39,15,.10)!important;overflow:hidden!important;position:relative!important;
}
.spviet-account-hero-v10001:before{content:"";position:absolute;right:-80px;top:-80px;width:220px;height:220px;border-radius:999px;background:rgba(162,11,29,.08);}
.spviet-account-avatar-v10001{width:86px;height:86px;border-radius:26px;background:linear-gradient(135deg,#9b0718,#d89025);color:#fff;font-size:42px;font-weight:1000;display:flex;align-items:center;justify-content:center;box-shadow:0 18px 32px rgba(162,11,29,.22);}
.spviet-account-kicker-v10001{display:inline-flex;margin-bottom:6px;padding:7px 12px;border-radius:999px;background:#fff1cc;color:#9b0718;font-size:12px;font-weight:1000;text-transform:uppercase;letter-spacing:.05em;}
.spviet-account-hero-main-v10001 h2{margin:0 0 8px!important;color:#9b0718!important;font-size:34px!important;line-height:1.1!important;font-weight:1000!important;}
.spviet-account-hero-main-v10001 p{margin:0!important;color:#5b4a48!important;font-size:16px!important;line-height:1.55!important;font-weight:650!important;max-width:760px!important;}
.spviet-account-hero-actions-v10001{display:flex!important;flex-direction:column!important;gap:10px!important;position:relative!important;z-index:1!important;}
.spviet-account-primary-btn-v10001,.spviet-account-ghost-btn-v10001{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;min-width:150px!important;padding:12px 18px!important;border-radius:999px!important;text-decoration:none!important;font-weight:1000!important;white-space:nowrap!important;}
.spviet-account-primary-btn-v10001{background:#109444!important;color:#fff!important;box-shadow:0 12px 24px rgba(16,148,68,.18)!important;}
.spviet-account-ghost-btn-v10001{background:#fff!important;color:#9b0718!important;border:1px solid rgba(162,11,29,.18)!important;}
.spviet-account-stats-v10001{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:14px!important;}
.spviet-account-stats-v10001 article{padding:18px!important;border-radius:22px!important;border:1px solid rgba(162,11,29,.12)!important;background:#fff!important;box-shadow:0 12px 28px rgba(70,32,12,.06)!important;min-width:0!important;}
.spviet-account-stats-v10001 span{font-size:24px!important;display:block!important;margin-bottom:10px!important;}
.spviet-account-stats-v10001 strong{display:block!important;color:#172033!important;font-size:18px!important;line-height:1.25!important;font-weight:1000!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;}
.spviet-account-stats-v10001 em{display:block!important;color:#8b6b5f!important;font-style:normal!important;font-size:12px!important;font-weight:850!important;margin-top:6px!important;text-transform:uppercase!important;letter-spacing:.04em!important;}
.spviet-account-action-grid-v10001{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:16px!important;}
.spviet-account-action-grid-v10001 a{display:flex!important;flex-direction:column!important;gap:10px!important;min-height:178px!important;padding:20px!important;border-radius:24px!important;background:linear-gradient(180deg,#fff 0%,#fffaf2 100%)!important;border:1px solid rgba(216,151,46,.22)!important;text-decoration:none!important;box-shadow:0 14px 30px rgba(80,32,9,.07)!important;transition:.18s ease!important;}
.spviet-account-action-grid-v10001 a:hover{transform:translateY(-2px);box-shadow:0 20px 40px rgba(162,11,29,.12)!important;border-color:rgba(162,11,29,.22)!important;}
.spviet-account-action-grid-v10001 span{width:50px!important;height:50px!important;border-radius:18px!important;display:flex!important;align-items:center!important;justify-content:center!important;background:#a20b1d!important;color:#fff!important;font-size:24px!important;box-shadow:0 12px 24px rgba(162,11,29,.18)!important;}
.spviet-account-action-grid-v10001 strong{color:#9b0718!important;font-size:19px!important;font-weight:1000!important;line-height:1.18!important;}
.spviet-account-action-grid-v10001 em{color:#5b4a48!important;font-style:normal!important;font-size:14px!important;line-height:1.45!important;font-weight:650!important;}
.spviet-account-recent-v10001{padding:24px!important;border-radius:28px!important;background:#fff!important;border:1px solid rgba(162,11,29,.12)!important;box-shadow:0 16px 40px rgba(70,32,12,.07)!important;}
.spviet-account-section-head-v10001{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:16px!important;margin-bottom:16px!important;}
.spviet-account-section-head-v10001 span{display:inline-flex!important;margin-bottom:5px!important;color:#c67b13!important;font-size:12px!important;font-weight:1000!important;text-transform:uppercase!important;letter-spacing:.06em!important;}
.spviet-account-section-head-v10001 h3{margin:0!important;color:#172033!important;font-size:24px!important;font-weight:1000!important;}
.spviet-account-section-head-v10001 a{color:#9b0718!important;font-weight:1000!important;text-decoration:none!important;background:#fff1cc!important;border-radius:999px!important;padding:10px 14px!important;white-space:nowrap!important;}
.spviet-account-order-list-v10001{display:grid!important;gap:8px!important;}
.spviet-account-order-row-v10001{display:grid!important;grid-template-columns:110px minmax(0,1fr) 150px 130px!important;gap:12px!important;align-items:center!important;padding:13px 14px!important;border-radius:16px!important;background:#fffaf4!important;border:1px solid rgba(162,11,29,.08)!important;text-decoration:none!important;color:#172033!important;font-weight:800!important;}
.spviet-account-order-row-v10001 strong{color:#9b0718!important;font-weight:1000!important;}
.spviet-account-order-row-v10001 em{font-style:normal!important;color:#0f8f44!important;font-weight:950!important;}
.spviet-account-order-row-v10001 b{text-align:right!important;color:#172033!important;}
.spviet-account-empty-v10001{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:14px!important;padding:18px!important;border-radius:20px!important;background:#fffaf1!important;border:1px dashed rgba(162,11,29,.25)!important;}
.spviet-account-empty-v10001 a{background:#109444!important;color:#fff!important;text-decoration:none!important;border-radius:999px!important;padding:10px 16px!important;font-weight:1000!important;}
body.woocommerce-account:not(.logged-in) .woocommerce form.login,
body.woocommerce-account:not(.logged-in) .woocommerce form.register{border-radius:26px!important;border:1px solid rgba(162,11,29,.13)!important;background:#fff!important;box-shadow:0 18px 42px rgba(83,29,9,.08)!important;padding:24px!important;}
body.woocommerce-account:not(.logged-in) .woocommerce h2{color:#9b0718!important;font-size:30px!important;font-weight:1000!important;}
body.woocommerce-account .woocommerce form .form-row input.input-text{border-radius:14px!important;border:1px solid #e5d4cc!important;padding:12px 14px!important;min-height:46px!important;}
body.woocommerce-account .woocommerce button.button{border-radius:999px!important;background:#109444!important;color:#fff!important;font-weight:1000!important;padding:12px 20px!important;border:0!important;}
@supports not selector(:has(*)){
  body.woocommerce-account .woocommerce-MyAccount-navigation.spviet-myaccount-nav-v10001{float:left!important;}
}
@media (max-width:1180px){
  body.woocommerce-account .woocommerce-MyAccount-navigation.spviet-myaccount-nav-v10001{width:230px!important;}
  body.woocommerce-account .woocommerce-MyAccount-content{margin-left:254px!important;}
  .spviet-account-action-grid-v10001,.spviet-account-stats-v10001{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
  .spviet-account-hero-v10001{grid-template-columns:72px minmax(0,1fr)!important;}
  .spviet-account-hero-actions-v10001{grid-column:1/-1!important;flex-direction:row!important;}
}
@media (max-width:900px){
  body.woocommerce-account .entry-content > .woocommerce,body.woocommerce-account .woocommerce{margin:14px auto 100px!important;padding:0 14px!important;}
  body.woocommerce-account .woocommerce-MyAccount-navigation.spviet-myaccount-nav-v10001{float:none!important;width:auto!important;margin:0 0 16px!important;padding:12px!important;border-radius:22px!important;}
  body.woocommerce-account .woocommerce-MyAccount-navigation.spviet-myaccount-nav-v10001 ul{display:flex!important;overflow-x:auto!important;gap:8px!important;padding-bottom:4px!important;scroll-snap-type:x proximity!important;}
  body.woocommerce-account .woocommerce-MyAccount-navigation.spviet-myaccount-nav-v10001 li{flex:0 0 auto!important;scroll-snap-align:start!important;}
  body.woocommerce-account .woocommerce-MyAccount-navigation.spviet-myaccount-nav-v10001 a{white-space:nowrap!important;padding:10px 12px!important;}
  .spviet-myaccount-nav-title-v10001{font-size:16px!important;padding:6px 8px 10px!important;}
  body.woocommerce-account .woocommerce-MyAccount-content{margin-left:0!important;min-height:0!important;}
  .spviet-account-hero-v10001{grid-template-columns:60px minmax(0,1fr)!important;padding:20px!important;border-radius:24px!important;gap:14px!important;}
  .spviet-account-avatar-v10001{width:60px!important;height:60px!important;border-radius:20px!important;font-size:30px!important;}
  .spviet-account-hero-main-v10001 h2{font-size:25px!important;}
  .spviet-account-hero-main-v10001 p{font-size:14px!important;}
  .spviet-account-hero-actions-v10001{flex-direction:column!important;}
  .spviet-account-primary-btn-v10001,.spviet-account-ghost-btn-v10001{width:100%!important;}
  .spviet-account-stats-v10001,.spviet-account-action-grid-v10001{grid-template-columns:1fr!important;}
  .spviet-account-action-grid-v10001 a{min-height:auto!important;}
  .spviet-account-section-head-v10001{align-items:flex-start!important;flex-direction:column!important;}
  .spviet-account-order-row-v10001{grid-template-columns:1fr!important;gap:5px!important;}
  .spviet-account-order-row-v10001 b{text-align:left!important;}
  .spviet-account-empty-v10001{align-items:flex-start!important;flex-direction:column!important;}
}


/* SPVIET V10.0.2 - My Account integrated Member/Loyalty center. */
.spviet-account-loyalty-embed-v10002{margin:28px 0;padding:24px;border:1px solid rgba(166,17,33,.16);border-radius:28px;background:linear-gradient(135deg,#fffaf0 0%,#fff 55%,#fff2f2 100%);box-shadow:0 22px 55px rgba(70,16,24,.08);overflow:hidden;clear:both}.spviet-account-loyalty-head-v10002{display:flex;flex-direction:column;gap:8px;margin-bottom:18px}.spviet-account-loyalty-head-v10002 span{align-self:flex-start;display:inline-flex;align-items:center;gap:8px;padding:7px 13px;border-radius:999px;background:#fff0d6;color:#a00818;font-weight:900;font-size:12px;letter-spacing:.05em}.spviet-account-loyalty-head-v10002 h3{margin:0;color:#07182e;font-size:clamp(24px,3vw,38px);font-weight:950;line-height:1.1}.spviet-account-loyalty-head-v10002 p{margin:0;color:#6b4b4b;font-weight:650;line-height:1.55}.spviet-account-loyalty-body-v10002{background:rgba(255,255,255,.84);border:1px solid rgba(217,170,50,.22);border-radius:24px;padding:18px;overflow-x:auto}.spviet-account-loyalty-body-v10002 *{box-sizing:border-box;max-width:100%}.spviet-account-loyalty-body-v10002 table{width:100%;border-collapse:separate;border-spacing:0}.spviet-account-loyalty-body-v10002 th{background:#f6f7fb;color:#33415c;font-weight:900;text-transform:uppercase;font-size:12px;letter-spacing:.04em}.spviet-account-loyalty-body-v10002 td,.spviet-account-loyalty-body-v10002 th{padding:13px 14px;border-bottom:1px solid #edf0f5;vertical-align:middle}.spviet-account-loyalty-body-v10002 img{height:auto;border-radius:16px}.spviet-account-loyalty-body-v10002 .spviet-member-card,.spviet-account-loyalty-body-v10002 [class*="member" i][class*="card" i]{box-shadow:0 18px 40px rgba(70,16,24,.08)}.spviet-account-loyalty-empty-v10002{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:18px;border-radius:18px;background:#fff;border:1px dashed #d9aa32}.spviet-account-loyalty-empty-v10002 a{display:inline-flex;padding:10px 16px;border-radius:999px;background:#a00818;color:#fff!important;text-decoration:none;font-weight:900}.spviet-myaccount-member-anchor-v10002 a{background:linear-gradient(135deg,#fff7dc,#fff)!important;border-color:rgba(217,170,50,.45)!important}.spviet-account-action-grid-v10001 a[href*="spviet-account-loyalty-v10002"]{background:linear-gradient(135deg,#fff8e6,#fff);border-color:rgba(217,170,50,.35)}
@media(max-width:1024px){.spviet-account-loyalty-embed-v10002{padding:16px;margin:20px 0;border-radius:22px}.spviet-account-loyalty-body-v10002{padding:12px;border-radius:18px}.spviet-account-loyalty-body-v10002 table{min-width:680px}.spviet-account-loyalty-empty-v10002{flex-direction:column;align-items:flex-start}.spviet-account-loyalty-head-v10002 h3{font-size:24px}}

/* SPVIET v10.0.3 - My Account Member Center Final UX / QR Voucher Invoice Polish Pro */
.spviet-member-center-v10003{position:relative;scroll-margin-top:110px}
.spviet-member-center-head-v10003{padding-bottom:10px;border-bottom:1px solid rgba(217,170,50,.22)}
.spviet-member-center-nav-v10003{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0 0 16px}
.spviet-member-center-nav-v10003 a{display:flex;align-items:center;gap:10px;padding:13px 14px;border-radius:18px;background:linear-gradient(135deg,#fff,#fff8e8);border:1px solid rgba(217,170,50,.32);box-shadow:0 12px 30px rgba(70,16,24,.05);text-decoration:none!important;color:#07182e!important;font-weight:900}
.spviet-member-center-nav-v10003 span{display:grid;place-items:center;width:34px;height:34px;border-radius:12px;background:#a00818;color:#fff;box-shadow:0 10px 22px rgba(160,8,24,.16)}
.spviet-member-center-note-v10003{display:flex;align-items:center;gap:10px;margin:0 0 16px;padding:12px 14px;border-radius:18px;background:#fff7e4;border:1px dashed rgba(217,170,50,.45);color:#6b4b4b;font-weight:750;line-height:1.45}
.spviet-member-center-body-v10003{position:relative;overflow:visible!important}
.spviet-member-center-body-v10003 h1,.spviet-member-center-body-v10003 h2,.spviet-member-center-body-v10003 h3,.spviet-member-center-body-v10003 h4{color:#07182e;font-weight:950;letter-spacing:-.02em;line-height:1.15}
.spviet-member-center-body-v10003 h2,.spviet-member-center-body-v10003 h3{margin-top:24px;margin-bottom:14px}
.spviet-member-center-body-v10003 h2::before,.spviet-member-center-body-v10003 h3::before{content:'◆';display:inline-flex;margin-right:8px;color:#d9aa32;font-size:.75em;vertical-align:middle}
.spviet-member-center-body-v10003 table{background:#fff;border:1px solid #e9edf5;border-radius:18px;overflow:hidden;box-shadow:0 12px 34px rgba(10,25,45,.05)}
.spviet-member-center-body-v10003 thead th{background:linear-gradient(135deg,#f7f8fb,#fff7e7)!important;color:#33415c!important;border-bottom:1px solid #e9edf5!important}
.spviet-member-center-body-v10003 tbody tr:hover{background:#fffaf0}
.spviet-member-center-body-v10003 td{color:#07182e!important}
.spviet-member-center-body-v10003 a{color:#c66b00;font-weight:850;text-decoration:none}
.spviet-member-center-body-v10003 .spviet-member-card,.spviet-member-center-body-v10003 [class*="qr" i],.spviet-member-center-body-v10003 [class*="member" i][class*="card" i]{border-radius:24px!important;border-color:rgba(166,17,33,.15)!important;background:linear-gradient(145deg,#fff,#fff8f3)!important}
.spviet-member-center-body-v10003 img[src*="qr" i],.spviet-member-center-body-v10003 canvas,.spviet-member-center-body-v10003 svg{max-width:100%;height:auto}
.spviet-member-center-body-v10003 .spviet-status,.spviet-member-center-body-v10003 [class*="status" i],.spviet-member-center-body-v10003 [class*="badge" i]{border-radius:999px;font-weight:900}
.spviet-member-center-body-v10003 .spviet-member-mobile-table-v10003{width:100%}
@media(max-width:1024px){
  .spviet-member-center-nav-v10003{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .spviet-member-center-nav-v10003 a{padding:12px;font-size:14px}
  .spviet-member-center-note-v10003{font-size:14px;align-items:flex-start}
  .spviet-member-center-body-v10003{padding:10px!important;border-radius:18px!important;overflow:visible!important}
  .spviet-member-center-body-v10003 table{display:block;border:0;background:transparent;box-shadow:none;min-width:0!important;width:100%!important}
  .spviet-member-center-body-v10003 thead{display:none!important}
  .spviet-member-center-body-v10003 tbody{display:grid;gap:12px;width:100%}
  .spviet-member-center-body-v10003 tr{display:grid!important;gap:7px;padding:14px;border:1px solid rgba(217,170,50,.22);border-radius:18px;background:#fff;box-shadow:0 12px 28px rgba(70,16,24,.06)}
  .spviet-member-center-body-v10003 td{display:grid!important;grid-template-columns:minmax(95px,38%) 1fr;gap:10px;align-items:start;padding:0!important;border:0!important;white-space:normal!important;word-break:break-word!important;overflow-wrap:anywhere!important;font-size:14px;line-height:1.45}
  .spviet-member-center-body-v10003 td::before{content:attr(data-spviet-label);color:#63708a;font-size:11px;text-transform:uppercase;letter-spacing:.04em;font-weight:900;line-height:1.4}
  .spviet-member-center-body-v10003 td:empty{display:none!important}
}
@media(max-width:520px){
  .spviet-member-center-v10003{margin-left:-2px;margin-right:-2px;padding:14px!important;border-radius:22px!important}
  .spviet-member-center-nav-v10003{grid-template-columns:1fr}
  .spviet-member-center-head-v10003 h3{font-size:22px!important}
  .spviet-member-center-body-v10003 td{grid-template-columns:92px 1fr;font-size:13px}
}


/* SPVIET v10.0.4 - My Account mobile/tablet responsive rescue. */
body.woocommerce-account .woocommerce,
body.woocommerce-account .woocommerce-MyAccount-content,
body.woocommerce-account .woocommerce-MyAccount-navigation,
body.woocommerce-account .spviet-myaccount-dashboard-v10001,
body.woocommerce-account .spviet-account-hero-v10001,
body.woocommerce-account .spviet-account-stats-v10001,
body.woocommerce-account .spviet-account-action-grid-v10001,
body.woocommerce-account .spviet-account-recent-v10001,
body.woocommerce-account .spviet-account-loyalty-embed-v10002,
body.woocommerce-account .spviet-account-loyalty-body-v10002,
body.woocommerce-account .spviet-member-center-body-v10003{min-width:0!important;max-width:100%!important;box-sizing:border-box!important;}

body.woocommerce-account .spviet-account-action-grid-v10001 a,
body.woocommerce-account .spviet-account-stats-v10001 article,
body.woocommerce-account .spviet-account-order-row-v10001,
body.woocommerce-account .woocommerce-MyAccount-navigation.spviet-myaccount-nav-v10001 a{min-width:0!important;}
body.woocommerce-account .spviet-account-action-grid-v10001 strong,
body.woocommerce-account .spviet-account-action-grid-v10001 em,
body.woocommerce-account .spviet-account-stats-v10001 strong,
body.woocommerce-account .spviet-account-order-row-v10001 strong,
body.woocommerce-account .spviet-account-order-row-v10001 span,
body.woocommerce-account .spviet-account-order-row-v10001 em,
body.woocommerce-account .spviet-account-order-row-v10001 b,
body.woocommerce-account .woocommerce-MyAccount-navigation.spviet-myaccount-nav-v10001 strong{overflow-wrap:anywhere!important;word-break:break-word!important;white-space:normal!important;}

@media (max-width: 1024px){
  body.woocommerce-account .woocommerce-MyAccount-navigation.spviet-myaccount-nav-v10001{width:auto!important;float:none!important;margin:0 0 16px!important;}
  body.woocommerce-account .woocommerce-MyAccount-content{margin-left:0!important;min-height:0!important;}
  body.woocommerce-account .woocommerce-MyAccount-navigation.spviet-myaccount-nav-v10001 ul{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;overflow:visible!important;padding-bottom:0!important;}
  body.woocommerce-account .woocommerce-MyAccount-navigation.spviet-myaccount-nav-v10001 li{min-width:0!important;}
  body.woocommerce-account .woocommerce-MyAccount-navigation.spviet-myaccount-nav-v10001 a{padding:12px!important;white-space:normal!important;align-items:flex-start!important;}
  body.woocommerce-account .spviet-account-stats-v10001{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
  body.woocommerce-account .spviet-account-action-grid-v10001{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
  body.woocommerce-account .spviet-account-action-grid-v10001 a{min-height:auto!important;padding:16px!important;border-radius:20px!important;}
  body.woocommerce-account .spviet-account-loyalty-embed-v10002{padding:16px!important;border-radius:22px!important;}
  body.woocommerce-account .spviet-account-loyalty-body-v10002,
  body.woocommerce-account .spviet-member-center-body-v10003{padding:12px!important;border-radius:18px!important;}
}

@media (max-width: 767px){
  body.woocommerce-account .entry-content > .woocommerce,
  body.woocommerce-account .woocommerce{padding:0 10px!important;margin:12px auto 92px!important;overflow-x:hidden!important;}
  body.woocommerce-account .woocommerce-MyAccount-navigation.spviet-myaccount-nav-v10001{padding:12px!important;border-radius:20px!important;}
  body.woocommerce-account .woocommerce-MyAccount-navigation.spviet-myaccount-nav-v10001 ul{grid-template-columns:1fr!important;}
  body.woocommerce-account .woocommerce-MyAccount-navigation.spviet-myaccount-nav-v10001 a{gap:9px!important;padding:12px 12px!important;border-radius:14px!important;}
  body.woocommerce-account .woocommerce-MyAccount-navigation.spviet-myaccount-nav-v10001 a span{width:28px!important;height:28px!important;border-radius:10px!important;flex:0 0 28px!important;}
  body.woocommerce-account .spviet-account-hero-v10001{grid-template-columns:1fr!important;padding:18px!important;gap:12px!important;}
  body.woocommerce-account .spviet-account-avatar-v10001{width:56px!important;height:56px!important;font-size:28px!important;border-radius:18px!important;}
  body.woocommerce-account .spviet-account-hero-actions-v10001{grid-column:auto!important;flex-direction:column!important;width:100%!important;}
  body.woocommerce-account .spviet-account-primary-btn-v10001,
  body.woocommerce-account .spviet-account-ghost-btn-v10001{width:100%!important;min-width:0!important;}
  body.woocommerce-account .spviet-account-stats-v10001,
  body.woocommerce-account .spviet-account-action-grid-v10001{grid-template-columns:1fr!important;}
  body.woocommerce-account .spviet-account-action-grid-v10001 a{display:grid!important;grid-template-columns:44px minmax(0,1fr)!important;grid-template-areas:'icon title' 'icon desc'!important;column-gap:12px!important;row-gap:6px!important;align-items:start!important;}
  body.woocommerce-account .spviet-account-action-grid-v10001 a span{grid-area:icon!important;width:44px!important;height:44px!important;border-radius:14px!important;font-size:20px!important;}
  body.woocommerce-account .spviet-account-action-grid-v10001 a strong{grid-area:title!important;font-size:18px!important;line-height:1.2!important;}
  body.woocommerce-account .spviet-account-action-grid-v10001 a em{grid-area:desc!important;font-size:13px!important;line-height:1.45!important;}
  body.woocommerce-account .spviet-account-recent-v10001{padding:16px!important;border-radius:22px!important;}
  body.woocommerce-account .spviet-account-section-head-v10001 h3{font-size:22px!important;}
  body.woocommerce-account .spviet-account-order-row-v10001{padding:12px!important;border-radius:14px!important;}
  body.woocommerce-account .spviet-account-loyalty-embed-v10002{margin:20px 0!important;padding:14px!important;border-radius:20px!important;}
  body.woocommerce-account .spviet-account-loyalty-head-v10002 h3{font-size:22px!important;}
  body.woocommerce-account .spviet-member-center-note-v10003{padding:11px 12px!important;border-radius:16px!important;}
}


/* SPVIET v10.0.5 - My Account mobile/tablet top tabs + safe content reflow. */
@media (max-width: 1024px){
  body.woocommerce-account .entry-content > .woocommerce,
  body.woocommerce-account .woocommerce{display:block!important;width:auto!important;max-width:100%!important;overflow-x:hidden!important;padding:0 12px!important;margin:14px auto 92px!important;}
  body.woocommerce-account .woocommerce-MyAccount-navigation.spviet-myaccount-nav-v10001,
  body.woocommerce-account .woocommerce-MyAccount-content{float:none!important;clear:both!important;width:100%!important;max-width:100%!important;margin:0 0 16px!important;padding-left:0!important;padding-right:0!important;box-sizing:border-box!important;}
  body.woocommerce-account .woocommerce-MyAccount-navigation.spviet-myaccount-nav-v10001{display:block!important;position:relative!important;left:auto!important;top:auto!important;}
  body.woocommerce-account .woocommerce-MyAccount-navigation.spviet-myaccount-nav-v10001 ul{display:flex!important;flex-wrap:nowrap!important;grid-template-columns:none!important;overflow-x:auto!important;overflow-y:hidden!important;-webkit-overflow-scrolling:touch!important;scroll-snap-type:x proximity!important;gap:10px!important;padding:2px 2px 6px!important;white-space:nowrap!important;}
  body.woocommerce-account .woocommerce-MyAccount-navigation.spviet-myaccount-nav-v10001 li{flex:0 0 auto!important;min-width:max-content!important;scroll-snap-align:start!important;}
  body.woocommerce-account .woocommerce-MyAccount-navigation.spviet-myaccount-nav-v10001 a{display:inline-flex!important;align-items:center!important;justify-content:flex-start!important;gap:8px!important;min-height:46px!important;padding:10px 14px!important;border-radius:999px!important;white-space:nowrap!important;}
  body.woocommerce-account .woocommerce-MyAccount-navigation.spviet-myaccount-nav-v10001 a strong{white-space:nowrap!important;overflow:visible!important;word-break:normal!important;overflow-wrap:normal!important;}
  body.woocommerce-account .woocommerce-MyAccount-navigation.spviet-myaccount-nav-v10001::-webkit-scrollbar,
  body.woocommerce-account .woocommerce-MyAccount-navigation.spviet-myaccount-nav-v10001 ul::-webkit-scrollbar{height:5px!important;}

  body.woocommerce-account .spviet-myaccount-dashboard-v10001{display:block!important;width:100%!important;max-width:100%!important;overflow:hidden!important;}
  body.woocommerce-account .spviet-account-hero-v10001{display:grid!important;grid-template-columns:56px minmax(0,1fr)!important;gap:12px!important;padding:16px!important;border-radius:22px!important;}
  body.woocommerce-account .spviet-account-hero-main-v10001{min-width:0!important;}
  body.woocommerce-account .spviet-account-hero-main-v10001 h2{font-size:clamp(24px,4vw,34px)!important;line-height:1.08!important;overflow-wrap:anywhere!important;}
  body.woocommerce-account .spviet-account-hero-main-v10001 p{font-size:14px!important;line-height:1.55!important;}
  body.woocommerce-account .spviet-account-hero-actions-v10001{display:flex!important;flex-wrap:wrap!important;gap:10px!important;grid-column:1/-1!important;}
  body.woocommerce-account .spviet-account-primary-btn-v10001,
  body.woocommerce-account .spviet-account-ghost-btn-v10001{min-width:0!important;flex:1 1 220px!important;justify-content:center!important;}

  body.woocommerce-account .spviet-account-stats-v10001{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;}
  body.woocommerce-account .spviet-account-stats-v10001 article{padding:16px!important;}
  body.woocommerce-account .spviet-account-stats-v10001 strong{white-space:normal!important;overflow:visible!important;text-overflow:clip!important;word-break:break-word!important;}
  body.woocommerce-account .spviet-account-action-grid-v10001{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;}
  body.woocommerce-account .spviet-account-action-grid-v10001 a{min-height:auto!important;padding:16px!important;display:grid!important;grid-template-columns:48px minmax(0,1fr)!important;grid-template-areas:'icon title' 'icon desc'!important;column-gap:12px!important;row-gap:6px!important;align-items:start!important;border-radius:20px!important;}
  body.woocommerce-account .spviet-account-action-grid-v10001 a span{grid-area:icon!important;width:48px!important;height:48px!important;border-radius:16px!important;display:flex!important;align-items:center!important;justify-content:center!important;}
  body.woocommerce-account .spviet-account-action-grid-v10001 a strong{grid-area:title!important;font-size:18px!important;line-height:1.2!important;}
  body.woocommerce-account .spviet-account-action-grid-v10001 a em{grid-area:desc!important;font-size:13px!important;line-height:1.5!important;}

  body.woocommerce-account .spviet-account-loyalty-embed-v10002,
  body.woocommerce-account .spviet-account-recent-v10001{padding:16px!important;border-radius:22px!important;}
  body.woocommerce-account .spviet-account-loyalty-body-v10002,
  body.woocommerce-account .spviet-member-center-body-v10003{padding:14px!important;overflow-x:auto!important;}
  body.woocommerce-account .spviet-account-order-list-v10001{display:grid!important;gap:10px!important;}
  body.woocommerce-account .spviet-account-order-row-v10001{display:grid!important;grid-template-columns:1fr auto!important;gap:6px 10px!important;align-items:start!important;padding:12px!important;border-radius:16px!important;}
  body.woocommerce-account .spviet-account-order-row-v10001 strong{grid-column:1/2!important;}
  body.woocommerce-account .spviet-account-order-row-v10001 b{grid-column:2/3!important;grid-row:1/3!important;align-self:center!important;}
  body.woocommerce-account .spviet-account-order-row-v10001 span,
  body.woocommerce-account .spviet-account-order-row-v10001 em{grid-column:1/2!important;}
}

@media (max-width: 767px){
  body.woocommerce-account .entry-content > .woocommerce,
  body.woocommerce-account .woocommerce{padding:0 10px!important;margin:12px auto 102px!important;}
  body.woocommerce-account .woocommerce-MyAccount-navigation.spviet-myaccount-nav-v10001{padding:10px!important;border-radius:18px!important;}
  body.woocommerce-account .woocommerce-MyAccount-navigation.spviet-myaccount-nav-v10001 ul{gap:8px!important;padding-bottom:4px!important;}
  body.woocommerce-account .woocommerce-MyAccount-navigation.spviet-myaccount-nav-v10001 a{padding:10px 13px!important;min-height:42px!important;}
  body.woocommerce-account .woocommerce-MyAccount-navigation.spviet-myaccount-nav-v10001 a span{width:28px!important;height:28px!important;border-radius:10px!important;flex:0 0 28px!important;}

  body.woocommerce-account .spviet-account-hero-v10001{grid-template-columns:1fr!important;padding:16px!important;gap:12px!important;}
  body.woocommerce-account .spviet-account-avatar-v10001{width:54px!important;height:54px!important;font-size:26px!important;border-radius:16px!important;}
  body.woocommerce-account .spviet-account-hero-actions-v10001{flex-direction:column!important;}
  body.woocommerce-account .spviet-account-primary-btn-v10001,
  body.woocommerce-account .spviet-account-ghost-btn-v10001{width:100%!important;flex:1 1 auto!important;}
  body.woocommerce-account .spviet-account-stats-v10001,
  body.woocommerce-account .spviet-account-action-grid-v10001{grid-template-columns:1fr!important;}
  body.woocommerce-account .spviet-account-action-grid-v10001 a{grid-template-columns:44px minmax(0,1fr)!important;padding:14px!important;border-radius:18px!important;}
  body.woocommerce-account .spviet-account-action-grid-v10001 a strong{font-size:17px!important;}
  body.woocommerce-account .spviet-account-action-grid-v10001 a em{font-size:13px!important;}
  body.woocommerce-account .spviet-account-stats-v10001 article{padding:14px!important;}
  body.woocommerce-account .spviet-account-section-head-v10001{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:10px!important;}
}


/* SPVIET v10.0.6 - My Account mobile/tablet final polish. */
body.woocommerce-account .woocommerce-MyAccount-navigation.spviet-myaccount-nav-v10001 ul{
  scrollbar-width:thin!important;
  scrollbar-color:rgba(160,8,24,.25) transparent!important;
}
@media (max-width:1024px){
  body.woocommerce-account .woocommerce-MyAccount-navigation.spviet-myaccount-nav-v10001{
    position:sticky!important;
    top:0!important;
    z-index:8!important;
    background:linear-gradient(135deg,rgba(255,250,242,.98),rgba(255,255,255,.98))!important;
    backdrop-filter:blur(12px)!important;
    border-color:rgba(217,170,50,.22)!important;
    box-shadow:0 14px 34px rgba(70,16,24,.08)!important;
  }
  body.admin-bar.woocommerce-account .woocommerce-MyAccount-navigation.spviet-myaccount-nav-v10001{top:32px!important;}
  body.woocommerce-account .woocommerce-MyAccount-navigation.spviet-myaccount-nav-v10001 ul{
    display:flex!important;
    flex-wrap:nowrap!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    gap:9px!important;
    padding:4px 2px 8px!important;
    scroll-snap-type:x mandatory!important;
  }
  body.woocommerce-account .woocommerce-MyAccount-navigation.spviet-myaccount-nav-v10001 li{
    flex:0 0 auto!important;
    scroll-snap-align:start!important;
  }
  body.woocommerce-account .woocommerce-MyAccount-navigation.spviet-myaccount-nav-v10001 a{
    min-height:46px!important;
    border-radius:999px!important;
    background:#fff!important;
    border:1px solid rgba(217,170,50,.25)!important;
    box-shadow:0 8px 18px rgba(70,16,24,.05)!important;
    color:#251c1b!important;
  }
  body.woocommerce-account .woocommerce-MyAccount-navigation.spviet-myaccount-nav-v10001 li.is-active a,
  body.woocommerce-account .woocommerce-MyAccount-navigation.spviet-myaccount-nav-v10001 a:hover,
  body.woocommerce-account .woocommerce-MyAccount-navigation.spviet-myaccount-nav-v10001 a:focus{
    background:linear-gradient(135deg,#a20b1d 0%,#d78d26 100%)!important;
    color:#fff!important;
    border-color:rgba(255,255,255,.75)!important;
  }
  body.woocommerce-account .woocommerce-MyAccount-navigation.spviet-myaccount-nav-v10001 li.is-active a span,
  body.woocommerce-account .woocommerce-MyAccount-navigation.spviet-myaccount-nav-v10001 a:hover span,
  body.woocommerce-account .woocommerce-MyAccount-navigation.spviet-myaccount-nav-v10001 a:focus span{
    background:rgba(255,255,255,.22)!important;
    color:#fff!important;
  }
  body.woocommerce-account .spviet-myaccount-nav-title-v10001{
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:10px!important;
  }
  body.woocommerce-account .spviet-myaccount-nav-title-v10001:after{
    content:'↔';
    display:inline-flex!important;
    width:28px!important;
    height:28px!important;
    align-items:center!important;
    justify-content:center!important;
    border-radius:999px!important;
    background:#fff1cc!important;
    color:#a00818!important;
    font-weight:1000!important;
  }

  body.woocommerce-account .woocommerce table.shop_table,
  body.woocommerce-account .woocommerce table.my_account_orders,
  body.woocommerce-account .woocommerce .woocommerce-orders-table,
  body.woocommerce-account .spviet-account-loyalty-body-v10002 table,
  body.woocommerce-account .spviet-member-center-body-v10003 table{
    display:block!important;
    width:100%!important;
    min-width:0!important;
    overflow:visible!important;
    border:0!important;
    background:transparent!important;
    box-shadow:none!important;
  }
  body.woocommerce-account .woocommerce table.shop_table thead,
  body.woocommerce-account .woocommerce table.my_account_orders thead,
  body.woocommerce-account .woocommerce .woocommerce-orders-table thead,
  body.woocommerce-account .spviet-account-loyalty-body-v10002 table thead,
  body.woocommerce-account .spviet-member-center-body-v10003 table thead{
    display:none!important;
  }
  body.woocommerce-account .woocommerce table.shop_table tbody,
  body.woocommerce-account .woocommerce table.my_account_orders tbody,
  body.woocommerce-account .woocommerce .woocommerce-orders-table tbody,
  body.woocommerce-account .spviet-account-loyalty-body-v10002 table tbody,
  body.woocommerce-account .spviet-member-center-body-v10003 table tbody{
    display:grid!important;
    gap:12px!important;
    width:100%!important;
  }
  body.woocommerce-account .woocommerce table.shop_table tr,
  body.woocommerce-account .woocommerce table.my_account_orders tr,
  body.woocommerce-account .woocommerce .woocommerce-orders-table tr,
  body.woocommerce-account .spviet-account-loyalty-body-v10002 table tr,
  body.woocommerce-account .spviet-member-center-body-v10003 table tr{
    display:grid!important;
    gap:8px!important;
    width:100%!important;
    padding:14px!important;
    border:1px solid rgba(217,170,50,.24)!important;
    border-radius:18px!important;
    background:linear-gradient(180deg,#fff 0%,#fffaf2 100%)!important;
    box-shadow:0 12px 28px rgba(70,16,24,.06)!important;
  }
  body.woocommerce-account .woocommerce table.shop_table td,
  body.woocommerce-account .woocommerce table.my_account_orders td,
  body.woocommerce-account .woocommerce .woocommerce-orders-table td,
  body.woocommerce-account .spviet-account-loyalty-body-v10002 table td,
  body.woocommerce-account .spviet-member-center-body-v10003 table td{
    display:grid!important;
    grid-template-columns:minmax(112px,36%) minmax(0,1fr)!important;
    gap:10px!important;
    align-items:start!important;
    width:100%!important;
    padding:0!important;
    border:0!important;
    color:#07182e!important;
    white-space:normal!important;
    word-break:break-word!important;
    overflow-wrap:anywhere!important;
    line-height:1.45!important;
  }
  body.woocommerce-account .woocommerce table.shop_table td:before,
  body.woocommerce-account .woocommerce table.my_account_orders td:before,
  body.woocommerce-account .woocommerce .woocommerce-orders-table td:before,
  body.woocommerce-account .spviet-account-loyalty-body-v10002 table td:before,
  body.woocommerce-account .spviet-member-center-body-v10003 table td:before{
    content:attr(data-title) attr(data-spviet-label)!important;
    color:#6b7280!important;
    font-size:11px!important;
    font-weight:1000!important;
    letter-spacing:.04em!important;
    text-transform:uppercase!important;
  }
  body.woocommerce-account .woocommerce table.shop_table td.actions,
  body.woocommerce-account .woocommerce table.my_account_orders td.actions,
  body.woocommerce-account .woocommerce .woocommerce-orders-table td.actions{
    display:flex!important;
    flex-wrap:wrap!important;
    gap:8px!important;
  }
  body.woocommerce-account .woocommerce table.shop_table td.actions:before,
  body.woocommerce-account .woocommerce table.my_account_orders td.actions:before,
  body.woocommerce-account .woocommerce .woocommerce-orders-table td.actions:before{
    display:none!important;
  }
  body.woocommerce-account .woocommerce a.button,
  body.woocommerce-account .woocommerce button.button{
    border-radius:999px!important;
    padding:10px 14px!important;
    font-weight:1000!important;
    line-height:1.2!important;
    white-space:normal!important;
  }
}

@media(max-width:767px){
  body.woocommerce-account .woocommerce-MyAccount-navigation.spviet-myaccount-nav-v10001{
    margin-left:-2px!important;
    margin-right:-2px!important;
  }
  body.woocommerce-account .woocommerce-MyAccount-navigation.spviet-myaccount-nav-v10001 a{
    min-height:42px!important;
    padding:9px 12px!important;
    font-size:14px!important;
  }
  body.woocommerce-account .woocommerce table.shop_table td,
  body.woocommerce-account .woocommerce table.my_account_orders td,
  body.woocommerce-account .woocommerce .woocommerce-orders-table td,
  body.woocommerce-account .spviet-account-loyalty-body-v10002 table td,
  body.woocommerce-account .spviet-member-center-body-v10003 table td{
    grid-template-columns:96px minmax(0,1fr)!important;
    gap:8px!important;
    font-size:13px!important;
  }
  body.woocommerce-account .spviet-member-center-nav-v10003{
    grid-template-columns:1fr!important;
  }
}


/* SPVIET v10.0.7 - My Account mobile/tablet full-width member content. */
@media (max-width:1024px){
  body.woocommerce-account .entry-content > .woocommerce,
  body.woocommerce-account .woocommerce{
    width:100%!important;
    max-width:none!important;
    padding-left:8px!important;
    padding-right:8px!important;
  }
  body.woocommerce-account .woocommerce-MyAccount-content,
  body.woocommerce-account .spviet-myaccount-dashboard-v10001,
  body.woocommerce-account #spviet-account-loyalty-v10002,
  body.woocommerce-account .spviet-account-loyalty-embed-v10002,
  body.woocommerce-account .spviet-account-loyalty-body-v10002,
  body.woocommerce-account .spviet-member-center-v10003,
  body.woocommerce-account .spviet-member-center-body-v10003{
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    overflow:visible!important;
  }
  body.woocommerce-account .spviet-account-loyalty-embed-v10002,
  body.woocommerce-account .spviet-member-center-v10003{
    margin:16px 0 0!important;
    padding:0!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important;
  }
  body.woocommerce-account .spviet-account-loyalty-head-v10002,
  body.woocommerce-account .spviet-member-center-head-v10003{
    margin-bottom:12px!important;
    padding:0 2px 8px!important;
  }
  body.woocommerce-account .spviet-account-loyalty-body-v10002,
  body.woocommerce-account .spviet-member-center-body-v10003{
    padding:0!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important;
  }
  body.woocommerce-account .spviet-account-loyalty-body-v10002 > *,
  body.woocommerce-account .spviet-member-center-body-v10003 > *{
    max-width:100%!important;
  }
  body.woocommerce-account .spviet-account-loyalty-body-v10002 [class*="wrap" i],
  body.woocommerce-account .spviet-account-loyalty-body-v10002 [class*="card" i],
  body.woocommerce-account .spviet-account-loyalty-body-v10002 [class*="panel" i],
  body.woocommerce-account .spviet-member-center-body-v10003 [class*="wrap" i],
  body.woocommerce-account .spviet-member-center-body-v10003 [class*="card" i],
  body.woocommerce-account .spviet-member-center-body-v10003 [class*="panel" i]{
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    margin-left:0!important;
    margin-right:0!important;
  }
  body.woocommerce-account .spviet-account-loyalty-body-v10002 [style*="grid-template-columns"],
  body.woocommerce-account .spviet-member-center-body-v10003 [style*="grid-template-columns"]{
    grid-template-columns:1fr!important;
  }
  body.woocommerce-account .woocommerce table.shop_table tr,
  body.woocommerce-account .woocommerce table.my_account_orders tr,
  body.woocommerce-account .woocommerce .woocommerce-orders-table tr,
  body.woocommerce-account .spviet-account-loyalty-body-v10002 table tr,
  body.woocommerce-account .spviet-member-center-body-v10003 table tr{
    padding:12px!important;
    border-radius:16px!important;
    box-shadow:0 8px 22px rgba(70,16,24,.045)!important;
  }
  body.woocommerce-account .woocommerce table.shop_table td,
  body.woocommerce-account .woocommerce table.my_account_orders td,
  body.woocommerce-account .woocommerce .woocommerce-orders-table td,
  body.woocommerce-account .spviet-account-loyalty-body-v10002 table td,
  body.woocommerce-account .spviet-member-center-body-v10003 table td{
    grid-template-columns:84px minmax(0,1fr)!important;
    gap:8px!important;
  }
  body.woocommerce-account .woocommerce table.shop_table td:before,
  body.woocommerce-account .woocommerce table.my_account_orders td:before,
  body.woocommerce-account .woocommerce .woocommerce-orders-table td:before,
  body.woocommerce-account .spviet-account-loyalty-body-v10002 table td:before,
  body.woocommerce-account .spviet-member-center-body-v10003 table td:before{
    content:attr(data-spviet-label)!important;
    font-size:10px!important;
  }
}
@media (max-width:767px){
  body.woocommerce-account .entry-content > .woocommerce,
  body.woocommerce-account .woocommerce{
    padding-left:4px!important;
    padding-right:4px!important;
  }
  body.woocommerce-account .spviet-account-loyalty-head-v10002,
  body.woocommerce-account .spviet-member-center-head-v10003{padding-left:2px!important;padding-right:2px!important;}
  body.woocommerce-account .woocommerce table.shop_table td,
  body.woocommerce-account .woocommerce table.my_account_orders td,
  body.woocommerce-account .woocommerce .woocommerce-orders-table td,
  body.woocommerce-account .spviet-account-loyalty-body-v10002 table td,
  body.woocommerce-account .spviet-member-center-body-v10003 table td{
    grid-template-columns:78px minmax(0,1fr)!important;
    gap:7px!important;
    font-size:13px!important;
  }
  body.woocommerce-account .woocommerce table.shop_table tr,
  body.woocommerce-account .woocommerce table.my_account_orders tr,
  body.woocommerce-account .woocommerce .woocommerce-orders-table tr,
  body.woocommerce-account .spviet-account-loyalty-body-v10002 table tr,
  body.woocommerce-account .spviet-member-center-body-v10003 table tr{
    padding:10px!important;
  }
}

/* SPVIET v10.0.8 - Orders endpoint card layout like dashboard recent orders. */
.spviet-account-orders-page-v10008{display:grid!important;gap:16px!important;}
.spviet-account-section-head-v10008{display:flex!important;align-items:flex-end!important;justify-content:space-between!important;gap:12px!important;padding:4px 0 0!important;}
.spviet-account-section-head-v10008 span{display:inline-flex!important;align-items:center!important;gap:8px!important;padding:7px 14px!important;border-radius:999px!important;background:#fff4cd!important;color:#b47814!important;font-weight:1000!important;font-size:12px!important;letter-spacing:.05em!important;text-transform:uppercase!important;}
.spviet-account-section-head-v10008 h2{margin:10px 0 0!important;color:#13213b!important;font-size:clamp(28px,3vw,44px)!important;line-height:1.04!important;font-weight:1000!important;}
.spviet-account-section-head-v10008 em{font-style:normal!important;align-self:center!important;color:#7c4b4b!important;font-weight:800!important;}
.spviet-account-orders-list-v10008{display:grid!important;gap:16px!important;}
.spviet-account-orders-card-v10008{padding:0!important;border:1px solid rgba(166,17,33,.12)!important;border-radius:28px!important;background:linear-gradient(180deg,#fff 0%,#fffbf6 100%)!important;box-shadow:0 16px 40px rgba(70,16,24,.06)!important;overflow:hidden!important;}
.spviet-account-orders-card-link-v10008{display:grid!important;gap:14px!important;padding:22px 22px 18px!important;text-decoration:none!important;color:#172033!important;}
.spviet-account-orders-card-top-v10008{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:start!important;gap:14px!important;}
.spviet-account-orders-main-v10008{display:grid!important;gap:6px!important;}
.spviet-account-orders-main-v10008 strong{font-size:20px!important;line-height:1!important;color:#9b0718!important;font-weight:1000!important;}
.spviet-account-orders-main-v10008 span{color:#172033!important;font-size:18px!important;line-height:1.25!important;font-weight:900!important;}
.spviet-account-orders-total-v10008{color:#172033!important;font-weight:1000!important;font-size:clamp(22px,2.4vw,32px)!important;line-height:1!important;text-align:right!important;}
.spviet-account-orders-meta-v10008{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;}
.spviet-account-orders-meta-v10008 b{display:inline-flex!important;align-items:center!important;padding:8px 14px!important;border-radius:999px!important;background:#eaf7ec!important;color:#2f8f46!important;font-weight:1000!important;font-size:15px!important;line-height:1!important;}
.spviet-account-orders-meta-v10008 b.status-cancelled,.spviet-account-orders-meta-v10008 b.status-failed,.spviet-account-orders-meta-v10008 b.status-refunded{background:#fdeaea!important;color:#b32929!important;}
.spviet-account-orders-meta-v10008 b.status-on-hold,.spviet-account-orders-meta-v10008 b.status-pending{background:#fff0d8!important;color:#a86d00!important;}
.spviet-account-orders-meta-v10008 span{color:#6b4b4b!important;font-weight:800!important;}
.spviet-account-orders-actions-v10008{display:flex!important;flex-wrap:wrap!important;gap:10px!important;padding:0 22px 20px!important;}
.spviet-account-orders-actions-v10008 .button{display:inline-flex!important;align-items:center!important;justify-content:center!important;padding:11px 18px!important;border-radius:999px!important;background:linear-gradient(135deg,#c77f20,#8a2e20)!important;color:#fff!important;font-weight:1000!important;text-decoration:none!important;box-shadow:0 12px 26px rgba(151,60,23,.18)!important;}
.spviet-account-orders-actions-v10008 .button.cancel{background:#fff!important;color:#9b0718!important;border:1px solid rgba(155,7,24,.18)!important;box-shadow:none!important;}
.spviet-account-orders-pagination-v10008{display:flex!important;justify-content:space-between!important;gap:12px!important;}
.spviet-account-orders-pagination-v10008 .button{display:inline-flex!important;align-items:center!important;justify-content:center!important;padding:12px 18px!important;border-radius:999px!important;background:#fff6de!important;color:#9b0718!important;font-weight:1000!important;text-decoration:none!important;border:1px solid rgba(217,170,50,.35)!important;}
@media (max-width:1024px){
  .spviet-account-section-head-v10008{align-items:flex-start!important;flex-direction:column!important;gap:10px!important;}
  .spviet-account-orders-card-v10008{border-radius:22px!important;}
  .spviet-account-orders-card-link-v10008{padding:18px 18px 14px!important;}
  .spviet-account-orders-card-top-v10008{grid-template-columns:minmax(0,1fr) auto!important;gap:10px!important;}
  .spviet-account-orders-main-v10008 strong{font-size:18px!important;}
  .spviet-account-orders-main-v10008 span{font-size:16px!important;}
  .spviet-account-orders-total-v10008{font-size:18px!important;align-self:center!important;}
  .spviet-account-orders-actions-v10008{padding:0 18px 18px!important;}
}
@media (max-width:767px){
  .spviet-account-orders-page-v10008{gap:12px!important;}
  .spviet-account-section-head-v10008{padding-left:2px!important;padding-right:2px!important;}
  .spviet-account-section-head-v10008 h2{font-size:28px!important;}
  .spviet-account-orders-card-v10008{border-radius:20px!important;}
  .spviet-account-orders-card-link-v10008{padding:16px 16px 12px!important;gap:10px!important;}
  .spviet-account-orders-card-top-v10008{grid-template-columns:minmax(0,1fr) auto!important;align-items:start!important;}
  .spviet-account-orders-main-v10008 strong{font-size:16px!important;}
  .spviet-account-orders-main-v10008 span{font-size:14px!important;}
  .spviet-account-orders-total-v10008{font-size:18px!important;white-space:nowrap!important;}
  .spviet-account-orders-meta-v10008{align-items:flex-start!important;flex-direction:column!important;gap:8px!important;}
  .spviet-account-orders-actions-v10008{padding:0 16px 16px!important;}
  .spviet-account-orders-actions-v10008 .button{width:auto!important;min-width:110px!important;padding:10px 16px!important;font-size:14px!important;}
  .spviet-account-orders-pagination-v10008{flex-direction:column!important;}
}


/* =========================================================
 * SPVIET V10.0.10 - Mobile Checkout/Order Detail Premium Cards
 * Scope: WooCommerce order received + My Account view-order mobile layout only.
 * ========================================================= */
@media (max-width:767px){
  body.woocommerce-order-received,
  body.woocommerce-view-order{background:#fffaf4!important;}
  body.woocommerce-order-received .spviet-page-shell,
  body.woocommerce-view-order .spviet-page-shell,
  body.woocommerce-order-received main,
  body.woocommerce-view-order main,
  body.woocommerce-order-received .entry-content,
  body.woocommerce-view-order .entry-content{
    max-width:none!important;width:100%!important;margin-left:0!important;margin-right:0!important;padding-left:8px!important;padding-right:8px!important;box-sizing:border-box!important;overflow-x:hidden!important;
  }
  body.woocommerce-order-received .woocommerce,
  body.woocommerce-view-order .woocommerce{
    width:100%!important;max-width:none!important;margin:0!important;padding:0 4px 132px!important;box-sizing:border-box!important;overflow-x:hidden!important;
  }
  body.spviet-mobile-order-detail-page-v10010 .woocommerce-order{
    width:100%!important;max-width:none!important;margin:0!important;padding:0!important;
  }
  body.spviet-mobile-order-detail-page-v10010 .spviet-mobile-order-detail-shell-v10010,
  body.spviet-mobile-order-detail-page-v10010 .woocommerce-order-details{
    width:100%!important;max-width:none!important;margin:14px 0 18px!important;padding:14px 8px 16px!important;border-radius:26px!important;background:rgba(255,255,255,.9)!important;border:1px solid rgba(139,7,20,.09)!important;box-shadow:0 18px 44px rgba(64,15,18,.08)!important;overflow:hidden!important;box-sizing:border-box!important;
  }
  body.spviet-mobile-order-detail-page-v10010 .woocommerce-order-details__title,
  body.spviet-mobile-order-detail-page-v10010 .spviet-mobile-order-title-v10010{
    margin:0 0 12px!important;padding:2px 4px 12px!important;border-bottom:1px solid rgba(139,7,20,.08)!important;color:#7f6a67!important;font-size:18px!important;font-weight:1000!important;letter-spacing:.03em!important;text-transform:uppercase!important;
  }
  body.spviet-mobile-order-detail-page-v10010 .woocommerce-order-overview,
  body.spviet-mobile-order-detail-page-v10010 ul.order_details.spviet-mobile-order-overview-v10010,
  body.spviet-mobile-order-detail-page-v10010 ul.woocommerce-thankyou-order-details.spviet-mobile-order-overview-v10010{
    display:grid!important;grid-template-columns:1fr!important;gap:10px!important;width:100%!important;margin:10px 0 14px!important;padding:0!important;list-style:none!important;
  }
  body.spviet-mobile-order-detail-page-v10010 .woocommerce-order-overview li,
  body.spviet-mobile-order-detail-page-v10010 ul.order_details li{
    margin:0!important;padding:14px 16px!important;border:1px solid rgba(214,141,36,.24)!important;border-radius:20px!important;background:linear-gradient(135deg,#fffaf2,#fff)!important;box-shadow:0 10px 24px rgba(64,15,18,.06)!important;color:#7d6865!important;font-weight:900!important;line-height:1.35!important;
  }
  body.spviet-mobile-order-detail-page-v10010 .woocommerce-order-overview li strong,
  body.spviet-mobile-order-detail-page-v10010 ul.order_details li strong{display:block!important;margin-top:4px!important;color:#a20b1d!important;font-size:22px!important;font-weight:1000!important;}

  body.spviet-mobile-order-detail-page-v10010 table.shop_table.order_details,
  body.spviet-mobile-order-detail-page-v10010 table.spviet-order-table-v9992,
  body.spviet-mobile-order-detail-page-v10010 table.spviet-mobile-order-card-table-v10010{
    display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;margin:0!important;padding:0!important;border:0!important;border-collapse:separate!important;border-spacing:0!important;background:transparent!important;box-shadow:none!important;table-layout:auto!important;overflow:visible!important;
  }
  body.spviet-mobile-order-detail-page-v10010 table.spviet-mobile-order-card-table-v10010 thead{display:none!important;}
  body.spviet-mobile-order-detail-page-v10010 table.spviet-mobile-order-card-table-v10010 tbody{display:grid!important;width:100%!important;gap:12px!important;}
  body.spviet-mobile-order-detail-page-v10010 table.spviet-mobile-order-card-table-v10010 tbody tr.order_item,
  body.spviet-mobile-order-detail-page-v10010 table.spviet-mobile-order-card-table-v10010 tbody tr.woocommerce-table__line-item,
  body.spviet-mobile-order-detail-page-v10010 tr.spviet-mobile-order-card-row-v10010{
    display:grid!important;grid-template-columns:82px minmax(0,1fr)!important;grid-template-areas:'name name' 'qty total'!important;gap:10px 12px!important;width:100%!important;min-width:0!important;margin:0!important;padding:12px!important;border:1px solid rgba(15,23,42,.08)!important;border-radius:21px!important;background:#fff!important;box-shadow:0 12px 28px rgba(15,23,42,.08)!important;box-sizing:border-box!important;overflow:hidden!important;
  }
  body.spviet-mobile-order-detail-page-v10010 table.spviet-mobile-order-card-table-v10010 td,
  body.spviet-mobile-order-detail-page-v10010 table.spviet-mobile-order-card-table-v10010 th{
    display:block!important;width:auto!important;min-width:0!important;max-width:100%!important;padding:0!important;margin:0!important;border:0!important;background:transparent!important;box-sizing:border-box!important;white-space:normal!important;word-break:normal!important;overflow-wrap:anywhere!important;line-height:1.32!important;
  }
  body.spviet-mobile-order-detail-page-v10010 td.product-name.spviet-mobile-order-card-name-v10010,
  body.spviet-mobile-order-detail-page-v10010 table.spviet-mobile-order-card-table-v10010 td.product-name{
    grid-area:name!important;color:#132033!important;text-align:left!important;font-weight:900!important;
  }
  body.spviet-mobile-order-detail-page-v10010 .spviet-order-mobile-namebox-v10010{
    display:grid!important;grid-template-columns:82px minmax(0,1fr)!important;gap:12px!important;align-items:center!important;width:100%!important;min-width:0!important;
  }
  body.spviet-mobile-order-detail-page-v10010 .spviet-order-mobile-thumb-v10010{
    display:block!important;width:82px!important;height:82px!important;border-radius:16px!important;overflow:hidden!important;background:#fff7e8!important;border:1px solid rgba(214,141,36,.22)!important;box-shadow:0 10px 22px rgba(64,15,18,.08)!important;
  }
  body.spviet-mobile-order-detail-page-v10010 .spviet-order-mobile-thumb-v10010 img,
  body.spviet-mobile-order-detail-page-v10010 img.spviet-order-mobile-thumb-img-v10010{
    display:block!important;width:100%!important;height:100%!important;object-fit:cover!important;border-radius:16px!important;margin:0!important;
  }
  body.spviet-mobile-order-detail-page-v10010 .spviet-order-mobile-thumb-fallback-v10010{display:grid!important;place-items:center!important;width:100%!important;height:100%!important;font-size:34px!important;}
  body.spviet-mobile-order-detail-page-v10010 .spviet-order-mobile-copy-v10010{display:grid!important;gap:8px!important;min-width:0!important;}
  body.spviet-mobile-order-detail-page-v10010 .spviet-order-mobile-title-v10010,
  body.spviet-mobile-order-detail-page-v10010 .spviet-order-mobile-title-v10010 a{
    display:block!important;color:#132033!important;font-size:17px!important;font-weight:1000!important;line-height:1.22!important;text-decoration:none!important;white-space:normal!important;word-break:normal!important;overflow-wrap:anywhere!important;
  }
  body.spviet-mobile-order-detail-page-v10010 .spviet-order-mobile-title-v10010 .wc-item-meta,
  body.spviet-mobile-order-detail-page-v10010 .spviet-order-mobile-title-v10010 dl.variation{margin:5px 0 0!important;font-size:12px!important;color:#9a6b22!important;font-weight:700!important;}
  body.spviet-mobile-order-detail-page-v10010 .spviet-order-mobile-unitprice-v10010{
    display:inline-grid!important;gap:3px!important;align-items:center!important;justify-content:start!important;width:max-content!important;max-width:100%!important;color:#132033!important;font-size:15px!important;font-weight:950!important;white-space:nowrap!important;
  }
  body.spviet-mobile-order-detail-page-v10010 .spviet-order-mobile-unitprice-v10010:before{content:attr(data-label);display:block!important;color:#7b6b6a!important;font-size:12px!important;font-weight:750!important;}
  body.spviet-mobile-order-detail-page-v10010 .spviet-order-mobile-name-plain-v10010{display:none!important;}
  body.spviet-mobile-order-detail-page-v10010 td.product-qty.spviet-mobile-order-card-qty-v10010,
  body.spviet-mobile-order-detail-page-v10010 table.spviet-mobile-order-card-table-v10010 td.product-qty{
    grid-area:qty!important;display:grid!important;grid-template-columns:auto auto!important;justify-content:center!important;align-items:center!important;gap:8px!important;min-height:52px!important;border-radius:16px!important;background:linear-gradient(135deg,#fff7e8,#fff)!important;border:1px solid rgba(214,141,36,.24)!important;color:#132033!important;text-align:center!important;font-size:18px!important;font-weight:1000!important;white-space:nowrap!important;
  }
  body.spviet-mobile-order-detail-page-v10010 td.product-total.spviet-mobile-order-card-total-v10010,
  body.spviet-mobile-order-detail-page-v10010 table.spviet-mobile-order-card-table-v10010 td.product-total{
    grid-area:total!important;display:grid!important;justify-content:end!important;align-content:center!important;min-height:52px!important;border-radius:16px!important;background:#fff!important;border:1px solid rgba(15,23,42,.07)!important;color:#a20b1d!important;text-align:right!important;font-size:18px!important;font-weight:1000!important;white-space:nowrap!important;
  }
  body.spviet-mobile-order-detail-page-v10010 .spviet-mobile-order-cell-label-v10010{
    display:block!important;color:#7b6b6a!important;font-size:12px!important;font-weight:750!important;line-height:1.1!important;text-align:center!important;white-space:nowrap!important;
  }
  body.spviet-mobile-order-detail-page-v10010 td.product-total .spviet-mobile-order-cell-label-v10010{text-align:right!important;}
  body.spviet-mobile-order-detail-page-v10010 table.spviet-mobile-order-card-table-v10010 tfoot,
  body.spviet-mobile-order-detail-page-v10010 .spviet-mobile-order-total-foot-v10010{
    display:grid!important;width:100%!important;gap:8px!important;margin:14px 0 0!important;
  }
  body.spviet-mobile-order-detail-page-v10010 table.spviet-mobile-order-card-table-v10010 tfoot tr{
    display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;gap:10px!important;width:100%!important;padding:10px 12px!important;border-radius:16px!important;background:#fff!important;border:1px solid rgba(15,23,42,.07)!important;box-sizing:border-box!important;
  }
  body.spviet-mobile-order-detail-page-v10010 table.spviet-mobile-order-card-table-v10010 tfoot tr:last-child{
    min-height:74px!important;border-color:rgba(214,141,36,.32)!important;background:linear-gradient(135deg,#fff7e8,#fff)!important;box-shadow:0 12px 28px rgba(64,15,18,.07)!important;
  }
  body.spviet-mobile-order-detail-page-v10010 table.spviet-mobile-order-card-table-v10010 tfoot th,
  body.spviet-mobile-order-detail-page-v10010 table.spviet-mobile-order-card-table-v10010 tfoot td{
    display:block!important;width:auto!important;border:0!important;padding:0!important;background:transparent!important;font-weight:1000!important;white-space:normal!important;
  }
  body.spviet-mobile-order-detail-page-v10010 table.spviet-mobile-order-card-table-v10010 tfoot tr:last-child td,
  body.spviet-mobile-order-detail-page-v10010 table.spviet-mobile-order-card-table-v10010 tfoot tr:last-child td .amount{
    color:#a20b1d!important;font-size:26px!important;font-weight:1000!important;white-space:nowrap!important;
  }
  body.spviet-mobile-order-detail-page-v10010 .woocommerce-customer-details,
  body.spviet-mobile-order-detail-page-v10010 .woocommerce-order-downloads,
  body.spviet-mobile-order-detail-page-v10010 .woocommerce-order-details + .woocommerce-customer-details{
    width:100%!important;margin:14px 0!important;padding:14px!important;border-radius:22px!important;background:#fff!important;border:1px solid rgba(15,23,42,.08)!important;box-shadow:0 12px 28px rgba(15,23,42,.06)!important;box-sizing:border-box!important;overflow:hidden!important;
  }
}
@media (max-width:390px){
  body.spviet-mobile-order-detail-page-v10010 table.spviet-mobile-order-card-table-v10010 tbody tr.order_item,
  body.spviet-mobile-order-detail-page-v10010 table.spviet-mobile-order-card-table-v10010 tbody tr.woocommerce-table__line-item,
  body.spviet-mobile-order-detail-page-v10010 tr.spviet-mobile-order-card-row-v10010{padding:10px!important;gap:9px!important;}
  body.spviet-mobile-order-detail-page-v10010 .spviet-order-mobile-namebox-v10010{grid-template-columns:74px minmax(0,1fr)!important;gap:10px!important;}
  body.spviet-mobile-order-detail-page-v10010 .spviet-order-mobile-thumb-v10010{width:74px!important;height:74px!important;border-radius:15px!important;}
  body.spviet-mobile-order-detail-page-v10010 .spviet-order-mobile-title-v10010,
  body.spviet-mobile-order-detail-page-v10010 .spviet-order-mobile-title-v10010 a{font-size:16px!important;}
  body.spviet-mobile-order-detail-page-v10010 td.product-qty.spviet-mobile-order-card-qty-v10010,
  body.spviet-mobile-order-detail-page-v10010 td.product-total.spviet-mobile-order-card-total-v10010{font-size:16px!important;min-height:50px!important;}
}


/* =========================================================
 * SPVIET V10.0.11 - Emergency Mobile Order Detail Repair
 * Fixes v10.0.10 escaped HTML output and vertical tfoot/payment row on phones.
 * ========================================================= */
.spviet-order-mobile-namebox-v10010{display:none;}
@media (max-width:767px){
  body.woocommerce-order-received .spviet-page-shell,
  body.woocommerce-view-order .spviet-page-shell,
  body.woocommerce-order-received main,
  body.woocommerce-view-order main,
  body.woocommerce-order-received .entry-content,
  body.woocommerce-view-order .entry-content{
    padding-left:4px!important;padding-right:4px!important;overflow-x:hidden!important;
  }
  body.woocommerce-order-received .woocommerce,
  body.woocommerce-view-order .woocommerce{padding-left:2px!important;padding-right:2px!important;}
  body.spviet-mobile-order-detail-page-v10010 .spviet-order-desktop-name-v1011{display:none!important;}
  body.spviet-mobile-order-detail-page-v10010 .spviet-order-mobile-namebox-v10010,
  body.spviet-mobile-order-detail-page-v10010 .spviet-order-mobile-namebox-v1011{
    display:grid!important;grid-template-columns:78px minmax(0,1fr)!important;gap:11px!important;align-items:center!important;width:100%!important;min-width:0!important;
  }
  body.spviet-mobile-order-detail-page-v10010 table.spviet-mobile-order-card-table-v10010 td.product-unit,
  body.spviet-mobile-order-detail-page-v10010 table.spviet-mobile-order-card-table-v10010 th.product-unit,
  body.spviet-mobile-order-detail-page-v10010 .spviet-order-unit-v9992{display:none!important;}
  body.spviet-mobile-order-detail-page-v10010 table.spviet-mobile-order-card-table-v10010 tbody tr.order_item,
  body.spviet-mobile-order-detail-page-v10010 table.spviet-mobile-order-card-table-v10010 tbody tr.woocommerce-table__line-item,
  body.spviet-mobile-order-detail-page-v10010 tr.spviet-mobile-order-card-row-v10010{
    grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
    grid-template-areas:'name name' 'qty total'!important;
    padding:10px!important;gap:10px!important;border-radius:20px!important;
  }
  body.spviet-mobile-order-detail-page-v10010 .spviet-order-mobile-thumb-v10010{width:78px!important;height:78px!important;}
  body.spviet-mobile-order-detail-page-v10010 .spviet-order-mobile-title-v10010,
  body.spviet-mobile-order-detail-page-v10010 .spviet-order-mobile-title-v10010 a{
    overflow-wrap:break-word!important;word-break:normal!important;hyphens:auto!important;
  }
  body.spviet-mobile-order-detail-page-v10010 table.spviet-mobile-order-card-table-v10010 tfoot tr{
    grid-template-columns:minmax(126px,42%) minmax(0,1fr)!important;
    gap:8px!important;padding:12px!important;align-items:center!important;
  }
  body.spviet-mobile-order-detail-page-v10010 table.spviet-mobile-order-card-table-v10010 tfoot th,
  body.spviet-mobile-order-detail-page-v10010 table.spviet-mobile-order-card-table-v10010 tfoot td{
    overflow-wrap:normal!important;word-break:keep-all!important;line-height:1.35!important;min-width:0!important;
  }
  body.spviet-mobile-order-detail-page-v10010 table.spviet-mobile-order-card-table-v10010 tfoot th{
    text-align:left!important;font-size:15px!important;white-space:normal!important;color:#5f4b50!important;
  }
  body.spviet-mobile-order-detail-page-v10010 table.spviet-mobile-order-card-table-v10010 tfoot td{
    text-align:right!important;font-size:15px!important;white-space:normal!important;color:#8b0714!important;
  }
  body.spviet-mobile-order-detail-page-v10010 table.spviet-mobile-order-card-table-v10010 tfoot tr:last-child td,
  body.spviet-mobile-order-detail-page-v10010 table.spviet-mobile-order-card-table-v10010 tfoot tr:last-child td .amount{
    font-size:22px!important;
  }
}
@media (max-width:390px){
  body.spviet-mobile-order-detail-page-v10010 .spviet-order-mobile-namebox-v10010,
  body.spviet-mobile-order-detail-page-v10010 .spviet-order-mobile-namebox-v1011{grid-template-columns:70px minmax(0,1fr)!important;gap:9px!important;}
  body.spviet-mobile-order-detail-page-v10010 .spviet-order-mobile-thumb-v10010{width:70px!important;height:70px!important;}
  body.spviet-mobile-order-detail-page-v10010 table.spviet-mobile-order-card-table-v10010 tfoot tr{grid-template-columns:minmax(118px,43%) minmax(0,1fr)!important;}
}

/* =========================================================
 * SPVIET V10.0.12 - Mobile Order Detail Full-Width Balanced Card Closeout
 * Emergency correction after V10.0.10/V10.0.11: remove old 3-column table remnants,
 * pull content close to both phone edges, and balance item cards evenly.
 * ========================================================= */
@media (max-width:767px){
  body.woocommerce-order-received,
  body.woocommerce-view-order{
    overflow-x:hidden!important;
    background:#fffaf4!important;
  }

  /* Pull the Woo order detail page close to phone edges without horizontal scroll. */
  body.woocommerce-order-received .site,
  body.woocommerce-view-order .site,
  body.woocommerce-order-received .site-main,
  body.woocommerce-view-order .site-main,
  body.woocommerce-order-received main,
  body.woocommerce-view-order main,
  body.woocommerce-order-received .spviet-page-shell,
  body.woocommerce-view-order .spviet-page-shell,
  body.woocommerce-order-received .entry-content,
  body.woocommerce-view-order .entry-content,
  body.woocommerce-order-received .woocommerce,
  body.woocommerce-view-order .woocommerce,
  body.spviet-mobile-order-detail-page-v10010 .woocommerce-order{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin-left:0!important;
    margin-right:0!important;
    padding-left:0!important;
    padding-right:0!important;
    box-sizing:border-box!important;
    overflow-x:hidden!important;
  }
  body.woocommerce-order-received .entry-content > .woocommerce,
  body.woocommerce-view-order .entry-content > .woocommerce,
  body.spviet-mobile-order-detail-page-v10010 .woocommerce-order{
    padding-bottom:138px!important;
  }
  body.spviet-mobile-order-detail-page-v10010 .spviet-order-details-v9992,
  body.spviet-mobile-order-detail-page-v10010 .woocommerce-order-details,
  body.spviet-mobile-order-detail-page-v10010 .spviet-mobile-order-detail-shell-v10010{
    width:calc(100vw - 12px)!important;
    max-width:calc(100vw - 12px)!important;
    margin-left:6px!important;
    margin-right:6px!important;
    padding:14px 8px 16px!important;
    border-radius:22px!important;
    box-sizing:border-box!important;
    overflow:hidden!important;
  }

  /* Header/card spacing on mobile order detail. */
  body.spviet-mobile-order-detail-page-v10010 .spviet-order-details-head-v9992{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:14px!important;
    margin:0 0 14px!important;
    padding:0!important;
  }
  body.spviet-mobile-order-detail-page-v10010 .spviet-order-kicker-v9992{
    display:inline-flex!important;
    width:max-content!important;
    max-width:100%!important;
    margin:0 0 8px!important;
    padding:8px 16px!important;
    border-radius:999px!important;
    background:#fff1cc!important;
    color:#a20b1d!important;
    font-size:13px!important;
    line-height:1.15!important;
    font-weight:1000!important;
    letter-spacing:.08em!important;
  }
  body.spviet-mobile-order-detail-page-v10010 .spviet-order-title-v9992,
  body.spviet-mobile-order-detail-page-v10010 .woocommerce-order-details__title{
    font-size:31px!important;
    line-height:1.05!important;
    letter-spacing:-.035em!important;
    margin:0!important;
    padding:0 0 14px!important;
    color:#172033!important;
    text-transform:none!important;
    overflow-wrap:normal!important;
    word-break:normal!important;
  }
  body.spviet-mobile-order-detail-page-v10010 .spviet-order-code-v9992{
    width:100%!important;
    min-height:98px!important;
    margin:0!important;
    padding:18px 20px!important;
    border-radius:22px!important;
    display:grid!important;
    align-content:center!important;
    justify-items:start!important;
    text-align:left!important;
    box-sizing:border-box!important;
  }
  body.spviet-mobile-order-detail-page-v10010 .spviet-order-code-v9992 span{
    font-size:13px!important;
    letter-spacing:.04em!important;
    font-weight:1000!important;
    color:#80676a!important;
  }
  body.spviet-mobile-order-detail-page-v10010 .spviet-order-code-v9992 strong{
    font-size:31px!important;
    line-height:1.05!important;
    color:#a20b1d!important;
  }

  /* Kill every old mobile table/3-column rule and turn order rows into true cards. */
  body.spviet-mobile-order-detail-page-v10010 table.shop_table.order_details,
  body.spviet-mobile-order-detail-page-v10010 table.spviet-order-table-v9992,
  body.spviet-mobile-order-detail-page-v10010 table.spviet-mobile-order-card-table-v10010,
  body.spviet-mobile-order-detail-page-v10010 table.spviet-mobile-order-3col-v9995{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    table-layout:auto!important;
    border:0!important;
    border-collapse:separate!important;
    border-spacing:0!important;
    overflow:visible!important;
    background:transparent!important;
    box-sizing:border-box!important;
  }
  body.spviet-mobile-order-detail-page-v10010 table.spviet-order-table-v9992 thead,
  body.spviet-mobile-order-detail-page-v10010 table.shop_table.order_details thead,
  body.spviet-mobile-order-detail-page-v10010 table.spviet-mobile-order-card-table-v10010 thead,
  body.spviet-mobile-order-detail-page-v10010 table.spviet-mobile-order-3col-v9995 thead,
  body.spviet-mobile-order-detail-page-v10010 table.spviet-order-table-v9992 thead tr,
  body.spviet-mobile-order-detail-page-v10010 table.shop_table.order_details thead tr,
  body.spviet-mobile-order-detail-page-v10010 table.spviet-order-table-v9992 thead th{
    display:none!important;
    height:0!important;
    visibility:hidden!important;
    overflow:hidden!important;
  }
  body.spviet-mobile-order-detail-page-v10010 table.spviet-order-table-v9992 tbody,
  body.spviet-mobile-order-detail-page-v10010 table.shop_table.order_details tbody,
  body.spviet-mobile-order-detail-page-v10010 table.spviet-mobile-order-card-table-v10010 tbody{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:12px!important;
    width:100%!important;
    min-width:0!important;
  }
  body.spviet-mobile-order-detail-page-v10010 table.spviet-order-table-v9992 tbody tr.order_item,
  body.spviet-mobile-order-detail-page-v10010 table.spviet-order-table-v9992 tbody tr.woocommerce-table__line-item,
  body.spviet-mobile-order-detail-page-v10010 table.shop_table.order_details tbody tr.order_item,
  body.spviet-mobile-order-detail-page-v10010 table.shop_table.order_details tbody tr.woocommerce-table__line-item,
  body.spviet-mobile-order-detail-page-v10010 tr.spviet-mobile-order-card-row-v10010,
  body.spviet-mobile-order-detail-page-v10010 tr.spviet-mobile-order-card-row-v1012{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
    grid-template-areas:'name name' 'qty total'!important;
    gap:10px!important;
    width:100%!important;
    min-width:0!important;
    margin:0!important;
    padding:12px!important;
    border:1px solid rgba(15,23,42,.08)!important;
    border-radius:22px!important;
    background:#fff!important;
    box-shadow:0 10px 26px rgba(15,23,42,.07)!important;
    box-sizing:border-box!important;
    overflow:hidden!important;
  }
  body.spviet-mobile-order-detail-page-v10010 table.spviet-order-table-v9992 tbody tr.product-purchase-note,
  body.spviet-mobile-order-detail-page-v10010 table.shop_table.order_details tbody tr.product-purchase-note{display:none!important;}
  body.spviet-mobile-order-detail-page-v10010 table.spviet-order-table-v9992 th,
  body.spviet-mobile-order-detail-page-v10010 table.spviet-order-table-v9992 td,
  body.spviet-mobile-order-detail-page-v10010 table.shop_table.order_details th,
  body.spviet-mobile-order-detail-page-v10010 table.shop_table.order_details td{
    width:auto!important;
    max-width:100%!important;
    min-width:0!important;
    float:none!important;
    clear:none!important;
    border:0!important;
    padding:0!important;
    background:transparent!important;
    box-sizing:border-box!important;
    overflow:visible!important;
    white-space:normal!important;
    word-break:normal!important;
    overflow-wrap:break-word!important;
    text-align:initial!important;
  }
  body.spviet-mobile-order-detail-page-v10010 table.spviet-order-table-v9992 td::before,
  body.spviet-mobile-order-detail-page-v10010 table.shop_table.order_details td::before,
  body.spviet-mobile-order-detail-page-v10010 table.spviet-mobile-order-card-table-v10010 td::before{
    display:none!important;
    content:none!important;
  }
  body.spviet-mobile-order-detail-page-v10010 table.spviet-order-table-v9992 td.product-unit,
  body.spviet-mobile-order-detail-page-v10010 table.spviet-order-table-v9992 th.product-unit,
  body.spviet-mobile-order-detail-page-v10010 table.shop_table.order_details td.product-unit,
  body.spviet-mobile-order-detail-page-v10010 table.shop_table.order_details th.product-unit,
  body.spviet-mobile-order-detail-page-v10010 .spviet-order-unit-v9992,
  body.spviet-mobile-order-detail-page-v10010 .spviet-mobile-hide-unit-v9995{
    display:none!important;
  }

  /* Product identity row: image + name + unit price, centered within the full card width. */
  body.spviet-mobile-order-detail-page-v10010 table.spviet-order-table-v9992 td.product-name,
  body.spviet-mobile-order-detail-page-v10010 table.shop_table.order_details td.product-name,
  body.spviet-mobile-order-detail-page-v10010 td.product-name.spviet-mobile-order-card-name-v10010{
    grid-area:name!important;
    display:block!important;
    width:100%!important;
    color:#172033!important;
    text-align:left!important;
  }
  body.spviet-mobile-order-detail-page-v10010 .spviet-order-desktop-name-v1011{display:none!important;}
  body.spviet-mobile-order-detail-page-v10010 .spviet-order-mobile-namebox-v10010,
  body.spviet-mobile-order-detail-page-v10010 .spviet-order-mobile-namebox-v1011{
    display:grid!important;
    grid-template-columns:92px minmax(0,1fr)!important;
    gap:12px!important;
    align-items:center!important;
    width:100%!important;
    min-width:0!important;
  }
  body.spviet-mobile-order-detail-page-v10010 .spviet-order-mobile-thumb-v10010{
    width:92px!important;
    height:92px!important;
    min-width:92px!important;
    border-radius:18px!important;
    overflow:hidden!important;
    background:#fff7e8!important;
    border:1px solid rgba(214,141,36,.22)!important;
    box-shadow:0 8px 18px rgba(64,15,18,.06)!important;
  }
  body.spviet-mobile-order-detail-page-v10010 .spviet-order-mobile-thumb-v10010 img,
  body.spviet-mobile-order-detail-page-v10010 img.spviet-order-mobile-thumb-img-v10010{
    width:100%!important;
    height:100%!important;
    display:block!important;
    object-fit:cover!important;
    border-radius:18px!important;
  }
  body.spviet-mobile-order-detail-page-v10010 .spviet-order-mobile-thumb-fallback-v10010{display:grid!important;place-items:center!important;width:100%!important;height:100%!important;font-size:30px!important;}
  body.spviet-mobile-order-detail-page-v10010 .spviet-order-mobile-copy-v10010{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:7px!important;
    min-width:0!important;
    align-content:center!important;
  }
  body.spviet-mobile-order-detail-page-v10010 .spviet-order-mobile-title-v10010,
  body.spviet-mobile-order-detail-page-v10010 .spviet-order-mobile-title-v10010 a{
    color:#172033!important;
    font-size:20px!important;
    line-height:1.18!important;
    font-weight:1000!important;
    text-decoration:none!important;
    word-break:normal!important;
    overflow-wrap:break-word!important;
  }
  body.spviet-mobile-order-detail-page-v10010 .spviet-order-mobile-unitprice-v10010{
    display:inline-flex!important;
    flex-direction:column!important;
    align-items:flex-start!important;
    justify-content:center!important;
    width:max-content!important;
    max-width:100%!important;
    color:#172033!important;
    font-size:18px!important;
    line-height:1.15!important;
    font-weight:1000!important;
    white-space:nowrap!important;
  }
  body.spviet-mobile-order-detail-page-v10010 .spviet-order-mobile-unitprice-v10010:before{
    content:attr(data-label)!important;
    display:block!important;
    margin:0 0 3px!important;
    color:#7b6b6a!important;
    font-size:13px!important;
    font-weight:850!important;
  }

  /* Qty and total boxes: same width, same height, evenly distributed. */
  body.spviet-mobile-order-detail-page-v10010 table.spviet-order-table-v9992 td.product-qty,
  body.spviet-mobile-order-detail-page-v10010 table.shop_table.order_details td.product-qty,
  body.spviet-mobile-order-detail-page-v10010 td.product-qty.spviet-mobile-order-card-qty-v10010{
    grid-area:qty!important;
    display:grid!important;
    grid-template-columns:1fr!important;
    align-items:center!important;
    justify-items:center!important;
    gap:3px!important;
    width:100%!important;
    min-height:60px!important;
    border-radius:18px!important;
    background:linear-gradient(135deg,#fff7e8,#fff)!important;
    border:1px solid rgba(214,141,36,.24)!important;
    color:#172033!important;
    text-align:center!important;
    font-size:21px!important;
    line-height:1.05!important;
    font-weight:1000!important;
    white-space:nowrap!important;
  }
  body.spviet-mobile-order-detail-page-v10010 table.spviet-order-table-v9992 td.product-total,
  body.spviet-mobile-order-detail-page-v10010 table.shop_table.order_details td.product-total,
  body.spviet-mobile-order-detail-page-v10010 td.product-total.spviet-mobile-order-card-total-v10010{
    grid-area:total!important;
    display:grid!important;
    grid-template-columns:1fr!important;
    align-items:center!important;
    justify-items:center!important;
    gap:3px!important;
    width:100%!important;
    min-height:60px!important;
    border-radius:18px!important;
    background:#fff!important;
    border:1px solid rgba(15,23,42,.08)!important;
    color:#a20b1d!important;
    text-align:center!important;
    font-size:21px!important;
    line-height:1.05!important;
    font-weight:1000!important;
    white-space:nowrap!important;
  }
  body.spviet-mobile-order-detail-page-v10010 .spviet-mobile-order-cell-label-v10010{
    display:block!important;
    color:#7b6b6a!important;
    font-size:13px!important;
    line-height:1.05!important;
    font-weight:850!important;
    text-align:center!important;
    white-space:nowrap!important;
  }
  body.spviet-mobile-order-detail-page-v10010 td.product-total .spviet-mobile-order-cell-label-v10010{text-align:center!important;}

  /* Totals / payment rows: never vertical, always two aligned columns. */
  body.spviet-mobile-order-detail-page-v10010 table.spviet-order-table-v9992 tfoot,
  body.spviet-mobile-order-detail-page-v10010 table.shop_table.order_details tfoot,
  body.spviet-mobile-order-detail-page-v10010 .spviet-mobile-order-total-foot-v10010{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:8px!important;
    width:100%!important;
    margin:14px 0 0!important;
  }
  body.spviet-mobile-order-detail-page-v10010 table.spviet-order-table-v9992 tfoot tr,
  body.spviet-mobile-order-detail-page-v10010 table.shop_table.order_details tfoot tr{
    display:grid!important;
    grid-template-columns:minmax(130px,44%) minmax(0,1fr)!important;
    gap:10px!important;
    align-items:center!important;
    width:100%!important;
    margin:0!important;
    padding:12px 14px!important;
    border:1px solid rgba(15,23,42,.08)!important;
    border-radius:18px!important;
    background:#fff!important;
    box-sizing:border-box!important;
  }
  body.spviet-mobile-order-detail-page-v10010 table.spviet-order-table-v9992 tfoot tr:last-child,
  body.spviet-mobile-order-detail-page-v10010 table.shop_table.order_details tfoot tr:last-child{
    min-height:74px!important;
    background:linear-gradient(135deg,#fff7e8,#fff)!important;
    border-color:rgba(214,141,36,.30)!important;
  }
  body.spviet-mobile-order-detail-page-v10010 table.spviet-order-table-v9992 tfoot th,
  body.spviet-mobile-order-detail-page-v10010 table.shop_table.order_details tfoot th,
  body.spviet-mobile-order-detail-page-v10010 table.spviet-order-table-v9992 tfoot td,
  body.spviet-mobile-order-detail-page-v10010 table.shop_table.order_details tfoot td{
    display:block!important;
    width:auto!important;
    max-width:100%!important;
    min-width:0!important;
    border:0!important;
    padding:0!important;
    background:transparent!important;
    box-sizing:border-box!important;
    line-height:1.35!important;
    word-break:normal!important;
    overflow-wrap:break-word!important;
  }
  body.spviet-mobile-order-detail-page-v10010 table.spviet-order-table-v9992 tfoot th,
  body.spviet-mobile-order-detail-page-v10010 table.shop_table.order_details tfoot th{
    text-align:left!important;
    color:#5f4b50!important;
    font-size:15px!important;
    font-weight:1000!important;
  }
  body.spviet-mobile-order-detail-page-v10010 table.spviet-order-table-v9992 tfoot td,
  body.spviet-mobile-order-detail-page-v10010 table.shop_table.order_details tfoot td{
    text-align:right!important;
    color:#8b0714!important;
    font-size:16px!important;
    font-weight:1000!important;
  }
  body.spviet-mobile-order-detail-page-v10010 table.spviet-order-table-v9992 tfoot tr:last-child td,
  body.spviet-mobile-order-detail-page-v10010 table.shop_table.order_details tfoot tr:last-child td,
  body.spviet-mobile-order-detail-page-v10010 table.spviet-order-table-v9992 tfoot tr:last-child td .amount,
  body.spviet-mobile-order-detail-page-v10010 table.shop_table.order_details tfoot tr:last-child td .amount{
    font-size:22px!important;
    color:#a20b1d!important;
    white-space:nowrap!important;
  }

  /* Order overview cards above details stay full width but not cramped. */
  body.spviet-mobile-order-detail-page-v10010 .woocommerce-order-overview,
  body.spviet-mobile-order-detail-page-v10010 ul.order_details.spviet-mobile-order-overview-v10010,
  body.spviet-mobile-order-detail-page-v10010 ul.woocommerce-thankyou-order-details.spviet-mobile-order-overview-v10010{
    width:calc(100vw - 12px)!important;
    max-width:calc(100vw - 12px)!important;
    margin-left:6px!important;
    margin-right:6px!important;
    padding:14px!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    box-sizing:border-box!important;
  }
}
@media (max-width:390px){
  body.spviet-mobile-order-detail-page-v10010 .spviet-order-title-v9992,
  body.spviet-mobile-order-detail-page-v10010 .woocommerce-order-details__title{font-size:29px!important;}
  body.spviet-mobile-order-detail-page-v10010 .spviet-order-mobile-namebox-v10010,
  body.spviet-mobile-order-detail-page-v10010 .spviet-order-mobile-namebox-v1011{grid-template-columns:82px minmax(0,1fr)!important;gap:10px!important;}
  body.spviet-mobile-order-detail-page-v10010 .spviet-order-mobile-thumb-v10010{width:82px!important;height:82px!important;min-width:82px!important;}
  body.spviet-mobile-order-detail-page-v10010 .spviet-order-mobile-title-v10010,
  body.spviet-mobile-order-detail-page-v10010 .spviet-order-mobile-title-v10010 a{font-size:18px!important;line-height:1.16!important;}
  body.spviet-mobile-order-detail-page-v10010 table.spviet-order-table-v9992 tbody tr.order_item,
  body.spviet-mobile-order-detail-page-v10010 table.shop_table.order_details tbody tr.order_item,
  body.spviet-mobile-order-detail-page-v10010 tr.spviet-mobile-order-card-row-v10010{padding:10px!important;gap:9px!important;}
}


/* =========================================================
 * SPVIET V10.0.13 - Mobile Order Detail True One Column / 12px Typography
 * Fixes remaining right overflow on iPhone: no two-column Woo overview/tfoot remnants,
 * no bold oversized mobile typography, no horizontal scroll, safe bottom spacing.
 * ========================================================= */
@media (max-width:767px){
  html, body.woocommerce-order-received, body.woocommerce-view-order,
  body.spviet-mobile-order-detail-page-v10010,
  body.spviet-mobile-order-detail-page-v10013{
    max-width:100vw!important;
    overflow-x:hidden!important;
  }
  body.spviet-mobile-order-detail-page-v10010 *,
  body.spviet-mobile-order-detail-page-v10013 *{
    box-sizing:border-box!important;
    max-width:100%!important;
  }
  body.spviet-mobile-order-detail-page-v10010 .site,
  body.spviet-mobile-order-detail-page-v10010 .site-content,
  body.spviet-mobile-order-detail-page-v10010 .content-area,
  body.spviet-mobile-order-detail-page-v10010 .site-main,
  body.spviet-mobile-order-detail-page-v10010 main,
  body.spviet-mobile-order-detail-page-v10010 article,
  body.spviet-mobile-order-detail-page-v10010 .entry-content,
  body.spviet-mobile-order-detail-page-v10010 .woocommerce,
  body.spviet-mobile-order-detail-page-v10010 .woocommerce-order,
  body.spviet-mobile-order-detail-page-v10013 .site,
  body.spviet-mobile-order-detail-page-v10013 .site-content,
  body.spviet-mobile-order-detail-page-v10013 .content-area,
  body.spviet-mobile-order-detail-page-v10013 .site-main,
  body.spviet-mobile-order-detail-page-v10013 main,
  body.spviet-mobile-order-detail-page-v10013 article,
  body.spviet-mobile-order-detail-page-v10013 .entry-content,
  body.spviet-mobile-order-detail-page-v10013 .woocommerce,
  body.spviet-mobile-order-detail-page-v10013 .woocommerce-order{
    width:100vw!important;
    max-width:100vw!important;
    min-width:0!important;
    margin-left:0!important;
    margin-right:0!important;
    padding-left:0!important;
    padding-right:0!important;
    left:auto!important;
    right:auto!important;
    transform:none!important;
    overflow-x:hidden!important;
  }
  body.spviet-mobile-order-detail-page-v10010 .spviet-order-details-v9992,
  body.spviet-mobile-order-detail-page-v10010 .woocommerce-order-details,
  body.spviet-mobile-order-detail-page-v10010 .spviet-mobile-order-detail-shell-v10010,
  body.spviet-mobile-order-detail-page-v10013 .spviet-order-details-v9992,
  body.spviet-mobile-order-detail-page-v10013 .woocommerce-order-details,
  body.spviet-mobile-order-detail-page-v10013 .spviet-mobile-order-detail-shell-v10010{
    width:calc(100vw - 8px)!important;
    max-width:calc(100vw - 8px)!important;
    margin-left:4px!important;
    margin-right:4px!important;
    padding:12px 6px 128px!important;
    border-radius:18px!important;
    overflow:hidden!important;
  }

  /* Whole order page typography: normal mobile commerce scale. */
  body.spviet-mobile-order-detail-page-v10010,
  body.spviet-mobile-order-detail-page-v10013,
  body.spviet-mobile-order-detail-page-v10010 .woocommerce,
  body.spviet-mobile-order-detail-page-v10013 .woocommerce,
  body.spviet-mobile-order-detail-page-v10010 table,
  body.spviet-mobile-order-detail-page-v10013 table{
    font-size:12px!important;
    line-height:1.38!important;
    font-weight:400!important;
    letter-spacing:0!important;
    color:#172033!important;
  }
  body.spviet-mobile-order-detail-page-v10010 b,
  body.spviet-mobile-order-detail-page-v10010 strong,
  body.spviet-mobile-order-detail-page-v10013 b,
  body.spviet-mobile-order-detail-page-v10013 strong{font-weight:650!important;}
  body.spviet-mobile-order-detail-page-v10010 .spviet-order-kicker-v9992,
  body.spviet-mobile-order-detail-page-v10013 .spviet-order-kicker-v9992{
    font-size:11px!important;
    line-height:1.15!important;
    font-weight:650!important;
    padding:6px 12px!important;
    margin-bottom:7px!important;
    letter-spacing:.04em!important;
  }
  body.spviet-mobile-order-detail-page-v10010 .spviet-order-title-v9992,
  body.spviet-mobile-order-detail-page-v10010 .woocommerce-order-details__title,
  body.spviet-mobile-order-detail-page-v10010 .woocommerce-order > h2,
  body.spviet-mobile-order-detail-page-v10010 .woocommerce-order > h1,
  body.spviet-mobile-order-detail-page-v10013 .spviet-order-title-v9992,
  body.spviet-mobile-order-detail-page-v10013 .woocommerce-order-details__title,
  body.spviet-mobile-order-detail-page-v10013 .woocommerce-order > h2,
  body.spviet-mobile-order-detail-page-v10013 .woocommerce-order > h1{
    font-size:20px!important;
    line-height:1.18!important;
    font-weight:650!important;
    letter-spacing:-.015em!important;
    text-transform:none!important;
    margin:0 0 10px!important;
    padding:0 0 10px!important;
    overflow-wrap:anywhere!important;
    word-break:normal!important;
  }
  body.spviet-mobile-order-detail-page-v10010 .spviet-order-code-v9992,
  body.spviet-mobile-order-detail-page-v10013 .spviet-order-code-v9992{
    min-height:74px!important;
    padding:12px 14px!important;
    border-radius:16px!important;
  }
  body.spviet-mobile-order-detail-page-v10010 .spviet-order-code-v9992 span,
  body.spviet-mobile-order-detail-page-v10013 .spviet-order-code-v9992 span{
    font-size:11px!important;
    font-weight:600!important;
    letter-spacing:.02em!important;
  }
  body.spviet-mobile-order-detail-page-v10010 .spviet-order-code-v9992 strong,
  body.spviet-mobile-order-detail-page-v10013 .spviet-order-code-v9992 strong{
    font-size:20px!important;
    line-height:1.15!important;
    font-weight:700!important;
  }

  /* Thank-you overview: force 1 column. Long email/payment text wraps inside card. */
  body.spviet-mobile-order-detail-page-v10010 .woocommerce-order-overview,
  body.spviet-mobile-order-detail-page-v10010 ul.order_details,
  body.spviet-mobile-order-detail-page-v10010 ul.woocommerce-thankyou-order-details,
  body.spviet-mobile-order-detail-page-v10013 .woocommerce-order-overview,
  body.spviet-mobile-order-detail-page-v10013 ul.order_details,
  body.spviet-mobile-order-detail-page-v10013 ul.woocommerce-thankyou-order-details{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:8px!important;
    width:calc(100vw - 16px)!important;
    max-width:calc(100vw - 16px)!important;
    margin:8px 8px 18px!important;
    padding:8px!important;
    overflow:hidden!important;
  }
  body.spviet-mobile-order-detail-page-v10010 .woocommerce-order-overview li,
  body.spviet-mobile-order-detail-page-v10010 ul.order_details li,
  body.spviet-mobile-order-detail-page-v10010 ul.woocommerce-thankyou-order-details li,
  body.spviet-mobile-order-detail-page-v10013 .woocommerce-order-overview li,
  body.spviet-mobile-order-detail-page-v10013 ul.order_details li,
  body.spviet-mobile-order-detail-page-v10013 ul.woocommerce-thankyou-order-details li{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin:0!important;
    padding:10px 12px!important;
    float:none!important;
    display:block!important;
    border-radius:14px!important;
    overflow:hidden!important;
    font-size:12px!important;
    line-height:1.35!important;
    font-weight:400!important;
    text-align:left!important;
    word-break:normal!important;
    overflow-wrap:anywhere!important;
    white-space:normal!important;
  }
  body.spviet-mobile-order-detail-page-v10010 .woocommerce-order-overview li strong,
  body.spviet-mobile-order-detail-page-v10010 ul.order_details li strong,
  body.spviet-mobile-order-detail-page-v10010 ul.woocommerce-thankyou-order-details li strong,
  body.spviet-mobile-order-detail-page-v10013 .woocommerce-order-overview li strong,
  body.spviet-mobile-order-detail-page-v10013 ul.order_details li strong,
  body.spviet-mobile-order-detail-page-v10013 ul.woocommerce-thankyou-order-details li strong{
    display:block!important;
    margin-top:2px!important;
    font-size:14px!important;
    line-height:1.25!important;
    font-weight:650!important;
    white-space:normal!important;
    overflow-wrap:anywhere!important;
    word-break:normal!important;
  }

  /* Product table/cards: true 1-column card. */
  body.spviet-mobile-order-detail-page-v10010 table.shop_table.order_details,
  body.spviet-mobile-order-detail-page-v10010 table.spviet-order-table-v9992,
  body.spviet-mobile-order-detail-page-v10013 table.shop_table.order_details,
  body.spviet-mobile-order-detail-page-v10013 table.spviet-order-table-v9992{
    width:100%!important;
    max-width:100%!important;
    overflow:hidden!important;
  }
  body.spviet-mobile-order-detail-page-v10010 table.spviet-order-table-v9992 tbody,
  body.spviet-mobile-order-detail-page-v10010 table.shop_table.order_details tbody,
  body.spviet-mobile-order-detail-page-v10013 table.spviet-order-table-v9992 tbody,
  body.spviet-mobile-order-detail-page-v10013 table.shop_table.order_details tbody{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:8px!important;
  }
  body.spviet-mobile-order-detail-page-v10010 table.spviet-order-table-v9992 tbody tr.order_item,
  body.spviet-mobile-order-detail-page-v10010 table.shop_table.order_details tbody tr.order_item,
  body.spviet-mobile-order-detail-page-v10010 tr.spviet-mobile-order-card-row-v10013,
  body.spviet-mobile-order-detail-page-v10013 table.spviet-order-table-v9992 tbody tr.order_item,
  body.spviet-mobile-order-detail-page-v10013 table.shop_table.order_details tbody tr.order_item,
  body.spviet-mobile-order-detail-page-v10013 tr.spviet-mobile-order-card-row-v10013{
    grid-template-columns:1fr!important;
    grid-template-areas:'name' 'qty' 'total'!important;
    gap:8px!important;
    padding:10px!important;
    border-radius:16px!important;
    overflow:hidden!important;
  }
  body.spviet-mobile-order-detail-page-v10010 .spviet-order-mobile-namebox-v10010,
  body.spviet-mobile-order-detail-page-v10010 .spviet-order-mobile-namebox-v1011,
  body.spviet-mobile-order-detail-page-v10013 .spviet-order-mobile-namebox-v10010,
  body.spviet-mobile-order-detail-page-v10013 .spviet-order-mobile-namebox-v1011{
    display:grid!important;
    grid-template-columns:72px minmax(0,1fr)!important;
    gap:8px!important;
    width:100%!important;
    align-items:center!important;
    min-width:0!important;
  }
  body.spviet-mobile-order-detail-page-v10010 .spviet-order-mobile-thumb-v10010,
  body.spviet-mobile-order-detail-page-v10013 .spviet-order-mobile-thumb-v10010{
    width:72px!important;
    height:72px!important;
    min-width:72px!important;
    border-radius:14px!important;
    overflow:hidden!important;
  }
  body.spviet-mobile-order-detail-page-v10010 .spviet-order-mobile-copy-v10010,
  body.spviet-mobile-order-detail-page-v10013 .spviet-order-mobile-copy-v10010{
    min-width:0!important;
    width:100%!important;
    overflow:hidden!important;
    gap:3px!important;
  }
  body.spviet-mobile-order-detail-page-v10010 .spviet-order-mobile-title-v10010,
  body.spviet-mobile-order-detail-page-v10010 .spviet-order-mobile-title-v10010 a,
  body.spviet-mobile-order-detail-page-v10013 .spviet-order-mobile-title-v10010,
  body.spviet-mobile-order-detail-page-v10013 .spviet-order-mobile-title-v10010 a{
    font-size:14px!important;
    line-height:1.25!important;
    font-weight:650!important;
    overflow-wrap:anywhere!important;
    word-break:normal!important;
  }
  body.spviet-mobile-order-detail-page-v10010 .spviet-order-mobile-unitprice-v10010,
  body.spviet-mobile-order-detail-page-v10013 .spviet-order-mobile-unitprice-v10010{
    font-size:12px!important;
    line-height:1.25!important;
    font-weight:650!important;
    white-space:normal!important;
    width:100%!important;
  }
  body.spviet-mobile-order-detail-page-v10010 .spviet-order-mobile-unitprice-v10010:before,
  body.spviet-mobile-order-detail-page-v10013 .spviet-order-mobile-unitprice-v10010:before{
    font-size:11px!important;
    line-height:1.2!important;
    font-weight:500!important;
  }
  body.spviet-mobile-order-detail-page-v10010 table.spviet-order-table-v9992 td.product-qty,
  body.spviet-mobile-order-detail-page-v10010 table.shop_table.order_details td.product-qty,
  body.spviet-mobile-order-detail-page-v10010 table.spviet-order-table-v9992 td.product-total,
  body.spviet-mobile-order-detail-page-v10010 table.shop_table.order_details td.product-total,
  body.spviet-mobile-order-detail-page-v10013 table.spviet-order-table-v9992 td.product-qty,
  body.spviet-mobile-order-detail-page-v10013 table.shop_table.order_details td.product-qty,
  body.spviet-mobile-order-detail-page-v10013 table.spviet-order-table-v9992 td.product-total,
  body.spviet-mobile-order-detail-page-v10013 table.shop_table.order_details td.product-total{
    min-height:44px!important;
    border-radius:14px!important;
    font-size:14px!important;
    line-height:1.25!important;
    font-weight:650!important;
    white-space:normal!important;
    overflow-wrap:anywhere!important;
  }
  body.spviet-mobile-order-detail-page-v10010 .spviet-mobile-order-cell-label-v10010,
  body.spviet-mobile-order-detail-page-v10013 .spviet-mobile-order-cell-label-v10010{
    font-size:11px!important;
    line-height:1.2!important;
    font-weight:500!important;
  }

  /* Totals/payment: true 1 column, no value clipped on right. */
  body.spviet-mobile-order-detail-page-v10010 table.spviet-order-table-v9992 tfoot,
  body.spviet-mobile-order-detail-page-v10010 table.shop_table.order_details tfoot,
  body.spviet-mobile-order-detail-page-v10013 table.spviet-order-table-v9992 tfoot,
  body.spviet-mobile-order-detail-page-v10013 table.shop_table.order_details tfoot{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:7px!important;
    width:100%!important;
    max-width:100%!important;
    overflow:hidden!important;
  }
  body.spviet-mobile-order-detail-page-v10010 table.spviet-order-table-v9992 tfoot tr,
  body.spviet-mobile-order-detail-page-v10010 table.shop_table.order_details tfoot tr,
  body.spviet-mobile-order-detail-page-v10013 table.spviet-order-table-v9992 tfoot tr,
  body.spviet-mobile-order-detail-page-v10013 table.shop_table.order_details tfoot tr{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:3px!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    padding:10px 12px!important;
    border-radius:14px!important;
    overflow:hidden!important;
  }
  body.spviet-mobile-order-detail-page-v10010 table.spviet-order-table-v9992 tfoot th,
  body.spviet-mobile-order-detail-page-v10010 table.shop_table.order_details tfoot th,
  body.spviet-mobile-order-detail-page-v10010 table.spviet-order-table-v9992 tfoot td,
  body.spviet-mobile-order-detail-page-v10010 table.shop_table.order_details tfoot td,
  body.spviet-mobile-order-detail-page-v10013 table.spviet-order-table-v9992 tfoot th,
  body.spviet-mobile-order-detail-page-v10013 table.shop_table.order_details tfoot th,
  body.spviet-mobile-order-detail-page-v10013 table.spviet-order-table-v9992 tfoot td,
  body.spviet-mobile-order-detail-page-v10013 table.shop_table.order_details tfoot td{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    text-align:left!important;
    font-size:12px!important;
    line-height:1.35!important;
    font-weight:500!important;
    white-space:normal!important;
    overflow-wrap:anywhere!important;
    word-break:normal!important;
  }
  body.spviet-mobile-order-detail-page-v10010 table.spviet-order-table-v9992 tfoot td,
  body.spviet-mobile-order-detail-page-v10010 table.shop_table.order_details tfoot td,
  body.spviet-mobile-order-detail-page-v10013 table.spviet-order-table-v9992 tfoot td,
  body.spviet-mobile-order-detail-page-v10013 table.shop_table.order_details tfoot td{
    color:#8b0714!important;
    font-size:14px!important;
    font-weight:650!important;
  }
  body.spviet-mobile-order-detail-page-v10010 table.spviet-order-table-v9992 tfoot tr:last-child td,
  body.spviet-mobile-order-detail-page-v10010 table.shop_table.order_details tfoot tr:last-child td,
  body.spviet-mobile-order-detail-page-v10010 table.spviet-order-table-v9992 tfoot tr:last-child td .amount,
  body.spviet-mobile-order-detail-page-v10010 table.shop_table.order_details tfoot tr:last-child td .amount,
  body.spviet-mobile-order-detail-page-v10013 table.spviet-order-table-v9992 tfoot tr:last-child td,
  body.spviet-mobile-order-detail-page-v10013 table.shop_table.order_details tfoot tr:last-child td,
  body.spviet-mobile-order-detail-page-v10013 table.spviet-order-table-v9992 tfoot tr:last-child td .amount,
  body.spviet-mobile-order-detail-page-v10013 table.shop_table.order_details tfoot tr:last-child td .amount{
    font-size:14px!important;
    font-weight:700!important;
    white-space:normal!important;
    overflow-wrap:anywhere!important;
  }

  /* Timeline/status section compact. */
  body.spviet-mobile-order-detail-page-v10010 .spviet-order-status-v9994,
  body.spviet-mobile-order-detail-page-v10010 .spviet-order-timeline-v9994,
  body.spviet-mobile-order-detail-page-v10013 .spviet-order-status-v9994,
  body.spviet-mobile-order-detail-page-v10013 .spviet-order-timeline-v9994{
    width:100%!important;
    max-width:100%!important;
    margin-left:0!important;
    margin-right:0!important;
    padding:12px!important;
    overflow:hidden!important;
    font-size:12px!important;
  }
  body.spviet-mobile-order-detail-page-v10010 .spviet-order-status-v9994 *,
  body.spviet-mobile-order-detail-page-v10010 .spviet-order-timeline-v9994 *,
  body.spviet-mobile-order-detail-page-v10013 .spviet-order-status-v9994 *,
  body.spviet-mobile-order-detail-page-v10013 .spviet-order-timeline-v9994 *{
    font-size:12px!important;
    line-height:1.3!important;
    font-weight:500!important;
    overflow-wrap:anywhere!important;
  }
}
@media (max-width:390px){
  body.spviet-mobile-order-detail-page-v10010 .spviet-order-mobile-namebox-v10010,
  body.spviet-mobile-order-detail-page-v10010 .spviet-order-mobile-namebox-v1011,
  body.spviet-mobile-order-detail-page-v10013 .spviet-order-mobile-namebox-v10010,
  body.spviet-mobile-order-detail-page-v10013 .spviet-order-mobile-namebox-v1011{
    grid-template-columns:68px minmax(0,1fr)!important;
  }
  body.spviet-mobile-order-detail-page-v10010 .spviet-order-mobile-thumb-v10010,
  body.spviet-mobile-order-detail-page-v10013 .spviet-order-mobile-thumb-v10010{
    width:68px!important;height:68px!important;min-width:68px!important;
  }
}


/* =========================================================
 * SPVIET V10.0.14 - Mobile Order Detail Stable Native One Column Rollback Pro
 * Final safety override: remove previous 3-column/card grid collisions, fit every order detail block inside phone viewport.
 * ========================================================= */
@media (max-width:767px){
  html, body,
  body.woocommerce-order-received,
  body.woocommerce-view-order,
  body.spviet-mobile-order-detail-page-v10014{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    overflow-x:hidden!important;
    background:#fffaf4!important;
  }
  body.spviet-mobile-order-detail-page-v10014 *,
  body.spviet-mobile-order-detail-page-v10014 *:before,
  body.spviet-mobile-order-detail-page-v10014 *:after{
    box-sizing:border-box!important;
    max-width:100%!important;
  }

  /* Root shell: no 100vw/negative/desktop centered remnants. */
  body.spviet-mobile-order-detail-page-v10014 .site,
  body.spviet-mobile-order-detail-page-v10014 .site-content,
  body.spviet-mobile-order-detail-page-v10014 .site-main,
  body.spviet-mobile-order-detail-page-v10014 main,
  body.spviet-mobile-order-detail-page-v10014 article,
  body.spviet-mobile-order-detail-page-v10014 .spviet-page-shell,
  body.spviet-mobile-order-detail-page-v10014 .entry-content,
  body.spviet-mobile-order-detail-page-v10014 .entry-content > .woocommerce,
  body.spviet-mobile-order-detail-page-v10014 .woocommerce,
  body.spviet-mobile-order-detail-page-v10014 .woocommerce-order{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin-left:0!important;
    margin-right:0!important;
    padding-left:8px!important;
    padding-right:8px!important;
    left:auto!important;
    right:auto!important;
    transform:none!important;
    overflow-x:hidden!important;
  }
  body.spviet-mobile-order-detail-page-v10014 .woocommerce,
  body.spviet-mobile-order-detail-page-v10014 .woocommerce-order{padding-bottom:132px!important;}

  /* Typography reset for this page only. */
  body.spviet-mobile-order-detail-page-v10014,
  body.spviet-mobile-order-detail-page-v10014 .woocommerce,
  body.spviet-mobile-order-detail-page-v10014 table,
  body.spviet-mobile-order-detail-page-v10014 li,
  body.spviet-mobile-order-detail-page-v10014 td,
  body.spviet-mobile-order-detail-page-v10014 th,
  body.spviet-mobile-order-detail-page-v10014 p,
  body.spviet-mobile-order-detail-page-v10014 span,
  body.spviet-mobile-order-detail-page-v10014 a{
    font-size:12px!important;
    line-height:1.35!important;
    font-weight:400!important;
    letter-spacing:0!important;
    white-space:normal!important;
    overflow-wrap:anywhere!important;
    word-break:normal!important;
  }
  body.spviet-mobile-order-detail-page-v10014 strong,
  body.spviet-mobile-order-detail-page-v10014 b{font-weight:600!important;}

  body.spviet-mobile-order-detail-page-v10014 .woocommerce-order > h1,
  body.spviet-mobile-order-detail-page-v10014 .woocommerce-order > h2,
  body.spviet-mobile-order-detail-page-v10014 .spviet-order-title-v9992,
  body.spviet-mobile-order-detail-page-v10014 .woocommerce-order-details__title{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    margin:10px 0 12px!important;
    padding:0 0 10px!important;
    font-size:20px!important;
    line-height:1.18!important;
    font-weight:650!important;
    letter-spacing:-.01em!important;
    text-transform:none!important;
    color:#172033!important;
    border-bottom:1px solid rgba(139,7,20,.08)!important;
    overflow-wrap:break-word!important;
  }
  body.spviet-mobile-order-detail-page-v10014 .spviet-order-kicker-v9992{
    display:inline-flex!important;
    width:auto!important;
    max-width:100%!important;
    margin:8px 0 8px!important;
    padding:6px 12px!important;
    border-radius:999px!important;
    font-size:11px!important;
    line-height:1.15!important;
    font-weight:650!important;
  }

  body.spviet-mobile-order-detail-page-v10014 .spviet-order-details-v9992,
  body.spviet-mobile-order-detail-page-v10014 .woocommerce-order-details,
  body.spviet-mobile-order-detail-page-v10014 .spviet-mobile-order-detail-shell-v10010,
  body.spviet-mobile-order-detail-page-v10014 .woocommerce-customer-details,
  body.spviet-mobile-order-detail-page-v10014 .spviet-order-status-v9994,
  body.spviet-mobile-order-detail-page-v10014 .spviet-order-timeline-v9994{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin:12px 0!important;
    padding:12px!important;
    border-radius:18px!important;
    overflow:hidden!important;
  }

  body.spviet-mobile-order-detail-page-v10014 .spviet-order-code-v9992{
    display:block!important;
    width:100%!important;
    min-height:0!important;
    margin:10px 0 14px!important;
    padding:12px!important;
    border-radius:16px!important;
  }
  body.spviet-mobile-order-detail-page-v10014 .spviet-order-code-v9992 span{font-size:11px!important;font-weight:500!important;display:block!important;}
  body.spviet-mobile-order-detail-page-v10014 .spviet-order-code-v9992 strong{font-size:18px!important;font-weight:650!important;line-height:1.15!important;display:block!important;}

  /* Thank-you order overview: strict one column, no clipped email/payment. */
  body.spviet-mobile-order-detail-page-v10014 .woocommerce-order-overview,
  body.spviet-mobile-order-detail-page-v10014 ul.order_details,
  body.spviet-mobile-order-detail-page-v10014 ul.woocommerce-thankyou-order-details{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin:10px 0 16px!important;
    padding:0!important;
    list-style:none!important;
    overflow:hidden!important;
  }
  body.spviet-mobile-order-detail-page-v10014 .woocommerce-order-overview li,
  body.spviet-mobile-order-detail-page-v10014 ul.order_details li,
  body.spviet-mobile-order-detail-page-v10014 ul.woocommerce-thankyou-order-details li{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    float:none!important;
    margin:0 0 8px!important;
    padding:10px 12px!important;
    border-radius:14px!important;
    border-right:0!important;
    text-align:left!important;
    overflow:hidden!important;
  }
  body.spviet-mobile-order-detail-page-v10014 .woocommerce-order-overview li strong,
  body.spviet-mobile-order-detail-page-v10014 ul.order_details li strong,
  body.spviet-mobile-order-detail-page-v10014 ul.woocommerce-thankyou-order-details li strong{
    display:block!important;
    width:100%!important;
    margin-top:2px!important;
    font-size:14px!important;
    line-height:1.25!important;
    font-weight:600!important;
    color:#172033!important;
    text-align:left!important;
    white-space:normal!important;
    overflow-wrap:anywhere!important;
  }

  /* Kill all old table/header/grid behaviors and render item as plain readable block. */
  body.spviet-mobile-order-detail-page-v10014 table.shop_table.order_details,
  body.spviet-mobile-order-detail-page-v10014 table.spviet-order-table-v9992,
  body.spviet-mobile-order-detail-page-v10014 table.spviet-mobile-order-card-table-v10010{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    table-layout:auto!important;
    border-collapse:separate!important;
    overflow:hidden!important;
    background:transparent!important;
  }
  body.spviet-mobile-order-detail-page-v10014 table.shop_table.order_details thead,
  body.spviet-mobile-order-detail-page-v10014 table.spviet-order-table-v9992 thead,
  body.spviet-mobile-order-detail-page-v10014 table.spviet-mobile-order-card-table-v10010 thead,
  body.spviet-mobile-order-detail-page-v10014 table.shop_table.order_details .product-unit,
  body.spviet-mobile-order-detail-page-v10014 table.spviet-order-table-v9992 .product-unit,
  body.spviet-mobile-order-detail-page-v10014 table .spviet-order-unit-v9992,
  body.spviet-mobile-order-detail-page-v10014 table .spviet-mobile-hide-unit-v9995{
    display:none!important;
  }
  body.spviet-mobile-order-detail-page-v10014 table.shop_table.order_details tbody,
  body.spviet-mobile-order-detail-page-v10014 table.spviet-order-table-v9992 tbody,
  body.spviet-mobile-order-detail-page-v10014 table.spviet-mobile-order-card-table-v10010 tbody{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
  }
  body.spviet-mobile-order-detail-page-v10014 table.shop_table.order_details tbody tr.order_item,
  body.spviet-mobile-order-detail-page-v10014 table.shop_table.order_details tbody tr.woocommerce-table__line-item,
  body.spviet-mobile-order-detail-page-v10014 table.spviet-order-table-v9992 tbody tr.order_item,
  body.spviet-mobile-order-detail-page-v10014 table.spviet-order-table-v9992 tbody tr.woocommerce-table__line-item,
  body.spviet-mobile-order-detail-page-v10014 tr.spviet-mobile-order-card-row-v10010{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin:0 0 10px!important;
    padding:10px!important;
    border-radius:16px!important;
    overflow:hidden!important;
    background:#fff!important;
    border:1px solid rgba(15,23,42,.08)!important;
    box-shadow:0 8px 18px rgba(15,23,42,.05)!important;
  }
  body.spviet-mobile-order-detail-page-v10014 table.shop_table.order_details td,
  body.spviet-mobile-order-detail-page-v10014 table.spviet-order-table-v9992 td,
  body.spviet-mobile-order-detail-page-v10014 table.spviet-mobile-order-card-table-v10010 td{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    background:transparent!important;
    text-align:left!important;
    overflow:hidden!important;
  }
  body.spviet-mobile-order-detail-page-v10014 .spviet-order-mobile-namebox-v10010,
  body.spviet-mobile-order-detail-page-v10014 .spviet-order-mobile-namebox-v1011{
    display:grid!important;
    grid-template-columns:64px minmax(0,1fr)!important;
    gap:10px!important;
    align-items:center!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
  }
  body.spviet-mobile-order-detail-page-v10014 .spviet-order-mobile-thumb-v10010{
    width:64px!important;
    height:64px!important;
    min-width:64px!important;
    border-radius:13px!important;
    overflow:hidden!important;
  }
  body.spviet-mobile-order-detail-page-v10014 .spviet-order-mobile-thumb-v10010 img,
  body.spviet-mobile-order-detail-page-v10014 img.spviet-order-mobile-thumb-img-v10010{
    width:100%!important;height:100%!important;object-fit:cover!important;display:block!important;margin:0!important;
  }
  body.spviet-mobile-order-detail-page-v10014 .spviet-order-mobile-copy-v10010{display:block!important;min-width:0!important;width:100%!important;}
  body.spviet-mobile-order-detail-page-v10014 .spviet-order-mobile-title-v10010,
  body.spviet-mobile-order-detail-page-v10014 .spviet-order-mobile-title-v10010 a{
    display:block!important;
    font-size:14px!important;
    line-height:1.25!important;
    font-weight:600!important;
    color:#172033!important;
    text-decoration:none!important;
  }
  body.spviet-mobile-order-detail-page-v10014 .spviet-order-mobile-unitprice-v10010{
    display:block!important;
    width:100%!important;
    margin-top:4px!important;
    font-size:13px!important;
    line-height:1.25!important;
    font-weight:600!important;
    white-space:normal!important;
  }
  body.spviet-mobile-order-detail-page-v10014 .spviet-order-mobile-unitprice-v10010:before{
    content:attr(data-label);
    display:block!important;
    font-size:11px!important;
    font-weight:400!important;
    color:#6b5c60!important;
  }
  body.spviet-mobile-order-detail-page-v10014 td.product-qty,
  body.spviet-mobile-order-detail-page-v10014 td.product-total,
  body.spviet-mobile-order-detail-page-v10014 td.spviet-mobile-order-card-qty-v10010,
  body.spviet-mobile-order-detail-page-v10014 td.spviet-mobile-order-card-total-v10010{
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:8px!important;
    width:100%!important;
    max-width:100%!important;
    min-height:40px!important;
    margin-top:8px!important;
    padding:9px 11px!important;
    border-radius:13px!important;
    border:1px solid rgba(15,23,42,.08)!important;
    background:#fffaf2!important;
    font-size:14px!important;
    line-height:1.2!important;
    font-weight:600!important;
    color:#172033!important;
    overflow:hidden!important;
    text-align:left!important;
  }
  body.spviet-mobile-order-detail-page-v10014 td.product-total,
  body.spviet-mobile-order-detail-page-v10014 td.spviet-mobile-order-card-total-v10010{background:#fff!important;color:#a20b1d!important;}
  body.spviet-mobile-order-detail-page-v10014 .spviet-mobile-order-cell-label-v10010{
    display:inline!important;
    flex:0 0 auto!important;
    font-size:11px!important;
    line-height:1.2!important;
    font-weight:400!important;
    color:#6b5c60!important;
  }
  body.spviet-mobile-order-detail-page-v10014 td.product-qty > :not(.spviet-mobile-order-cell-label-v10010),
  body.spviet-mobile-order-detail-page-v10014 td.product-total > :not(.spviet-mobile-order-cell-label-v10010){max-width:65%!important;text-align:right!important;}

  /* Totals/payment rows: each row is one card, label then value, never two columns. */
  body.spviet-mobile-order-detail-page-v10014 table.shop_table.order_details tfoot,
  body.spviet-mobile-order-detail-page-v10014 table.spviet-order-table-v9992 tfoot,
  body.spviet-mobile-order-detail-page-v10014 table.spviet-mobile-order-card-table-v10010 tfoot{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin-top:10px!important;
    overflow:hidden!important;
  }
  body.spviet-mobile-order-detail-page-v10014 table.shop_table.order_details tfoot tr,
  body.spviet-mobile-order-detail-page-v10014 table.spviet-order-table-v9992 tfoot tr,
  body.spviet-mobile-order-detail-page-v10014 table.spviet-mobile-order-card-table-v10010 tfoot tr{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin:0 0 7px!important;
    padding:10px 12px!important;
    border-radius:13px!important;
    overflow:hidden!important;
    background:#fff!important;
    border:1px solid rgba(15,23,42,.08)!important;
  }
  body.spviet-mobile-order-detail-page-v10014 table.shop_table.order_details tfoot th,
  body.spviet-mobile-order-detail-page-v10014 table.shop_table.order_details tfoot td,
  body.spviet-mobile-order-detail-page-v10014 table.spviet-order-table-v9992 tfoot th,
  body.spviet-mobile-order-detail-page-v10014 table.spviet-order-table-v9992 tfoot td,
  body.spviet-mobile-order-detail-page-v10014 table.spviet-mobile-order-card-table-v10010 tfoot th,
  body.spviet-mobile-order-detail-page-v10014 table.spviet-mobile-order-card-table-v10010 tfoot td{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    text-align:left!important;
    white-space:normal!important;
    overflow-wrap:anywhere!important;
    word-break:normal!important;
    overflow:hidden!important;
  }
  body.spviet-mobile-order-detail-page-v10014 table tfoot th{font-size:12px!important;font-weight:500!important;color:#5f4b50!important;}
  body.spviet-mobile-order-detail-page-v10014 table tfoot td,
  body.spviet-mobile-order-detail-page-v10014 table tfoot td .amount{
    margin-top:3px!important;
    font-size:14px!important;
    line-height:1.25!important;
    font-weight:650!important;
    color:#a20b1d!important;
  }

  /* Status/timeline: compact and inside viewport. */
  body.spviet-mobile-order-detail-page-v10014 .spviet-order-status-v9994 h2,
  body.spviet-mobile-order-detail-page-v10014 .spviet-order-status-v9994 h3{font-size:16px!important;line-height:1.25!important;font-weight:650!important;margin:0 0 10px!important;}
  body.spviet-mobile-order-detail-page-v10014 .spviet-order-status-v9994 li,
  body.spviet-mobile-order-detail-page-v10014 .spviet-order-timeline-v9994 li{font-size:12px!important;line-height:1.3!important;}
}

/* =========================================================
 * SPVIET V10.0.15 - Mobile/Tablet Order Detail Hard Reset
 * Scope: ONLY WooCommerce order received/view-order on phone + tablet.
 * Goal: stop right overflow, stop compressed cards, keep PC untouched.
 * ========================================================= */
@media (max-width:1024px){
  body.woocommerce-order-received,
  body.woocommerce-view-order{
    overflow-x:hidden!important;
    max-width:100%!important;
  }
  body.woocommerce-order-received *,
  body.woocommerce-view-order *{
    box-sizing:border-box!important;
  }
  body.woocommerce-order-received .site,
  body.woocommerce-order-received .site-content,
  body.woocommerce-order-received .content-area,
  body.woocommerce-order-received main,
  body.woocommerce-order-received .entry-content,
  body.woocommerce-order-received .woocommerce,
  body.woocommerce-order-received .woocommerce-order,
  body.woocommerce-view-order .site,
  body.woocommerce-view-order .site-content,
  body.woocommerce-view-order .content-area,
  body.woocommerce-view-order main,
  body.woocommerce-view-order .entry-content,
  body.woocommerce-view-order .woocommerce,
  body.woocommerce-view-order .woocommerce-MyAccount-content{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin-left:0!important;
    margin-right:0!important;
    padding-left:6px!important;
    padding-right:6px!important;
    overflow-x:hidden!important;
    transform:none!important;
  }
  body.woocommerce-order-received .woocommerce-order,
  body.woocommerce-view-order .woocommerce-MyAccount-content{
    padding-bottom:132px!important;
  }

  /* Typography reset for mobile/tablet order pages only */
  body.woocommerce-order-received .woocommerce,
  body.woocommerce-view-order .woocommerce,
  body.woocommerce-order-received .woocommerce-order,
  body.woocommerce-view-order .woocommerce-MyAccount-content,
  body.woocommerce-order-received .woocommerce-order p,
  body.woocommerce-view-order .woocommerce-MyAccount-content p,
  body.woocommerce-order-received .woocommerce-order li,
  body.woocommerce-view-order .woocommerce-MyAccount-content li,
  body.woocommerce-order-received table.shop_table.order_details,
  body.woocommerce-view-order table.shop_table.order_details{
    font-size:12px!important;
    line-height:1.45!important;
    font-weight:400!important;
    letter-spacing:0!important;
  }
  body.woocommerce-order-received h1,
  body.woocommerce-view-order h1,
  body.woocommerce-order-received .woocommerce-order-details__title,
  body.woocommerce-view-order .woocommerce-order-details__title,
  body.woocommerce-order-received .spviet-order-title-v9992,
  body.woocommerce-view-order .spviet-order-title-v9992{
    font-size:22px!important;
    line-height:1.18!important;
    font-weight:700!important;
    letter-spacing:-.01em!important;
    margin:0 0 14px!important;
    max-width:100%!important;
    overflow-wrap:anywhere!important;
  }
  body.woocommerce-order-received .spviet-order-kicker-v9992,
  body.woocommerce-view-order .spviet-order-kicker-v9992{
    font-size:11px!important;
    line-height:1.2!important;
    font-weight:700!important;
    padding:8px 12px!important;
    max-width:100%!important;
  }

  /* Thank-you overview: force true one-column, never 2-column on phone/tablet */
  body.woocommerce-order-received ul.order_details,
  body.woocommerce-order-received ul.woocommerce-thankyou-order-details,
  body.woocommerce-order-received ul.order_details.spviet-mobile-order-overview-v10010,
  body.woocommerce-view-order ul.order_details,
  body.woocommerce-view-order ul.woocommerce-thankyou-order-details,
  body.woocommerce-view-order ul.order_details.spviet-mobile-order-overview-v10010{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    margin:12px 0 18px!important;
    padding:0!important;
    overflow:hidden!important;
    border-radius:18px!important;
  }
  body.woocommerce-order-received ul.order_details li,
  body.woocommerce-order-received ul.woocommerce-thankyou-order-details li,
  body.woocommerce-view-order ul.order_details li,
  body.woocommerce-view-order ul.woocommerce-thankyou-order-details li{
    display:block!important;
    float:none!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin:0 0 8px!important;
    padding:12px 14px!important;
    border:1px solid rgba(160,8,24,.10)!important;
    border-radius:14px!important;
    background:#fff!important;
    overflow:hidden!important;
    overflow-wrap:anywhere!important;
    word-break:break-word!important;
    white-space:normal!important;
  }
  body.woocommerce-order-received ul.order_details li strong,
  body.woocommerce-order-received ul.woocommerce-thankyou-order-details li strong,
  body.woocommerce-view-order ul.order_details li strong,
  body.woocommerce-view-order ul.woocommerce-thankyou-order-details li strong{
    display:block!important;
    font-size:14px!important;
    line-height:1.35!important;
    font-weight:650!important;
    color:#142033!important;
    max-width:100%!important;
    overflow-wrap:anywhere!important;
    word-break:break-word!important;
    white-space:normal!important;
  }

  /* Order detail section shell: no fixed/narrow centered desktop remnants */
  body.woocommerce-order-received section.woocommerce-order-details,
  body.woocommerce-view-order section.woocommerce-order-details,
  body.woocommerce-order-received .spviet-order-details-v9992,
  body.woocommerce-view-order .spviet-order-details-v9992,
  body.spviet-mobile-order-detail-page-v10010 .spviet-mobile-order-detail-shell-v10010,
  body.spviet-mobile-order-detail-page-v10013 .spviet-mobile-order-detail-shell-v10010,
  body.spviet-mobile-order-detail-page-v10014 .spviet-mobile-order-detail-shell-v10010{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin:12px 0!important;
    padding:14px 10px 18px!important;
    border-radius:18px!important;
    overflow:hidden!important;
  }
  body.woocommerce-order-received .spviet-order-details-head-v9992,
  body.woocommerce-view-order .spviet-order-details-head-v9992{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    margin:0 0 14px!important;
    padding:0!important;
  }
  body.woocommerce-order-received .spviet-order-code-v9992,
  body.woocommerce-view-order .spviet-order-code-v9992{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin:12px 0 0!important;
    padding:14px!important;
    border-radius:16px!important;
    overflow:hidden!important;
  }
  body.woocommerce-order-received .spviet-order-code-v9992 strong,
  body.woocommerce-view-order .spviet-order-code-v9992 strong{
    display:block!important;
    font-size:22px!important;
    line-height:1.1!important;
    font-weight:700!important;
  }

  /* Table -> native vertical cards. Hide all desktop columns/headers that caused compression. */
  body.woocommerce-order-received table.shop_table.order_details,
  body.woocommerce-order-received table.spviet-order-table-v9992,
  body.woocommerce-view-order table.shop_table.order_details,
  body.woocommerce-view-order table.spviet-order-table-v9992,
  body.spviet-mobile-order-detail-page-v10010 table.spviet-mobile-order-card-table-v10010,
  body.spviet-mobile-order-detail-page-v10010 table.spviet-mobile-order-3col-v9995,
  body.spviet-mobile-order-detail-page-v10013 table.spviet-mobile-order-card-table-v10010,
  body.spviet-mobile-order-detail-page-v10014 table.spviet-mobile-order-card-table-v10010{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    background:transparent!important;
    overflow:hidden!important;
    table-layout:auto!important;
  }
  body.woocommerce-order-received table.shop_table.order_details thead,
  body.woocommerce-view-order table.shop_table.order_details thead,
  body.spviet-mobile-order-detail-page-v10010 table.spviet-mobile-order-card-table-v10010 thead{
    display:none!important;
  }
  body.woocommerce-order-received table.shop_table.order_details tbody,
  body.woocommerce-order-received table.shop_table.order_details tfoot,
  body.woocommerce-view-order table.shop_table.order_details tbody,
  body.woocommerce-view-order table.shop_table.order_details tfoot,
  body.spviet-mobile-order-detail-page-v10010 table.spviet-mobile-order-card-table-v10010 tbody,
  body.spviet-mobile-order-detail-page-v10010 table.spviet-mobile-order-card-table-v10010 tfoot{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
  }
  body.woocommerce-order-received table.shop_table.order_details tbody tr.order_item,
  body.woocommerce-order-received table.shop_table.order_details tbody tr.woocommerce-table__line-item,
  body.woocommerce-view-order table.shop_table.order_details tbody tr.order_item,
  body.woocommerce-view-order table.shop_table.order_details tbody tr.woocommerce-table__line-item,
  body.spviet-mobile-order-detail-page-v10010 tr.spviet-mobile-order-card-row-v10010,
  body.spviet-mobile-order-detail-page-v10010 tr.spviet-mobile-order-card-row-v1012,
  body.spviet-mobile-order-detail-page-v10010 tr.spviet-mobile-order-card-row-v10013{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin:0 0 12px!important;
    padding:12px!important;
    border:1px solid rgba(15,23,42,.10)!important;
    border-radius:16px!important;
    background:#fff!important;
    box-shadow:0 8px 18px rgba(15,23,42,.05)!important;
    overflow:hidden!important;
  }
  body.woocommerce-order-received table.shop_table.order_details tbody tr td,
  body.woocommerce-view-order table.shop_table.order_details tbody tr td,
  body.spviet-mobile-order-detail-page-v10010 table.spviet-mobile-order-card-table-v10010 tbody tr td{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    background:transparent!important;
    overflow:hidden!important;
    white-space:normal!important;
    overflow-wrap:anywhere!important;
    word-break:break-word!important;
    text-align:left!important;
  }
  body.woocommerce-order-received table.shop_table.order_details td.product-unit,
  body.woocommerce-order-received table.shop_table.order_details th.product-unit,
  body.woocommerce-view-order table.shop_table.order_details td.product-unit,
  body.woocommerce-view-order table.shop_table.order_details th.product-unit,
  body.spviet-mobile-order-detail-page-v10010 .spviet-mobile-hide-unit-v9995{
    display:none!important;
  }

  /* Product name block: fixed image + flexible text; never narrow vertical text */
  body.woocommerce-order-received .spviet-order-mobile-namebox-v10010,
  body.woocommerce-order-received .spviet-order-mobile-namebox-v1011,
  body.woocommerce-view-order .spviet-order-mobile-namebox-v10010,
  body.woocommerce-view-order .spviet-order-mobile-namebox-v1011,
  body.spviet-mobile-order-detail-page-v10010 .spviet-order-mobile-namebox-v10010,
  body.spviet-mobile-order-detail-page-v10010 .spviet-order-mobile-namebox-v1011{
    display:flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
    gap:10px!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin:0 0 10px!important;
    padding:0!important;
    grid-template-columns:none!important;
    overflow:hidden!important;
  }
  body.woocommerce-order-received .spviet-order-mobile-thumb-v10010,
  body.woocommerce-view-order .spviet-order-mobile-thumb-v10010,
  body.spviet-mobile-order-detail-page-v10010 .spviet-order-mobile-thumb-v10010{
    display:block!important;
    flex:0 0 64px!important;
    width:64px!important;
    height:64px!important;
    min-width:64px!important;
    max-width:64px!important;
    border-radius:14px!important;
    overflow:hidden!important;
    background:#fff8e8!important;
  }
  body.woocommerce-order-received .spviet-order-mobile-thumb-v10010 img,
  body.woocommerce-view-order .spviet-order-mobile-thumb-v10010 img,
  body.spviet-mobile-order-detail-page-v10010 .spviet-order-mobile-thumb-v10010 img{
    display:block!important;
    width:100%!important;
    height:100%!important;
    object-fit:cover!important;
    max-width:100%!important;
  }
  body.woocommerce-order-received .spviet-order-mobile-copy-v10010,
  body.woocommerce-view-order .spviet-order-mobile-copy-v10010,
  body.spviet-mobile-order-detail-page-v10010 .spviet-order-mobile-copy-v10010{
    display:block!important;
    flex:1 1 auto!important;
    min-width:0!important;
    max-width:calc(100% - 74px)!important;
    width:auto!important;
    overflow:hidden!important;
    text-align:left!important;
  }
  body.woocommerce-order-received .spviet-order-mobile-title-v10010,
  body.woocommerce-order-received .spviet-order-mobile-title-v10010 a,
  body.woocommerce-view-order .spviet-order-mobile-title-v10010,
  body.woocommerce-view-order .spviet-order-mobile-title-v10010 a,
  body.spviet-mobile-order-detail-page-v10010 .spviet-order-mobile-title-v10010,
  body.spviet-mobile-order-detail-page-v10010 .spviet-order-mobile-title-v10010 a{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    font-size:14px!important;
    line-height:1.3!important;
    font-weight:650!important;
    color:#142033!important;
    white-space:normal!important;
    overflow-wrap:anywhere!important;
    word-break:break-word!important;
    text-align:left!important;
  }
  body.woocommerce-order-received .spviet-order-mobile-unitprice-v10010,
  body.woocommerce-view-order .spviet-order-mobile-unitprice-v10010,
  body.spviet-mobile-order-detail-page-v10010 .spviet-order-mobile-unitprice-v10010{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    margin-top:5px!important;
    font-size:12px!important;
    line-height:1.35!important;
    font-weight:400!important;
    color:#6b5d61!important;
    white-space:normal!important;
    text-align:left!important;
  }
  body.woocommerce-order-received .spviet-order-mobile-unitprice-v10010:before,
  body.woocommerce-view-order .spviet-order-mobile-unitprice-v10010:before,
  body.spviet-mobile-order-detail-page-v10010 .spviet-order-mobile-unitprice-v10010:before{
    content:attr(data-label)!important;
    display:block!important;
    margin-bottom:2px!important;
    font-size:12px!important;
    font-weight:500!important;
    color:#76676a!important;
  }
  body.woocommerce-order-received .spviet-order-mobile-unitprice-v10010 .amount,
  body.woocommerce-view-order .spviet-order-mobile-unitprice-v10010 .amount,
  body.spviet-mobile-order-detail-page-v10010 .spviet-order-mobile-unitprice-v10010 .amount{
    display:inline-block!important;
    font-size:14px!important;
    font-weight:700!important;
    color:#142033!important;
    white-space:nowrap!important;
  }
  body.woocommerce-order-received .spviet-order-desktop-name-v1011,
  body.woocommerce-view-order .spviet-order-desktop-name-v1011{
    display:none!important;
  }

  /* Quantity and line total are full-width rows, not narrow side boxes. */
  body.woocommerce-order-received td.product-qty.spviet-mobile-order-card-qty-v10010,
  body.woocommerce-order-received td.product-total.spviet-mobile-order-card-total-v10010,
  body.woocommerce-view-order td.product-qty.spviet-mobile-order-card-qty-v10010,
  body.woocommerce-view-order td.product-total.spviet-mobile-order-card-total-v10010,
  body.spviet-mobile-order-detail-page-v10010 td.product-qty.spviet-mobile-order-card-qty-v10010,
  body.spviet-mobile-order-detail-page-v10010 td.product-total.spviet-mobile-order-card-total-v10010{
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:10px!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    min-height:0!important;
    margin:8px 0 0!important;
    padding:10px 12px!important;
    border:1px solid rgba(15,23,42,.09)!important;
    border-radius:13px!important;
    background:#fff!important;
    text-align:left!important;
    font-size:14px!important;
    line-height:1.25!important;
    font-weight:650!important;
    color:#142033!important;
    white-space:normal!important;
    overflow:hidden!important;
  }
  body.woocommerce-order-received td.product-qty.spviet-mobile-order-card-qty-v10010{
    background:#fffaf0!important;
  }
  body.woocommerce-order-received td.product-total.spviet-mobile-order-card-total-v10010,
  body.woocommerce-view-order td.product-total.spviet-mobile-order-card-total-v10010,
  body.spviet-mobile-order-detail-page-v10010 td.product-total.spviet-mobile-order-card-total-v10010{
    color:#a20b1d!important;
  }
  body.woocommerce-order-received .spviet-mobile-order-cell-label-v10010,
  body.woocommerce-view-order .spviet-mobile-order-cell-label-v10010,
  body.spviet-mobile-order-detail-page-v10010 .spviet-mobile-order-cell-label-v10010{
    display:inline-block!important;
    flex:0 1 auto!important;
    font-size:12px!important;
    line-height:1.25!important;
    font-weight:500!important;
    color:#76676a!important;
    text-align:left!important;
    white-space:normal!important;
  }
  body.woocommerce-order-received td.product-total .amount,
  body.woocommerce-view-order td.product-total .amount,
  body.spviet-mobile-order-detail-page-v10010 td.product-total .amount{
    display:inline-block!important;
    font-size:14px!important;
    font-weight:700!important;
    white-space:nowrap!important;
    max-width:100%!important;
  }

  /* Totals/payment rows: one column, value under label; prevents right clipping. */
  body.woocommerce-order-received table.shop_table.order_details tfoot tr,
  body.woocommerce-view-order table.shop_table.order_details tfoot tr,
  body.spviet-mobile-order-detail-page-v10010 table.spviet-mobile-order-card-table-v10010 tfoot tr,
  body.spviet-mobile-order-detail-page-v10010 .spviet-mobile-order-total-foot-v10010 tr{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin:0 0 8px!important;
    padding:11px 12px!important;
    border:1px solid rgba(15,23,42,.08)!important;
    border-radius:13px!important;
    background:#fff!important;
    overflow:hidden!important;
  }
  body.woocommerce-order-received table.shop_table.order_details tfoot th,
  body.woocommerce-order-received table.shop_table.order_details tfoot td,
  body.woocommerce-view-order table.shop_table.order_details tfoot th,
  body.woocommerce-view-order table.shop_table.order_details tfoot td,
  body.spviet-mobile-order-detail-page-v10010 table.spviet-mobile-order-card-table-v10010 tfoot th,
  body.spviet-mobile-order-detail-page-v10010 table.spviet-mobile-order-card-table-v10010 tfoot td{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    text-align:left!important;
    white-space:normal!important;
    overflow-wrap:anywhere!important;
    word-break:break-word!important;
  }
  body.woocommerce-order-received table.shop_table.order_details tfoot th,
  body.woocommerce-view-order table.shop_table.order_details tfoot th{
    font-size:12px!important;
    line-height:1.3!important;
    font-weight:500!important;
    color:#76676a!important;
    margin-bottom:3px!important;
  }
  body.woocommerce-order-received table.shop_table.order_details tfoot td,
  body.woocommerce-view-order table.shop_table.order_details tfoot td,
  body.woocommerce-order-received table.shop_table.order_details tfoot td .amount,
  body.woocommerce-view-order table.shop_table.order_details tfoot td .amount{
    font-size:14px!important;
    line-height:1.35!important;
    font-weight:650!important;
    color:#a20b1d!important;
    max-width:100%!important;
    white-space:normal!important;
    overflow-wrap:anywhere!important;
    word-break:break-word!important;
  }

  /* Status timeline readable but not oversized. */
  body.woocommerce-order-received .spviet-order-status-timeline-v9994,
  body.woocommerce-view-order .spviet-order-status-timeline-v9994{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin:14px 0!important;
    padding:14px 12px!important;
    border-radius:16px!important;
    overflow:hidden!important;
  }
  body.woocommerce-order-received .spviet-order-status-timeline-v9994 *,
  body.woocommerce-view-order .spviet-order-status-timeline-v9994 *{
    font-size:12px!important;
    line-height:1.35!important;
    max-width:100%!important;
    white-space:normal!important;
    overflow-wrap:anywhere!important;
    word-break:break-word!important;
  }
}


/* =========================================================
 * SPVIET V10.0.19 - MOBILE/TABLET ORDER DETAIL NATIVE 4-COLUMN RESET
 * Scope: max-width 1024px only. PC untouched.
 * Uses original Woo template cells, does NOT rebuild or hide product information with JS.
 * Row layout: [Ảnh SP] [Tên SP + đơn giá] [Số lượng] [Thành tiền]
 * ========================================================= */
@media (max-width:1024px){
  html,body{overflow-x:hidden!important;}
  body.woocommerce-order-received,
  body.woocommerce-view-order{overflow-x:hidden!important;}
  body.woocommerce-order-received .spviet-page-shell,
  body.woocommerce-view-order .spviet-page-shell,
  body.woocommerce-order-received main,
  body.woocommerce-view-order main,
  body.woocommerce-order-received .entry-content,
  body.woocommerce-view-order .entry-content,
  body.woocommerce-order-received .woocommerce,
  body.woocommerce-view-order .woocommerce,
  body.woocommerce-order-received .woocommerce-order,
  body.woocommerce-view-order .woocommerce-order{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin-left:0!important;
    margin-right:0!important;
    padding-left:6px!important;
    padding-right:6px!important;
    box-sizing:border-box!important;
    overflow-x:hidden!important;
  }
  body.woocommerce-order-received .woocommerce-order-details,
  body.woocommerce-view-order .woocommerce-order-details,
  body.woocommerce-order-received section.woocommerce-order-details,
  body.woocommerce-view-order section.woocommerce-order-details,
  body.woocommerce-order-received .spviet-order-details-v9992,
  body.woocommerce-view-order .spviet-order-details-v9992{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin:12px 0 18px!important;
    padding:12px 8px 18px!important;
    box-sizing:border-box!important;
    overflow:hidden!important;
    border-radius:22px!important;
  }

  /* Keep mobile typography readable but not huge. */
  body.woocommerce-order-received .woocommerce-order-details__title,
  body.woocommerce-view-order .woocommerce-order-details__title,
  body.woocommerce-order-received .spviet-order-title-v9992,
  body.woocommerce-view-order .spviet-order-title-v9992{
    font-size:24px!important;
    line-height:1.12!important;
    font-weight:700!important;
    letter-spacing:-.02em!important;
    margin:0 0 12px!important;
    padding:0 0 10px!important;
    white-space:normal!important;
    overflow-wrap:break-word!important;
  }
  body.woocommerce-order-received .spviet-order-kicker-v9992,
  body.woocommerce-view-order .spviet-order-kicker-v9992{font-size:12px!important;line-height:1.15!important;padding:7px 13px!important;margin-bottom:8px!important;}
  body.woocommerce-order-received .spviet-order-code-v9992,
  body.woocommerce-view-order .spviet-order-code-v9992{width:100%!important;min-height:74px!important;padding:14px 16px!important;border-radius:18px!important;margin:0!important;box-sizing:border-box!important;}
  body.woocommerce-order-received .spviet-order-code-v9992 span,
  body.woocommerce-view-order .spviet-order-code-v9992 span{font-size:11px!important;font-weight:500!important;}
  body.woocommerce-order-received .spviet-order-code-v9992 strong,
  body.woocommerce-view-order .spviet-order-code-v9992 strong{font-size:22px!important;line-height:1.1!important;font-weight:700!important;}

  /* Summary/thank-you cards: phone/tablet must never stay as desktop 2 columns. */
  body.woocommerce-order-received ul.order_details,
  body.woocommerce-order-received ul.woocommerce-thankyou-order-details,
  body.woocommerce-view-order ul.order_details,
  body.woocommerce-view-order ul.woocommerce-thankyou-order-details,
  body.woocommerce-order-received .spviet-mobile-order-overview-v10010,
  body.woocommerce-view-order .spviet-mobile-order-overview-v10010{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:8px!important;
    width:100%!important;
    max-width:100%!important;
    margin:12px 0 18px!important;
    padding:0!important;
    overflow:hidden!important;
  }
  body.woocommerce-order-received ul.order_details li,
  body.woocommerce-order-received ul.woocommerce-thankyou-order-details li,
  body.woocommerce-view-order ul.order_details li,
  body.woocommerce-view-order ul.woocommerce-thankyou-order-details li{
    width:100%!important;
    max-width:100%!important;
    float:none!important;
    margin:0!important;
    padding:12px!important;
    box-sizing:border-box!important;
    overflow:hidden!important;
    white-space:normal!important;
    word-break:normal!important;
    overflow-wrap:anywhere!important;
    font-size:12px!important;
    line-height:1.35!important;
    font-weight:400!important;
  }
  body.woocommerce-order-received ul.order_details li strong,
  body.woocommerce-view-order ul.order_details li strong{display:block!important;max-width:100%!important;font-size:13px!important;line-height:1.3!important;font-weight:600!important;white-space:normal!important;overflow-wrap:anywhere!important;}

  /* Order table shell. */
  body.woocommerce-order-received table.shop_table.order_details,
  body.woocommerce-view-order table.shop_table.order_details,
  body.woocommerce-order-received table.spviet-order-table-v9992,
  body.woocommerce-view-order table.spviet-order-table-v9992,
  body.woocommerce-order-received table.spviet-mobile-order-card-table-v10010,
  body.woocommerce-view-order table.spviet-mobile-order-card-table-v10010{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin:12px 0 0!important;
    padding:0!important;
    border:0!important;
    table-layout:auto!important;
    border-collapse:separate!important;
    border-spacing:0!important;
    background:transparent!important;
    overflow:hidden!important;
    box-sizing:border-box!important;
  }
  body.woocommerce-order-received table.shop_table.order_details thead,
  body.woocommerce-view-order table.shop_table.order_details thead,
  body.woocommerce-order-received table.spviet-order-table-v9992 thead,
  body.woocommerce-view-order table.spviet-order-table-v9992 thead,
  body.woocommerce-order-received table.shop_table.order_details colgroup,
  body.woocommerce-view-order table.shop_table.order_details colgroup{display:none!important;}
  body.woocommerce-order-received table.shop_table.order_details tbody,
  body.woocommerce-view-order table.shop_table.order_details tbody,
  body.woocommerce-order-received table.spviet-order-table-v9992 tbody,
  body.woocommerce-view-order table.spviet-order-table-v9992 tbody{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:8px!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    overflow:hidden!important;
  }

  /* TRUE native four-column row: product-name spans image+name columns, qty and total stay on same line. */
  body.woocommerce-order-received table.shop_table.order_details tbody tr.order_item,
  body.woocommerce-view-order table.shop_table.order_details tbody tr.order_item,
  body.woocommerce-order-received table.shop_table.order_details tbody tr.woocommerce-table__line-item,
  body.woocommerce-view-order table.shop_table.order_details tbody tr.woocommerce-table__line-item,
  body.woocommerce-order-received table.spviet-order-table-v9992 tbody tr.order_item,
  body.woocommerce-view-order table.spviet-order-table-v9992 tbody tr.order_item,
  body.woocommerce-order-received tr.spviet-mobile-order-card-row-v10010,
  body.woocommerce-view-order tr.spviet-mobile-order-card-row-v10010{
    display:grid!important;
    grid-template-columns:64px minmax(0,1fr) 46px 66px!important;
    grid-template-areas:'name name qty total'!important;
    column-gap:7px!important;
    row-gap:0!important;
    align-items:center!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    min-height:76px!important;
    margin:0!important;
    padding:8px!important;
    box-sizing:border-box!important;
    overflow:hidden!important;
    border:1px solid rgba(15,23,42,.08)!important;
    border-radius:16px!important;
    background:#fff!important;
    box-shadow:0 6px 16px rgba(15,23,42,.045)!important;
  }
  body.woocommerce-order-received table.shop_table.order_details tbody tr.product-purchase-note,
  body.woocommerce-view-order table.shop_table.order_details tbody tr.product-purchase-note{display:none!important;}

  body.woocommerce-order-received table.shop_table.order_details tbody tr.order_item > td,
  body.woocommerce-view-order table.shop_table.order_details tbody tr.order_item > td,
  body.woocommerce-order-received table.shop_table.order_details tbody tr.woocommerce-table__line-item > td,
  body.woocommerce-view-order table.shop_table.order_details tbody tr.woocommerce-table__line-item > td{
    display:block!important;
    width:auto!important;
    max-width:100%!important;
    min-width:0!important;
    height:auto!important;
    margin:0!important;
    padding:0!important;
    float:none!important;
    clear:none!important;
    border:0!important;
    background:transparent!important;
    box-sizing:border-box!important;
    overflow:hidden!important;
    white-space:normal!important;
    word-break:normal!important;
    overflow-wrap:anywhere!important;
    text-align:left!important;
  }
  body.woocommerce-order-received table.shop_table.order_details td::before,
  body.woocommerce-view-order table.shop_table.order_details td::before{display:none!important;content:none!important;}
  body.woocommerce-order-received table.shop_table.order_details td.product-unit,
  body.woocommerce-view-order table.shop_table.order_details td.product-unit,
  body.woocommerce-order-received table.shop_table.order_details th.product-unit,
  body.woocommerce-view-order table.shop_table.order_details th.product-unit,
  body.woocommerce-order-received .spviet-order-unit-v9992,
  body.woocommerce-view-order .spviet-order-unit-v9992,
  body.woocommerce-order-received .spviet-mobile-hide-unit-v9995,
  body.woocommerce-view-order .spviet-mobile-hide-unit-v9995{display:none!important;}

  body.woocommerce-order-received td.product-name,
  body.woocommerce-view-order td.product-name,
  body.woocommerce-order-received td.spviet-mobile-order-card-name-v10010,
  body.woocommerce-view-order td.spviet-mobile-order-card-name-v10010{grid-area:name!important;}
  body.woocommerce-order-received td.product-qty,
  body.woocommerce-view-order td.product-qty,
  body.woocommerce-order-received td.spviet-mobile-order-card-qty-v10010,
  body.woocommerce-view-order td.spviet-mobile-order-card-qty-v10010{
    grid-area:qty!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    height:54px!important;
    min-height:54px!important;
    padding:3px!important;
    border-radius:11px!important;
    background:#fffaf0!important;
    border:1px solid rgba(217,141,38,.22)!important;
    text-align:center!important;
    font-size:14px!important;
    line-height:1.05!important;
    font-weight:600!important;
    color:#172033!important;
    white-space:nowrap!important;
    overflow:hidden!important;
  }
  body.woocommerce-order-received td.product-total,
  body.woocommerce-view-order td.product-total,
  body.woocommerce-order-received td.spviet-mobile-order-card-total-v10010,
  body.woocommerce-view-order td.spviet-mobile-order-card-total-v10010{
    grid-area:total!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    height:54px!important;
    min-height:54px!important;
    padding:3px!important;
    border-radius:11px!important;
    background:#fff!important;
    border:1px solid rgba(15,23,42,.08)!important;
    text-align:center!important;
    font-size:12px!important;
    line-height:1.08!important;
    font-weight:600!important;
    color:#a20b1d!important;
    white-space:nowrap!important;
    overflow:hidden!important;
  }
  body.woocommerce-order-received .spviet-mobile-order-cell-label-v10010,
  body.woocommerce-view-order .spviet-mobile-order-cell-label-v10010{
    display:block!important;
    width:100%!important;
    margin:0 0 2px!important;
    color:#77676a!important;
    font-size:8.5px!important;
    line-height:1!important;
    font-weight:400!important;
    text-align:center!important;
    white-space:nowrap!important;
  }
  body.woocommerce-order-received td.product-total .amount,
  body.woocommerce-view-order td.product-total .amount{font-size:11.5px!important;line-height:1.08!important;font-weight:700!important;color:#a20b1d!important;white-space:nowrap!important;}

  body.woocommerce-order-received .spviet-order-mobile-namebox-v10010,
  body.woocommerce-view-order .spviet-order-mobile-namebox-v10010,
  body.woocommerce-order-received .spviet-order-mobile-namebox-v1011,
  body.woocommerce-view-order .spviet-order-mobile-namebox-v1011{
    display:grid!important;
    grid-template-columns:64px minmax(0,1fr)!important;
    gap:7px!important;
    align-items:center!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin:0!important;
    overflow:hidden!important;
  }
  body.woocommerce-order-received .spviet-order-mobile-thumb-v10010,
  body.woocommerce-view-order .spviet-order-mobile-thumb-v10010{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:58px!important;
    height:58px!important;
    min-width:58px!important;
    max-width:58px!important;
    border-radius:12px!important;
    background:#fff7e8!important;
    border:1px solid rgba(217,141,38,.22)!important;
    overflow:hidden!important;
    box-shadow:none!important;
  }
  body.woocommerce-order-received .spviet-order-mobile-thumb-v10010 img,
  body.woocommerce-view-order .spviet-order-mobile-thumb-v10010 img{
    display:block!important;
    width:58px!important;
    height:58px!important;
    max-width:58px!important;
    max-height:58px!important;
    object-fit:cover!important;
    border-radius:11px!important;
  }
  body.woocommerce-order-received .spviet-order-mobile-thumb-fallback-v10010,
  body.woocommerce-view-order .spviet-order-mobile-thumb-fallback-v10010{font-size:20px!important;line-height:1!important;}
  body.woocommerce-order-received .spviet-order-mobile-copy-v10010,
  body.woocommerce-view-order .spviet-order-mobile-copy-v10010{
    display:block!important;
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    overflow:hidden!important;
  }
  body.woocommerce-order-received .spviet-order-mobile-title-v10010,
  body.woocommerce-view-order .spviet-order-mobile-title-v10010,
  body.woocommerce-order-received .spviet-order-mobile-title-v10010 a,
  body.woocommerce-view-order .spviet-order-mobile-title-v10010 a{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin:0 0 3px!important;
    color:#172033!important;
    font-size:12px!important;
    line-height:1.18!important;
    font-weight:500!important;
    text-align:left!important;
    white-space:normal!important;
    word-break:normal!important;
    overflow-wrap:anywhere!important;
    max-height:42px!important;
    overflow:hidden!important;
  }
  body.woocommerce-order-received .spviet-order-mobile-unitprice-v10010,
  body.woocommerce-view-order .spviet-order-mobile-unitprice-v10010{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    margin:0!important;
    color:#77676a!important;
    font-size:10px!important;
    line-height:1.1!important;
    font-weight:400!important;
    white-space:normal!important;
    overflow:hidden!important;
  }
  body.woocommerce-order-received .spviet-order-mobile-unitprice-v10010:before,
  body.woocommerce-view-order .spviet-order-mobile-unitprice-v10010:before{content:attr(data-label)!important;display:block!important;margin:0 0 1px!important;color:#77676a!important;font-size:9.5px!important;font-weight:400!important;line-height:1.05!important;}
  body.woocommerce-order-received .spviet-order-mobile-unitprice-v10010 .amount,
  body.woocommerce-view-order .spviet-order-mobile-unitprice-v10010 .amount{font-size:11px!important;font-weight:600!important;color:#172033!important;white-space:nowrap!important;}
  body.woocommerce-order-received .spviet-order-desktop-name-v1011,
  body.woocommerce-view-order .spviet-order-desktop-name-v1011,
  body.woocommerce-order-received .spviet-order-mobile-name-plain-v10010,
  body.woocommerce-view-order .spviet-order-mobile-name-plain-v10010{display:none!important;}

  /* Totals/payment rows: do not cut right side. */
  body.woocommerce-order-received table.shop_table.order_details tfoot,
  body.woocommerce-view-order table.shop_table.order_details tfoot{display:grid!important;grid-template-columns:1fr!important;gap:6px!important;width:100%!important;max-width:100%!important;margin-top:10px!important;overflow:hidden!important;}
  body.woocommerce-order-received table.shop_table.order_details tfoot tr,
  body.woocommerce-view-order table.shop_table.order_details tfoot tr{display:grid!important;grid-template-columns:minmax(0,.48fr) minmax(0,.52fr)!important;gap:6px!important;width:100%!important;max-width:100%!important;margin:0!important;padding:9px 10px!important;border-radius:13px!important;background:#fff!important;border:1px solid rgba(15,23,42,.06)!important;box-sizing:border-box!important;overflow:hidden!important;}
  body.woocommerce-order-received table.shop_table.order_details tfoot th,
  body.woocommerce-view-order table.shop_table.order_details tfoot th,
  body.woocommerce-order-received table.shop_table.order_details tfoot td,
  body.woocommerce-view-order table.shop_table.order_details tfoot td{display:block!important;width:auto!important;max-width:100%!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;font-size:12px!important;line-height:1.25!important;font-weight:500!important;white-space:normal!important;overflow-wrap:anywhere!important;overflow:hidden!important;}
  body.woocommerce-order-received table.shop_table.order_details tfoot td,
  body.woocommerce-view-order table.shop_table.order_details tfoot td{text-align:right!important;color:#a20b1d!important;}
  body.woocommerce-order-received table.shop_table.order_details tfoot td .amount,
  body.woocommerce-view-order table.shop_table.order_details tfoot td .amount{font-size:12px!important;font-weight:600!important;white-space:nowrap!important;}

  body.woocommerce-order-received .woocommerce-customer-details,
  body.woocommerce-view-order .woocommerce-customer-details,
  body.woocommerce-order-received .woocommerce-order-details + .woocommerce-customer-details,
  body.woocommerce-view-order .woocommerce-order-details + .woocommerce-customer-details{width:100%!important;max-width:100%!important;overflow:hidden!important;margin-left:0!important;margin-right:0!important;box-sizing:border-box!important;}
  body.woocommerce-order-received .spviet-mobile-bottom-nav,
  body.woocommerce-view-order .spviet-mobile-bottom-nav{z-index:9999!important;}
}
@media (max-width:390px){
  body.woocommerce-order-received table.shop_table.order_details tbody tr.order_item,
  body.woocommerce-view-order table.shop_table.order_details tbody tr.order_item,
  body.woocommerce-order-received table.shop_table.order_details tbody tr.woocommerce-table__line-item,
  body.woocommerce-view-order table.shop_table.order_details tbody tr.woocommerce-table__line-item,
  body.woocommerce-order-received tr.spviet-mobile-order-card-row-v10010,
  body.woocommerce-view-order tr.spviet-mobile-order-card-row-v10010{
    grid-template-columns:58px minmax(0,1fr) 42px 58px!important;
    column-gap:5px!important;
    padding:7px!important;
  }
  body.woocommerce-order-received .spviet-order-mobile-namebox-v10010,
  body.woocommerce-view-order .spviet-order-mobile-namebox-v10010,
  body.woocommerce-order-received .spviet-order-mobile-namebox-v1011,
  body.woocommerce-view-order .spviet-order-mobile-namebox-v1011{grid-template-columns:58px minmax(0,1fr)!important;gap:5px!important;}
  body.woocommerce-order-received .spviet-order-mobile-thumb-v10010,
  body.woocommerce-view-order .spviet-order-mobile-thumb-v10010,
  body.woocommerce-order-received .spviet-order-mobile-thumb-v10010 img,
  body.woocommerce-view-order .spviet-order-mobile-thumb-v10010 img{width:52px!important;height:52px!important;max-width:52px!important;max-height:52px!important;}
  body.woocommerce-order-received td.product-qty,
  body.woocommerce-view-order td.product-qty,
  body.woocommerce-order-received td.product-total,
  body.woocommerce-view-order td.product-total{height:50px!important;min-height:50px!important;}
  body.woocommerce-order-received .spviet-order-mobile-title-v10010,
  body.woocommerce-view-order .spviet-order-mobile-title-v10010{font-size:11px!important;line-height:1.16!important;max-height:39px!important;}
  body.woocommerce-order-received td.product-total .amount,
  body.woocommerce-view-order td.product-total .amount{font-size:10.5px!important;}
}


/* =========================================================
 * SPVIET V10.0.20 - MOBILE/TABLET ORDER DETAIL QTY NARROW + WIDE TOTAL
 * Scope: max-width 1024px only. PC untouched.
 * Refinement after v10.0.19: quantity column is compact/centered, total column is wide enough for values up to 1,000,000đ+.
 * ========================================================= */
@media (max-width:1024px){
  body.woocommerce-order-received table.shop_table.order_details tbody tr.order_item,
  body.woocommerce-view-order table.shop_table.order_details tbody tr.order_item,
  body.woocommerce-order-received table.shop_table.order_details tbody tr.woocommerce-table__line-item,
  body.woocommerce-view-order table.shop_table.order_details tbody tr.woocommerce-table__line-item,
  body.woocommerce-order-received table.spviet-order-table-v9992 tbody tr.order_item,
  body.woocommerce-view-order table.spviet-order-table-v9992 tbody tr.order_item,
  body.woocommerce-order-received tr.spviet-mobile-order-card-row-v10010,
  body.woocommerce-view-order tr.spviet-mobile-order-card-row-v10010{
    grid-template-columns:64px minmax(0,1fr) 34px minmax(86px,104px)!important;
    column-gap:6px!important;
  }
  body.woocommerce-order-received td.product-qty,
  body.woocommerce-view-order td.product-qty,
  body.woocommerce-order-received td.spviet-mobile-order-card-qty-v10010,
  body.woocommerce-view-order td.spviet-mobile-order-card-qty-v10010{
    width:34px!important;
    min-width:34px!important;
    max-width:34px!important;
    height:50px!important;
    min-height:50px!important;
    padding:0!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    text-align:center!important;
    place-self:center!important;
    font-size:14px!important;
    line-height:1!important;
    font-weight:700!important;
    white-space:nowrap!important;
  }
  body.woocommerce-order-received td.product-qty *,
  body.woocommerce-view-order td.product-qty *,
  body.woocommerce-order-received td.spviet-mobile-order-card-qty-v10010 *,
  body.woocommerce-view-order td.spviet-mobile-order-card-qty-v10010 *{
    text-align:center!important;
    margin-left:auto!important;
    margin-right:auto!important;
  }
  body.woocommerce-order-received td.product-qty .spviet-mobile-order-cell-label-v10010,
  body.woocommerce-view-order td.product-qty .spviet-mobile-order-cell-label-v10010,
  body.woocommerce-order-received td.spviet-mobile-order-card-qty-v10010 .spviet-mobile-order-cell-label-v10010,
  body.woocommerce-view-order td.spviet-mobile-order-card-qty-v10010 .spviet-mobile-order-cell-label-v10010{
    display:none!important;
  }
  body.woocommerce-order-received td.product-total,
  body.woocommerce-view-order td.product-total,
  body.woocommerce-order-received td.spviet-mobile-order-card-total-v10010,
  body.woocommerce-view-order td.spviet-mobile-order-card-total-v10010{
    width:100%!important;
    min-width:86px!important;
    max-width:104px!important;
    height:50px!important;
    min-height:50px!important;
    padding:4px 5px!important;
    align-items:center!important;
    justify-content:center!important;
    text-align:center!important;
    place-self:center stretch!important;
    overflow:visible!important;
  }
  body.woocommerce-order-received td.product-total .spviet-mobile-order-cell-label-v10010,
  body.woocommerce-view-order td.product-total .spviet-mobile-order-cell-label-v10010,
  body.woocommerce-order-received td.spviet-mobile-order-card-total-v10010 .spviet-mobile-order-cell-label-v10010,
  body.woocommerce-view-order td.spviet-mobile-order-card-total-v10010 .spviet-mobile-order-cell-label-v10010{
    font-size:8.5px!important;
    line-height:1!important;
    white-space:nowrap!important;
  }
  body.woocommerce-order-received td.product-total .amount,
  body.woocommerce-view-order td.product-total .amount,
  body.woocommerce-order-received td.spviet-mobile-order-card-total-v10010 .amount,
  body.woocommerce-view-order td.spviet-mobile-order-card-total-v10010 .amount{
    display:inline-block!important;
    max-width:100%!important;
    font-size:12.2px!important;
    line-height:1.05!important;
    font-weight:700!important;
    white-space:nowrap!important;
    overflow:visible!important;
  }
}
@media (max-width:390px){
  body.woocommerce-order-received table.shop_table.order_details tbody tr.order_item,
  body.woocommerce-view-order table.shop_table.order_details tbody tr.order_item,
  body.woocommerce-order-received table.shop_table.order_details tbody tr.woocommerce-table__line-item,
  body.woocommerce-view-order table.shop_table.order_details tbody tr.woocommerce-table__line-item,
  body.woocommerce-order-received tr.spviet-mobile-order-card-row-v10010,
  body.woocommerce-view-order tr.spviet-mobile-order-card-row-v10010{
    grid-template-columns:56px minmax(0,1fr) 30px minmax(80px,92px)!important;
    column-gap:5px!important;
  }
  body.woocommerce-order-received td.product-qty,
  body.woocommerce-view-order td.product-qty,
  body.woocommerce-order-received td.spviet-mobile-order-card-qty-v10010,
  body.woocommerce-view-order td.spviet-mobile-order-card-qty-v10010{
    width:30px!important;min-width:30px!important;max-width:30px!important;font-size:13px!important;
  }
  body.woocommerce-order-received td.product-total,
  body.woocommerce-view-order td.product-total,
  body.woocommerce-order-received td.spviet-mobile-order-card-total-v10010,
  body.woocommerce-view-order td.spviet-mobile-order-card-total-v10010{
    min-width:80px!important;max-width:92px!important;padding:3px 4px!important;
  }
  body.woocommerce-order-received td.product-total .amount,
  body.woocommerce-view-order td.product-total .amount{font-size:11.3px!important;}
}


/* =========================================================
 * SPVIET V10.0.21 - Mobile/Tablet Booking + QR Camera Footer Actions
 * Scope: max-width 1024px only. PC untouched.
 * ========================================================= */
@media (max-width:1024px){
  .spviet-qr-camera-modal-v1021{position:fixed!important;inset:0!important;z-index:100090!important;display:none!important;align-items:flex-end!important;justify-content:center!important;background:rgba(15,23,42,.58)!important;backdrop-filter:blur(10px)!important;padding:14px!important;padding-bottom:calc(14px + env(safe-area-inset-bottom,0px))!important;}
  html.spviet-qr-camera-open-v1021 .spviet-qr-camera-modal-v1021,.spviet-qr-camera-modal-v1021[aria-hidden="false"]{display:flex!important;}
  .spviet-qr-camera-card-v1021{width:min(100%,520px)!important;max-height:calc(100dvh - 34px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px))!important;overflow:auto!important;background:linear-gradient(180deg,#fffdf8,#fff7e8)!important;border:1px solid rgba(160,8,24,.16)!important;border-radius:28px!important;box-shadow:0 26px 80px rgba(0,0,0,.34)!important;}
  .spviet-qr-camera-head-v1021{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;padding:14px 16px!important;background:linear-gradient(135deg,#a20b1d,#d78d26)!important;color:#fff!important;border-radius:28px 28px 0 0!important;}
  .spviet-qr-camera-head-v1021 strong{font-size:16px!important;line-height:1.25!important;font-weight:800!important;}
  .spviet-qr-camera-head-v1021 button{width:38px!important;height:38px!important;border-radius:999px!important;border:1px solid rgba(255,255,255,.35)!important;background:rgba(255,255,255,.18)!important;color:#fff!important;font-size:24px!important;line-height:1!important;font-weight:700!important;}
  .spviet-qr-camera-body-v1021{padding:16px!important;display:grid!important;gap:12px!important;}
  .spviet-qr-video-box-v1021{position:relative!important;width:100%!important;aspect-ratio:1/1!important;max-height:58dvh!important;border-radius:24px!important;overflow:hidden!important;background:#111827!important;border:1px solid rgba(255,255,255,.16)!important;box-shadow:inset 0 0 0 1px rgba(255,255,255,.06)!important;}
  .spviet-qr-video-box-v1021 video{width:100%!important;height:100%!important;object-fit:cover!important;display:block!important;}
  .spviet-qr-frame-v1021{position:absolute!important;inset:18%!important;border:3px solid rgba(255,255,255,.92)!important;border-radius:22px!important;box-shadow:0 0 0 999px rgba(0,0,0,.18)!important;pointer-events:none!important;}
  .spviet-qr-camera-body-v1021 p{margin:0!important;color:#334155!important;font-size:12px!important;line-height:1.5!important;font-weight:500!important;}
  .spviet-qr-manual-v1021{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:8px!important;align-items:center!important;}
  .spviet-qr-manual-v1021 input{min-width:0!important;width:100%!important;min-height:42px!important;border-radius:14px!important;border:1px solid rgba(160,8,24,.18)!important;background:#fff!important;padding:10px 12px!important;font-size:12px!important;}
  .spviet-qr-manual-v1021 button{min-height:42px!important;border:0!important;border-radius:14px!important;background:#a20b1d!important;color:#fff!important;font-size:12px!important;font-weight:800!important;padding:0 14px!important;white-space:nowrap!important;}
  .spviet-mobile-footer-nav a[data-spviet-footer-type="qr_order"],.spviet-mobile-footer-nav a[data-spviet-footer-type="reservation"]{cursor:pointer!important;}
}
@media (min-width:1025px){.spviet-qr-camera-modal-v1021{display:none!important;}}


/* =========================================================
 * SPVIET V10.0.23 - Mobile/Tablet PWA Install Prompt / Add to Home Screen
 * Scope: max-width 1024px only. PC visual UI untouched.
 * ========================================================= */
@media (max-width:1024px){
  .spviet-pwa-install-pill-v1023{
    position:fixed!important;
    right:14px!important;
    bottom:calc(env(safe-area-inset-bottom,0px) + 92px)!important;
    z-index:2147482100!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:7px!important;
    min-height:42px!important;
    padding:10px 15px!important;
    border:0!important;
    border-radius:999px!important;
    background:linear-gradient(135deg,#a20b1d 0%,#d78d26 100%)!important;
    color:#fff!important;
    font-size:13px!important;
    font-weight:800!important;
    line-height:1!important;
    box-shadow:0 16px 34px rgba(162,11,29,.28)!important;
    -webkit-tap-highlight-color:transparent!important;
  }
  .spviet-pwa-install-icon-v1023{font-size:17px!important;line-height:1!important;}
  .spviet-pwa-guide-modal-v1023{
    position:fixed!important;inset:0!important;z-index:2147482200!important;
    display:flex!important;align-items:flex-end!important;justify-content:center!important;
    padding:16px!important;background:rgba(15,23,42,.42)!important;
    -webkit-backdrop-filter:blur(8px)!important;backdrop-filter:blur(8px)!important;
  }
  .spviet-pwa-guide-card-v1023{
    position:relative!important;width:min(100%,520px)!important;max-height:82vh!important;overflow:auto!important;
    border-radius:26px!important;background:#fff!important;color:#102033!important;
    padding:20px!important;box-shadow:0 24px 70px rgba(0,0,0,.28)!important;
    border:1px solid rgba(162,11,29,.12)!important;
  }
  .spviet-pwa-guide-x-v1023{
    position:absolute!important;right:14px!important;top:12px!important;width:34px!important;height:34px!important;border-radius:50%!important;
    border:1px solid rgba(15,23,42,.08)!important;background:#f8fafc!important;color:#102033!important;font-size:22px!important;line-height:1!important;
  }
  .spviet-pwa-guide-top-v1023{display:flex!important;gap:14px!important;align-items:center!important;padding-right:38px!important;}
  .spviet-pwa-guide-top-v1023 img{width:56px!important;height:56px!important;border-radius:16px!important;box-shadow:0 10px 22px rgba(162,11,29,.18)!important;flex:0 0 56px!important;}
  .spviet-pwa-guide-top-v1023 strong{display:block!important;font-size:17px!important;line-height:1.25!important;font-weight:900!important;color:#a20b1d!important;margin:0 0 6px!important;}
  .spviet-pwa-guide-top-v1023 p{margin:0!important;color:#475569!important;font-size:13px!important;line-height:1.45!important;font-weight:500!important;}
  .spviet-pwa-steps-v1023{margin:18px 0 0!important;padding:14px 16px 14px 34px!important;border-radius:18px!important;background:#fff7ed!important;border:1px solid rgba(217,141,38,.18)!important;}
  .spviet-pwa-steps-v1023 li{font-size:13px!important;line-height:1.55!important;color:#102033!important;font-weight:650!important;margin:4px 0!important;}
  .spviet-pwa-actions-v1023{display:flex!important;gap:10px!important;justify-content:flex-end!important;margin-top:16px!important;}
  .spviet-pwa-actions-v1023 button{border:0!important;border-radius:999px!important;padding:10px 14px!important;font-size:13px!important;font-weight:800!important;}
  .spviet-pwa-actions-v1023 button:first-child{background:#a20b1d!important;color:#fff!important;}
  .spviet-pwa-actions-v1023 button:last-child{background:#f1f5f9!important;color:#334155!important;}
}

/* =========================================================
   SPVIET V10.0.25 - Mobile/Tablet Product Price Above Order Button
   Scope: product card layout on phone/tablet only. Hide short intro excerpts and keep price above CTA.
   ========================================================= */
@media (max-width:1024px){
  body .spviet-wc-card-body > p,
  body .spviet-home-product-body > p,
  body .spviet-home-product-desc,
  body .woocommerce ul.products li.product .woocommerce-loop-product__description,
  body .woocommerce ul.products li.product .spviet-product-short-desc,
  body .woocommerce ul.products li.product .spviet-loop-short-desc{
    display:none!important;
  }

  body .spviet-home-sale-card .spviet-home-sale-body,
  body .spviet-wc-menu-card .spviet-wc-card-body,
  body .woocommerce ul.products li.product{
    display:flex!important;
    flex-direction:column!important;
  }

  body .spviet-home-sale-card .spviet-home-sale-body{
    gap:8px!important;
    padding:12px!important;
  }
  body .spviet-home-sale-card .spviet-home-sale-body h3{
    min-height:3.05em!important;
    margin:0!important;
    -webkit-line-clamp:2!important;
  }
  body .spviet-home-sale-card .spviet-home-sale-price{
    display:block!important;
    width:100%!important;
    min-height:0!important;
    margin:4px 0 6px!important;
    padding-top:6px!important;
    border-top:1px dashed rgba(143,7,24,.12)!important;
    line-height:1.08!important;
    white-space:normal!important;
    overflow:visible!important;
    z-index:2!important;
  }
  body .spviet-home-sale-card .spviet-home-sale-price del,
  body .spviet-home-sale-card .spviet-home-sale-price ins{
    display:inline-block!important;
    vertical-align:baseline!important;
    white-space:nowrap!important;
  }
  body .spviet-home-sale-card .spviet-home-sale-order{
    position:relative!important;
    z-index:1!important;
    width:100%!important;
    margin:0!important;
    min-height:42px!important;
    padding:0 10px!important;
    flex:0 0 auto!important;
  }

  body .spviet-wc-menu-card .spviet-wc-card-bottom{
    display:grid!important;
    grid-template-columns:1fr!important;
    align-items:stretch!important;
    gap:7px!important;
    margin-top:auto!important;
    padding-top:8px!important;
  }
  body .spviet-wc-menu-card .spviet-wc-card-price{
    display:block!important;
    width:100%!important;
    min-width:0!important;
    margin:0!important;
    line-height:1.08!important;
    white-space:normal!important;
    overflow:visible!important;
  }
  body .spviet-wc-menu-card .spviet-wc-card-price del,
  body .spviet-wc-menu-card .spviet-wc-card-price ins{
    display:inline-block!important;
    white-space:nowrap!important;
  }
  body .spviet-wc-menu-card .spviet-wc-card-actions{
    width:100%!important;
    min-width:0!important;
    display:block!important;
  }
  body .spviet-wc-menu-card .spviet-wc-order-btn{
    width:100%!important;
    min-width:0!important;
    margin:0!important;
  }
}

@media (max-width:420px){
  body .spviet-home-sale-card .spviet-home-sale-price,
  body .spviet-wc-menu-card .spviet-wc-card-price{
    font-size:clamp(18px,5.1vw,22px)!important;
  }
  body .spviet-home-sale-card .spviet-home-sale-order,
  body .spviet-wc-menu-card .spviet-wc-order-btn{
    font-size:13px!important;
  }
}

/* =========================================================
 * SPVIET V10.0.26 - Shop mobile/tablet product card home-style CTA layout
 * Scope: /shop/menu product cards on phone/tablet only.
 * Goal: match home sale card flow: image -> title -> price -> full-width order button.
 * No checkout/payment/order/POS/Gateway changes.
 * ========================================================= */
@media (max-width:1024px){
  body .spviet-wc-menu-pro .spviet-wc-menu-card .spviet-wc-card-body,
  html.spviet-device-phone body .spviet-wc-menu-card .spviet-wc-card-body,
  html.spviet-pre-phone body .spviet-wc-menu-card .spviet-wc-card-body,
  html.spviet-device-tablet body .spviet-wc-menu-card .spviet-wc-card-body{
    display:flex!important;
    flex-direction:column!important;
    align-items:stretch!important;
    gap:9px!important;
    min-height:0!important;
    height:auto!important;
    padding:12px!important;
  }

  body .spviet-wc-menu-pro .spviet-wc-menu-card .spviet-wc-card-body > p,
  html.spviet-device-phone body .spviet-wc-menu-card .spviet-wc-card-body > p,
  html.spviet-pre-phone body .spviet-wc-menu-card .spviet-wc-card-body > p,
  html.spviet-device-tablet body .spviet-wc-menu-card .spviet-wc-card-body > p{
    display:none!important;
    visibility:hidden!important;
    height:0!important;
    min-height:0!important;
    max-height:0!important;
    margin:0!important;
    padding:0!important;
    overflow:hidden!important;
  }

  body .spviet-wc-menu-pro .spviet-wc-menu-card .spviet-wc-card-body h3,
  html.spviet-device-phone body .spviet-wc-menu-card .spviet-wc-card-body h3,
  html.spviet-pre-phone body .spviet-wc-menu-card .spviet-wc-card-body h3,
  html.spviet-device-tablet body .spviet-wc-menu-card .spviet-wc-card-body h3{
    flex:0 0 auto!important;
    min-height:2.44em!important;
    margin:0!important;
    display:-webkit-box!important;
    -webkit-line-clamp:2!important;
    -webkit-box-orient:vertical!important;
    overflow:hidden!important;
  }

  body .spviet-wc-menu-pro .spviet-wc-menu-card .spviet-wc-card-bottom,
  html.spviet-device-phone body .spviet-wc-menu-card .spviet-wc-card-bottom,
  html.spviet-pre-phone body .spviet-wc-menu-card .spviet-wc-card-bottom,
  html.spviet-device-tablet body .spviet-wc-menu-card .spviet-wc-card-bottom{
    position:static!important;
    flex:0 0 auto!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:stretch!important;
    justify-content:flex-start!important;
    grid-template-columns:1fr!important;
    gap:8px!important;
    width:100%!important;
    min-width:0!important;
    margin:0!important;
    padding-top:8px!important;
    border-top:1px dashed rgba(139,7,20,.12)!important;
    transform:none!important;
  }

  body .spviet-wc-menu-pro .spviet-wc-menu-card .spviet-wc-card-price,
  html.spviet-device-phone body .spviet-wc-menu-card .spviet-wc-card-price,
  html.spviet-pre-phone body .spviet-wc-menu-card .spviet-wc-card-price,
  html.spviet-device-tablet body .spviet-wc-menu-card .spviet-wc-card-price{
    order:1!important;
    position:static!important;
    z-index:1!important;
    display:block!important;
    width:100%!important;
    min-width:0!important;
    min-height:0!important;
    margin:0!important;
    padding:0!important;
    line-height:1.1!important;
    white-space:normal!important;
    overflow:visible!important;
    text-align:left!important;
    transform:none!important;
  }

  body .spviet-wc-menu-pro .spviet-wc-menu-card .spviet-wc-card-price del,
  body .spviet-wc-menu-pro .spviet-wc-menu-card .spviet-wc-card-price ins,
  html.spviet-device-phone body .spviet-wc-menu-card .spviet-wc-card-price del,
  html.spviet-device-phone body .spviet-wc-menu-card .spviet-wc-card-price ins,
  html.spviet-pre-phone body .spviet-wc-menu-card .spviet-wc-card-price del,
  html.spviet-pre-phone body .spviet-wc-menu-card .spviet-wc-card-price ins,
  html.spviet-device-tablet body .spviet-wc-menu-card .spviet-wc-card-price del,
  html.spviet-device-tablet body .spviet-wc-menu-card .spviet-wc-card-price ins{
    display:inline-block!important;
    vertical-align:baseline!important;
    white-space:nowrap!important;
  }

  body .spviet-wc-menu-pro .spviet-wc-menu-card .spviet-wc-card-actions,
  html.spviet-device-phone body .spviet-wc-menu-card .spviet-wc-card-actions,
  html.spviet-pre-phone body .spviet-wc-menu-card .spviet-wc-card-actions,
  html.spviet-device-tablet body .spviet-wc-menu-card .spviet-wc-card-actions{
    order:2!important;
    position:static!important;
    z-index:1!important;
    display:block!important;
    width:100%!important;
    min-width:0!important;
    margin:0!important;
    padding:0!important;
    transform:none!important;
  }

  body .spviet-wc-menu-pro .spviet-wc-menu-card .spviet-wc-order-btn,
  html.spviet-device-phone body .spviet-wc-menu-card .spviet-wc-order-btn,
  html.spviet-pre-phone body .spviet-wc-menu-card .spviet-wc-order-btn,
  html.spviet-device-tablet body .spviet-wc-menu-card .spviet-wc-order-btn{
    position:static!important;
    z-index:1!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    min-height:42px!important;
    margin:0!important;
    padding:0 10px!important;
    transform:none!important;
    white-space:nowrap!important;
  }
}

@media (max-width:420px){
  body .spviet-wc-menu-pro .spviet-wc-menu-card .spviet-wc-card-body,
  html.spviet-device-phone body .spviet-wc-menu-card .spviet-wc-card-body,
  html.spviet-pre-phone body .spviet-wc-menu-card .spviet-wc-card-body{padding:10px!important;gap:8px!important;}
  body .spviet-wc-menu-pro .spviet-wc-menu-card .spviet-wc-card-price,
  html.spviet-device-phone body .spviet-wc-menu-card .spviet-wc-card-price,
  html.spviet-pre-phone body .spviet-wc-menu-card .spviet-wc-card-price{font-size:clamp(18px,5vw,22px)!important;}
  body .spviet-wc-menu-pro .spviet-wc-menu-card .spviet-wc-order-btn,
  html.spviet-device-phone body .spviet-wc-menu-card .spviet-wc-order-btn,
  html.spviet-pre-phone body .spviet-wc-menu-card .spviet-wc-order-btn{min-height:40px!important;font-size:13px!important;}
}


/* SPVIET V10.0.28 - Food supply hero slides: preserve 1920x560 artwork on PC/Tablet/Mobile */
.spviet-hero-slide img.spviet-responsive-slide-img-v10016,
.spviet-menu-intro-slide img.spviet-responsive-slide-img-v10016{
    object-fit:contain!important;
    object-position:center center!important;
    background:#fff7e8!important;
}
@media (max-width:1024px){
    .spviet-hero-slide img.spviet-responsive-slide-img-v10016,
    .spviet-menu-intro-slide img.spviet-responsive-slide-img-v10016{
        max-height:none!important;
    }
}

/* =========================================================
 * SPVIET V10.0.30 - Hero slide actual 1200x360 frame / no blur letterbox
 * Scope: homepage/menu intro slide rendering only. Artwork is now 1200x360 (10:3) to match the actual 1200x360 PC frame.
 * ========================================================= */
.spviet-full-slide img.spviet-responsive-slide-img-v10016,
.spviet-menu-intro-slide img.spviet-responsive-slide-img-v10016{
  width:100%!important;
  height:100%!important;
  max-width:none!important;
  max-height:none!important;
  object-fit:cover!important;
  object-position:center center!important;
  background:#fff7e8!important;
  transform:none!important;
  clip-path:none!important;
}
@media (min-width:1025px){
  .spviet-full-slider-section{max-width:1200px!important;margin:0 auto!important;padding:0!important;background:#fff7e8!important;}
  .spviet-full-slider{border-radius:0!important;overflow:hidden!important;background:#fff7e8!important;}
  .spviet-full-slider-track{height:360px!important;min-height:360px!important;max-height:360px!important;background:#fff7e8!important;}
  .spviet-menu-intro-slider{height:clamp(300px,30.5vw,360px)!important;max-width:1200px!important;background:#fff7e8!important;}
}
@media (min-width:768px) and (max-width:1024px){
  .spviet-full-slider,
  .spviet-home-slider,
  .spviet-menu-intro-slider{height:clamp(280px,34vw,360px)!important;min-height:280px!important;max-height:360px!important;}
}
@media (max-width:767px){
  .spviet-full-slider,
  .spviet-home-slider,
  .spviet-menu-intro-slider{height:clamp(220px,58vw,300px)!important;min-height:220px!important;max-height:300px!important;}
}

/* =========================================================
 * SPVIET V10.0.30 - Hero slide actual frame size / no blur letterbox
 * Scope: homepage + menu intro slider only. Artwork is 1200x360, matching the real PC display frame,
 * not a full-page/1920 screenshot. Prevent older V10.0.16/V10.0.28 contain rules from creating bands.
 * ========================================================= */
.spviet-full-slider-section{
  width:100%!important;
  max-width:1200px!important;
  margin-left:auto!important;
  margin-right:auto!important;
  padding-left:0!important;
  padding-right:0!important;
  overflow:hidden!important;
  background:#fff7e8!important;
}
.spviet-full-slider,
.spviet-menu-intro-slider{
  width:100%!important;
  max-width:1200px!important;
  margin-left:auto!important;
  margin-right:auto!important;
  overflow:hidden!important;
  background:#fff7e8!important;
}
.spviet-full-slider-track,
.spviet-full-slide,
.spviet-menu-intro-track,
.spviet-menu-intro-slide{
  overflow:hidden!important;
  background:#fff7e8!important;
}
.spviet-full-slide img,
.spviet-full-slide img.spviet-responsive-slide-img-v10016,
.spviet-menu-intro-slide img,
.spviet-menu-intro-slide img.spviet-responsive-slide-img-v10016{
  display:block!important;
  width:100%!important;
  height:100%!important;
  max-width:none!important;
  max-height:none!important;
  min-width:0!important;
  object-fit:cover!important;
  object-position:center center!important;
  background:#fff7e8!important;
  border-radius:0!important;
  transform:none!important;
  clip-path:none!important;
}
@media (min-width:1025px){
  .spviet-full-slider-section{max-width:1200px!important;}
  .spviet-full-slider{height:360px!important;border-radius:28px!important;}
  .spviet-full-slider-track{height:360px!important;min-height:360px!important;max-height:360px!important;}
  .spviet-menu-intro-slider{height:360px!important;min-height:360px!important;max-height:360px!important;border-radius:28px!important;}
}
@media (min-width:768px) and (max-width:1024px){
  .spviet-full-slider-section{max-width:calc(100vw - 32px)!important;}
  .spviet-full-slider,.spviet-menu-intro-slider{height:clamp(260px,34vw,340px)!important;min-height:260px!important;max-height:340px!important;border-radius:24px!important;}
  .spviet-full-slider-track{height:100%!important;min-height:100%!important;max-height:100%!important;}
}
@media (max-width:767px){
  .spviet-full-slider-section{max-width:calc(100vw - 20px)!important;}
  .spviet-full-slider,.spviet-menu-intro-slider{height:clamp(210px,56vw,280px)!important;min-height:210px!important;max-height:280px!important;border-radius:20px!important;}
  .spviet-full-slider-track{height:100%!important;min-height:100%!important;max-height:100%!important;}
}

/* =========================================================
 * SPVIET V10.0.31 - Separate hero slide artwork 1200x360 / exact frame guard
 * Scope: homepage + menu intro slider only. Four separate PNG artworks are exact 1200x360.
 * PC uses the real 1200x360 frame; Tablet/Mobile preserve the same 10:3 ratio to avoid crop, gaps, or blur bands.
 * ========================================================= */
.spviet-full-slider-section,
.spviet-menu-intro-shell{
  width:100%!important;
  max-width:1200px!important;
  margin-left:auto!important;
  margin-right:auto!important;
  overflow:hidden!important;
}
.spviet-full-slider,
.spviet-menu-intro-slider{
  width:100%!important;
  max-width:1200px!important;
  aspect-ratio:10/3!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  overflow:hidden!important;
  background:#fff7e8!important;
}
.spviet-full-slider-track,
.spviet-full-slide,
.spviet-menu-intro-track,
.spviet-menu-intro-slide{
  width:100%!important;
  height:100%!important;
  min-height:0!important;
  max-height:none!important;
  overflow:hidden!important;
  background:#fff7e8!important;
}
.spviet-full-slide img,
.spviet-full-slide img.spviet-responsive-slide-img-v10016,
.spviet-menu-intro-slide img,
.spviet-menu-intro-slide img.spviet-responsive-slide-img-v10016{
  display:block!important;
  width:100%!important;
  height:100%!important;
  min-width:0!important;
  max-width:none!important;
  min-height:0!important;
  max-height:none!important;
  object-fit:cover!important;
  object-position:center center!important;
  border-radius:0!important;
  transform:none!important;
  clip-path:none!important;
}
@media (min-width:1025px){
  .spviet-full-slider-section{max-width:1200px!important;}
  .spviet-full-slider,.spviet-menu-intro-slider{height:360px!important;min-height:360px!important;max-height:360px!important;border-radius:28px!important;}
}
@media (min-width:768px) and (max-width:1024px){
  .spviet-full-slider-section{max-width:calc(100vw - 32px)!important;}
  .spviet-full-slider,.spviet-menu-intro-slider{height:auto!important;min-height:0!important;max-height:none!important;border-radius:24px!important;}
}
@media (max-width:767px){
  .spviet-full-slider-section{max-width:calc(100vw - 20px)!important;}
  .spviet-full-slider,.spviet-menu-intro-slider{height:auto!important;min-height:0!important;max-height:none!important;border-radius:20px!important;}
}


/* =========================================================
 * SPVIET V10.0.32 - True responsive hero slides
 * PC: 1200x360, Tablet: 1200x500, Mobile: 720x420. No repeated fallback/no legacy slide4.
 * ========================================================= */
.spviet-full-slider-section,.spviet-menu-intro-shell{width:100%!important;max-width:1200px!important;margin-left:auto!important;margin-right:auto!important;overflow:hidden!important;background:#fff7e8!important;}
.spviet-full-slider,.spviet-menu-intro-slider{width:100%!important;max-width:1200px!important;overflow:hidden!important;background:#fff7e8!important;}
.spviet-full-slider-track,.spviet-full-slide,.spviet-menu-intro-track,.spviet-menu-intro-slide,.spviet-slide-picture-v10032{width:100%!important;height:100%!important;min-height:0!important;max-height:none!important;overflow:hidden!important;display:block!important;background:#fff7e8!important;}
.spviet-full-slide img.spviet-responsive-slide-img-v10032,.spviet-menu-intro-slide img.spviet-responsive-slide-img-v10032,.spviet-full-slide img.spviet-responsive-slide-img-v10016,.spviet-menu-intro-slide img.spviet-responsive-slide-img-v10016{display:block!important;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;object-fit:cover!important;object-position:center center!important;background:#fff7e8!important;transform:none!important;clip-path:none!important;}
@media (min-width:1025px){html .spviet-full-slider,html .spviet-menu-intro-slider{aspect-ratio:10/3!important;height:360px!important;min-height:360px!important;max-height:360px!important;border-radius:28px!important;}}
@media (min-width:768px) and (max-width:1024px){html .spviet-full-slider-section{max-width:calc(100vw - 32px)!important;}html .spviet-full-slider,html .spviet-menu-intro-slider{aspect-ratio:12/5!important;height:auto!important;min-height:0!important;max-height:none!important;border-radius:24px!important;}}
@media (max-width:767px){html .spviet-full-slider-section{max-width:calc(100vw - 20px)!important;}html .spviet-full-slider,html .spviet-menu-intro-slider{aspect-ratio:12/7!important;height:auto!important;min-height:0!important;max-height:none!important;border-radius:18px!important;}html .spviet-full-slide-caption{bottom:12px!important;left:12px!important;right:12px!important;width:auto!important;max-width:none!important;padding:12px 14px!important;border-radius:18px!important;}html .spviet-full-slide-caption strong{font-size:clamp(20px,5.4vw,30px)!important;line-height:1.12!important;}html .spviet-full-slide-caption em{font-size:clamp(12px,3.4vw,15px)!important;line-height:1.32!important;}}
