:root {
  --bg: #fcfaf6;
  --panel: #fffdfa;
  --fg: #1e1916;
  --muted: #7f7367;
  --border: #eadfce;
  --accent: #c28b2c;
  --accent-soft: #f6efe1;
  --success: #2a8b57;
  --success-soft: #e7f6ee;
  --danger: #c0392b;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--fg);
  font-family: Inter, system-ui, Segoe UI, Arial, sans-serif;
}

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

button {
  font: inherit;
  cursor: pointer;
}

input,
select {
  font: inherit;
}

img {
  max-width: 100%;
}

.serif {
  font-family: Georgia, "Times New Roman", serif;
}

/* =========================================================
   DESKTOP LAYOUT
   ========================================================= */

.app {
  display: grid;
  grid-template-columns: 280px 1fr;
  min-height: 100vh;
}

.sidebar {
  background: var(--panel);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 22px;
  border-bottom: 1px solid var(--border);
}

.brand .logo {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--fg);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  flex-shrink: 0;
}

.brand h1 {
  font-size: 18px;
  margin: 0;
}

.brand span {
  font-size: 13px;
  color: var(--muted);
}

.nav {
  padding: 18px;
}

.nav .label {
  font-size: 12px;
  letter-spacing: 0.15em;
  color: #c8b38f;
  text-transform: uppercase;
  margin: 0 0 12px 6px;
}

.nav a {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 12px;
  color: #786d62;
  margin-bottom: 6px;
}

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

.nav a.active {
  background: var(--accent-soft);
  color: #9b650f;
  font-weight: 600;
}

.profile {
  margin-top: auto;
  border-top: 1px solid var(--border);
  padding: 16px;
}

.profile .row {
  display: flex;
  gap: 12px;
  align-items: center;
  background: #fff;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
}

.profile .avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #f7efe0;
  color: #9a6d13;
  display: grid;
  place-items: center;
  font-weight: 600;
  flex-shrink: 0;
}

.profile .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--success);
}

.main {
  min-width: 0;
  overflow: auto;
}

.content {
  padding: 36px 44px;
  max-width: 1600px;
}

/* =========================================================
   TYPOGRAPHY
   ========================================================= */

.eyebrow {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #c8b38f;
  margin: 0;
}

.page-title {
  font-size: 34px;
  margin: 10px 0 6px;
}

.subtitle {
  color: var(--muted);
  max-width: 640px;
  line-height: 1.6;
}

/* =========================================================
   BUTTONS
   ========================================================= */

.btn {
  border: none;
  border-radius: 14px;
  padding: 13px 20px;
  font-weight: 600;
}

.btn-dark {
  background: var(--fg);
  color: #fff;
}

.btn-outline {
  background: #fff;
  border: 1px solid var(--border);
  color: var(--fg);
}

.btn-accent {
  background: var(--accent);
  color: #fff;
}

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

.btn-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 22px;
}

/* =========================================================
   CARDS / GRID
   ========================================================= */

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

.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  min-width: 0;
}

.card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  background: #f3eee6;
}

.card .body {
  padding: 14px 16px;
}

.card .name {
  font-weight: 600;
}

.card .meta {
  color: var(--muted);
  font-size: 14px;
  margin-top: 2px;
}

.card .foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 0 16px 14px;
  color: var(--muted);
  font-size: 13px;
}

.badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}

.badge.in {
  background: var(--success-soft);
  color: var(--success);
}

.badge.low {
  background: #fbf1dc;
  color: #9a6d13;
}

.badge.out {
  background: #fbe4e1;
  color: var(--danger);
}

.sizes span {
  display: inline-block;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2px 7px;
  font-size: 11px;
  margin-right: 4px;
  color: #786d62;
}

/* =========================================================
   TOOLBAR
   ========================================================= */

.toolbar {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
  flex-wrap: wrap;
}

.search {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 14px;
  min-width: 240px;
  background: #fff;
}

select.search {
  min-width: 150px;
}

/* =========================================================
   STEPS
   ========================================================= */

.steps {
  display: flex;
  gap: 14px;
  align-items: center;
  margin: 24px 0;
  flex-wrap: wrap;
}

.step {
  display: flex;
  gap: 8px;
  align-items: center;
  color: var(--muted);
}

.step .num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #eee;
  display: grid;
  place-items: center;
  font-size: 13px;
}

.step.active .num {
  background: var(--fg);
  color: #fff;
}

.step.done .num {
  background: var(--success);
  color: #fff;
}

/* =========================================================
   EMPTY STATE
   ========================================================= */

.empty {
  display: grid;
  place-items: center;
  text-align: center;
  padding: 60px 20px;
}

.empty .icon {
  width: 110px;
  height: 110px;
  border-radius: 22px;
  background: #f3eee6;
  display: grid;
  place-items: center;
  font-size: 44px;
  margin-bottom: 18px;
}

/* =========================================================
   MODAL
   ========================================================= */

.modal-bg {
  position: fixed;
  inset: 0;
  background: rgba(30, 25, 20, 0.45);
  display: none;
  place-items: center;
  padding: 20px;
  z-index: 50;
}

.modal-bg.open {
  display: grid;
}

.modal {
  background: #fff;
  border-radius: 20px;
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow: auto;
  padding: 26px;
}

.modal h2 {
  margin: 0 0 18px;
}

.field {
  margin-bottom: 16px;
}

.field label {
  display: block;
  font-size: 14px;
  margin-bottom: 6px;
  color: #5c5348;
}

.field input,
.field select {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
}

.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.chip {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px 14px;
  background: #fff;
}

.chip.on {
  background: var(--fg);
  color: #fff;
  border-color: var(--fg);
}

.dropzone {
  border: 2px dashed var(--accent);
  border-radius: 14px;
  padding: 34px;
  text-align: center;
  color: var(--muted);
  background: #fdfbf6;
  cursor: pointer;
}

/* =========================================================
   LOGIN
   ========================================================= */

.login-wrap {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 20px;
}

.login-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 36px;
  width: 100%;
  max-width: 420px;
}

.selectable {
  cursor: pointer;
  border: 2px solid transparent;
}

.selectable.on {
  border-color: var(--accent);
}

.hidden {
  display: none;
}

.notice {
  background: var(--accent-soft);
  border-radius: 14px;
  padding: 16px 18px;
  color: #8a5f14;
  font-size: 14px;
  margin-top: 20px;
}

/* =========================================================
   MOBILE / TABLET
   ========================================================= */

/* Tablet */
@media (max-width: 900px) {

  .app {
    grid-template-columns: 220px 1fr;
  }

  .content {
    padding: 28px 24px;
  }

  .grid {
    grid-template-columns: repeat(
      auto-fill,
      minmax(190px, 1fr)
    );
    gap: 16px;
  }

  .card img {
    height: 200px;
  }

  .search {
    min-width: 180px;
  }

  select.search {
    min-width: 130px;
  }
}

/* Phone */
@media (max-width: 700px) {

  body {
    overflow-x: hidden;
  }

  /* ---------------------------------------------------------
     APP LAYOUT
     --------------------------------------------------------- */

  .app {
    display: block;
    min-height: 100vh;
  }

  /*
    Keep sidebar visible, but turn it into a compact
    horizontal/mobile header.
  */

  .sidebar {
    min-height: auto;
    width: 100%;
    border-right: none;
    border-bottom: 1px solid var(--border);
    display: block;
  }

  .brand {
    padding: 14px 16px;
  }

  .brand .logo {
    width: 38px;
    height: 38px;
    border-radius: 10px;
  }

  .brand h1 {
    font-size: 16px;
  }

  .brand span {
    font-size: 12px;
  }

  /*
    Navigation becomes horizontally scrollable.
    This means we don't need to change your JS/sidebar code.
  */

  .nav {
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    overflow-x: auto;
    white-space: nowrap;
    border-top: 1px solid var(--border);
  }

  .nav .label {
    display: none;
  }

  .nav a {
    flex: 0 0 auto;
    margin: 0;
    padding: 9px 12px;
    border-radius: 10px;
    font-size: 13px;
  }

  .profile {
    display: none;
  }

  .main {
    width: 100%;
    overflow: visible;
  }

  .content {
    padding: 22px 16px 40px;
    width: 100%;
  }

  /* ---------------------------------------------------------
     TYPOGRAPHY
     --------------------------------------------------------- */

  .eyebrow {
    font-size: 10px;
    letter-spacing: 0.16em;
  }

  .page-title {
    font-size: 28px;
    margin-top: 8px;
  }

  .subtitle {
    font-size: 14px;
    line-height: 1.5;
  }

  /* ---------------------------------------------------------
     TOOLBAR
     --------------------------------------------------------- */

  .toolbar {
    display: block;
    margin-bottom: 18px;
  }

  .toolbar > div:first-child {
    margin-bottom: 16px;
  }

  .toolbar > div:last-child {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 8px !important;
    width: 100%;
  }

  .toolbar .search {
    min-width: 0;
    width: 100%;
  }

  .toolbar input.search {
    grid-column: 1 / -1;
  }

  .toolbar .btn {
    width: 100%;
  }

  /* ---------------------------------------------------------
     PRODUCT GRID
     --------------------------------------------------------- */

  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .card {
    border-radius: 14px;
  }

  .card img {
    height: 190px;
  }

  .card .body {
    padding: 11px 12px;
  }

  .card .name {
    font-size: 14px;
  }

  .card .meta {
    font-size: 12px;
    line-height: 1.4;
  }

  .card .foot {
    padding: 0 12px 11px;
    gap: 6px;
    font-size: 12px;
  }

  .sizes span {
    padding: 2px 5px;
    margin-right: 2px;
    font-size: 10px;
  }

  .card .foot .btn {
    padding: 5px 8px !important;
    font-size: 11px;
    border-radius: 8px;
  }

  .badge {
    font-size: 10px;
    padding: 4px 7px;
  }

  /* ---------------------------------------------------------
     BUTTONS
     --------------------------------------------------------- */

  .btn {
    padding: 11px 14px;
    border-radius: 11px;
    font-size: 13px;
  }

  .btn-row {
    flex-direction: column;
    width: 100%;
  }

  .btn-row .btn {
    width: 100%;
  }

  /* ---------------------------------------------------------
     STEPS
     --------------------------------------------------------- */

  .steps {
    gap: 8px;
    margin: 18px 0;
  }

  .step {
    font-size: 12px;
  }

  .step .num {
    width: 24px;
    height: 24px;
    font-size: 11px;
  }

  /* ---------------------------------------------------------
     EMPTY STATE
     --------------------------------------------------------- */

  .empty {
    padding: 45px 16px;
  }

  .empty .icon {
    width: 85px;
    height: 85px;
    font-size: 34px;
    border-radius: 18px;
  }

  .empty h2 {
    font-size: 26px !important;
  }

  /* ---------------------------------------------------------
     MODAL
     --------------------------------------------------------- */

  .modal-bg {
    padding: 12px;
    align-items: end;
  }

  .modal {
    max-width: 100%;
    max-height: 92vh;
    border-radius: 20px 20px 14px 14px;
    padding: 20px;
  }

  .modal h2 {
    font-size: 22px;
  }

  .two {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .field {
    margin-bottom: 14px;
  }

  .dropzone {
    padding: 26px 16px;
  }
/* =========================================================
   AI TRY-ON UPLOAD BOX
   ========================================================= */

.upload-card {
  width: 100%;
  margin: 20px 0;
}

.upload-preview {
  width: 100%;
  height: 280px;
  box-sizing: border-box;

  border: 2px dashed var(--accent);
  border-radius: 18px;
  background: #fdfbf6;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  gap: 10px;
  padding: 20px;

  text-align: center;
  cursor: pointer;
  overflow: hidden;

  transition: background 0.2s ease, border-color 0.2s ease;
}

.upload-preview:hover {
  background: var(--accent-soft);
}

.upload-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--fg);
}

.upload-preview small {
  font-size: 13px;
  color: var(--muted);
}

/* Uploaded image */

.uploaded-preview-image {
  width: 180px;
  height: 190px;

  object-fit: contain;

  border-radius: 12px;
  background: #f3eee6;

  display: block;
}

.upload-preview strong {
  max-width: 90%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

  /* ---------------------------------------------------------
     LOGIN
     --------------------------------------------------------- */

  .login-wrap {
    padding: 16px;
  }

  .login-card {
    padding: 26px 20px;
    border-radius: 18px;
  }

  .login-card h1 {
    font-size: 30px !important;
  }
}

/* Very small phones */
@media (max-width: 380px) {

  .content {
    padding-left: 12px;
    padding-right: 12px;
  }

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

  .card img {
    height: 240px;
  }

  .toolbar > div:last-child {
    grid-template-columns: 1fr;
  }

  .toolbar input.search {
    grid-column: auto;
  }

  .page-title {
    font-size: 26px;
  }
}

/* ===== AI TRY-ON UPLOAD BOX — FORCE LAYOUT ===== */

.upload-card {
  display: block !important;
  width: 60% !important;
  margin: 20px 0 !important;
}

.upload-preview {
  width: 100% !important;
  min-height: 280px !important;
  height: 280px !important;

  box-sizing: border-box !important;

  border: 2px dashed var(--accent) !important;
  border-radius: 18px !important;

  background: #fdfbf6 !important;

  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;

  gap: 10px !important;
  padding: 20px !important;

  text-align: center !important;
  cursor: pointer !important;

  overflow: hidden !important;
}

.upload-preview:hover {
  background: var(--accent-soft) !important;
}

.upload-title {
  display: block !important;
  font-size: 18px !important;
  font-weight: 600 !important;
  color: var(--fg) !important;
}

.upload-preview small {
  display: block !important;
  font-size: 13px !important;
  color: var(--muted) !important;
}

.uploaded-preview-image {
  display: block !important;

  width: 180px !important;
  height: 190px !important;

  max-width: 100% !important;
  object-fit: contain !important;

  border-radius: 12px !important;
  background: #f3eee6 !important;
}
/* =========================================================
   PRICING PAGE
   ========================================================= */

.pricing-page {
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 50px;
  padding-bottom: 60px;
}


/* HEADER */

.pricing-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}

.pricing-title {
  font-size: 48px;
  line-height: 1.1;
  margin: 14px 0;
}

.pricing-subtitle {
  font-size: 17px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0 auto;
}


/* =========================================================
   PRICING OPTIONS
   ========================================================= */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  max-width: 850px;
  margin: 0 auto;
}


/* CARD */

.pricing-card {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 30px;
  box-sizing: border-box;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pricing-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(30, 25, 22, 0.06);
}


/* FEATURED YEARLY CARD */

.pricing-card.featured {
  border: 1.5px solid var(--accent);
  padding: 29px;
}


/* POPULAR / SAVING BADGE */

.popular-badge {
  position: absolute;
  top: -13px;
  right: 22px;

  background: var(--accent);
  color: white;

  padding: 6px 12px;
  border-radius: 999px;

  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}


/* CARD TOP */

.pricing-card-top {
  text-align: left;
}

.pricing-card h2 {
  font-size: 42px;
  line-height: 1;
  margin: 12px 0 18px;
}

.pricing-card h2 span {
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
}


/* DESCRIPTION */

.pricing-description {
  color: var(--muted);
  line-height: 1.6;
  font-size: 14px;
  margin: 0 0 22px;
  min-height: 45px;
}


/* CREDIT HIGHLIGHT */

.credit-highlight {
  background: var(--accent-soft);
  border-radius: 14px;
  padding: 18px;
  margin: 20px 0;
}

.credit-number {
  font-size: 28px;
  font-weight: 700;
  color: var(--fg);
}

.credit-number span {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  margin-left: 4px;
}

.credit-highlight p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}


/* BUTTON */

.pricing-btn {
  width: 100%;
  box-sizing: border-box;
  text-align: center;
  margin-top: 4px;
}


/* DIVIDER */

.pricing-divider {
  height: 1px;
  background: var(--border);
  margin: 28px 0;
}


/* =========================================================
   AI FEATURES
   ========================================================= */

.pricing-includes {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 16px;
}


.ai-feature-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}


.ai-feature {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}


.ai-feature-icon {
  width: 38px;
  height: 38px;

  flex-shrink: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  background: var(--accent-soft);
  color: var(--accent);

  border-radius: 10px;
}


.ai-feature-icon svg {
  width: 19px;
  height: 19px;
}


.ai-feature-content {
  flex: 1;
  min-width: 0;
}


.ai-feature-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}


.ai-feature-heading strong {
  font-size: 14px;
}


.ai-feature-content p {
  margin: 4px 0 7px;

  font-size: 13px;
  line-height: 1.5;

  color: var(--muted);
}


.credit-cost {
  flex-shrink: 0;

  background: var(--accent-soft);
  color: #9b650f;

  padding: 4px 8px;
  border-radius: 999px;

  font-size: 11px;
  font-weight: 700;
}


.available {
  display: inline-flex;
  align-items: center;
  gap: 4px;

  color: var(--success);

  font-size: 11px;
  font-weight: 600;
}


.available svg {
  width: 13px;
  height: 13px;
}


/* =========================================================
   FEATURES CARD
   ========================================================= */

.pricing-features-card {
  max-width: 850px;
  margin: 24px auto 0;
}


/* FEATURE CHECKLIST */

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0;

  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 9px;

  font-size: 13px;
  color: var(--fg);
}

.pricing-features li svg {
  width: 16px;
  height: 16px;
  color: var(--success);
  flex-shrink: 0;
}


.pricing-note {
  max-width: 850px;
  margin: 24px auto 0;

  display: flex;
  align-items: center;
  gap: 14px;

  padding: 18px 20px;

  background: var(--accent-soft);
  border: 1px solid var(--border);
  border-radius: 14px;

  box-sizing: border-box;
}


.pricing-note > svg {
  width: 21px;
  height: 21px;

  color: var(--accent);

  flex-shrink: 0;
}


.pricing-note div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}


.pricing-note strong {
  font-size: 13px;
}


.pricing-note span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}


.pricing-footer-note {
  text-align: center;

  color: var(--muted);

  font-size: 12px;

  margin: 18px auto 0;
}


/* =========================================================
   PRICING RESPONSIVE
   ========================================================= */

@media (max-width: 1000px) {

  .pricing-page {
    padding-left: 30px;
    padding-right: 30px;
  }

  .pricing-grid {
    max-width: 700px;
  }

  .pricing-card {
    padding: 26px;
  }

  .pricing-card.featured {
    padding: 25px;
  }

}


@media (max-width: 700px) {

  .pricing-page {
    padding-top: 30px;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 40px;
  }


  .pricing-header {
    margin-bottom: 34px;
  }


  .pricing-title {
    font-size: 34px;
  }


  .pricing-subtitle {
    font-size: 14px;
  }


  /* MONTHLY + YEARLY STACK */

  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: 100%;
  }


  .pricing-card {
    padding: 22px;
    border-radius: 16px;
  }


  .pricing-card.featured {
    padding: 21px;
  }


  .pricing-card h2 {
    font-size: 36px;
  }


  .pricing-description {
    min-height: auto;
  }


  .credit-highlight {
    padding: 16px;
  }


  .credit-number {
    font-size: 26px;
  }


  .ai-feature-heading {
    align-items: flex-start;
  }


  .credit-cost {
    margin-left: auto;
  }


  .pricing-features-card {
    margin-top: 16px;
  }


  .pricing-note {
    align-items: flex-start;
    padding: 16px;
  }

}


@media (max-width: 450px) {

  .pricing-title {
    font-size: 30px;
  }


  .pricing-card h2 {
    font-size: 32px;
  }


  .ai-feature-heading {
    flex-direction: column;
    gap: 5px;
  }


  .credit-cost {
    margin-left: 0;
  }

}

/* =========================================================
   LISTING STUDIO
   ========================================================= */

.listing-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
  margin-top: 24px;
}

.listing-spaced {
  margin-top: 20px;
}

.listing-generate-btn {
  width: 100%;
  margin-top: 20px;
}

/* =========================================================
   LISTING STUDIO RESPONSIVE
   ========================================================= */

@media (max-width: 900px) {

  .listing-layout {
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 16px;
  }

}

@media (max-width: 700px) {

  .listing-layout {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 20px;
  }

  .listing-spaced {
    margin-top: 16px;
  }

  .listing-generate-btn {
    margin-top: 16px;
  }

  #garments {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }

  #garments .card img {
    height: 150px;
  }

  #garments .card .body {
    padding: 9px;
  }

  #modelTypes .card {
    padding: 10px !important;
    gap: 9px !important;
  }

  #modelTypes .meta {
    font-size: 12px;
    line-height: 1.35;
  }

  #resolutions .chip,
  #platforms .chip {
    width: 100%;
    box-sizing: border-box;
  }

}

@media (max-width: 450px) {

  #garments {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  #garments .card img {
    height: 135px;
  }

}