.store-page {
  background:
    radial-gradient(circle at 10% 0%, rgba(240, 75, 35, .18), transparent 30%),
    linear-gradient(180deg, #101114 0%, #17191d 42%, #fffaf4 42%, #fffaf4 100%);
  color: var(--ink);
}
.store-topbar {
  background: rgba(16, 17, 20, .88);
  border-bottom: 1px solid rgba(255,255,255,.1);
  backdrop-filter: blur(18px);
}
.store-topbar .brand,
.store-topbar .nav a { color: #fff; }
.store-topbar .nav a { opacity: .78; }
.store-topbar .nav a:hover,
.store-topbar .nav a.is-active { opacity: 1; background: rgba(255,255,255,.08); }
.mini-language { min-width: 132px; }
.mini-language .language-trigger { min-height: 40px; }
.mini-language .language-options { min-width: 150px; }
.store-hero,
.admin-hero {
  min-height: 560px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .78fr);
  gap: 42px;
  align-items: center;
  padding: 128px clamp(18px, 6vw, 84px) 72px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.store-hero::before,
.admin-hero::before {
  content: "";
  position: absolute;
  inset: 90px 8% auto auto;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(240,75,35,.24);
  border-radius: 50%;
  opacity: .65;
}
.store-hero-copy,
.admin-hero > div { position: relative; z-index: 1; max-width: 780px; }
.store-hero h1,
.admin-hero h1 {
  margin: 0;
  font-family: "Plus Jakarta Sans", Inter, sans-serif;
  font-size: clamp(3rem, 7vw, 6.6rem);
  line-height: .92;
  letter-spacing: 0;
}
.store-hero p,
.admin-hero p { max-width: 720px; color: rgba(255,255,255,.72); font-size: 1.05rem; line-height: 1.8; }
.brand-card,
.admin-hero img {
  position: relative;
  z-index: 1;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(255,255,255,.08), rgba(255,255,255,.025));
  box-shadow: 0 34px 90px rgba(0,0,0,.36);
  overflow: hidden;
}
.brand-card img { width: 100%; aspect-ratio: 1.34; object-fit: cover; }
.brand-card div { padding: 20px; display: grid; gap: 6px; }
.brand-card strong { font-size: 1.15rem; }
.brand-card span { color: rgba(255,255,255,.66); }
.admin-hero img { width: min(420px, 100%); justify-self: end; }
.store-shell {
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  gap: 24px;
  padding: 54px clamp(18px, 6vw, 84px);
  align-items: start;
}
.store-filters { position: sticky; top: 92px; display: grid; gap: 16px; }
.store-panel {
  background: rgba(255, 250, 244, .94);
  border: 1px solid rgba(16,17,20,.1);
  border-radius: 18px;
  box-shadow: 0 22px 54px rgba(16,17,20,.1);
}
.compact-panel { padding: 20px; }
.compact-panel h2 { margin: 0 0 14px; font-size: 1rem; }
.chip-list { display: flex; flex-wrap: wrap; gap: 8px; }
.chip,
.admin-tab,
.admin-table button {
  border: 1px solid rgba(16,17,20,.1);
  background: #fff;
  color: var(--ink);
  border-radius: 999px;
  padding: 10px 13px;
  cursor: pointer;
}
.chip.is-active,
.admin-tab.is-active { background: var(--orange); color: #fff; border-color: var(--orange); }
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.product-card {
  background: #fffaf4;
  border: 1px solid rgba(16,17,20,.1);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 42px rgba(16,17,20,.1);
}
.product-media { background: linear-gradient(135deg, #17191d, #2c1a14); padding: 16px; }
.product-media img { width: 100%; aspect-ratio: 1.25; object-fit: cover; border-radius: 12px; }
.product-info { padding: 18px; display: grid; gap: 10px; }
.product-info span { color: var(--orange); font-weight: 800; font-size: .78rem; text-transform: uppercase; }
.product-info h3 { margin: 0; font-size: 1.2rem; }
.product-info p { margin: 0; color: var(--muted); line-height: 1.6; }
.product-bottom { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 8px; }
.product-bottom strong { font-size: 1.2rem; }
.cart-list { display: grid; gap: 10px; }
.cart-item { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 10px; padding: 10px; background: #fff; border-radius: 12px; }
.cart-item span { display: grid; gap: 2px; font-weight: 700; }
.cart-item small { color: var(--muted); }
.cart-item button { width: 28px; height: 28px; border-radius: 50%; border: 0; background: rgba(240,75,35,.12); color: var(--orange); cursor: pointer; }
.cart-total { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; border-top: 1px solid rgba(16,17,20,.1); margin-top: 12px; }
.full { width: 100%; justify-content: center; }
.checkout-section { padding: 18px clamp(18px, 6vw, 84px) 54px; }
.checkout-card,
.tracking-card { padding: 28px; display: grid; gap: 20px; }
.store-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.store-form label { display: grid; gap: 7px; font-weight: 800; color: var(--ink); }
.store-form input,
.store-form textarea,
.store-form select,
.track-form input,
.admin-table select {
  width: 100%;
  border: 1px solid rgba(16,17,20,.14);
  border-radius: 12px;
  background: #fff;
  padding: 13px 14px;
  color: var(--ink);
  outline: none;
}
.store-form input:focus,
.store-form textarea:focus,
.store-form select:focus,
.track-form input:focus { border-color: var(--orange); box-shadow: 0 0 0 4px rgba(240,75,35,.12); }
.wide { grid-column: 1 / -1; }
.switch-row { display: flex !important; grid-template-columns: none !important; align-items: center; flex-direction: row; }
.switch-row input { width: auto; }
.form-actions { grid-column: 1 / -1; display: flex; gap: 10px; flex-wrap: wrap; }
.order-result,
.track-card,
.integration-note {
  border: 1px solid rgba(15,139,104,.2);
  background: rgba(15,139,104,.08);
  border-radius: 16px;
  padding: 16px;
  display: grid;
  gap: 8px;
}
.track-form { display: grid; grid-template-columns: 1fr auto; gap: 12px; }
.empty-state { color: var(--muted); margin: 0; }
.admin-page {
  background: linear-gradient(180deg, #101114 0%, #17191d 34%, #fffaf4 34%, #fffaf4 100%);
}
.admin-hero { min-height: 480px; }
.admin-login { padding: 0 clamp(18px, 6vw, 84px) 54px; margin-top: -44px; position: relative; z-index: 3; }
.login-panel { padding: 28px; max-width: 520px; }
.admin-shell {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 24px;
  padding: 0 clamp(18px, 6vw, 84px) 64px;
  align-items: start;
}
.admin-side { padding: 18px; display: grid; gap: 10px; position: sticky; top: 92px; }
.admin-side strong { margin-bottom: 6px; }
.admin-content { min-width: 0; }
.admin-panel { display: none; }
.admin-panel.is-active { display: grid; gap: 18px; }
.panel-title-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.panel-title-row h2 { margin: 0; }
.admin-product-form,
.pos-form { padding: 22px; background: #fffaf4; border: 1px solid rgba(16,17,20,.1); border-radius: 18px; }
.admin-table-wrap { overflow-x: auto; background: #fffaf4; border: 1px solid rgba(16,17,20,.1); border-radius: 18px; }
.admin-table { width: 100%; border-collapse: collapse; min-width: 780px; }
.admin-table th,
.admin-table td { padding: 14px; text-align: left; border-bottom: 1px solid rgba(16,17,20,.08); vertical-align: middle; }
.admin-table th { font-size: .78rem; text-transform: uppercase; color: var(--muted); letter-spacing: .04em; }
.admin-table td strong,
.admin-table td small { display: block; }
.admin-table td small { color: var(--muted); margin-top: 4px; }
.admin-table button { border-radius: 10px; margin-right: 6px; padding: 8px 10px; }
.status-pill { border: 1px solid rgba(240,75,35,.28); color: var(--orange); background: rgba(240,75,35,.08); border-radius: 999px; padding: 8px 12px; font-weight: 800; }
.small-copy { color: var(--muted); line-height: 1.7; }
.store-toast { position: fixed; right: 22px; bottom: 22px; z-index: 120; background: #17191d; color: #fff; padding: 13px 16px; border-radius: 14px; box-shadow: 0 18px 48px rgba(0,0,0,.3); opacity: 0; transform: translateY(8px); transition: .2s ease; }
.store-toast.is-visible { opacity: 1; transform: translateY(0); }
.store-footer { background: #101114; color: #fff; }
@media (max-width: 1080px) {
  .store-hero,
  .admin-hero,
  .store-shell,
  .admin-shell { grid-template-columns: 1fr; }
  .store-filters,
  .admin-side { position: static; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .store-page .nav { display: none; }
  .store-page .nav.is-open { display: flex; position: fixed; left: 16px; right: 16px; top: 76px; flex-direction: column; align-items: stretch; padding: 16px; background: #17191d; border: 1px solid rgba(255,255,255,.1); border-radius: 18px; }
  .store-hero,
  .admin-hero { min-height: auto; padding-top: 112px; }
  .store-form,
  .track-form { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; }
  .product-bottom { align-items: stretch; flex-direction: column; }
  .product-bottom .button { width: 100%; }
}

/* Production-readiness polish for the test shop. */
.store-page,
.admin-page {
  background: #fff8ef;
}
.store-hero,
.admin-hero {
  min-height: auto;
  background:
    radial-gradient(circle at 82% 28%, rgba(255,122,31,.16), transparent 26%),
    linear-gradient(180deg, #0d0f12 0%, #14171c 100%);
  padding-bottom: clamp(72px, 8vw, 118px);
  margin-bottom: 0;
}
.store-hero p,
.admin-hero p {
  color: rgba(255,255,255,.78);
  text-shadow: 0 1px 18px rgba(0,0,0,.18);
}
.admin-shell,
.admin-login,
.store-shell,
.checkout-section {
  background: #fff8ef;
}
.admin-login {
  margin-top: 0;
  padding-top: 42px;
}
.admin-shell {
  padding-top: 54px;
}
.store-topbar .brand img,
.store-footer .footer-brand img {
  object-fit: cover;
  object-position: center;
  border-radius: 12px;
}
.store-topbar .brand img {
  width: 44px;
  height: 44px;
}
.brand-card,
.admin-hero img {
  border-radius: 20px;
  background: #0d0f12;
}
.admin-hero img {
  aspect-ratio: 1.34;
  object-fit: cover;
}
.product-media-tools {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(220px, .55fr) minmax(0, 1fr);
  gap: 16px;
  align-items: stretch;
}
.image-drop {
  border: 1px dashed rgba(240,75,35,.45);
  background: rgba(240,75,35,.06);
  border-radius: 16px;
  padding: 16px;
  display: grid;
  gap: 12px;
  align-content: center;
  min-height: 170px;
}
.image-drop input[type="file"] {
  background: #fff;
  cursor: pointer;
}
.product-image-preview {
  min-height: 170px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(16,17,20,.1);
  background: linear-gradient(135deg, #15171c, #2b1711);
  display: grid;
  place-items: center;
}
.product-image-preview img {
  width: 100%;
  height: 100%;
  max-height: 240px;
  object-fit: cover;
}
.product-image-preview span {
  color: rgba(255,255,255,.7);
  padding: 18px;
  text-align: center;
}
.product-meta-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.admin-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}
.admin-stat {
  background: #fff;
  border: 1px solid rgba(16,17,20,.1);
  border-radius: 16px;
  padding: 16px;
  display: grid;
  gap: 6px;
}
.admin-stat span {
  color: var(--muted);
  font-size: .82rem;
  font-weight: 800;
  text-transform: uppercase;
}
.admin-stat strong {
  font-size: 1.45rem;
}
.product-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.product-badges small {
  border-radius: 999px;
  background: rgba(240,75,35,.1);
  color: var(--orange);
  padding: 5px 8px;
  font-weight: 800;
}
.admin-table .thumb {
  width: 54px;
  height: 42px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(16,17,20,.1);
  margin-right: 10px;
  display: inline-block;
  vertical-align: middle;
}
.order-detail-row {
  background: rgba(240,75,35,.05);
}
.order-detail-row td {
  color: var(--muted);
  line-height: 1.7;
}
.order-cargo-form {
  display: grid;
  grid-template-columns: minmax(220px, 1.1fr) repeat(3, minmax(150px, 1fr)) auto;
  gap: 12px;
  align-items: end;
}
.order-cargo-form div,
.order-cargo-form label {
  display: grid;
  gap: 5px;
}
.order-cargo-form div span {
  display: block;
}
.order-cargo-form label {
  color: #111318;
  font-weight: 800;
}
.order-cargo-form input {
  width: 100%;
  border: 1px solid rgba(16,17,20,.12);
  border-radius: 12px;
  padding: 11px 12px;
  font: inherit;
  background: #fff;
}
.track-card a {
  color: var(--orange);
  font-weight: 900;
}
.store-topbar .nav a {
  color: var(--orange);
  opacity: 1;
}
.store-topbar .nav a:hover,
.store-topbar .nav a:focus-visible,
.store-topbar .nav a.is-active {
  background: var(--orange);
  color: #0d0f12;
}
.store-topbar .language-trigger {
  background: rgba(255, 122, 31, .12);
  color: var(--orange);
  border-color: rgba(255, 122, 31, .45);
}
.store-topbar .language-trigger:hover,
.store-topbar .language-trigger:focus-visible {
  background: var(--orange);
  color: #0d0f12;
}
@media (max-width: 980px) {
  .product-media-tools,
  .product-meta-grid,
  .admin-stats,
  .order-cargo-form { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .product-media-tools,
  .product-meta-grid,
  .admin-stats,
  .order-cargo-form { grid-template-columns: 1fr; }
  .store-hero h1,
  .admin-hero h1 { font-size: clamp(2.7rem, 15vw, 4.4rem); }
}
