﻿* {
  box-sizing: border-box;
}

:root {
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;

  color: #111827;
  background: #f6f7fb;
}

body {
  margin: 0;
}

button,
input,
textarea,
select {
  font: inherit;
}

.store-header,
.admin-header {
  background: #111827;
  color: white;
  padding: 32px max(20px, calc((100% - 1200px) / 2));
}

.store-header h1,
.admin-header h1 {
  margin: 5px 0;
  font-size: clamp(28px, 5vw, 48px);
}

.store-header p {
  color: #cbd5e1;
}

.eyebrow {
  font-size: 12px;
  letter-spacing: .18em;
  font-weight: 800;
  opacity: .7;
}

.container,
.admin-container {
  width: min(1200px, calc(100% - 32px));
  margin: 28px auto;
}

.toolbar {
  margin-bottom: 22px;
}

.search {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #dbe0e8;
  border-radius: 14px;
  background: white;
  outline: none;
}

.categories {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 14px 0 0;
}

.category-button {
  border: 1px solid #dbe0e8;
  background: white;
  padding: 9px 14px;
  border-radius: 100px;
  cursor: pointer;
  white-space: nowrap;
}

.category-button.active {
  background: #111827;
  color: white;
  border-color: #111827;
}

.product-grid {
  display: grid;
  grid-template-columns:
    repeat(
      auto-fill,
      minmax(230px, 1fr)
    );
  gap: 18px;
}

.product-card {
  background: white;
  border-radius: 18px;
  overflow: hidden;
  box-shadow:
    0 8px 30px rgba(15, 23, 42, .06);
}

.product-image {
  position: relative;
  aspect-ratio: 1 / 1;
  background: #eef1f5;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: #94a3b8;
  font-size: 13px;
  font-weight: 700;
}

.soldout-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 7px 10px;
  border-radius: 8px;
  background: #111827;
  color: white;
  font-size: 11px;
  font-weight: 800;
}

.product-content {
  padding: 16px;
}

.product-category {
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.product-content h2 {
  font-size: 18px;
  margin: 6px 0;
}

.description {
  color: #64748b;
  font-size: 13px;
  line-height: 1.5;
  min-height: 38px;
}

.old-price {
  font-size: 13px;
  color: #94a3b8;
  text-decoration: line-through;
}

.price {
  font-weight: 900;
  font-size: 20px;
  margin-top: 2px;
}

.product-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: #64748b;
  font-size: 12px;
  margin: 10px 0 14px;
}

.buy-button,
.button {
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: #111827;
  color: white;
  text-decoration: none;
  border-radius: 11px;
  padding: 12px 15px;
  font-weight: 800;
}

.buy-button {
  width: 100%;
}

.buy-button.disabled {
  opacity: .45;
  cursor: not-allowed;
}

.footer {
  text-align: center;
  color: #94a3b8;
  padding: 40px;
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.admin-card,
.stat-card {
  background: white;
  border-radius: 18px;
  padding: 22px;
  box-shadow:
    0 8px 30px rgba(15, 23, 42, .06);
  margin-bottom: 20px;
}

.login-card {
  width: min(420px, 100%);
  margin: 50px auto;
}

.login-card form {
  display: flex;
  gap: 10px;
}

.login-card input {
  flex: 1;
}

.stats {
  display: grid;
  grid-template-columns:
    repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}

.stat-card {
  margin: 0;
}

.stat-card span {
  color: #64748b;
  font-size: 13px;
}

.stat-card strong {
  display: block;
  font-size: 30px;
  margin-top: 5px;
}

.section-title {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  align-items: center;
  margin-bottom: 18px;
}

.section-title h2 {
  margin: 5px 0 0;
}

.form-grid {
  display: grid;
  grid-template-columns:
    repeat(2, 1fr);
  gap: 15px;
}

label {
  font-size: 13px;
  color: #475569;
  font-weight: 700;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid #dbe0e8;
  border-radius: 10px;
  padding: 11px 12px;
  background: white;
  margin-top: 6px;
  outline: none;
}

.wide {
  grid-column: 1 / -1;
}

.form-actions {
  margin-top: 18px;
}

.button.secondary {
  background: #e9edf3;
  color: #111827;
}

.button.danger {
  background: #dc2626;
}

.button.small {
  padding: 8px 11px;
  font-size: 12px;
}

.admin-products {
  display: grid;
  gap: 10px;
}

.admin-product {
  display: grid;
  grid-template-columns:
    70px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
}

.admin-product-image {
  width: 70px;
  height: 70px;
  border-radius: 10px;
  background: #eef1f5;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #94a3b8;
  font-size: 9px;
}

.admin-product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.admin-product-info {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 15px;
}

.admin-product-info strong {
  width: 100%;
}

.admin-product-info span {
  color: #64748b;
  font-size: 12px;
}

.admin-product-actions {
  display: flex;
  gap: 8px;
}

.image-preview img {
  width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: 14px;
}

.hidden {
  display: none !important;
}

.error {
  color: #dc2626;
  margin-top: 10px;
}

.empty,
.loading {
  padding: 30px;
  text-align: center;
  color: #64748b;
  background: white;
  border-radius: 15px;
}

@media (max-width: 680px) {

  .product-grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .product-content {
    padding: 12px;
  }

  .product-content h2 {
    font-size: 15px;
  }

  .price {
    font-size: 17px;
  }

  .description {
    display: none;
  }

  .product-meta {
    flex-direction: column;
    gap: 3px;
  }

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

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

  .wide {
    grid-column: auto;
  }

  .admin-product {
    grid-template-columns:
      58px 1fr;
  }

  .admin-product-image {
    width: 58px;
    height: 58px;
  }

  .admin-product-actions {
    grid-column: 1 / -1;
  }

  .admin-product-actions button {
    flex: 1;
  }

}


/* ==========================================================
   PREMIUM IPHONE STORE SOPPENG UI
   ========================================================== */

.storefront {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(
      circle at top left,
      rgba(69, 120, 255, .08),
      transparent 30%
    ),
    #f6f8fc;
  color: #10131a;
}

.storefront .premium-header {
  position: relative;
  overflow: hidden;
  padding:
    34px
    max(20px, calc((100% - 1200px) / 2))
    40px;

  background:
    linear-gradient(
      135deg,
      #080c16 0%,
      #101a2b 55%,
      #111827 100%
    );

  border-bottom:
    1px solid rgba(255,255,255,.08);
}

.storefront .store-header-inner {
  position: relative;
  z-index: 2;
}

.storefront .header-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(70px);
  opacity: .34;
}

.storefront .header-glow-one {
  width: 220px;
  height: 220px;
  background: #2962ff;
  top: -110px;
  right: -60px;
}

.storefront .header-glow-two {
  width: 180px;
  height: 180px;
  background: #60a5fa;
  left: -110px;
  bottom: -130px;
}

.storefront .brand-topline {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 20px;
}

.storefront .store-logo {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;

  border-radius: 14px;

  background:
    linear-gradient(
      135deg,
      #ffffff,
      #d8e4ff
    );

  color: #101827;

  font-size: 14px;
  font-weight: 1000;

  box-shadow:
    0 12px 35px rgba(0,0,0,.25);
}

.storefront .official-pill {
  width: max-content;

  padding: 8px 12px;

  border:
    1px solid rgba(255,255,255,.13);

  border-radius: 999px;

  background:
    rgba(255,255,255,.07);

  backdrop-filter: blur(14px);

  color: #d7deed;

  font-size: 10px;
  font-weight: 900;

  letter-spacing: .14em;
}

.storefront .premium-header h1 {
  max-width: 800px;

  margin: 0;

  color: #ffffff;

  font-size:
    clamp(30px, 7vw, 58px);

  line-height: 1;

  letter-spacing: -.04em;

  font-weight: 1000;
}

.storefront .hero-subtitle {
  max-width: 620px;

  margin:
    17px 0 0;

  color: #aeb9cd;

  font-size: 15px;

  line-height: 1.65;
}

.storefront .trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;

  margin-top: 24px;
}

.storefront .trust-item {
  padding:
    8px 11px;

  border-radius:
    10px;

  background:
    rgba(255,255,255,.065);

  color:
    #dce3ef;

  font-size:
    10px;

  font-weight:
    800;

  letter-spacing:
    .06em;
}

.storefront .trust-item strong {
  color:
    #55e6a5;
}

.storefront .premium-container {
  position: relative;

  width:
    min(1200px, calc(100% - 30px));

  margin:
    -18px auto 40px;
}

.storefront .welcome-box {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 20px;

  padding: 20px;

  border:
    1px solid rgba(17,24,39,.07);

  border-radius: 22px;

  background:
    rgba(255,255,255,.94);

  box-shadow:
    0 16px 50px rgba(15,23,42,.08);

  backdrop-filter:
    blur(20px);
}

.storefront .welcome-label,
.storefront .section-kicker {
  font-size: 10px;

  color:
    #667085;

  font-weight:
    900;

  letter-spacing:
    .16em;
}

.storefront .welcome-box h2 {
  margin:
    5px 0;

  font-size:
    clamp(20px, 4vw, 28px);

  letter-spacing:
    -.03em;
}

.storefront .welcome-box p {
  margin: 0;

  color:
    #7a8497;

  font-size:
    13px;

  line-height:
    1.6;
}

.storefront .welcome-icon {
  flex: 0 0 auto;

  width: 62px;
  height: 62px;

  display: grid;
  place-items: center;

  border-radius: 20px;

  background:
    linear-gradient(
      145deg,
      #101827,
      #1b2a46
    );

  color:
    white;

  font-size:
    29px;

  box-shadow:
    0 12px 30px rgba(17,24,39,.2);
}

.storefront .premium-toolbar {
  margin-top: 18px;

  padding: 16px;

  border-radius: 20px;

  background:
    white;

  box-shadow:
    0 12px 40px rgba(15,23,42,.055);
}

.storefront .search-wrapper {
  position: relative;
}

.storefront .search-icon {
  position: absolute;

  left: 16px;
  top: 50%;

  transform:
    translateY(-50%);

  z-index: 2;

  color:
    #98a2b3;

  font-size:
    19px;
}

.storefront .search {
  height: 52px;

  margin: 0;

  padding:
    0 18px 0 46px;

  border:
    1px solid #e6eaf0;

  border-radius:
    15px;

  background:
    #f8fafc;

  font-size:
    14px;

  transition:
    .2s ease;
}

.storefront .search:focus {
  border-color:
    #3b82f6;

  background:
    white;

  box-shadow:
    0 0 0 4px rgba(59,130,246,.09);
}

.storefront .categories {
  padding-top:
    13px;
}

.storefront .category-button {
  border:
    1px solid #e0e5ec;

  padding:
    9px 15px;

  border-radius:
    999px;

  background:
    #ffffff;

  color:
    #455065;

  font-size:
    12px;

  font-weight:
    750;

  box-shadow:
    0 3px 10px rgba(15,23,42,.035);

  transition:
    .18s ease;
}

.storefront .category-button:hover {
  transform:
    translateY(-1px);

  border-color:
    #a9b7cf;
}

.storefront .category-button.active {
  background:
    linear-gradient(
      135deg,
      #111827,
      #213250
    );

  color:
    white;

  border-color:
    transparent;

  box-shadow:
    0 8px 18px rgba(17,24,39,.17);
}

.storefront .section-heading {
  display: flex;
  align-items: end;

  gap: 18px;

  margin:
    28px 2px 15px;
}

.storefront .section-heading h2 {
  margin:
    4px 0 0;

  font-size:
    22px;

  letter-spacing:
    -.035em;
}

.storefront .section-line {
  flex: 1;

  height: 1px;

  margin-bottom:
    7px;

  background:
    linear-gradient(
      90deg,
      #dde2e9,
      transparent
    );
}

.storefront .product-grid {
  display: grid;

  grid-template-columns:
    repeat(
      auto-fill,
      minmax(235px, 1fr)
    );

  gap: 17px;
}

.storefront .product-card {
  position: relative;

  overflow: hidden;

  border:
    1px solid rgba(15,23,42,.055);

  border-radius:
    22px;

  background:
    white;

  box-shadow:
    0 12px 38px rgba(15,23,42,.065);

  transition:
    transform .22s ease,
    box-shadow .22s ease;
}

.storefront .product-card:hover {
  transform:
    translateY(-4px);

  box-shadow:
    0 18px 45px rgba(15,23,42,.11);
}

.storefront .product-image {
  position: relative;

  aspect-ratio:
    1 / 1;

  overflow: hidden;

  background:
    linear-gradient(
      145deg,
      #f5f7fa,
      #edf1f6
    );
}

.storefront .product-image::after {
  content: "";

  position: absolute;

  left: 0;
  right: 0;
  bottom: 0;

  height: 40%;

  pointer-events: none;

  background:
    linear-gradient(
      transparent,
      rgba(0,0,0,.03)
    );
}

.storefront .product-image img {
  width: 100%;
  height: 100%;

  object-fit:
    cover;

  transition:
    transform .35s ease;
}

.storefront .product-card:hover .product-image img {
  transform:
    scale(1.025);
}

.storefront .placeholder {
  color:
    #98a2b3;

  font-size:
    11px;

  letter-spacing:
    .08em;
}

.storefront .soldout-badge {
  top:
    12px;

  left:
    12px;

  border-radius:
    999px;

  padding:
    7px 10px;

  background:
    rgba(9,13,23,.92);

  backdrop-filter:
    blur(10px);

  font-size:
    9px;

  letter-spacing:
    .08em;
}

.storefront .product-content {
  padding:
    16px;
}

.storefront .product-category {
  width:
    max-content;

  max-width:
    100%;

  padding:
    5px 8px;

  border-radius:
    7px;

  background:
    #eef4ff;

  color:
    #3b65af;

  font-size:
    9px;

  letter-spacing:
    .06em;

  font-weight:
    900;
}

.storefront .product-content h2 {
  margin:
    10px 0 5px;

  color:
    #101828;

  font-size:
    17px;

  font-weight:
    900;

  line-height:
    1.3;

  letter-spacing:
    -.02em;
}

.storefront .description {
  margin:
    4px 0 13px;

  min-height:
    38px;

  color:
    #7b8494;

  font-size:
    12px;

  line-height:
    1.55;
}

.storefront .old-price {
  margin-top:
    4px;

  color:
    #9aa3b2;

  font-size:
    11px;
}

.storefront .price {
  margin-top:
    2px;

  color:
    #101828;

  font-size:
    21px;

  font-weight:
    1000;

  letter-spacing:
    -.025em;
}

.storefront .product-meta {
  display:
    flex;

  justify-content:
    space-between;

  align-items:
    center;

  gap:
    8px;

  margin:
    11px 0 15px;

  color:
    #7a8496;

  font-size:
    11px;
}

.storefront .buy-button {
  min-height:
    44px;

  border-radius:
    13px;

  background:
    linear-gradient(
      135deg,
      #111827,
      #253858
    );

  font-size:
    11px;

  font-weight:
    900;

  letter-spacing:
    .07em;

  box-shadow:
    0 9px 20px rgba(17,24,39,.15);

  transition:
    .18s ease;
}

.storefront .buy-button:not(.disabled):hover {
  transform:
    translateY(-1px);

  box-shadow:
    0 12px 25px rgba(17,24,39,.2);
}

.storefront .buy-button.disabled {
  background:
    #e4e7ec;

  color:
    #98a2b3;

  box-shadow:
    none;
}

.storefront .premium-footer {
  margin-top:
    45px;

  padding:
    38px 20px;

  background:
    #0a0e18;

  color:
    #8490a5;

  text-align:
    center;
}

.storefront .footer-brand {
  color:
    #f6f8fc;

  font-size:
    14px;

  font-weight:
    1000;

  letter-spacing:
    .08em;
}

.storefront .premium-footer p {
  margin:
    7px 0 17px;

  font-size:
    12px;
}

.storefront .premium-footer span {
  font-size:
    10px;
}


/* MOBILE */

@media (max-width: 680px) {

  .storefront .premium-header {
    padding:
      27px 18px 36px;
  }

  .storefront .premium-header h1 {
    font-size:
      31px;

    line-height:
      1.04;
  }

  .storefront .hero-subtitle {
    font-size:
      13px;

    line-height:
      1.55;
  }

  .storefront .trust-row {
    gap:
      6px;
  }

  .storefront .trust-item {
    padding:
      7px 9px;

    font-size:
      8px;
  }

  .storefront .premium-container {
    width:
      calc(100% - 22px);

    margin-top:
      -17px;
  }

  .storefront .welcome-box {
    padding:
      16px;
  }

  .storefront .welcome-icon {
    width:
      48px;

    height:
      48px;

    border-radius:
      15px;

    font-size:
      23px;
  }

  .storefront .welcome-box h2 {
    font-size:
      18px;
  }

  .storefront .welcome-box p {
    font-size:
      11px;
  }

  .storefront .premium-toolbar {
    padding:
      12px;

    border-radius:
      18px;
  }

  .storefront .search {
    height:
      48px;
  }

  .storefront .product-grid {
    grid-template-columns:
      repeat(
        2,
        minmax(0,1fr)
      );

    gap:
      10px;
  }

  .storefront .product-card {
    border-radius:
      16px;
  }

  .storefront .product-content {
    padding:
      11px;
  }

  .storefront .product-content h2 {
    margin-top:
      8px;

    font-size:
      14px;
  }

  .storefront .price {
    font-size:
      16px;
  }

  .storefront .description {
    display:
      none;
  }

  .storefront .product-meta {
    display:
      flex;

    flex-direction:
      column;

    align-items:
      flex-start;

    gap:
      2px;

    margin:
      8px 0 11px;

    font-size:
      9px;
  }

  .storefront .buy-button {
    min-height:
      39px;

    padding:
      9px 7px;

    border-radius:
      10px;

    font-size:
      9px;
  }

  .storefront .product-category {
    font-size:
      8px;
  }

  .storefront .section-heading {
    margin-top:
      23px;
  }

  .storefront .section-heading h2 {
    font-size:
      19px;
  }

}


.ready-badge {
  position: absolute;
  top: 12px;
  left: 12px;

  z-index: 3;

  padding: 7px 10px;

  border-radius: 999px;

  background: rgba(16, 185, 129, .92);

  color: white;

  font-size: 9px;
  font-weight: 900;
  letter-spacing: .08em;

  backdrop-filter: blur(10px);
}

.single-item-status {
  display: flex;
  align-items: center;

  gap: 7px;

  margin: 11px 0 14px;

  font-size: 10px;
  font-weight: 900;

  letter-spacing: .05em;
}

.single-item-status.ready {
  color: #079669;
}

.single-item-status.sold {
  color: #e11d48;
}

.status-dot {
  width: 7px;
  height: 7px;

  border-radius: 50%;

  background: currentColor;

  box-shadow:
    0 0 0 4px rgba(16,185,129,.10);
}

.single-item-status.sold .status-dot {
  box-shadow:
    0 0 0 4px rgba(225,29,72,.10);
}

.product-sold .product-image img {
  filter:
    grayscale(.35)
    brightness(.82);
}

.product-sold .price {
  color: #667085;
}

.status-active {
  color: #059669 !important;
  font-weight: 900;
}

.status-soldout {
  color: #e11d48 !important;
  font-weight: 900;
}

.status-hidden {
  color: #667085 !important;
  font-weight: 900;
}


/* ==========================================================
   IPHONE STORE SOPPENG
   DARK + NEON GREEN THEME
   Accent: #B7FF00
   ========================================================== */

:root {
  --neon: #b7ff00;
  --neon-soft: #d1ff62;

  --black: #050705;
  --black-2: #080b08;
  --panel: #0c100d;
  --panel-2: #111612;

  --line: rgba(183, 255, 0, .14);
  --line-soft: rgba(255,255,255,.075);

  --text: #f5f7f4;
  --muted: #899187;

  --danger: #ff4664;

  color-scheme: dark;
}


/* ==========================================================
   GLOBAL
   ========================================================== */

html {
  background: var(--black);
}

body {
  background: var(--black);
  color: var(--text);
}

button,
input,
textarea,
select {
  font-family: inherit;
}

::selection {
  background: var(--neon);
  color: #050705;
}


/* ==========================================================
   PUBLIC STORE
   ========================================================== */

.storefront {
  background:
    radial-gradient(
      circle at 15% 0%,
      rgba(183,255,0,.10),
      transparent 27%
    ),
    radial-gradient(
      circle at 90% 25%,
      rgba(183,255,0,.045),
      transparent 25%
    ),
    linear-gradient(
      180deg,
      #050705,
      #080b08 55%,
      #050705
    ) !important;

  color: var(--text);
}


/* HEADER */

.storefront .premium-header,
.store-header {
  position: relative;

  background:
    linear-gradient(
      145deg,
      #050705,
      #090d09 65%,
      #101510
    ) !important;

  border-bottom:
    1px solid var(--line) !important;

  box-shadow:
    0 20px 65px rgba(0,0,0,.42);
}

.storefront .premium-header::before {
  content: "";

  position: absolute;
  inset: 0;

  pointer-events: none;

  opacity: .28;

  background-image:
    linear-gradient(
      rgba(183,255,0,.035) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(183,255,0,.035) 1px,
      transparent 1px
    );

  background-size:
    38px 38px;
}

.storefront .header-glow-one,
.storefront .header-glow-two {
  background:
    var(--neon) !important;

  opacity:
    .10 !important;
}

.storefront .store-logo {
  background:
    var(--neon) !important;

  color:
    #050705 !important;

  border:
    1px solid rgba(255,255,255,.18);

  box-shadow:
    0 0 30px rgba(183,255,0,.22) !important;
}

.storefront .official-pill {
  color:
    var(--neon) !important;

  background:
    rgba(183,255,0,.06) !important;

  border-color:
    rgba(183,255,0,.20) !important;
}

.storefront .premium-header h1 {
  color:
    #ffffff !important;

  text-shadow:
    0 0 40px rgba(183,255,0,.08);
}

.storefront .hero-subtitle {
  color:
    #9ca59a !important;
}

.storefront .trust-item {
  background:
    rgba(255,255,255,.035) !important;

  border:
    1px solid var(--line-soft);

  color:
    #bec5bc !important;
}

.storefront .trust-item strong {
  color:
    var(--neon) !important;
}


/* WELCOME */

.storefront .welcome-box {
  background:
    rgba(11,15,12,.95) !important;

  border:
    1px solid var(--line) !important;

  box-shadow:
    0 20px 70px rgba(0,0,0,.35) !important;
}

.storefront .welcome-label,
.storefront .section-kicker {
  color:
    var(--neon) !important;
}

.storefront .welcome-box h2,
.storefront .section-heading h2 {
  color:
    var(--text);
}

.storefront .welcome-box p {
  color:
    var(--muted) !important;
}

.storefront .welcome-icon {
  background:
    var(--neon) !important;

  color:
    #050705 !important;

  box-shadow:
    0 0 35px rgba(183,255,0,.15) !important;
}


/* SEARCH + CATEGORY */

.storefront .premium-toolbar {
  background:
    var(--panel) !important;

  border:
    1px solid var(--line-soft);

  box-shadow:
    0 15px 45px rgba(0,0,0,.24) !important;
}

.storefront .search {
  color:
    #f6f8f5 !important;

  background:
    #070a07 !important;

  border-color:
    rgba(255,255,255,.09) !important;
}

.storefront .search::placeholder {
  color:
    #667064;
}

.storefront .search:focus {
  border-color:
    var(--neon) !important;

  box-shadow:
    0 0 0 4px rgba(183,255,0,.08) !important;
}

.storefront .search-icon {
  color:
    var(--neon) !important;
}

.storefront .category-button {
  color:
    #a5ada2 !important;

  background:
    #090d09 !important;

  border-color:
    rgba(255,255,255,.075) !important;

  box-shadow:
    none !important;
}

.storefront .category-button:hover {
  color:
    var(--neon) !important;

  border-color:
    rgba(183,255,0,.28) !important;
}

.storefront .category-button.active {
  color:
    #050705 !important;

  background:
    var(--neon) !important;

  border-color:
    var(--neon) !important;

  box-shadow:
    0 0 24px rgba(183,255,0,.13) !important;
}


/* PRODUCT CARDS */

.storefront .section-line {
  background:
    linear-gradient(
      90deg,
      rgba(183,255,0,.28),
      transparent
    ) !important;
}

.storefront .product-card {
  content-visibility:
    auto;

  contain-intrinsic-size:
    420px;

  background:
    linear-gradient(
      165deg,
      #0e130f,
      #090c09
    ) !important;

  border:
    1px solid rgba(255,255,255,.065) !important;

  box-shadow:
    0 18px 45px rgba(0,0,0,.24) !important;
}

.storefront .product-card:hover {
  border-color:
    rgba(183,255,0,.28) !important;

  box-shadow:
    0 20px 60px rgba(0,0,0,.36),
    0 0 30px rgba(183,255,0,.035) !important;
}

.storefront .product-image {
  background:
    linear-gradient(
      145deg,
      #151a16,
      #0b0e0c
    ) !important;
}

.storefront .placeholder {
  color:
    #596158 !important;
}

.storefront .product-category {
  color:
    var(--neon) !important;

  background:
    rgba(183,255,0,.07) !important;

  border:
    1px solid rgba(183,255,0,.12);
}

.storefront .product-content h2 {
  color:
    #f5f7f4 !important;
}

.storefront .description {
  color:
    #818a7f !important;
}

.storefront .old-price {
  color:
    #666e64 !important;
}

.storefront .price {
  color:
    var(--neon) !important;

  text-shadow:
    0 0 22px rgba(183,255,0,.06);
}

.storefront .product-meta {
  color:
    #717970 !important;
}


/* READY */

.ready-badge {
  color:
    #050705 !important;

  background:
    var(--neon) !important;

  box-shadow:
    0 0 22px rgba(183,255,0,.17);
}

.single-item-status.ready {
  color:
    var(--neon) !important;
}

.single-item-status.ready .status-dot {
  box-shadow:
    0 0 0 4px rgba(183,255,0,.10),
    0 0 12px rgba(183,255,0,.20) !important;
}


/* SOLD */

.soldout-badge {
  color:
    #fff !important;

  background:
    rgba(255,70,100,.90) !important;
}

.single-item-status.sold {
  color:
    var(--danger) !important;
}

.product-sold {
  opacity:
    .72;
}


/* BUY BUTTON */

.storefront .buy-button {
  color:
    #050705 !important;

  background:
    var(--neon) !important;

  border:
    1px solid var(--neon);

  box-shadow:
    0 10px 28px rgba(183,255,0,.10) !important;
}

.storefront .buy-button:not(.disabled):hover {
  background:
    #cbff42 !important;

  box-shadow:
    0 12px 32px rgba(183,255,0,.20) !important;
}

.storefront .buy-button.disabled {
  color:
    #656c64 !important;

  background:
    #171b17 !important;

  border-color:
    rgba(255,255,255,.06);

  box-shadow:
    none !important;
}


/* FOOTER */

.storefront .premium-footer,
.footer {
  background:
    #030503 !important;

  border-top:
    1px solid var(--line) !important;

  color:
    #687066 !important;
}

.storefront .footer-brand {
  color:
    var(--neon) !important;
}


/* ==========================================================
   ADMIN PANEL
   ========================================================== */

.admin-body {
  min-height:
    100vh;

  background:
    radial-gradient(
      circle at top right,
      rgba(183,255,0,.065),
      transparent 28%
    ),
    #050705 !important;

  color:
    var(--text);
}

.admin-header {
  background:
    rgba(7,10,7,.96) !important;

  border-bottom:
    1px solid var(--line) !important;

  box-shadow:
    0 15px 45px rgba(0,0,0,.25);

  position:
    sticky;

  top:
    0;

  z-index:
    20;

  backdrop-filter:
    blur(16px);
}

.admin-header h1 {
  color:
    #fff !important;

  font-size:
    clamp(20px, 3vw, 32px) !important;

  letter-spacing:
    -.025em;
}

.admin-header .eyebrow {
  color:
    var(--neon) !important;
}

.admin-container {
  width:
    min(1180px, calc(100% - 28px));
}

.admin-card,
.stat-card {
  color:
    var(--text);

  background:
    linear-gradient(
      160deg,
      #0e130f,
      #090c09
    ) !important;

  border:
    1px solid rgba(255,255,255,.07);

  box-shadow:
    0 17px 45px rgba(0,0,0,.25) !important;
}

.admin-card h2,
.stat-card strong {
  color:
    #f6f8f5;
}

.stat-card {
  border-top:
    2px solid rgba(183,255,0,.65);
}

.stat-card span {
  color:
    #899187 !important;
}

.stat-card strong {
  color:
    var(--neon) !important;
}


/* ADMIN INPUT */

.admin-body label {
  color:
    #a5ada2 !important;
}

.admin-body input,
.admin-body textarea,
.admin-body select {
  color:
    #f4f7f3 !important;

  background:
    #060906 !important;

  border:
    1px solid rgba(255,255,255,.09) !important;

  transition:
    border .15s ease,
    box-shadow .15s ease;
}

.admin-body input::placeholder,
.admin-body textarea::placeholder {
  color:
    #555e54;
}

.admin-body input:focus,
.admin-body textarea:focus,
.admin-body select:focus {
  border-color:
    var(--neon) !important;

  box-shadow:
    0 0 0 4px rgba(183,255,0,.07);

  outline:
    none;
}

.admin-body select option {
  color:
    #fff;

  background:
    #090c09;
}


/* ADMIN BUTTONS */

.admin-body .button {
  color:
    #050705 !important;

  background:
    var(--neon) !important;

  border:
    1px solid var(--neon);

  box-shadow:
    0 8px 22px rgba(183,255,0,.08);
}

.admin-body .button:hover {
  filter:
    brightness(1.08);
}

.admin-body .button.secondary {
  color:
    #dce2da !important;

  background:
    #151a15 !important;

  border-color:
    rgba(255,255,255,.08);
}

.admin-body .button.danger {
  color:
    #fff !important;

  background:
    #d92c49 !important;

  border-color:
    #e7405c;
}


/* ADMIN PRODUCT LIST */

.admin-product {
  background:
    #080b08;

  border-color:
    rgba(255,255,255,.07) !important;
}

.admin-product:hover {
  border-color:
    rgba(183,255,0,.22) !important;
}

.admin-product-image {
  color:
    #596158 !important;

  background:
    #111511 !important;

  border:
    1px solid rgba(255,255,255,.05);
}

.admin-product-info strong {
  color:
    #f4f6f3;
}

.admin-product-info span {
  color:
    #818980 !important;
}

.status-active {
  color:
    var(--neon) !important;
}

.status-soldout {
  color:
    var(--danger) !important;
}


/* LOGIN */

.login-card {
  border-top:
    2px solid var(--neon);
}

.login-card p {
  color:
    var(--muted);
}


/* IMAGE PREVIEW */

.image-preview img,
.upload-preview-wrap img {
  display:
    block;

  max-width:
    220px;

  width:
    100%;

  height:
    auto;

  aspect-ratio:
    1 / 1;

  object-fit:
    cover;

  border:
    1px solid rgba(183,255,0,.20);

  border-radius:
    16px;

  background:
    #080b08;
}

.upload-preview-note {
  width:
    max-content;

  max-width:
    100%;

  margin-top:
    9px;

  padding:
    6px 9px;

  border-radius:
    7px;

  background:
    rgba(183,255,0,.075);

  color:
    var(--neon);

  font-size:
    9px;

  font-weight:
    900;

  letter-spacing:
    .07em;
}


/* ==========================================================
   RESPONSIVE
   ========================================================== */

@media (max-width: 680px) {

  .storefront .premium-header h1 {
    font-size:
      30px !important;
  }

  .storefront .product-grid {
    grid-template-columns:
      repeat(2, minmax(0,1fr)) !important;

    gap:
      9px !important;
  }

  .storefront .product-card {
    border-radius:
      15px !important;
  }

  .storefront .product-content {
    padding:
      11px !important;
  }

  .storefront .price {
    font-size:
      16px !important;
  }

  .storefront .buy-button {
    font-size:
      9px !important;
  }

  .admin-header {
    padding:
      18px 15px !important;
  }

  .admin-container {
    width:
      calc(100% - 20px);
  }

}


/* ACCESSIBILITY / PERFORMANCE */

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    scroll-behavior:
      auto !important;

    animation-duration:
      .01ms !important;

    transition-duration:
      .01ms !important;
  }

}

/* ===========================
   COMPACT PRODUCT CARDS
   =========================== */

.storefront .product-grid {
  display: grid !important;
  grid-template-columns:
    repeat(
      auto-fill,
      minmax(190px, 230px)
    ) !important;

  gap: 14px !important;
  justify-content: start !important;
}

.storefront .product-card {
  width: 100% !important;
  max-width: 230px !important;
  border-radius: 16px !important;
}

.storefront .product-image {
  aspect-ratio: 1 / 1 !important;
}

.storefront .product-content {
  padding: 12px !important;
}

.storefront .product-content h2 {
  font-size: 14px !important;
  margin: 8px 0 4px !important;
}

.storefront .description {
  font-size: 10px !important;
  min-height: 30px !important;
}

.storefront .price {
  font-size: 17px !important;
}

.storefront .old-price {
  font-size: 10px !important;
}

.storefront .product-category {
  font-size: 8px !important;
}

.single-item-status {
  font-size: 9px !important;
  margin: 8px 0 11px !important;
}

.storefront .buy-button {
  min-height: 38px !important;
  font-size: 9px !important;
  border-radius: 10px !important;
}


/* MOBILE */

@media (max-width: 680px) {

  .storefront .product-grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr)) !important;

    gap: 9px !important;
  }

  .storefront .product-card {
    max-width: none !important;
  }

  .storefront .product-content {
    padding: 9px !important;
  }

  .storefront .product-content h2 {
    font-size: 12px !important;
  }

  .storefront .price {
    font-size: 15px !important;
  }

  .storefront .description {
    display: none !important;
  }

}


.storefront .hero-subtitle {
  margin-top: 12px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: .055em !important;
  line-height: 1.35 !important;
  color: #aeb7ab !important;
}

@media (max-width: 680px) {
  .storefront .hero-subtitle {
    font-size: 10px !important;
    letter-spacing: .035em !important;
    line-height: 1.45 !important;
  }
}


/* === RAPATKAN JARAK KATEGORI -> NAMA PRODUK === */
.product-card .product-tags,
.product-card .product-badges,
.product-card .product-meta,
.product-card .card-tags,
.product-card .card-meta,
.product-card .category-row,
.product-card .product-category-row {
  margin-bottom: 8px !important;
  gap: 6px !important;
}

.product-card .product-name,
.product-card .product-title,
.product-card h3,
.product-card h4 {
  margin-top: 0 !important;
  margin-bottom: 6px !important;
  line-height: 1.18 !important;
}

/* kalau wrapper card pakai gap */
.product-card .product-info,
.product-card .card-body,
.product-card .product-content {
  gap: 8px !important;
}

/* mobile */
@media (max-width: 768px) {
  .product-card .product-tags,
  .product-card .product-badges,
  .product-card .product-meta,
  .product-card .card-tags,
  .product-card .card-meta,
  .product-card .category-row,
  .product-card .product-category-row {
    margin-bottom: 6px !important;
    gap: 5px !important;
  }

  .product-card .product-name,
  .product-card .product-title,
  .product-card h3,
  .product-card h4 {
    margin-top: 0 !important;
    margin-bottom: 4px !important;
    line-height: 1.12 !important;
  }

  .product-card .product-info,
  .product-card .card-body,
  .product-card .product-content {
    gap: 6px !important;
  }
}
