/* LPPEPTIDE Native Storefront CSS — 1640px/1720px Wide Layout, Zero Build Step */
:root {
  --ink: #0b1e40;
  --mall-ink: #10232d;
  --muted: #536374;
  --bg: #f4f7fa;
  --paper: #ffffff;
  --line: #dce3eb;
  --teal: #087a73;
  --teal-dark: #066d67;
  --teal-soft: #eef6f5;
  --gold: #f1d475;
  --gold-soft: #fff5cf;
  --coral: #e76f51;
  --cream: #fdf6eb;
  --price-rust: #9a3412;
  --amber-btn: #f5c065;
  --container: 1640px;
  --container-wide: 1720px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }

.font-editorial { font-family: Georgia, "Times New Roman", serif; }
.lp-wrap { max-width: var(--container); margin: 0 auto; padding: 0 28px; }
.lp-wrap-wide { max-width: var(--container-wide); margin: 0 auto; padding: 0 24px; }

/* Utility Top Bar */
.lp-utility {
  background: linear-gradient(90deg, #07111f 0%, #0d2238 50%, #07111f 100%);
  color: #fff;
  padding: 10px 16px;
  text-align: center;
  font-size: 13px;
}
.lp-utility strong { color: var(--gold); margin-right: 8px; }

/* Floating Pill Header */
.lp-header-shell { position: sticky; top: 8px; z-index: 900; padding: 8px 0; }
.lp-header {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  background: rgba(255,255,255,.96);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 22px;
  box-shadow: 0 12px 34px rgba(7,17,31,.12);
  backdrop-filter: blur(10px);
}
.lp-brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 900; font-size: 18px; color: var(--ink); }
.lp-brand-mark {
  width: 36px; height: 36px; border-radius: 9px; background: var(--ink); color: var(--gold);
  display: inline-flex; align-items: center; justify-content: center; font-weight: 900; font-size: 14px;
}
.lp-nav { display: flex; align-items: center; gap: 20px; }
.lp-wh-link { display: flex; flex-direction: column; padding: 4px 10px; border-radius: 10px; transition: .15s; }
.lp-wh-link:hover { background: var(--teal-soft); }
.lp-wh-link strong { font-size: 13.5px; color: var(--ink); }
.lp-wh-link small { font-size: 10.5px; color: var(--muted); }
.lp-nav-link { font-size: 13.5px; font-weight: 700; color: var(--ink); }
.lp-nav-link:hover { color: var(--teal); }
.lp-tools { display: flex; align-items: center; gap: 8px; }
.lp-icon-btn {
  width: 38px; height: 38px; border-radius: 999px; border: 0; background: transparent;
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer; position: relative; color: var(--ink);
}
.lp-icon-btn:hover { background: var(--teal-soft); color: var(--teal); }
.lp-cart-badge {
  position: absolute; top: -2px; right: -2px; min-width: 19px; height: 19px; border-radius: 999px;
  background: var(--teal); color: #fff; font-size: 10px; font-weight: 800; display: none; align-items: center; justify-content: center; padding: 0 5px;
}

/* Hero Section */
.lp-hero {
  margin-top: 10px; border-radius: 26px; padding: 48px 42px; color: #fff;
  background:
    radial-gradient(circle at 20% 25%, rgba(24,160,166,.35), transparent 48%),
    radial-gradient(circle at 82% 30%, rgba(37,99,166,.42), transparent 52%),
    linear-gradient(135deg, #071426 0%, #102b46 48%, #0a1f36 100%);
  box-shadow: 0 24px 60px rgba(7,17,31,.2);
}
.lp-hero-grid { display: grid; grid-template-columns: 7fr 5fr; gap: 24px; align-items: stretch; }
.lp-glass-main {
  background: rgba(11,30,64,.82); border: 1px solid rgba(182,199,220,.25); border-radius: 20px;
  padding: 36px; display: flex; flex-direction: column; justify-content: space-between;
}
.lp-glass-main h1 { margin: 12px 0 0; font-size: 48px; line-height: 1.1; }
.lp-glass-sub {
  background: rgba(23,52,92,.78); border: 1px solid rgba(182,199,220,.28); border-radius: 18px; padding: 20px 22px;
}
.lp-pill-gold {
  display: inline-block; font-size: 10.5px; font-weight: 800; letter-spacing: .08em;
  color: var(--gold); background: rgba(241,212,117,.14); border: 1px solid rgba(241,212,117,.4);
  padding: 3px 10px; border-radius: 999px; text-transform: uppercase;
}
.lp-btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.lp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 12px; padding: 12px 22px; font-size: 14px; font-weight: 700; cursor: pointer; border: 0; transition: .15s;
}
.lp-btn-navy { background: #07111f; color: #fff; border: 1px solid rgba(255,255,255,.15); }
.lp-btn-navy:hover { background: var(--teal); }
.lp-btn-ghost { background: rgba(255,255,255,.06); color: #fff; border: 1px solid rgba(255,255,255,.35); }
.lp-btn-ghost:hover { background: rgba(255,255,255,.16); }
.lp-btn-teal { background: var(--teal); color: #fff; }
.lp-btn-teal:hover { background: var(--teal-dark); }
.lp-btn-amber { background: var(--amber-btn); color: var(--ink); border-radius: 999px; }
.lp-btn-amber:hover { background: #eab14f; }
.lp-btn-outline { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.lp-btn-outline:hover { border-color: var(--teal); color: var(--teal); }

/* Homepage Warehouse Carousels */
.lp-section { padding: 42px 0; }
.lp-center-head { text-align: center; margin-bottom: 32px; }
.lp-center-head h2 { margin: 0; font-size: 36px; }
.lp-center-head p { margin: 8px 0 0; color: var(--muted); font-size: 15px; }
.lp-carousel-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 14px; }
.lp-carousel-track { display: flex; gap: 18px; overflow-x: auto; padding-bottom: 14px; }
.lp-hot-card {
  width: 245px; flex: 0 0 245px; background: #fff; border: 1px solid #e3eaf0; border-radius: 16px;
  padding: 14px; text-align: center; transition: .15s;
}
.lp-hot-card:hover { border-color: rgba(8,122,115,.55); box-shadow: 0 10px 26px rgba(17,45,56,.08); }
.lp-sq-img { aspect-ratio: 1/1; border-radius: 12px; overflow: hidden; background: #f4f7fa; }
.lp-sq-img img { width: 100%; height: 100%; object-fit: cover; }

/* Supply Model & Assurance Grids */
.lp-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.lp-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.lp-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.lp-grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.lp-supply-card {
  background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--ink);
  border-radius: 16px; padding: 24px;
}
.lp-num-dot {
  width: 28px; height: 28px; border-radius: 999px; background: var(--ink); color: #fff;
  display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800;
}

/* Catalog 4-Zone Horizontal Product Cards (Exact lppeptide.com match) */
.lp-cat-banner {
  background: linear-gradient(90deg, #eaf7f6 0%, #f2f8fb 50%, #ebf3fa 100%);
  border-bottom: 1px solid #e2edf2; padding: 38px 0;
}
.lp-cat-layout { display: grid; grid-template-columns: 240px 1fr; gap: 24px; align-items: start; margin-top: 24px; }
.lp-filter-box { background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 20px; }
.lp-hcard {
  display: grid; grid-template-columns: 6fr 2.2fr 2fr 1.5fr;
  background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; overflow: hidden; margin-bottom: 14px;
}
.lp-hcard-z1 { display: flex; align-items: center; gap: 18px; padding: 18px; }
.lp-hcard-thumb { width: 136px; flex: 0 0 136px; }
.lp-hcard-z2, .lp-hcard-z3, .lp-hcard-z4 {
  border-left: 1px solid #e8eef3; padding: 16px; display: flex; flex-direction: column; justify-content: center;
}
.lp-hcard-z2 { align-items: center; gap: 10px; }
.lp-hcard-z4 { background: var(--cream); align-items: center; font-size: 22px; font-weight: 900; color: var(--price-rust); }
.lp-sku-box { width: 100%; border: 1px solid #d7e5ec; border-radius: 8px; padding: 6px; text-align: center; font-weight: 800; font-size: 13px; }
.lp-mini-btn-row { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; width: 100%; }
.lp-mini-btn {
  border: 1px solid rgba(8,122,115,.45); background: #fff; color: var(--teal);
  border-radius: 8px; padding: 8px 6px; font-size: 11.5px; font-weight: 700; cursor: pointer;
}
.lp-mini-btn:hover { background: var(--teal); color: #fff; }
.lp-tag { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; margin: 2px 4px 2px 0; }
.lp-tag-best { background: #fef3e2; color: #b45309; }
.lp-tag-coa { background: #dcfce7; color: #047857; }
.lp-tag-blue { background: #e0f2fe; color: #0369a1; }
.lp-tag-purple { background: #f3e8ff; color: #6b21a8; }

/* Warehouse 5-Column Cards */
.lp-wh-card {
  background: #fff; border: 1px solid #e3eaf0; border-radius: 12px; padding: 14px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.lp-wh-price { color: var(--teal); font-size: 17px; font-weight: 800; margin: 8px 0 12px; }
.lp-wh-add {
  width: 100%; border: 1px solid rgba(8,122,115,.3); background: var(--teal-soft); color: var(--teal);
  border-radius: 8px; padding: 9px; font-size: 12.5px; font-weight: 700; cursor: pointer;
}
.lp-wh-add:hover { background: var(--teal); color: #fff; }
.lp-wh-add:disabled { background: #eef2f5; color: #64748b; border-color: transparent; cursor: not-allowed; }

/* COA Document Cards with Top-Left Sample Photo Overlay */
.lp-coa-strip {
  display: grid; grid-template-columns: repeat(3, 1fr); background: #fff;
  border: 1px solid #e2e8f0; border-radius: 4px;
}
.lp-coa-strip > div { padding: 18px 20px; border-right: 1px solid #e2e8f0; }
.lp-coa-strip > div:last-child { border-right: 0; }
.lp-coa-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 4px; overflow: hidden; }
.lp-coa-frame { background: #f8fafc; padding: 12px; border-bottom: 1px solid #edf2f7; cursor: pointer; }
.lp-coa-doc { position: relative; width: 100%; aspect-ratio: 3/3.35; overflow: hidden; background: #fff; border: 1px solid #edf2f7; }
.lp-coa-doc > img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.lp-coa-sample {
  position: absolute; left: 12%; top: 11.2%; width: 27%; aspect-ratio: 4/2.6;
  border: 1px solid #cbd5e1; border-radius: 2px; overflow: hidden; background: #fff;
}
.lp-coa-sample img { width: 100%; height: 100%; object-fit: cover; }

/* Cart & PDP Layouts */
.lp-two-col { display: grid; grid-template-columns: 8fr 4fr; gap: 26px; align-items: start; }
.lp-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 24px; }
.lp-sticky { position: sticky; top: 82px; }
.lp-input {
  width: 100%; border: 1px solid var(--line); background: #f8fafc; border-radius: 10px;
  padding: 10px 13px; font-size: 13.5px; color: var(--ink); outline: none;
}
.lp-input:focus { border-color: var(--teal); background: #fff; }

/* Modals */
.lp-modal-bg {
  position: fixed; inset: 0; z-index: 9500; background: rgba(7,17,31,.72);
  display: none; align-items: center; justify-content: center; padding: 20px;
}
.lp-modal-bg.open { display: flex; }
.lp-modal {
  background: #fff; border-radius: 18px; width: 100%; max-width: 720px; max-height: 90vh;
  overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 24px 60px rgba(0,0,0,.35);
}

/* Footer */
.lp-footer { margin-top: 64px; background: #fff; border-top: 1px solid var(--line); }
.lp-footer-grid { display: grid; grid-template-columns: 6fr 3fr 3fr; gap: 36px; padding: 48px 0; }
.lp-footer ul { list-style: none; padding: 0; margin: 14px 0 0; }
.lp-footer li { margin-bottom: 10px; font-size: 14px; color: var(--muted); }
.lp-footer li a:hover { color: var(--teal); }

@media (max-width: 1080px) {
  .lp-nav { display: none; }
  .lp-hero-grid, .lp-two-col, .lp-cat-layout, .lp-hcard, .lp-footer-grid { grid-template-columns: 1fr; }
  .lp-grid-5 { grid-template-columns: repeat(2, 1fr); }
  .lp-grid-4, .lp-grid-3, .lp-grid-2, .lp-coa-strip { grid-template-columns: 1fr; }
}
