/* ============================================================
   Segbytes Store Landing — /cart.php
   E-commerce flow: empty state → click category → products list
   ============================================================ */

.seg-storeland {
  padding: 56px 0 96px;
}
.seg-storeland-container {
  width: min(100% - 32px, 1240px);
  margin: 0 auto;
}

/* === HERO === */
.seg-storeland-hero {
  text-align: center;
  margin-bottom: 48px;
}
.seg-storeland-eyebrow {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(43,99,255,0.12);
  border: 1px solid rgba(43,99,255,0.28);
  color: #b3c8ff;
  font-family: "Azeret Mono", monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.seg-storeland-title {
  margin: 0 0 14px;
  font-family: "Azeret Mono", monospace;
  font-weight: 700;
  letter-spacing: -0.04em;
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.06;
  background: linear-gradient(135deg, #fff 0%, #b3c8ff 60%, #7aa2ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.seg-storeland-lede {
  margin: 0 auto;
  max-width: 640px;
  color: rgba(245,247,251,0.72);
  font-size: 16px;
  line-height: 1.6;
}

/* === LAYOUT === */
.seg-storeland-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

/* === SIDEBAR === */
.seg-storeland-sidebar {
  position: sticky;
  top: 110px;
}
.seg-storeland-sidebar-card {
  padding: 18px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}
.seg-storeland-sidebar-title {
  display: block;
  font-family: "Azeret Mono", monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(245,247,251,0.50);
  padding: 4px 6px 12px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 8px;
}
.seg-storeland-sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.seg-storeland-sidebar-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 11px 14px;
  border-radius: 10px;
  color: rgba(245,247,251,0.72);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
  border-left: 3px solid transparent;
  margin-left: -3px;
  cursor: pointer;
}
.seg-storeland-sidebar-link:hover,
.seg-storeland-sidebar-link:focus-visible {
  background: rgba(43,99,255,0.08);
  color: #fff;
  border-left-color: rgba(43,99,255,0.4);
}
.seg-storeland-sidebar-link.is-active {
  background: rgba(43,99,255,0.14);
  color: #fff;
  border-left-color: #2b63ff;
  font-weight: 600;
}
.seg-storeland-sidebar-count {
  font-family: "Azeret Mono", monospace;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  color: rgba(245,247,251,0.55);
  font-weight: 600;
}
.seg-storeland-sidebar-link.is-active .seg-storeland-sidebar-count {
  background: rgba(43,99,255,0.24);
  color: #fff;
}

/* === MAIN CONTENT === */
.seg-storeland-main {
  display: flex;
  flex-direction: column;
  gap: 32px;
  min-height: 560px;
}

/* === EMPTY STATE === */
.seg-storeland-empty.is-hidden {
  display: none;
}
.seg-storeland-empty-card {
  padding: 56px 32px;
  background: linear-gradient(180deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.015) 100%);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 22px;
  text-align: center;
}
.seg-storeland-empty-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(43,99,255,0.10);
  border: 1px solid rgba(43,99,255,0.22);
  color: #7aa2ff;
  margin-bottom: 22px;
}
.seg-storeland-empty-icon svg {
  width: 36px;
  height: 36px;
}
.seg-storeland-empty-card h2 {
  margin: 0 0 8px;
  font-family: "Azeret Mono", monospace;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: clamp(22px, 3vw, 28px);
  color: #fff;
}
.seg-storeland-empty-card p {
  margin: 0 auto 24px;
  max-width: 480px;
  color: rgba(245,247,251,0.65);
  font-size: 15px;
  line-height: 1.6;
}
.seg-storeland-empty-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.seg-storeland-empty-cat {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  color: var(--seg-text-soft, rgba(245,247,251,0.72));
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease, color 180ms ease;
}
.seg-storeland-empty-cat:hover,
.seg-storeland-empty-cat:focus-visible {
  background: rgba(43,99,255,0.14);
  border-color: rgba(43,99,255,0.32);
  color: #fff;
  transform: translateY(-2px);
}
.seg-storeland-empty-cat span {
  font-family: "Azeret Mono", monospace;
  font-size: 11px;
  padding: 1px 7px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  color: rgba(245,247,251,0.55);
  font-weight: 600;
}
.seg-storeland-empty-cat:hover span {
  background: rgba(255,255,255,0.16);
  color: #fff;
}

/* === CATEGORY PANEL === */
.seg-storeland-cat.is-hidden {
  display: none;
}
.seg-storeland-cat {
  animation: segCatFade 360ms cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes segCatFade {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
.seg-storeland-cat-head {
  margin-bottom: 22px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.seg-storeland-cat-name {
  margin: 0 0 6px;
  font-family: "Azeret Mono", monospace;
  font-weight: 700;
  letter-spacing: -0.03em;
  font-size: clamp(22px, 3vw, 30px);
  color: #f5f7fb;
}
.seg-storeland-cat-tagline {
  margin: 0;
  color: rgba(245,247,251,0.55);
  font-size: 14px;
  letter-spacing: 0.02em;
}

/* === GRID === */
.seg-storeland-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
@media (max-width: 1100px) {
  .seg-storeland-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* === CARD === */
.seg-storeland-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.02) 100%);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  text-decoration: none;
  color: inherit;
  transition: transform 200ms cubic-bezier(0.16, 1, 0.3, 1),
              border-color 200ms ease,
              box-shadow 200ms ease,
              background 200ms ease;
  min-height: 200px;
}
.seg-storeland-card-link {
  cursor: pointer;
}
.seg-storeland-card-link:hover,
.seg-storeland-card-link:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(122,162,255,0.32);
  background: linear-gradient(180deg, rgba(43,99,255,0.10) 0%, rgba(43,99,255,0.03) 100%);
  box-shadow: 0 18px 42px rgba(0,0,0,0.28);
}
.seg-storeland-card-static {
  cursor: default;
}
.seg-storeland-card-coming {
  opacity: 0.7;
}

.seg-storeland-badge {
  display: inline-block;
  align-self: flex-start;
  padding: 3px 10px;
  border-radius: 999px;
  font-family: "Azeret Mono", monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.seg-storeland-badge-soon {
  background: rgba(255,193,7,0.14);
  color: #ffe082;
  border: 1px solid rgba(255,193,7,0.28);
}
.seg-storeland-badge-service {
  background: rgba(43,99,255,0.14);
  color: #b3c8ff;
  border: 1px solid rgba(43,99,255,0.28);
}
.seg-storeland-badge-domain {
  background: rgba(122,162,255,0.14);
  color: #b3c8ff;
  border: 1px solid rgba(122,162,255,0.28);
}

.seg-storeland-card-name {
  margin: 0 0 10px;
  font-family: "Azeret Mono", monospace;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 19px;
  line-height: 1.2;
  color: #f5f7fb;
}
.seg-storeland-card-desc {
  margin: 0 0 18px;
  flex: 1;
  color: rgba(245,247,251,0.70);
  font-size: 14px;
  line-height: 1.55;
}
.seg-storeland-card-foot-static {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-family: "Azeret Mono", monospace;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #7aa2ff;
}
.seg-storeland-card-foot-static svg {
  width: 14px;
  height: 14px;
  transition: transform 200ms ease;
}
.seg-storeland-card-link:hover .seg-storeland-card-foot-static {
  color: #b3c8ff;
}
.seg-storeland-card-link:hover .seg-storeland-card-foot-static svg {
  transform: translateX(3px);
}
.seg-storeland-card-static .seg-storeland-card-foot-static {
  color: rgba(245,247,251,0.45);
}

/* === Final CTA band === */
.seg-storeland-cta-band {
  margin-top: 24px;
}
.seg-storeland-cta-card {
  padding: 34px;
  background: linear-gradient(180deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 100%);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 22px;
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 28px;
  align-items: center;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.seg-storeland-cta-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(ellipse at top right, rgba(43,99,255,0.18) 0%, transparent 60%);
}
.seg-storeland-cta-card h2 {
  margin: 12px 0 10px;
  font-family: "Azeret Mono", monospace;
  font-weight: 700;
  letter-spacing: -0.03em;
  font-size: clamp(24px, 3vw, 32px);
  color: #fff;
}
.seg-storeland-cta-card p {
  margin: 0;
  color: rgba(245,247,251,0.72);
  font-size: 15px;
  line-height: 1.6;
}
.seg-storeland-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

/* === Responsive === */
@media (max-width: 980px) {
  .seg-storeland-layout {
    grid-template-columns: 1fr;
  }
  .seg-storeland-sidebar {
    position: static;
  }
  .seg-storeland-sidebar-nav {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .seg-storeland-sidebar-link {
    flex: 1 1 calc(50% - 4px);
    min-width: 160px;
    margin-left: 0;
    border-left: none;
    border-bottom: 3px solid transparent;
  }
  .seg-storeland-sidebar-link:hover,
  .seg-storeland-sidebar-link.is-active {
    border-left-color: transparent;
    border-bottom-color: #2b63ff;
  }
  .seg-storeland-cta-card {
    grid-template-columns: 1fr;
  }
  .seg-storeland-cta-actions {
    justify-content: flex-start;
  }
}
@media (max-width: 720px) {
  .seg-storeland { padding: 36px 0 64px; }
  .seg-storeland-grid { grid-template-columns: 1fr; }
  .seg-storeland-empty-card { padding: 36px 22px; }
}
