* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Inter', sans-serif;
}

body {
  background: #0b0f16;
  color: #ffffff;
}

.hero {
  height: 100vh;
  background: radial-gradient(circle at top, #1a1f2e, #05070c);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-content {
  max-width: 700px;
  padding: 20px;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
}

.hero h1 span {
  color: #4da3ff;
}

.hero p {
  margin: 20px 0;
  opacity: 0.85;
}

.btn-primary {
  padding: 15px 40px;
  background: #4da3ff;
  color: #000;
  text-decoration: none;
  font-weight: 700;
  border-radius: 40px;
}

.why {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  padding: 80px 10%;
  background: #05070c;
}

.card {
  background: #111728;
  padding: 30px;
  border-radius: 16px;
  text-align: center;
}

.card h3 {
  color: #4da3ff;
}

.form-section {
  padding: 80px 10%;
  text-align: center;
}

form {
  max-width: 500px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

input, button {
  padding: 15px;
  border-radius: 10px;
  border: none;
}

input {
  background: #111728;
  color: #fff;
}

button {
  background: #4da3ff;
  font-weight: 700;
  cursor: pointer;
}

footer {
  padding: 30px;
  text-align: center;
  background: #05070c;
  opacity: 0.6;
}



:root{
  --bg:#0b0f16;
  --panel:#111728;
  --panel2:#0f1626;
  --text:#ffffff;
  --muted: rgba(255,255,255,.75);
  --accent:#4da3ff;
  --accent2:#7bd3ff;
  --shadow: 0 18px 60px rgba(0,0,0,.45);
}

body{
  background: radial-gradient(1200px 800px at 50% -10%, rgba(77,163,255,.20), transparent 55%),
              radial-gradient(900px 600px at 10% 20%, rgba(123,211,255,.10), transparent 60%),
              var(--bg);
}

.topnav{
  position: sticky;
  top: 0;
  z-index: 50;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 18px;
  padding: 14px 7%;
  background: rgba(5,7,12,.55);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.brand{display:flex; align-items:center; gap:12px;}
.brand-mark{
  width:44px;height:44px;
  border-radius: 12px;
  background: rgba(255,255,255,.06);
  padding: 6px;
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
}
.brand-text{line-height:1.15; text-align:left;}
.brand-name{
  font-weight:800;
  letter-spacing:.5px;
  background: linear-gradient(90deg, #ffffff 0%, #e0e8f0 35%, #4da3ff 70%, #7bd3ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 1.1rem;
  text-transform: uppercase;
}
.brand-tag{
  font-size:.82rem;
  color: rgba(123,211,255,.70);
  letter-spacing: .3px;
  font-weight: 600;
}

.nav-actions{display:flex; align-items:center; gap: 14px; flex-wrap: wrap;}
.nav-link{
  color: rgba(255,255,255,.80);
  text-decoration:none;
  font-weight:600;
  font-size:.95rem;
  padding: 10px 10px;
  border-radius: 12px;
}
.nav-link:hover{background: rgba(255,255,255,.06); color: #fff;}

.btn-ghost{
  display:inline-block;
  padding: 12px 18px;
  border-radius: 16px;
  border: 1px solid rgba(77,163,255,.55);
  color: #fff;
  text-decoration:none;
  font-weight:800;
  background: linear-gradient(180deg, rgba(77,163,255,.18), rgba(77,163,255,.06));
  box-shadow: 0 14px 40px rgba(77,163,255,.10);
}


.hero{
  overflow:hidden;
}


.hero h1{
  font-size: clamp(2.6rem, 4.4vw, 4.2rem);
}
.btn-primary{
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  box-shadow: 0 16px 50px rgba(77,163,255,.22);
}

.why{
  background: transparent;
  padding-top: 40px;
}
.card{
  border: 1px solid rgba(255,255,255,.07);
  background: linear-gradient(180deg, rgba(17,23,40,.9), rgba(17,23,40,.65));
  box-shadow: var(--shadow);
}
.card p{color: rgba(255,255,255,.78);}

.how{
  padding: 20px 7% 10px;
  background: transparent;
}
.how-card{
  max-width: 1100px;
  margin: 0 auto;
  border-radius: 22px;
  padding: 26px;
  border: 1px solid rgba(255,255,255,.07);
  background: linear-gradient(180deg, rgba(15,22,38,.82), rgba(15,22,38,.55));
  box-shadow: var(--shadow);
}
.step{display:flex; gap:16px; padding: 16px 10px; align-items:flex-start;}
.step + .step{border-top: 1px solid rgba(255,255,255,.06);}
.step-num{
  font-weight:900;
  letter-spacing: 1px;
  color: rgba(77,163,255,.95);
  font-size: 1.1rem;
  min-width: 48px;
}
.step-body h3{margin:0 0 6px; font-size: 1.15rem;}
.step-body p{margin:0; color: rgba(255,255,255,.78);}

.trust{
  display:flex;
  gap: 18px;
  flex-wrap:wrap;
  justify-content:center;
  padding: 18px 7% 40px;
  color: rgba(255,255,255,.78);
}
.trust-item{
  display:flex; align-items:center; gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.06);
  background: rgba(255,255,255,.03);
}
.dot{
  width: 10px; height: 10px; border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(77,163,255,.14);
}

.form-section h2{
  font-size: clamp(2rem, 3vw, 2.8rem);
}
input{
  border: 1px solid rgba(255,255,255,.08);
}
button{
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  box-shadow: 0 16px 50px rgba(77,163,255,.22);
}

footer{
  background: rgba(5,7,12,.65);
  border-top: 1px solid rgba(255,255,255,.06);
}
.footer-inner{
  display:flex;
  gap: 14px;
  align-items:center;
  justify-content:center;
  flex-wrap:wrap;
}
.footer-logo{
  width:34px;height:34px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  opacity: 0.30;
  mix-blend-mode: lighten;
  filter: drop-shadow(0 0 10px rgba(77,163,255,.40)) drop-shadow(0 0 3px rgba(77,163,255,.20));
  clip-path: polygon(50% 10%, 90% 26%, 90% 74%, 50% 90%, 10% 74%, 10% 26%);
}
.footer-copy{ text-align:center; }

/* Footer social icon */
.footer-social{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  color: rgba(255,255,255,.7);
  text-decoration: none;
  transition: background .2s ease, color .2s ease, transform .15s ease;
}
.footer-social:hover{
  background: #1877F2;
  color: #fff;
  transform: translateY(-2px);
}
.footer-social-icon{
  width: 20px;
  height: 20px;
}

@media (max-width: 620px){
  .brand-tag{display:none;}
}



/* --- V2 NAV UPGRADES --- */
.topnav{
  background: linear-gradient(180deg, rgba(8,12,22,.96), rgba(5,7,12,.88));
  border-bottom: 2px solid transparent;
  border-image: linear-gradient(90deg, rgba(77,163,255,.05) 0%, rgba(77,163,255,.70) 30%, rgba(123,211,255,.80) 50%, rgba(77,163,255,.70) 70%, rgba(77,163,255,.05) 100%) 1;
  box-shadow: 0 4px 28px rgba(77,163,255,.12), 0 1px 0 rgba(77,163,255,.15) inset, 0 0 60px rgba(77,163,255,.05);
}
.brand-mark{
  background: transparent;
  padding: 0;
  border: 1.5px solid rgba(77,163,255,.35);
  box-shadow: 0 10px 30px rgba(0,0,0,.45), 0 0 16px rgba(77,163,255,.18);
}
.nav-actions{
  gap: 12px;
}
.nav-link{
  transition: background .2s ease, color .2s ease;
}
.nav-pill{
  display:flex;
  align-items:center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(77,163,255,.15);
  background: rgba(77,163,255,.06);
}
.pill-dot{
  width: 10px; height: 10px; border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(77,163,255,.18), 0 0 8px rgba(77,163,255,.30);
  animation: pulse-dot 2.5s ease-in-out infinite;
}
@keyframes pulse-dot{
  0%,100%{box-shadow: 0 0 0 4px rgba(77,163,255,.18), 0 0 8px rgba(77,163,255,.30);}
  50%{box-shadow: 0 0 0 6px rgba(77,163,255,.12), 0 0 14px rgba(77,163,255,.40);}
}
.pill-text{
  font-size: .9rem;
  color: rgba(255,255,255,.88);
  font-weight: 700;
  letter-spacing: .3px;
}
.btn-ghost{
  padding: 12px 22px;
  border: 1.5px solid rgba(77,163,255,.65);
  background: linear-gradient(180deg, rgba(77,163,255,.24), rgba(77,163,255,.08));
  box-shadow: 0 14px 40px rgba(77,163,255,.14), 0 0 16px rgba(77,163,255,.08);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  letter-spacing: .4px;
  text-transform: uppercase;
  font-size: .88rem;
}
.btn-ghost:hover{
  transform: translateY(-2px);
  box-shadow: 0 18px 50px rgba(77,163,255,.22), 0 0 20px rgba(77,163,255,.14);
  background: linear-gradient(180deg, rgba(77,163,255,.32), rgba(77,163,255,.12));
}
@media (max-width: 860px){
  .nav-pill{display:none;}
}



/* --- V4 SECTIONS --- */
.section-head{
  max-width: 980px;
  margin: 0 auto 22px;
  text-align: center;
}
.section-head p{
  color: rgba(255,255,255,.78);
  margin-top: 10px;
}

.why-oem{
  padding: 70px 7% 30px;
}
.why-grid{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  max-width: 1100px;
  margin: 0 auto;
}
.why-card{
  border-radius: 18px;
  padding: 22px;
  border: 1px solid rgba(255,255,255,.08);
  background: linear-gradient(180deg, rgba(17,23,40,.88), rgba(17,23,40,.60));
  box-shadow: 0 18px 60px rgba(0,0,0,.35);
}
.why-card h3{ color: rgba(77,163,255,.95); margin-bottom: 8px; }
.why-card p{ color: rgba(255,255,255,.78); margin:0; }



/* Make logo mark look cleaner (no white backing) */
.brand-mark{
  background: rgba(255,255,255,.02);
}



/* --- V5 MIRRORED LOGO --- */
.brand-mark.right{
  width:44px;
  height:44px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  opacity: 0.35;
  mix-blend-mode: lighten;
  filter: drop-shadow(0 0 14px rgba(77,163,255,.55)) drop-shadow(0 0 4px rgba(77,163,255,.30));
  clip-path: polygon(50% 10%, 90% 26%, 90% 74%, 50% 90%, 10% 74%, 10% 26%);
}
@media (max-width: 860px){
  .brand-mark.right{display:none;}
}




/* --- V7 HERO LOGO ANIMATIONS + FORM STATUS --- */
@keyframes floatUpDown {
  0% { transform: translateY(0) rotate(var(--rot)); }
  50% { transform: translateY(-18px) rotate(calc(var(--rot) + 2deg)); }
  100% { transform: translateY(0) rotate(var(--rot)); }
}
@keyframes glowPulse {
  0%,100% { filter: drop-shadow(0 0 0 rgba(77,163,255,.0)); opacity: .10; }
  50% { filter: drop-shadow(0 0 22px rgba(77,163,255,.22)); opacity: .13; }
}
@keyframes slowDrift {
  0% { transform: translateX(0) translateY(0) rotate(var(--rot)); }
  50% { transform: translateX(10px) translateY(-10px) rotate(calc(var(--rot) + 1deg)); }
  100% { transform: translateX(0) translateY(0) rotate(var(--rot)); }
}

/* Apply multi-animation stack for a premium feel */
.hero-watermark.left{
  --rot: -12deg;
  animation: floatUpDown 6.5s ease-in-out infinite, glowPulse 7.8s ease-in-out infinite;
}
.hero-watermark.right{
  --rot: 12deg;
  animation: slowDrift 7.2s ease-in-out infinite, glowPulse 8.6s ease-in-out infinite;
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce){
  .hero-watermark.left, .hero-watermark.right{
    animation: none !important;
  }
}

.form-status{
  margin-top: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  font-weight: 800;
  letter-spacing: .2px;
  display: none;
}
.form-status.loading, .form-status.success, .form-status.error{ display: block; }
.form-status.loading{
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  color: rgba(255,255,255,.85);
}
.form-status.success{
  background: rgba(77,163,255,.12);
  border: 1px solid rgba(77,163,255,.30);
  color: rgba(255,255,255,.92);
}
.form-status.error{
  background: rgba(255,90,90,.12);
  border: 1px solid rgba(255,90,90,.30);
  color: rgba(255,255,255,.92);
}



/* --- V8 HERO LOGOS: OPPOSITE SIDES --- */
.hero{
  position: relative;
}



.hero-watermark.left{
  left: -140px;
  transform: rotate(-12deg);
  animation: floatUpDown 6.5s ease-in-out infinite, glowPulse 7.8s ease-in-out infinite;
}

.hero-watermark.right{
  right: -140px;
  transform: rotate(12deg);
  animation: slowDrift 7.2s ease-in-out infinite, glowPulse 8.6s ease-in-out infinite;
}

@media (max-width: 620px){
  
  .hero-watermark.right{display:none;}
}








.hero-watermark.center-static{
  position: absolute;
  left: 50%;
  top: 50%;
  width: 760px;
  height: 760px;
  transform: translate(-50%, -50%);
  opacity: 0.06;
  pointer-events: none;
  filter: blur(.4px) drop-shadow(0 0 30px rgba(77,163,255,.18));
}

@media (max-width: 720px){
  .hero-watermark.center-static{
    width: 480px;
    height: 480px;
    opacity: 0.05;
  }
}







.hero-watermark.side.left{
  left: -80px;
  transform: translateY(-50%) rotate(-10deg);
}

.hero-watermark.side.right{
  right: -80px;
  transform: translateY(-50%) rotate(10deg);
}

@media (max-width: 900px){
  .hero-watermark.side{
    width: 420px;
    height: 420px;
    opacity: 0.055;
  }
  .hero-watermark.side.left{ left: -90px; }
  .hero-watermark.side.right{ right: -90px; }
}

@media (max-width: 640px){
  .hero-watermark.side{
    width: 320px;
    height: 320px;
    opacity: 0.05;
  }
  .hero-watermark.side.left{ left: -70px; }
  .hero-watermark.side.right{ right: -70px; }
}







/* --- V14 CENTER WATERMARK ABOVE HERO WORDS (ACTUAL REQUEST) --- */
.hero-logo-above{
  width: 210px;
  height: 210px;
  margin: 0 auto 18px;
  opacity: 0.18;
  display: block;
  mix-blend-mode: lighten;
  filter: drop-shadow(0 0 22px rgba(77,163,255,.22));
  border-radius: 18px;
}

@media (max-width: 720px){
  .hero-logo-above{
    width: 170px;
    height: 170px;
    margin-bottom: 14px;
    opacity: 0.16;
  }
}



/* --- V15 NAV LOGO — WATERMARK STYLE WITH GLOW --- */
.brand-mark.watermark-nav{
  width: 42px;
  height: 42px;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  opacity: 0.35;
  mix-blend-mode: lighten;
  filter: drop-shadow(0 0 14px rgba(77,163,255,.55)) drop-shadow(0 0 4px rgba(77,163,255,.30));
  transition: filter .25s ease, transform .25s ease, opacity .25s ease;
  clip-path: polygon(50% 10%, 90% 26%, 90% 74%, 50% 90%, 10% 74%, 10% 26%);
}

.topnav:hover .brand-mark.watermark-nav{
  opacity: 0.50;
  filter: drop-shadow(0 0 20px rgba(77,163,255,.65)) drop-shadow(0 0 6px rgba(77,163,255,.40));
  transform: scale(1.04);
}


/* --- Thank-you page watermark: under-card (Revive OEM Co) --- */
.thankyou-watermark-under{
  display:flex;
  justify-content:center;
  align-items:center;
  margin-top:22px;
  opacity:0.10;
  pointer-events:none;
  user-select:none;
}
.thankyou-watermark-under img{
  width:min(180px, 42vw);
  height:auto;
  filter: saturate(0) brightness(1.4);
  clip-path: polygon(50% 10%, 90% 26%, 90% 74%, 50% 90%, 10% 74%, 10% 26%);
}

/* Disable any old behind-card watermark hooks */
.bg-watermark, .hero-watermark, .watermark, .watermark-bg{
  display:none !important;
}


/* --- SHOP / MARKETPLACE --- */
.shop-section{
  padding: 70px 7% 50px;
}

.shop-grid{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 22px;
  max-width: 1200px;
  margin: 0 auto;
}

.shop-card{
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
  background: linear-gradient(180deg, rgba(17,23,40,.90), rgba(17,23,40,.62));
  box-shadow: 0 18px 60px rgba(0,0,0,.35);
  display: flex;
  flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease;
}
.shop-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 24px 70px rgba(77,163,255,.12);
}

.shop-img-placeholder{
  width: 100%;
  height: 180px;
  background: rgba(255,255,255,.04);
  border-bottom: 1px solid rgba(255,255,255,.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.4);
  font-size: .85rem;
  gap: 6px;
  overflow: hidden;
}
.shop-img-placeholder img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.shop-img-icon{
  font-size: 2rem;
  opacity: .5;
}

.shop-card-body{
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.shop-title{
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}

.shop-meta{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.shop-condition{
  font-size: .85rem;
  color: rgba(255,255,255,.6);
}
.shop-price{
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--accent);
}

.shop-tags{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.shop-tag{
  padding: 4px 12px;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 600;
  background: rgba(77,163,255,.10);
  border: 1px solid rgba(77,163,255,.20);
  color: rgba(255,255,255,.80);
}

.shop-btn{
  display: inline-block;
  margin-top: auto;
  padding: 12px 20px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #000;
  text-decoration: none;
  font-weight: 800;
  font-size: .92rem;
  text-align: center;
  box-shadow: 0 12px 36px rgba(77,163,255,.18);
  transition: transform .15s ease;
}
.shop-btn:hover{
  transform: translateY(-2px);
}

.shop-cta{
  text-align: center;
  margin-top: 36px;
  color: rgba(255,255,255,.7);
  font-size: .95rem;
}
.shop-cta a{
  color: var(--accent);
  text-decoration: underline;
  font-weight: 600;
}

@media (max-width: 620px){
  .shop-grid{
    grid-template-columns: 1fr;
  }
}

.shop-loading, .shop-empty{
  grid-column: 1 / -1;
  text-align: center;
  padding: 40px 20px;
  color: var(--muted);
  font-size: .95rem;
  border: 1px dashed rgba(255,255,255,.1);
  border-radius: 16px;
}

/* Photo count badge on shop cards */
.shop-photo-count{
  position: absolute;
  top: 8px;
  right: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 700;
  background: rgba(0,0,0,.6);
  color: #fff;
  backdrop-filter: blur(6px);
  pointer-events: none;
}
.shop-card{
  position: relative;
}

/* --- Part Detail Modal --- */
.part-detail-modal{
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}
.part-detail-modal.active{
  opacity: 1;
  pointer-events: auto;
}
.detail-overlay{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.75);
  backdrop-filter: blur(8px);
}
.detail-panel{
  position: relative;
  z-index: 1;
  max-width: 740px;
  width: 94%;
  max-height: 90vh;
  overflow-y: auto;
  background: linear-gradient(180deg, rgba(17,23,40,.98), rgba(11,15,22,.98));
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 22px;
  box-shadow: 0 30px 100px rgba(0,0,0,.6);
  padding: 28px;
}
.detail-close{
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.15);
  background: rgba(255,255,255,.08);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.detail-close:hover{
  background: rgba(255,90,90,.2);
  border-color: rgba(255,90,90,.4);
}
.detail-body{
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Gallery */
.detail-gallery{
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.detail-main-img{
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255,255,255,.04);
}
.detail-main-img img{
  width: 100%;
  max-height: 400px;
  object-fit: contain;
  display: block;
}
.detail-thumbs{
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
}
.detail-thumb{
  width: 72px;
  height: 72px;
  border-radius: 10px;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,.1);
  cursor: pointer;
  transition: border-color .15s ease, opacity .15s ease;
  flex-shrink: 0;
  opacity: .6;
}
.detail-thumb:hover{
  opacity: .9;
}
.detail-thumb.active{
  border-color: var(--accent);
  opacity: 1;
}
.detail-no-photo{
  text-align: center;
  padding: 40px 20px;
  color: rgba(255,255,255,.4);
  font-size: 1rem;
  border: 1px dashed rgba(255,255,255,.1);
  border-radius: 14px;
}

/* Detail info */
.detail-info{
  padding: 4px 0;
}
.detail-title{
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 12px;
}
.detail-meta{
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 600px){
  .detail-panel{
    padding: 20px 16px;
    border-radius: 16px;
  }
  .detail-main-img img{
    max-height: 280px;
  }
  .detail-thumb{
    width: 56px;
    height: 56px;
  }
}

/* --- MOBILE HAMBURGER NAV --- */
.nav-toggle{
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  background: transparent;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 10px;
  cursor: pointer;
  box-shadow: none;
}
.nav-toggle-bar{
  display: block;
  width: 100%;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle.active .nav-toggle-bar:nth-child(1){
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.active .nav-toggle-bar:nth-child(2){
  opacity: 0;
}
.nav-toggle.active .nav-toggle-bar:nth-child(3){
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 768px){
  .nav-toggle{
    display: flex;
  }
  .nav-actions{
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 7%;
    background: linear-gradient(180deg, rgba(5,7,12,.96), rgba(5,7,12,.92));
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(77,163,255,.18);
    box-shadow: 0 16px 40px rgba(0,0,0,.5);
  }
  .nav-actions.open{
    display: flex;
  }
  .nav-actions .nav-link{
    padding: 14px 10px;
    font-size: 1rem;
    border-bottom: 1px solid rgba(255,255,255,.06);
  }
  .nav-actions .btn-ghost{
    margin: 12px 0 6px;
    text-align: center;
  }
  .nav-actions .nav-logo-extra{
    display: none;
  }
  .nav-actions .nav-pill{
    display: none;
  }
}

/* --- SHOP CARD ACTIONS --- */
.shop-card-actions{
  display: flex;
  gap: 10px;
  margin-top: auto;
}
.shop-btn-details{
  flex: 1;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  color: #fff;
  box-shadow: none;
}
.shop-btn-details:hover{
  background: rgba(255,255,255,.14);
}
.shop-btn-buy{
  flex: 1;
  cursor: pointer;
}

/* --- CHECKOUT MODAL --- */
.checkout-modal{
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}
.checkout-modal.active{
  opacity: 1;
  pointer-events: auto;
}
.checkout-overlay{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.80);
  backdrop-filter: blur(10px);
}
.checkout-panel{
  position: relative;
  z-index: 1;
  max-width: 480px;
  width: 94%;
  max-height: 90vh;
  overflow-y: auto;
  background: linear-gradient(180deg, rgba(17,23,40,.98), rgba(11,15,22,.98));
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 22px;
  box-shadow: 0 30px 100px rgba(0,0,0,.6);
  padding: 28px;
}
.checkout-body{
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.checkout-heading{
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  margin: 0;
}

.checkout-item{
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 16px;
  border-radius: 14px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
}
.checkout-thumb{
  width: 80px;
  height: 80px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}
.checkout-item-info h3{
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 4px;
  line-height: 1.3;
}
.checkout-item-info p{
  margin: 0;
  font-size: .85rem;
  color: rgba(255,255,255,.6);
}
.checkout-price{
  font-size: 1.2rem !important;
  font-weight: 800 !important;
  color: var(--accent) !important;
  margin-top: 4px !important;
}

.paypal-btn-wrap{
  min-height: 55px;
}

.paypal-notice{
  padding: 16px;
  border-radius: 12px;
  background: rgba(255,200,50,.10);
  border: 1px solid rgba(255,200,50,.25);
  color: rgba(255,255,255,.85);
  font-size: .9rem;
  line-height: 1.5;
}

.checkout-status{
  border-radius: 12px;
  font-size: .9rem;
  line-height: 1.5;
}
.checkout-status:empty{
  display: none;
}
.checkout-status.loading{
  padding: 14px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  color: rgba(255,255,255,.85);
}
.checkout-status.success{
  padding: 14px;
  background: rgba(50,205,100,.10);
  border: 1px solid rgba(50,205,100,.30);
  color: rgba(255,255,255,.92);
}
.checkout-status.error{
  padding: 14px;
  background: rgba(255,90,90,.10);
  border: 1px solid rgba(255,90,90,.30);
  color: rgba(255,255,255,.92);
}
.checkout-status.error a{
  color: var(--accent);
}

.checkout-secure{
  text-align: center;
  font-size: .8rem;
  color: rgba(255,255,255,.4);
  margin: 0;
}

@media (max-width: 500px){
  .checkout-panel{
    padding: 20px 16px;
  }
  .checkout-item{
    flex-direction: column;
    text-align: center;
  }
  .checkout-thumb{
    width: 100px;
    height: 100px;
  }
}
