/* cart.css — Shared cart + license picker styling (Landingpage + /shop/) */

.cart-btn{
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(15,23,42,0.10);
  background: rgba(255,255,255,0.72);
  box-shadow: 0 10px 24px rgba(2,6,23,0.06);
  color: rgba(15,23,42,0.75);
  text-decoration: none !important;
}
.cart-btn:hover{ color: rgba(15,23,42,0.92); }

.cart-badge{
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 18px;
  height: 18px;
  padding: 0 6px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 850;
  line-height: 1;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #fff;
  border: 1px solid rgba(255,255,255,0.75);
  box-shadow: 0 10px 24px rgba(10,132,255,0.30);
}

.inline-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width: 18px;
  height: 18px;
  padding: 0 6px;
  margin-left: 6px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 850;
  background: rgba(10,132,255,0.14);
  border: 1px solid rgba(10,132,255,0.22);
  color: rgba(15,23,42,0.85);
}

/* Underline support email like Support page */
.support-email{
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

/* License picker (buy cards) */

/* Two-column layout for license cards (Landing + Shop) */
.pricing-grid{
  grid-template-columns: repeat(2, 1fr);
}

/* Helper card below cart on /shop/ (full container width) */
.help-card-wrap{
  width: 100%;
  max-width: none;
  margin: 0;
}

.license-controls{
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 1.2fr;
  gap: 10px;
  margin-top: 14px;
  align-items: end;
}

.field{ display: grid; gap: 6px; }
.field-label{ font-size: 12px; font-weight: 800; color: var(--muted); }

.license-controls select,
.qty-input{
  width: 100%;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(15,23,42,0.10);
  background: rgba(255,255,255,0.85);
  padding: 0 12px;
  font-weight: 700;
  color: var(--text);
  box-shadow: 0 10px 24px rgba(2,6,23,0.04);
  outline: none;
}
.license-controls select:focus,
.qty-input:focus{
  border-color: rgba(10,132,255,0.45);
  box-shadow: 0 0 0 3px rgba(10,132,255,0.14);
}

.price-value{
  display: inline-flex;
  align-items: center;
  height: 42px;
  padding: 0 12px;
  border-radius: 12px;
  background: rgba(241,244,251,0.70);
  border: 1px solid rgba(15,23,42,0.08);
  box-shadow: 0 10px 24px rgba(2,6,23,0.04);
  font-weight: 900;
}

/* Quantity stepper */
.qty-stepper{
  display: grid;
  grid-template-columns: 42px 1fr 42px;
  gap: 8px;
  align-items: center;
}

.qty-btn{
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(15,23,42,0.10);
  background: rgba(255,255,255,0.72);
  cursor: pointer;
  font-size: 18px;
  font-weight: 900;
  color: rgba(15,23,42,0.75);
  box-shadow: 0 10px 24px rgba(2,6,23,0.04);
}
.qty-btn:hover{ color: rgba(15,23,42,0.92); }

.qty-input{
  text-align: center;
  padding: 0 10px;
}

.added-hint{ margin-top: 10px; color: var(--muted); }

/* Shop page: cart */
.cart-card{
  background: rgba(255,255,255,0.82);
  border: 1px solid rgba(15,23,42,0.08);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow-soft);
}

.cart-items{
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

.cart-row{
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 1.1fr 0.6fr auto;
  gap: 10px;
  align-items: center;
  padding: 12px 12px;
  border-radius: 14px;
  background: rgba(241,244,251,0.55);
  border: 1px solid rgba(15,23,42,0.08);
}

.cart-title{ font-weight: 900; letter-spacing: -0.01em; }
.cart-meta{ font-size: 12px; color: var(--muted); margin-top: 2px; }

.cart-money{ font-weight: 850; }
.cart-money.muted{ font-weight: 800; color: var(--muted); }

.cart-remove{
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(15,23,42,0.10);
  background: rgba(255,255,255,0.75);
  cursor: pointer;
  color: rgba(15,23,42,0.70);
}
.cart-remove:hover{ color: rgba(15,23,42,0.95); }

.cart-summary{
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 12px;
  border-top: 1px solid rgba(15,23,42,0.06);
}

.cart-total{
  display:flex;
  gap:10px;
  align-items: baseline;
}
.cart-total span{ color: var(--muted); font-weight: 800; }
.cart-total strong{ font-size: 18px; }

.cart-actions{ display:flex; gap:10px; flex-wrap: wrap; }

/* Simple hero on /shop/ */
.page-hero{
  padding: 0 0 14px;
}
.page-hero h1{
  margin: 12px 0 8px;
  font-size: 40px;
  letter-spacing: -0.03em;
  line-height: 1.08;
}
.page-hero p{
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  max-width: 100%;
}

@media (max-width: 980px){
  .page-hero{ padding: 0 0 10px; }

  /* Keep cart icon visible in header on mobile */
  .header-inner{ justify-content: flex-start; gap: 10px; }

  /* Make burger + cart + language feel like one aligned icon row */
  .nav-toggle{
    margin-left: auto;
    order: 3;
    width: 44px;
    height: 44px;
    border-radius: 14px;
  }

  .header-cta{
    display: flex;
    order: 4;
    gap: 10px;
    align-items: center;
  }

  /* Hide large CTA buttons on mobile, keep icons */
  .header-cta .btn{ display: none; }

  /* Language toggle: match icon sizing (robust for different class names) */
  .header-cta .lang-toggle,
  .header-cta .lang-pill,
  .header-cta [data-lang-toggle]{
    height: 44px;
    min-width: 44px;
    padding: 0 12px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .pricing-grid{ grid-template-columns: 1fr; }

  .license-controls{ grid-template-columns: 1fr; }
  .cart-row{
    grid-template-columns: 1fr;
    gap: 8px;
    align-items: start;
  }
}

/* Force optional manual line break inside hero paragraph */
.page-hero .hero-line{ display:block; }

/* Help card layout on /shop/ */
.help-card{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
}
.help-actions{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

@media (max-width: 980px){
  .help-card{ flex-direction: column; align-items: flex-start; }
  .help-actions{ width: 100%; justify-content: flex-start; }
}
