:root{
    /* Light base */
    --bg:#f7f7f8;
    --panel:#ffffff;
    --text:#0b0b0c;
    --muted:#6b6b73;
    --line:rgba(0,0,0,.10);

    /* Logo-inspired accents (unchanged) */
    --c1:#00c4f4;
    --c2:#ff4fd8;
    --c3:#f5c76a;
  }

  html, body { 
    background: var(--bg); 
    color: var(--text); 
  }

  .glomo-wrap { 
    min-height: 100vh; 
    display:flex; 
    align-items:center; 
  }

  .glomo-card{
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: 0 20px 60px rgba(0,0,0,.08);
    overflow: hidden;
  }

  .glomo-card__top{
    padding: 22px 22px 14px;
    border-bottom: 1px solid var(--line);
    background:
      radial-gradient(1200px 200px at 10% 0%, rgba(0,196,244,.10), transparent 60%),
      radial-gradient(1200px 200px at 60% 0%, rgba(255,79,216,.10), transparent 55%),
      radial-gradient(1200px 240px at 95% 0%, rgba(245,199,106,.12), transparent 55%),
      #ffffff;
  }

  .brand-row { 
    display:flex; 
    align-items:center; 
    gap:12px; 
  }

  .brand-mark{
    width: 40px; 
    height: 40px; 
    border-radius: 12px;
    border: 1px solid var(--line);
    background: linear-gradient(
      135deg, 
      rgba(0,196,244,.18), 
      rgba(255,79,216,.16), 
      rgba(245,199,106,.18)
    );
    display:grid; 
    place-items:center;
    overflow:hidden;
  }

  .brand-mark img{
    width:100%; 
    height:100%; 
    object-fit:cover; 
    display:block;
  }

  .glomo-card__body{ 
    padding: 20px 22px 22px; 
  }

  .help, 
  .subtitle, 
  .label{ 
    color: var(--muted) !important; 
  }

  /* Inputs */
  .input, 
  .textarea, 
  .select select{
    background: #ffffff !important;
    border-color: rgba(0,0,0,.14) !important;
    color: var(--text) !important;
    border-radius: 12px;
  }

  .input::placeholder, 
  .textarea::placeholder { 
    color: rgba(0,0,0,.35); 
  }

  .input:focus, 
  .textarea:focus, 
  .select select:focus{
    box-shadow: 0 0 0 3px rgba(0,196,244,.20) !important;
    border-color: rgba(0,196,244,.55) !important;
  }

  /* Buttons */
  .btn-gradient{
    border: 0;
    color: #0b0b0c !important;
    background: linear-gradient(90deg, var(--c1), var(--c2), var(--c3));
    border-radius: 14px;
    font-weight: 800;
    letter-spacing: .2px;
  }

  .btn-ghost{
    background: rgba(0,0,0,.04);
    border: 1px solid rgba(0,0,0,.14);
    color: var(--text) !important;
    border-radius: 14px;
    font-weight: 700;
  }

  .btn-danger-ghost{
    background: rgba(255,79,216,.08);
    border: 1px solid rgba(255,79,216,.35);
    color: var(--text) !important;
    border-radius: 12px;
    font-weight: 700;
  }

  /* Product rows */
  .product-block{
    border: 1px solid var(--line);
    background: #ffffff;
    border-radius: 16px;
    padding: 14px;
  }

  .product-block__head{
    display:flex; 
    justify-content:space-between; 
    align-items:center;
    margin-bottom: 10px;
  }

  .tag.is-dark{
    background: rgba(0,0,0,.06) !important;
    border: 1px solid rgba(0,0,0,.10);
    color: var(--text) !important;
  }

  .thumb{
    width: 56px; 
    height: 56px;
    border-radius: 14px;
    border: 1px solid rgba(0,0,0,.14);
    background: rgba(0,0,0,.03);
    overflow:hidden;
    display:grid; 
    place-items:center;
    font-size: 12px;
    color: rgba(0,0,0,.45);
  }

  .thumb img{ 
    width:100%; 
    height:100%; 
    object-fit:cover; 
    display:block; 
  }

  .fineprint{
    font-size: 12px;
    color: rgba(0,0,0,.55);
  }

  /* -------------------------------------------
   Mobile-first immersive layout adjustments
   (Add this at the END of your current CSS)
-------------------------------------------- */

/* Default container behavior stays, but we'll control width responsively */
.glomo-wrap .container {
  max-width: 100%;
}

/* MOBILE: immersive (edge-to-edge) */
@media (max-width: 599px) {
  /* Make the section feel immersive */
  .glomo-wrap {
    align-items: stretch; /* instead of vertical centering */
  }

  .section.glomo-wrap {
    padding: 0 !important; /* remove Bulma default spacing */
  }

  .glomo-wrap .container {
    padding: 0 !important;
    margin: 0 !important;
    max-width: 100% !important;
  }

  .glomo-card {
    border-radius: 0;          /* edge-to-edge */
    border-left: 0;
    border-right: 0;
    box-shadow: none;          /* cleaner, more app-like */
    min-height: 100vh;         /* immersive */
  }

  /* Slightly tighter padding for mobile */
  .glomo-card__top {
    padding: 18px 16px 12px;
  }
  .glomo-card__body {
    padding: 16px;
  }
}

/* TABLET/DESKTOP: centered, max 425px */
@media (min-width: 599px) {
  .glomo-wrap {
    align-items: center; /* keep centered as now */
  }

  .glomo-wrap .container {
    max-width: 600px !important; /* mobile-first width even on desktop */
    padding: 0 14px;             /* comfortable outer breathing space */
  }

  .section.glomo-wrap {
    padding: 3rem 1.5rem; /* Bulma-like spacing, feel as now */
  }
}
