/* ISM Store — shared styles for storefront, cart, orders and store-keeper admin. */

.store-page {
  max-width: 900px;
}

.store-page-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.store-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #1d4ed8;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
}

.store-page-head h1 {
  margin: 0;
  font-size: 1.35rem;
  color: #12314f;
  display: flex;
  align-items: center;
  gap: 10px;
}

.store-nav {
  display: flex;
  gap: 8px;
  margin-left: auto;
  flex-wrap: wrap;
}

.store-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #12314f;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid #e2e8f0;
}

.store-nav a.is-active {
  background: #ea580c;
  color: #fff;
  border-color: #ea580c;
}

.store-cart-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  background: #dc2626;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.store-cart-badge.hidden,
.store-cart-badge[hidden] {
  display: none;
}

.store-cart-badge.is-bump {
  animation: storeCartBump 0.4s ease;
}

@keyframes storeCartBump {
  0% { transform: scale(1); }
  40% { transform: scale(1.4); }
  100% { transform: scale(1); }
}

/* ---------------- Search / filter panel ---------------- */

.store-filter-panel {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.store-filter-panel select,
.store-filter-panel input[type="search"] {
  flex: 1 1 160px;
  padding: 10px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  font-size: 0.95rem;
  background: #fff;
}

.store-search-wrap {
  position: relative;
  flex: 2 1 220px;
}

.store-search-wrap i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  pointer-events: none;
}

.store-search-wrap input[type="search"] {
  width: 100%;
  padding-left: 40px !important;
  box-sizing: border-box;
}

.store-category-chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  margin-bottom: 14px;
  scrollbar-width: thin;
}

.store-chip {
  flex: 0 0 auto;
  padding: 7px 14px;
  border-radius: 999px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: #334155;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

.store-chip.is-active {
  background: #fff7ed;
  border-color: #ea580c;
  color: #c2410c;
}

/* ---------------- Product grid / cards ---------------- */

.store-product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

@media (min-width: 760px) {
  .store-product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .store-product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.store-card {
  display: flex;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
  overflow: hidden;
  border: 1px solid #f1f5f9;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.store-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.14);
}

.store-card__image-wrap {
  position: relative;
  flex: 0 0 46%;
  max-width: 200px;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.store-card__image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 3 / 4;
  cursor: zoom-in;
}

.store-card__image-wrap .store-card__no-image {
  color: #cbd5e1;
  font-size: 2.2rem;
}

.store-stock-badge {
  position: absolute;
  top: 6px;
  left: 6px;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  background: #dcfce7;
  color: #166534;
}

.store-stock-badge.is-low {
  background: #fef3c7;
  color: #92400e;
}

.store-stock-badge.is-out {
  background: #fee2e2;
  color: #991b1b;
}

.store-card__body {
  flex: 1 1 auto;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.store-card__category {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #ea580c;
}

.store-card__name {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: #12314f;
  line-height: 1.3;
}

.store-card__price {
  font-size: 1.05rem;
  font-weight: 800;
  color: #16a34a;
}

.store-card__price .store-card__price-free {
  color: #16a34a;
}

.store-card__desc {
  margin: 0;
  font-size: 0.82rem;
  color: #64748b;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.store-card__actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
  padding-top: 8px;
  flex-wrap: wrap;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: none;
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  flex: 0 1 auto;
  white-space: nowrap;
}

.store-card__actions .store-btn {
  flex: 0 1 auto;
  padding: 7px 12px;
  font-size: 0.78rem;
}

.store-btn--buy {
  background: #ea580c;
  color: #fff;
}

.store-btn--buy:hover {
  background: #c2410c;
}

.store-btn--cart {
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
}

.store-btn--cart:hover {
  background: #dbeafe;
}

.store-btn--ghost {
  background: #f1f5f9;
  color: #334155;
}

.store-btn--danger {
  background: #fee2e2;
  color: #b91c1c;
}

.store-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.store-btn--block {
  width: 100%;
  flex: none;
}

/* ---------------- Skeletons / empty states ---------------- */

.store-skeleton {
  display: flex;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #f1f5f9;
  height: 116px;
}

.store-skeleton__img {
  flex: 0 0 38%;
  max-width: 150px;
  background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 37%, #f1f5f9 63%);
  background-size: 400% 100%;
  animation: storeShimmer 1.4s ease infinite;
}

.store-skeleton__body {
  flex: 1;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.store-skeleton__line {
  height: 12px;
  border-radius: 6px;
  background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 37%, #f1f5f9 63%);
  background-size: 400% 100%;
  animation: storeShimmer 1.4s ease infinite;
}

.store-skeleton__line--wide { width: 90%; }
.store-skeleton__line--med { width: 60%; height: 18px; }
.store-skeleton__line--short { width: 40%; }

@keyframes storeShimmer {
  0% { background-position: 100% 0; }
  100% { background-position: 0 0; }
}

.store-empty {
  text-align: center;
  padding: 48px 16px;
  color: #64748b;
}

.store-empty i {
  font-size: 2.6rem;
  color: #cbd5e1;
  margin-bottom: 10px;
  display: block;
}

.store-load-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 18px;
}

.store-load-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
  background: #fff;
  color: #334155;
  font-weight: 700;
  cursor: pointer;
}

.store-load-more-btn.is-loading i {
  animation: storeSpin 0.8s linear infinite;
}

@keyframes storeSpin {
  to { transform: rotate(360deg); }
}

/* ---------------- Quantity selector ---------------- */

.store-qty-selector {
  display: inline-flex;
  align-items: center;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
}

.store-qty-selector button {
  width: 36px;
  height: 36px;
  border: none;
  background: #f8fafc;
  color: #12314f;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
}

.store-qty-selector button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.store-qty-selector input {
  width: 46px;
  text-align: center;
  border: none;
  border-left: 1px solid #e2e8f0;
  border-right: 1px solid #e2e8f0;
  height: 36px;
  font-size: 0.95rem;
  font-weight: 700;
}

/* ---------------- Quick Buy / Address wizard modal ---------------- */

.store-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(18, 49, 79, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 60;
  padding: 16px;
}

.store-modal-backdrop.hidden {
  display: none;
}

.store-modal {
  position: relative;
  background: #fff;
  border-radius: 18px;
  width: 100%;
  max-width: 420px;
  max-height: 92vh;
  overflow-y: auto;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.25);
  padding: 22px;
}

.store-modal h2 {
  margin: 0 32px 4px 0;
  font-size: 1.15rem;
  color: #12314f;
  display: flex;
  align-items: center;
  gap: 8px;
}

.store-modal__product {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px;
  background: #f8fafc;
  border-radius: 12px;
  margin: 14px 0;
}

.store-modal__product img {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  background: #e2e8f0;
}

.store-modal__product-name {
  font-weight: 700;
  color: #12314f;
  font-size: 0.95rem;
}

.store-modal__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  font-size: 0.92rem;
  color: #334155;
}

.store-modal__row--total {
  border-top: 1px dashed #e2e8f0;
  margin-top: 6px;
  padding-top: 12px;
  font-size: 1.05rem;
  font-weight: 800;
  color: #12314f;
}

.store-modal__row--total .store-modal__total-amount {
  color: #16a34a;
}

.store-login-required-modal h2 {
  margin-right: 0;
}

.store-login-required-modal__text {
  margin: 12px 0 20px;
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.5;
}

.store-modal-close {
  position: absolute !important;
  top: 14px !important;
  right: 14px !important;
  left: auto !important;
  bottom: auto !important;
  z-index: 5;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  font-size: 1.1rem;
  color: #94a3b8;
  cursor: pointer;
}

.store-modal-close:hover {
  color: #475569;
}

/* ---------------- Payment loading overlay (blocks double-clicks / refresh) ---------------- */

.store-payment-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(2px);
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  z-index: 999;
  padding: 24px;
  text-align: center;
}

.store-payment-overlay.is-visible {
  display: flex;
  pointer-events: all;
  cursor: wait;
}

.store-payment-overlay__spinner {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 4px solid rgba(255, 255, 255, 0.25);
  border-top-color: #ea580c;
  animation: storePaymentSpin 0.8s linear infinite;
}

@keyframes storePaymentSpin {
  to {
    transform: rotate(360deg);
  }
}

.store-payment-overlay__text {
  margin: 0;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
}

.store-payment-overlay__hint {
  margin: 0;
  color: #cbd5e1;
  font-size: 0.82rem;
  max-width: 320px;
}

/* ---------------- Full-size image lightbox ---------------- */

.store-lightbox-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(8, 12, 20, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 80;
  padding: 24px;
}

.store-lightbox-backdrop.hidden {
  display: none;
}

.store-lightbox-backdrop img {
  max-width: 92vw;
  max-height: 88vh;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  object-fit: contain;
}

.store-lightbox-close {
  position: fixed;
  top: 18px;
  right: 20px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 81;
}

.store-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.28);
}

.store-lightbox-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 81;
}

.store-lightbox-nav[hidden] {
  display: none;
}

.store-lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.28);
}

.store-lightbox-nav--prev {
  left: 14px;
}

.store-lightbox-nav--next {
  right: 14px;
}

.store-lightbox-counter {
  position: fixed;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  z-index: 81;
}

.store-lightbox-counter[hidden] {
  display: none;
}

@media (max-width: 600px) {
  .store-lightbox-nav {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
  }
  .store-lightbox-nav--prev {
    left: 6px;
  }
  .store-lightbox-nav--next {
    right: 6px;
  }
}

/* Address wizard */

.store-wizard-steps {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
}

.store-wizard-steps span {
  flex: 1;
  height: 4px;
  border-radius: 4px;
  background: #e2e8f0;
}

.store-wizard-steps span.is-active,
.store-wizard-steps span.is-done {
  background: #ea580c;
}

.store-field {
  margin-bottom: 12px;
}

.store-field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 5px;
}

.store-field select,
.store-field input,
.store-field textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  font-size: 0.95rem;
  font-family: inherit;
}

.store-field-error {
  color: #dc2626;
  font-size: 0.8rem;
  margin-top: 4px;
  min-height: 0;
}

.store-field-hint {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 12px;
  padding: 8px 12px;
  background: #f1f5f9;
  border-radius: 10px;
  color: #64748b;
  font-size: 0.78rem;
}

.store-field-hint[hidden] {
  display: none;
}

.store-field select:disabled,
.store-field input:disabled,
.store-field textarea:disabled {
  background: #f1f5f9;
  color: #64748b;
  cursor: not-allowed;
}

/* ---------------- Cart page ---------------- */

.store-cart-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.store-cart-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid #f1f5f9;
  border-radius: 14px;
  padding: 10px;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.05);
}

.store-cart-row__thumb {
  width: 64px;
  height: 64px;
  border-radius: 10px;
  overflow: hidden;
  background: #f1f5f9;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.store-cart-row__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: zoom-in;
}

.store-cart-row__thumb i {
  color: #cbd5e1;
  font-size: 1.5rem;
}

.store-cart-row__info {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.store-cart-row__name {
  font-weight: 700;
  color: #12314f;
  font-size: 0.92rem;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
  line-height: 1.3;
}

.store-cart-row__price {
  color: #64748b;
  font-size: 0.8rem;
}

.store-cart-row__side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
  flex-shrink: 0;
  min-height: 64px;
}

.store-cart-row__subtotal {
  font-weight: 800;
  color: #16a34a;
  font-size: 0.95rem;
  white-space: nowrap;
}

.store-cart-row__delete {
  background: none;
  border: none;
  color: #dc2626;
  font-size: 1rem;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
}

.store-cart-summary {
  position: sticky;
  bottom: 0;
  background: #fff;
  border-top: 1px solid #e2e8f0;
  padding: 14px 16px;
  margin: 16px -20px -20px;
  border-radius: 0 0 14px 14px;
  box-shadow: 0 -6px 20px rgba(15, 23, 42, 0.08);
}

@media (max-width: 600px) {
  .store-cart-summary {
    margin: 16px -10px -10px;
    position: sticky;
    bottom: 0;
  }
}

.store-cart-summary__row {
  display: flex;
  justify-content: space-between;
  font-size: 1.05rem;
  font-weight: 800;
  color: #12314f;
  margin-bottom: 10px;
}

/* ---------------- Orders / timeline ---------------- */

.store-order-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.store-order-card {
  background: #fff;
  border: 1px solid #f1f5f9;
  border-radius: 14px;
  padding: 14px;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.05);
}

.store-order-card__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 8px;
}

.store-order-card__no {
  font-weight: 800;
  color: #12314f;
  font-size: 0.95rem;
}

.store-order-card__date {
  font-size: 0.78rem;
  color: #94a3b8;
}

.store-order-card__products {
  font-size: 0.86rem;
  color: #334155;
  margin: 0 0 8px;
}

.store-order-card__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.store-order-card__amount {
  font-weight: 800;
  color: #16a34a;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: capitalize;
}

.store-badge--draft { background: #fef9c3; color: #854d0e; }
.store-badge--new { background: #e0e7ff; color: #3730a3; }
.store-badge--shipped { background: #dbeafe; color: #1d4ed8; }
.store-badge--delivered { background: #dcfce7; color: #166534; }
.store-badge--rejected { background: #fee2e2; color: #991b1b; }
.store-badge--cancelled { background: #f1f5f9; color: #475569; }
.store-badge--returned { background: #fef3c7; color: #92400e; }

.store-badge--created { background: #f1f5f9; color: #475569; }
.store-badge--initiated { background: #fef3c7; color: #92400e; }
.store-badge--success { background: #dcfce7; color: #166534; }
.store-badge--failed { background: #fee2e2; color: #991b1b; }
.store-badge--to_be_refunded { background: #fde68a; color: #92400e; }
.store-badge--refunded { background: #e0e7ff; color: #3730a3; }

.store-track-btn {
  background: none;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #334155;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.store-track-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.store-track-btn.is-loading i {
  animation: storeSpin 0.8s linear infinite;
}

.store-refresh-payment-btn {
  border-color: #bfdbfe;
  color: #1d4ed8;
  background: #eff6ff;
}

.store-retry-payment-btn {
  border-color: #fed7aa;
  color: #c2410c;
  background: #fff7ed;
}

/* Timeline */

.store-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
}

.store-timeline li {
  position: relative;
  padding-left: 28px;
  padding-bottom: 22px;
}

.store-timeline li::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #e2e8f0;
  border: 2px solid #fff;
  box-shadow: 0 0 0 2px #e2e8f0;
}

.store-timeline li.is-done::before {
  background: #16a34a;
  box-shadow: 0 0 0 2px #16a34a;
}

.store-timeline li::after {
  content: "";
  position: absolute;
  left: 11px;
  top: 16px;
  bottom: 0;
  width: 2px;
  background: #e2e8f0;
}

.store-timeline li:last-child::after {
  display: none;
}

.store-timeline-title {
  font-weight: 700;
  color: #12314f;
  font-size: 0.9rem;
}

.store-timeline-meta {
  font-size: 0.78rem;
  color: #94a3b8;
  margin-top: 2px;
}

.store-timeline-comment {
  font-size: 0.82rem;
  color: #475569;
  margin-top: 3px;
}

.store-track-query {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid #f1f5f9;
}

.store-track-query-label {
  font-size: 0.82rem;
  color: #475569;
  font-weight: 600;
  flex: 1;
}

/* ---------------- Store keeper admin ---------------- */

.store-manage-hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  margin-top: 10px;
}

.store-manage-hub-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 30px 16px;
  background: #fff;
  border-radius: 16px;
  border: 1px solid #f1f5f9;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
  text-decoration: none;
  color: #12314f;
  font-weight: 700;
}

.store-manage-hub-card i {
  font-size: 2.4rem;
  color: #ea580c;
}

.store-admin-toolbar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.store-admin-table-wrap {
  overflow-x: auto;
}

.store-admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.store-admin-table th,
.store-admin-table td {
  padding: 10px 8px;
  border-bottom: 1px solid #f1f5f9;
  text-align: left;
  white-space: nowrap;
}

.store-admin-table th {
  color: #64748b;
  font-weight: 700;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.store-admin-actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.store-icon-btn {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #334155;
}

.store-icon-btn--call { color: #16a34a; border-color: #bbf7d0; }
.store-icon-btn--whatsapp { color: #16a34a; border-color: #bbf7d0; }
.store-icon-btn--view { color: #1d4ed8; border-color: #bfdbfe; }
.store-icon-btn--ship { color: #ea580c; border-color: #fed7aa; }
.store-icon-btn--reject { color: #dc2626; border-color: #fecaca; }
.store-icon-btn--deliver { color: #16a34a; border-color: #bbf7d0; }
.store-icon-btn--track { color: #7c3aed; border-color: #ddd6fe; }

.store-admin-product-thumb {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: cover;
  background: #f1f5f9;
}

.store-admin-form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

@media (min-width: 640px) {
  .store-admin-form-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .store-admin-form-grid .store-field--full {
    grid-column: 1 / -1;
  }
}

.store-image-picker {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.store-image-picker img {
  width: 64px;
  height: 64px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid #e2e8f0;
}

.store-image-thumb {
  position: relative;
}

.store-image-thumb button {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #dc2626;
  color: #fff;
  border: none;
  font-size: 0.7rem;
  cursor: pointer;
  line-height: 1;
}

/* Sticky mobile buy bar for product detail / list bottom action (Part 19) */
.store-sticky-bar {
  position: sticky;
  bottom: 0;
  z-index: 20;
  background: #fff;
  border-top: 1px solid #e2e8f0;
  padding: 10px 16px;
  display: flex;
  gap: 10px;
  box-shadow: 0 -6px 16px rgba(15, 23, 42, 0.08);
}

@media (max-width: 600px) {
  .store-page-head h1 {
    font-size: 1.1rem;
  }
  .store-card__image-wrap {
    max-width: 160px;
  }
}
