/* Scoped Akano-style cards: do not change other Flatsome buttons or modals. */
.lh-card,
.lh-product-modal {
  --navy: #16294f;
  --red: #cc1a1a;
  --lightblue: #5b9be6;
  --ink: #16203a;
  --line: #e3e9f4;
  color: var(--ink);
  font-family:
    "Be Vietnam Pro",
    system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;
  line-height: 1.6;
}
.lh-product-col > .col-inner {
  height: 100%;
}
.product-small.lh-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0.9rem;
  box-shadow: 0 10px 26px -20px rgba(20, 40, 80, 0.4);
  display: flex;
  flex-direction: column;
  height: 100%;
  text-align: left;
}
.lh-card .cimg {
  display: block;
  aspect-ratio: 1;
  border-radius: 12px;
  background: #f4f6fb;
  overflow: hidden;
  margin-bottom: 0.7rem;
}
.lh-card .cimg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.lh-card .ccode {
  font-size: 0.68rem;
  color: #8a93a6;
  font-weight: 600;
  overflow-wrap: anywhere;
  min-height: 1.6em;
}
.lh-card .cname {
  font-size: 0.86rem;
  color: var(--ink);
  font-weight: 600;
  line-height: 1.35;
  margin: 0.2rem 0 0.1rem;
  min-height: 2.7em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-decoration: none;
}
.lh-card .cunit {
  font-size: 0.75rem;
  color: #8a93a6;
  margin-bottom: 0.5rem;
}
.lh-card .cprice {
  border-top: 1px solid #eef1f6;
  padding-top: 0.5rem;
  margin-top: auto;
}
.lh-card .plabel {
  display: block;
  font-size: 0.62rem;
  color: #8a93a6;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.lh-card .pbox {
  color: var(--linear-color);
  font-weight: 700;
  font-size: 20px;
  display: block;
}
.lh-card .ppc {
  font-size: 0.74rem;
  color: var(--lightblue);
  font-weight: 600;
}
.lh-card button,
.lh-product-modal button {
  font-family: inherit;
  text-transform: none;
  letter-spacing: normal;
  min-height: 0;
  line-height: 1.6;
  box-shadow: none;
  margin: 0;
  cursor: pointer;
}
.lh-card .cbtn {
  margin-top: 0.6rem;
  background: var(--primary-color);
  color: var(--linear-color);
  text-align: center;
  border-radius: 10px;
  padding: 0.5rem;
  font-weight: 700;
  font-size: 0.82rem;
  border: 0;
  width: 100%;
}
.lh-card .cbtn:hover {
  color: var(--primary-color);
  background: var(--linear-color);
}
.lh-card .ccart {
  margin-top: 0.4rem;
  width: 100%;
  border: 1px solid var(--primary-color);
  background: #fff;
  color: var(--primary-color);
  font-weight: 700;
  font-size: 0.82rem;
  padding: 0.45rem;
  border-radius: 9px;
  transition: 0.15s;
}
.lh-card .ccart:hover {
  background: var(--primary-color);
  color: var(--linear-color);
}
.lh-card button:disabled,
.lh-product-modal button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.lh-card :focus-visible,
.lh-product-modal :focus-visible {
  outline: 3px solid var(--lightblue);
  outline-offset: 3px;
}
.lh-product-modal[hidden] {
  display: none !important;
}
.lh-product-modal [hidden] {
  display: none !important;
}
.lh-product-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: rgba(10, 20, 40, 0.7);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.lh-product-modal.on {
  display: flex;
}
body.lh-modal-open {
  overflow: hidden;
}
.lh-product-modal .mbox {
  background: #fff;
  border-radius: 18px;
  max-width: 900px;
  width: 100%;
  max-height: 92vh;
  max-height: 92dvh;
  overflow: auto;
  overscroll-behavior: contain;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.6);
}
.lh-product-modal .mx {
  position: absolute;
  top: 0.7rem;
  right: 0.8rem;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  border: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.4rem;
  line-height: 1;
  padding: 0;
  z-index: 2;
}
.lh-product-modal .mleft {
  padding: 1.4rem;
}
.lh-product-modal .mimg {
  aspect-ratio: 1;
  background: #f4f6fb center/cover no-repeat;
  border-radius: 12px;
}
.lh-product-modal .mthumbs {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.6rem;
  flex-wrap: wrap;
}
.lh-product-modal .mth {
  width: 54px;
  height: 54px;
  border: 2px solid transparent;
  border-radius: 8px;
  background: #f4f6fb center/cover no-repeat;
  padding: 0;
}
.lh-product-modal .mth.on {
  border-color: var(--red);
}
.lh-product-modal .mright {
  padding: 1.8rem 1.7rem 1.7rem 0;
  min-width: 0;
}
.lh-product-modal .mcode {
  font-size: 0.74rem;
  color: var(--lightblue);
  font-weight: 700;
  overflow-wrap: anywhere;
}
.lh-product-modal .mright h3 {
  margin: 0.4rem 0 1rem;
  font-size: 1.25rem;
  line-height: 1.3;
  font-weight: 800;
  color: var(--ink);
  overflow-wrap: anywhere;
}
.lh-product-modal .mprices {
  display: flex;
  gap: 1.6rem;
  flex-wrap: wrap;
  padding: 1rem 0;
  border-top: 1px solid #eef1f6;
  border-bottom: 1px solid #eef1f6;
  margin-bottom: 1.1rem;
}
.lh-product-modal .mp span {
  display: block;
  font-size: 0.64rem;
  color: #8a93a6;
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-bottom: 0.25rem;
}
.lh-product-modal .mp b {
  color: var(--red);
  font-weight: 800;
  font-size: 1.3rem;
}
.lh-product-modal .mp i {
  color: var(--lightblue);
  font-style: normal;
  font-weight: 800;
  font-size: 1.05rem;
}
.lh-product-modal .mp u {
  font-weight: 700;
  text-decoration: none;
}
.lh-product-modal .mdesc-l,
.lh-product-modal .mqty-label {
  font-size: 0.66rem;
  color: #8a93a6;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 0.4rem;
}
.lh-product-modal .mright p {
  color: #42506b;
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0 0 1rem;
  white-space: pre-line;
  overflow-wrap: anywhere;
}
.lh-product-modal .mcta-row {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 0.4rem;
}
.lh-product-modal .mcta {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-weight: 700;
  padding: 0.7rem 1.7rem;
  border-radius: 10px;
  font-size: 0.9rem;
  text-decoration: none;
}
.lh-product-modal .mcta:hover {
  background: #a81414;
}
.lh-product-modal .mcart {
  background: var(--navy);
  color: #fff;
  border: 0;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.7rem 1.2rem;
  border-radius: 10px;
}
.lh-product-modal .mcart:hover {
  background: #0f1d3d;
}
.lh-product-modal .mqty {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex: none;
}
.lh-product-modal .mqty button {
  width: 34px;
  height: 38px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--navy);
  padding: 0;
}
.lh-product-modal .mqty input {
  width: 52px;
  height: 38px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  padding: 0;
  margin: 0;
  box-shadow: none;
  appearance: textfield;
}
.lh-product-modal .mqty input::-webkit-inner-spin-button {
  appearance: none;
}
.lh-card-status {
  font-size: 0.75rem;
  line-height: 1.5;
  color: #42506b;
  margin-top: 0.5rem;
}
.lh-card-status:empty {
  display: none;
}
.lh-product-modal .lh-view-cart {
  font-size: 0.85rem;
  color: var(--navy);
  text-decoration: underline;
}
@media (max-width: 680px) {
  .lh-product-modal .mbox {
    grid-template-columns: 1fr;
    max-width: 440px;
  }
  .lh-product-modal .mright {
    padding: 0 1.4rem 1.4rem;
  }
  .lh-product-modal .mleft {
    padding: 1.4rem;
  }
  .lh-product-modal .mprices {
    gap: 1rem;
  }
}
@media (max-width: 380px) {
  .product-small.lh-card {
    padding: 0.6rem;
  }
  .lh-card .pbox {
    font-size: 0.95rem;
  }
  .lh-card .ccart {
    font-size: 0.74rem;
  }
}
