/* Lace Secret legal documents — corporate Romanian e-commerce legal UI */
body.ls-legal-document{
  background:#fff;
  color:#1d1719;
}

.ls-legal{
  min-height:70vh;
  padding-top:var(--ls-ph-header-height,72px);
  font-family:var(--ls-font-main,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif);
}

.ls-legal__hero{
  position:relative;
  overflow:hidden;
  background:
    radial-gradient(circle at 15% 10%,rgba(255,255,255,.08),transparent 30%),
    linear-gradient(120deg,#19070c 0%,#310008 54%,#4a0b16 100%);
  color:#fff;
}

.ls-legal__hero-inner{
  width:min(calc(100% - 60px),1180px);
  margin:0 auto;
  padding:74px 0 70px;
}

.ls-legal__breadcrumb{
  margin-bottom:28px;
  display:flex;
  align-items:center;
  gap:8px;
  color:rgba(255,255,255,.56);
  font-size:12px;
}

.ls-legal__breadcrumb a{
  color:rgba(255,255,255,.82);
}

.ls-legal__eyebrow{
  margin-bottom:14px;
  display:block;
  color:rgba(255,239,242,.7);
  font-size:10px;
  line-height:1.2;
  font-weight:700;
  letter-spacing:.18em;
}

.ls-legal__hero h1{
  max-width:880px;
  margin:0;
  color:#fff;
  font-size:clamp(38px,5vw,66px);
  line-height:1.02;
  font-weight:500;
  letter-spacing:-.04em;
}

.ls-legal__hero>div>p{
  max-width:760px;
  margin:20px 0 0;
  color:rgba(255,255,255,.78);
  font-size:16px;
  line-height:1.7;
}

.ls-legal__meta{
  margin-top:28px;
  display:flex;
  flex-wrap:wrap;
  gap:10px 22px;
  color:rgba(255,255,255,.54);
  font-size:11px;
}

.ls-legal__layout{
  width:min(calc(100% - 60px),1180px);
  margin:0 auto;
  padding:62px 0 90px;
  display:grid;
  grid-template-columns:260px minmax(0,1fr);
  gap:56px;
  align-items:start;
}

.ls-legal__nav{
  position:sticky;
  top:calc(var(--ls-topbar-stack-height,0px) + var(--ls-ph-header-height,72px) + 24px);
  display:grid;
  gap:16px;
}

.ls-legal__nav-card,
.ls-legal__contact-card{
  border:1px solid #e8dfe1;
  border-radius:12px;
  background:#fff;
}

.ls-legal__nav-card{
  overflow:hidden;
}

.ls-legal__nav-card>strong{
  padding:18px 18px 14px;
  display:block;
  color:#2b2023;
  font-size:12px;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.ls-legal__nav-card>div{
  display:grid;
}

.ls-legal__nav-card a{
  position:relative;
  padding:12px 18px;
  border-top:1px solid #f0e9eb;
  color:#655a5d;
  font-size:12px;
  line-height:1.35;
  transition:background .2s ease,color .2s ease,padding .2s ease;
}

.ls-legal__nav-card a:hover{
  background:#faf7f6;
  color:#390007;
}

.ls-legal__nav-card a[aria-current="page"]{
  padding-left:23px;
  background:#f8f1f2;
  color:#390007;
  font-weight:650;
}

.ls-legal__nav-card a[aria-current="page"]::before{
  content:"";
  position:absolute;
  left:0;
  top:0;
  bottom:0;
  width:3px;
  background:#390007;
}

.ls-legal__contact-card{
  padding:18px;
  display:grid;
  gap:5px;
}

.ls-legal__contact-card span{
  color:#786e71;
  font-size:11px;
}

.ls-legal__contact-card a{
  color:#390007;
  font-size:12px;
  font-weight:650;
}

.ls-legal__article{
  min-width:0;
}

.ls-legal__section{
  padding:0 0 38px;
  margin:0 0 38px;
  border-bottom:1px solid #eee7e9;
}

.ls-legal__section:last-of-type{
  margin-bottom:0;
}

.ls-legal__section h2{
  max-width:820px;
  margin:0 0 18px;
  color:#21191b;
  font-size:clamp(22px,2.2vw,30px);
  line-height:1.22;
  font-weight:550;
  letter-spacing:-.02em;
}

.ls-legal__prose{
  max-width:850px;
  color:#51484b;
  font-size:15px;
  line-height:1.82;
}

.ls-legal__prose p{
  margin:0 0 15px;
}

.ls-legal__prose p:last-child{
  margin-bottom:0;
}

.ls-legal__prose ul,
.ls-legal__prose ol{
  margin:12px 0 18px;
  padding-left:22px;
}

.ls-legal__prose li{
  margin:8px 0;
}

.ls-legal__prose strong{
  color:#2b2023;
  font-weight:650;
}

.ls-legal__prose a{
  color:#6a1020;
  text-decoration:underline;
  text-underline-offset:3px;
}

.ls-legal-note{
  margin-top:22px!important;
  padding:18px 20px;
  border-left:3px solid #6a1020;
  background:#faf5f5;
  color:#645a5d;
  font-size:13px;
  line-height:1.65;
}

.ls-legal-inline-cta{
  min-height:46px;
  padding:0 18px;
  display:inline-flex;
  align-items:center;
  border-radius:7px;
  background:#390007;
  color:#fff!important;
  font-size:12px;
  font-weight:700;
  letter-spacing:.04em;
  text-decoration:none!important;
}

.ls-legal__authority-panel{
  margin-top:48px;
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
}

.ls-legal__authority-panel>div{
  padding:20px;
  display:grid;
  gap:5px;
  border:1px solid #e7dddf;
  border-radius:10px;
  background:#fbf8f7;
}

.ls-legal__authority-panel span{
  color:#817679;
  font-size:10px;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.ls-legal__authority-panel strong{
  color:#271c20;
  font-size:18px;
}

.ls-legal__authority-panel a{
  margin-top:4px;
  color:#6a1020;
  font-size:12px;
  font-weight:650;
}

/* Withdrawal form */
.ls-legal__notice{
  margin-bottom:30px;
  padding:18px 20px;
  border-radius:9px;
}

.ls-legal__notice strong{
  display:block;
  margin-bottom:5px;
  font-size:14px;
}

.ls-legal__notice p{
  margin:0;
  font-size:13px;
  line-height:1.55;
}

.ls-legal__notice--success{
  border:1px solid #b7d6c5;
  background:#f0f8f3;
  color:#1f5b3d;
}

.ls-legal__notice--error{
  border:1px solid #e3c4c9;
  background:#fff5f6;
  color:#7a1e2c;
}

.ls-legal__section--form{
  padding:34px;
  border:1px solid #e3d8da;
  border-radius:14px;
  background:#fcf9f8;
}

.ls-legal__form-intro{
  margin:-6px 0 24px;
  color:#71676a;
  font-size:13px;
  line-height:1.6;
}

.ls-legal-form{
  display:grid;
  gap:20px;
}

.ls-legal-form__trap{
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  margin:-1px!important;
  overflow:hidden!important;
  clip:rect(0 0 0 0)!important;
}

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

.ls-legal-form label{
  display:grid;
  gap:7px;
}

.ls-legal-form label>span{
  color:#403639;
  font-size:12px;
  font-weight:600;
}

.ls-legal-form input[type="text"],
.ls-legal-form input[type="email"],
.ls-legal-form textarea{
  width:100%;
  box-sizing:border-box;
  border:1px solid #d9ced1;
  border-radius:7px;
  background:#fff;
  color:#1e181a;
  font:inherit;
  font-size:14px;
  outline:none;
  transition:border-color .2s ease,box-shadow .2s ease;
}

.ls-legal-form input[type="text"],
.ls-legal-form input[type="email"]{
  min-height:48px;
  padding:0 13px;
}

.ls-legal-form textarea{
  padding:12px 13px;
  resize:vertical;
}

.ls-legal-form input:focus,
.ls-legal-form textarea:focus{
  border-color:#6a1020;
  box-shadow:0 0 0 3px rgba(106,16,32,.08);
}

.ls-legal-form__confirm{
  grid-template-columns:18px minmax(0,1fr)!important;
  align-items:start;
  gap:10px!important;
}

.ls-legal-form__confirm input{
  margin-top:3px;
  accent-color:#390007;
}

.ls-legal-form__confirm span{
  font-weight:500!important;
  line-height:1.55;
}

.ls-legal-form button{
  width:max-content;
  min-height:50px;
  padding:0 22px;
  border:0;
  border-radius:7px;
  background:#390007;
  color:#fff;
  font-size:12px;
  font-weight:750;
  letter-spacing:.06em;
  cursor:pointer;
}

.ls-legal-form button:hover{
  background:#510a16;
}

.ls-legal-form__privacy{
  margin:0;
  color:#807679;
  font-size:11px;
  line-height:1.55;
}

@media(max-width:1024px){
  .ls-legal__hero-inner,
  .ls-legal__layout{
    width:calc(100% - 40px);
  }
  .ls-legal__layout{
    grid-template-columns:220px minmax(0,1fr);
    gap:34px;
  }
}

@media(max-width:767px){
  .ls-legal{
    padding-top:var(--ls-ph-header-height-mobile,64px);
  }

  .ls-legal__hero-inner,
  .ls-legal__layout{
    width:calc(100% - 30px);
  }

  .ls-legal__hero-inner{
    padding:50px 0 46px;
  }

  .ls-legal__breadcrumb{
    margin-bottom:20px;
    font-size:11px;
  }

  .ls-legal__eyebrow{
    font-size:9px;
    letter-spacing:.15em;
  }

  .ls-legal__hero h1{
    font-size:clamp(34px,11vw,46px);
    line-height:1.04;
  }

  .ls-legal__hero>div>p{
    margin-top:16px;
    font-size:14px;
    line-height:1.65;
  }

  .ls-legal__meta{
    margin-top:22px;
    display:grid;
    gap:6px;
  }

  .ls-legal__layout{
    padding:34px 0 64px;
    display:block;
  }

  .ls-legal__nav{
    position:static;
    margin-bottom:34px;
  }

  .ls-legal__nav-card>strong{
    padding:16px;
  }

  .ls-legal__nav-card>div{
    grid-template-columns:1fr 1fr;
  }

  .ls-legal__nav-card a{
    padding:11px 14px;
  }

  .ls-legal__nav-card a[aria-current="page"]{
    padding-left:18px;
  }

  .ls-legal__section{
    padding-bottom:30px;
    margin-bottom:30px;
  }

  .ls-legal__section h2{
    font-size:24px;
  }

  .ls-legal__prose{
    font-size:14px;
    line-height:1.76;
  }

  .ls-legal__authority-panel{
    grid-template-columns:1fr;
  }

  .ls-legal__section--form{
    padding:22px 16px;
  }

  .ls-legal-form__grid{
    grid-template-columns:1fr;
  }

  .ls-legal-form button{
    width:100%;
  }
}

@media(max-width:430px){
  .ls-legal__nav-card>div{
    grid-template-columns:1fr;
  }

  .ls-legal__hero h1{
    font-size:34px;
  }

  .ls-legal__section h2{
    font-size:22px;
  }
}

@media(prefers-reduced-motion:reduce){
  .ls-legal *,
  .ls-legal *::before,
  .ls-legal *::after{
    transition:none!important;
    scroll-behavior:auto!important;
  }
}
