/* Korean Shop — bosh sahifa va checkout qo‘shimcha uslublari */



.home-promo-bar {

  display: flex;

  align-items: center;

  justify-content: center;

  gap: 28px;

  margin: 0 0 22px;

  padding: 11px 18px;

  border-radius: 999px;

  background: #17200d;

  color: rgba(255, 255, 255, 0.9);

  font-size: 0.72rem;

  font-weight: 500;

}



.search-wrap {

  position: relative;

}



.search-wrap input[type="search"] {

  padding-right: 42px;

}



.search-clear-btn {

  position: absolute;

  top: 50%;

  right: 8px;

  transform: translateY(-50%);

  display: grid;

  place-items: center;

  width: 28px;

  height: 28px;

  border: 0;

  border-radius: 50%;

  background: #e9edde;

  color: #47522d;

  font-size: 1.15rem;

  line-height: 1;

  cursor: pointer;

}



.load-more-wrap {

  display: flex;

  justify-content: center;

  padding: 30px 0 8px;

}



.load-more-btn {

  display: inline-flex;

  align-items: center;

  justify-content: center;

  gap: 10px;

  min-height: 48px;

  padding: 0 26px;

  border: 1px solid var(--accent);

  border-radius: 999px;

  background: #fff;

  color: #26300f;

  font-family: var(--font-body);

  font-weight: 600;

  cursor: pointer;

  transition: 0.18s ease;

}



.load-more-btn:hover {

  background: var(--accent);

  color: #fff;

  transform: translateY(-2px);

}



.load-more-btn small {

  opacity: 0.65;

  font-weight: 500;

}



/* CHECKOUT */

.checkout-page {

  max-width: 920px;

  margin: 0 auto;

  padding-bottom: 50px;

}



.checkout-back {

  margin-bottom: 20px;

}



.checkout-heading {

  margin-bottom: 24px;

}



.checkout-step-label {

  margin-bottom: 7px;

  color: var(--accent-hover);

  font-family: var(--font-mono);

  font-size: 0.68rem;

  letter-spacing: 0.14em;

}



.checkout-flow {

  display: grid;

  gap: 16px;

}



.checkout-section {

  padding: 24px;

  border: 1px solid var(--rule);

  border-radius: 20px;

  background: #fff;

  box-shadow: 0 8px 30px rgba(30, 40, 10, 0.055);

}



.checkout-section-head {

  display: flex;

  align-items: center;

  gap: 13px;

  margin-bottom: 20px;

}



.checkout-section-head h3 {

  margin: 0 0 2px;

  font-family: var(--font-display);

  font-size: 1.25rem;

  font-weight: 400;

}



.checkout-section-head p {

  margin: 0;

  color: var(--ink-faint);

  font-size: 0.76rem;

}



.checkout-step-number {

  flex: 0 0 auto;

  display: grid;

  place-items: center;

  width: 38px;

  height: 38px;

  border-radius: 50%;

  background: var(--accent-light);

  color: var(--accent-hover);

  font-weight: 700;

}



.checkout-step-number.telegram-step {

  background: #e5f5fc;

  color: #168ac1;

}



.checkout-product-list {

  border-top: 1px solid var(--rule);

}



.checkout-product-row {

  display: grid;

  grid-template-columns: 42px minmax(0, 1fr) auto;

  align-items: center;

  gap: 12px;

  padding: 14px 0;

  border-bottom: 1px solid var(--rule);

}



.checkout-product-icon {

  display: grid;

  place-items: center;

  width: 42px;

  height: 42px;

  border-radius: 11px;

  background: #f1f4e8;

  overflow: hidden;

}



.checkout-product-icon img,

.cart-item-img img {

  width: 100%;

  height: 100%;

  display: block;

  object-fit: cover;

}



.checkout-product-info {

  min-width: 0;

}



.checkout-product-info strong,

.checkout-product-info span {

  display: block;

}



.checkout-product-info strong {

  overflow: hidden;

  color: var(--ink);

  font-size: 0.88rem;

  text-overflow: ellipsis;

  white-space: nowrap;

}



.checkout-product-info span {

  margin-top: 3px;

  color: var(--ink-faint);

  font-size: 0.73rem;

}



.checkout-product-total {

  font-size: 0.88rem;

  white-space: nowrap;

}



.checkout-grand-total {

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 15px;

  padding-top: 18px;

  font-size: 0.9rem;

}



.checkout-grand-total strong {

  color: var(--ink);

  font-size: 1.25rem;

}



.checkout-form-grid {

  display: grid;

  grid-template-columns: repeat(2, minmax(0, 1fr));

  gap: 0 14px;

}



.checkout-full-field {

  grid-column: 1 / -1;

}



.checkout-form-grid textarea {

  min-height: 105px;

  resize: vertical;

}



.checkout-submit-section {

  border-color: #cceaf7;

  background: linear-gradient(145deg, #fff 0%, #f5fbfe 100%);

}



.checkout-telegram-btn {

  min-height: 56px;

  margin-top: 2px;

  padding: 14px 18px;

  box-shadow: 0 8px 22px rgba(34, 158, 217, 0.2);

}



@media (max-width: 768px) {

  .home-promo-bar {

    justify-content: flex-start;

    gap: 18px;

    overflow-x: auto;

    border-radius: 12px;

    scrollbar-width: none;

    white-space: nowrap;

  }



  .home-promo-bar::-webkit-scrollbar {

    display: none;

  }



  .checkout-page {

    padding-bottom: 28px;

  }



  .checkout-section {

    padding: 17px;

    border-radius: 16px;

  }



  .checkout-form-grid {

    grid-template-columns: minmax(0, 1fr);

  }



  .checkout-full-field {

    grid-column: auto;

  }

}



@media (max-width: 480px) {

  .home-promo-bar {

    margin-bottom: 14px;

    padding: 9px 12px;

    font-size: 0.62rem;

  }



  .checkout-heading .page-title {

    font-size: 1.8rem;

  }



  .checkout-section-head {

    align-items: flex-start;

    margin-bottom: 15px;

  }



  .checkout-step-number {

    width: 34px;

    height: 34px;

  }



  .checkout-product-row {

    grid-template-columns: 36px minmax(0, 1fr) auto;

    gap: 8px;

  }



  .checkout-product-icon {

    width: 36px;

    height: 36px;

  }



  .checkout-product-info strong {

    font-size: 0.78rem;

  }



  .checkout-product-total {

    font-size: 0.75rem;

  }



  .checkout-grand-total strong {

    font-size: 1.08rem;

  }



  .checkout-telegram-btn {

    min-height: 53px;

    font-size: 0.82rem;

  }

}





/* Katta telefon va kichik planshet: 3 ta */

@media (min-width: 0px) and (max-width: 768px) {

  .products-grid {

    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 10px;

  }



  .product-body {

    padding: 10px;

  }



  .product-name {

    min-height: 2.6em;

    font-size: 0.78rem;

  }



  .product-price {

    font-size: 0.85rem;

  }



  .add-to-cart {

    min-height: 32px;

    font-size: 0.65rem;

  }

}

/* ===== Chegirma tizimi ===== */

.discount-admin-box {

  margin: 4px 0 16px;

  padding: 14px;

  border: 1px solid #e4e7d8;

  border-radius: 14px;

  background: #f8faef;

}



.discount-toggle-label {

  display: flex;

  align-items: center;

  gap: 10px;

  cursor: pointer;

  font-weight: 700;

}



.discount-toggle-label input {

  width: 18px;

  height: 18px;

  accent-color: var(--accent);

}



#prod-old-price-group {
  margin: 14px 0 0;
}



.discount-section {

  margin: 28px 0 34px;

  padding: 22px;

  border-radius: 24px;

  background: linear-gradient(135deg, #17210b, #334b10);

  color: #fff;

  overflow: hidden;

}



.discount-section-head {

  display: flex;

  align-items: end;

  justify-content: space-between;

  gap: 14px;

  margin-bottom: 18px;

}



.discount-section-head span {

  color: #cbe783;

  font-family: var(--font-mono);

  font-size: .66rem;

  letter-spacing: .13em;

}



.discount-section-head h2 {

  margin: 5px 0 0;

  font-family: var(--font-display);

  font-size: clamp(1.45rem, 3vw, 2.15rem);

  font-weight: 400;

}



.discount-section-count {
  color: #dbe5cb;
  font-size: .8rem;
}



.discount-products-row {

  display: grid;

  grid-auto-flow: column;

  grid-auto-columns: minmax(170px, 220px);

  gap: 12px;

  overflow-x: auto;

  padding-bottom: 6px;

  scroll-snap-type: x proximity;

  scrollbar-width: thin;

}



.discount-product-card {

  min-width: 0;

  overflow: hidden;

  border-radius: 16px;

  background: #fff;

  color: var(--ink);

  cursor: pointer;

  scroll-snap-align: start;

}



.discount-product-image {

  position: relative;

  display: grid;

  place-items: center;

  aspect-ratio: 1 / 1;

  background: #f1f1ed;

  font-size: 2rem;

}



.discount-product-image img {

  width: 100%;

  height: 100%;

  object-fit: cover;

}



.discount-badge,

.product-discount-badge {

  position: absolute;

  top: 9px;

  left: 9px;

  z-index: 2;

  padding: 5px 8px;

  border-radius: 999px;

  background: #ef3765;

  color: #fff;

  font-size: .68rem;

  font-weight: 800;

  box-shadow: 0 5px 14px rgba(239, 55, 101, .25);

}



.product-img {
  position: relative;
}



.discount-product-info {
  padding: 11px 12px 13px;
}

.discount-product-name {

  min-height: 2.6em;

  font-size: .82rem;

  line-height: 1.3;

  font-weight: 700;

}



.discount-price-line {

  display: flex;

  align-items: baseline;

  flex-wrap: wrap;

  gap: 5px 8px;

  margin-top: 8px;

}



.discount-price-line strong {
  font-size: .9rem;
}

.discount-price-line del,

.product-old-price,

.detail-old-price,

.admin-old-price {
  color: #92968b;
  font-size: .75rem;
}



.product-price-wrap {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.detail-price {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.detail-old-price {
  font-size: .95rem;
  font-weight: 500;
}

.detail-discount-badge,

.admin-discount-pill {

  display: inline-flex;

  padding: 4px 7px;

  border-radius: 999px;

  background: #ffe6ed;

  color: #d51f51;

  font-family: var(--font-sans);

  font-size: .68rem;

  font-weight: 800;

}



/* ===== Buyurtmadagi mahsulot rasmlari ===== */

.order-product-main {

  display: flex;

  align-items: center;

  min-width: 0;

  gap: 10px;

}



.order-product-thumb {

  display: grid;

  place-items: center;

  width: 48px;

  height: 48px;

  flex: 0 0 48px;

  overflow: hidden;

  border: 1px solid #e7e8e2;

  border-radius: 10px;

  background: #f4f4f0;

}



.order-product-thumb img {

  width: 100%;

  height: 100%;

  object-fit: cover;

}



.order-item-row,

.admin-order-item {
  gap: 12px;
}



@media (max-width: 600px) {

  .discount-section {

    margin: 20px -2px 26px;

    padding: 17px 12px;

    border-radius: 18px;

  }



  .discount-section-count {
    display: none;
  }

  .discount-products-row {
    grid-auto-columns: minmax(142px, 44vw);
    gap: 9px;
  }

  .discount-product-info {
    padding: 9px;
  }

  .order-product-thumb {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }

  .order-item-row strong,

  .admin-order-item>strong {
    font-size: .76rem;
    white-space: nowrap;
  }

}



/* ===== DURIM ixcham checkout qo‘shimchalari ===== */

.checkout-compact-summary {

  padding: 0 !important;

  overflow: hidden;

}



.checkout-compact-summary>summary {

  list-style: none;

  cursor: pointer;

  display: grid;

  grid-template-columns: 1fr auto;

  gap: 4px 12px;

  align-items: center;

  padding: 16px;

}



.checkout-compact-summary>summary::-webkit-details-marker {

  display: none;

}



.checkout-compact-summary .checkout-summary-title {

  font-weight: 700;

}



.checkout-compact-summary .checkout-summary-link {
  grid-column: 1 / -1;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid rgba(40, 107, 55, .2);
  border-radius: 999px;
  background: #eef6ec;
  color: #286b37;
  font-size: .8rem;
  font-weight: 700;
}

.checkout-compact-summary .checkout-summary-link::before {
  content: 'Mahsulotlarni ko‘rish';
}

.checkout-compact-summary .checkout-summary-link::after {
  content: '›';
  margin-left: 7px;
  font-size: 1.05rem;
  transform: rotate(90deg);
}

.checkout-compact-summary[open] .checkout-summary-link::before {
  content: 'Yopish';
}

.checkout-compact-summary[open] .checkout-summary-link::after {
  transform: rotate(-90deg);
}

.header-brand {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 10px;
}

.telegram-header-greeting {
  max-width: 150px;
  overflow: hidden;
  color: rgba(255, 255, 255, .92);
  font-size: .82rem;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.telegram-header-greeting[hidden] {
  display: none !important;
}

@media (max-width: 430px) {
  .header-brand {
    gap: 7px;
  }

  .telegram-header-greeting {
    max-width: 145px;
    font-size: .72rem;
  }
}


.checkout-compact-summary .checkout-product-list {

  padding: 0 16px 12px;

}



.checkout-compact-summary .checkout-grand-total {

  margin: 0 16px 16px;

}



.compact-checkout-actions {

  display: grid !important;

  grid-template-columns: minmax(105px, .7fr) minmax(0, 1.3fr);

  gap: 10px;

  align-items: stretch;

}



.checkout-cancel-btn {

  border: 1px solid rgba(20, 35, 18, .18);

  background: #fff;

  color: inherit;

  border-radius: 14px;

  padding: 13px 12px;

  font: inherit;

  font-weight: 700;

  cursor: pointer;

}



.compact-checkout-actions .checkout-telegram-btn {

  width: 100%;

  min-width: 0;

}



.compact-checkout-actions .mini-secure-note {
  grid-column: 1 / -1;
}

.mini-checkout-page select {
  width: 100%;
  min-height: 48px;
  padding: 0 42px 0 14px;
  border: 1px solid #d9ddd3;
  border-radius: 12px;
  background: #fff;
  color: inherit;
  font: inherit;
}

.mini-checkout-page select.field-error {
  border-color: #d94848;
  box-shadow: 0 0 0 3px rgba(217, 72, 72, .1);
}

.bts-office-info {
  display: grid;
  gap: 7px;
  margin-top: 10px;
  padding: 13px;
  border: 1px solid rgba(36, 103, 50, .16);
  border-radius: 12px;
  background: rgba(82, 160, 92, .07);
}

.bts-office-info[hidden] {
  display: none !important;
}

.bts-office-info span {
  font-size: .86rem;
  line-height: 1.45;
  opacity: .78;
}

.bts-office-info button {
  justify-self: start;
  padding: 8px 11px;
  border: 0;
  border-radius: 9px;
  background: #286b37;
  color: #fff;
  font: inherit;
  font-size: .82rem;
  font-weight: 700;
  cursor: pointer;
}

.bts-delivery-note {
  display: grid;
  gap: 5px;
  padding: 14px;
  border-radius: 12px;
  background: #f3f7ef;
  color: #294329;
}

.bts-delivery-note span {
  font-size: .85rem;
  line-height: 1.5;
}


@media (max-width: 380px) {
  .compact-checkout-actions {

    grid-template-columns: 105px minmax(0, 1fr);

  }

}

/* Order lifecycle statuses */
.status-pending-payment {
  background: #fff4d6;
  color: #835d00;
}

.status-paid {
  background: #e2f6e7;
  color: #17642b;
}

.status-preparing {
  background: #e7efff;
  color: #244e98;
}

.status-dispatched {
  background: #ece8ff;
  color: #523ca0;
}

.status-in-transit {
  background: #e1f5fb;
  color: #146176;
}

.status-at-branch {
  background: #e3f7ef;
  color: #17654c;
}

.status-completed {
  background: #dff5e2;
  color: #195e25;
}

.status-cancelled {
  background: #fde5e5;
  color: #963535;
}

.payment-deadline { margin: 14px 0; padding: 12px 14px; border-radius: 12px; background: #fff6da; color: #6e5300; font-weight: 700; }
.payment-deadline small { display: block; margin-top: 4px; font-weight: 500; }
.payment-deadline.is-expired { background: #fde8e8; color: #8f2f2f; }
.payment-window-note { padding-top: 7px; border-top: 1px solid #d9e5d2; font-weight: 700; }
.bts-calculate-link { justify-self: start; margin-top: 5px; padding: 9px 12px; border-radius: 9px; background: #286b37; color: #fff; font-size: .82rem; font-weight: 800; text-decoration: none; }

.order-progress { display: grid; margin: 14px 0; }
.order-progress-step { position: relative; display: grid; grid-template-columns: 24px 1fr; gap: 10px; min-height: 54px; color: #899187; }
.order-progress-step:not(:last-child)::before { content: ''; position: absolute; left: 7px; top: 17px; bottom: -2px; width: 3px; background: #dfe4dc; }
.order-progress-dot { z-index: 1; width: 17px; height: 17px; border: 3px solid #dfe4dc; border-radius: 50%; background: #fff; }
.order-progress-step div { display: grid; align-content: start; gap: 3px; }
.order-progress-step small { font-size: .75rem; }
.order-progress-step.is-complete, .order-progress-step.is-current { color: #1f632d; }
.order-progress-step.is-complete .order-progress-dot, .order-progress-step.is-current .order-progress-dot { border-color: #40a34f; background: #40a34f; }
.order-progress-step.is-complete:not(:last-child)::before { background: #40a34f; }
.order-progress-step.is-current strong { font-weight: 900; }
.order-cancelled-detail { display: grid; gap: 4px; margin: 14px 0; padding: 13px; border-radius: 12px; background: #fde8e8; color: #8f2f2f; }
.orders-bts-help { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 16px; padding: 13px; border-radius: 12px; background: #f3f7ef; color: #294329; font-size: .84rem; }
.orders-bts-help a { color: #246331; font-weight: 800; }

.admin-order-tabs { display: flex; gap: 7px; overflow-x: auto; padding: 2px 0 12px; }
.admin-order-tabs button, .admin-date-presets button { flex: 0 0 auto; border: 1px solid #d8ddd4; border-radius: 999px; background: #fff; padding: 8px 11px; cursor: pointer; }
.admin-order-tabs button.active { border-color: #7dbb43; background: #eaf6df; color: #255a1d; font-weight: 800; }
.admin-order-tabs b { margin-left: 3px; }
.admin-order-filters { display: grid; grid-template-columns: minmax(220px, 1fr) auto auto auto; gap: 9px; align-items: end; margin-bottom: 18px; padding: 13px; border: 1px solid #e0e4dc; border-radius: 14px; background: #fafbf8; }
.admin-order-filters label { display: grid; gap: 4px; font-size: .75rem; color: var(--ink-soft); }
.admin-date-presets { display: flex; gap: 5px; flex-wrap: wrap; grid-column: 1 / -1; }

.admin-product-editor-page { max-width: 850px; }
.admin-product-editor-card { display: grid; gap: 15px; padding: 22px; border: 1px solid #e0e4dc; border-radius: 18px; background: #fff; box-shadow: 0 8px 28px rgba(36, 55, 30, .08); }
.admin-product-editor-card textarea { min-height: 300px; resize: vertical;}
.product-url-row, .admin-product-editor-actions { display: flex; gap: 10px; }
.product-url-row input { min-width: 0; flex: 1; }
.admin-product-editor-actions { position: sticky; bottom: 8px; padding: 10px; border-radius: 14px; background: rgba(255,255,255,.94); box-shadow: 0 4px 18px rgba(0,0,0,.1); }
.admin-product-editor-actions .btn-accent { flex: 1; }
.upload-progress { margin-top: 8px; color: #286b37; font-size: .82rem; font-weight: 700; }

@media (max-width: 700px) {
  .admin-order-filters { grid-template-columns: 1fr 1fr; }
  .admin-order-filters > input, .admin-order-filters > .btn-accent { grid-column: 1 / -1; }
  .admin-order-card .order-header { align-items: stretch; gap: 12px; }
  .admin-order-card .order-header select { width: 100%; }
  .admin-product-editor-card { padding: 15px; border-radius: 14px; }
  .admin-product-editor-card .form-row { grid-template-columns: 1fr; }
  .product-url-row { align-items: stretch; }
  .orders-bts-help { align-items: flex-start; flex-direction: column; }
}

/* Final compact pickup and checkout controls */
.checkout-compact-summary > summary {
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  gap: 8px 10px;
  min-height: 54px;
  padding: 12px 16px;
}
.checkout-summary-cart-icon { color: #238b45; font-size: 1.25rem; }
.checkout-compact-summary .checkout-summary-title { grid-column: auto; }
.checkout-compact-summary .checkout-summary-link {
  grid-column: auto;
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #238b45;
  font-size: .8rem;
}
.checkout-compact-summary .checkout-summary-link::before { content: none; }
.checkout-compact-summary .checkout-summary-link::after { content: none; }
.checkout-compact-summary[open] .checkout-summary-link::before { content: none; }
.checkout-compact-summary[open] .checkout-summary-link::after { content: none; }
.checkout-compact-summary .checkout-summary-title { min-width: 0; white-space: nowrap; }
.checkout-compact-summary > summary > strong { white-space: nowrap; justify-self: end; }
.bts-office-info strong { color: #244f2c; font-size: .86rem; }
.pickup-inline { font-size: .86rem; font-weight: 700; color: #294329; }
.pickup-map-button {
  justify-self: start;
  border: 1px solid rgba(40,107,55,.35) !important;
  background: transparent !important;
  color: #286b37 !important;
  border-radius: 9px !important;
  padding: 7px 10px !important;
  font-size: .8rem !important;
}
.mini-order-address { display: grid; gap: 5px; margin-top: 12px; padding: 12px; border-radius: 12px; background: #f3f7ef; color: #294329; }
.mini-order-address > strong { font-size: .82rem; }
.mini-order-address > span:not(.pickup-inline) { font-size: .84rem; line-height: 1.4; }
.admin-buyer-contact { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; }
.admin-buyer-contact a, .admin-buyer-contact button { border: 1px solid rgba(40,107,55,.28); border-radius: 9px; padding: 8px 10px; background: #f3f7ef; color: #286b37; font: inherit; font-size: .78rem; font-weight: 700; text-decoration: none; cursor: pointer; }
.admin-order-card .admin-pickup { margin-top: 12px; }
.order-heading-main { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-width: 0; }
.order-number-inline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #214f18;
  font: inherit;
  cursor: pointer;
}
.order-number-inline strong { font-family: var(--font-mono); font-size: 1rem; letter-spacing: .02em; }
.order-number-inline span { color: #527149; font-size: .72rem; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.order-card, .admin-order-card { box-shadow: 0 5px 18px rgba(36, 55, 30, .06); }
.admin-orders-list { display: grid; gap: 14px; }
.admin-order-card .order-header { align-items: flex-start; }
.admin-order-card .order-header select { min-width: 170px; }
.product-file-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.product-file-actions .btn-ghost { min-height: 40px; }

/* Product archive, search and description controls */
.admin-products-heading { align-items: flex-start; }
.admin-products-summary, .admin-product-result-count { color: var(--ink-faint); font-size: .78rem; margin-top: 4px; }
.admin-product-status-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 12px; }
.admin-product-status-tabs button { border: 1px solid var(--rule); border-radius: 999px; background: #fff; color: var(--ink-soft); padding: 9px 14px; font: inherit; font-size: .82rem; cursor: pointer; }
.admin-product-status-tabs button.active { background: var(--accent); border-color: var(--accent); color: #fff; }
.admin-product-status-tabs b { margin-left: 4px; opacity: .75; }
.admin-product-filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 12px; }
.admin-product-filters select { min-height: 42px; min-width: 190px; border: 1px solid var(--rule); border-radius: 10px; padding: 0 12px; background: #fff; color: var(--ink); font: inherit; }
.admin-product-search { display: flex; align-items: center; gap: 8px; min-height: 42px; flex: 1 1 240px; max-width: 420px; padding: 0 12px; border: 1px solid var(--rule); border-radius: 10px; background: #fff; color: var(--ink-faint); }
.admin-product-search input { min-width: 0; width: 100%; border: 0; outline: 0; background: transparent; color: var(--ink); font: inherit; }
.admin-product-result-count { margin: 4px 0 10px; }
.admin-products-table-wrap { overflow-x: auto; }
.admin-products-table .is-archived { opacity: .72; background: #fafaf7; }
.product-status-pill { display: inline-flex; padding: 4px 8px; border-radius: 999px; font-size: .7rem; font-weight: 700; }
.product-status-pill.active { background: #e8f5e5; color: #2f7131; }
.product-status-pill.archived { background: #f0eee8; color: #746d60; }
.stock-zero { color: var(--danger); }
.stock-low-value { color: var(--warning); }
.admin-product-pagination { display: flex; justify-content: center; align-items: center; gap: 14px; margin: 18px 0 6px; color: var(--ink-soft); font-size: .82rem; }
.detail-desc-wrap { position: relative; }
.detail-desc-wrap.is-collapsed .detail-desc { max-height: var(--detail-desc-limit, 280px); overflow: hidden; }
.detail-desc-wrap.is-collapsed::after { content: ''; position: absolute; left: 0; right: 0; bottom: 38px; height: 54px; pointer-events: none; background: linear-gradient(transparent, var(--paper, #fff)); }
.detail-desc-toggle { display: inline-flex; margin-top: 4px; border: 0; padding: 0; background: transparent; color: var(--accent-hover); font: inherit; font-size: .82rem; font-weight: 700; cursor: pointer; }
.archived-product-notice { max-width: 560px; margin: 48px auto; padding: 36px 24px; border: 1px solid var(--rule); border-radius: 22px; background: #fff; text-align: center; box-shadow: 0 10px 32px rgba(30, 40, 10, .06); }
.archived-product-icon { margin-bottom: 12px; color: var(--ink-faint); font-size: 3rem; }
.archived-product-notice h1 { margin: 0 0 10px; font-size: 1.35rem; }
.archived-product-notice p { margin: 0 auto 22px; max-width: 420px; color: var(--ink-soft); line-height: 1.55; }
@media (max-width: 430px) {
  .checkout-compact-summary > summary { gap: 6px; padding-inline: 12px; }
  .checkout-compact-summary .checkout-summary-title { font-size: .82rem; }
  .checkout-compact-summary .checkout-summary-link { font-size: .76rem; }
  .checkout-compact-summary > summary > strong { font-size: .85rem; }
  .admin-order-card .order-header select { min-width: 0; width: 100%; }
  .admin-products-heading { gap: 12px; flex-direction: column; }
  .admin-products-heading .btn-accent { width: 100%; }
  .admin-product-filters { align-items: stretch; }
  .admin-product-filters select, .admin-product-search { max-width: none; width: 100%; }
  .admin-products-table th:first-child, .admin-products-table td:first-child { display: none; }
}
