/* Base styling to mimic koreanglowbeauty.in product layout */
* {
  box-sizing: border-box;
}

html {
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: #fce7f3;
  color: #1f2937;
  overflow-x: clip;
  max-width: 100%;
  /* Sticky footer; dvh avoids mobile browser UI height jumps */
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  padding-left: env(safe-area-inset-left, 0px);
  padding-right: env(safe-area-inset-right, 0px);
}

/* Advanced auth styles (login/signup) */
.auth-shell {
  max-width: 560px;
  margin: 0 auto;
}

.auth-card {
  border: 1px solid rgba(236, 72, 153, 0.22);
  border-radius: 16px;
  padding: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.88) 100%);
  box-shadow: 0 18px 45px rgba(17, 24, 39, 0.10);
}

.auth-title {
  margin: 0;
  font-size: 24px;
  font-weight: 900;
  color: #111827;
}

.auth-subtitle {
  margin: 8px 0 14px;
  color: #6b7280;
  font-size: 14px;
  line-height: 1.6;
}

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

.auth-input {
  width: 100%;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 14px;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  background: #fff;
}

.auth-input:focus {
  border-color: rgba(236, 72, 153, 0.60);
  box-shadow: 0 0 0 4px rgba(236, 72, 153, 0.14);
}

.auth-alert {
  border-radius: 10px;
  padding: 10px 12px;
  margin-bottom: 12px;
  font-size: 14px;
}

.auth-alert.error {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid rgba(153, 27, 27, 0.2);
}

.auth-actions {
  margin-top: 10px;
}

.auth-links {
  margin-top: 12px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 14px;
  color: #6b7280;
}

.auth-links a {
  color: #ec4899;
  font-weight: 800;
}

/* Super attractive checkout form */
.checkout-form {
  margin-top: 16px;
  padding: 18px;
  border: 1px solid rgba(236, 72, 153, 0.22);
  border-radius: 16px;
  background:
    radial-gradient(1200px 500px at -10% -30%, rgba(236, 72, 153, 0.12) 0%, rgba(236, 72, 153, 0) 60%),
    linear-gradient(180deg, rgba(255,255,255,0.96) 0%, rgba(255,255,255,0.88) 100%);
  box-shadow:
    0 18px 45px rgba(17, 24, 39, 0.10),
    0 1px 0 rgba(255,255,255,0.7) inset;
}

.checkout-grid-2,
.checkout-grid-3 {
  display: grid;
  gap: 12px;
}

.checkout-grid-2 {
  grid-template-columns: 1fr 1fr;
}

.checkout-grid-3 {
  grid-template-columns: 1fr 1fr 1fr;
}

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

.checkout-form label {
  font-weight: 800;
  letter-spacing: 0.2px;
  color: #374151;
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
}

.checkout-form input,
.checkout-form textarea {
  width: 100%;
  border: 1px solid rgba(229, 231, 235, 1);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 14px;
  background: #fff;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.08s ease;
}

.checkout-form textarea {
  min-height: 110px;
  resize: vertical;
}

.checkout-form input:focus,
.checkout-form textarea:focus {
  border-color: rgba(236, 72, 153, 0.60);
  box-shadow: 0 0 0 4px rgba(236, 72, 153, 0.14);
}

.checkout-form input::placeholder,
.checkout-form textarea::placeholder {
  color: #9ca3af;
}

@media (max-width: 768px) {
  .checkout-grid-2 {
    grid-template-columns: 1fr;
  }
  .checkout-grid-3 {
    grid-template-columns: 1fr;
  }
}

/* Responsive auth layout */
@media (max-width: 600px) {
  .auth-input,
  input[type="email"],
  input[type="password"],
  input[type="text"],
  input[type="tel"],
  select,
  textarea {
    font-size: 16px;
  }

  .auth-shell {
    width: min(100%, 92%);
    padding: 0 8px;
    padding-bottom: max(12px, env(safe-area-inset-bottom, 0px));
  }

  .auth-card {
    padding: 14px;
    border-radius: 14px;
  }

  .auth-title {
    font-size: 20px;
  }

  .auth-subtitle {
    font-size: 13px;
  }

  .auth-links {
    justify-content: center;
    gap: 10px;
  }
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: max(12px, env(safe-area-inset-top, 0px)) 0 14px;
  min-width: 0;
}

.topbar-actions {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-shrink: 0;
  gap: 0;
}

.nav a.nav-cart {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  font-weight: inherit;
}

.cart-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 7px;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  color: #fff;
  background: #db2777;
  border-radius: 999px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
  vertical-align: middle;
}

.nav .cart-badge {
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  font-size: 11px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-logo {
  width: 56px;
  height: 56px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1px;
  min-width: 0;
  line-height: 1.05;
}

.brand-line {
  display: block;
}

.brand-line--main {
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: 0.06em;
  line-height: 1.15;
  background: linear-gradient(118deg, #9d174d 0%, #db2777 42%, #f472b6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: #be185d;
}

@supports (background-clip: text) or (-webkit-background-clip: text) {
  .brand-line--main {
    color: transparent;
  }
}

.brand-line--accent {
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-style: italic;
  font-weight: 500;
  font-size: 1.05rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #be185d;
  padding-left: 0.12em;
  opacity: 0.92;
}

.nav {
  display: flex;
  gap: 16px;
  font-size: 14px;
  color: #ec4899;
}

.product-hero {
  padding: 18px 0 30px;
  flex: 1 0 auto;
  min-width: 0;
  width: 100%;
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  min-width: 0;
}

@media (max-width: 900px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
}

.product-img {
  border: 1px solid #e5e7eb;
  min-height: 420px;
  height: auto;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  padding: 14px;
}

.product-img img {
  width: 100%;
  height: auto;
  max-height: min(75vh, 680px);
  object-fit: contain;
  object-position: center;
  display: block;
}

.product-gallery {
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 12px;
  background: transparent;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.gallery-main {
  width: 100%;
  max-width: 100%;
  min-height: clamp(220px, 42vh, 440px);
  height: auto;
  border-radius: 10px;
  overflow: hidden;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  min-width: 0;
}

.gallery-main img {
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: min(70dvh, 680px);
  max-height: min(70vh, 680px);
  object-fit: contain;
  object-position: center;
  display: block;
  opacity: 1;
  transform: scale(1);
  border-radius: inherit;
  will-change: opacity, transform;
  transition: opacity 750ms ease, transform 750ms ease;
}

.kg-gallery-fade-out {
  opacity: 0;
  transform: scale(0.985);
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
  width: 100%;
  min-width: 0;
}

.thumb-btn {
  border: 1px solid #e5e7eb;
  background: transparent;
  border-radius: 10px;
  padding: 4px;
  cursor: pointer;
  width: 100%;
  min-width: 0;
  aspect-ratio: 4 / 3;
  height: auto;
  max-height: 88px;
  overflow: hidden;
  box-sizing: border-box;
}

.thumb-btn.active {
  border-color: #ec4899;
  box-shadow: 0 0 0 2px rgba(236, 72, 153, 0.18);
}

.thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.pill-offer {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  color: #9a3412;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 14px;
  margin-top: 12px;
}

.pill-offer b {
  color: #ef4444;
}

.meta {
  font-size: 14px;
  line-height: 1.55;
  color: #374151;
}

.meta .k {
  color: #6b7280;
  font-weight: 600;
  margin-right: 8px;
}

.product-title {
  font-size: 26px;
  margin: 0 0 8px;
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 12px 0;
}

.price-now {
  font-size: 26px;
  font-weight: 800;
  color: #111827;
}

.price-old {
  font-size: 14px;
  color: #9ca3af;
  text-decoration: line-through;
  font-weight: 600;
}

.option-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 18px;
}

.field label {
  font-weight: 700;
  font-size: 13px;
  color: #374151;
  display: block;
  margin-bottom: 6px;
}

select,
input[type="number"] {
  width: 100%;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 14px;
  outline: none;
}

.quantity-row {
  display: flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
}

.quantity-row input[type="number"] {
  width: 74px;
  text-align: center;
  height: 44px;
  padding: 0;
}

.quantity-step {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  background: #fff;
  font-size: 18px;
  cursor: pointer;
}

.quantity-step:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.cart-qty-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cart-remove-btn {
  height: 44px;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  padding: 0 14px;
  font-weight: 900;
  cursor: pointer;
  color: #111827;
}

.cart-remove-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.quantity-box {
  flex: 1;
}

.add-buy-row {
  display: flex;
  gap: 14px;
  margin-top: 18px;
  flex-wrap: wrap;
  width: 100%;
  min-width: 0;
}

.btn-cta {
  flex: 1 1 auto;
  min-width: min(100%, 190px);
  touch-action: manipulation;
  border-radius: 9999px;
  padding: 14px 18px;
  border: 0;
  color: #ffffff;
  font-weight: 800;
  letter-spacing: 0.3px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  background: linear-gradient(180deg, #ec4899 0%, #db2777 100%);
  box-shadow: 0 2px 0 rgba(0,0,0,0.08);
}

.btn-cta.secondary {
  background: linear-gradient(180deg, #ec4899 0%, #db2777 100%);
}

.btn-icon {
  width: 34px;
  height: 34px;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.18);
}

.btn-cta span {
  text-transform: none;
}

.btn-cart span {
  font-size: 15px;
}

.btn-buy span {
  font-size: 15px;
}

.whatsapp-row {
  margin-top: 18px;
}

.whatsapp-btn {
  width: 100%;
  border-radius: 9999px;
  padding: 14px 18px;
  background: #22c55e;
  color: white;
  font-weight: 800;
  border: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.section-title {
  margin-top: 26px;
  font-size: 18px;
  font-weight: 800;
  border-bottom: 1px solid #e5e7eb;
  padding-bottom: 10px;
}

.desc-card {
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 16px;
  margin-top: 12px;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 12px;
}

@media (max-width: 900px) {
  .photo-grid {
    grid-template-columns: 1fr;
  }
}

.photo-item {
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  height: 210px;
}

.photo-item.animate {
  animation: popUp 2.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.photo-item.animate:nth-child(1) {
  animation-delay: 0s;
}

.photo-item.animate:nth-child(2) {
  animation-delay: 0s;
}

.photo-item.animate:nth-child(3) {
  animation-delay: 0s;
}

.photo-item.animate:nth-child(4) {
  animation-delay: 0s;
}

.photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.photo-item:hover img {
  transform: scale(1.05);
}

/* Pop Up Animation */
@keyframes popUp {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.hamburger span {
  width: 24px;
  height: 3px;
  background: #111827;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(10px, 10px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Navigation — logo left, menu + dropdown grouped on the right */
@media (max-width: 768px) {
  .topbar {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 10px;
    width: 100%;
  }

  .brand {
    grid-column: 1;
    min-width: 0;
    justify-self: start;
    align-items: center;
  }

  .brand-text,
  .brand-line {
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
    hyphens: auto;
  }

  .topbar-actions {
    grid-column: 2;
    justify-self: end;
  }

  .hamburger {
    display: flex;
    flex-shrink: 0;
    touch-action: manipulation;
  }

  .nav {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: auto;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    flex-direction: column;
    padding: 12px;
    gap: 12px;
    width: min(220px, calc(100vw - 24px - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px)));
    max-width: 280px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 1000;
  }

  .nav.active {
    display: flex;
  }

  .nav a {
    padding: 10px 12px;
    border-radius: 4px;
  }

  .nav a:hover {
    background: #f3f4f6;
  }

  .product-hero {
    padding-bottom: calc(48px + env(safe-area-inset-bottom, 0px) + max(56px, 12vmin));
  }

  .product-grid {
    min-width: 0;
  }
}

/* Reviews Section */
.reviews-section {
  margin-top: 26px;
}

.reviews-title {
  font-size: 18px;
  font-weight: 800;
  border-bottom: 1px solid #e5e7eb;
  padding-bottom: 10px;
  margin-bottom: 12px;
}

.reviews-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 12px;
  min-width: 0;
}

.review-card {
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 16px;
  background: #f9fafb;
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  margin-bottom: 10px;
}

.review-name {
  font-weight: 700;
  color: #111827;
}

.review-stars {
  color: #f59e0b;
  font-size: 14px;
}

.review-text {
  font-size: 14px;
  color: #374151;
  line-height: 1.6;
  margin: 0;
}

/* Footer */
.footer {
  background: #111827;
  color: #ffffff;
  padding: 24px 0;
  padding-bottom: max(24px, env(safe-area-inset-bottom, 0px));
  margin-top: auto;
  border-top: 1px solid #e5e7eb;
}

.footer p {
  margin: 0;
  text-align: center;
  font-size: 14px;
  line-height: 1.6;
}

/* Mobile Responsive - Extra Small Screens */
@media (max-width: 600px) {
  .topbar {
    padding-top: max(10px, env(safe-area-inset-top, 0px));
    padding-bottom: 10px;
  }

  .brand {
    gap: 8px;
  }

  .brand-logo {
    width: 48px;
    height: 48px;
  }

  .brand-line--main {
    font-size: 1.12rem;
    letter-spacing: 0.04em;
  }

  .brand-line--accent {
    font-size: 0.95rem;
    letter-spacing: 0.2em;
  }

  .product-title {
    font-size: 20px;
  }

  .price-now {
    font-size: 20px;
  }

  .price-old {
    font-size: 12px;
  }

  .meta {
    font-size: 12px;
  }

  .pill-offer {
    font-size: 12px;
    padding: 8px 10px;
  }

  .gallery-main {
    min-height: 300px;
    padding: 10px;
  }

  .gallery-main img {
    max-height: min(65vh, 520px);
  }

  .product-img {
    min-height: 300px;
    padding: 10px;
  }

  .product-img img {
    max-height: min(65vh, 520px);
  }

  .gallery-thumbs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
  }

  .thumb-btn {
    max-height: 76px;
  }

  .section-title {
    font-size: 16px;
    margin-top: 20px;
  }

  .desc-card {
    padding: 12px;
    margin-top: 10px;
  }

  .field label {
    font-size: 12px;
    margin-bottom: 4px;
  }

  select,
  input[type="number"] {
    padding: 8px 10px;
    font-size: 13px;
  }

  .quantity-step {
    width: 38px;
    height: 38px;
    font-size: 16px;
  }

  .quantity-row input[type="number"] {
    width: 60px;
    height: 38px;
  }

  .add-buy-row {
    flex-direction: column;
    gap: 10px;
    margin-top: 12px;
  }

  .btn-cta {
    width: 100%;
    min-width: 0;
    padding: 12px 14px;
    font-size: 13px;
  }

  .btn-icon {
    width: 28px;
    height: 28px;
  }

  .btn-icon svg {
    width: 14px !important;
    height: 14px !important;
  }

  .whatsapp-btn {
    padding: 12px 14px;
    font-size: 13px;
  }

  .whatsapp-row {
    margin-top: 12px;
  }

  .option-row {
    gap: 8px;
    margin-top: 12px;
  }

  .photo-grid {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 10px;
  }

  .photo-item {
    height: 200px;
  }

  .reviews-container {
    grid-template-columns: 1fr;
  }

  .review-card {
    padding: 12px;
  }

  .review-name {
    font-size: 13px;
  }

  .review-text {
    font-size: 12px;
  }
}

/* Tablet Responsive - Medium Screens */
@media (max-width: 768px) {
  .product-title {
    font-size: 22px;
  }

  .price-now {
    font-size: 22px;
  }

  .gallery-main {
    min-height: 360px;
  }

  .gallery-main img,
  .product-img img {
    max-height: min(70vh, 600px);
  }

  .photo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Checkout: state / city autocomplete */
.checkout-autocomplete-wrap {
  position: relative;
}

.checkout-autocomplete-dropdown {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 100;
  max-height: 220px;
  overflow-y: auto;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(17, 24, 39, 0.12);
}

.checkout-autocomplete-dropdown li {
  padding: 10px 12px;
  cursor: pointer;
  font-size: 14px;
  color: #111827;
}

.checkout-autocomplete-dropdown li:hover,
.checkout-autocomplete-dropdown li[aria-selected="true"] {
  background: #fce7f3;
}

/* My Orders lookup page */
.orders-lookup-title {
  color: #ec4899;
}

.orders-lookup-layout {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 18px;
  align-items: start;
}

.orders-lookup-subtitle {
  margin: 0 0 14px 0;
  color: #374151;
  font-size: 14px;
  line-height: 1.8;
}

.orders-lookup-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.orders-results-meta {
  color: #6b7280;
  font-size: 13px;
  margin-bottom: 12px;
}

.orders-email {
  font-weight: 900;
  color: #111827;
}

.orders-results-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.order-card {
  border: 1px solid #f3f4f6;
  border-radius: 16px;
  padding: 14px;
  background:
    radial-gradient(900px 220px at -10% -10%, rgba(236, 72, 153, 0.10) 0%, rgba(236, 72, 153, 0) 55%),
    linear-gradient(180deg, rgba(255,255,255,0.96) 0%, rgba(255,255,255,0.88) 100%);
  box-shadow: 0 18px 45px rgba(17, 24, 39, 0.08);
}

.order-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 10px;
}

.order-ref {
  font-weight: 900;
  color: #111827;
}

.order-total {
  font-weight: 900;
  color: #ec4899;
}

.order-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.order-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fce7f3;
  border: 1px solid rgba(236, 72, 153, 0.22);
  color: #be185d;
  border-radius: 999px;
  padding: 8px 10px;
  font-size: 13px;
  font-weight: 800;
}

.order-badge b {
  font-weight: 900;
}

.order-badge--muted {
  background: #f3f4f6;
  border-color: rgba(229, 231, 235, 1);
  color: #374151;
}

.order-customer {
  color: #374151;
  font-size: 14px;
  margin-bottom: 12px;
  line-height: 1.7;
}

.order-detail {
  margin: 2px 0;
}

.orders-empty {
  border: 1px dashed #e5e7eb;
  border-radius: 14px;
  padding: 14px;
  color: #6b7280;
  background: rgba(255, 255, 255, 0.7);
}

.orders-empty--hint {
  background: transparent;
}

.order-items {
  border-top: 1px solid #f3f4f6;
  padding-top: 12px;
}

.order-items-title {
  font-weight: 900;
  margin-bottom: 8px;
  color: #111827;
}

.order-item-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
}

.order-item-row + .order-item-row {
  border-top: 1px solid #f3f4f6;
}

.order-item-name {
  font-weight: 800;
  color: #111827;
}

.order-item-sub {
  font-weight: 700;
  color: #6b7280;
  font-size: 13px;
  margin-top: 4px;
}

.order-item-price {
  font-weight: 900;
  color: #111827;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .orders-lookup-layout {
    grid-template-columns: 1fr;
  }
}

