.shop-body{
  min-height:100vh;
  background:
    radial-gradient(circle at 18% 10%,rgba(117,169,154,.18),transparent 28%),
    radial-gradient(circle at 84% 14%,rgba(163,58,46,.16),transparent 24%),
    linear-gradient(180deg,#050a0d 0%,#020508 55%,#010306 100%);
}
.shop-topbar{
  position:sticky;
  top:0;
  z-index:40;
  min-height:78px;
  display:flex;
  align-items:center;
  gap:22px;
  padding:0 32px;
  border-bottom:1px solid rgba(226,181,103,.2);
  background:linear-gradient(180deg,rgba(3,6,10,.92),rgba(3,6,10,.72));
  backdrop-filter:blur(18px);
}
.shop-brand{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:250px;
  color:var(--gold);
  text-decoration:none;
}
.shop-brand-mark{
  width:42px;
  height:42px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  border:1px solid rgba(226,181,103,.48);
  background:conic-gradient(from 20deg,rgba(226,181,103,.07),rgba(226,181,103,.9),rgba(163,58,46,.35),rgba(226,181,103,.08));
  box-shadow:0 0 28px rgba(226,181,103,.18);
}
.shop-brand strong{
  display:block;
  font-family:var(--font-title);
  font-size:24px;
  font-weight:600;
  line-height:1.05;
}
.shop-brand small{
  display:block;
  margin-top:5px;
  color:rgba(239,230,213,.5);
  font-size:10px;
  letter-spacing:.8px;
}
.shop-nav{
  flex:1;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-width:0;
}
.shop-nav a{
  color:rgba(239,230,213,.72);
  text-decoration:none;
  font-size:13px;
  font-weight:700;
  padding:10px 12px;
  border:1px solid transparent;
  border-radius:10px;
  white-space:nowrap;
  transition:all .18s;
}
.shop-nav a:hover,.shop-nav a.active{
  color:var(--gold);
  border-color:rgba(226,181,103,.35);
  background:rgba(226,181,103,.08);
}
.shop-status{
  flex:0 0 auto;
  min-width:116px;
  text-align:right;
  color:var(--text-dim);
  font-size:12px;
}
.shop-shell{
  width:min(1560px,calc(100% - 72px));
  margin:0 auto;
  padding:34px 0 64px;
}
.shop-hero{
  min-height:420px;
  display:grid;
  grid-template-columns:minmax(0,1.08fr) minmax(360px,.92fr);
  gap:22px;
  align-items:stretch;
  margin-bottom:24px;
}
.shop-hero-copy,.shop-hero-panel,.shop-section,.shop-summary-card,.admin-hero,.admin-section{
  border:1px solid rgba(226,181,103,.2);
  background:
    linear-gradient(145deg,rgba(226,181,103,.07),transparent 28%),
    linear-gradient(180deg,rgba(24,22,34,.72),rgba(3,6,10,.72));
  box-shadow:var(--shadow-soft),inset 0 1px 0 rgba(255,255,255,.05);
  border-radius:22px;
}
.shop-hero-copy{
  padding:52px 48px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}
.shop-kicker{
  color:var(--gold-dim);
  font-size:12px;
  font-weight:800;
  letter-spacing:1.4px;
  text-transform:uppercase;
}
.shop-hero h1{
  margin:12px 0 18px;
  font-family:var(--font-title);
  font-size:54px;
  line-height:1.08;
  color:var(--text-primary);
  font-weight:600;
}
.shop-hero p,.shop-section-head p,.admin-hero p{
  color:var(--text-secondary);
  line-height:1.85;
  font-size:15px;
}
.shop-hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:28px;
}
.shop-primary,.shop-secondary,.shop-ghost{
  appearance:none;
  min-height:44px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:14px;
  border:1px solid rgba(226,181,103,.4);
  padding:0 18px;
  font-size:14px;
  font-weight:900;
  letter-spacing:.2px;
  text-decoration:none;
  cursor:pointer;
  transition:all .18s;
}
.shop-primary{
  color:#111018;
  background:linear-gradient(135deg,#ffe18b,#f5b33e 52%,#d46d44);
  box-shadow:0 16px 34px rgba(226,181,103,.16);
}
.shop-secondary,.shop-ghost{
  color:var(--gold);
  background:rgba(7,10,14,.74);
}
.shop-ghost{
  color:var(--text-secondary);
  border-color:rgba(122,104,166,.35);
}
.shop-primary:hover,.shop-secondary:hover,.shop-ghost:hover{
  transform:translateY(-1px);
  border-color:rgba(226,181,103,.72);
}
.shop-hero-panel{
  display:grid;
  gap:12px;
  padding:22px;
}
.shop-feature-card{
  border:1px solid rgba(255,255,255,.08);
  border-radius:18px;
  padding:22px;
  background:linear-gradient(180deg,rgba(255,255,255,.055),rgba(255,255,255,.018));
}
.shop-feature-card span{
  color:var(--gold-dim);
  font-weight:900;
  font-size:12px;
}
.shop-feature-card strong{
  display:block;
  margin:8px 0 8px;
  font-family:var(--font-title);
  color:var(--gold);
  font-size:22px;
}
.shop-feature-card p{
  color:var(--text-secondary);
  font-size:13px;
  line-height:1.8;
}
.shop-workbench{
  display:grid;
  grid-template-columns:minmax(0,1fr) 380px;
  gap:24px;
  align-items:start;
}
.shop-main{
  display:grid;
  gap:24px;
}
.shop-section{
  padding:28px;
}
.shop-section-head,.admin-section-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
  margin-bottom:22px;
}
.shop-section h2,.admin-section h2,.admin-hero h1,.shop-summary-card h2{
  margin-top:7px;
  font-family:var(--font-title);
  color:var(--gold);
  font-size:28px;
  font-weight:600;
}
.shop-grid{
  display:grid;
  gap:14px;
}
.shop-grid.one{grid-template-columns:1fr;}
.shop-grid.two{grid-template-columns:repeat(2,minmax(0,1fr));}
.shop-grid.three{grid-template-columns:repeat(3,minmax(0,1fr));}
.shop-field{
  display:flex;
  flex-direction:column;
  gap:8px;
}
.shop-field span{
  color:var(--text-dim);
  font-size:12px;
  font-weight:700;
}
.shop-field input,.shop-field select,.shop-field textarea{
  width:100%;
  border:1px solid rgba(226,181,103,.18);
  border-radius:14px;
  background:rgba(3,6,10,.74);
  color:var(--text-primary);
  min-height:44px;
  padding:11px 13px;
  outline:none;
  font-size:14px;
}
.shop-field textarea{resize:vertical;line-height:1.7;}
.shop-field input:focus,.shop-field select:focus,.shop-field textarea:focus{
  border-color:rgba(226,181,103,.58);
  box-shadow:0 0 0 3px rgba(226,181,103,.1);
}
.wide{margin-top:14px;}
.shop-subhead{
  display:flex;
  justify-content:space-between;
  gap:12px;
  margin:24px 0 12px;
}
.shop-subhead h3{
  color:var(--gold);
  font-family:var(--font-title);
  font-size:20px;
}
.shop-subhead small{color:var(--text-dim);}
.crystal-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(172px,1fr));
  gap:12px;
}
.crystal-card,.product-card{
  border:1px solid rgba(226,181,103,.18);
  border-radius:18px;
  background:linear-gradient(180deg,rgba(255,255,255,.045),rgba(255,255,255,.012));
  padding:16px;
  cursor:pointer;
  transition:all .18s;
}
.crystal-card:hover,.product-card:hover{
  transform:translateY(-2px);
  border-color:rgba(226,181,103,.5);
}
.crystal-card.active{
  background:linear-gradient(135deg,rgba(255,225,139,.92),rgba(237,143,72,.92));
  color:#111018;
}
.crystal-card strong,.product-card strong{
  display:block;
  font-size:16px;
  margin-bottom:7px;
}
.crystal-card p,.product-card p{
  color:var(--text-secondary);
  line-height:1.65;
  font-size:12px;
}
.crystal-card.active p{color:rgba(17,16,24,.72);}
.crystal-meta,.product-meta{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  margin-top:12px;
}
.crystal-meta span,.product-meta span{
  border:1px solid rgba(255,255,255,.12);
  border-radius:999px;
  padding:4px 8px;
  color:inherit;
  opacity:.86;
  font-size:11px;
}
.shop-options{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
  margin-top:18px;
}
.shop-options label{
  display:flex;
  align-items:center;
  gap:9px;
  padding:13px 14px;
  border:1px solid rgba(122,104,166,.28);
  border-radius:14px;
  color:var(--text-secondary);
  background:rgba(3,6,10,.55);
}
.shop-action-row{
  display:flex;
  align-items:center;
  gap:14px;
  margin-top:18px;
}
.shop-inline-status,.shop-note{
  color:var(--text-dim);
  font-size:12px;
  line-height:1.7;
}
.shop-filter-row{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-bottom:18px;
}
.shop-filter{
  border:1px solid rgba(122,104,166,.3);
  border-radius:999px;
  padding:9px 14px;
  color:var(--text-secondary);
  background:rgba(3,6,10,.68);
  cursor:pointer;
  font-weight:800;
}
.shop-filter.active,.shop-filter:hover{
  color:#111018;
  border-color:rgba(226,181,103,.78);
  background:linear-gradient(135deg,#ffe18b,#f5a51f);
}
.product-card{
  min-height:230px;
  display:flex;
  flex-direction:column;
}
.product-card .price{
  margin-top:auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.product-card .price strong{
  margin:0;
  color:var(--gold);
  font-size:18px;
}
.product-card button{
  min-height:36px;
  padding:0 12px;
  border-radius:10px;
  border:1px solid rgba(226,181,103,.4);
  background:rgba(226,181,103,.1);
  color:var(--gold);
  cursor:pointer;
  font-weight:800;
}
.shop-summary{
  position:sticky;
  top:98px;
}
.shop-summary-card{
  padding:24px;
}
.quote-summary{
  display:grid;
  gap:8px;
  margin:18px 0;
}
.quote-row,.cart-row{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  color:var(--text-secondary);
  font-size:13px;
  padding:9px 0;
  border-bottom:1px solid rgba(255,255,255,.06);
}
.quote-row strong,.cart-row strong{color:var(--text-primary);}
.cart-list{
  display:grid;
  gap:8px;
  margin:12px 0;
}
.cart-row{
  border:1px solid rgba(255,255,255,.08);
  border-radius:14px;
  padding:12px;
  background:rgba(3,6,10,.5);
}
.cart-controls{
  display:flex;
  align-items:center;
  gap:8px;
}
.cart-controls button{
  width:26px;
  height:26px;
  border-radius:8px;
  border:1px solid rgba(226,181,103,.25);
  background:rgba(226,181,103,.08);
  color:var(--gold);
  cursor:pointer;
}
.shop-total{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:16px 0;
  margin:4px 0 12px;
  color:var(--text-secondary);
}
.shop-total strong{
  color:var(--gold);
  font-size:32px;
  font-family:var(--font-title);
}
.shop-action-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
  margin:16px 0 10px;
}
.shop-action-grid .shop-primary{grid-column:1/-1;}
.shop-toast{
  position:fixed;
  right:22px;
  bottom:22px;
  z-index:80;
  max-width:360px;
  transform:translateY(20px);
  opacity:0;
  pointer-events:none;
  border:1px solid rgba(226,181,103,.34);
  border-radius:16px;
  background:rgba(7,10,14,.92);
  color:var(--gold);
  padding:13px 16px;
  box-shadow:var(--shadow-elevated);
  transition:all .22s;
}
.shop-toast.show{
  opacity:1;
  transform:translateY(0);
}
@media(max-width:1180px){
  .shop-topbar{align-items:flex-start;flex-direction:column;padding:16px 22px;gap:14px;}
  .shop-nav{justify-content:flex-start;overflow:auto;width:100%;padding-bottom:2px;}
  .shop-status{position:absolute;right:22px;top:22px;}
  .shop-shell{width:min(100% - 28px,1560px);padding-top:24px;}
  .shop-hero,.shop-workbench{grid-template-columns:1fr;}
  .shop-summary{position:relative;top:auto;}
}
@media(max-width:760px){
  .shop-brand{min-width:0;}
  .shop-brand strong{font-size:20px;}
  .shop-status{display:none;}
  .shop-hero-copy{padding:30px 22px;}
  .shop-hero h1{font-size:34px;}
  .shop-section,.shop-summary-card{padding:20px;}
  .shop-grid.two,.shop-grid.three,.shop-options{grid-template-columns:1fr;}
  .shop-section-head,.shop-subhead,.shop-action-row{align-items:flex-start;flex-direction:column;}
  .shop-action-grid{grid-template-columns:1fr;}
  .shop-primary,.shop-secondary,.shop-ghost{width:100%;}
}
