.sk-customer-bill-page {
  min-height: 70vh;
  padding: 28px 0 80px;
  background: #f7f9fb;
  color: #111827;
}

.sk-customer-bill-head,
.sk-customer-section-head,
.sk-customer-cart-head,
.sk-customer-shop-context,
.sk-customer-cart-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.sk-customer-bill-head {
  margin-bottom: 18px;
}

.sk-customer-bill-head span,
.sk-customer-section-head span,
.sk-customer-shop-context span,
.sk-customer-cart-head span,
.sk-customer-bill-note span {
  display: block;
  color: #047857;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.sk-customer-bill-head h1,
.sk-customer-section-head h2 {
  margin: 3px 0 0;
  font-size: 28px;
}

.sk-customer-bill-link {
  color: #047857 !important;
  font-weight: 850;
}

.sk-customer-notice {
  margin-bottom: 14px;
  padding: 11px 13px;
  border: 1px solid #bae6d5;
  border-radius: 8px;
  background: #ecfdf5;
  color: #065f46;
  font-weight: 750;
}

.sk-customer-notice.is-error {
  border-color: #fecaca;
  background: #fef2f2;
  color: #991b1b;
}

.sk-customer-shop-picker,
.sk-customer-bill-catalog,
.sk-customer-bill-cart,
.sk-customer-bill-empty {
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #fff;
}

.sk-customer-shop-picker,
.sk-customer-bill-catalog,
.sk-customer-bill-cart {
  padding: 16px;
}

.sk-customer-shop-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.sk-customer-shop-card {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #fff;
  padding: 10px;
  text-align: left;
}

.sk-customer-shop-card:hover {
  border-color: #6ee7b7;
  transform: translateY(-1px);
}

.sk-customer-shop-card img,
.sk-customer-shop-context img {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  object-fit: cover;
  background: #f1f5f9;
}

.sk-customer-shop-card strong,
.sk-customer-shop-card small {
  display: block;
}

.sk-customer-shop-card small {
  margin-top: 2px;
  color: #64748b;
}

.sk-customer-bill-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 14px;
  align-items: start;
}

.sk-customer-shop-context {
  justify-content: flex-start;
  margin-bottom: 12px;
}

.sk-customer-shop-context button {
  width: 38px;
  height: 38px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #fff;
}

.sk-customer-bill-filters {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) 190px auto auto;
  gap: 8px;
  margin-bottom: 14px;
}

.sk-customer-bill-filters input,
.sk-customer-bill-filters select,
.sk-customer-bill-filters button,
.sk-customer-bill-note textarea {
  min-height: 42px;
  border: 1px solid #dbe3ef;
  border-radius: 8px;
  background: #fff;
  padding: 9px 11px;
}

.sk-customer-bill-search {
  position: relative;
}

.sk-customer-bill-search i {
  position: absolute;
  top: 14px;
  left: 12px;
  color: #64748b;
}

.sk-customer-bill-search input {
  width: 100%;
  padding-left: 34px;
}

.sk-customer-stock-filter {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 42px;
  border: 1px solid #dbe3ef;
  border-radius: 8px;
  padding: 0 11px;
  white-space: nowrap;
}

.sk-customer-bill-filters button,
.sk-customer-bill-primary {
  border: 0;
  border-radius: 8px;
  background: #047857;
  color: #fff !important;
  font-weight: 900;
}

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

.sk-customer-product {
  display: grid;
  grid-template-rows: 126px 1fr auto;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #fff;
}

.sk-customer-product > img {
  width: 100%;
  height: 126px;
  object-fit: contain;
  background: #f8fafc;
  padding: 8px;
}

.sk-customer-product > div,
.sk-customer-product footer {
  padding: 9px;
}

.sk-customer-product h3 {
  margin: 3px 0;
  font-size: 14px;
  line-height: 1.3;
}

.sk-customer-product > div small,
.sk-customer-product > div span,
.sk-customer-product footer small {
  display: block;
  color: #64748b;
  font-size: 11px;
}

.sk-customer-product footer {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 8px;
  border-top: 1px solid #eef2f7;
}

.sk-customer-product footer button {
  border: 0;
  border-radius: 7px;
  background: #111827;
  color: #fff;
  padding: 7px 10px;
  font-weight: 850;
}

.sk-customer-product footer button:disabled {
  opacity: .45;
}

.sk-customer-bill-cart {
  position: sticky;
  top: 92px;
}

.sk-customer-cart-head button {
  border: 0;
  background: transparent;
  color: #64748b;
}

.sk-customer-cart-items {
  display: grid;
  gap: 8px;
  max-height: 390px;
  overflow: auto;
  margin: 12px 0;
}

.sk-customer-cart-row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 9px;
  border-bottom: 1px solid #eef2f7;
  padding-bottom: 8px;
}

.sk-customer-cart-row img {
  width: 42px;
  height: 42px;
  border-radius: 7px;
  object-fit: contain;
  background: #f8fafc;
}

.sk-customer-cart-row strong,
.sk-customer-cart-row span {
  display: block;
  font-size: 12px;
}

.sk-customer-cart-row span {
  color: #64748b;
}

.sk-customer-qty {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 34px 1fr 34px;
}

.sk-customer-qty button,
.sk-customer-qty input {
  height: 34px;
  border: 1px solid #dbe3ef;
  background: #fff;
  text-align: center;
}

.sk-customer-qty button:first-child {
  border-radius: 7px 0 0 7px;
}

.sk-customer-qty button:last-child {
  border-radius: 0 7px 7px 0;
}

.sk-customer-bill-note textarea {
  width: 100%;
  margin-top: 5px;
  resize: vertical;
}

.sk-customer-bill-note em {
  color: #94a3b8;
  font-style: normal;
}

.sk-customer-cart-total {
  margin: 12px 0;
  padding-top: 12px;
  border-top: 1px solid #e2e8f0;
}

.sk-customer-cart-total strong {
  color: #047857;
  font-size: 20px;
}

.sk-customer-bill-cart > .sk-customer-bill-primary {
  width: 100%;
  min-height: 46px;
}

.sk-customer-bill-cart > small {
  display: block;
  margin-top: 8px;
  color: #64748b;
  text-align: center;
}

.sk-customer-bill-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 9px 14px;
}

.sk-customer-bill-primary:disabled {
  opacity: .45;
}

.sk-customer-bill-empty {
  padding: 42px 18px;
  text-align: center;
}

.sk-customer-bill-empty.is-inline {
  grid-column: 1 / -1;
  border: 0;
  box-shadow: none;
}

.sk-customer-bill-empty i {
  color: #047857;
  font-size: 28px;
}

.sk-customer-bill-empty h1,
.sk-customer-bill-empty h2 {
  margin: 9px 0 5px;
}

.sk-customer-bill-empty p,
.sk-customer-cart-empty {
  color: #64748b;
}

.sk-customer-cart-empty,
.sk-customer-loading {
  padding: 24px 10px;
  text-align: center;
}

.sk-customer-load-more {
  display: block;
  min-height: 42px;
  margin: 14px auto 0;
  border: 1px solid #dbe3ef;
  border-radius: 8px;
  background: #fff;
  padding: 8px 18px;
  font-weight: 850;
}

@media (max-width: 1100px) {
  .sk-customer-product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .sk-customer-shop-grid,
  .sk-customer-bill-workspace {
    grid-template-columns: 1fr;
  }

  .sk-customer-bill-cart {
    position: static;
  }

  .sk-customer-bill-filters {
    grid-template-columns: 1fr 1fr;
  }

  .sk-customer-bill-search {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .sk-customer-bill-page {
    padding: 16px 0 88px;
  }

  .sk-customer-bill-head h1 {
    font-size: 23px;
  }

  .sk-customer-bill-filters,
  .sk-customer-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sk-customer-bill-search,
  .sk-customer-bill-filters button {
    grid-column: 1 / -1;
  }

  .sk-customer-product {
    grid-template-rows: 105px 1fr auto;
  }

  .sk-customer-product > img {
    height: 105px;
  }

  .sk-customer-product footer {
    align-items: stretch;
    flex-direction: column;
  }

  .sk-customer-product footer button {
    width: 100%;
  }
}
