:root{
  --blue:#0057d9;
  --blue-2:#0047b3;
  --navy:#071428;
  --navy-2:#0d1b31;
  --text:#101828;
  --muted:#667085;
  --line:#e5e7eb;
  --bg:#f5f7fb;
  --white:#ffffff;
  --danger:#d92d20;
  --success:#079455;
  --shadow:0 12px 30px rgba(16,24,40,.08);
  --radius:18px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:Arial,Tahoma,"Helvetica Neue",Helvetica,sans-serif;
  font-size:16px;
  line-height:1.55;
}
img{max-width:100%;display:block}
a{text-decoration:none;color:inherit}
button,input,textarea,select{font:inherit}
.container{width:min(1180px,92%);margin:0 auto}
.section{padding:56px 0}
.muted{color:var(--muted)}
.center{text-align:center}

/* Header giống kiểu clean-tech: gọn, sáng, dễ đọc */
.site-top{
  background:var(--navy);
  color:#d7e2f0;
  font-size:13px;
}
.site-top .container{
  min-height:36px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
}
.top-links{display:flex;gap:18px;white-space:nowrap}
.site-header{
  position:sticky;
  top:0;
  z-index:50;
  background:#fff;
  border-bottom:1px solid var(--line);
  box-shadow:0 2px 10px rgba(16,24,40,.04);
}
.header-row{
  min-height:76px;
  display:grid;
  grid-template-columns:auto auto 1fr auto;
  align-items:center;
  gap:22px;
}
.logo{
  display:inline-flex;
  align-items:center;
  gap:8px;
  color:var(--navy);
  font-size:23px;
  font-weight:700;
  letter-spacing:-.02em;
  white-space:nowrap;
}
.logo-mark{
  display:inline-grid;
  place-items:center;
  width:34px;
  height:34px;
  border-radius:10px;
  background:var(--blue);
  color:#fff;
  font-weight:700;
}
.logo span:last-child{color:var(--blue)}
.main-nav{
  display:flex;
  align-items:center;
  gap:20px;
  white-space:nowrap;
}
.main-nav a{
  color:#344054;
  font-size:14px;
  font-weight:700;
}
.main-nav a:hover{color:var(--blue)}
.search{
  display:flex;
  align-items:center;
  background:#f2f4f7;
  border:1px solid #e4e7ec;
  border-radius:999px;
  overflow:hidden;
}
.search input{
  width:100%;
  min-width:180px;
  border:0;
  outline:0;
  background:transparent;
  padding:12px 16px;
  color:#101828;
}
.search button{
  border:0;
  background:var(--blue);
  color:#fff;
  padding:12px 18px;
  font-weight:700;
  cursor:pointer;
  white-space:nowrap;
}
.search button:hover{background:var(--blue-2)}
.cart-pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  padding:0 16px;
  border-radius:999px;
  background:var(--navy);
  color:#fff;
  font-weight:700;
  white-space:nowrap;
}

/* Buttons */
.btn,.btn-soft{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:44px;
  padding:12px 18px;
  border-radius:999px;
  font-weight:700;
  border:0;
  cursor:pointer;
  text-align:center;
}
.btn{
  background:var(--blue);
  color:#fff;
}
.btn:hover{background:var(--blue-2)}
.btn.secondary,.btn-soft{
  background:#eef4ff;
  color:var(--blue);
  border:1px solid #cfe0ff;
}
.btn.full,.btn-soft{width:100%}

/* Hero theo hướng Crucial: trắng, xanh, selector/card */
.hero{
  background:
    linear-gradient(90deg, rgba(0,87,217,.08), rgba(255,255,255,0)),
    #fff;
  border-bottom:1px solid var(--line);
}
.hero-grid{
  min-height:520px;
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:42px;
  align-items:center;
  padding:54px 0;
}
.eyebrow{
  display:inline-flex;
  padding:7px 12px;
  border-radius:999px;
  background:#eef4ff;
  color:var(--blue);
  font-size:13px;
  font-weight:700;
}
.hero h1{
  margin:16px 0;
  font-size:54px;
  line-height:1.05;
  letter-spacing:-.04em;
}
.hero p{
  max-width:650px;
  margin:0 0 24px;
  color:#475467;
  font-size:18px;
}
.hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
}
.selector-card{
  background:#fff;
  border:1px solid #d0d5dd;
  border-radius:24px;
  box-shadow:var(--shadow);
  overflow:hidden;
}
.selector-head{
  background:var(--navy);
  color:#fff;
  padding:22px;
}
.selector-head h2{
  margin:0 0 6px;
  font-size:24px;
}
.selector-head p{
  margin:0;
  color:#d7e2f0;
}
.selector-body{
  padding:22px;
  display:grid;
  gap:14px;
}
.selector-option{
  display:flex;
  gap:14px;
  align-items:flex-start;
  padding:16px;
  border:1px solid #e4e7ec;
  border-radius:16px;
  background:#f9fafb;
}
.selector-option strong{display:block;margin-bottom:4px}
.selector-icon{
  width:40px;height:40px;border-radius:12px;
  display:grid;place-items:center;
  background:#eef4ff;color:var(--blue);
  font-weight:700;
}

/* Quick blocks */
.quick-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
  margin-top:-36px;
  position:relative;
  z-index:2;
}
.quick-card{
  background:#fff;
  border:1px solid #e4e7ec;
  border-radius:18px;
  padding:22px;
  box-shadow:var(--shadow);
}
.quick-card h3{margin:0 0 8px;font-size:19px}
.quick-card p{margin:0;color:var(--muted);font-size:14px}

/* Section title */
.section-title{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:20px;
  margin-bottom:24px;
}
.section-title h2{
  margin:0;
  font-size:36px;
  line-height:1.15;
  letter-spacing:-.03em;
}
.section-title p{
  margin:8px 0 0;
  color:var(--muted);
}

/* Category */
.category-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
}
.category-card{
  background:#fff;
  border:1px solid #e4e7ec;
  border-radius:20px;
  padding:24px;
  transition:.18s ease;
}
.category-card:hover{
  transform:translateY(-3px);
  box-shadow:var(--shadow);
  border-color:#cfe0ff;
}
.category-card h3{
  margin:12px 0 8px;
  font-size:22px;
}
.category-card p{margin:0 0 14px;color:var(--muted)}
.category-card .link{color:var(--blue);font-weight:700}

/* Products page */
.page-head{margin-bottom:24px}
.page-head h1{
  margin:0 0 8px;
  font-size:44px;
  line-height:1.1;
  letter-spacing:-.035em;
}
.page-head p{margin:0;color:var(--muted)}

.shop-layout{
  display:grid;
  grid-template-columns:270px minmax(0,1fr);
  gap:28px;
  align-items:start;
}
.sidebar{
  background:#fff;
  border:1px solid #e4e7ec;
  border-radius:22px;
  padding:18px;
  box-shadow:var(--shadow);
  position:sticky;
  top:98px;
}
.sidebar h3{margin:0 0 12px;font-size:19px}
.sidebar a{
  display:block;
  padding:12px 14px;
  border-radius:12px;
  color:#344054;
  font-weight:700;
  margin-bottom:6px;
}
.sidebar a:hover,.sidebar a.active{
  background:#eef4ff;
  color:var(--blue);
}

.product-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:22px;
}
.product-card{
  background:#fff;
  border:1px solid #e4e7ec;
  border-radius:22px;
  overflow:hidden;
  box-shadow:0 8px 22px rgba(16,24,40,.06);
  display:flex;
  flex-direction:column;
}
.product-card:hover{box-shadow:var(--shadow)}
.product-card > a{display:block;color:inherit}
.product-img{
  height:245px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:22px;
  background:linear-gradient(180deg,#fff,#f2f6ff);
  border-bottom:1px solid #eef2f7;
}
.product-img img{
  max-height:100%;
  max-width:100%;
  object-fit:contain;
}
.product-img span{
  color:#667085;
  font-weight:700;
  font-size:14px;
}
.product-body{padding:18px}
.product-meta{
  display:flex;
  justify-content:space-between;
  gap:8px;
  align-items:center;
  margin-bottom:12px;
}
.pill{
  display:inline-flex;
  align-items:center;
  padding:6px 10px;
  border-radius:999px;
  background:#eef4ff;
  color:var(--blue);
  font-size:12px;
  font-weight:700;
}
.stock{
  color:var(--success);
  font-size:12px;
  font-weight:700;
  white-space:nowrap;
}
.product-card h3{
  margin:0 0 10px;
  font-size:20px;
  line-height:1.25;
  letter-spacing:-.01em;
  min-height:50px;
}
.product-card p{
  margin:0;
  color:var(--muted);
  min-height:44px;
}
.price{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:10px;
  margin-top:16px;
}
.price strong{
  font-size:23px;
  color:var(--danger);
  font-weight:700;
}
.price del{color:#98a2b3}
.product-actions{
  display:grid;
  gap:10px;
  padding:0 18px 18px;
  margin-top:auto;
}
.product-actions form{width:100%}

/* Detail */
.product-detail{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:32px;
  align-items:start;
}
.detail-img{
  background:#fff;
  border:1px solid #e4e7ec;
  border-radius:24px;
  min-height:500px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:28px;
  box-shadow:var(--shadow);
}
.detail-info,.spec-card,.form{
  background:#fff;
  border:1px solid #e4e7ec;
  border-radius:24px;
  padding:26px;
  box-shadow:var(--shadow);
}
.detail-topline{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-bottom:14px;
}
.detail-info h1{
  margin:0 0 12px;
  font-size:40px;
  line-height:1.1;
  letter-spacing:-.03em;
}
.detail-info p{color:#475467}
.sku{
  display:inline-flex;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid #e4e7ec;
  background:#f9fafb;
  color:#344054;
  font-size:12px;
  font-weight:700;
}
.add-cart{display:flex;gap:12px;margin-top:18px}
.add-cart input[type="number"]{
  width:100px;
  border:1px solid #d0d5dd;
  border-radius:999px;
  padding:12px 14px;
}
.spec-card{margin-top:22px}
.spec-card h2{margin:0 0 12px}
.spec-card pre{
  white-space:pre-wrap;
  word-break:break-word;
  font-family:Arial,Tahoma,sans-serif;
  color:#475467;
}

/* Blocks */
.value-grid,.article-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
}
.article-grid{grid-template-columns:repeat(3,1fr)}
.value-card,.article-card{
  background:#fff;
  border:1px solid #e4e7ec;
  border-radius:20px;
  padding:22px;
}
.value-card h3,.article-card h3{margin:0 0 8px;font-size:21px}
.value-card p,.article-card p{margin:0;color:var(--muted)}
.cta-banner{
  background:var(--navy);
  color:#fff;
  border-radius:26px;
  padding:30px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
}
.cta-banner h2{margin:0 0 8px;font-size:32px}
.cta-banner p{margin:0;color:#d7e2f0}

/* Form/table */
.table-wrap{
  background:#fff;
  border:1px solid #e4e7ec;
  border-radius:20px;
  overflow:auto;
}
.table{width:100%;border-collapse:collapse;background:#fff}
.table th,.table td{
  padding:15px;
  border-bottom:1px solid #e4e7ec;
  text-align:left;
}
.table th{background:#f9fafb}
.cart-actions{
  margin-top:18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
}
.narrow{width:min(760px,92%);margin:auto}
.form label{display:block;margin:14px 0 8px;font-weight:700}
.form input,.form textarea,.form select{
  width:100%;
  border:1px solid #d0d5dd;
  border-radius:14px;
  padding:13px 15px;
  outline:none;
}
.form textarea{min-height:110px;resize:vertical}
.alert{
  margin-bottom:18px;
  padding:14px 16px;
  border-radius:14px;
  color:#b42318;
  background:#fff1f0;
  border:1px solid #fecaca;
}

/* Footer */
.site-footer{
  margin-top:60px;
  background:var(--navy);
  color:#d7e2f0;
}
.footer-top{padding:52px 0 32px;border-bottom:1px solid rgba(255,255,255,.08)}
.footer-grid{
  display:grid;
  grid-template-columns:1.2fr 1fr 1fr 1fr;
  gap:28px;
}
.footer-brand h3,.footer-col h4{color:#fff;margin-top:0}
.footer-brand h3{font-size:26px;margin-bottom:12px}
.footer-brand p,.footer-col p,.footer-col a{color:#d7e2f0}
.footer-col a{display:block;padding:6px 0}
.footer-bottom{padding:18px 0;color:#a7b5c8;font-size:14px}

/* Responsive */
@media(max-width:1100px){
  .header-row{grid-template-columns:1fr;gap:14px;padding:14px 0}
  .main-nav{flex-wrap:wrap}
  .hero-grid,.product-detail,.shop-layout,.footer-grid{grid-template-columns:1fr}
  .quick-grid,.category-grid,.value-grid,.article-grid{grid-template-columns:repeat(2,1fr)}
  .product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .sidebar{position:static}
}
@media(max-width:640px){
  .site-top .container,.top-links,.section-title,.cta-banner{display:block}
  .main-nav{gap:12px}
  .hero-grid{min-height:auto;padding:42px 0}
  .hero h1{font-size:36px}
  .page-head h1{font-size:34px}
  .section-title h2{font-size:30px}
  .quick-grid,.category-grid,.value-grid,.article-grid,.product-grid{grid-template-columns:1fr}
}


/* =========================================================
   MOBILE HOME + MOBILE HEADER STYLE (V25)
   ========================================================= */
.m-site-header,
.mobile-home-only,
.m-menu-overlay,
.m-menu-drawer,
.m-search-panel{display:none}
.menu-lock{overflow:hidden}

@media (max-width:900px){
  body{font-family:Arial,Tahoma,"Helvetica Neue",Helvetica,sans-serif}
  .site-top,.site-header{display:none}
  .desktop-home-only{display:none}
  .mobile-home-only{display:block;background:#f3f3f3}
  .m-site-header{display:block;position:sticky;top:0;z-index:80;background:#fff;border-bottom:1px solid #e5e7eb}
  .m-header-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:70px;padding:0 20px}
  .m-logo{color:#111827;text-decoration:none;line-height:.92;display:inline-flex;flex-direction:column;gap:2px}
  .m-logo-mini{display:block;font-size:11px;letter-spacing:.02em;text-transform:lowercase;color:#111827}
  .m-logo strong,.m-drawer-title{display:block;font-size:22px;font-weight:900;letter-spacing:-.03em;color:#111827}
  .m-header-actions{display:flex;align-items:center;gap:10px}
  .m-icon-btn{width:32px;height:32px;display:inline-flex;align-items:center;justify-content:center;border:0;background:transparent;color:#111827;padding:0}
  .m-icon-btn svg{width:24px;height:24px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
  .m-search-panel{display:none;padding:0 20px 16px;border-top:1px solid #eef0f2;background:#fff}
  .m-search-panel.is-open{display:block}
  .m-search-form{display:grid;grid-template-columns:1fr auto;gap:10px;padding-top:14px}
  .m-search-form input{min-height:46px;border:1px solid #d0d5dd;border-radius:999px;padding:0 16px;background:#fff;outline:none}
  .m-search-form button{min-height:46px;border-radius:999px;border:0;background:#0d6efd;color:#fff;padding:0 18px;font-weight:700}
  .m-menu-overlay{position:fixed;inset:0;background:rgba(0,0,0,.45);z-index:89;opacity:0;visibility:hidden;transition:.25s}
  .m-menu-overlay.is-open{opacity:1;visibility:visible}
  .m-menu-drawer{position:fixed;top:0;right:0;width:min(86vw,360px);height:100vh;background:#fff;z-index:90;transform:translateX(102%);transition:transform .25s ease;box-shadow:-12px 0 36px rgba(16,24,40,.18);padding:20px 20px 28px;overflow-y:auto}
  .m-menu-drawer.is-open{transform:translateX(0)}
  .m-menu-head{display:flex;align-items:center;justify-content:space-between;padding-bottom:18px;border-bottom:1px solid #eaecf0;margin-bottom:12px}
  .m-close-btn{width:36px;height:36px;border:0;background:#f2f4f7;border-radius:50%;font-size:26px;line-height:1;color:#111827}
  .m-menu-list{display:flex;flex-direction:column}
  .m-menu-list a{padding:14px 2px;border-bottom:1px solid #f0f2f4;color:#111827;font-size:17px;font-weight:700}

  .m-home-hero{background:#000;color:#fff}
  .m-home-hero-media{height:255px;background:radial-gradient(circle at 80% 40%, rgba(206,99,255,.95), transparent 26%),radial-gradient(circle at 50% 45%, rgba(86,122,255,.7), transparent 32%),linear-gradient(180deg,#05070c 0%, #0b1020 100%);position:relative;overflow:hidden}
  .m-home-hero-media::before,.m-home-hero-media::after{content:"";position:absolute;inset:auto -25% 10% -10%;height:120px;border-radius:999px;background:linear-gradient(90deg, rgba(255,255,255,.05), rgba(173,117,255,.55), rgba(66,124,255,.12));filter:blur(2px);transform:rotate(-8deg)}
  .m-home-hero-media::after{bottom:28%;left:10%;right:-35%;height:95px;background:linear-gradient(90deg, rgba(255,255,255,.02), rgba(117,149,255,.24), rgba(255,67,221,.58));transform:rotate(7deg)}
  .m-home-hero-content{padding:26px 28px 28px}
  .m-home-badge{display:inline-flex;align-items:center;min-height:28px;padding:0 12px;border-radius:999px;background:rgba(255,255,255,.08);color:#6da8ff;font-size:14px;font-weight:700}
  .m-home-hero-content h1{margin:18px 0 16px;font-size:33px;line-height:1.08;letter-spacing:-.03em;font-weight:900}
  .m-home-hero-content p{margin:0 0 24px;color:rgba(255,255,255,.86);font-size:17px;line-height:1.6}
  .m-home-primary-btn{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 24px;border-radius:999px;border:2px solid #fff;color:#fff;font-size:18px;font-weight:800}

  .block-light{background:#e7e7e7}
  .m-home-catalog-block,.m-home-top-picks,.m-home-support{padding:18px 20px 20px}
  .m-home-block-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:18px}
  .m-home-block-head.vertical{display:block}
  .m-home-block-head h2{margin:0 0 10px;font-size:26px;line-height:1.12;color:#111827;letter-spacing:-.02em}
  .m-home-block-head p{margin:0;color:#373f4d;font-size:17px;line-height:1.55}
  .m-home-block-head a{display:inline-flex;align-items:center;gap:6px;color:#0d6efd;font-weight:700;font-size:16px;white-space:nowrap;margin-top:4px}
  .m-home-tiles{display:grid;grid-template-columns:1fr;gap:18px}
  .m-home-tile{display:block;border-radius:10px;overflow:hidden;background:#101114;color:#fff;box-shadow:0 2px 8px rgba(16,24,40,.08)}
  .m-home-tile-image{aspect-ratio:1.45/1;background:linear-gradient(135deg,#1b1f27,#0c1117);display:flex;align-items:flex-end;justify-content:center;overflow:hidden}
  .m-home-tile-image img{width:100%;height:100%;object-fit:cover}
  .m-home-fallback{display:flex;align-items:center;justify-content:center;width:100%;height:100%;padding:24px;color:#b7c3d3;font-weight:800;text-align:center}
  .m-home-tile-caption{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:18px 16px;font-size:18px;font-weight:700;background:rgba(0,0,0,.9)}
  .m-home-tile-caption span{font-size:28px;line-height:1}

  .m-home-upgrade{padding:20px;background:linear-gradient(135deg,#1f6fff 0%, #6b2dff 100%);color:#fff}
  .m-home-upgrade h2{margin:0 0 14px;font-size:24px;line-height:1.18;letter-spacing:-.02em}
  .m-home-upgrade h3{margin:0 0 12px;font-size:22px;line-height:1.18}
  .m-home-upgrade p{margin:0 0 16px;color:rgba(255,255,255,.95);font-size:17px;line-height:1.55}
  .m-home-upgrade hr{border:0;border-top:1px solid rgba(255,255,255,.3);margin:18px 0}
  .m-home-upgrade-btn{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:0 28px;border-radius:999px;background:#fff;color:#1264ff;font-weight:800;font-size:18px}

  .m-home-picks-scroll{display:grid;grid-auto-flow:column;grid-auto-columns:84%;gap:14px;overflow-x:auto;padding:4px 0 4px 0;scroll-snap-type:x mandatory}
  .m-home-picks-scroll::-webkit-scrollbar{display:none}
  .m-pick-card{scroll-snap-align:start;background:#fff;border-radius:16px;overflow:hidden;box-shadow:0 2px 10px rgba(16,24,40,.08)}
  .m-pick-card a{display:block;color:#111827}
  .m-pick-image{aspect-ratio:1.3/1;background:#f2f4f7;display:flex;align-items:center;justify-content:center;padding:16px}
  .m-pick-image img{width:100%;height:100%;object-fit:contain}
  .m-pick-body{padding:16px}
  .m-pick-cat{display:block;margin-bottom:8px;color:#667085;font-size:13px;font-weight:700;text-transform:uppercase}
  .m-pick-body h3{margin:0 0 12px;font-size:22px;line-height:1.25;letter-spacing:-.02em}
  .m-pick-body strong{font-size:20px;color:#0d6efd}

  .m-home-support-grid{display:grid;grid-template-columns:1fr;gap:16px}
  .m-support-card{display:block;background:#fff;border-radius:16px;overflow:hidden;box-shadow:0 2px 10px rgba(16,24,40,.08)}
  .m-support-card-media{height:200px;background:linear-gradient(135deg,#111827 0%, #2b3a55 40%, #0d6efd 100%);position:relative}
  .m-support-card-media::after{content:"";position:absolute;inset:20px;background:linear-gradient(135deg, rgba(255,255,255,.08), rgba(255,255,255,0));border-radius:14px}
  .m-support-card-body{padding:18px}
  .m-support-card-body h3{margin:0 0 10px;font-size:24px;line-height:1.2;letter-spacing:-.02em;color:#111827}
  .m-support-card-body p{margin:0;color:#475467;font-size:17px;line-height:1.55}

  .site-footer{padding-bottom:72px}
}

@media (max-width:420px){
  .m-header-bar{padding:0 16px}
  .m-search-panel{padding:0 16px 14px}
  .m-home-hero-content,.m-home-catalog-block,.m-home-top-picks,.m-home-support,.m-home-upgrade{padding-left:16px;padding-right:16px}
  .m-home-hero-content h1{font-size:30px}
  .m-home-block-head h2{font-size:22px}
  .m-pick-body h3{font-size:19px}
}


/* =========================================================
   V29 - DESKTOP HOMEPAGE CRUCIAL STYLE + DESKTOP HEADER FIX
   ========================================================= */
body{overflow-x:hidden}
.site-top{display:none}
.site-header-crucial{
  position:sticky;top:0;z-index:70;background:#fff;border-bottom:1px solid #e5e7eb;box-shadow:none;
}
.header-row-crucial{
  min-height:68px;display:grid;grid-template-columns:auto 1fr auto;gap:28px;align-items:center;
}
.crucial-logo{display:inline-flex;flex-direction:column;gap:1px;line-height:.9;color:#111827;min-width:120px}
.crucial-logo-top{font-size:13px;font-weight:700;letter-spacing:.02em;text-transform:lowercase;color:#111827}
.crucial-logo-main{font-size:28px;font-weight:900;letter-spacing:-.04em;color:#111827}
.crucial-nav{justify-content:flex-start;gap:30px}
.crucial-nav a{font-size:15px;font-weight:700;color:#111827}
.crucial-nav a:last-child{color:#245bff}
.desktop-header-tools{display:flex;align-items:center;gap:14px}
.search-crucial{width:280px;background:#fff;border:1.6px solid #1f2937;border-radius:999px;overflow:hidden;min-height:46px}
.search-crucial input{min-width:0;padding:0 16px;background:#fff}
.search-crucial button{width:52px;display:grid;place-items:center;background:transparent;color:#111827;padding:0}
.search-crucial button svg,.desktop-icon-link svg{width:22px;height:22px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.search-crucial button:hover{background:transparent;color:#245bff}
.desktop-icon-link{width:38px;height:38px;border-radius:50%;display:inline-grid;place-items:center;color:#111827}
.cart-pill-light{background:#f8fafc;color:#111827;border:1px solid #e5e7eb;min-height:42px}
.cart-pill-light:hover{border-color:#cbd5e1}

.desktop-home-crucial{display:block;background:#e7e7e7}
.c-dark-zone{background:linear-gradient(180deg,#02060d 0%, #07111f 56%, #08121e 100%);padding-bottom:48px}
.c-hero{background:#02060d;position:relative;overflow:hidden}
.c-hero::before,.c-hero::after{content:"";position:absolute;border-radius:999px;pointer-events:none}
.c-hero::before{right:-8%;top:14%;width:58%;height:240px;background:linear-gradient(90deg,rgba(255,255,255,.03),rgba(114,129,255,.28),rgba(255,0,170,.55));filter:blur(6px);transform:rotate(-10deg)}
.c-hero::after{right:2%;top:38%;width:52%;height:180px;background:linear-gradient(90deg,rgba(255,255,255,.02),rgba(103,122,255,.18),rgba(235,72,255,.62));filter:blur(5px);transform:rotate(9deg)}
.c-hero-inner{min-height:560px;display:flex;align-items:center;padding:80px 0 72px;position:relative;z-index:1}
.c-hero-copy{max-width:560px;color:#fff}
.c-hero-copy h1{margin:0 0 20px;font-size:64px;line-height:1.03;letter-spacing:-.045em;font-weight:900}
.c-hero-copy p{margin:0 0 28px;color:rgba(255,255,255,.88);font-size:20px;line-height:1.6}
.c-hero-btn{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 28px;border-radius:999px;background:#1764ff;color:#fff;font-weight:800}

.c-showcase-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin-top:-34px;position:relative;z-index:3}
.c-showcase-card{background:#d9d9d9;border-radius:12px;padding:18px 18px 20px;box-shadow:0 12px 30px rgba(0,0,0,.18)}
.c-showcase-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:18px}
.c-showcase-head h2{margin:0 0 10px;font-size:24px;line-height:1.12;letter-spacing:-.02em;color:#111827}
.c-showcase-head p{margin:0;max-width:460px;color:#262b33;font-size:16px;line-height:1.55}
.c-showcase-head a{color:#1764ff;font-weight:700;white-space:nowrap;margin-top:8px}
.c-showcase-head a span{font-size:22px;vertical-align:-1px}
.c-showcase-tiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.c-showcase-tile{display:block;color:#fff;background:#0f1218;border-radius:10px;overflow:hidden}
.c-showcase-image{aspect-ratio:1.05/1;background:#141821;display:flex;align-items:flex-end;justify-content:center;overflow:hidden}
.c-showcase-image img{width:100%;height:100%;object-fit:cover}
.c-showcase-fallback{width:100%;height:100%;display:flex;align-items:center;justify-content:center;padding:20px;color:#b9c1d0;font-weight:800;text-align:center}
.c-showcase-caption{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:14px 14px 16px;font-size:18px;font-weight:700;background:#090b10}
.c-showcase-caption span{font-size:24px;line-height:1}

.c-upgrade-strip{margin-top:56px;padding:18px 0;background:linear-gradient(90deg,#1c66ff 0%, #7a30ff 58%, #ef1fff 100%);border-radius:0;display:grid;grid-template-columns:1.15fr 1fr 1fr;gap:0;overflow:hidden}
.c-upgrade-item{padding:18px 32px;color:#fff}
.c-upgrade-item.with-divider{border-left:1px solid rgba(255,255,255,.3)}
.c-upgrade-item h3{margin:0 0 12px;font-size:24px;line-height:1.2;letter-spacing:-.02em}
.c-upgrade-item p{margin:0 0 18px;color:rgba(255,255,255,.95);font-size:17px;line-height:1.5;max-width:420px}
.c-upgrade-item a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 28px;border-radius:999px;background:#fff;color:#1764ff;font-weight:800}

.c-picks-zone{background:#ececec;padding:72px 0}
.c-section-head{margin-bottom:26px}
.c-section-head h2{margin:0 0 14px;font-size:58px;line-height:1.02;letter-spacing:-.045em;color:#111827}
.c-section-head p{margin:0;max-width:920px;color:#3d4754;font-size:22px;line-height:1.55}
.c-picks-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:28px}
.c-pick-card a{display:block;color:#111827}
.c-pick-image{aspect-ratio:1/1;background:#fff;border-radius:12px;overflow:hidden;display:flex;align-items:center;justify-content:center;padding:12px;margin-bottom:14px}
.c-pick-image img{width:100%;height:100%;object-fit:contain}
.c-pick-body{padding:0 4px}
.c-pick-brand{display:block;margin-bottom:10px;color:#222;font-size:17px;line-height:1.2}
.c-pick-body h3{margin:0 0 10px;font-size:22px;line-height:1.34;letter-spacing:-.02em;font-weight:800}
.c-pick-sku{margin:0 0 20px;color:#3f4754;font-size:15px;line-height:1.4;word-break:break-word}
.c-pick-btn{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:0 24px;border-radius:999px;border:2px solid #1764ff;color:#1764ff;font-weight:700}

@media (max-width: 1320px){
  .header-row-crucial{grid-template-columns:auto 1fr;grid-template-areas:"logo tools" "nav nav";gap:16px}
  .crucial-logo{grid-area:logo}
  .desktop-header-tools{grid-area:tools;justify-self:end}
  .crucial-nav{grid-area:nav}
  .c-hero-copy h1{font-size:56px}
}
@media (max-width: 1100px){
  .desktop-home-only{display:none}
  .site-header-crucial{display:none}
}
@media (min-width: 901px){
  .m-site-header,.m-menu-overlay,.m-menu-drawer,.m-search-panel,.mobile-home-only{display:none !important}
}
@media (max-width: 900px){
  .site-header-crucial{display:none}
  .m-site-header{display:block}
  .m-menu-overlay,.m-menu-drawer{display:block}
}


/* =========================================================
   V30 - FIX STICKY / NEO MENU HEADER
   ========================================================= */

@media (min-width: 901px) {
  .site-header-crucial,
  .site-header {
    position: sticky !important;
    top: 0 !important;
    z-index: 99999 !important;
    background: #ffffff !important;
    box-shadow: 0 2px 16px rgba(0, 0, 0, .08) !important;
    transform: translateZ(0) !important;
    will-change: transform !important;
  }

  .site-header-crucial.is-stuck,
  .site-header.is-stuck {
    box-shadow: 0 8px 26px rgba(0, 0, 0, .16) !important;
  }

  body {
    overflow-x: hidden !important;
  }

  main {
    position: relative !important;
    z-index: 1 !important;
  }

  .c-hero,
  .c-dark-zone,
  .c-picks-zone {
    position: relative !important;
    z-index: 1 !important;
  }
}

@media (max-width: 900px) {
  .m-site-header {
    position: sticky !important;
    top: 0 !important;
    z-index: 99999 !important;
    transform: translateZ(0) !important;
    will-change: transform !important;
  }

  .m-site-header.is-stuck {
    box-shadow: 0 8px 24px rgba(0, 0, 0, .22) !important;
  }

  .m-search-panel {
    z-index: 100000 !important;
  }

  section[id],
  .pdp-section,
  .product-section {
    scroll-margin-top: 86px !important;
  }
}


/* =========================================================
   V31 - PHÓNG TO KHỐI MEMORY / STORAGE / UPGRADE DESKTOP
   ========================================================= */

@media (min-width: 901px) {
  .c-dark-zone {
    padding-top: 26px !important;
    padding-bottom: 72px !important;
  }

  .c-showcase-grid {
    width: min(1400px, calc(100% - 72px)) !important;
    max-width: 1400px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    gap: 34px !important;
    align-items: stretch !important;
  }

  .c-showcase-card {
    min-height: 390px !important;
    padding: 26px 26px 28px !important;
    border-radius: 16px !important;
  }

  .c-showcase-head {
    margin-bottom: 24px !important;
  }

  .c-showcase-head h2 {
    font-size: 30px !important;
    line-height: 1.12 !important;
    margin-bottom: 12px !important;
  }

  .c-showcase-head p {
    font-size: 18px !important;
    line-height: 1.55 !important;
  }

  .c-showcase-head a {
    font-size: 17px !important;
  }

  .c-showcase-tiles {
    gap: 20px !important;
  }

  .c-showcase-tile {
    border-radius: 13px !important;
  }

  .c-showcase-image {
    min-height: 190px !important;
    aspect-ratio: 1 / .92 !important;
  }

  .c-showcase-image img {
    padding: 8px !important;
  }

  .c-showcase-caption {
    min-height: 72px !important;
    padding: 16px 18px !important;
    font-size: 20px !important;
    line-height: 1.2 !important;
  }

  .c-upgrade-strip {
    width: min(1400px, calc(100% - 72px)) !important;
    max-width: 1400px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-top: 66px !important;
    min-height: 170px !important;
    border-radius: 0 !important;
  }

  .c-upgrade-item {
    padding: 34px 40px !important;
  }

  .c-upgrade-item h3 {
    font-size: 30px !important;
    margin-bottom: 16px !important;
  }

  .c-upgrade-item p {
    font-size: 18px !important;
    line-height: 1.55 !important;
  }

  .c-upgrade-item a {
    min-height: 50px !important;
    padding: 0 34px !important;
    font-size: 16px !important;
  }
}

@media (min-width: 901px) and (max-width: 1180px) {
  .c-showcase-grid,
  .c-upgrade-strip {
    width: min(100% - 40px, 1100px) !important;
  }

  .c-showcase-card {
    padding: 22px !important;
  }

  .c-showcase-image {
    min-height: 150px !important;
  }

  .c-showcase-caption {
    font-size: 17px !important;
  }
}


/* =========================================================
   V38 - CRUCIAL-LIKE DESKTOP MEGA MENU
   ========================================================= */

@media (min-width: 901px) {
  .mega-site-header {
    position: sticky !important;
    top: 0 !important;
    z-index: 10000 !important;
    background: #fff !important;
    border-bottom: 1px solid #d7d7dc !important;
    box-shadow: none !important;
  }

  .mega-header-row {
    min-height: 90px !important;
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr) auto !important;
    gap: 36px !important;
    align-items: center !important;
  }

  .mega-nav {
    display: flex !important;
    align-items: stretch !important;
    gap: 0 !important;
    height: 90px !important;
  }

  .mega-nav-item {
    display: flex !important;
    align-items: stretch !important;
  }

  .mega-nav-link {
    display: inline-flex !important;
    align-items: center !important;
    height: 90px !important;
    padding: 0 18px !important;
    border-bottom: 3px solid transparent !important;
    color: #000 !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
  }

  .mega-nav-link:hover,
  .mega-nav-link.is-active {
    color: #0057ff !important;
    border-bottom-color: #0057ff !important;
  }

  .mega-nav-link.upgrade-link {
    color: #1e4fff !important;
  }

  .mega-panel {
    position: absolute;
    left: 0;
    right: 0;
    top: 90px;
    z-index: 9999;
    background: #fff;
    border-top: 1px solid #dedee3;
    border-bottom: 1px solid #dedee3;
    box-shadow: 0 18px 42px rgba(15, 23, 42, .10);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
  }

  .mega-site-header.is-mega-open .mega-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  .mega-panel-inner {
    padding: 34px 0 30px !important;
  }

  .mega-content {
    display: none;
  }

  .mega-content.is-active {
    display: block;
  }

  .mega-shop-all {
    margin-bottom: 30px;
  }

  .mega-shop-all a {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #0057ff;
    font-size: 17px;
    font-weight: 800;
    text-decoration: none;
  }

  .mega-shop-all span {
    font-size: 26px;
    line-height: 1;
  }

  .mega-columns {
    display: grid;
    grid-template-columns: 180px minmax(420px, 1fr) 390px;
    gap: 64px;
    align-items: start;
  }

  .mega-column-title {
    margin: 0 0 22px;
    color: #7a7f89;
    font-size: 15px;
    font-weight: 500;
  }

  .mega-column-simple {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  .mega-column-simple a {
    color: #000;
    font-size: 17px;
    font-weight: 800;
    text-decoration: none;
    line-height: 1.35;
  }

  .mega-column-simple a:hover {
    color: #0057ff;
  }

  .mega-tech-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px 38px;
  }

  .mega-tech-grid .mega-column-title {
    grid-column: 1 / -1;
    margin-bottom: 0;
  }

  .mega-tech-item {
    display: grid;
    grid-template-columns: 74px minmax(0, 1fr);
    gap: 18px;
    align-items: center;
    color: #000;
    text-decoration: none;
    min-height: 76px;
  }

  .mega-tech-item strong {
    display: block;
    margin-bottom: 7px;
    color: #000;
    font-size: 18px;
    line-height: 1.2;
  }

  .mega-tech-item small {
    display: block;
    color: #3d4754;
    font-size: 14px;
    line-height: 1.35;
  }

  .mega-tech-item:hover strong {
    color: #0057ff;
  }

  .mega-tech-img,
  .mega-featured-img {
    display: block;
    background:
      radial-gradient(circle at 30% 30%, rgba(255,255,255,.18), transparent 34%),
      linear-gradient(135deg, #e9edf3 0%, #cfd6e1 45%, #10151f 46%, #1b2432 100%);
    overflow: hidden;
  }

  .mega-tech-img {
    width: 74px;
    height: 54px;
    border-radius: 3px;
  }

  .mega-tech-img::after,
  .mega-featured-img::after {
    content: "";
    display: block;
    width: 82%;
    height: 18%;
    margin: 35% auto 0;
    background: linear-gradient(90deg, #0b7f3a, #2a8f4b, #0a4f2b);
    border: 1px solid rgba(255,255,255,.25);
  }

  .mega-tech-img.ram-a,
  .mega-tech-img.ram-c,
  .mega-featured-img.dark-ram {
    background: linear-gradient(135deg, #f3f5f8, #d4dae4 44%, #111827 45%, #1f2937);
  }

  .mega-tech-img.ram-b,
  .mega-tech-img.ram-d,
  .mega-featured-img.white-ram {
    background: linear-gradient(135deg, #f7f7f7, #dfe3ea 55%, #ffffff 56%, #cfd6e1);
  }

  .mega-tech-img.ssd-a,
  .mega-tech-img.ssd-b,
  .mega-featured-img.nvme {
    background: linear-gradient(135deg, #0f172a, #1f2937);
  }

  .mega-tech-img.ssd-c,
  .mega-tech-img.ssd-d,
  .mega-featured-img.sata {
    background: linear-gradient(135deg, #e5e7eb, #111827 55%, #1d4ed8);
  }

  .mega-tech-img.module-a,
  .mega-tech-img.module-b,
  .mega-tech-img.module-c,
  .mega-tech-img.module-d,
  .mega-featured-img.module,
  .mega-featured-img.psu {
    background: linear-gradient(135deg, #0f766e, #0f172a 55%, #38bdf8);
  }

  .mega-featured-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
  }

  .mega-featured-card {
    display: block;
    color: #000;
    text-decoration: none;
  }

  .mega-featured-img {
    width: 100%;
    aspect-ratio: 1.32 / 1;
    border-radius: 4px;
    background-color: #f3f4f6;
    margin-bottom: 22px;
  }

  .mega-featured-card strong {
    display: block;
    color: #000;
    font-size: 18px;
    line-height: 1.35;
    font-weight: 900;
  }

  .mega-featured-card:hover strong {
    color: #0057ff;
  }

  .support-columns {
    grid-template-columns: 220px 260px minmax(320px, 1fr);
  }

  .mega-support-card {
    border: 1px solid #d9d9de;
    padding: 24px;
    background: #f8fafc;
  }

  .mega-support-card strong {
    display: block;
    margin-bottom: 10px;
    font-size: 22px;
    color: #000;
  }

  .mega-support-card p {
    margin: 0 0 18px;
    color: #475467;
    font-size: 15px;
    line-height: 1.6;
  }

  .mega-support-card a {
    color: #0057ff;
    font-weight: 800;
    text-decoration: none;
  }

  .desktop-header-tools {
    display: flex !important;
    align-items: center !important;
    gap: 20px !important;
  }

  .search-crucial {
    width: 190px !important;
    min-height: 42px !important;
  }

  .cart-pill-light {
    display: none !important;
  }
}

@media (min-width: 901px) and (max-width: 1200px) {
  .mega-header-row {
    gap: 20px !important;
  }

  .mega-nav-link {
    padding: 0 10px !important;
    font-size: 14px !important;
  }

  .mega-columns {
    grid-template-columns: 150px 1fr 300px;
    gap: 34px;
  }

  .mega-tech-grid {
    gap: 20px;
  }
}

@media (max-width: 900px) {
  .mega-site-header {
    display: none !important;
  }
}


/* =========================================================
   V39 - CRUCIAL-LIKE FOOTER
   ========================================================= */

.crucial-footer {
  background: #ffffff;
  color: #000000;
  border-top: 1px solid #ececec;
  font-family: Arial, Tahoma, "Helvetica Neue", Helvetica, sans-serif;
}

.crucial-footer-main {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 56px;
  padding-top: 70px;
  padding-bottom: 54px;
}

.crucial-footer-brand {
  padding-right: 46px;
  border-right: 1px solid #d9d9de;
}

.crucial-footer-logo {
  display: inline-flex;
  flex-direction: column;
  gap: 1px;
  margin-bottom: 28px;
  color: #000;
  text-decoration: none;
  line-height: .88;
}

.crucial-footer-logo span {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .02em;
}

.crucial-footer-logo strong {
  font-size: 34px;
  font-weight: 900;
  letter-spacing: -.045em;
}

.crucial-footer-brand p {
  margin: 0 0 48px;
  color: #252525;
  font-size: 14px;
  line-height: 1.7;
}

.crucial-footer-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 156px;
  min-height: 50px;
  padding: 0 26px;
  border: 2px solid #006bff;
  border-radius: 999px;
  color: #006bff;
  background: #fff;
  font-size: 17px;
  font-weight: 800;
  text-decoration: none;
}

.crucial-footer-contact:hover {
  background: #006bff;
  color: #fff;
}

.crucial-footer-columns {
  display: grid;
  grid-template-columns: 1.18fr 1fr 1fr 1fr;
  gap: 54px;
  align-items: start;
}

.crucial-footer-col {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.crucial-footer-col h4 {
  margin: 0 0 12px;
  color: #000;
  font-size: 17px;
  line-height: 1.25;
  font-weight: 900;
}

.crucial-footer-col .footer-subtitle {
  margin-top: 20px;
}

.crucial-footer-col a,
.crucial-footer-col .footer-muted {
  color: #111;
  font-size: 15px;
  line-height: 1.25;
  text-decoration: none;
  font-weight: 400;
}

.crucial-footer-col a:hover {
  color: #006bff;
}

.crucial-footer-col .footer-muted {
  color: #8a8f99;
}

.crucial-footer-col .footer-gap {
  margin-top: 20px;
}

.crucial-footer-bottom {
  border-top: 1px solid #ececec;
  background: #fff;
}

.crucial-footer-bottom-inner {
  min-height: 70px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
}

.crucial-footer-locale {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #111;
  font-size: 15px;
  font-weight: 800;
}

.crucial-footer-locale svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.crucial-footer-copy {
  color: #111;
  font-size: 13px;
  text-align: center;
  white-space: nowrap;
}

.crucial-footer-socials {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 18px;
}

.crucial-footer-socials a {
  width: 25px;
  height: 25px;
  display: inline-grid;
  place-items: center;
  color: #000;
  text-decoration: none;
}

.crucial-footer-socials svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.crucial-footer-socials a:hover {
  color: #006bff;
}

@media (max-width: 1100px) {
  .crucial-footer-main {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .crucial-footer-brand {
    padding-right: 0;
    border-right: 0;
    border-bottom: 1px solid #d9d9de;
    padding-bottom: 32px;
  }

  .crucial-footer-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px;
  }
}

@media (max-width: 720px) {
  .crucial-footer-main {
    padding-top: 44px;
    padding-bottom: 34px;
  }

  .crucial-footer-columns {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .crucial-footer-bottom-inner {
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 12px;
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .crucial-footer-copy {
    text-align: left;
    white-space: normal;
  }

  .crucial-footer-socials {
    justify-content: flex-start;
  }
}


/* =========================================================
   V40 - PHÓNG TO HERO BANNER + TRANG DANH MỤC + FOOTER
   ========================================================= */

/* Product catalog page bigger, closer to Crucial catalog scale */
@media (min-width: 901px) {
  .crucial-catalog .crucial-wrap {
    width: min(1500px, calc(100% - 72px)) !important;
  }

  .crucial-featured {
    background: linear-gradient(90deg, #050505 0%, #050505 50%, #151b2b 50%, #151b2b 100%) !important;
    border-top: 0 !important;
    border-bottom: 0 !important;
    color: #fff !important;
    overflow: hidden !important;
  }

  .crucial-featured-inner {
    min-height: 360px !important;
    grid-template-columns: minmax(0, .95fr) minmax(420px, 1.05fr) !important;
    gap: 56px !important;
    padding: 0 !important;
    position: relative !important;
  }

  .crucial-featured-label {
    display: none !important;
  }

  .crucial-featured-image {
    grid-column: 2 !important;
    grid-row: 1 !important;
    height: 360px !important;
    width: 100% !important;
    background:
      radial-gradient(circle at 30% 20%, rgba(255,255,255,.18), transparent 22%),
      linear-gradient(135deg, #f0008d 0%, #5224a5 45%, #0734d8 100%) !important;
    overflow: hidden !important;
  }

  .crucial-featured-image img {
    max-width: 78% !important;
    max-height: 78% !important;
    object-fit: contain !important;
    filter: drop-shadow(0 24px 32px rgba(0,0,0,.34)) !important;
    transform: scale(1.24) translateX(4%) !important;
  }

  .crucial-featured-copy {
    grid-column: 1 !important;
    grid-row: 1 !important;
    align-self: center !important;
    padding-left: 24px !important;
    color: #fff !important;
  }

  .crucial-featured-copy h2 {
    max-width: 650px !important;
    color: #fff !important;
    font-size: clamp(38px, 4.1vw, 68px) !important;
    line-height: 1.05 !important;
    letter-spacing: -.04em !important;
    font-weight: 900 !important;
    margin-bottom: 16px !important;
  }

  .crucial-featured-copy p {
    max-width: 620px !important;
    color: #fff !important;
    font-size: 20px !important;
    line-height: 1.45 !important;
    font-weight: 600 !important;
  }

  .crucial-featured-cta {
    position: absolute !important;
    left: 24px !important;
    bottom: 42px !important;
    min-height: 52px !important;
    min-width: 156px !important;
    padding: 0 32px !important;
    border: 2px solid #006bff !important;
    font-size: 17px !important;
  }

  .crucial-content {
    padding: 56px 0 84px !important;
  }

  .crucial-topline {
    align-items: center !important;
    margin-bottom: 42px !important;
    padding-bottom: 34px !important;
    border-bottom: 1px solid #d9dde4 !important;
  }

  .crucial-summary span {
    font-size: 42px !important;
    line-height: 1.08 !important;
    letter-spacing: -.035em !important;
    font-weight: 900 !important;
  }

  .crucial-summary strong {
    font-size: 18px !important;
    margin-top: 8px !important;
  }

  .crucial-summary small {
    font-size: 16px !important;
    font-weight: 700 !important;
  }

  .crucial-search input {
    width: 360px !important;
    min-height: 54px !important;
    padding: 0 22px !important;
    font-size: 16px !important;
  }

  .crucial-search button {
    min-height: 54px !important;
    padding: 0 34px !important;
    font-size: 16px !important;
  }

  .crucial-sort label {
    font-size: 16px !important;
  }

  .crucial-sort select {
    min-width: 180px !important;
    min-height: 46px !important;
    font-size: 15px !important;
  }

  .crucial-layout {
    grid-template-columns: 260px minmax(0, 1fr) !important;
    gap: 44px !important;
  }

  .crucial-clear {
    font-size: 16px !important;
    margin-bottom: 18px !important;
  }

  .crucial-accordion summary {
    padding: 20px 0 !important;
    font-size: 18px !important;
  }

  .crucial-filter-body {
    gap: 13px !important;
    padding-bottom: 18px !important;
  }

  .crucial-filter-link {
    font-size: 16px !important;
    line-height: 1.35 !important;
  }

  .crucial-filter-count {
    font-size: 14px !important;
  }

  .crucial-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 54px 44px !important;
  }

  .crucial-badge-row {
    min-height: 22px !important;
    margin-bottom: 10px !important;
  }

  .crucial-badge {
    min-height: 20px !important;
    padding: 3px 9px !important;
    font-size: 11px !important;
  }

  .crucial-card-media {
    min-height: 230px !important;
    padding: 26px !important;
    border-radius: 8px !important;
  }

  .crucial-card-media img {
    max-height: 172px !important;
  }

  .crucial-card-media span {
    font-size: 15px !important;
  }

  .crucial-card-brand {
    margin-top: 18px !important;
    font-size: 15px !important;
  }

  .crucial-card-title {
    margin: 8px 0 10px !important;
    font-size: 23px !important;
    line-height: 1.28 !important;
  }

  .crucial-card-sku {
    font-size: 15px !important;
    margin-bottom: 12px !important;
  }

  .crucial-card-desc {
    font-size: 15px !important;
    line-height: 1.55 !important;
    min-height: 68px !important;
    margin-bottom: 18px !important;
  }

  .crucial-price {
    margin-bottom: 18px !important;
  }

  .crucial-price strong {
    font-size: 25px !important;
  }

  .crucial-price del {
    font-size: 15px !important;
  }

  .crucial-card-actions {
    gap: 18px !important;
  }

  .crucial-buy-btn,
  .crucial-detail-btn {
    min-height: 42px !important;
    padding: 0 24px !important;
    font-size: 15px !important;
  }
}

/* Bigger Crucial-like footer */
@media (min-width: 901px) {
  .crucial-footer-main {
    width: min(1500px, calc(100% - 72px)) !important;
    grid-template-columns: 360px minmax(0, 1fr) !important;
    gap: 72px !important;
    padding-top: 92px !important;
    padding-bottom: 76px !important;
  }

  .crucial-footer-brand {
    padding-right: 64px !important;
  }

  .crucial-footer-logo {
    margin-bottom: 34px !important;
  }

  .crucial-footer-logo span {
    font-size: 15px !important;
  }

  .crucial-footer-logo strong {
    font-size: 44px !important;
  }

  .crucial-footer-brand p {
    font-size: 16px !important;
    line-height: 1.75 !important;
    margin-bottom: 58px !important;
  }

  .crucial-footer-contact {
    min-width: 178px !important;
    min-height: 56px !important;
    font-size: 19px !important;
  }

  .crucial-footer-columns {
    gap: 72px !important;
  }

  .crucial-footer-col h4 {
    font-size: 20px !important;
    margin-bottom: 16px !important;
  }

  .crucial-footer-col a,
  .crucial-footer-col .footer-muted {
    font-size: 17px !important;
    line-height: 1.35 !important;
  }

  .crucial-footer-col {
    gap: 17px !important;
  }

  .crucial-footer-bottom-inner {
    width: min(1500px, calc(100% - 72px)) !important;
    min-height: 86px !important;
  }

  .crucial-footer-locale,
  .crucial-footer-copy {
    font-size: 16px !important;
  }

  .crucial-footer-socials {
    gap: 22px !important;
  }

  .crucial-footer-socials a,
  .crucial-footer-socials svg {
    width: 30px !important;
    height: 30px !important;
  }
}

@media (max-width: 1100px) {
  .crucial-featured-inner {
    min-height: auto !important;
    grid-template-columns: 1fr !important;
    padding: 38px 0 !important;
  }

  .crucial-featured-image {
    grid-column: auto !important;
    grid-row: auto !important;
    height: 240px !important;
  }

  .crucial-featured-copy {
    grid-column: auto !important;
    grid-row: auto !important;
    padding-left: 0 !important;
  }

  .crucial-featured-cta {
    position: static !important;
    justify-self: start !important;
  }
}

@media (max-width: 760px) {
  .crucial-featured-copy h2 {
    font-size: 34px !important;
  }

  .crucial-featured-copy p {
    font-size: 16px !important;
  }

  .crucial-card-media {
    min-height: 180px !important;
  }

  .crucial-card-title {
    font-size: 21px !important;
  }
}


/* =========================================================
   V41 - VIỆT HÓA DANH MỤC + BỎ THANH TÌM KIẾM
   ========================================================= */

.crucial-search {
  display: none !important;
}

.crucial-search-sort {
  gap: 14px !important;
}

@media (min-width: 901px) {
  .crucial-topline {
    grid-template-columns: minmax(0, 1fr) auto !important;
  }

  .crucial-sort {
    justify-content: flex-end !important;
  }

  .crucial-sort select {
    min-width: 210px !important;
  }
}

@media (max-width: 760px) {
  .crucial-search-sort {
    align-items: flex-start !important;
  }

  .crucial-sort {
    width: 100% !important;
  }

  .crucial-sort select {
    width: 100% !important;
  }
}


/* V42 - đảm bảo thanh neo sản phẩm không bị CSS Việt hóa đè mất */
.cp-sticky-productbar.is-visible {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

/* V43 - Fix products.php parse error do fetchAll bị Việt hóa nhầm */

/* V43.1 - Fix lỗi biến currentCategoryName và bỏ form tìm kiếm danh mục */


/* =========================================================
   V44 - FONT VIỆT HÓA TOÀN WEBSITE: BE VIETNAM PRO
   ========================================================= */

:root {
  --font-main: "Be Vietnam Pro", Arial, Tahoma, "Helvetica Neue", Helvetica, sans-serif !important;
}

html,
body,
button,
input,
select,
textarea,
a,
p,
span,
small,
strong,
b,
em,
label,
summary,
table,
th,
td,
div,
section,
article,
aside,
nav,
header,
footer,
main,
h1,
h2,
h3,
h4,
h5,
h6,
.site-header,
.site-header *,
.m-site-header,
.m-site-header *,
.m-menu-drawer,
.m-menu-drawer *,
.crucial-catalog,
.crucial-catalog *,
.cp-pdp,
.cp-pdp *,
.crucial-footer,
.crucial-footer *,
.mega-panel,
.mega-panel *,
.admin-page,
.admin-page *,
.admin-wrap,
.admin-wrap *,
.form-card,
.form-card *,
.product-form,
.product-form * {
  font-family: var(--font-main) !important;
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
  text-rendering: geometricPrecision !important;
}

body {
  font-feature-settings: "kern" 1, "liga" 1 !important;
  font-synthesis-weight: none !important;
}

input::placeholder,
textarea::placeholder {
  font-family: var(--font-main) !important;
  color: #667085 !important;
}

/* Logo dùng cùng font Việt, không bị lỗi dấu */
.logo,
.logo *,
.crucial-logo,
.crucial-logo *,
.m-logo,
.m-logo *,
.crucial-footer-logo,
.crucial-footer-logo * {
  font-family: var(--font-main) !important;
  letter-spacing: -0.04em;
}

/* Chặn các style cũ còn sót Segoe/Arial đè lên tiếng Việt */
[style*="font-family"],
[style*="font:"] {
  font-family: var(--font-main) !important;
}


/* =========================================================
   V45 - BỘ LỌC THÔNG MINH THEO DANH MỤC
   ========================================================= */

.crucial-filter-smart-note {
  margin: 0 0 18px;
  padding: 12px 14px;
  border-left: 3px solid #006bff;
  background: #f3f7ff;
  color: #344054;
  font-size: 14px;
  line-height: 1.55;
}

.crucial-filter-smart-note strong {
  color: #0057ff;
}


/* =========================================================
   V46 - ẨN BỘ LỌC DANH MỤC, CHỈ GIỮ THUỘC TÍNH SẢN PHẨM
   ========================================================= */

.crucial-sidebar .crucial-filter-smart-note {
  display: none !important;
}


/* =========================================================
   V47 - SIDEBAR CHỈ HIỆN THUỘC TÍNH THEO DANH MỤC
   ========================================================= */

.crucial-filter-empty {
  margin-top: 18px;
  color: #667085;
  font-size: 15px;
  line-height: 1.6;
}


/* =========================================================
   V48 - MOBILE HEADER / FOOTER CATALOG OVERRIDES
   ========================================================= */
@media (max-width:900px){
  .m-header-bar{min-height:60px;padding:0 18px;border-bottom:1px solid #d9dde4}
  .m-logo strong,.m-drawer-title{font-size:22px;font-weight:900;letter-spacing:-.04em}
  .m-logo-mini{font-size:11px}
  .m-header-actions{gap:8px}
  .m-icon-btn{width:28px;height:28px}
  .m-icon-btn svg{width:22px;height:22px}
  .m-search-panel{padding:0 18px 14px}
}


/* =========================================================
   V49 - CHẶN LỖI FONT TOÀN WEBSITE, KỂ CẢ BẢNG THÔNG SỐ
   ========================================================= */

@font-face {
  font-family: "Be Vietnam Pro Fallback";
  src: local("Be Vietnam Pro");
  font-display: swap;
}

html body,
html body *,
html body table,
html body table *,
html body [class*="spec"],
html body [class*="spec"] *,
html body [class*="table"],
html body [class*="table"] * {
  font-family: "Be Vietnam Pro", "Be Vietnam Pro Fallback", Arial, Tahoma, "Helvetica Neue", Helvetica, sans-serif !important;
  font-synthesis: none !important;
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
}

table th,
table td {
  letter-spacing: 0 !important;
}


/* =========================================================
   V51 - FIX FOOTER BỊ VỠ GIAO DIỆN NGOÀI TRANG DANH MỤC
   ========================================================= */

/* Desktop footer chuẩn Crucial */
.crucial-footer {
  background: #ffffff !important;
  color: #000000 !important;
  border-top: 1px solid #ececec !important;
  font-family: "Be Vietnam Pro", Arial, Tahoma, "Helvetica Neue", Helvetica, sans-serif !important;
}

.crucial-footer-main {
  display: grid !important;
  grid-template-columns: 360px minmax(0, 1fr) !important;
  gap: 72px !important;
  width: min(1500px, calc(100% - 72px)) !important;
  margin: 0 auto !important;
  padding-top: 92px !important;
  padding-bottom: 76px !important;
}

.crucial-footer-brand {
  padding-right: 64px !important;
  border-right: 1px solid #d9d9de !important;
}

.crucial-footer-logo {
  display: inline-flex !important;
  flex-direction: column !important;
  gap: 1px !important;
  margin-bottom: 34px !important;
  color: #000 !important;
  text-decoration: none !important;
  line-height: .88 !important;
}

.crucial-footer-logo span {
  font-size: 15px !important;
  font-weight: 700 !important;
  letter-spacing: .02em !important;
}

.crucial-footer-logo strong {
  font-size: 44px !important;
  font-weight: 900 !important;
  letter-spacing: -.045em !important;
}

.crucial-footer-brand p {
  margin: 0 0 58px !important;
  color: #252525 !important;
  font-size: 16px !important;
  line-height: 1.75 !important;
}

.crucial-footer-contact {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 178px !important;
  min-height: 56px !important;
  padding: 0 30px !important;
  border: 2px solid #006bff !important;
  border-radius: 999px !important;
  color: #006bff !important;
  background: #fff !important;
  font-size: 19px !important;
  font-weight: 800 !important;
  text-decoration: none !important;
}

.crucial-footer-contact:hover {
  background: #006bff !important;
  color: #fff !important;
}

.crucial-footer-columns {
  display: grid !important;
  grid-template-columns: 1.18fr 1fr 1fr 1fr !important;
  gap: 72px !important;
  align-items: start !important;
}

.crucial-footer-col {
  display: flex !important;
  flex-direction: column !important;
  gap: 17px !important;
}

.crucial-footer-col h4 {
  margin: 0 0 16px !important;
  color: #000 !important;
  font-size: 20px !important;
  line-height: 1.25 !important;
  font-weight: 900 !important;
}

.crucial-footer-col .footer-subtitle {
  margin-top: 20px !important;
}

.crucial-footer-col a,
.crucial-footer-col .footer-muted {
  color: #111 !important;
  font-size: 17px !important;
  line-height: 1.35 !important;
  text-decoration: none !important;
  font-weight: 400 !important;
}

.crucial-footer-col a:hover {
  color: #006bff !important;
}

.crucial-footer-col .footer-muted {
  color: #8a8f99 !important;
}

.crucial-footer-col .footer-gap {
  margin-top: 20px !important;
}

.crucial-footer-mobile {
  display: none !important;
}

.crucial-footer-bottom {
  border-top: 1px solid #ececec !important;
  background: #fff !important;
}

.crucial-footer-bottom-inner {
  width: min(1500px, calc(100% - 72px)) !important;
  min-height: 86px !important;
  margin: 0 auto !important;
  display: grid !important;
  grid-template-columns: 1fr auto 1fr !important;
  gap: 24px !important;
  align-items: center !important;
}

.crucial-footer-locale {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  color: #111 !important;
  font-size: 16px !important;
  font-weight: 800 !important;
}

.crucial-footer-locale svg {
  width: 24px !important;
  height: 24px !important;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 2 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}

.crucial-footer-copy {
  color: #111 !important;
  font-size: 16px !important;
  text-align: center !important;
  white-space: nowrap !important;
}

.crucial-footer-socials {
  display: flex !important;
  justify-content: flex-end !important;
  align-items: center !important;
  gap: 22px !important;
}

.crucial-footer-socials a {
  width: 30px !important;
  height: 30px !important;
  display: inline-grid !important;
  place-items: center !important;
  color: #000 !important;
  text-decoration: none !important;
}

.crucial-footer-socials svg {
  width: 30px !important;
  height: 30px !important;
  fill: currentColor !important;
}

.crucial-footer-socials a:hover {
  color: #006bff !important;
}

/* Mobile footer giống Crucial: brand + accordion */
@media (max-width: 900px) {
  .crucial-footer {
    background: #f5f5f5 !important;
    margin-top: 10px !important;
    border-top: 0 !important;
  }

  .crucial-footer-main,
  .crucial-footer-columns {
    display: none !important;
  }

  .crucial-footer-mobile {
    display: block !important;
    padding: 26px 18px 10px !important;
    background: #f5f5f5 !important;
  }

  .crucial-footer-mobile .crucial-footer-brand {
    display: block !important;
    padding: 0 0 22px !important;
    border-right: 0 !important;
    border-bottom: 1px solid #e4e4e4 !important;
    margin-bottom: 16px !important;
  }

  .crucial-footer-mobile .crucial-footer-logo {
    display: inline-flex !important;
    margin-bottom: 18px !important;
    color: #000 !important;
  }

  .crucial-footer-mobile .crucial-footer-logo span {
    font-size: 12px !important;
  }

  .crucial-footer-mobile .crucial-footer-logo strong {
    font-size: 34px !important;
  }

  .crucial-footer-mobile .crucial-footer-brand p {
    font-size: 15px !important;
    line-height: 1.75 !important;
    color: #111827 !important;
    margin: 0 0 22px !important;
  }

  .crucial-footer-mobile .crucial-footer-contact {
    min-width: 140px !important;
    min-height: 42px !important;
    padding: 0 28px !important;
    font-size: 16px !important;
    background: #fff !important;
  }

  .crucial-footer-mobile-accordion details {
    display: block !important;
    border-bottom: 1px solid #e4e4e4 !important;
  }

  .crucial-footer-mobile-accordion summary {
    list-style: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    padding: 18px 0 !important;
    font-size: 17px !important;
    font-weight: 800 !important;
    color: #111827 !important;
    cursor: pointer !important;
  }

  .crucial-footer-mobile-accordion summary::-webkit-details-marker {
    display: none !important;
  }

  .crucial-footer-mobile-accordion summary::after {
    content: "⌄" !important;
    color: #667085 !important;
    font-size: 20px !important;
    line-height: 1 !important;
  }

  .crucial-footer-mobile-accordion details[open] summary::after {
    transform: rotate(180deg) !important;
  }

  .crucial-footer-mobile-links {
    display: grid !important;
    gap: 10px !important;
    padding: 0 0 16px !important;
  }

  .crucial-footer-mobile-links a,
  .crucial-footer-mobile-links .footer-muted {
    color: #111827 !important;
    text-decoration: none !important;
    font-size: 15px !important;
    line-height: 1.5 !important;
  }

  .crucial-footer-mobile-links .footer-muted {
    color: #667085 !important;
    margin-top: 8px !important;
  }

  .crucial-footer-bottom {
    border-top: 1px solid #e4e4e4 !important;
    background: #f5f5f5 !important;
  }

  .crucial-footer-bottom-inner {
    width: 100% !important;
    min-height: auto !important;
    padding: 18px 18px 92px !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    justify-items: center !important;
  }

  .crucial-footer-copy,
  .crucial-footer-socials {
    display: none !important;
  }

  .crucial-footer-locale {
    justify-content: center !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    color: #111827 !important;
  }
}


/* =========================================================
   V52 - MENU HEADER LẤY DANH MỤC TỪ DATABASE
   ========================================================= */

.dynamic-category-nav {
  display: flex !important;
  align-items: center !important;
  gap: 24px !important;
  min-width: 0 !important;
  overflow-x: auto !important;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
  white-space: nowrap !important;
}

.dynamic-category-nav::-webkit-scrollbar {
  display: none !important;
}

.dynamic-category-nav .mega-nav-item {
  flex: 0 0 auto !important;
}

.dynamic-category-nav .mega-nav-link {
  white-space: nowrap !important;
}

@media (min-width: 901px) {
  .mega-header-row {
    grid-template-columns: auto minmax(0, 1fr) auto !important;
  }

  .desktop-header-tools {
    flex: 0 0 auto !important;
  }

  .dynamic-category-nav {
    max-width: 100% !important;
  }
}

@media (max-width: 900px) {
  .m-menu-list {
    overflow-y: auto !important;
  }
}


/* =========================================================
   V53 - GIỎ HÀNG DÙNG ĐÚNG GIÁ BIẾN THỂ
   ========================================================= */

.cart-variant,
.cart-sku {
  margin-top: 6px;
  color: #667085;
  font-size: 13px;
  line-height: 1.45;
}

.cart-table td strong {
  font-weight: 700;
}

@media (max-width: 760px) {
  .cart-table,
  .cart-table thead,
  .cart-table tbody,
  .cart-table tr,
  .cart-table th,
  .cart-table td {
    display: block;
    width: 100%;
  }

  .cart-table thead {
    display: none;
  }

  .cart-table tr {
    border: 1px solid #e4e7ec;
    border-radius: 14px;
    padding: 12px;
    margin-bottom: 12px;
    background: #fff;
  }

  .cart-table td {
    border: 0 !important;
    padding: 8px 0 !important;
  }

  .cart-table td:nth-child(2)::before {
    content: "Giá: ";
    font-weight: 700;
  }

  .cart-table td:nth-child(4)::before {
    content: "Tạm tính: ";
    font-weight: 700;
  }

  .cart-actions {
    gap: 14px;
    align-items: stretch;
  }

  .cart-actions h2 {
    text-align: center;
  }
}


/* =========================================================
   V54 - KHÔI PHỤC MENU BAN ĐẦU + DANH MỤC ĐỘNG KHÔNG VỠ LAYOUT
   ========================================================= */

.restored-main-nav {
  display: flex !important;
  align-items: center !important;
  gap: 28px !important;
  min-width: 0 !important;
  overflow: visible !important;
  white-space: nowrap !important;
}

.restored-main-nav .mega-nav-item {
  position: relative !important;
  flex: 0 0 auto !important;
}

.restored-main-nav .mega-nav-link,
.restored-main-nav .category-dropdown-toggle {
  appearance: none !important;
  border: 0 !important;
  background: transparent !important;
  color: #111827 !important;
  font: inherit !important;
  font-weight: 800 !important;
  font-size: 15px !important;
  line-height: 1 !important;
  padding: 30px 0 !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  text-decoration: none !important;
}

.restored-main-nav .mega-nav-link:hover,
.restored-main-nav .category-dropdown-toggle:hover,
.restored-main-nav .upgrade-link {
  color: #0057ff !important;
}

.category-dropdown-panel {
  position: absolute !important;
  top: calc(100% + 1px) !important;
  left: 50% !important;
  transform: translateX(-50%) translateY(8px) !important;
  width: min(760px, calc(100vw - 48px)) !important;
  max-height: min(70vh, 520px) !important;
  overflow: auto !important;
  background: #fff !important;
  border: 1px solid #e4e7ec !important;
  box-shadow: 0 24px 60px rgba(16,24,40,.16) !important;
  padding: 18px !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  z-index: 200 !important;
}

.category-dropdown:hover .category-dropdown-panel,
.category-dropdown:focus-within .category-dropdown-panel {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translateX(-50%) translateY(0) !important;
}

.category-dropdown-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 10px !important;
}

.category-dropdown-grid a {
  display: grid !important;
  gap: 5px !important;
  padding: 13px 14px !important;
  border-radius: 12px !important;
  color: #111827 !important;
  background: #f8fafc !important;
  border: 1px solid #edf0f4 !important;
  text-decoration: none !important;
}

.category-dropdown-grid a:hover {
  border-color: #0057ff !important;
  background: #f3f7ff !important;
}

.category-dropdown-grid span {
  font-size: 14px !important;
  font-weight: 800 !important;
  line-height: 1.35 !important;
}

.category-dropdown-grid small {
  color: #667085 !important;
  font-size: 12px !important;
  line-height: 1.35 !important;
}

@media (min-width: 901px) {
  .mega-header-row {
    grid-template-columns: auto minmax(0, 1fr) auto !important;
    gap: 34px !important;
    overflow: visible !important;
  }

  .mega-site-header,
  .mega-site-header .container,
  .site-header,
  .site-header .container {
    overflow: visible !important;
  }

  .desktop-header-tools {
    flex: 0 0 auto !important;
  }

  .search-crucial {
    width: 220px !important;
    max-width: 22vw !important;
  }
}

@media (max-width: 1200px) and (min-width: 901px) {
  .restored-main-nav {
    gap: 18px !important;
  }

  .restored-main-nav .mega-nav-link,
  .restored-main-nav .category-dropdown-toggle {
    font-size: 14px !important;
  }

  .cart-pill-light {
    display: none !important;
  }
}

@media (max-width: 900px) {
  .category-dropdown-panel {
    display: none !important;
  }
}


/* =========================================================
   V55 - GIAO DIỆN THANH TOÁN CHUẨN CARD, KHÔNG VỠ FORM
   ========================================================= */

.checkout-page-v55 {
  background:
    radial-gradient(circle at 15% 0%, rgba(0, 107, 255, .08), transparent 32%),
    #f4f7fb;
  padding: 72px 0 88px;
}

.checkout-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.checkout-heading {
  max-width: 720px;
  margin-bottom: 28px;
}

.checkout-eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: #eaf2ff;
  color: #0057ff;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 14px;
}

.checkout-heading h1 {
  margin: 0 0 10px;
  color: #071428;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: -.04em;
  font-weight: 900;
}

.checkout-heading p {
  margin: 0;
  color: #475467;
  font-size: 17px;
  line-height: 1.65;
}

.checkout-grid-v55 {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, .9fr);
  gap: 24px;
  align-items: start;
}

.checkout-form-v55,
.checkout-summary-v55,
.checkout-success-card {
  background: #fff;
  border: 1px solid #dfe5ee;
  border-radius: 24px;
  box-shadow: 0 18px 45px rgba(16, 24, 40, .08);
}

.checkout-form-v55,
.checkout-summary-v55 {
  padding: 26px;
}

.checkout-card-title {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding-bottom: 20px;
  margin-bottom: 22px;
  border-bottom: 1px solid #edf0f4;
}

.checkout-card-title > span {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: #eaf2ff;
  color: #0057ff;
  font-weight: 900;
  font-size: 14px;
}

.checkout-card-title h2 {
  margin: 0 0 4px;
  color: #071428;
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -.02em;
  font-weight: 900;
}

.checkout-card-title p {
  margin: 0;
  color: #667085;
  font-size: 14px;
  line-height: 1.55;
}

.checkout-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.checkout-field {
  display: grid;
  gap: 8px;
  color: #111827;
  font-weight: 800;
  font-size: 14px;
}

.checkout-field-full {
  grid-column: 1 / -1;
}

.checkout-field input,
.checkout-field textarea {
  width: 100%;
  border: 1px solid #cfd7e6;
  border-radius: 14px;
  background: #fff;
  outline: 0;
  padding: 13px 14px;
  color: #101828;
  font-size: 15px;
  line-height: 1.5;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.checkout-field input {
  min-height: 48px;
}

.checkout-field textarea {
  resize: vertical;
  min-height: 104px;
}

.checkout-field input:focus,
.checkout-field textarea:focus {
  border-color: #0057ff;
  box-shadow: 0 0 0 4px rgba(0, 87, 255, .12);
}

.checkout-submit {
  width: 100%;
  margin-top: 22px;
  min-height: 52px;
  border-radius: 999px;
  font-size: 17px;
}

.checkout-lines {
  display: grid;
  gap: 14px;
}

.checkout-line-v55 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: start;
  padding: 16px;
  border: 1px solid #edf0f4;
  border-radius: 18px;
  background: #f9fbff;
}

.checkout-line-info {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.checkout-line-info strong {
  color: #071428;
  font-size: 15px;
  line-height: 1.45;
  font-weight: 900;
}

.checkout-line-info span {
  color: #475467;
  font-size: 13px;
  line-height: 1.5;
}

.checkout-line-info em {
  color: #667085;
  font-style: normal;
  font-size: 13px;
  line-height: 1.5;
}

.checkout-line-price {
  color: #071428;
  font-size: 15px;
  font-weight: 900;
  white-space: nowrap;
}

.checkout-total-v55 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #dfe5ee;
}

.checkout-total-v55 span {
  color: #475467;
  font-size: 15px;
  font-weight: 800;
}

.checkout-total-v55 strong {
  color: #0057ff;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.1;
  letter-spacing: -.03em;
  font-weight: 900;
  text-align: right;
}

.checkout-back {
  display: inline-flex;
  margin-top: 18px;
  color: #0057ff;
  font-weight: 800;
  text-decoration: none;
}

.checkout-alert {
  margin-bottom: 18px;
}

.checkout-success-card {
  padding: 34px;
}

.checkout-success-card h2 {
  margin: 0 0 10px;
  font-size: 28px;
  letter-spacing: -.03em;
}

.checkout-success-card p {
  color: #667085;
  margin: 0 0 20px;
}

@media (max-width: 900px) {
  .checkout-page-v55 {
    padding: 34px 0 56px;
  }

  .checkout-shell {
    width: min(100%, calc(100% - 28px));
  }

  .checkout-grid-v55 {
    grid-template-columns: 1fr;
  }

  .checkout-summary-v55 {
    order: -1;
  }

  .checkout-form-v55,
  .checkout-summary-v55,
  .checkout-success-card {
    border-radius: 20px;
  }

  .checkout-form-v55,
  .checkout-summary-v55 {
    padding: 20px;
  }

  .checkout-fields {
    grid-template-columns: 1fr;
  }

  .checkout-line-v55 {
    grid-template-columns: 1fr;
  }

  .checkout-line-price {
    white-space: normal;
    font-size: 17px;
  }

  .checkout-total-v55 {
    align-items: flex-start;
    flex-direction: column;
  }

  .checkout-total-v55 strong {
    text-align: left;
  }
}


/* =========================================================
   V56 - KHÔI PHỤC MEGA MENU KIỂU CRUCIAL BAN ĐẦU
   ========================================================= */

@media (min-width: 901px) {
  .mega-site-header,
  .mega-site-header .container,
  .site-header,
  .site-header .container {
    overflow: visible !important;
  }

  .mega-header-row {
    grid-template-columns: auto minmax(0, 1fr) auto !important;
    gap: 46px !important;
    min-height: 84px !important;
    overflow: visible !important;
  }

  .crucial-original-menu {
    display: flex !important;
    align-items: stretch !important;
    gap: 0 !important;
    min-width: 0 !important;
    overflow: visible !important;
    white-space: nowrap !important;
    height: 84px !important;
  }

  .crucial-original-menu .mega-nav-item {
    position: static !important;
    display: flex !important;
    align-items: stretch !important;
    flex: 0 0 auto !important;
  }

  .crucial-original-menu .mega-nav-link {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    min-height: 84px !important;
    padding: 0 18px !important;
    border: 0 !important;
    background: transparent !important;
    color: #000 !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    text-decoration: none !important;
    line-height: 1 !important;
  }

  .crucial-original-menu .mega-nav-link::after {
    content: "" !important;
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    height: 3px !important;
    background: #006bff !important;
    transform: scaleX(0) !important;
    transform-origin: center !important;
    transition: transform .18s ease !important;
  }

  .crucial-original-menu .mega-nav-link:hover,
  .crucial-original-menu .mega-nav-link:focus,
  .crucial-original-menu .upgrade-link {
    color: #0057ff !important;
  }

  .crucial-original-menu .mega-nav-link:hover::after,
  .crucial-original-menu .mega-nav-link:focus::after,
  .mega-site-header:focus-within .crucial-original-menu .mega-nav-link[data-mega-tab="ram"]::after,
  .mega-site-header:hover .crucial-original-menu .mega-nav-link[data-mega-tab="ram"]::after {
    transform: scaleX(1) !important;
  }

  .crucial-original-mega-panel {
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    top: 100% !important;
    z-index: 250 !important;
    background: #fff !important;
    border-top: 1px solid #dfe3e8 !important;
    border-bottom: 1px solid #e4e7ec !important;
    box-shadow: 0 18px 36px rgba(16,24,40,.06) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(-8px) !important;
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease !important;
  }

  .mega-site-header:hover .crucial-original-mega-panel,
  .mega-site-header:focus-within .crucial-original-mega-panel,
  .crucial-original-mega-panel:hover {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(0) !important;
  }

  .crucial-original-mega-panel .mega-panel-inner {
    width: min(1320px, calc(100% - 72px)) !important;
    margin: 0 auto !important;
    padding: 38px 0 0 !important;
  }

  .mega-panel-topline {
    margin-bottom: 34px !important;
  }

  .mega-panel-all,
  .mega-panel-more a {
    display: inline-flex !important;
    align-items: center !important;
    gap: 14px !important;
    color: #006bff !important;
    font-size: 16px !important;
    font-weight: 900 !important;
    text-decoration: none !important;
  }

  .mega-panel-all strong,
  .mega-panel-more strong {
    font-size: 30px !important;
    line-height: .8 !important;
    font-weight: 500 !important;
  }

  .mega-panel-grid {
    display: grid !important;
    grid-template-columns: 190px 1fr 1fr 380px !important;
    gap: 54px !important;
    align-items: start !important;
    padding-bottom: 48px !important;
  }

  .mega-panel-muted {
    margin: 0 0 22px !important;
    color: #7c8491 !important;
    font-size: 14px !important;
    line-height: 1.2 !important;
    font-weight: 500 !important;
  }

  .mega-panel-col {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
  }

  .mega-panel-col > a:not(.mega-tech-item):not(.mega-featured-card) {
    color: #000 !important;
    font-size: 17px !important;
    line-height: 1.2 !important;
    font-weight: 900 !important;
    text-decoration: none !important;
  }

  .mega-panel-col > a:hover {
    color: #006bff !important;
  }

  .mega-tech-col {
    gap: 28px !important;
  }

  .mega-tech-item {
    display: grid !important;
    grid-template-columns: 86px minmax(0, 1fr) !important;
    gap: 18px !important;
    align-items: center !important;
    color: #000 !important;
    text-decoration: none !important;
  }

  .mega-tech-thumb {
    width: 86px !important;
    height: 58px !important;
    border-radius: 4px !important;
    display: grid !important;
    place-items: center !important;
    color: #fff !important;
    font-size: 13px !important;
    font-weight: 900 !important;
    background: linear-gradient(135deg, #111827, #334155) !important;
    box-shadow: inset 0 -18px 24px rgba(0,0,0,.22) !important;
  }

  .mega-thumb-green { background: linear-gradient(135deg, #0f5132, #64748b) !important; }
  .mega-thumb-black { background: linear-gradient(135deg, #020617, #18181b) !important; }
  .mega-thumb-white { background: linear-gradient(135deg, #f8fafc, #dbeafe) !important; color: #111827 !important; }

  .mega-tech-item strong {
    display: block !important;
    margin-bottom: 6px !important;
    color: #000 !important;
    font-size: 18px !important;
    font-weight: 900 !important;
    line-height: 1.15 !important;
  }

  .mega-tech-item small {
    display: block !important;
    color: #334155 !important;
    font-size: 13px !important;
    line-height: 1.35 !important;
  }

  .mega-featured-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 36px !important;
  }

  .mega-featured-card {
    display: grid !important;
    gap: 18px !important;
    color: #000 !important;
    text-decoration: none !important;
  }

  .mega-featured-image {
    height: 136px !important;
    border-radius: 4px !important;
    background: #f1f1f1 !important;
    display: grid !important;
    place-items: center !important;
    overflow: hidden !important;
  }

  .mega-featured-image span {
    width: 118px !important;
    height: 42px !important;
    border-radius: 999px !important;
    display: grid !important;
    place-items: center !important;
    background: #111827 !important;
    color: #fff !important;
    font-size: 13px !important;
    font-weight: 900 !important;
    text-align: center !important;
    padding: 0 10px !important;
  }

  .mega-featured-card strong {
    color: #000 !important;
    font-size: 17px !important;
    line-height: 1.25 !important;
    font-weight: 900 !important;
  }

  .mega-panel-more {
    display: flex !important;
    justify-content: center !important;
    padding: 22px 0 !important;
    border-top: 1px solid #edf0f4 !important;
  }

  .category-dropdown-panel {
    display: none !important;
  }
}

@media (max-width: 1200px) and (min-width: 901px) {
  .mega-header-row {
    gap: 28px !important;
  }

  .crucial-original-menu .mega-nav-link {
    padding: 0 12px !important;
    font-size: 14px !important;
  }

  .crucial-original-mega-panel .mega-panel-inner {
    width: min(1120px, calc(100% - 48px)) !important;
  }

  .mega-panel-grid {
    grid-template-columns: 170px 1fr 1fr 320px !important;
    gap: 34px !important;
  }

  .search-crucial {
    width: 190px !important;
  }
}

@media (max-width: 900px) {
  .crucial-original-mega-panel {
    display: none !important;
  }
}


/* =========================================================
   V57 - MEGA MENU NHẢY NỘI DUNG THEO MUA RAM / MUA SSD
   ========================================================= */

@media (min-width: 901px) {
  .mega-menu-content {
    display: none !important;
  }

  .mega-menu-content.is-active {
    display: block !important;
  }

  .crucial-original-menu .mega-nav-link.is-mega-active {
    color: #0057ff !important;
  }

  .crucial-original-menu .mega-nav-link.is-mega-active::after {
    transform: scaleX(1) !important;
  }

  .mega-site-header:hover .crucial-original-menu .mega-nav-link[data-mega-tab="ram"]::after,
  .mega-site-header:focus-within .crucial-original-menu .mega-nav-link[data-mega-tab="ram"]::after {
    transform: scaleX(0) !important;
  }

  .mega-site-header:hover .crucial-original-menu .mega-nav-link.is-mega-active::after,
  .mega-site-header:focus-within .crucial-original-menu .mega-nav-link.is-mega-active::after {
    transform: scaleX(1) !important;
  }

  .mega-thumb-blue {
    background: linear-gradient(135deg, #0057ff, #38bdf8) !important;
  }

  .mega-thumb-gray {
    background: linear-gradient(135deg, #334155, #94a3b8) !important;
  }

  .mega-category-all-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 14px !important;
    padding: 0 0 42px !important;
  }

  .mega-category-all-grid a {
    display: grid !important;
    gap: 6px !important;
    min-height: 82px !important;
    align-content: center !important;
    padding: 16px 18px !important;
    border-radius: 14px !important;
    border: 1px solid #e4e7ec !important;
    background: #f8fafc !important;
    color: #111827 !important;
    text-decoration: none !important;
  }

  .mega-category-all-grid a:hover {
    border-color: #0057ff !important;
    background: #f3f7ff !important;
  }

  .mega-category-all-grid strong {
    font-size: 16px !important;
    font-weight: 900 !important;
    line-height: 1.3 !important;
  }

  .mega-category-all-grid small {
    color: #667085 !important;
    font-size: 13px !important;
  }
}

@media (max-width: 1200px) and (min-width: 901px) {
  .mega-category-all-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}


/* =========================================================
   V58 - GIỎ HÀNG CARD UI + XÓA CHỌN + MUA KÈM
   ========================================================= */

.cart-v58-page {
  background:
    radial-gradient(circle at 18% 0%, rgba(0, 107, 255, .08), transparent 30%),
    #f4f7fb;
  padding: 72px 0 88px;
}

.cart-v58-shell {
  width: min(1220px, calc(100% - 40px));
  margin: 0 auto;
}

.cart-v58-heading {
  max-width: 720px;
  margin-bottom: 28px;
}

.cart-v58-eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: #eaf2ff;
  color: #0057ff;
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 14px;
}

.cart-v58-heading h1 {
  margin: 0 0 10px;
  color: #071428;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: -.04em;
  font-weight: 900;
}

.cart-v58-heading p {
  margin: 0;
  color: #475467;
  font-size: 17px;
  line-height: 1.65;
}

.cart-v58-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
  align-items: start;
}

.cart-v58-card,
.cart-v58-empty,
.cart-v58-bundles {
  background: #fff;
  border: 1px solid #dfe5ee;
  border-radius: 24px;
  box-shadow: 0 18px 45px rgba(16, 24, 40, .08);
}

.cart-v58-main,
.cart-v58-summary,
.cart-v58-empty,
.cart-v58-bundles {
  padding: 24px;
}

.cart-v58-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 20px;
  border-bottom: 1px solid #edf0f4;
  margin-bottom: 0;
}

.cart-v58-card-head h2,
.cart-v58-summary h2,
.cart-v58-section-title h2 {
  margin: 0 0 5px;
  color: #071428;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: -.03em;
}

.cart-v58-card-head p,
.cart-v58-section-title p {
  margin: 0;
  color: #667085;
  font-size: 14px;
  line-height: 1.5;
}

.cart-v58-text-danger {
  appearance: none;
  border: 0;
  background: #fff0f0;
  color: #d92d20;
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
}

.cart-v58-text-danger:hover {
  background: #fee4e2;
}

.cart-v58-table-head,
.cart-v58-line {
  display: grid;
  grid-template-columns: 34px minmax(260px, 1fr) 150px 130px 150px 96px;
  gap: 16px;
  align-items: center;
}

.cart-v58-table-head {
  padding: 16px 0;
  color: #667085;
  font-size: 13px;
  font-weight: 900;
  border-bottom: 1px solid #edf0f4;
}

.cart-v58-lines {
  display: grid;
}

.cart-v58-line {
  padding: 18px 0;
  border-bottom: 1px solid #edf0f4;
}

.cart-v58-line:last-child {
  border-bottom: 0;
}

.cart-v58-check {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  cursor: pointer;
}

.cart-v58-check input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.cart-v58-check span {
  width: 20px;
  height: 20px;
  border: 2px solid #cfd7e6;
  border-radius: 6px;
  background: #fff;
}

.cart-v58-check input:checked + span {
  border-color: #0057ff;
  background:
    linear-gradient(135deg, transparent 0 42%, #fff 42% 55%, transparent 55%),
    #0057ff;
}

.cart-v58-product {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
}

.cart-v58-thumb {
  width: 92px;
  height: 76px;
  border-radius: 14px;
  background: #f2f4f7;
  border: 1px solid #edf0f4;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #98a2b3;
  font-size: 12px;
  text-decoration: none;
}

.cart-v58-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
}

.cart-v58-info {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.cart-v58-name {
  color: #071428;
  font-size: 15px;
  line-height: 1.35;
  font-weight: 900;
  text-decoration: none;
}

.cart-v58-name:hover,
.cart-v58-similar:hover {
  color: #0057ff;
}

.cart-v58-meta {
  color: #667085;
  font-size: 13px;
  line-height: 1.45;
}

.cart-v58-similar {
  color: #0057ff;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 800;
  text-decoration: none;
}

.cart-v58-price,
.cart-v58-subtotal {
  color: #071428;
  font-size: 15px;
  font-weight: 900;
  white-space: nowrap;
}

.cart-v58-qty input {
  width: 96px;
  min-height: 42px;
  border: 1px solid #cfd7e6;
  border-radius: 12px;
  padding: 0 12px;
  font-size: 15px;
  font-weight: 800;
  outline: 0;
}

.cart-v58-qty input:focus {
  border-color: #0057ff;
  box-shadow: 0 0 0 4px rgba(0, 87, 255, .12);
}

.cart-v58-line-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cart-v58-small-btn,
.cart-v58-remove {
  min-height: 34px;
  border-radius: 999px;
  border: 1px solid #dfe5ee;
  background: #fff;
  color: #0057ff;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.cart-v58-small-btn:hover {
  border-color: #0057ff;
  background: #f3f7ff;
}

.cart-v58-remove {
  color: #d92d20;
  background: #fff5f5;
}

.cart-v58-remove:hover {
  border-color: #fda29b;
  background: #fee4e2;
}

.cart-v58-main-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 22px;
  border-top: 1px solid #edf0f4;
}

.cart-v58-continue {
  color: #0057ff;
  text-decoration: none;
  font-weight: 900;
}

.cart-v58-summary {
  position: sticky;
  top: 110px;
}

.cart-v58-summary h2 {
  margin-bottom: 20px;
}

.cart-v58-summary-row,
.cart-v58-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.cart-v58-summary-row {
  color: #475467;
  font-size: 15px;
  padding-bottom: 16px;
  border-bottom: 1px solid #edf0f4;
}

.cart-v58-summary-row strong {
  color: #071428;
  font-weight: 900;
}

.cart-v58-summary-note {
  margin: 16px 0;
  padding: 14px;
  border-radius: 16px;
  background: #f3f7ff;
  color: #475467;
  font-size: 14px;
  line-height: 1.55;
}

.cart-v58-total {
  padding-top: 16px;
  border-top: 1px solid #edf0f4;
}

.cart-v58-total span {
  color: #071428;
  font-size: 17px;
  font-weight: 900;
}

.cart-v58-total strong {
  color: #0057ff;
  font-size: 28px;
  line-height: 1.1;
  letter-spacing: -.03em;
  font-weight: 900;
  text-align: right;
}

.cart-v58-checkout {
  width: 100%;
  margin-top: 22px;
  min-height: 50px;
}

.cart-v58-bundles {
  margin-top: 24px;
}

.cart-v58-section-title {
  margin-bottom: 20px;
}

.cart-v58-section-title span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 11px;
  border-radius: 999px;
  background: #eaf2ff;
  color: #0057ff;
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 12px;
}

.cart-v58-bundle-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.cart-v58-bundle-card {
  border: 1px solid #edf0f4;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
}

.cart-v58-bundle-img {
  position: relative;
  display: grid;
  place-items: center;
  height: 150px;
  background: #f2f4f7;
  color: #98a2b3;
  font-size: 13px;
  text-decoration: none;
}

.cart-v58-bundle-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 16px;
}

.cart-v58-sale-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  background: #e6007a;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.cart-v58-bundle-body {
  padding: 14px;
  display: grid;
  gap: 9px;
}

.cart-v58-bundle-body small {
  color: #667085;
  font-size: 12px;
  font-weight: 700;
}

.cart-v58-bundle-body > a {
  min-height: 44px;
  color: #071428;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 900;
  text-decoration: none;
}

.cart-v58-bundle-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}

.cart-v58-bundle-price strong {
  color: #d92d20;
  font-size: 16px;
  font-weight: 900;
}

.cart-v58-bundle-price del {
  color: #98a2b3;
  font-size: 13px;
}

.cart-v58-bundle-body button {
  min-height: 40px;
  border: 0;
  border-radius: 999px;
  background: #0057ff;
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
}

.cart-v58-bundle-body button:hover {
  background: #0047d8;
}

.cart-v58-no-bundle,
.cart-v58-empty {
  color: #475467;
  font-size: 15px;
  line-height: 1.6;
}

.cart-v58-empty h2 {
  margin: 0 0 10px;
  color: #071428;
  font-size: 28px;
}

.cart-v58-empty p {
  margin: 0 0 20px;
}

@media (max-width: 1100px) {
  .cart-v58-layout {
    grid-template-columns: 1fr;
  }

  .cart-v58-summary {
    position: static;
  }

  .cart-v58-table-head {
    display: none;
  }

  .cart-v58-line {
    grid-template-columns: 34px minmax(0, 1fr);
    align-items: start;
    gap: 12px;
    padding: 18px 0;
  }

  .cart-v58-product,
  .cart-v58-price,
  .cart-v58-qty,
  .cart-v58-subtotal,
  .cart-v58-line-actions {
    grid-column: 2;
  }

  .cart-v58-price::before {
    content: "Giá: ";
    color: #667085;
    font-weight: 700;
  }

  .cart-v58-subtotal::before {
    content: "Tạm tính: ";
    color: #667085;
    font-weight: 700;
  }

  .cart-v58-line-actions {
    flex-direction: row;
  }

  .cart-v58-line-actions button {
    padding: 0 16px;
  }

  .cart-v58-bundle-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .cart-v58-page {
    padding: 34px 0 56px;
  }

  .cart-v58-shell {
    width: min(100%, calc(100% - 28px));
  }

  .cart-v58-heading h1 {
    font-size: 34px;
  }

  .cart-v58-main,
  .cart-v58-summary,
  .cart-v58-empty,
  .cart-v58-bundles {
    padding: 18px;
    border-radius: 20px;
  }

  .cart-v58-card-head {
    flex-direction: column;
  }

  .cart-v58-text-danger {
    width: 100%;
  }

  .cart-v58-product {
    grid-template-columns: 82px minmax(0, 1fr);
  }

  .cart-v58-thumb {
    width: 82px;
    height: 70px;
  }

  .cart-v58-main-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cart-v58-main-actions .btn,
  .cart-v58-continue {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .cart-v58-total {
    align-items: flex-start;
    flex-direction: column;
  }

  .cart-v58-total strong {
    text-align: left;
  }

  .cart-v58-bundle-grid {
    grid-template-columns: 1fr;
  }
}


/* =========================================================
   V59 - MEGA MENU ĐỔI ĐÚNG RAM/SSD + GIỎ HÀNG BÊN PHẢI
   ========================================================= */

@media (min-width: 901px) {
  .mega-header-row {
    grid-template-columns: auto minmax(0, 1fr) auto !important;
    gap: 42px !important;
  }

  .desktop-header-tools {
    display: flex !important;
    align-items: center !important;
    gap: 18px !important;
    flex: 0 0 auto !important;
  }

  .header-cart-link {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    min-height: 40px !important;
    padding: 0 16px !important;
    border: 1px solid #d8dde7 !important;
    border-radius: 999px !important;
    background: #fff !important;
    color: #071428 !important;
    font-size: 14px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
  }

  .header-cart-link svg {
    width: 20px !important;
    height: 20px !important;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 2 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
  }

  .header-cart-link:hover {
    border-color: #0057ff !important;
    color: #0057ff !important;
    background: #f3f7ff !important;
  }

  .cart-pill-light {
    display: none !important;
  }

  .crucial-original-mega-panel {
    display: block !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  .mega-site-header.is-mega-open .crucial-original-mega-panel,
  .mega-site-header:hover .crucial-original-mega-panel,
  .mega-site-header:focus-within .crucial-original-mega-panel {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(0) !important;
  }

  .mega-menu-content {
    display: none !important;
  }

  .mega-menu-content.is-active {
    display: block !important;
  }

  .crucial-original-menu .mega-nav-link.is-mega-active {
    color: #0057ff !important;
  }

  .crucial-original-menu .mega-nav-link.is-mega-active::after {
    transform: scaleX(1) !important;
  }

  .mega-site-header:hover .crucial-original-menu .mega-nav-link[data-mega-tab="ram"]::after,
  .mega-site-header:focus-within .crucial-original-menu .mega-nav-link[data-mega-tab="ram"]::after {
    transform: scaleX(0) !important;
  }

  .mega-site-header:hover .crucial-original-menu .mega-nav-link.is-mega-active::after,
  .mega-site-header:focus-within .crucial-original-menu .mega-nav-link.is-mega-active::after {
    transform: scaleX(1) !important;
  }

  .mega-thumb-blue {
    background: linear-gradient(135deg, #0057ff, #38bdf8) !important;
  }

  .mega-thumb-gray {
    background: linear-gradient(135deg, #334155, #94a3b8) !important;
  }

  .mega-category-all-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 14px !important;
    padding: 0 0 42px !important;
  }

  .mega-category-all-grid a {
    display: grid !important;
    gap: 6px !important;
    min-height: 82px !important;
    align-content: center !important;
    padding: 16px 18px !important;
    border-radius: 14px !important;
    border: 1px solid #e4e7ec !important;
    background: #f8fafc !important;
    color: #111827 !important;
    text-decoration: none !important;
  }

  .mega-category-all-grid a:hover {
    border-color: #0057ff !important;
    background: #f3f7ff !important;
  }

  .mega-category-all-grid strong {
    font-size: 16px !important;
    font-weight: 900 !important;
    line-height: 1.3 !important;
  }

  .mega-category-all-grid small {
    color: #667085 !important;
    font-size: 13px !important;
  }
}

@media (max-width: 1280px) and (min-width: 901px) {
  .header-cart-link span {
    display: none !important;
  }

  .header-cart-link {
    width: 42px !important;
    padding: 0 !important;
  }

  .search-crucial {
    width: 190px !important;
  }
}

@media (max-width: 900px) {
  .header-cart-link {
    display: none !important;
  }
}


/* =========================================================
   V60 - FIX NÚT THÊM / XÓA TRONG GIỎ HÀNG BỊ TRÀN RA NGOÀI
   ========================================================= */

.cart-v58-main {
  overflow: hidden !important;
}

.cart-v58-table-head,
.cart-v58-line {
  grid-template-columns: 28px minmax(0, 1fr) 112px 96px 118px !important;
  gap: 14px !important;
}

.cart-v58-table-head span:last-child {
  display: none !important;
}

.cart-v58-line-actions {
  grid-column: 2 / -1 !important;
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 10px !important;
  margin-top: -6px !important;
}

.cart-v58-small-btn,
.cart-v58-remove {
  width: auto !important;
  min-width: 92px !important;
  min-height: 36px !important;
  padding: 0 16px !important;
  border-radius: 999px !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

.cart-v58-small-btn {
  background: #eef6ff !important;
  color: #0057ff !important;
  border: 1px solid #b9d7ff !important;
}

.cart-v58-remove {
  background: #fff0f0 !important;
  color: #d92d20 !important;
  border: 1px solid #fecaca !important;
}

.cart-v58-product {
  min-width: 0 !important;
}

.cart-v58-name,
.cart-v58-meta,
.cart-v58-similar {
  overflow-wrap: anywhere !important;
}

.cart-v58-price,
.cart-v58-subtotal {
  white-space: normal !important;
}

.cart-v58-qty input {
  width: 82px !important;
}

@media (min-width: 1101px) and (max-width: 1280px) {
  .cart-v58-layout {
    grid-template-columns: minmax(0, 1fr) 320px !important;
    gap: 18px !important;
  }

  .cart-v58-main,
  .cart-v58-summary {
    padding: 20px !important;
  }

  .cart-v58-table-head,
  .cart-v58-line {
    grid-template-columns: 26px minmax(0, 1fr) 96px 84px 104px !important;
    gap: 10px !important;
  }

  .cart-v58-product {
    grid-template-columns: 74px minmax(0, 1fr) !important;
    gap: 12px !important;
  }

  .cart-v58-thumb {
    width: 74px !important;
    height: 64px !important;
  }

  .cart-v58-price,
  .cart-v58-subtotal,
  .cart-v58-name {
    font-size: 13px !important;
  }

  .cart-v58-meta,
  .cart-v58-similar {
    font-size: 12px !important;
  }

  .cart-v58-qty input {
    width: 72px !important;
  }
}

@media (max-width: 1100px) {
  .cart-v58-table-head,
  .cart-v58-line {
    grid-template-columns: 34px minmax(0, 1fr) !important;
  }

  .cart-v58-line-actions {
    grid-column: 2 !important;
    margin-top: 2px !important;
  }
}

@media (max-width: 700px) {
  .cart-v58-line-actions {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
  }

  .cart-v58-small-btn,
  .cart-v58-remove {
    width: 100% !important;
    min-width: 0 !important;
  }
}


/* =========================================================
   V61 - CHẶN MEGA MENU TỰ BẬT SAU KHI THÊM MUA KÈM / RELOAD
   ========================================================= */

@media (min-width: 901px) {
  .crucial-original-mega-panel {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  .mega-site-header:hover .crucial-original-mega-panel,
  .mega-site-header:focus-within .crucial-original-mega-panel {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  .mega-site-header.is-mega-open .crucial-original-mega-panel,
  .mega-site-header.is-mega-open:hover .crucial-original-mega-panel,
  .mega-site-header.is-mega-open:focus-within .crucial-original-mega-panel {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(0) !important;
  }
}


/* =========================================================
   V62 - THÊM NÚT XÓA NHANH TẤT CẢ SẢN PHẨM TRONG GIỎ
   ========================================================= */

.cart-v62-head-actions {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 10px !important;
  flex-wrap: wrap !important;
}

.cart-v62-clear-all {
  appearance: none !important;
  border: 1px solid #d92d20 !important;
  background: #d92d20 !important;
  color: #fff !important;
  border-radius: 999px !important;
  padding: 10px 16px !important;
  font-size: 14px !important;
  line-height: 1 !important;
  font-weight: 900 !important;
  cursor: pointer !important;
  white-space: nowrap !important;
}

.cart-v62-clear-all:hover {
  background: #b42318 !important;
  border-color: #b42318 !important;
}

@media (max-width: 700px) {
  .cart-v62-head-actions {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
  }

  .cart-v62-head-actions .cart-v58-text-danger,
  .cart-v62-clear-all {
    width: 100% !important;
  }
}


/* =========================================================
   V63 - GIÁ CARD SẢN PHẨM ƯU TIÊN BIẾN THỂ MẶC ĐỊNH
   ========================================================= */

.crucial-default-variant-note {
  display: inline-flex !important;
  margin-top: 6px !important;
  color: #0057ff !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  line-height: 1.35 !important;
}


/* =========================================================
   V64 - CHẶN ADD VƯỢT TỒN KHO BIẾN THỂ
   ========================================================= */

.cart-v64-alert {
  margin: 0 0 18px !important;
  padding: 14px 16px !important;
  border-radius: 16px !important;
  font-size: 14px !important;
  line-height: 1.55 !important;
  font-weight: 800 !important;
}

.cart-v64-alert-warning {
  color: #92400e !important;
  background: #fff7ed !important;
  border: 1px solid #fed7aa !important;
}

.cart-v64-alert-error {
  color: #b42318 !important;
  background: #fff1f0 !important;
  border: 1px solid #fecdca !important;
}

.cart-v64-alert-success {
  color: #027a48 !important;
  background: #ecfdf3 !important;
  border: 1px solid #abefc6 !important;
}

.cart-v64-stock {
  color: #027a48 !important;
  font-weight: 800 !important;
}
