/* ═══════════════════════════════════════════════════════════
   SELLER MARKETPLACE
═══════════════════════════════════════════════════════════ */

/* Sell link accent */
.sell-nav-link {
  color: var(--yellow) !important;
  font-weight: 600;
}
.sell-nav-link:hover {
  color: var(--orange) !important;
}
.drawer-icon {
  flex-shrink: 0;
}
.drawer-lang-row {
  width: 100%;
  margin-top: 20px;
  padding: 14px;
  display: flex;
  align-items: center;
  border-radius: 8px;
  cursor: pointer;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.drawer-nav .drawer-lang-row {
  justify-content: center;
  gap: 8px;
}
.drawer-lang-row:hover {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.95);
}
[data-lang="ar"] .drawer-nav a,
[data-lang="ar"] .drawer-nav button {
  text-align: right;
}

/* ── Seller Auth ── */
.seller-hero-banner {
  text-align: center;
  padding: clamp(48px, 7vw, 96px) clamp(16px, 5vw, 80px) 32px;
}
.seller-why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  padding: 0 clamp(16px, 5vw, 80px) 48px;
  max-width: 960px;
  margin: 0 auto;
}
.why-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: 28px 22px;
  text-align: center;
}
.why-icon {
  font-size: 36px;
  margin-bottom: 12px;
}
.why-card h3 {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.why-card p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
}
.seller-auth-wrap {
  max-width: 460px;
  margin: 0 auto;
  padding: 0 clamp(16px, 5vw, 40px) 80px;
}
.seller-auth-tabs {
  display: flex;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 32px;
}
.seller-tab {
  flex: 1;
  padding: 14px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.4);
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
}
.seller-tab.active-stab {
  color: var(--white);
  border-bottom-color: var(--red);
}
.seller-auth-panel.hidden {
  display: none;
}
.auth-panel-title {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 12px;
  text-transform: uppercase;
}
.auth-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
.auth-field label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}
.auth-field input,
.auth-field select,
.auth-field textarea {
  background-color: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 10px 14px;
  color: var(--white);
  font: inherit;
  font-size: 14px;
  width: 100%;
  transition: border 0.2s;
  color-scheme: dark;
}
.auth-field input:focus,
.auth-field select,
.auth-field textarea:focus {
  outline: none;
  border-color: var(--yellow);
}
.auth-field textarea {
  resize: vertical;
  min-height: 72px;
}
.auth-field select option {
  background: #0b0b0b;
  color: rgba(255, 255, 255, 0.9);
}
.auth-note {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
  text-align: center;
  margin-top: 14px;
}
.auth-note a {
  color: var(--yellow);
  cursor: pointer;
}

/* ── Dashboard ── */
.seller-dash-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 36px;
}
.dash-title {
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin: 8px 0 4px;
}
.dash-title em {
  color: var(--yellow);
  font-style: normal;
}

/* My Products / My Orders section headers.
   The base .page-banner / .breadcrumb styles live in main.css, which the seller
   MPA page does not load — so these headers were unstyled (flush-left, wrong
   font). Mirror the dashboard header look and align with the padded content. */
#section-seller-products .page-banner,
#section-seller-orders .page-banner {
  padding: clamp(24px, 4vw, 40px) clamp(16px, 5vw, 80px) 0;
}
#section-seller-products .page-banner h1,
#section-seller-orders .page-banner h1 {
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1;
  margin: 0 0 8px;
}
#section-seller-products .page-banner h1 em,
#section-seller-orders .page-banner h1 em {
  font-style: normal;
  color: var(--yellow);
}
#section-seller-products .breadcrumb,
#section-seller-orders .breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 14px;
  flex-wrap: wrap;
}
#section-seller-products .breadcrumb a,
#section-seller-orders .breadcrumb a {
  cursor: pointer;
  transition: color 0.2s;
}
#section-seller-products .breadcrumb a:hover,
#section-seller-orders .breadcrumb a:hover {
  color: var(--orange);
}
#section-seller-products .breadcrumb span,
#section-seller-orders .breadcrumb span {
  color: rgba(255, 255, 255, 0.2);
}
.dash-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}
.dash-stat {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: 24px 20px;
  text-align: center;
}
.stat-val {
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  color: var(--yellow);
}
.stat-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.dash-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-bottom: 36px;
}
.dash-action-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: 20px;
  cursor: pointer;
  transition:
    border-color 0.2s,
    background 0.2s;
}
.dash-action-card:hover {
  border-color: var(--yellow);
  background: rgba(245, 197, 24, 0.06);
}
.dac-icon {
  font-size: 28px;
  flex-shrink: 0;
}
.dash-action-card strong {
  display: block;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
}
.dash-action-card p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
  margin: 2px 0 0;
}
.dash-recent {
  margin-top: 8px;
}
.seller-finance-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
  margin: 0 0 16px;
}
.seller-finance-card {
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 8px;
  padding: 12px 14px;
}
.seller-finance-card span,
.seller-finance-card small {
  display: block;
  color: rgba(255, 255, 255, 0.48);
  font-size: 11px;
  line-height: 1.35;
  text-transform: uppercase;
}
.seller-finance-card strong {
  display: block;
  margin-top: 4px;
  color: var(--yellow);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 22px;
}
.seller-finance-profit strong {
  color: #7effb0;
}
.finance-snapshot-note {
  grid-column: 1 / -1;
  margin: 2px 0 0;
  color: rgba(255, 255, 255, 0.48);
  font-size: 12px;
  line-height: 1.45;
}
.dash-section-title {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.8);
}

/* ── Orders Table ── */
.orders-table-wrap {
  overflow-x: auto;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.07);
}
.orders-table {
  width: 100%;
  min-width: 900px;
  border-collapse: collapse;
  font-size: 13px;
}
.orders-table th {
  padding: 12px 14px;
  text-align: left;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.45);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  white-space: nowrap;
}
.orders-table td {
  padding: 13px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.orders-table .orders-col-order,
.orders-table .orders-col-total,
.orders-table .orders-col-payment,
.orders-table .orders-col-status,
.orders-table .orders-col-created {
  white-space: nowrap;
}
.orders-table .orders-col-items,
.orders-table .orders-col-finance,
.orders-table .orders-col-address {
  white-space: normal;
  line-height: 1.45;
}
.seller-sale-breakdown {
  display: grid;
  gap: 3px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
  line-height: 1.35;
}
.seller-sale-breakdown-group + .seller-sale-breakdown-group {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 8px;
  padding-top: 8px;
}
.seller-sale-breakdown strong {
  color: rgba(255, 255, 255, 0.88);
}
.seller-sale-owner {
  color: var(--orange) !important;
}
.seller-sale-breakdown span:last-child strong,
.seller-sale-profit strong {
  color: #7effb0;
}
.seller-sale-nonpayable {
  color: #ff9a9a !important;
  font-weight: 700;
}
.orders-table .orders-col-created {
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
}
.orders-table .orders-col-order,
.admin-orders-table td:first-child {
  min-width: 90px;
  max-width: 160px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 12px;
  line-height: 1.4;
}
.orders-table-compact {
  min-width: 1320px;
  table-layout: fixed;
}
.orders-table-compact .orders-col-order {
  width: 140px;
}
.orders-table-compact .orders-col-customer {
  width: 180px;
}
.orders-table-compact .orders-col-items {
  width: 38%;
}
.orders-table-compact .orders-col-total {
  width: 120px;
}
.orders-table-compact .orders-col-finance {
  width: 210px;
}
.orders-table-compact .orders-col-payment {
  width: 160px;
}
.orders-table-compact .orders-col-status {
  width: 130px;
}
.orders-table-compact .orders-col-created {
  width: 190px;
}
.orders-table-compact .orders-col-items {
  white-space: normal;
  overflow-wrap: anywhere;
}
.orders-table td:nth-child(6) {
  min-width: 180px;
  max-width: 320px;
  white-space: normal;
  line-height: 1.45;
}
.orders-table td:nth-child(7) {
  min-width: 190px;
  white-space: normal;
  line-height: 1.45;
}
.orders-table-compact td:nth-child(6),
.orders-table-compact td:nth-child(7) {
  min-width: 0;
  max-width: none;
}
.orders-table tr:last-child td {
  border-bottom: none;
}
.orders-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.03);
}
[dir="rtl"] .orders-table {
  direction: rtl;
}
[dir="rtl"] .orders-table th,
[dir="rtl"] .orders-table td {
  text-align: right;
}
[dir="rtl"] .orders-table .orders-col-order,
[dir="rtl"] .orders-table .orders-col-total,
[dir="rtl"] .orders-table .orders-col-payment,
[dir="rtl"] .orders-table .orders-col-status,
[dir="rtl"] .orders-table .orders-col-created {
  text-align: right;
}
[dir="rtl"] .orders-table .orders-col-items,
[dir="rtl"] .orders-table .orders-col-finance {
  unicode-bidi: plaintext;
}
[dir="rtl"] .orders-table-wrap {
  direction: rtl;
}
.order-status {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.status-processing {
  background: rgba(244, 123, 32, 0.18);
  color: var(--orange);
}
.status-preparing-for-delivery {
  background: rgba(245, 197, 24, 0.18);
  color: var(--yellow);
}
.status-delivered {
  background: rgba(76, 175, 80, 0.18);
  color: #4caf50;
}
.status-paid,
.status-printed,
.status-shipped {
  background: rgba(76, 175, 80, 0.16);
  color: #7effb0;
}
.status-pending,
.status-pending-cod,
.status-payment-pending,
.status-not-started,
.status-cod {
  background: rgba(245, 197, 24, 0.16);
  color: var(--yellow);
}
.status-cancelled,
.status-refunded,
.status-payment-failed,
.status-failed {
  background: rgba(232, 25, 44, 0.18);
  color: #ff9a9a;
}
.order-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.status-select {
  background-color: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  padding: 5px 8px;
  color: var(--white);
  font: inherit;
  font-size: 12px;
  cursor: pointer;
  color-scheme: dark;
}
.status-select option {
  background: #0b0b0b;
  color: rgba(255, 255, 255, 0.9);
}

/* ── My Products Grid ── */
.seller-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}
.seller-prod-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.seller-prod-img {
  aspect-ratio: 414/621;
  width: 100%;
  position: relative;
  overflow: hidden;
  background: #111;
  display: flex;
  align-items: center;
  justify-content: center;
}
.seller-prod-info {
  padding: 14px;
  flex: 1;
}
.seller-prod-name {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.seller-prod-price {
  font-size: 13px;
  margin-bottom: 4px;
}
.seller-prod-meta {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
}
.prod-status-live {
  color: #4caf50;
  font-weight: 600;
}
.prod-status-draft,
.prod-status-pending {
  color: var(--orange);
  font-weight: 600;
}
.prod-status-needs-changes {
  color: #ffbd7a;
  font-weight: 600;
}
.prod-status-rejected {
  color: #ff7d8d;
  font-weight: 600;
}
.seller-review-note {
  margin-top: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-left: 3px solid var(--orange);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.035);
  padding: 8px 9px;
  display: grid;
  gap: 4px;
  font-size: 12px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.72);
}
.seller-review-note strong {
  color: var(--white);
  font-size: 11px;
  text-transform: uppercase;
}
.seller-review-note-approved {
  border-left-color: #4caf50;
}
.seller-review-note-rejected {
  border-left-color: #ff7d8d;
}
.seller-review-note-needs_changes {
  border-left-color: #ffbd7a;
}
.seller-review-note-pending {
  color: rgba(255, 255, 255, 0.55);
}
.seller-prod-actions {
  padding: 0 14px 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.seller-preview-loading {
  color: rgba(255, 255, 255, 0.42);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  padding: 16px;
}

/* ══════════════════════════════════════════════════════════
   DESIGN STUDIO v3
══════════════════════════════════════════════════════════ */

/* ── Header bar ── */
.ds-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px clamp(12px, 3vw, 32px);
  background: rgba(0, 0, 0, 0.94);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: sticky;
  top: 0;
  z-index: 50;
}
.ds-header-back,
.ds-header-save {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  border-radius: 8px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.ds-header-back:hover,
.ds-header-save:hover {
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

/* ── Step indicator ── */
.ds-steps-bar {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.ds-step-item {
  display: flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.3);
  transition: color 0.2s;
  white-space: nowrap;
}
.ds-step-item.active {
  color: var(--white);
}
.ds-step-item.done {
  color: var(--yellow);
}
.ds-step-circle {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  border: 2px solid rgba(255, 255, 255, 0.2);
  transition: all 0.2s;
  flex-shrink: 0;
}
.ds-step-item.active .ds-step-circle {
  border-color: var(--white);
  background: var(--white);
  color: #000;
}
.ds-step-item.done .ds-step-circle {
  border-color: var(--yellow);
  background: var(--yellow);
  color: #000;
}
.ds-step-line {
  width: clamp(16px, 3vw, 48px);
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  margin: 0 8px;
  flex-shrink: 0;
  transition: background 0.2s;
}
.ds-step-line.done {
  background: var(--yellow);
}

/* ── Step panels ── */
.ds-step-panel {
  padding: clamp(20px, 4vw, 48px) clamp(16px, 4vw, 60px);
}
.ds-step-heading {
  margin-bottom: 28px;
}
.ds-step-heading h2 {
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.ds-step-heading p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.48);
  margin-top: 6px;
}

/* ── Step 1: Product grid ── */
.ds-cat-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
.ds-cat-tab {
  padding: 8px 18px;
  border-radius: 24px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.15s;
}
.ds-cat-tab.active,
.ds-cat-tab:hover {
  background: var(--yellow);
  color: #000;
  border-color: var(--yellow);
}
.ds-prod-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 12px;
  margin-bottom: 28px;
}
.ds-prod-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 18px 10px 14px;
  border-radius: 12px;
  border: 2px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  transition: all 0.18s;
  text-align: center;
  gap: 5px;
}
.ds-prod-card:hover {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.05);
}
.ds-prod-card.active {
  border-color: var(--yellow);
  background: rgba(245, 197, 24, 0.1);
}
.ds-prod-icon {
  font-size: 26px;
  line-height: 1;
}
.ds-prod-name {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.2;
}
.ds-prod-base {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.35);
}
.ds-prod-card.active .ds-prod-base {
  color: rgba(245, 197, 24, 0.65);
}
.ds-color-row {
  margin-bottom: 28px;
}
.ds-color-row-lbl {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.38);
  margin-bottom: 10px;
}
.ds-color-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.ds-swatch {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid rgba(255, 255, 255, 0.08);
  transition:
    transform 0.15s,
    outline 0.15s;
  outline: 3px solid transparent;
  outline-offset: 2px;
}
.ds-swatch:hover {
  transform: scale(1.18);
}
.ds-swatch.active {
  outline-color: var(--yellow);
}
.ds-step1-foot {
  display: flex;
  justify-content: flex-end;
  padding-top: 8px;
}
.ds-next-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 10px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: var(--red);
  color: var(--white);
  border: none;
  cursor: pointer;
  transition:
    background 0.2s,
    transform 0.15s;
}
.ds-next-btn:hover:not(:disabled) {
  background: #c9111f;
  transform: translateY(-1px);
}
.ds-next-btn:disabled {
  opacity: 0.32;
  cursor: not-allowed;
}

/* ── Step 2: Zazzle-style Studio (zs-*) ── */
.zs-panel2 {
  display: flex;
  flex-direction: column;
  height: calc(100vh - 57px);
  height: calc(100dvh - 57px);
  overflow: hidden;
}

/* Top toolbar */
.zs-topbar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 8px 14px;
  background: rgba(0, 0, 0, 0.88);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}
.zs-tb-primary {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.zs-btn-upload,
.zs-btn-text {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 18px;
  border-radius: 8px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: all 0.18s;
}
.zs-btn-upload {
  background: var(--yellow);
  color: #000;
  border: none;
}
.zs-btn-upload:hover {
  background: #e0b010;
  transform: translateY(-1px);
}
.zs-btn-text {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.zs-btn-text:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.35);
}
.zs-tb-sep {
  flex: 1;
  min-width: 8px;
}
.zs-tb-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}
.zs-tb-div {
  width: 1px;
  height: 20px;
  background: rgba(255, 255, 255, 0.12);
  margin: 0 4px;
}
.zs-tbtn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 28px;
  border-radius: 6px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: all 0.15s;
}
.zs-tbtn:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.25);
}
.zs-tbtn-del {
  color: var(--red);
}
.zs-tbtn-del:hover {
  background: rgba(232, 25, 44, 0.15);
  border-color: var(--red);
}

/* Mobile panel tabs */
.zs-mob-tabs {
  display: none;
  align-items: center;
  background: #0a0a0a;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}
.zs-mob-tab {
  flex: 1;
  padding: 11px 8px;
  text-align: center;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.38);
  border-bottom: 2px solid transparent;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
  cursor: pointer;
  transition: all 0.2s;
}
.zs-mob-tab.active {
  color: var(--white);
  border-bottom-color: var(--yellow);
}

/* Studio body: sidebar + canvas side by side */
.zs-body {
  display: flex;
  flex: 1;
  overflow: hidden;
  min-height: 0;
}
.zs-left {
  width: 240px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overflow-x: hidden;
  background: rgba(6, 6, 6, 0.98);
  border-right: 1px solid rgba(255, 255, 255, 0.07);
  padding: 12px;
}
.zs-sec-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.38);
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  flex-shrink: 0;
}
.zs-sec-hint {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.03em;
  color: rgba(255, 255, 255, 0.22);
}
.zs-layers-list {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-height: 48px;
  max-height: 180px;
  overflow-y: auto;
  margin-bottom: 12px;
  flex-shrink: 0;
}
.zs-empty-state {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.28);
  text-align: center;
  padding: 16px 8px;
  line-height: 1.7;
}
.zs-props-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  padding: 16px 8px;
}
.zs-props-empty-txt {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.25);
  text-align: center;
  line-height: 1.6;
}
.zs-props-panel {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  padding-top: 12px;
}

/* Layer list items */
.dt-layer-item {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 9px;
  border-radius: 7px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  cursor: pointer;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.58);
  transition: all 0.15s;
}
.dt-layer-item:hover {
  border-color: rgba(255, 255, 255, 0.18);
  color: var(--white);
  background: rgba(255, 255, 255, 0.04);
}
.dt-layer-item.selected-layer {
  border-color: var(--yellow);
  background: rgba(245, 197, 24, 0.08);
  color: var(--yellow);
}
.dt-layer-vis {
  font-size: 13px;
  flex-shrink: 0;
  cursor: pointer;
  opacity: 0.48;
  user-select: none;
}
.dt-layer-icon {
  font-size: 13px;
  flex-shrink: 0;
}
.dt-layer-name {
  font-size: 11px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
}

/* Properties inputs */
.zs-prop {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 12px;
}
.zs-prop label {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
}
.zs-prop textarea,
.zs-prop input[type="text"],
.zs-prop input[type="number"],
.zs-prop select {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 7px;
  padding: 7px 9px;
  color: var(--white);
  font: inherit;
  font-size: 13px;
  width: 100%;
  box-sizing: border-box;
  transition: border 0.18s;
}
.zs-prop textarea:focus,
.zs-prop input:focus,
.zs-prop select:focus {
  outline: none;
  border-color: var(--yellow);
}
.zs-prop textarea {
  resize: vertical;
  min-height: 44px;
}
.zs-prop select option {
  background: #111;
  color: #fff;
}
.zs-prop input[type="color"] {
  height: 34px !important;
  padding: 2px !important;
  cursor: pointer;
}
.zs-prop-row {
  display: flex;
  gap: 8px;
}
.zs-prop-row .zs-prop {
  flex: 1;
}
.zs-btn-grp {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.zs-btn-div {
  width: 1px;
  height: 24px;
  background: rgba(255, 255, 255, 0.1);
  align-self: center;
}
.zs-prop-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 6px 10px;
  border-radius: 7px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 12px;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.62);
  cursor: pointer;
  transition: all 0.15s;
}
.zs-prop-btn:hover,
.zs-prop-btn.active {
  background: rgba(245, 197, 24, 0.14);
  border-color: var(--yellow);
  color: var(--yellow);
}
.zs-range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.14);
  cursor: pointer;
}
.zs-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--yellow);
  cursor: pointer;
}
.zs-range-val {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.42);
  letter-spacing: 0;
  text-transform: none;
  font-weight: 400;
  margin-left: 4px;
}
.zs-num-inp {
  text-align: center !important;
  -moz-appearance: textfield;
  appearance: textfield;
}
.zs-num-inp::-webkit-inner-spin-button,
.zs-num-inp::-webkit-outer-spin-button {
  -webkit-appearance: none;
  appearance: none;
}

/* Canvas area */
.zs-canvas-area {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: #0d0d0d;
  overflow: hidden;
  min-width: 0;
}
.zs-canvas-scroller {
  flex: 1;
  overflow: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  min-height: 0;
}
.zs-canvas-holder {
  position: relative;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
#designCanvas {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 6px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.1),
    0 12px 48px rgba(0, 0, 0, 0.7);
  cursor: crosshair;
  touch-action: none;
}
.zs-canvas-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px;
  padding: 7px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.38);
  flex-shrink: 0;
}
.zs-canvas-label {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: var(--yellow);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}
.zs-canvas-hint {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.26);
}

/* Footer nav */
.zs-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px clamp(12px, 3vw, 32px);
  background: rgba(0, 0, 0, 0.6);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  flex-shrink: 0;
}
.zs-foot-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 11px 24px;
  border-radius: 9px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  cursor: pointer;
  transition: all 0.2s;
}
.zs-foot-btn.secondary {
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.05);
}
.zs-foot-btn.secondary:hover {
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--white);
}
.zs-foot-btn.primary {
  background: var(--red);
  color: var(--white);
  border: none;
}
.zs-foot-btn.primary:hover {
  background: #c9111f;
  transform: translateY(-1px);
}

/* ── Step 2 footer / Step 3 nav ── */
.ds-step-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px clamp(12px, 3vw, 32px);
  background: rgba(0, 0, 0, 0.55);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}
.ds-foot-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 11px 24px;
  border-radius: 9px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  cursor: pointer;
  transition: all 0.2s;
}
.ds-foot-btn.secondary {
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.05);
}
.ds-foot-btn.secondary:hover {
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--white);
}
.ds-foot-btn.primary {
  background: var(--red);
  color: var(--white);
  border: none;
}
.ds-foot-btn.primary:hover {
  background: #c9111f;
  transform: translateY(-1px);
}

.ds-foot-btn:disabled,
.ds-foot-btn.is-loading {
  opacity: 0.72;
  cursor: wait;
  transform: none;
  box-shadow: none;
}
.ds-foot-btn.is-loading {
  justify-content: center;
  gap: 10px;
}
.btn-spinner {
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: sm-spin 0.8s linear infinite;
}
.publish-status {
  margin-top: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(245, 197, 24, 0.22);
  border-radius: 8px;
  background: rgba(245, 197, 24, 0.08);
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  line-height: 1.45;
}
.publish-status[hidden] {
  display: none;
}
@keyframes sm-spin {
  to {
    transform: rotate(360deg);
  }
}

/* ── Step 3: Details & publish ── */
.ds-details-wrap {
  display: grid;
  grid-template-columns: minmax(360px, 0.95fr) minmax(420px, 1.05fr);
  gap: clamp(28px, 4vw, 58px);
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px;
  border: 1px solid rgba(245, 197, 24, 0.1);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(245, 197, 24, 0.035), transparent 120px),
    rgba(255, 255, 255, 0.015);
}
.ds-preview-canvas {
  width: 100%;
  display: block;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.ds-preview-col,
.ds-form-col {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.ds-preview-col {
  position: sticky;
  top: 70px;
  align-self: start;
}
.ds-sp-head {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.ds-form-col .ds-sp-head:first-child,
.ds-preview-col .ds-sp-head:first-child {
  color: var(--yellow);
  border-bottom-color: rgba(245, 197, 24, 0.18);
}
.ds-prop {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
.ds-prop label {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.ds-lbl-hint {
  font-family: "Barlow", sans-serif;
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.02em;
  text-transform: none;
  color: rgba(255, 255, 255, 0.28);
}
.ds-prop input,
.ds-prop textarea,
.ds-prop select {
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  color: var(--white);
  font-family: "Barlow", sans-serif;
  font-size: 14px;
  font-weight: 300;
  padding: 10px 14px;
  transition:
    border-color 0.2s,
    background 0.2s;
  resize: vertical;
  -webkit-appearance: none;
  appearance: none;
  color-scheme: dark;
}
.ds-prop input::placeholder,
.ds-prop textarea::placeholder {
  color: rgba(255, 255, 255, 0.2);
}
.ds-prop input:focus,
.ds-prop textarea:focus,
.ds-prop select:focus {
  outline: none;
  border-color: var(--orange);
  background: rgba(244, 123, 32, 0.04);
}
.ds-prop select {
  background-color: #0b0b0b;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='rgba(245,197,24,0.9)' stroke-width='2.4'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
  cursor: pointer;
}
.ds-prop select:hover {
  border-color: rgba(245, 197, 24, 0.36);
}
.ds-prop select option {
  background: #0b0b0b;
  color: rgba(255, 255, 255, 0.9);
  font-family: "Barlow", sans-serif;
}
.ds-prop select option:checked,
.ds-prop select option:hover {
  background: var(--yellow);
  color: var(--black);
}
[dir="rtl"] .ds-prop select {
  background-position: left 12px center;
  padding-left: 36px;
  padding-right: 14px;
}
.ds-prop-row {
  display: flex;
  gap: 12px;
}
.ds-pricing-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 20px;
}
.ds-price-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.58);
  margin-bottom: 10px;
}
.ds-price-line:last-child {
  margin-bottom: 0;
}
.ds-price-inp-line .ds-price-inp {
  display: flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
}
.ds-price-inp span {
  padding: 0 8px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.38);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}
.ds-price-inp input {
  background: none;
  border: none;
  color: var(--white);
  font: inherit;
  font-size: 14px;
  padding: 6px 10px;
  width: 88px;
}
.ds-price-inp input:focus {
  outline: none;
}
.ds-price-inp:focus-within {
  border-color: rgba(245, 197, 24, 0.42);
  box-shadow: 0 0 0 2px rgba(245, 197, 24, 0.08);
}
.ds-price-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 10px 0;
}
.ds-earnings-big {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: var(--yellow);
}
.ds-tags-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 6px;
  min-height: 8px;
}
.ds-tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: lowercase;
  background: rgba(245, 197, 24, 0.1);
  border: 1px solid rgba(245, 197, 24, 0.22);
  color: var(--yellow);
}
.ds-publish-row {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  flex-wrap: wrap;
}
.ds-publish-row .ds-foot-btn {
  flex: 1;
  justify-content: center;
}

/* ── Shared small button (My Products page) ── */
.ds-btn-sm {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 10px;
  border-radius: 6px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: all 0.15s;
}
.ds-btn-sm:hover {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.28);
}
.ds-btn-sm.danger {
  color: var(--red);
}
.ds-btn-sm.primary {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}

/* ── Seller product card in shop ── */
.seller-product-card .product-img-wrap {
  position: relative;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .zs-mob-tabs {
    display: flex;
  }
  .zs-body {
    overflow: visible;
    flex-direction: column;
  }
  .zs-left {
    width: 100%;
    max-height: 200px;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  }
  .zs-canvas-area {
    min-height: 55vw;
  }
  .ds-details-wrap {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .ds-preview-col {
    position: static;
  }
  .seller-why-grid {
    grid-template-columns: 1fr 1fr;
  }
  .dash-stats {
    grid-template-columns: 1fr 1fr;
  }
  .dash-actions {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 600px) {
  .ds-prod-grid {
    grid-template-columns: repeat(auto-fill, minmax(95px, 1fr));
    gap: 8px;
  }
  .ds-step-panel {
    padding: 18px 12px;
  }
  .ds-step-foot {
    flex-wrap: wrap;
  }
  .ds-foot-btn {
    flex: 1;
    justify-content: center;
    padding: 10px 14px;
  }
  .ds-steps-bar .ds-step-item > span {
    display: none;
  }
  .ds-step-line {
    width: 14px;
    margin: 0 4px;
  }
  .zs-topbar {
    padding: 7px 10px;
    gap: 6px;
  }
  .zs-btn-upload,
  .zs-btn-text {
    padding: 8px 12px;
    font-size: 13px;
  }
  .zs-footer {
    padding: 8px 12px;
  }
  .zs-foot-btn {
    flex: 1;
    justify-content: center;
    padding: 10px 12px;
  }
  .zs-tb-actions {
    gap: 2px;
  }
}
@media (max-width: 480px) {
  .seller-why-grid {
    grid-template-columns: 1fr;
  }
  .dash-stats {
    grid-template-columns: 1fr 1fr;
  }
  .seller-products-grid {
    grid-template-columns: 1fr 1fr;
  }
  .ds-header {
    padding: 8px 10px;
  }
  .zs-left {
    max-height: 170px;
  }
}

/* ═══════ BUYER CUSTOMIZER ══════════════════════════════════ */
/* Header */
.bcu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px clamp(16px, 4vw, 48px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  position: sticky;
  top: 0;
  z-index: 100;
  background: #000;
}
.bcu-back {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.7);
  border-radius: 8px;
  padding: 7px 16px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    border-color 0.2s,
    color 0.2s,
    background 0.2s;
}
.bcu-back:hover {
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}
.bcu-header-title {
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
}

/* Main layout: flex row */
.bcu-layout {
  display: flex;
  gap: 0;
  height: calc(100vh - var(--nav-h) - 58px);
  overflow: hidden;
}

/* Studio column (left side, flexible) */
.bcu-studio-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}

/* Toolbar */
.bcu-toolbar {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  flex-shrink: 0;
  padding: 6px 10px;
  background: #0d0d0d;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.bcu-tb-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border-radius: 6px;
  cursor: pointer;
  background: rgba(244, 123, 32, 0.1);
  border: 1px solid rgba(244, 123, 32, 0.28);
  color: var(--orange);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition:
    background 0.2s,
    border-color 0.2s;
}
.bcu-tb-primary:hover {
  background: rgba(244, 123, 32, 0.2);
  border-color: rgba(244, 123, 32, 0.55);
}
.bcu-tbtn {
  width: 30px;
  height: 30px;
  border-radius: 5px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    background 0.18s,
    border-color 0.18s,
    color 0.18s;
}
.bcu-tbtn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--white);
}
.bcu-tbtn-del {
  border-color: rgba(232, 25, 44, 0.2);
  color: rgba(232, 25, 44, 0.5);
}
.bcu-tbtn-del:hover {
  background: rgba(232, 25, 44, 0.1);
  border-color: var(--red);
  color: var(--red);
}
.bcu-tb-sep {
  width: 1px;
  height: 22px;
  background: rgba(255, 255, 255, 0.08);
  margin: 0 4px;
  flex-shrink: 0;
}
.bcu-tb-div {
  width: 1px;
  height: 18px;
  background: rgba(255, 255, 255, 0.06);
  margin: 0 2px;
  flex-shrink: 0;
}
.bcu-tb-preview {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border-radius: 6px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.7);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition:
    background 0.2s,
    border-color 0.2s,
    color 0.2s;
}
.bcu-tb-preview:hover {
  border-color: var(--white);
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

/* Studio body: left panel + canvas */
.bcu-studio-body {
  flex: 1;
  display: flex;
  overflow: hidden;
  min-height: 0;
}

/* Left panel */
.bcu-left-panel {
  width: 256px;
  flex-shrink: 0;
  overflow-y: auto;
  background: #0a0a0a;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.08) transparent;
}
.bcu-left-panel::-webkit-scrollbar {
  width: 4px;
}
.bcu-left-panel::-webkit-scrollbar-track {
  background: transparent;
}
.bcu-left-panel::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}
.bcu-sec-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px 8px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.28);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.bcu-sec-hint {
  font-weight: 400;
  letter-spacing: 0;
  font-size: 10px;
  text-transform: none;
}

/* Layers list */
.bcu-layers-list {
  min-height: 60px;
  padding: 4px 0;
}
.bcu-empty-state {
  text-align: center;
  padding: 18px 14px;
  font-family: "Barlow", sans-serif;
  font-size: 12px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.22);
  line-height: 1.6;
}
.bcu-layer-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  cursor: pointer;
  transition: background 0.15s;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  border-left: 2px solid transparent;
}
.bcu-layer-item:hover {
  background: rgba(255, 255, 255, 0.04);
}
.bcu-layer-item.selected-layer {
  background: rgba(244, 123, 32, 0.06);
  border-left-color: var(--orange);
}
.bcu-layer-vis {
  font-size: 11px;
  cursor: pointer;
  flex-shrink: 0;
  line-height: 1;
}
.bcu-layer-icon {
  width: 20px;
  height: 20px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.5);
  flex-shrink: 0;
}
.bcu-layer-name {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-family: "Barlow", sans-serif;
  font-size: 12px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.6);
}

/* Props panels */
.bcu-props-empty {
  padding: 18px 14px;
  text-align: center;
}
.bcu-props-empty-txt {
  font-family: "Barlow", sans-serif;
  font-size: 12px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.2);
  line-height: 1.6;
}
.bcu-props-panel {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 6px;
}
.bcu-prop {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 7px 14px;
}
.bcu-prop > label {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
}
.bcu-prop textarea,
.bcu-prop input[type="text"],
.bcu-prop input[type="number"],
.bcu-prop select {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  padding: 6px 9px;
  color: var(--white);
  font-family: "Barlow", sans-serif;
  font-size: 13px;
  font-weight: 300;
  outline: none;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
  width: 100%;
  box-sizing: border-box;
}
.bcu-prop textarea:focus,
.bcu-prop input[type="text"]:focus,
.bcu-prop input[type="number"]:focus,
.bcu-prop select:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 2px rgba(244, 123, 32, 0.1);
}
.bcu-prop select {
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='11' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,.35)' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 9px center;
  padding-right: 26px;
}
.bcu-prop input[type="color"] {
  width: 34px;
  height: 28px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  padding: 2px;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
}
.bcu-prop-row {
  display: flex;
  gap: 8px;
  padding: 4px 14px 0;
}
.bcu-prop-row > .bcu-prop {
  flex: 1;
  padding: 4px 0;
}
.bcu-btn-grp {
  display: flex;
  gap: 3px;
  flex-wrap: wrap;
}
.bcu-btn-div {
  width: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 0 2px;
  flex-shrink: 0;
  align-self: stretch;
}
.bcu-prop-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  height: 26px;
  padding: 0 7px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
  cursor: pointer;
  transition:
    background 0.15s,
    border-color 0.15s,
    color 0.15s;
}
.bcu-prop-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}
.bcu-prop-btn.active {
  background: rgba(244, 123, 32, 0.12);
  border-color: var(--orange);
  color: var(--orange);
}
.bcu-range {
  width: 100%;
  accent-color: var(--orange);
  cursor: pointer;
}
.bcu-range-val {
  color: rgba(255, 255, 255, 0.4);
  font-weight: 300;
  font-size: 11px;
  text-transform: none;
  letter-spacing: 0;
}
.bcu-num-inp {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  padding: 5px 7px;
  color: var(--white);
  font-family: "Barlow", sans-serif;
  font-size: 12px;
  font-weight: 300;
  outline: none;
  box-sizing: border-box;
}
.bcu-num-inp:focus {
  border-color: var(--orange);
}

/* Canvas area */
.bcu-canvas-area {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-width: 0;
}
.bcu-canvas-scroller {
  flex: 1;
  overflow: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}
.bcu-canvas-holder {
  position: relative;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.6);
}
.bcu-canvas-holder canvas {
  display: block;
  width: 100%;
  height: 100%;
}
.bcu-canvas-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 7px 14px;
  background: #0d0d0d;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  flex-shrink: 0;
}
.bcu-canvas-info-lbl {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
}
.bcu-canvas-hint {
  font-family: "Barlow", sans-serif;
  font-size: 11px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.18);
}

/* Buyer panel (right side, fixed width) */
.bcu-panel {
  width: 360px;
  flex-shrink: 0;
  padding: clamp(16px, 2.5vw, 28px);
  display: flex;
  flex-direction: column;
  gap: 20px;
  overflow-y: auto;
  border-left: 1px solid rgba(255, 255, 255, 0.07);
}
.bcu-product-info {
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.bcu-product-name {
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 8px;
}
.bcu-product-price {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--orange);
}

/* Sections */
.bcu-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.bcu-section-label {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
}

/* Colors */
.bcu-colors {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.bcu-color-swatch {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid transparent;
  outline: 2px solid transparent;
  outline-offset: 3px;
  transition:
    transform 0.18s,
    outline-color 0.18s;
}
.bcu-color-swatch:hover {
  transform: scale(1.15);
}
.bcu-color-swatch.active {
  outline-color: var(--orange);
}

/* Sizes */
.bcu-sizes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.bcu-size-btn {
  min-width: 40px;
  padding: 7px 12px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.65);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition:
    border-color 0.2s,
    color 0.2s,
    background 0.2s;
}
.bcu-size-btn:hover {
  border-color: var(--orange);
  color: var(--orange);
}
.bcu-size-btn.active {
  border-color: var(--orange);
  background: rgba(244, 123, 32, 0.12);
  color: var(--white);
}

/* Quantity stepper */
.bcu-qty-row {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  width: fit-content;
  overflow: hidden;
}
.bcu-qty-btn {
  width: 42px;
  height: 42px;
  background: transparent;
  border: none;
  color: var(--white);
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s;
}
.bcu-qty-btn:hover {
  background: rgba(255, 255, 255, 0.08);
}
.bcu-qty-val {
  min-width: 42px;
  text-align: center;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0 6px;
  user-select: none;
}

/* Live total */
.bcu-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.bcu-total-label {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}
.bcu-total-val {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 26px;
  font-weight: 800;
  color: var(--white);
}

/* Action buttons */
.bcu-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.bcu-btn-cart {
  display: block;
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, var(--red) 0%, var(--orange) 100%);
  border: none;
  border-radius: var(--btn-radius);
  color: var(--white);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow:
    0 8px 22px rgba(244, 123, 32, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
  cursor: pointer;
  transition:
    box-shadow 0.3s var(--ease),
    transform 0.2s var(--ease),
    filter 0.2s;
}
.bcu-btn-cart:hover {
  box-shadow:
    0 12px 30px rgba(232, 25, 44, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  filter: saturate(1.08);
}
.bcu-actions-secondary {
  display: flex;
  gap: 10px;
}
.bcu-btn-save,
.bcu-btn-shop {
  flex: 1;
  padding: 12px;
  border-radius: var(--btn-radius);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    border-color 0.2s,
    color 0.2s,
    background 0.2s,
    transform 0.2s var(--ease);
}
.bcu-btn-save {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.65);
}
.bcu-btn-save:hover {
  border-color: var(--white);
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-1px);
}
.bcu-btn-shop {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.35);
}
.bcu-btn-shop:hover {
  border-color: rgba(255, 255, 255, 0.25);
  color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.045);
  transform: translateY(-1px);
}

/* Suggested strip */
.bcu-suggested {
  padding: clamp(32px, 4vw, 56px) clamp(16px, 4vw, 48px);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}
.bcu-suggested-title {
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(18px, 2.5vw, 26px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--white);
  margin-bottom: 20px;
}
.bcu-suggested-strip {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 12px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.1) transparent;
}
.bcu-suggested-strip::-webkit-scrollbar {
  height: 4px;
}
.bcu-suggested-strip::-webkit-scrollbar-track {
  background: transparent;
}
.bcu-suggested-strip::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 4px;
}
.bcu-card {
  flex: 0 0 160px;
  background: #0d0d0d;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  transition:
    border-color 0.2s,
    transform 0.2s;
}
.bcu-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
}
.bcu-card-img {
  height: 140px;
  overflow: hidden;
  position: relative;
}
.bcu-card-img .img-placeholder {
  width: 100%;
  height: 100%;
}
.bcu-card-info {
  padding: 10px 12px 4px;
}
.bcu-card-name {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.bcu-card-price {
  font-size: 12px;
  color: var(--orange);
  margin-top: 2px;
}
.bcu-card-cta {
  display: block;
  width: 100%;
  padding: 9px;
  border: none;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.65);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s;
}
.bcu-card-cta:hover {
  background: var(--red);
  color: var(--white);
}

/* Seller mockup preview modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(14px, 3vw, 32px);
  background: rgba(0, 0, 0, 0.84);
  backdrop-filter: blur(10px);
}
.modal-overlay.open {
  display: flex;
}
.modal-box {
  width: min(980px, 96vw);
  max-height: 92vh;
  overflow: hidden;
  background: #080808;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.62);
}
.mockup-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.mockup-modal-head h3 {
  margin: 0;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
}
.mockup-preview-badge {
  display: inline-flex;
  margin-top: 7px;
  padding: 5px 9px;
  border: 1px solid rgba(244, 123, 32, 0.35);
  background: rgba(244, 123, 32, 0.08);
  color: var(--orange);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.mockup-modal-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}
.mockup-download-btn,
.modal-icon-close {
  border-radius: var(--btn-radius);
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  cursor: pointer;
}
.mockup-download-btn {
  min-height: 38px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
  font-size: 12px;
}
.mockup-download-btn:hover {
  border-color: rgba(245, 197, 24, 0.68);
  color: var(--yellow);
}
.mockup-download-btn:disabled {
  opacity: 0.55;
  cursor: wait;
}
.modal-icon-close {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.72);
}
.modal-icon-close:hover {
  border-color: rgba(232, 25, 44, 0.58);
  background: rgba(232, 25, 44, 0.14);
  color: var(--white);
}
.mockup-preview-frame {
  position: relative;
  height: min(72vh, 760px);
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #050505;
}
.mockup-preview-frame img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}
.mockup-slide-btn {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 42px;
  height: 64px;
  transform: translateY(-50%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.58);
  color: var(--white);
  font-size: 42px;
  line-height: 1;
  cursor: pointer;
}
.mockup-slide-btn.prev {
  left: 14px;
}
.mockup-slide-btn.next {
  right: 14px;
}
.mockup-slide-btn:hover {
  border-color: rgba(245, 197, 24, 0.64);
  color: var(--yellow);
}

/* Responsive */
@media (max-width: 860px) {
  .mockup-modal-head {
    flex-direction: column;
  }
  .mockup-modal-actions {
    width: 100%;
    justify-content: space-between;
  }
  .mockup-download-btn {
    flex: 1;
  }
  .mockup-preview-frame {
    height: 64vh;
    min-height: 280px;
  }
  .bcu-layout {
    flex-direction: column;
    height: auto;
    overflow: visible;
  }
  .bcu-studio-col {
    height: auto;
  }
  .bcu-studio-body {
    flex-direction: column;
    min-height: 360px;
  }
  .bcu-left-panel {
    width: 100%;
    max-height: 220px;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }
  .bcu-canvas-area {
    min-height: 300px;
  }
  .bcu-panel {
    width: 100%;
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
  }
  .bcu-toolbar {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding: 6px 8px;
  }
}

