:root{
  --bg-gradient: radial-gradient(circle at top,#43040b 0%,#170004 52%,#030001 100%);
  --surface: rgba(12,0,5,0.72);
  --surface-strong: rgba(27,0,11,0.82);
  --surface-soft: rgba(41,0,15,0.4);
  --border: rgba(255,255,255,0.08);
  --text: #fff4f5;
  --text-muted: rgba(255,244,245,0.68);
  --accent: #ff6468;
  --accent-strong: #ff4658;
  --accent-soft: rgba(255,100,104,0.16);
  --highlight: #ffcf6c;
}
*,*::before,*::after{box-sizing:border-box}
body{
  margin:0;
  font-family:"Barlow",system-ui,-apple-system,Segoe UI,Roboto,sans-serif;
  background:
    linear-gradient(rgba(0, 0, 0, 0.823),rgba(0, 0, 0, 0.789)),
    url("../images/bg.jpg") center/cover fixed;
  color:var(--text);
  min-height:100vh;
}
a{text-decoration:none;color:inherit}
img{display:block;max-width:100%}

.market-container{
  width:min(1180px,100%);
  margin:0 auto;
  padding:0 24px;
}

.topbar{
  position:sticky;
  top:0;
  z-index:10;
  background:black;
  border-bottom:2px solid #3b050a;
  padding:18px 0 12px;
}
.topbar .brand{
  height:78px;
}
.header-top{
  width:100%;
}
.header-left{
  flex:1;
}
.header-right{
  flex:1;
  justify-content:flex-end;
}
.header-icon-btn{
  background:transparent;
  border:none;
  color:rgba(255,255,255,.85);
  cursor:pointer;
  padding:8px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  transition:background .2s ease, color .2s ease;
  position:relative;
}
.header-icon-btn:hover{
  background:rgba(255,255,255,.1);
  color:#ffcf6c;
}
.header-cart-btn{
  position:relative;
}
.cart-badge{
  position:absolute;
  top:2px;
  right:2px;
  background:#ff6468;
  color:white;
  font-size:10px;
  font-weight:700;
  width:16px;
  height:16px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  border:2px solid black;
}
.navlinks{
  border-top:1px solid rgba(255, 255, 255, 0.117);
  padding-top:10px;
  margin-top:10px;
  justify-content:center;
  gap:36px;
}
.navlinks a{
  color:rgba(255,255,255,.85);
  text-transform:uppercase;
  letter-spacing:.10em;
  font-weight:700;
  font-size:12px;
  padding:2px 0;
  position:relative;
}
.navlinks a:hover,.navlinks a:focus{
  color:#ffcf6c;
  text-shadow: 0 0 8px white;
}
.navlinks a.active{
  color:#ffcf6c;
}

.market-section{
  padding:90px 0;
}
.catalog-header{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:32px;
  gap:24px;
}
.catalog-header-right{
  display:flex;
  align-items:center;
  gap:16px;
}
.catalog-title{
  margin:0;
  font-size:clamp(24px,4vw,32px);
  font-weight:800;
  letter-spacing:.1em;
  text-transform:uppercase;
  color:var(--text);
}
.add-product-btn{
  display:flex;
  align-items:center;
  gap:8px;
  padding:12px 20px;
  background:var(--accent);
  color:#fff;
  border:none;
  border-radius:12px;
  font-weight:700;
  font-size:14px;
  letter-spacing:.12em;
  text-transform:uppercase;
  cursor:pointer;
  transition:background .2s ease, transform .15s ease, box-shadow .2s ease;
  white-space:nowrap;
}
.add-product-btn:hover{
  background:var(--accent-strong);
  transform:translateY(-2px);
  box-shadow:0 8px 20px rgba(255,100,104,0.3);
}
.add-product-btn:active{
  transform:translateY(0);
}
.add-product-btn svg{
  flex-shrink:0;
}
.catalog-search{
  display:flex;
  align-items:center;
  gap:12px;
  padding:12px 18px;
  background:rgba(255,255,255,0.06);
  border:1px solid var(--border);
  border-radius:12px;
  min-width:300px;
  max-width:400px;
  transition:border-color .2s ease,background .2s ease;
}
.catalog-search:focus-within{
  border-color:var(--accent);
  background:rgba(255,255,255,0.08);
}
.catalog-search svg{
  color:rgba(255,244,245,0.6);
  flex-shrink:0;
}
.catalog-search input{
  flex:1;
  border:none;
  background:transparent;
  color:var(--text);
  font-size:14px;
  font-family:inherit;
  letter-spacing:.08em;
  outline:none;
}
.catalog-search input::placeholder{
  color:rgba(255,244,245,0.5);
}
.section-heading{
  text-align:center;
  max-width:720px;
  margin:0 auto 48px;
}
.section-tag{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:6px 14px;
  border-radius:999px;
  background:var(--surface);
  border:1px solid var(--accent-soft);
  font-size:12px;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:var(--highlight);
}
.section-heading h2{
  margin:18px 0 16px;
  font-size:clamp(30px,5vw,46px);
  font-weight:800;
  letter-spacing:.1em;
  text-transform:uppercase;
}
.section-heading p{
  margin:0;
  font-size:18px;
  line-height:1.6;
  color:var(--text-muted);
}

.catalog-layout{
  display:grid;
  grid-template-columns:260px minmax(0,1fr);
  gap:36px;
  align-items:start;
}
.catalog-filter{
  background:rgba(12,0,4,0.72);
  border-radius:0;
  padding:24px 22px;
  border:1px solid rgba(255,255,255,0.08);
  box-shadow:0 18px 40px rgba(0,0,0,0.32);
  display:flex;
  flex-direction:column;
  gap:22px;
}
.catalog-filter h3{
  margin:0;
  text-transform:uppercase;
  letter-spacing:.18em;
  font-size:15px;
  color:var(--highlight);
}
.filter-section{
  display:flex;
  flex-direction:column;
  gap:12px;
}
.filter-section h4{
  margin:0; 
  text-transform:uppercase;
  font-size:12px;
  letter-spacing:.2em;
  color:rgba(255,244,245,0.7);
}
.filter-section ul{
  list-style:none;
  padding:0;
  margin:0;
  display:flex;
  flex-direction:column;
  gap:8px;
}
.filter-section button{
  width:100%;
  padding:10px 14px;
  border:none;
  border-radius:12px;
  background:rgba(255,255,255,0.06);
  color:var(--text);
  text-transform:uppercase;
  letter-spacing:.16em;
  font-size:11px;
  cursor:pointer;
  transition:background .15s ease,color .15s ease;
}
.filter-section button.active,
.filter-section button:hover{
  background:var(--accent);
  color:#2b050b;
}

.card-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:28px;
}
.product-card{
  background:transparent;
  border:none;
  border-radius:0;
  padding:0;
  display:flex;
  flex-direction:column;
  gap:14px;
  transition:transform .18s ease;
  height:100%;
  position:relative;
}
.product-card:hover{
  transform:translateY(-4px);
}
.product-delete-btn{
  position:absolute;
  top:8px;
  right:8px;
  width:32px;
  height:32px;
  border-radius:50%;
  background:rgba(255,100,104,0.9);
  border:none;
  color:#fff;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  opacity:0;
  transition:opacity .2s ease,background .2s ease,transform .15s ease;
  z-index:2;
}
.product-card:hover .product-delete-btn{
  opacity:1;
}
.product-delete-btn:hover{
  background:var(--accent-strong);
  transform:scale(1.1);
}
.product-delete-btn svg{
  width:18px;
  height:18px;
}
.product-thumb{
  width:100%;
  padding:0;
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:180px;
}
.product-thumb img{
  width:100%;
  max-height:180px;
  object-fit:contain;
  filter:drop-shadow(0 12px 18px rgba(0,0,0,0.25));
}
.product-meta{
  display:flex;
  flex-direction:column;
  gap:6px;
  text-align:center;
  align-items:center;
  flex:1;
  justify-content:space-between;
}
.product-meta .product-category{
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:.22em;
  color:rgba(255,244,245,0.6);
}
.product-meta h3{
  margin:0;
  font-size:18px;
  font-weight:700;
  letter-spacing:.1em;
  text-transform:uppercase;
  color:#eceedf;
  flex:1;
  display:flex;
  align-items:center;
}
.product-meta .price{
  font-weight:700;
  font-size:15px;
  color:var(--highlight);
  letter-spacing:.16em;
  margin-bottom:4px;
}

.products-pagination{
  margin:48px auto 0;
  display:flex;
  justify-content:center;
  align-items:center;
  gap:12px;
}
.page-number,
.page-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:44px;
  height:44px;
  border-radius:12px;
  font-weight:700;
  letter-spacing:.1em;
  text-transform:uppercase;
  font-size:13px;
  color:var(--text-muted);
  background:rgba(15,0,6,0.72);
  border:1px solid rgba(255,255,255,0.08);
  transition:background .15s ease,color .15s ease,transform .15s ease;
}
.page-number:focus-visible,
.page-btn:focus-visible{
  outline:2px solid var(--accent);
  outline-offset:2px;
}
.page-number:hover,
.page-btn:hover{
  background:var(--accent);
  color:#2b050b;
  transform:translateY(-2px);
}
.page-number.active{
  background:var(--accent);
  color:#2b050b;
  border-color:var(--accent);
}
.page-btn{
  font-size:18px;
  letter-spacing:0;
}
.page-btn[disabled]{
  opacity:0.4;
  pointer-events:none;
}

.testimonials{
  background:linear-gradient(180deg,rgba(8,0,3,0.3),rgba(32,0,10,0.75));
}
.testimonial-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:32px;
}
.testimonial-card{
  background:var(--surface);
  border:1px solid var(--accent-soft);
  border-radius:24px;
  padding:28px;
  display:flex;
  flex-direction:column;
  gap:12px;
  box-shadow:0 28px 70px rgba(0,0,0,.4);
}
.avatar{
  width:64px;
  height:64px;
  border-radius:50%;
  overflow:hidden;
  border:2px solid var(--accent);
}
.testimonial-card h3{
  margin:0;
  font-size:18px;
  font-weight:700;
  letter-spacing:.12em;
  text-transform:uppercase;
}
.testimonial-card p{
  margin:0;
  color:var(--text-muted);
  line-height:1.6;
}
.rating{
  font-size:18px;
  letter-spacing:4px;
  color:var(--highlight);
}

.faq{
  padding-bottom:120px;
}
.faq-list{
  display:flex;
  flex-direction:column;
  gap:18px;
  max-width:720px;
  margin:0 auto;
}
.faq-list details{
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:18px;
  padding:18px 22px;
  transition:background .2s ease, border .2s ease;
}
.faq-list summary{
  cursor:pointer;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.12em;
  font-size:14px;
  color:var(--text);
  list-style:none;
}
.faq-list summary::-webkit-details-marker{display:none}
.faq-list details[open]{
  background:var(--surface-strong);
  border-color:var(--accent-soft);
}
.faq-list details p{
  margin:14px 0 0;
  color:var(--text-muted);
  line-height:1.6;
}

.market-footer{
  border-top:1px solid var(--border);
  background:rgba(8,0,3,0.85);
  padding:48px 0 32px;
}
.footer-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:32px;
  margin-bottom:32px;
}
.footer-logo{
  height:52px;
  margin-bottom:16px;
}
.market-footer p{
  margin:0;
  color:var(--text-muted);
  line-height:1.6;
}
.market-footer h3{
  margin:0 0 16px;
  text-transform:uppercase;
  letter-spacing:.14em;
  font-size:14px;
}
.footer-links{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  flex-direction:column;
  gap:10px;
}
.footer-links a{
  color:var(--text-muted);
  text-transform:uppercase;
  letter-spacing:.12em;
  font-size:12px;
}
.footer-links a:hover{color:var(--highlight)}
.footer-form{
  display:flex;
  flex-direction:column;
  gap:12px;
}
.footer-form input{
  border-radius:14px;
  border:1px solid var(--border);
  padding:12px 16px;
  background:rgba(20,0,8,0.6);
  color:var(--text);
}
.footer-form input::placeholder{color:rgba(255,244,245,0.4)}
.footer-form button{
  align-self:flex-start;
  border:none;
  border-radius:999px;
  padding:10px 20px;
  background:var(--accent);
  color:#2b050b;
  font-weight:700;
  letter-spacing:.16em;
  text-transform:uppercase;
  cursor:pointer;
}
.footer-copy{
  text-align:center;
  font-size:12px;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:rgba(255,244,245,0.4);
}

.visually-hidden{
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}

@media (max-width:992px){
  .navlinks{
    flex-wrap:wrap;
    gap:18px;
  }
  .catalog-layout{
    grid-template-columns:1fr;
  }
  .catalog-filter{
    flex-direction:row;
    flex-wrap:wrap;
    gap:18px;
  }
  .filter-section{
    flex:1 1 45%;
  }
}
@media (max-width:720px){
  .topbar{
    padding:14px 18px;
  }
  .topbar .brand{
    height:60px;
  }
  .navlinks a{
    font-size:11px;
    letter-spacing:.08em;
  }
  .market-section{padding:70px 0}
  .catalog-header{
    flex-direction:column;
    gap:16px;
    align-items:stretch;
  }
  .catalog-header-right{
    flex-direction:column;
    align-items:stretch;
  }
  .catalog-title{
    font-size:24px;
    text-align:center;
  }
  .add-product-btn{
    width:100%;
    justify-content:center;
  }
  .catalog-search{
    width:100%;
    max-width:none;
    min-width:0;
  }
  .card-grid{grid-template-columns:1fr}
  .testimonial-grid{grid-template-columns:1fr}
  .catalog-filter{
    flex-direction:column;
  }
  .filter-section{
    flex:1 1 auto;
  }
  .add-product-content{
    padding:24px 20px;
  }
  .contact-links{
    flex-direction:column;
  }
  .contact-link{
    width:100%;
  }
  .form-row{
    grid-template-columns:1fr;
  }
  .form-actions{
    flex-direction:column;
  }
  .btn-cancel,
  .btn-submit{
    width:100%;
  }
}
@media (max-width:576px){
  .market-container{padding:0 16px}
  .market-nav{gap:16px}
  .market-nav a{padding-bottom:4px}
  .stats-grid{gap:18px}
  .stat-card{padding:24px 18px}
  .footer-form{align-items:stretch}
  .footer-form button{width:100%;text-align:center}
}
@media (max-width:1200px){
  .card-grid{grid-template-columns:repeat(3,minmax(0,1fr));}
}
@media (max-width:900px){
  .card-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
}
.products-pagination .hidden{display:none;}

.product-detail-modal{
  position:fixed;
  inset:0;
  background:rgba(6,0,4,0.72);
  backdrop-filter:blur(6px);
  display:flex;
  justify-content:center;
  align-items:center;
  padding:32px;
  opacity:0;
  pointer-events:none;
  transition:opacity .25s ease;
  z-index:20;
}
.product-detail-modal.is-open{
  opacity:1;
  pointer-events:auto;
}
.product-detail-backdrop{
  position:absolute;
  inset:0;
}
.product-detail-content{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:minmax(0,560px) minmax(280px,1fr);
  gap:0;
  max-width:1100px;
  width:min(96vw,1100px);
  max-height:90vh;
  background:rgba(12,0,4,0.96);
  border-radius:28px;
  overflow:hidden;
  box-shadow:0 40px 120px rgba(0,0,0,0.6);
}
.product-detail-close{
  position:absolute;
  top:16px;
  right:18px;
  border:none;
  background:rgba(255,255,255,0.08);
  color:#fff;
  width:36px;
  height:36px;
  border-radius:50%;
  font-size:22px;
  cursor:pointer;
  z-index:2;
}
.product-detail-close:hover{background:var(--accent);color:#2b050b;}
.product-detail-gallery{
  background:#000;
  display:flex;
  align-items:center;
  justify-content:center;
}
.product-detail-gallery img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.product-detail-info{
  padding:32px 34px;
  display:flex;
  flex-direction:column;
  gap:22px;
  overflow-y:auto;
}
.product-detail-info header h2{
  margin:0 0 10px;
  font-size:26px;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.product-detail-meta{
  display:flex;
  flex-wrap:wrap;
  gap:18px;
  font-weight:600;
  color:var(--highlight);
}
.product-detail-summary{
  display:grid;
  gap:12px;
  font-size:14px;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:rgba(255,244,245,0.75);
}
.product-detail-summary .label{
  display:block;
  font-size:12px;
  letter-spacing:.16em;
  color:rgba(255,244,245,0.5);
}
.product-detail-description h3{
  margin:0 0 12px;
  font-size:16px;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:rgba(255,255,255,0.8);
}
.product-detail-description p{
  margin:0 0 16px;
  color:rgba(255,244,245,0.8);
  line-height:1.6;
}
.product-detail-description ul{
  margin:0;
  padding-left:18px;
  display:flex;
  flex-direction:column;
  gap:8px;
  color:rgba(255,244,245,0.8);
}
.product-detail-description li::marker{color:var(--accent);}
.product-detail-modal .catalog-empty{margin:0;}
.product-detail-contact{
  margin-top:24px;
  padding-top:24px;
  border-top:1px solid var(--border);
}
.product-detail-contact h3{
  margin:0 0 16px;
  font-size:18px;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:var(--highlight);
}
.contact-icons{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-bottom:16px;
}
.contact-icon-link{
  display:flex;
  align-items:center;
  justify-content:center;
  width:48px;
  height:48px;
  background:rgba(255,255,255,0.06);
  border:1px solid var(--border);
  border-radius:50%;
  text-decoration:none;
  transition:all .2s ease;
  overflow:hidden;
}
.contact-icon-link:hover{
  background:rgba(255,255,255,0.12);
  border-color:var(--accent);
  transform:translateY(-2px);
}
.contact-icon-link img{
  width:28px;
  height:28px;
  object-fit:contain;
}
#contactThreads img{
  width:42px;
  height:42px;
}
#contactPhone img{
  width:42px;
  height:42px;
}

.contact-links{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
}
.contact-link{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:10px 16px;
  background:rgba(255,255,255,0.06);
  border:1px solid var(--border);
  border-radius:12px;
  color:rgba(255,244,245,0.85);
  font-size:14px;
  font-weight:600;
  letter-spacing:.08em;
  text-decoration:none;
  transition:background .2s ease,border-color .2s ease,color .2s ease,transform .15s ease;
}
.contact-link:hover{
  background:rgba(255,255,255,0.12);
  border-color:var(--accent);
  color:var(--highlight);
  transform:translateY(-2px);
}
.contact-link svg{
  flex-shrink:0;
  width:18px;
  height:18px;
}

body.modal-open{overflow:hidden;}
.section-heading::after{
  content:"";
  display:block;
  height:1px;
  width:100%;
  background:rgba(255,255,255,0.16);
  margin:28px auto 0;
}

.add-product-modal{
  position:fixed;
  inset:0;
  background:rgba(6,0,4,0.85);
  backdrop-filter:blur(8px);
  display:flex;
  justify-content:center;
  align-items:center;
  padding:32px;
  opacity:0;
  pointer-events:none;
  transition:opacity .25s ease;
  z-index:30;
}
.add-product-modal.is-open{
  opacity:1;
  pointer-events:auto;
}
.add-product-backdrop{
  position:absolute;
  inset:0;
}
.add-product-content{
  position:relative;
  z-index:1;
  max-width:600px;
  width:100%;
  max-height:90vh;
  background:rgba(12,0,4,0.98);
  border:1px solid var(--border);
  border-radius:24px;
  padding:32px;
  overflow-y:auto;
  box-shadow:0 40px 120px rgba(0,0,0,0.7);
}
.add-product-close{
  position:absolute;
  top:16px;
  right:18px;
  border:none;
  background:rgba(255,255,255,0.08);
  color:#fff;
  width:36px;
  height:36px;
  border-radius:50%;
  font-size:22px;
  cursor:pointer;
  z-index:2;
  transition:background .2s ease,color .2s ease;
}
.add-product-close:hover{
  background:var(--accent);
  color:#2b050b;
}
.add-product-content h2{
  margin:0 0 24px;
  font-size:24px;
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:var(--highlight);
}
.add-product-form{
  display:flex;
  flex-direction:column;
  gap:20px;
}
.form-row{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
}
.form-group{
  display:flex;
  flex-direction:column;
  gap:8px;
}
.form-group label{
  font-size:12px;
  font-weight:700;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:rgba(255,244,245,0.8);
}
.form-group input,
.form-group select,
.form-group textarea{
  padding:12px 16px;
  background:rgba(255,255,255,0.06);
  border:1px solid var(--border);
  border-radius:12px;
  color:var(--text);
  font-family:inherit;
  font-size:14px;
  transition:border-color .2s ease,background .2s ease;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus{
  outline:none;
  border-color:var(--accent);
  background:rgba(255,255,255,0.08);
}
.form-group input::placeholder,
.form-group textarea::placeholder{
  color:rgba(255,244,245,0.4);
}
.form-group textarea{
  resize:vertical;
  min-height:100px;
}
.image-upload-wrapper{
  display:flex;
  flex-direction:column;
  gap:12px;
}
.image-preview{
  width:100%;
  min-height:200px;
  background:rgba(255,255,255,0.04);
  border:2px dashed var(--border);
  border-radius:12px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:12px;
  cursor:pointer;
  transition:border-color .2s ease,background .2s ease;
  overflow:hidden;
  position:relative;
}
.image-preview:hover{
  border-color:var(--accent);
  background:rgba(255,255,255,0.06);
}
.image-preview svg{
  color:rgba(255,244,245,0.4);
}
.image-preview span{
  font-size:13px;
  color:rgba(255,244,245,0.5);
  letter-spacing:.08em;
}
.image-preview img{
  width:100%;
  height:100%;
  object-fit:contain;
  position:absolute;
  inset:0;
}
.image-preview.has-image svg,
.image-preview.has-image span{
  display:none;
}
.btn-upload{
  padding:10px 20px;
  background:rgba(255,255,255,0.1);
  color:var(--text);
  border:1px solid var(--border);
  border-radius:10px;
  font-weight:600;
  font-size:13px;
  letter-spacing:.1em;
  text-transform:uppercase;
  cursor:pointer;
  transition:background .2s ease,border-color .2s ease;
  align-self:flex-start;
}
.btn-upload:hover{
  background:rgba(255,255,255,0.15);
  border-color:var(--accent-soft);
}
.form-divider{
  margin:24px 0 16px;
  padding-top:24px;
  border-top:1px solid var(--border);
  position:relative;
}
.form-divider span{
  position:absolute;
  top:-10px;
  left:50%;
  transform:translateX(-50%);
  background:rgba(12,0,4,0.98);
  padding:0 16px;
  font-size:12px;
  font-weight:700;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:var(--highlight);
}
.form-actions{
  display:flex;
  gap:12px;
  margin-top:12px;
}
.btn-cancel,
.btn-submit{
  flex:1;
  padding:14px 24px;
  border:none;
  border-radius:14px;
  font-weight:700;
  font-size:14px;
  letter-spacing:.14em;
  text-transform:uppercase;
  cursor:pointer;
  transition:background .2s ease,transform .15s ease,box-shadow .2s ease;
}
.btn-cancel{
  background:rgba(255,255,255,0.1);
  color:var(--text);
  border:1px solid var(--border);
}
.btn-cancel:hover{
  background:rgba(255,255,255,0.15);
  border-color:var(--accent-soft);
}
.btn-submit{
  background:var(--accent);
  color:#fff;
}
.btn-submit:hover{
  background:var(--accent-strong);
  transform:translateY(-2px);
  box-shadow:0 8px 20px rgba(255,100,104,0.3);
}
.btn-cancel:active,
.btn-submit:active{
  transform:translateY(0);
}

.delete-confirm-modal{
  position:fixed;
  inset:0;
  background:rgba(6,0,4,0.85);
  backdrop-filter:blur(8px);
  display:flex;
  justify-content:center;
  align-items:center;
  padding:32px;
  opacity:0;
  pointer-events:none;
  transition:opacity .25s ease;
  z-index:40;
}
.delete-confirm-modal.is-open{
  opacity:1;
  pointer-events:auto;
}
.delete-confirm-backdrop{
  position:absolute;
  inset:0;
}
.delete-confirm-content{
  position:relative;
  z-index:1;
  max-width:440px;
  width:100%;
  background:rgba(12,0,4,0.98);
  border:1px solid var(--border);
  border-radius:24px;
  padding:32px;
  text-align:center;
  box-shadow:0 40px 120px rgba(0,0,0,0.7);
}
.delete-confirm-close{
  position:absolute;
  top:12px;
  right:12px;
  border:none;
  background:rgba(255,255,255,0.08);
  color:#fff;
  width:32px;
  height:32px;
  border-radius:50%;
  font-size:20px;
  cursor:pointer;
  transition:background .2s ease,color .2s ease;
}
.delete-confirm-close:hover{
  background:var(--accent);
  color:#2b050b;
}
.delete-confirm-icon{
  margin:0 auto 20px;
  width:64px;
  height:64px;
  border-radius:50%;
  background:rgba(255,100,104,0.1);
  border:2px solid var(--accent);
  display:flex;
  align-items:center;
  justify-content:center;
  color:var(--accent);
}
.delete-confirm-content h2{
  margin:0 0 16px;
  font-size:22px;
  font-weight:800;
  letter-spacing:.1em;
  text-transform:uppercase;
  color:var(--text);
}
.delete-confirm-content p{
  margin:0 0 28px;
  color:var(--text-muted);
  line-height:1.6;
  font-size:15px;
}
.delete-confirm-actions{
  display:flex;
  gap:12px;
  justify-content:center;
}
.btn-delete{
  flex:1;
  padding:14px 24px;
  border:none;
  border-radius:14px;
  font-weight:700;
  font-size:14px;
  letter-spacing:.14em;
  text-transform:uppercase;
  cursor:pointer;
  transition:background .2s ease,transform .15s ease,box-shadow .2s ease;
  background:#dc2626;
  color:#fff;
}
.btn-delete:hover{
  background:#b91c1c;
  transform:translateY(-2px);
  box-shadow:0 8px 20px rgba(220,38,38,0.3);
}
.btn-delete:active{
  transform:translateY(0);
}
