:root {
  --cb-white: #ffffff;
  --cb-cream: #f9f6f0;
  --cb-cream-2: #fffaf1;
  --cb-brown: #260e01;
  --cb-muted: rgba(38, 14, 1, 0.68);
  --cb-blue: #3a9bdc;
  --cb-blue-dark: #2f8ccd;
  --cb-blue-soft: #d7e5ff;
  --cb-gold-soft: #fae6be;
  --cb-pink-soft: #ffe8f8;
  --cb-green-soft: #dff0c5;
  --cb-border: rgba(58, 155, 220, 0.38);
  --cb-soft-border: rgba(38, 14, 1, 0.12);
  --cb-danger: #bf2020;
  --cb-danger-soft: #fff0f0;
  --cb-warn: #92400e;
  --cb-warn-soft: #fef3c7;
  --shadow-soft: 0 24px 70px rgba(38, 14, 1, 0.08);
  --shadow-card: 0 16px 38px rgba(38, 14, 1, 0.07);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cb-white);
  color: var(--cb-brown);
  font-family: inherit;
}

body,
button,
input,
textarea,
select {
  font-family: inherit;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

header {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 12px 20px 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  color: var(--cb-brown);
}

header .inner {
  width: min(100%, 1200px);
  min-height: 68px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 13px 18px 13px 24px;
  border: 1px solid var(--cb-border);
  border-radius: 999px;
  background: var(--cb-white);
  box-shadow: 0 12px 36px rgba(58, 155, 220, 0.08);
}

header h1 {
  margin: 0;
  font-size: clamp(22px, 3vw, 34px);
  letter-spacing: -0.045em;
  font-weight: 500;
  color: var(--cb-brown);
}

header p {
  margin: 4px 0 0;
  color: var(--cb-muted);
  font-size: 14px;
}

.nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav a {
  text-decoration: none;
  color: rgba(38, 14, 1, 0.78);
  font-weight: 700;
  font-size: 14px;
  padding: 11px 16px;
  border-radius: 999px;
  transition: 180ms ease;
}

.nav a:hover {
  background: rgba(58, 155, 220, 0.08);
  color: var(--cb-blue);
}

main {
  width: min(100%, 1200px);
  margin: 0 auto;
  padding: 48px 20px 72px;
}

main::before {
  content: "";
  display: block;
  height: 190px;
  margin: -24px 0 34px;
  border-radius: 36px;
  background:
    radial-gradient(circle at 18% 30%, rgba(255, 232, 248, 0.95), transparent 30%),
    radial-gradient(circle at 78% 22%, rgba(215, 229, 255, 0.95), transparent 28%),
    linear-gradient(135deg, #fffaf1 0%, #ffffff 55%, #f3f9ff 100%);
  box-shadow: var(--shadow-soft);
}

.grid-two {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 370px;
  gap: 28px;
  align-items: start;
}

.panel,
.card {
  background: var(--cb-white);
  border: 1px solid var(--cb-soft-border);
  border-radius: 28px;
  box-shadow: var(--shadow-card);
}

.panel {
  padding: 26px;
  margin-bottom: 24px;
}

.panel h2 {
  margin: 0 0 18px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.055em;
  font-weight: 500;
}

.toolbar,
.tabs {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: end;
  margin: 14px 0;
}

.form-grid {
  display: grid;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.field {
  display: grid;
  gap: 8px;
}

.field label {
  color: var(--cb-brown);
  font-size: 15px;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  min-height: 52px;
  padding: 14px 16px;
  border: 1px solid rgba(38, 14, 1, 0.16);
  border-radius: 18px;
  background: var(--cb-white);
  color: var(--cb-brown);
  font-size: 15px;
  outline: none;
  transition: border 180ms ease, box-shadow 180ms ease;
}

textarea {
  min-height: 96px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--cb-blue);
  box-shadow: 0 0 0 4px rgba(58, 155, 220, 0.12);
}

button {
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  background: var(--cb-blue);
  color: var(--cb-white);
  padding: 13px 20px;
  cursor: pointer;
  font-weight: 800;
  font-size: 14px;
  box-shadow: 0 10px 22px rgba(58, 155, 220, 0.18);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

button:hover {
  transform: translateY(-1px);
  background: var(--cb-blue-dark);
  box-shadow: 0 16px 30px rgba(58, 155, 220, 0.23);
}

button.secondary {
  background: transparent;
  color: var(--cb-blue);
  border: 1px solid rgba(58, 155, 220, 0.55);
  box-shadow: none;
}

button.secondary:hover {
  background: rgba(58, 155, 220, 0.07);
}

button.danger {
  background: var(--cb-danger-soft);
  color: var(--cb-danger);
  box-shadow: none;
}

button.warning {
  background: var(--cb-warn-soft);
  color: var(--cb-warn);
  box-shadow: none;
}

button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.notice {
  display: none;
  padding: 14px 16px;
  border-radius: 18px;
  margin: 14px 0;
  background: var(--cb-blue-soft);
  color: var(--cb-brown);
  white-space: pre-wrap;
  border: 1px solid rgba(58, 155, 220, 0.25);
}

.notice.error {
  background: var(--cb-danger-soft);
  color: var(--cb-danger);
}

.notice.warn {
  background: var(--cb-warn-soft);
  color: var(--cb-warn);
}

.products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
  gap: 24px;
}

.card {
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.card img {
  width: 100%;
  height: 235px;
  object-fit: cover;
  background:
    radial-gradient(circle at 20% 20%, var(--cb-pink-soft), transparent 35%),
    radial-gradient(circle at 80% 30%, var(--cb-blue-soft), transparent 35%),
    var(--cb-cream);
}

.card .body {
  padding: 22px;
  display: grid;
  gap: 10px;
}

.card h3 {
  margin: 0;
  font-size: 24px;
  line-height: 1.12;
  letter-spacing: -0.04em;
  font-weight: 650;
}

.price {
  color: var(--cb-brown);
  font-size: 24px;
  font-weight: 900;
  margin: 6px 0;
}

.muted {
  color: var(--cb-muted);
  font-size: 14px;
  line-height: 1.45;
}

.side {
  position: sticky;
  top: 104px;
  align-self: start;
}

.cart-item {
  border-bottom: 1px solid rgba(38, 14, 1, 0.12);
  padding: 14px 0;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.cart-item:last-child {
  border-bottom: 0;
}

.total {
  font-size: 22px;
  font-weight: 900;
  margin-top: 14px;
  color: var(--cb-brown);
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 18px;
  margin-bottom: 24px;
}

.metric {
  min-height: 132px;
}

.metric span {
  color: var(--cb-muted);
  font-weight: 700;
}

.metric strong {
  display: block;
  font-size: 36px;
  color: var(--cb-blue);
  margin-top: 10px;
  letter-spacing: -0.04em;
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  min-width: 820px;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  background: var(--cb-white);
  border: 1px solid var(--cb-soft-border);
  border-radius: 22px;
}

th,
td {
  text-align: left;
  padding: 15px;
  border-bottom: 1px solid rgba(38, 14, 1, 0.09);
  vertical-align: top;
  font-size: 14px;
}

tr:last-child td {
  border-bottom: 0;
}

th {
  background: var(--cb-cream);
  color: var(--cb-brown);
  font-weight: 900;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--cb-blue-soft);
  color: var(--cb-blue-dark);
  font-size: 12px;
  font-weight: 900;
  text-transform: capitalize;
}

.pill.pending {
  background: var(--cb-warn-soft);
  color: var(--cb-warn);
}

.pill.approved,
.pill.confirmed,
.pill.fulfilled {
  background: var(--cb-green-soft);
  color: #3f6f11;
}

.pill.rejected,
.pill.archived,
.pill.cancelled {
  background: var(--cb-danger-soft);
  color: var(--cb-danger);
}

@media (max-width: 900px) {
  header {
    padding: 10px 12px 0;
  }

  header .inner {
    grid-template-columns: 1fr;
    border-radius: 30px;
  }

  .nav {
    justify-content: flex-start;
  }

  main {
    padding-top: 28px;
  }

  main::before {
    height: 130px;
    margin-bottom: 24px;
  }

  .grid-two,
  .form-row {
    grid-template-columns: 1fr;
  }

  .side {
    position: static;
  }
}

@media (max-width: 640px) {
  main {
    padding-left: 14px;
    padding-right: 14px;
  }

  .panel {
    padding: 20px;
    border-radius: 24px;
  }

  .products {
    grid-template-columns: 1fr;
  }

  .card img {
    height: 210px;
  }

  button {
    width: 100%;
  }

  .tabs button,
  .toolbar button {
    width: auto;
  }
}

/* CloudBaby refinement overrides */
main::before {
  display: none !important;
}

main {
  padding-top: 28px !important;
}

header {
  position: static !important;
}

header .inner {
  border-radius: 38px !important;
  grid-template-columns: 1fr auto !important;
  align-items: center !important;
  padding: 18px 26px !important;
}

header h1 {
  display: flex !important;
  align-items: center !important;
  gap: 18px !important;
}

header h1::before {
  content: "";
  display: inline-block;
  width: 190px;
  height: 50px;
  background: url("/static/assets/cloudbaby-logo.svg") center / contain no-repeat;
  flex: 0 0 auto;
}

.nav {
  grid-column: 1 / -1;
  justify-content: center;
}

.products .card.no-image {
  padding-top: 0;
}

.card.no-image .body {
  padding-top: 26px;
}

.card.no-image::before {
  content: "Product details";
  display: block;
  margin: 18px 18px 0;
  padding: 12px 14px;
  border-radius: 18px;
  background: #fffaf1;
  color: rgba(38, 14, 1, 0.68);
  font-weight: 800;
  font-size: 13px;
}

.file-hint {
  color: rgba(38, 14, 1, 0.62);
  font-size: 13px;
  margin-top: -4px;
}

@media (max-width: 900px) {
  header .inner {
    grid-template-columns: 1fr !important;
  }

  header h1 {
    flex-direction: column;
    align-items: flex-start !important;
  }

  header h1::before {
    width: 170px;
  }
}

/* Premium CloudBaby Marketplace Landing */
.cb-header {
  position: static !important;
  padding: 22px 28px 0 !important;
  background: #ffffff !important;
}

.cb-nav {
  width: min(100%, 1280px);
  margin: 0 auto;
  min-height: 104px;
  padding: 14px 20px 14px 30px;
  border: 2px solid rgba(58, 155, 220, 0.45);
  border-radius: 999px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  box-shadow: 0 24px 70px rgba(38, 14, 1, 0.06);
  background: #ffffff;
}

.cb-logo img {
  width: 240px;
  height: auto;
}

.cb-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
}

.cb-menu a {
  color: rgba(38, 14, 1, 0.78);
  text-decoration: none;
  font-size: 18px;
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.cb-menu a.active {
  color: #260e01;
}

.cb-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.cart-pill {
  min-width: 86px;
  min-height: 54px;
  padding: 12px 20px;
  border-radius: 999px;
  background: #3a9bdc;
  color: white;
  display: inline-flex;
  justify-content: center;
  gap: 10px;
  align-items: center;
  font-size: 18px;
}

.get-started {
  min-width: 148px;
  min-height: 68px;
  padding: 16px 26px;
  border-radius: 999px;
  background: #3a9bdc;
  color: white;
  text-decoration: none;
  font-size: 18px;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 16px 35px rgba(58, 155, 220, 0.22);
}

.cb-main {
  width: min(100%, 1280px);
  padding: 92px 28px 80px;
}

.cb-main::before {
  display: none !important;
}

.cb-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.9fr);
  gap: 56px;
  align-items: end;
  margin-bottom: 54px;
}

.eyebrow {
  color: #7a3515;
  font-weight: 900;
  font-size: 18px;
  margin: 0 0 18px;
}

.hero-copy h1 {
  margin: 0;
  max-width: 860px;
  font-size: clamp(46px, 5vw, 76px);
  line-height: 1.05;
  letter-spacing: -0.065em;
  font-weight: 500;
  color: #260e01;
}

.hero-text {
  max-width: 820px;
  margin: 26px 0 0;
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.65;
  color: rgba(38, 14, 1, 0.76);
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.secondary-link {
  min-height: 50px;
  padding: 14px 22px;
  border-radius: 999px;
  border: 1px solid rgba(58, 155, 220, 0.5);
  color: #3a9bdc;
  text-decoration: none;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
}

.hero-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.hero-tile {
  min-height: 190px;
  border-radius: 32px;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 55px rgba(38, 14, 1, 0.08);
}

.hero-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(38,14,1,.45), transparent 58%);
}

.hero-tile span {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 2;
  color: white;
  font-weight: 900;
  font-size: 17px;
}

.tile-one {
  background-image:
    linear-gradient(135deg, rgba(255,255,255,.2), rgba(255,255,255,.05)),
    url("https://images.unsplash.com/photo-1586015555751-63bb77f4322a?auto=format&fit=crop&w=900&q=80");
}

.tile-two {
  background-image:
    linear-gradient(135deg, rgba(255,255,255,.2), rgba(255,255,255,.05)),
    url("https://images.unsplash.com/photo-1515488042361-ee00e0ddd4e4?auto=format&fit=crop&w=900&q=80");
  transform: translateY(48px);
}

.tile-three {
  grid-column: 1 / -1;
  min-height: 210px;
  background-image:
    linear-gradient(135deg, rgba(255,255,255,.2), rgba(255,255,255,.05)),
    url("https://images.unsplash.com/photo-1546015720-b8b30df5aa27?auto=format&fit=crop&w=1100&q=80");
}

.shop-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 370px;
  gap: 28px;
  align-items: start;
}

.shop-toolbar {
  background: #fff;
  border: 1px solid rgba(38, 14, 1, 0.12);
  border-radius: 34px;
  padding: 28px;
  margin-bottom: 28px;
  box-shadow: 0 20px 55px rgba(38,14,1,.06);
}

.shop-toolbar h2 {
  margin: 0 0 18px;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1;
  letter-spacing: -0.055em;
  font-weight: 500;
}

.filters {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 190px auto auto;
  gap: 12px;
}

.premium-products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(285px, 1fr));
  gap: 24px;
}

.premium-card {
  overflow: hidden;
  background: white;
  border: 1px solid rgba(38, 14, 1, 0.11);
  border-radius: 32px;
  box-shadow: 0 18px 45px rgba(38,14,1,.07);
  transition: transform .18s ease, box-shadow .18s ease;
}

.premium-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 65px rgba(38,14,1,.11);
}

.premium-card img {
  width: 100%;
  height: 245px;
  object-fit: cover;
}

.premium-card.no-image {
  background:
    radial-gradient(circle at 20% 18%, #ffe8f8, transparent 34%),
    radial-gradient(circle at 80% 14%, #d7e5ff, transparent 34%),
    #fffaf1;
}

.premium-card.no-image::before {
  content: "CloudBaby Approved";
  display: inline-block;
  margin: 22px 22px 0;
  padding: 8px 12px;
  border-radius: 999px;
  background: white;
  color: rgba(38,14,1,.7);
  font-size: 12px;
  font-weight: 900;
}

.premium-body {
  padding: 22px;
}

.product-topline {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.product-topline span {
  font-size: 12px;
  font-weight: 900;
  color: rgba(38,14,1,.58);
  text-transform: capitalize;
}

.premium-body h3 {
  margin: 0 0 10px;
  font-size: 26px;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: #260e01;
}

.premium-body p {
  min-height: 46px;
  margin: 0 0 12px;
  color: rgba(38,14,1,.68);
  line-height: 1.45;
}

.vendor-line {
  color: rgba(38,14,1,.58);
  font-size: 14px;
  margin-bottom: 18px;
}

.product-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.product-bottom strong {
  font-size: 23px;
  color: #260e01;
}

.product-bottom button {
  min-width: 80px;
}

.checkout-panel {
  position: sticky;
  top: 24px;
  align-self: start;
}

.whatsapp-float {
  position: fixed;
  right: 34px;
  bottom: 34px;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #25d366;
  color: white;
  text-decoration: none;
  display: grid;
  place-items: center;
  font-size: 42px;
  font-weight: 900;
  box-shadow: 0 18px 40px rgba(37,211,102,.34);
  z-index: 30;
}

.empty-state {
  border-radius: 34px;
  padding: 34px;
  background: #fffaf1;
  border: 1px solid rgba(38,14,1,.1);
}

.empty-state h3 {
  margin: 0 0 8px;
  font-size: 30px;
}

.empty-state p {
  margin: 0;
  color: rgba(38,14,1,.68);
}

.small-btn {
  min-width: 38px;
  min-height: 38px;
  padding: 6px 10px;
}

@media (max-width: 1100px) {
  .cb-nav {
    grid-template-columns: 1fr;
    border-radius: 34px;
  }

  .cb-logo img {
    width: 210px;
  }

  .cb-menu,
  .cb-actions {
    justify-content: center;
    flex-wrap: wrap;
  }

  .cb-hero,
  .shop-layout {
    grid-template-columns: 1fr;
  }

  .hero-gallery {
    order: -1;
  }

  .checkout-panel {
    position: static;
  }

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

@media (max-width: 700px) {
  .cb-header {
    padding: 12px;
  }

  .cb-nav {
    padding: 18px;
  }

  .cb-menu {
    gap: 14px;
  }

  .cb-menu a {
    font-size: 15px;
  }

  .get-started {
    min-height: 52px;
  }

  .cb-main {
    padding: 42px 14px 70px;
  }

  .hero-gallery {
    grid-template-columns: 1fr;
  }

  .tile-two {
    transform: none;
  }

  .tile-three {
    grid-column: auto;
  }

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

  .whatsapp-float {
    width: 60px;
    height: 60px;
    font-size: 34px;
    right: 18px;
    bottom: 18px;
  }
}

/* ===== Clean Marketplace Header ===== */
.clean-header {
  background: #ffffff;
  padding: 10px 18px 0;
}

.clean-nav {
  max-width: 1280px;
  margin: 0 auto;
  min-height: 104px;
  border: 2px solid rgba(58, 155, 220, 0.45);
  border-radius: 999px;
  padding: 14px 24px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  background: #fff;
}

.clean-logo img {
  width: 260px;
  max-width: 100%;
  height: auto;
  display: block;
}

.clean-menu {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
}

.clean-menu a {
  text-decoration: none;
  color: rgba(38,14,1,.82);
  font-weight: 800;
  font-size: 18px;
}

.clean-menu a.active {
  color: #260e01;
}

.clean-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cart-pill {
  min-width: 86px;
  min-height: 54px;
  padding: 12px 18px;
  border-radius: 999px;
  background: #3a9bdc;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 18px;
}

/* ===== Main ===== */
.clean-main {
  width: min(100%, 1280px);
  margin: 0 auto;
  padding: 46px 20px 80px;
}

.clean-main::before {
  display: none !important;
}

.clean-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 520px;
  gap: 36px;
  align-items: center;
  margin-bottom: 40px;
}

.hero-kicker {
  margin: 0 0 14px;
  font-size: 18px;
  font-weight: 900;
  color: #8d4216;
}

.hero-left h1 {
  margin: 0;
  font-size: clamp(42px, 5vw, 74px);
  line-height: 1.02;
  letter-spacing: -0.06em;
  color: #260e01;
  font-weight: 500;
}

.hero-text {
  margin: 22px 0 0;
  max-width: 760px;
  color: rgba(38,14,1,.72);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.55;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.secondary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 14px 22px;
  border-radius: 999px;
  border: 1px solid rgba(58, 155, 220, 0.5);
  color: #3a9bdc;
  text-decoration: none;
  font-weight: 900;
}

.hero-right {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.hero-card {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: #f8f8f8;
  box-shadow: 0 18px 45px rgba(38,14,1,.06);
}

.hero-card.small {
  aspect-ratio: 1.1 / 0.82;
}

.hero-card.wide {
  grid-column: 1 / -1;
  aspect-ratio: 2.1 / 0.95;
}

.hero-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(38,14,1,.36), transparent 60%);
}

.hero-card span {
  position: absolute;
  left: 18px;
  bottom: 16px;
  z-index: 2;
  color: #fff;
  font-weight: 900;
  font-size: 16px;
}

/* ===== Shop ===== */
.shop-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  align-items: start;
}

.shop-toolbar {
  background: #fff;
  border: 1px solid rgba(38, 14, 1, 0.12);
  border-radius: 30px;
  padding: 24px;
  margin-bottom: 24px;
}

.shop-toolbar h2 {
  margin: 0 0 16px;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1;
  letter-spacing: -0.05em;
  font-weight: 500;
}

.filters {
  display: grid;
  grid-template-columns: minmax(200px,1fr) 180px auto auto;
  gap: 12px;
}

.premium-products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 22px;
}

.premium-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(38,14,1,.1);
  border-radius: 28px;
  box-shadow: 0 14px 34px rgba(38,14,1,.06);
}

.premium-card > img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.premium-card.no-image {
  background:
    radial-gradient(circle at 20% 18%, #ffe8f8, transparent 34%),
    radial-gradient(circle at 80% 14%, #d7e5ff, transparent 34%),
    #fffaf1;
}

.premium-card.no-image::before {
  content: "CloudBaby Approved";
  display: inline-block;
  margin: 20px 20px 0;
  padding: 8px 12px;
  border-radius: 999px;
  background: #fff;
  color: rgba(38,14,1,.68);
  font-size: 12px;
  font-weight: 900;
}

.premium-body {
  padding: 20px;
}

.product-topline {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.product-topline span {
  font-size: 12px;
  font-weight: 900;
  color: rgba(38,14,1,.58);
  text-transform: capitalize;
}

.premium-body h3 {
  margin: 0 0 10px;
  font-size: 24px;
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: #260e01;
}

.premium-body p {
  margin: 0 0 12px;
  min-height: 42px;
  color: rgba(38,14,1,.68);
  line-height: 1.45;
}

.vendor-line {
  color: rgba(38,14,1,.58);
  font-size: 14px;
  margin-bottom: 16px;
}

.product-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.product-bottom strong {
  font-size: 22px;
  color: #260e01;
}

.checkout-panel {
  position: sticky;
  top: 20px;
  align-self: start;
}

.whatsapp-float {
  position: fixed;
  right: 28px;
  bottom: 28px;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: #25d366;
  color: white;
  text-decoration: none;
  display: grid;
  place-items: center;
  font-size: 36px;
  box-shadow: 0 18px 40px rgba(37,211,102,.34);
  z-index: 30;
}

.empty-state {
  border-radius: 28px;
  padding: 28px;
  background: #fffaf1;
  border: 1px solid rgba(38,14,1,.1);
}

.empty-state h3 {
  margin: 0 0 8px;
  font-size: 28px;
}

.empty-state p {
  margin: 0;
  color: rgba(38,14,1,.68);
}

.small-btn {
  min-width: 38px;
  min-height: 38px;
  padding: 6px 10px;
}

@media (max-width: 1100px) {
  .clean-nav {
    grid-template-columns: 1fr;
    border-radius: 30px;
  }

  .clean-menu,
  .clean-actions {
    justify-content: center;
  }

  .clean-hero,
  .shop-layout {
    grid-template-columns: 1fr;
  }

  .checkout-panel {
    position: static;
  }

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

@media (max-width: 720px) {
  .clean-header {
    padding: 10px 10px 0;
  }

  .clean-nav {
    padding: 16px;
  }

  .clean-logo img {
    width: 200px;
  }

  .clean-menu {
    gap: 14px;
    flex-wrap: wrap;
  }

  .clean-menu a {
    font-size: 16px;
  }

  .clean-main {
    padding: 30px 14px 70px;
  }

  .hero-right {
    grid-template-columns: 1fr;
  }

  .hero-card.wide {
    grid-column: auto;
    aspect-ratio: 1.5 / 1;
  }

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

  .whatsapp-float {
    width: 60px;
    height: 60px;
    font-size: 30px;
    right: 18px;
    bottom: 18px;
  }
}

/* ===== FINAL CLOUDBABY TWO-LINK NAVBAR OVERRIDE ===== */
.cb-header {
  position: static !important;
  background: #ffffff !important;
  padding: 18px 28px 0 !important;
  color: #260e01 !important;
}

.cb-nav {
  width: min(100%, 1320px) !important;
  margin: 0 auto !important;
  min-height: 104px !important;
  padding: 14px 22px 14px 34px !important;
  border: 2px solid rgba(58, 155, 220, 0.45) !important;
  border-radius: 999px !important;
  background: #ffffff !important;
  box-shadow: 0 24px 70px rgba(38, 14, 1, 0.06) !important;
  display: grid !important;
  grid-template-columns: auto 1fr auto !important;
  align-items: center !important;
  gap: 28px !important;
}

.cb-logo {
  display: flex !important;
  align-items: center !important;
  text-decoration: none !important;
}

.cb-logo img {
  width: 260px !important;
  height: auto !important;
  display: block !important;
}

.cb-menu {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 42px !important;
}

.cb-menu a {
  text-decoration: none !important;
  color: rgba(38, 14, 1, 0.78) !important;
  font-size: 21px !important;
  font-weight: 900 !important;
  letter-spacing: 0.01em !important;
  line-height: 1.05 !important;
}

.cb-menu a.active {
  color: #260e01 !important;
}

.cb-menu a:hover {
  color: #3a9bdc !important;
}

.cb-actions {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 14px !important;
}

.cart-pill {
  min-width: 92px !important;
  min-height: 58px !important;
  padding: 12px 22px !important;
  border-radius: 999px !important;
  background: #3a9bdc !important;
  color: #ffffff !important;
  display: inline-flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 12px !important;
  font-size: 20px !important;
  font-weight: 900 !important;
  border: none !important;
}

.get-started {
  min-width: 142px !important;
  min-height: 58px !important;
  padding: 14px 24px !important;
  border-radius: 999px !important;
  background: #3a9bdc !important;
  color: #ffffff !important;
  text-decoration: none !important;
  font-size: 17px !important;
  font-weight: 900 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* Remove older broken/clean header effects */
.clean-header,
.clean-nav,
.clean-logo,
.clean-menu,
.clean-actions {
  all: unset;
}

/* Reduce top spacing after navbar */
.cb-main,
.clean-main,
main {
  padding-top: 42px !important;
}

.cb-main::before,
.clean-main::before,
main::before {
  display: none !important;
}

/* Hero images: never squash */
.hero-card img,
.hero-tile,
.premium-card > img {
  object-fit: cover !important;
  object-position: center !important;
}

/* Mobile */
@media (max-width: 980px) {
  .cb-nav {
    border-radius: 34px !important;
    grid-template-columns: 1fr !important;
    justify-items: center !important;
    padding: 22px !important;
  }

  .cb-logo img {
    width: 230px !important;
  }

  .cb-menu {
    gap: 22px !important;
    flex-wrap: wrap !important;
  }

  .cb-actions {
    justify-content: center !important;
  }
}

@media (max-width: 600px) {
  .cb-header {
    padding: 10px 10px 0 !important;
  }

  .cb-logo img {
    width: 200px !important;
  }

  .cb-menu a {
    font-size: 17px !important;
  }

  .cart-pill,
  .get-started {
    min-height: 50px !important;
  }
}

/* ===== FINAL HERO IMAGE SIZE FIX ===== */
.clean-hero,
.cb-hero {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 430px !important;
  gap: 34px !important;
  align-items: center !important;
  margin-bottom: 44px !important;
}

.hero-right,
.hero-gallery {
  width: 100% !important;
  max-width: 430px !important;
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 14px !important;
  align-items: stretch !important;
}

.hero-card,
.hero-tile {
  position: relative !important;
  overflow: hidden !important;
  border-radius: 28px !important;
  width: 100% !important;
  min-height: 0 !important;
  max-height: none !important;
  box-shadow: 0 16px 38px rgba(38, 14, 1, 0.08) !important;
}

.hero-card.small,
.hero-tile:not(.tile-three) {
  height: 150px !important;
  aspect-ratio: auto !important;
}

.hero-card.wide,
.hero-tile.tile-three {
  grid-column: 1 / -1 !important;
  height: 170px !important;
  aspect-ratio: auto !important;
}

.hero-card img,
.hero-tile img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block !important;
}

.hero-card span,
.hero-tile span {
  position: absolute !important;
  left: 18px !important;
  bottom: 16px !important;
  z-index: 2 !important;
  color: #ffffff !important;
  font-size: 15px !important;
  font-weight: 900 !important;
}

.hero-card::after,
.hero-tile::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  background: linear-gradient(to top, rgba(38,14,1,.36), transparent 60%) !important;
}

/* Product images also stay controlled */
.premium-card > img {
  height: 220px !important;
  max-height: 220px !important;
  object-fit: cover !important;
  object-position: center !important;
}

/* Mobile: stack images but keep them short */
@media (max-width: 1100px) {
  .clean-hero,
  .cb-hero {
    grid-template-columns: 1fr !important;
  }

  .hero-right,
  .hero-gallery {
    max-width: 100% !important;
  }
}

@media (max-width: 700px) {
  .hero-right,
  .hero-gallery {
    grid-template-columns: 1fr !important;
  }

  .hero-card.small,
  .hero-card.wide,
  .hero-tile,
  .hero-tile.tile-three {
    height: 190px !important;
    grid-column: auto !important;
  }
}

/* CloudBaby final image and logo update */
img[src*="cloudbaby-logo"] {
  max-height: 64px !important;
  width: auto !important;
  object-fit: contain !important;
}

.hero img,
.hero-card img,
.category-card img,
.feature-card img,
.product-card img {
  width: 100% !important;
  object-fit: cover !important;
  border-radius: 24px !important;
}

.hero-card img,
.category-card img,
.feature-card img {
  max-height: 260px !important;
}

.product-card img {
  max-height: 220px !important;
}


/* =========================================================
   CLOUDBABY FINAL NAVBAR FIX
   Makes the header compact, sticky, and prevents giant logo
   ========================================================= */

header,
.site-header,
.navbar,
.nav-shell,
.topbar,
.main-nav {
  min-height: 88px !important;
  max-height: 100px !important;
  padding-top: 12px !important;
  padding-bottom: 12px !important;
  box-sizing: border-box !important;
}

header {
  position: sticky !important;
  top: 0 !important;
  z-index: 9999 !important;
  background: rgba(255, 255, 255, 0.96) !important;
  backdrop-filter: blur(12px) !important;
}

/* Keep logo beautiful but not oversized */
header img[src*="cloudbaby-logo"],
.site-header img[src*="cloudbaby-logo"],
.navbar img[src*="cloudbaby-logo"],
.nav-shell img[src*="cloudbaby-logo"],
.topbar img[src*="cloudbaby-logo"],
.main-nav img[src*="cloudbaby-logo"] {
  max-width: 300px !important;
  width: auto !important;
  max-height: 78px !important;
  height: auto !important;
  object-fit: contain !important;
  display: block !important;
}

/* Keep navigation aligned nicely */
header nav,
.site-header nav,
.navbar nav,
.nav-shell nav,
.topbar nav,
.main-nav nav {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 48px !important;
}

/* Reduce oversized cart button */
header button,
header .cart,
header .cart-pill,
header .cart-button,
.navbar button,
.nav-shell button,
.topbar button {
  max-height: 62px !important;
  min-height: 52px !important;
  padding: 12px 28px !important;
  border-radius: 34px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* Prevent large header from covering content */
body {
  scroll-padding-top: 110px !important;
}

/* Mobile/tablet navbar correction */
@media (max-width: 768px) {
  header,
  .site-header,
  .navbar,
  .nav-shell,
  .topbar,
  .main-nav {
    min-height: auto !important;
    max-height: none !important;
    padding: 10px 14px !important;
  }

  header img[src*="cloudbaby-logo"],
  .site-header img[src*="cloudbaby-logo"],
  .navbar img[src*="cloudbaby-logo"],
  .nav-shell img[src*="cloudbaby-logo"],
  .topbar img[src*="cloudbaby-logo"],
  .main-nav img[src*="cloudbaby-logo"] {
    max-width: 210px !important;
    max-height: 58px !important;
  }

  header nav,
  .site-header nav,
  .navbar nav,
  .nav-shell nav,
  .topbar nav,
  .main-nav nav {
    gap: 18px !important;
    flex-wrap: wrap !important;
  }

  header button,
  header .cart,
  header .cart-pill,
  header .cart-button {
    max-height: 52px !important;
    min-height: 44px !important;
    padding: 10px 20px !important;
  }
}

EOFcd /var/www/cloudbaby
source venv/bin/activate

cp /var/www/cloudbaby/static/assets/nestvoucher.css /var/www/cloudbaby/static/assets/nestvoucher.css.bak.$(date +%F_%H%M%S)

cat >> /var/www/cloudbaby/static/assets/nestvoucher.css <<'EOF'

/* =========================================================
   CLOUDBABY FINAL NAVBAR FIX
   Makes the header compact, sticky, and prevents giant logo
   ========================================================= */

header,
.site-header,
.navbar,
.nav-shell,
.topbar,
.main-nav {
  min-height: 88px !important;
  max-height: 100px !important;
  padding-top: 12px !important;
  padding-bottom: 12px !important;
  box-sizing: border-box !important;
}

header {
  position: sticky !important;
  top: 0 !important;
  z-index: 9999 !important;
  background: rgba(255, 255, 255, 0.96) !important;
  backdrop-filter: blur(12px) !important;
}

/* Keep logo beautiful but not oversized */
header img[src*="cloudbaby-logo"],
.site-header img[src*="cloudbaby-logo"],
.navbar img[src*="cloudbaby-logo"],
.nav-shell img[src*="cloudbaby-logo"],
.topbar img[src*="cloudbaby-logo"],
.main-nav img[src*="cloudbaby-logo"] {
  max-width: 300px !important;
  width: auto !important;
  max-height: 78px !important;
  height: auto !important;
  object-fit: contain !important;
  display: block !important;
}

/* Keep navigation aligned nicely */
header nav,
.site-header nav,
.navbar nav,
.nav-shell nav,
.topbar nav,
.main-nav nav {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 48px !important;
}

/* Reduce oversized cart button */
header button,
header .cart,
header .cart-pill,
header .cart-button,
.navbar button,
.nav-shell button,
.topbar button {
  max-height: 62px !important;
  min-height: 52px !important;
  padding: 12px 28px !important;
  border-radius: 34px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* Prevent large header from covering content */
body {
  scroll-padding-top: 110px !important;
}

/* Mobile/tablet navbar correction */
@media (max-width: 768px) {
  header,
  .site-header,
  .navbar,
  .nav-shell,
  .topbar,
  .main-nav {
    min-height: auto !important;
    max-height: none !important;
    padding: 10px 14px !important;
  }

  header img[src*="cloudbaby-logo"],
  .site-header img[src*="cloudbaby-logo"],
  .navbar img[src*="cloudbaby-logo"],
  .nav-shell img[src*="cloudbaby-logo"],
  .topbar img[src*="cloudbaby-logo"],
  .main-nav img[src*="cloudbaby-logo"] {
    max-width: 210px !important;
    max-height: 58px !important;
  }

  header nav,
  .site-header nav,
  .navbar nav,
  .nav-shell nav,
  .topbar nav,
  .main-nav nav {
    gap: 18px !important;
    flex-wrap: wrap !important;
  }

  header button,
  header .cart,
  header .cart-pill,
  header .cart-button {
    max-height: 52px !important;
    min-height: 44px !important;
    padding: 10px 20px !important;
  }
}


/* =========================================================
   CLOUDBABY FINAL NAVBAR FIX
   Makes the header compact, sticky, and prevents giant logo
   ========================================================= */

header,
.site-header,
.navbar,
.nav-shell,
.topbar,
.main-nav {
  min-height: 88px !important;
  max-height: 100px !important;
  padding-top: 12px !important;
  padding-bottom: 12px !important;
  box-sizing: border-box !important;
}

header {
  position: sticky !important;
  top: 0 !important;
  z-index: 9999 !important;
  background: rgba(255, 255, 255, 0.96) !important;
  backdrop-filter: blur(12px) !important;
}

/* Keep logo beautiful but not oversized */
header img[src*="cloudbaby-logo"],
.site-header img[src*="cloudbaby-logo"],
.navbar img[src*="cloudbaby-logo"],
.nav-shell img[src*="cloudbaby-logo"],
.topbar img[src*="cloudbaby-logo"],
.main-nav img[src*="cloudbaby-logo"] {
  max-width: 300px !important;
  width: auto !important;
  max-height: 78px !important;
  height: auto !important;
  object-fit: contain !important;
  display: block !important;
}

/* Keep navigation aligned nicely */
header nav,
.site-header nav,
.navbar nav,
.nav-shell nav,
.topbar nav,
.main-nav nav {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 48px !important;
}

/* Reduce oversized cart button */
header button,
header .cart,
header .cart-pill,
header .cart-button,
.navbar button,
.nav-shell button,
.topbar button {
  max-height: 62px !important;
  min-height: 52px !important;
  padding: 12px 28px !important;
  border-radius: 34px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* Prevent large header from covering content */
body {
  scroll-padding-top: 110px !important;
}

/* Mobile/tablet navbar correction */
@media (max-width: 768px) {
  header,
  .site-header,
  .navbar,
  .nav-shell,
  .topbar,
  .main-nav {
    min-height: auto !important;
    max-height: none !important;
    padding: 10px 14px !important;
  }

  header img[src*="cloudbaby-logo"],
  .site-header img[src*="cloudbaby-logo"],
  .navbar img[src*="cloudbaby-logo"],
  .nav-shell img[src*="cloudbaby-logo"],
  .topbar img[src*="cloudbaby-logo"],
  .main-nav img[src*="cloudbaby-logo"] {
    max-width: 210px !important;
    max-height: 58px !important;
  }

  header nav,
  .site-header nav,
  .navbar nav,
  .nav-shell nav,
  .topbar nav,
  .main-nav nav {
    gap: 18px !important;
    flex-wrap: wrap !important;
  }

  header button,
  header .cart,
  header .cart-pill,
  header .cart-button {
    max-height: 52px !important;
    min-height: 44px !important;
    padding: 10px 20px !important;
  }
}

