    :root {
      --bg: #f2f2f7;
      --card: #ffffff;
      --card2: #e8e8ed;
      --text: #1c1c1e;
      --muted: #6b7280;
      --border: #d1d1d6;
      --orange: #f97316;
      --blue: #3b82f6;
      --purple: #6366f1;
      --green: #10b981;
      --red: #ef4444;
      --yellow: #f59e0b;
      --pack-grad: linear-gradient(135deg, #f97316, #6366f1);
      --btn-grad: linear-gradient(90deg, #f97316, #3b82f6);
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      -webkit-tap-highlight-color: transparent;
    }

    body {
      font-family: -apple-system, 'Segoe UI', Arial, sans-serif;
      background: var(--bg);
      color: var(--text);
      min-height: 100vh;
      max-width: 480px;
      margin: 0 auto;
      overflow-x: hidden;
    }

    .hidden {
      display: none !important;
    }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 7px;
      padding: 12px 20px;
      border: none;
      border-radius: 12px;
      cursor: pointer;
      font-size: .9rem;
      font-weight: 700;
      font-family: inherit;
      transition: .2s;
    }

    .btn-grad {
      background: var(--btn-grad);
      color: #fff;
    }

    .btn-ghost {
      background: var(--card2);
      color: var(--text);
      border: 1px solid var(--border);
    }

    .btn-danger {
      background: var(--red);
      color: #fff;
    }

    .btn-block {
      width: 100%;
    }

    .btn-sm {
      padding: 7px 13px;
      font-size: .78rem;
      border-radius: 8px;
    }

    .badge {
      display: inline-flex;
      align-items: center;
      gap: 4px;
      padding: 3px 9px;
      border-radius: 20px;
      font-size: .72rem;
      font-weight: 700;
    }

    .bg-green {
      background: rgba(16, 185, 129, .15);
      color: #065f46;
    }

    .bg-orange {
      background: rgba(249, 115, 22, .15);
      color: #c2410c;
    }

    .bg-red {
      background: rgba(239, 68, 68, .15);
      color: #b91c1c;
    }

    .bg-blue {
      background: rgba(59, 130, 246, .15);
      color: #1d4ed8;
    }

    .card {
      background: var(--card);
      border-radius: 16px;
      overflow: hidden;
    }

    .fg {
      margin-bottom: 14px;
    }

    label {
      display: block;
      font-size: .78rem;
      font-weight: 700;
      color: var(--muted);
      margin-bottom: 6px;
      text-transform: uppercase;
      letter-spacing: .5px;
    }

    input,
    select,
    textarea {
      width: 100%;
      padding: 12px 14px;
      background: var(--card2);
      border: 1.5px solid var(--border);
      border-radius: 11px;
      font-size: .88rem;
      color: var(--text);
      font-family: inherit;
      outline: none;
      transition: .2s;
    }

    input:focus,
    select:focus,
    textarea:focus {
      border-color: var(--orange);
    }

    input::placeholder {
      color: #b0b0b8;
    }

    select option {
      background: #fff;
      color: #1c1c1e;
    }

    textarea {
      resize: vertical;
    }

    table {
      width: 100%;
      border-collapse: collapse;
      font-size: .82rem;
    }

    th {
      background: var(--card2);
      padding: 9px 12px;
      text-align: left;
      font-size: .72rem;
      color: var(--muted);
      text-transform: uppercase;
      letter-spacing: .5px;
      font-weight: 700;
    }

    td {
      padding: 10px 12px;
      border-bottom: 1px solid var(--border);
      vertical-align: middle;
    }

    tr:last-child td {
      border-bottom: none;
    }

    .alert-err {
      padding: 10px 14px;
      background: rgba(239, 68, 68, .15);
      border: 1px solid rgba(239, 68, 68, .3);
      border-radius: 10px;
      color: #fca5a5;
      font-size: .82rem;
      margin-bottom: 14px;
    }

    /* LOGIN */
    #page-login {
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      padding: 24px;
    }

    .lc {
      text-align: center;
      margin-bottom: 24px;
    }

    .lc-t {
      font-size: 3rem;
      font-weight: 800;
      letter-spacing: 2px;
    }

    .lc-d {
      font-size: .82rem;
      color: var(--muted);
      margin-top: 3px;
      text-transform: capitalize;
    }

    .login-box {
      background: var(--card);
      border-radius: 20px;
      padding: 26px;
      width: 100%;
      max-width: 380px;
    }

    .l-logo {
      text-align: center;
      margin-bottom: 20px;
    }

    .l-logo h2 {
      font-size: 1.5rem;
      font-weight: 800;
    }

    .l-logo .lb {
      background: var(--text);
      color: var(--bg);
      padding: 1px 7px;
      border-radius: 4px;
      margin-left: 3px;
      font-size: 1.4rem;
      font-weight: 800;
    }

    .l-logo p {
      font-size: .78rem;
      color: var(--muted);
      margin-top: 5px;
    }

    /* CLIENT */
    #page-client {
      display: flex;
      flex-direction: column;
      min-height: 100vh;
    }

    .app-hdr {
      background: var(--card);
      padding: 13px 18px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      position: sticky;
      top: 0;
      z-index: 100;
      border-bottom: 1px solid var(--border);
    }

    .app-logo {
      font-size: 1.1rem;
      font-weight: 800;
    }

    .app-logo .lb {
      background: var(--text);
      color: var(--bg);
      padding: 1px 6px;
      border-radius: 3px;
      margin-left: 3px;
    }

    .hdr-btns {
      display: flex;
      gap: 10px;
    }

    .icon-btn {
      width: 37px;
      height: 37px;
      border-radius: 50%;
      background: var(--blue);
      border: none;
      color: #fff;
      font-size: .88rem;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      position: relative;
    }

    .cart-dot {
      position: absolute;
      top: -2px;
      right: -2px;
      width: 17px;
      height: 17px;
      background: var(--orange);
      border-radius: 50%;
      font-size: .62rem;
      font-weight: 800;
      display: flex;
      align-items: center;
      justify-content: center;
      border: 2px solid var(--card);
    }

    .client-main {
      flex: 1;
      overflow-y: auto;
      -webkit-overflow-scrolling: touch;
      padding-bottom: 80px;
    }

    .bot-nav {
      position: fixed;
      bottom: 0;
      left: 50%;
      transform: translateX(-50%);
      width: 100%;
      max-width: 480px;
      background: var(--card);
      border-top: 1px solid var(--border);
      display: flex;
      z-index: 100;
    }

    .ntab {
      flex: 1;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      padding: 10px 0;
      cursor: pointer;
      border: none;
      background: none;
      color: var(--muted);
      font-size: .62rem;
      font-weight: 600;
      gap: 3px;
      transition: .2s;
    }

    .ntab i {
      font-size: 1.05rem;
    }

    .ntab.active {
      color: var(--orange);
    }

    .h-clock {
      padding: 14px 18px 4px;
    }

    .h-clock .ht {
      font-size: 1.35rem;
      font-weight: 800;
    }

    .h-clock .hd {
      font-size: .76rem;
      color: var(--muted);
      text-transform: capitalize;
      margin-top: 1px;
    }

    .cat-row {
      padding: 10px 18px;
      overflow-x: auto;
      display: flex;
      gap: 7px;
      scrollbar-width: none;
    }

    .cat-row::-webkit-scrollbar {
      display: none;
    }

    .cpill {
      padding: 7px 15px;
      border-radius: 20px;
      font-size: .78rem;
      font-weight: 600;
      cursor: pointer;
      white-space: nowrap;
      border: none;
      transition: .2s;
      font-family: inherit;
    }

    .cpill.active {
      background: var(--orange);
      color: #fff;
    }

    .cpill:not(.active) {
      background: var(--card2);
      color: var(--muted);
    }

    .sec-h {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 14px 18px 10px;
    }

    .sec-title {
      font-size: .98rem;
      font-weight: 800;
      display: flex;
      align-items: center;
      gap: 7px;
    }

    .sec-link {
      font-size: .78rem;
      color: var(--orange);
      font-weight: 600;
      cursor: pointer;
      background: none;
      border: none;
      font-family: inherit;
    }

    /* PACK CARD */
    .pack-card {
      margin: 0 18px 16px;
      border-radius: 16px;
      overflow: hidden;
      background: var(--card);
    }

    .pack-hdr {
      padding: 18px;
      position: relative;
      background: var(--pack-grad);
      min-height: 90px;
      overflow: hidden;
    }

    .pack-hdr-img {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      filter: brightness(.55);
    }

    .pack-hdr-cont {
      position: relative;
      z-index: 2;
    }

    .pack-gift {
      position: absolute;
      right: 14px;
      top: 50%;
      transform: translateY(-50%);
      font-size: 2rem;
      opacity: .8;
      z-index: 2;
    }

    .pack-hdr h3 {
      font-size: 1.05rem;
      font-weight: 800;
      color: #fff;
      margin-bottom: 3px;
    }

    .pack-hdr p {
      font-size: .78rem;
      color: rgba(255, 255, 255, .82);
      margin-bottom: 10px;
    }

    .price-pill {
      display: inline-block;
      background: rgba(0, 0, 0, .38);
      color: #fff;
      padding: 5px 14px;
      border-radius: 20px;
      font-size: .92rem;
      font-weight: 800;
      backdrop-filter: blur(4px);
    }

    .pack-body {
      padding: 13px 15px;
    }

    .eco {
      margin-bottom: 11px;
    }

    .cnt-lbl {
      font-size: .7rem;
      font-weight: 700;
      color: var(--muted);
      letter-spacing: .7px;
      margin-bottom: 9px;
    }

    .pack-items {
      display: flex;
      flex-direction: column;
      gap: 9px;
      margin-bottom: 15px;
    }

    .pi {
      display: flex;
      align-items: center;
      gap: 9px;
    }

    .pi-ic {
      width: 29px;
      height: 29px;
      border-radius: 7px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: .72rem;
      flex-shrink: 0;
    }

    .pi-nm {
      flex: 1;
      font-size: .83rem;
      color: var(--text);
    }

    .pi-qty {
      background: var(--card2);
      color: var(--text);
      padding: 3px 9px;
      border-radius: 7px;
      font-size: .73rem;
      font-weight: 700;
      border: 1px solid var(--border);
    }

    .pack-btn {
      background: var(--btn-grad);
      color: #fff;
      border: none;
      width: 100%;
      padding: 13px;
      border-radius: 12px;
      font-size: .88rem;
      font-weight: 700;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 7px;
      font-family: inherit;
    }

    /* PRODUCT CARDS */
    .prod-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 11px;
      padding: 0 18px;
    }

    .prod-card {
      background: var(--card);
      border-radius: 13px;
      overflow: hidden;
      position: relative;
    }

    .prod-imgs {
      position: relative;
      height: 138px;
      background: var(--card2);
      overflow: hidden;
    }

    .prod-imgs img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .prod-imgs-ph {
      width: 100%;
      height: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--muted);
      font-size: 1.8rem;
    }

    .promo-badge {
      position: absolute;
      top: 7px;
      left: 7px;
      background: var(--orange);
      color: #fff;
      padding: 2px 7px;
      border-radius: 6px;
      font-size: .65rem;
      font-weight: 700;
      z-index: 2;
    }

    .fav-btn {
      position: absolute;
      top: 7px;
      right: 7px;
      width: 27px;
      height: 27px;
      border-radius: 50%;
      background: rgba(0, 0, 0, .45);
      border: none;
      color: var(--muted);
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: .78rem;
      z-index: 2;
    }

    .fav-btn.on {
      color: #ef4444;
    }

    .img-dots {
      position: absolute;
      bottom: 5px;
      left: 50%;
      transform: translateX(-50%);
      display: flex;
      gap: 3px;
      z-index: 2;
    }

    .img-dot {
      width: 5px;
      height: 5px;
      border-radius: 50%;
      background: rgba(255, 255, 255, .5);
    }

    .img-dot.on {
      background: #fff;
    }

    .prod-body {
      padding: 10px 11px;
    }

    .prod-name {
      font-weight: 700;
      font-size: .86rem;
      margin-bottom: 2px;
      line-height: 1.3;
    }

    .prod-desc {
      font-size: .7rem;
      color: var(--muted);
      margin-bottom: 7px;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }

    .prod-foot {
      display: flex;
      align-items: center;
      justify-content: space-between;
    }

    .prod-price {
      font-size: .92rem;
      font-weight: 800;
      color: var(--orange);
    }

    .prod-old {
      font-size: .68rem;
      text-decoration: line-through;
      color: var(--muted);
      margin-left: 3px;
    }

    .add-btn {
      width: 27px;
      height: 27px;
      border-radius: 7px;
      background: var(--orange);
      border: none;
      color: #fff;
      font-size: .82rem;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    /* SEARCH */
    .search-wrap {
      padding: 13px 18px;
    }

    .sbox {
      background: var(--card2);
      border-radius: 12px;
      padding: 10px 15px;
      display: flex;
      align-items: center;
      gap: 9px;
    }

    .sbox i {
      color: var(--muted);
    }

    .sbox input {
      background: none;
      border: none;
      color: var(--text);
      font-size: .88rem;
      flex: 1;
      outline: none;
      padding: 0;
    }

    /* CART */
    .cart-empty {
      text-align: center;
      padding: 60px 20px;
      color: var(--muted);
    }

    .cart-empty i {
      font-size: 2.8rem;
      display: block;
      margin-bottom: 12px;
      opacity: .3;
    }

    .cart-row {
      display: flex;
      gap: 11px;
      padding: 13px 18px;
      border-bottom: 1px solid var(--border);
      align-items: center;
    }

    .cart-thumb {
      width: 50px;
      height: 50px;
      border-radius: 9px;
      object-fit: cover;
      background: var(--card2);
      flex-shrink: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--muted);
      overflow: hidden;
    }

    .cart-thumb img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .cart-info {
      flex: 1;
      min-width: 0;
    }

    .cart-nm {
      font-size: .86rem;
      font-weight: 700;
      margin-bottom: 3px;
    }

    .cart-pr {
      font-size: .82rem;
      color: var(--orange);
      font-weight: 700;
    }

    .cart-qty {
      display: flex;
      align-items: center;
      gap: 7px;
      margin-top: 4px;
    }

    .qty-btn {
      width: 24px;
      height: 24px;
      border-radius: 7px;
      background: var(--card2);
      border: none;
      color: var(--text);
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: .86rem;
    }

    .qty-val {
      font-size: .84rem;
      font-weight: 700;
      min-width: 18px;
      text-align: center;
    }

    .cart-rm {
      background: none;
      border: none;
      color: var(--red);
      font-size: .75rem;
      cursor: pointer;
      margin-left: 3px;
    }

    .cart-foot {
      padding: 16px 18px;
      background: var(--bg);
      border-top: 1px solid var(--border);
    }

    .cart-tot {
      display: flex;
      justify-content: space-between;
      font-size: .98rem;
      font-weight: 800;
      margin-bottom: 13px;
    }

    .wa-btn {
      width: 100%;
      background: #25D366;
      color: #fff;
      border: none;
      padding: 14px;
      border-radius: 12px;
      font-size: .92rem;
      font-weight: 700;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      font-family: inherit;
    }

    /* ACCOUNT */
    .acc-wrap {
      padding: 18px;
    }

    .acc-hdr {
      background: var(--pack-grad);
      border-radius: 15px;
      padding: 20px;
      margin-bottom: 16px;
      display: flex;
      align-items: center;
      gap: 13px;
    }

    .acc-av {
      width: 50px;
      height: 50px;
      border-radius: 50%;
      background: rgba(255, 255, 255, .2);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.3rem;
      color: #fff;
    }

    .acc-nm {
      font-size: .98rem;
      font-weight: 800;
      color: #fff;
    }

    .acc-email {
      font-size: .74rem;
      color: rgba(255, 255, 255, .75);
      margin-top: 2px;
    }

    .acc-menu {
      background: var(--card);
      border-radius: 13px;
      overflow: hidden;
    }

    .acc-item {
      display: flex;
      align-items: center;
      gap: 13px;
      padding: 14px 15px;
      border-bottom: 1px solid var(--border);
      cursor: pointer;
    }

    .acc-item:last-child {
      border-bottom: none;
    }

    .acc-item i:first-child {
      width: 20px;
      color: var(--orange);
      font-size: .9rem;
    }

    .acc-item span {
      flex: 1;
      font-size: .88rem;
      font-weight: 600;
    }

    .acc-item .arr {
      color: var(--muted);
      font-size: .72rem;
    }

    /* ADMIN */
    #page-admin {
      display: flex;
      flex-direction: column;
      min-height: 100vh;
    }

    .adm-hdr {
      background: var(--card);
      padding: 13px 18px;
      display: flex;
      align-items: center;
      gap: 11px;
      position: sticky;
      top: 0;
      z-index: 100;
      border-bottom: 1px solid var(--border);
    }

    .adm-back {
      width: 33px;
      height: 33px;
      border-radius: 50%;
      background: var(--card2);
      border: none;
      color: var(--text);
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .adm-hdr h1 {
      font-size: .98rem;
      font-weight: 700;
      flex: 1;
    }

    .adm-nav {
      display: flex;
      overflow-x: auto;
      gap: 6px;
      padding: 11px 18px;
      background: var(--card);
      border-bottom: 1px solid var(--border);
      scrollbar-width: none;
    }

    .adm-nav::-webkit-scrollbar {
      display: none;
    }

    .anb {
      padding: 7px 15px;
      border-radius: 20px;
      border: none;
      font-size: .76rem;
      font-weight: 700;
      cursor: pointer;
      white-space: nowrap;
      font-family: inherit;
      transition: .2s;
    }

    .anb.active {
      background: var(--orange);
      color: #fff;
    }

    .anb:not(.active) {
      background: var(--card2);
      color: var(--muted);
    }

    .adm-main {
      padding: 17px;
      flex: 1;
    }

    .a-stats {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 11px;
      margin-bottom: 16px;
    }

    .astat {
      background: var(--card);
      border-radius: 13px;
      padding: 15px;
      border-left: 4px solid var(--orange);
    }

    .astat.s2 {
      border-left-color: var(--blue);
    }

    .astat.s3 {
      border-left-color: var(--green);
    }

    .astat.s4 {
      border-left-color: var(--red);
    }

    .astat-v {
      font-size: 1.55rem;
      font-weight: 800;
    }

    .astat-l {
      font-size: .72rem;
      color: var(--muted);
      margin-top: 3px;
    }

    .acard {
      background: var(--card);
      border-radius: 13px;
      overflow: hidden;
      margin-bottom: 13px;
    }

    .acard-h {
      padding: 13px 15px;
      border-bottom: 1px solid var(--border);
      display: flex;
      align-items: center;
      justify-content: space-between;
    }

    .acard-h h3 {
      font-size: .88rem;
      font-weight: 700;
    }

    .chart-box {
      background: var(--card);
      border-radius: 13px;
      padding: 15px;
      margin-bottom: 13px;
    }

    .chart-box canvas {
      max-height: 250px;
    }

    .tab-row {
      display: flex;
      gap: 5px;
      margin-bottom: 15px;
      flex-wrap: wrap;
    }

    .tbtn {
      padding: 7px 13px;
      border-radius: 20px;
      border: none;
      font-size: .75rem;
      font-weight: 700;
      cursor: pointer;
      font-family: inherit;
      transition: .2s;
    }

    .tbtn.active {
      background: var(--orange);
      color: #fff;
    }

    .tbtn:not(.active) {
      background: var(--card2);
      color: var(--muted);
    }

    /* MULTI PHOTO GRID */
    .photo-grid {
      display: flex;
      flex-wrap: wrap;
      gap: 7px;
      min-height: 82px;
      align-items: flex-start;
      padding: 7px;
      background: var(--card2);
      border-radius: 12px;
    }

    .photo-thumb {
      position: relative;
      width: 72px;
      height: 72px;
      flex-shrink: 0;
    }

    .photo-thumb img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      border-radius: 9px;
    }

    .photo-rm {
      position: absolute;
      top: -5px;
      right: -5px;
      background: var(--red);
      color: #fff;
      border: none;
      width: 19px;
      height: 19px;
      border-radius: 50%;
      cursor: pointer;
      font-size: .6rem;
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 2;
    }

    .photo-add {
      width: 72px;
      height: 72px;
      border: 2px dashed var(--border);
      border-radius: 9px;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      position: relative;
      flex-shrink: 0;
    }

    .photo-add i {
      color: var(--muted);
      font-size: .95rem;
      margin-bottom: 3px;
    }

    .photo-add span {
      font-size: .58rem;
      color: var(--muted);
    }

    .photo-add input {
      position: absolute;
      inset: 0;
      opacity: 0;
      cursor: pointer;
      width: 100%;
      height: 100%;
    }

    /* THEME */
    .swatch-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 8px;
      margin-top: 11px;
    }

    .swatch-item {
      border-radius: 10px;
      overflow: hidden;
      cursor: pointer;
      border: 2px solid var(--border);
      transition: .2s;
    }

    .swatch-item.on {
      border-color: var(--orange);
    }

    .swatch-prev {
      height: 38px;
    }

    .swatch-lbl {
      padding: 5px 7px;
      background: var(--card2);
      display: flex;
      align-items: center;
      justify-content: space-between;
    }

    .swatch-lbl span {
      font-size: .66rem;
      font-weight: 700;
    }

    /* MODAL */
    .modal-ov {
      position: fixed;
      inset: 0;
      background: rgba(0, 0, 0, .6);
      z-index: 500;
      display: flex;
      align-items: flex-end;
      justify-content: center;
    }

    .modal-sh {
      background: var(--card);
      border-radius: 20px 20px 0 0;
      padding: 20px;
      width: 100%;
      max-width: 480px;
      max-height: 90vh;
      overflow-y: auto;
    }

    .modal-drag {
      width: 36px;
      height: 4px;
      background: var(--border);
      border-radius: 2px;
      margin: 0 auto 16px;
    }

    .modal-hd {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 16px;
    }

    .modal-hd h3 {
      font-size: .98rem;
      font-weight: 700;
    }

    .modal-cl {
      background: none;
      border: none;
      color: var(--muted);
      font-size: 1.3rem;
      cursor: pointer;
      line-height: 1;
    }

    /* PACKS PAGE */
    #packs-pg {
      display: none;
      position: fixed;
      inset: 0;
      background: var(--bg);
      z-index: 400;
      flex-direction: column;
      transition: transform .32s cubic-bezier(.4, 0, .2, 1);
    }

    .packs-pg-hdr {
      background: var(--card);
      padding: 13px 18px;
      display: flex;
      align-items: center;
      gap: 11px;
      border-bottom: 1px solid var(--border);
    }

    .packs-pg-hdr .back {
      width: 33px;
      height: 33px;
      border-radius: 50%;
      background: var(--card2);
      border: none;
      color: var(--text);
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .packs-pg-body {
      flex: 1;
      overflow-y: auto;
      padding: 16px;
    }

    /* COLOR PICKERS */
    .color-row {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 11px;
      margin-bottom: 13px;
    }

    .color-col label {
      text-transform: uppercase;
      font-size: .72rem;
      color: var(--muted);
      font-weight: 700;
      margin-bottom: 5px;
    }

    .color-col input[type=color] {
      width: 100%;
      height: 48px;
      border: none;
      padding: 3px;
      background: var(--card2);
      border-radius: 10px;
      cursor: pointer;
      display: block;
    }

    .color-preview {
      height: 44px;
      border-radius: 11px;
      margin-bottom: 13px;
      transition: .3s;
    }

    .pack-preview {
      border-radius: 13px;
      overflow: hidden;
      margin-bottom: 13px;
    }

    .pack-preview-inner {
      padding: 15px;
      transition: .3s;
    }

    @keyframes fadeIn {
      from {
        opacity: 0;
        transform: translateY(8px)
      }

      to {
        opacity: 1;
        transform: translateY(0)
      }
    }
