:root {
  --bg: #090511;
  --bg-soft: #12091d;
  --card: #140d22;
  --card-alt: #1c122d;
  --text: #f7eefc;
  --muted: #c7b6d7;
  --line: rgba(255, 255, 255, 0.08);
  --pink: #ff4fb5;
  --pink-strong: #ff229a;
  --purple: #9f68ff;
  --glow: 0 20px 60px rgba(255, 79, 181, 0.18);
  --radius: 24px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: "Outfit", sans-serif;
  background: radial-gradient(
      circle at top left,
      rgba(255, 79, 181, 0.16),
      transparent 22%
    ),
    radial-gradient(
      circle at 80% 10%,
      rgba(159, 104, 255, 0.14),
      transparent 22%
    ),
    var(--bg);
  color: var(--text);
  min-height: 100vh;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  display: block;
}
button,
input,
textarea,
select {
  font: inherit;
}
.site-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 22px 0 40px;
  position: relative;
  z-index: 2;
}
.topbar,
.footer,
.hero,
.drops,
.micro-section,
.product-page,
.panel {
  backdrop-filter: blur(10px);
}
.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  border: 1px solid var(--line);
  background: rgba(16, 10, 25, 0.65);
  border-radius: 999px;
  position: sticky;
  top: 18px;
  z-index: 40;
}
.brand {
  display: flex;
  gap: 8px;
  align-items: baseline;
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.brand-kicker {
  font-size: 0.88rem;
  color: #ffc7ec;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}
.nav-links {
  display: flex;
  gap: 18px;
  color: var(--muted);
}
.hero {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 26px;
  padding: 42px 10px 28px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 79, 181, 0.12);
  border: 1px solid rgba(255, 79, 181, 0.24);
  color: #ffc7ec;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 0.73rem;
  font-weight: 700;
}
.hero h1 {
  font-size: clamp(2.6rem, 5.2vw, 5.1rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
  margin: 18px 0 16px;
  max-width: 11ch;
}
.hero h1 span {
  color: #ff92d2;
}
.hero p {
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 52ch;
  line-height: 1.7;
}
.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
.hero-chips span {
  padding: 11px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  color: #f6c1e8;
}
.hero-card {
  position: relative;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(
    180deg,
    rgba(255, 79, 181, 0.13),
    rgba(22, 13, 35, 0.88)
  );
  border-radius: 30px;
  box-shadow: var(--glow);
}
.mini-title {
  margin: 0 0 12px;
  color: #ffb4de;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.76rem;
}
.hero-card ul {
  margin: 0;
  padding-left: 20px;
  color: #f7d3ea;
  line-height: 1.9;
}
.sparkle {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 82px;
  height: 82px;
  background: radial-gradient(
    circle,
    rgba(255, 79, 181, 0.65),
    transparent 65%
  );
  filter: blur(16px);
}
.section-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
  margin-bottom: 20px;
}
.section-head h2 {
  margin: 10px 0 0;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  letter-spacing: -0.04em;
}
.section-head p {
  max-width: 370px;
  color: var(--muted);
  line-height: 1.7;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.product-card {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.04),
    rgba(255, 255, 255, 0.02)
  );
  border: 1px solid var(--line);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.18);
}
.product-media {
  display: block;
  aspect-ratio: 1/1;
  background: linear-gradient(145deg, #1d112d, #0e0816);
}
.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 100%;
}
.product-body {
  padding: 16px;
}
.product-title {
  display: block;
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}
.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  cursor: pointer;
  transition: 0.2s ease;
  font-weight: 600;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn-primary {
  background: linear-gradient(135deg, var(--pink), var(--pink-strong));
  box-shadow: 0 12px 30px rgba(255, 34, 154, 0.28);
}
.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line);
}
.btn-danger {
  background: #3a1223;
  border-color: #572237;
}
.btn-small {
  padding: 9px 12px;
  border-radius: 12px;
  font-size: 0.9rem;
}
.btn-block {
  width: 100%;
  margin-top: 15px;
}
.micro-section {
  padding-top: 22px;
}
.mini-panel,
.empty-state,
.gallery-card,
.content-card,
.panel {
  border: 1px solid var(--line);
  background: rgba(19, 11, 30, 0.72);
  border-radius: 28px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.16);
}
.mini-panel,
.empty-state {
  padding: 26px;
}
.mini-panel h3,
.empty-state h3,
.content-card h1 {
  margin: 14px 0 10px;
  letter-spacing: -0.04em;
}
.mini-panel p,
.empty-state p,
.content-card .rich-content,
.footer,
.admin-table,
.field-grid label span,
.sidebar-note {
  color: var(--muted);
}
.footer {
  padding: 28px 8px 0;
  text-align: center;
}
.product-page {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 22px;
  padding-top: 26px;
}
.gallery-card,
.content-card {
  padding: 22px;
}
.gallery-main {
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(145deg, #1f1330, #0d0815);
}
.gallery-main img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
}
.thumb-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.thumb-btn {
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: transparent;
  cursor: pointer;
  width: 100px;
  height: 100px;
}
.thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.rich-content {
  line-height: 1.8;
}
.rich-content * {
  max-width: 100%;
}
.placeholder-media {
  display: grid;
  place-items: center;
  height: 100%;
  min-height: 220px;
  color: #ffb4de;
}
.placeholder-large {
  min-height: 420px;
}
.orb {
  position: fixed;
  border-radius: 999px;
  filter: blur(75px);
  opacity: 0.5;
  z-index: 1;
}
.orb-a {
  top: 0;
  left: -100px;
  width: 280px;
  height: 280px;
  background: rgba(255, 79, 181, 0.2);
}
.orb-b {
  right: -70px;
  top: 280px;
  width: 240px;
  height: 240px;
  background: rgba(159, 104, 255, 0.22);
}
.admin-login-body,
.admin-body {
  background: linear-gradient(180deg, #0a0612, #12081d);
  min-height: 100vh;
}
.admin-login-wrap {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 22px;
}
.admin-login-card {
  width: min(480px, 100%);
  padding: 30px;
  background: rgba(22, 13, 35, 0.84);
  border: 1px solid var(--line);
  border-radius: 30px;
  box-shadow: var(--glow);
}
.admin-login-card h1 {
  margin: 14px 0 10px;
}
.admin-login-card label,
.field-grid label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 10px;
}
.admin-login-card input,
.field-grid input,
.field-grid textarea,
.field-grid select {
  padding: 14px 15px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: #0f0818;
  color: var(--text);
}
.admin-shell {
  display: grid;
  grid-template-columns: 280px 1fr;
  min-height: 100vh;
}

.admin-main {
  padding: 26px;
}
.admin-topbar {
  margin-bottom: 18px;
}
.panel {
  padding: 22px;
}
.panel-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  margin-bottom: 18px;
}
.table-wrap {
  overflow: auto;
}
.admin-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 880px;
}
.admin-table th,
.admin-table td {
  padding: 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.thumb {
  width: 62px;
  height: 62px;
  border-radius: 14px;
  object-fit: cover;
}
.thumb-empty {
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.04);
}
.status-pill {
  display: inline-flex;
  padding: 8px 10px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
}
.status-enabled {
  background: rgba(63, 216, 127, 0.14);
  color: #7ff6ad;
}
.status-disabled {
  background: rgba(255, 91, 91, 0.12);
  color: #ff9696;
}
.table-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.table-actions form {
  margin: 0;
}
.field-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.full-width {
  grid-column: 1/-1;
}
.dropzone {
  position: relative;
  padding: 30px;
  border: 2px dashed rgba(255, 79, 181, 0.35);
  border-radius: 22px;
  background: rgba(255, 79, 181, 0.05);
  text-align: center;
  overflow: hidden;
}
.dropzone input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}
.existing-images {
  margin-top: 24px;
}
.existing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
}
.existing-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.03);
}
.existing-card img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 10px;
}
.delete-check {
  display: flex;
  gap: 8px;
  align-items: center;
}
.form-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.flash {
  padding: 14px 16px;
  border-radius: 16px;
  margin-bottom: 16px;
  border: 1px solid var(--line);
}
.flash-success {
  background: rgba(63, 216, 127, 0.12);
  color: #b8ffd0;
}
.flash-error {
  background: rgba(255, 91, 91, 0.12);
  color: #ffc0c0;
}
@media (max-width: 1100px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .product-page,
  .hero,
  .admin-shell {
    grid-template-columns: 1fr;
  }

}
@media (max-width: 760px) {
  .site-shell {
    width: min(100% - 20px, 1180px);
  }
  .topbar {
    border-radius: 24px;
    padding: 14px;
  }
  .nav-links {
    display: none;
  }
  .hero {
    padding: 24px 4px 20px;
  }
  .section-head,
  .panel-head {
    flex-direction: column;
    align-items: flex-start;
  }
  .product-grid,
  .field-grid {
    grid-template-columns: 1fr;
  }
  .gallery-card,
  .content-card,
  .panel,
  .empty-state,
  .mini-panel,
  .hero-card {
    border-radius: 22px;
  }
  .product-actions {
    flex-direction: column;
  }
  .btn {
    width: 100%;
  }
  .admin-main {
    padding: 16px;
  }
  .admin-login-wrap {
    padding: 12px;
  }
}
.product-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 24px;
}

.product-actions .buy-btn {
  padding: 12px 24px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff4da6, #ff1f7a);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
}

.product-actions .buy-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(255, 31, 122, 0.4);
}

.gallery-card {
  max-height: fit-content;
}

.product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card .product-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-card .product-title {
  line-height: 1.4;
  min-height: 5em; /* reserves space for about 2 lines */
  margin-bottom: 10px;
}

.product-card .product-actions {
  margin-top: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.product-card .product-media {
  height: 260px;
  overflow: hidden;
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-card .product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.existing-images-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
  margin-top: 12px;
}

.existing-image-card {
  background: #111827;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 12px;
}

.existing-image-thumb {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 12px;
  background: #0b1020;
  margin-bottom: 10px;
}

.existing-image-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.default-image-option {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

@media (max-width: 640px) {
  .hero-featured-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .product-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .thumb-btn {
    width: 105px !important;
    width: 105px !important;
  }
}

@media (max-width: 640px) {
  .hero-card .btn + .btn {
    margin-top: 10px;
  }
}

@media (max-width: 640px) {
  #drops {
    padding-left: 16px;
    padding-right: 16px;
  }
}


.brand-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #ff4fa3, #ff7ac3);
  flex-shrink: 0;
  font-size: 18px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-text small {
  font-size: 11px;
  opacity: 0.7;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.brand-text strong {
  font-size: 15px;
  white-space: nowrap;
}




.admin-page-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.card {
  background: #111827;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 18px;
}

.table-wrap {
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table th,
.admin-table td {
  padding: 14px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  text-align: left;
}

.table-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.alert {
  padding: 14px 16px;
  border-radius: 14px;
  margin-bottom: 18px;
}

.alert-success {
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.22);
}

.alert-danger {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.22);
}

.badge {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}

.badge-success {
  background: rgba(34, 197, 94, 0.16);
  color: #86efac;
}

.badge-muted {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.78);
}

.form-card {
  max-width: 760px;
}

.form-row {
  margin-bottom: 16px;
}

.form-row label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}

.form-row input,
.form-row select {
  width: 100%;
  min-height: 46px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #0b1220;
  color: #fff;
}

.form-row small {
  display: block;
  margin-top: 8px;
  opacity: 0.72;
}

.form-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}


/* ================================
   Admin Sidebar - Fixed Professional Layout
================================ */

.admin-shell {
    display: block;
    min-height: 100vh;
}

.admin-sidebar {
    width: 276px;
    height: 82vh;                 /* 👈 80% height */
    position: fixed;
    top: 50%;
    left: 0;
    transform: translateY(-50%);  /* 👈 vertical center */

    z-index: 100;
    padding: 14px;
    
    border-radius: 0 28px 28px 0; /* 👈 rounded right side */
    
    background:
        radial-gradient(circle at top left, rgba(255, 79, 181, .12), transparent 34%),
        linear-gradient(180deg, rgba(13, 9, 22, .98), rgba(8, 6, 14, .98));
    
    border: 1px solid rgba(255,255,255,.08);
    border-left: 0;

    overflow: hidden;
    transition: width .25s ease, transform .25s ease;
}

.admin-sidebar.is-collapsed {
    width: 88px;
}

.sidebar-inner {
    height: calc(100vh - 28px);
    display: flex;
    flex-direction: column;
    padding: 10px;
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 26px;
    background: rgba(255,255,255,.025);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}

.sidebar-head {
    padding: 6px 4px 18px;
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,.07);
}

.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 52px;
    color: #fff;
}

.brand-icon {
    width: 46px;
    height: 46px;
    border-radius: 17px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 46px;
    font-weight: 900;
    font-size: 20px;
    background: linear-gradient(135deg, var(--pink), var(--purple));
    box-shadow: 0 14px 34px rgba(255,79,181,.25);
}

.brand-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.brand-text strong {
    font-size: 15px;
    letter-spacing: -.02em;
    white-space: nowrap;
}

.brand-text small {
    margin-top: 3px;
    color: var(--muted);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .12em;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 4px;
}

.sidebar-spacer {
    flex: 1;
}

.sidebar-footer {
    display: grid;
    gap: 8px;
    padding-top: 12px;
    margin-top: 12px;
    border-top: 1px solid rgba(255,255,255,.07);
}

.sidebar-link,
.sidebar-toggle {
    width: 100%;
    min-height: 48px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 12px;
    border-radius: 16px;
    color: rgba(247,238,252,.82);
    background: transparent;
    border: 1px solid transparent;
    text-decoration: none;
    cursor: pointer;
    transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
    text-align: left;
}

.sidebar-toggle {
    appearance: none;
    -webkit-appearance: none;
    font: inherit;
}

.sidebar-link:hover,
.sidebar-toggle:hover {
    color: #fff;
    background: rgba(255,255,255,.055);
    border-color: rgba(255,255,255,.08);
}

.sidebar-link.is-active {
    color: #fff;
    background: linear-gradient(135deg, rgba(255,79,181,.20), rgba(159,104,255,.13));
    border-color: rgba(255,79,181,.26);
    box-shadow: 0 12px 30px rgba(255,79,181,.10);
}

.sidebar-link-logout {
    color: #ffc0d5;
}

.sidebar-link-icon,
.toggle-icon {
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
}

.toggle-icon {
    font-size: 22px;
    line-height: 1;
}

.sidebar-link-text {
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Main content follows sidebar width */
.admin-main {
    min-width: 0;
    padding: 26px;
    margin-left: 276px;
    transition: margin-left .25s ease;
}

.admin-sidebar.is-collapsed ~ .admin-main {
    margin-left: 88px;
}

/* Collapsed sidebar */
.admin-sidebar.is-collapsed .sidebar-inner {
    padding: 10px 8px;
}

.admin-sidebar.is-collapsed .brand-text,
.admin-sidebar.is-collapsed .sidebar-link-text {
    display: none;
}

.admin-sidebar.is-collapsed .sidebar-brand,
.admin-sidebar.is-collapsed .sidebar-link,
.admin-sidebar.is-collapsed .sidebar-toggle {
    justify-content: center;
}

.admin-sidebar.is-collapsed .sidebar-link,
.admin-sidebar.is-collapsed .sidebar-toggle {
    padding-left: 10px;
    padding-right: 10px;
}

.admin-sidebar.is-collapsed .toggle-icon {
    transform: rotate(180deg);
}

/* Tablet + mobile: keep sidebar on left, never push content below */
@media (max-width: 1100px) {
    .admin-shell {
        display: block;
        grid-template-columns: none;
    }

    .admin-sidebar {
        width: 88px;
        border-right: 1px solid rgba(255,255,255,.08);
        border-bottom: 0;
    }

    .admin-sidebar .brand-text,
    .admin-sidebar .sidebar-link-text {
        display: none;
    }

    .admin-sidebar .sidebar-brand,
    .admin-sidebar .sidebar-link,
    .admin-sidebar .sidebar-toggle {
        justify-content: center;
    }

    .admin-main {
        margin-left: 88px;
        padding: 18px;
    }
}

@media (max-width: 640px) {
    .admin-sidebar {
        width: 76px;
        padding: 8px;
    }

    .admin-sidebar.is-collapsed {
        width: 76px;
    }

    .sidebar-inner {
        height: calc(100vh - 16px);
        border-radius: 22px;
        padding: 8px 6px;
    }

    .brand-icon {
        width: 42px;
        height: 42px;
        flex-basis: 42px;
        border-radius: 15px;
    }

    .sidebar-link,
    .sidebar-toggle {
        min-height: 46px;
        padding: 10px 8px;
        justify-content: center;
    }

    .admin-main,
    .admin-sidebar.is-collapsed ~ .admin-main {
        margin-left: 76px;
        padding: 14px;
    }
}

.sidebar-footer {
    padding-bottom: calc(16px + env(safe-area-inset-bottom));
}

.admin-sidebar {
    padding-bottom: calc(14px + env(safe-area-inset-bottom));
}

@media (max-width: 640px) {
    .sidebar-footer {
        padding-bottom: calc(20px + env(safe-area-inset-bottom));
    }
}

@media (max-width: 768px) {
    .admin-sidebar {
        height: 100vh;
        top: 0;
        transform: none;
        border-radius: 0;
    }
}

.sidebar-inner {
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.sidebar-nav {
    flex: 1;
    overflow-y: auto;
    min-height: 0;
    padding-bottom: 12px;
}

.sidebar-spacer {
    display: none;
}

.sidebar-footer {
    flex-shrink: 0;
    margin-top: auto;
    padding-top: 12px;
    padding-bottom: calc(16px + env(safe-area-inset-bottom));
    border-top: 1px solid rgba(255,255,255,.07);
    background: rgba(8, 6, 14, .35);
}

/*SIDEBAR END*/

/*ADMIN PRODUCTS PAGINATION */

.admin-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 22px;
}

.pagination-pages {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.page-pill {
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    font-weight: 700;
}

.page-pill.is-active {
    background: linear-gradient(135deg, var(--pink), var(--pink-strong));
    color: #fff;
}

.page-dots {
    padding: 0 6px;
    color: var(--muted);
}

.is-disabled {
    opacity: 0.5;
    pointer-events: none;
}

.pagination-summary {
    margin-top: 10px;
    font-size: 13px;
    color: var(--muted);
}

/*//////////////////////////////////*/

.admin-pagination {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 22px;
    overflow: visible;
}

.pagination-pages {
    display: flex !important;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    visibility: visible;
    opacity: 1;
}

.page-pill,
.page-dots {
    display: inline-flex !important;
}


/*ADMIN PRODUCTS PAGINATION*/

/*ADMIN SEARCH */

.admin-search-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    padding: 14px;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 18px;
    background: rgba(255,255,255,0.03);
}

.admin-search-input-wrap {
    flex: 1;
    min-width: 220px;
}

.admin-search-input {
    width: 100%;
    min-height: 46px;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.1);
    background: #0f0818;
    color: var(--text);
}

.admin-search-input::placeholder {
    color: rgba(247,238,252,0.45);
}

@media (max-width: 640px) {
    .admin-search-bar {
        flex-direction: column;
        align-items: stretch;
    }

    .admin-search-input-wrap,
    .admin-search-bar .btn {
        width: 100%;
    }
}

/*ADMIN SEARCH*/


/*PUBLIC SEARCH*/

.frontend-search {
    display: flex;
    gap: 10px;
    align-items: center;
    margin: 0 0 22px;
    padding: 14px;
    border-radius: 22px;
    background: rgba(255,255,255,0.035);
    border: 1px solid rgba(255,255,255,0.08);
}

.frontend-search-input {
    flex: 1;
    min-height: 48px;
    padding: 12px 16px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.1);
    background: #0f0818;
    color: var(--text);
    outline: none;
}

.frontend-search-input::placeholder {
    color: rgba(247,238,252,0.5);
}

@media (max-width: 640px) {
    .frontend-search {
        flex-direction: column;
        align-items: stretch;
    }

    .frontend-search .btn,
    .frontend-search-input {
        width: 100%;
    }
}

/*PUBLIC SEARCH*/

/*CATEGORY MENU*/
.category-menu {
    position: relative;
}

.category-trigger {
    cursor: pointer;
    color: var(--muted);
    font-weight: 600;
    transition: color .2s ease;
}

.category-menu:hover .category-trigger {
    color: #fff;
}

/* Dropdown container */
.category-dropdown {
    position: absolute;
    top: calc(100% + 28px);
    right: 0;
    min-width: 220px;
    padding: 12px;
    border-radius: 18px;

    background: rgba(15, 10, 25, 0.96);
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 30px 80px rgba(0,0,0,0.45);

    display: grid;
    gap: 6px;

    opacity: 0;
    transform: translateY(10px) scale(0.98);
    pointer-events: none;

    transition: all .22s ease;
    z-index: 99;
}

.category-menu::after {
    content: "";
    position: absolute;
    top: 100%;
    right: 0;
    width: 240px;
    height: 34px; /* should be equal or bigger than dropdown gap */
}

.category-dropdown {
    z-index: 99;
}

.category-menu::after {
    z-index: 98;
}

/* Show dropdown */
.category-menu:hover .category-dropdown {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

/* Triangle arrow */
.dropdown-arrow {
    position: absolute;
    top: -8px;
    right: 20px;
    width: 14px;
    height: 14px;
    background: rgba(15, 10, 25, 0.96);
    border-left: 1px solid rgba(255,255,255,0.08);
    border-top: 1px solid rgba(255,255,255,0.08);
    transform: rotate(45deg);
}

/* Links */
.category-dropdown a {
    display: block;
    padding: 10px 12px;
    border-radius: 12px;
    color: var(--text);
    font-size: 14px;
    font-weight: 500;
    transition: all .18s ease;
}

.category-dropdown a:hover {
    background: rgba(255,255,255,0.06);
    transform: translateX(3px);
}

/*CATEGORY MENU*/


/*HOMEPAGE CATEGORY BLOCK*/


.category-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.category-card {
    width: 100%;
    display: flex;
    flex-direction: column;
    border-radius: 28px;
    overflow: hidden;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.category-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255,79,181,0.28);
    box-shadow: 0 22px 60px rgba(255,79,181,0.14);
}

.category-card-media {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: rgba(255,255,255,0.04);
}

.category-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .35s ease;
}

.category-card:hover .category-card-media img {
    transform: scale(1.06);
}

.category-card-placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    font-size: 4rem;
    font-weight: 900;
    color: #ffb4de;
    background:
        radial-gradient(circle at center, rgba(255,79,181,.22), transparent 45%),
        linear-gradient(145deg, #1d112d, #0e0816);
}

.category-card-body {
    padding: 18px;
}

.category-card-kicker {
    display: inline-flex;
    margin-bottom: 8px;
    color: #ffb4de;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: .72rem;
    font-weight: 800;
}

.category-card h3 {
    margin: 0 0 14px;
    color: #fff;
    font-size: 1.25rem;
}

.category-card-cta {
    color: #ffc7ec;
    font-weight: 800;
}

@media (max-width: 1024px) {
    .category-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .category-card-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        padding-left: 16px;
        padding-right: 16px;
    }
}

/*HOMEPAGE CATEGORY BLOCK*/