:root {
  --bg: #f6f8fc;
  --surface: #ffffff;
  --surface-strong: #010066;
  --text: #111827;
  --muted: #64748b;
  --line: #e2e8f0;
  --accent: #cc0001;
  --accent-strong: #9f0000;
  --accent-soft: #fee2e2;
  --blue: #010066;
  --blue-strong: #010044;
  --blue-soft: #edf1ff;
  --cyan: #010066;
  --warm: #ffcc00;
  --gold: #ffcc00;
  --shadow: 0 18px 52px rgba(1, 0, 102, 0.12);
}

/* Final compact CACE-style footer without social icons */
.site-footer {
  background:
    radial-gradient(circle at 12% 0%, rgba(242, 182, 50, 0.12), transparent 26%),
    linear-gradient(180deg, #061833 0%, #071f44 58%, #041226 100%) !important;
  border-top: 6px solid #f2b632 !important;
  color: #e8f1ff !important;
}

.site-footer::before {
  display: none !important;
}

.site-footer .footer-brand {
  background: rgba(255, 255, 255, 0.045) !important;
  border: 1px solid rgba(216, 231, 255, 0.14) !important;
  box-shadow: none !important;
}

.site-footer .footer-logo .brand-text {
  color: #ffffff !important;
  text-shadow: none !important;
}

.site-footer .footer-brand > div span {
  color: #c9d7ec !important;
}

.site-footer .footer-brand > div a {
  color: #f5c95a !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

.site-footer .footer-links > span,
.site-footer .footer-social > span,
.site-footer .footer-company > span {
  color: #ffffff !important;
}

.site-footer .footer-links a,
.site-footer .footer-social a,
.site-footer .footer-company a {
  color: #d6e2f5 !important;
  font-size: 0.95rem !important;
  font-weight: 820 !important;
  line-height: 1.35 !important;
  text-decoration: none !important;
}

.site-footer .footer-links a:hover,
.site-footer .footer-social a:hover,
.site-footer .footer-company a:hover {
  color: #f5c95a !important;
}

.site-footer .footer-social {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 8px !important;
}

.site-footer .footer-social > span {
  grid-column: 1 / -1 !important;
}

.site-footer .footer-social a {
  align-items: center !important;
  background: rgba(255, 255, 255, 0.07) !important;
  border: 1px solid rgba(216, 231, 255, 0.14) !important;
  border-radius: 999px !important;
  color: #e8f1ff !important;
  display: inline-flex !important;
  justify-content: center !important;
  min-height: 36px !important;
  padding: 0 10px !important;
  white-space: nowrap !important;
}

.site-footer .social-icon {
  display: none !important;
}

.site-footer .footer-copy {
  border-top-color: rgba(216, 231, 255, 0.14) !important;
  color: #aebbd0 !important;
}

@media (max-width: 640px) {
  .site-footer {
    background:
      radial-gradient(circle at 0% 0%, rgba(242, 182, 50, 0.12), transparent 30%),
      linear-gradient(180deg, #071f44 0%, #061833 58%, #041226 100%) !important;
    display: grid !important;
    gap: 18px 16px !important;
    grid-template-columns: 1fr 1fr !important;
    padding: 24px 16px 96px !important;
    text-align: left !important;
  }

  .site-footer .footer-brand,
  .site-footer .footer-social,
  .site-footer .footer-copy {
    grid-column: 1 / -1 !important;
  }

  .site-footer .footer-brand,
  .site-footer .footer-links,
  .site-footer .footer-social,
  .site-footer .footer-company,
  .site-footer .footer-copy {
    margin: 0 !important;
    max-width: none !important;
    text-align: left !important;
    width: 100% !important;
  }

  .site-footer .footer-brand {
    border-radius: 20px !important;
    display: grid !important;
    gap: 12px !important;
    justify-items: start !important;
    padding: 16px !important;
  }

  .site-footer .footer-logo {
    gap: 10px !important;
    justify-content: flex-start !important;
    width: auto !important;
  }

  .site-footer .footer-logo .brand-logo {
    height: 44px !important;
    width: 44px !important;
  }

  .site-footer .footer-logo .brand-text {
    font-size: 1rem !important;
    letter-spacing: 0.16em !important;
  }

  .site-footer .footer-brand > div {
    justify-items: start !important;
    text-align: left !important;
  }

  .site-footer .footer-brand > div span {
    font-size: 0.9rem !important;
    line-height: 1.5 !important;
  }

  .site-footer .footer-brand > div a {
    font-size: 0.9rem !important;
    text-transform: none !important;
  }

  .site-footer .footer-links,
  .site-footer .footer-company {
    display: grid !important;
    gap: 7px !important;
    grid-template-columns: 1fr !important;
    justify-items: start !important;
  }

  .site-footer .footer-links {
    grid-column: 1 !important;
    grid-row: 2 !important;
  }

  .site-footer .footer-company {
    grid-column: 2 !important;
    grid-row: 2 !important;
  }

  .site-footer .footer-social {
    display: grid !important;
    gap: 8px !important;
    grid-column: 1 / -1 !important;
    grid-row: 3 !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    justify-items: stretch !important;
  }

  .site-footer .footer-links > span,
  .site-footer .footer-social > span,
  .site-footer .footer-company > span {
    color: #ffffff !important;
    font-size: 1rem !important;
    letter-spacing: 0 !important;
    margin: 0 0 2px !important;
    text-transform: none !important;
  }

  .site-footer .footer-links a,
  .site-footer .footer-company a {
    font-size: 0.93rem !important;
  }

  .site-footer .footer-social a {
    font-size: 0.78rem !important;
    min-height: 36px !important;
    padding: 0 7px !important;
  }

  .site-footer .footer-copy {
    font-size: 0.82rem !important;
    line-height: 1.45 !important;
    padding-top: 14px !important;
  }
}

/* Final CACE-inspired dark Photora footer */
.site-footer {
  background:
    radial-gradient(circle at 12% 0%, rgba(242, 182, 50, 0.12), transparent 26%),
    linear-gradient(180deg, #061833 0%, #071f44 58%, #05162f 100%) !important;
  border-top: 6px solid #f2b632 !important;
  color: #e8f1ff !important;
}

.site-footer::before {
  display: none !important;
}

.site-footer .footer-brand {
  border: 1px solid rgba(216, 231, 255, 0.14) !important;
  background: rgba(255, 255, 255, 0.045) !important;
  box-shadow: none !important;
}

.site-footer .footer-logo .brand-text {
  color: #ffffff !important;
  text-shadow: none !important;
}

.site-footer .footer-brand > div span {
  color: #c9d7ec !important;
}

.site-footer .footer-brand > div a {
  color: #f5c95a !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

.site-footer .footer-links > span,
.site-footer .footer-social > span,
.site-footer .footer-company > span {
  color: #ffffff !important;
}

.site-footer .footer-links a,
.site-footer .footer-company a {
  color: #d6e2f5 !important;
}

.site-footer .footer-links a:hover,
.site-footer .footer-company a:hover {
  color: #f5c95a !important;
}

.site-footer .footer-social {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
}

.site-footer .footer-social > span {
  flex: 0 0 100% !important;
}

.site-footer .footer-social a,
.site-footer .footer-social .footer-social-button {
  display: inline-grid !important;
  width: 42px !important;
  min-width: 42px !important;
  height: 42px !important;
  min-height: 42px !important;
  place-items: center !important;
  padding: 0 !important;
  border: 1px solid rgba(216, 231, 255, 0.16) !important;
  border-radius: 13px !important;
  background: rgba(255, 255, 255, 0.09) !important;
  color: #ffffff !important;
  font-size: 0 !important;
  text-decoration: none !important;
}

.site-footer .social-icon {
  display: inline-grid !important;
  width: 100% !important;
  height: 100% !important;
  place-items: center !important;
  color: #ffffff !important;
  font-size: 0.88rem !important;
  font-weight: 950 !important;
  line-height: 1 !important;
}

.site-footer .footer-social a:hover {
  border-color: rgba(245, 201, 90, 0.48) !important;
  background: rgba(245, 201, 90, 0.16) !important;
}

.site-footer .footer-copy {
  border-top-color: rgba(216, 231, 255, 0.14) !important;
  color: #aebbd0 !important;
}

@media (max-width: 640px) {
  .site-footer {
    gap: 18px !important;
    padding: 24px 16px 96px !important;
    background:
      radial-gradient(circle at 0% 0%, rgba(242, 182, 50, 0.12), transparent 30%),
      linear-gradient(180deg, #071f44 0%, #061833 58%, #041226 100%) !important;
    text-align: left !important;
  }

  .site-footer .footer-brand,
  .site-footer .footer-links,
  .site-footer .footer-social,
  .site-footer .footer-company,
  .site-footer .footer-copy {
    width: 100% !important;
    max-width: 360px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: left !important;
  }

  .site-footer .footer-brand {
    display: grid !important;
    justify-items: start !important;
    gap: 14px !important;
    padding: 16px !important;
    border-radius: 20px !important;
  }

  .site-footer .footer-logo {
    justify-content: flex-start !important;
    width: auto !important;
  }

  .site-footer .footer-logo .brand-logo {
    width: 46px !important;
    height: 46px !important;
  }

  .site-footer .footer-logo .brand-text {
    color: #ffffff !important;
    font-size: 1rem !important;
    letter-spacing: 0.18em !important;
  }

  .site-footer .footer-brand > div {
    justify-items: start !important;
    text-align: left !important;
  }

  .site-footer .footer-brand > div span {
    color: #c9d7ec !important;
    font-size: 0.92rem !important;
    line-height: 1.52 !important;
  }

  .site-footer .footer-brand > div a {
    color: #f5c95a !important;
    font-size: 0.92rem !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
  }

  .site-footer .footer-links,
  .site-footer .footer-company {
    display: grid !important;
    grid-template-columns: 1fr !important;
    justify-items: start !important;
    gap: 8px !important;
  }

  .site-footer .footer-social {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: flex-start !important;
    gap: 10px !important;
  }

  .site-footer .footer-links > span,
  .site-footer .footer-social > span,
  .site-footer .footer-company > span {
    margin: 0 0 3px !important;
    color: #ffffff !important;
    font-size: 1rem !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
  }

  .site-footer .footer-links a,
  .site-footer .footer-company a {
    color: #d6e2f5 !important;
    font-size: 0.95rem !important;
    line-height: 1.4 !important;
  }

  .site-footer .footer-copy {
    padding-top: 16px !important;
    color: #aebbd0 !important;
  }
}

/* Final compact CACE-style footer without social icons */
.site-footer {
  background:
    radial-gradient(circle at 12% 0%, rgba(242, 182, 50, 0.12), transparent 26%),
    linear-gradient(180deg, #061833 0%, #071f44 58%, #041226 100%) !important;
  border-top: 6px solid #f2b632 !important;
  color: #e8f1ff !important;
}

.site-footer::before {
  display: none !important;
}

.site-footer .footer-brand {
  background: rgba(255, 255, 255, 0.045) !important;
  border: 1px solid rgba(216, 231, 255, 0.14) !important;
  box-shadow: none !important;
}

.site-footer .footer-logo .brand-text {
  color: #ffffff !important;
  text-shadow: none !important;
}

.site-footer .footer-brand > div span {
  color: #c9d7ec !important;
}

.site-footer .footer-brand > div a {
  color: #f5c95a !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

.site-footer .footer-links > span,
.site-footer .footer-social > span,
.site-footer .footer-company > span {
  color: #ffffff !important;
}

.site-footer .footer-links a,
.site-footer .footer-social a,
.site-footer .footer-company a {
  color: #d6e2f5 !important;
  font-size: 0.95rem !important;
  font-weight: 820 !important;
  line-height: 1.35 !important;
  text-decoration: none !important;
}

.site-footer .footer-links a:hover,
.site-footer .footer-social a:hover,
.site-footer .footer-company a:hover {
  color: #f5c95a !important;
}

.site-footer .footer-social {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 8px !important;
}

.site-footer .footer-social > span {
  grid-column: 1 / -1 !important;
}

.site-footer .footer-social a,
.site-footer .footer-social .footer-social-button {
  align-items: center !important;
  background: rgba(255, 255, 255, 0.07) !important;
  border: 1px solid rgba(216, 231, 255, 0.14) !important;
  border-radius: 999px !important;
  color: #e8f1ff !important;
  display: inline-flex !important;
  font-size: 0.84rem !important;
  height: auto !important;
  justify-content: center !important;
  min-height: 36px !important;
  min-width: 0 !important;
  padding: 0 10px !important;
  white-space: nowrap !important;
  width: auto !important;
}

.site-footer .social-icon {
  display: none !important;
}

.site-footer .footer-copy {
  border-top-color: rgba(216, 231, 255, 0.14) !important;
  color: #aebbd0 !important;
}

@media (max-width: 640px) {
  .site-footer {
    background:
      radial-gradient(circle at 0% 0%, rgba(242, 182, 50, 0.12), transparent 30%),
      linear-gradient(180deg, #071f44 0%, #061833 58%, #041226 100%) !important;
    display: grid !important;
    gap: 18px 16px !important;
    grid-template-columns: 1fr 1fr !important;
    padding: 24px 16px 96px !important;
    text-align: left !important;
  }

  .site-footer .footer-brand,
  .site-footer .footer-social,
  .site-footer .footer-copy {
    grid-column: 1 / -1 !important;
  }

  .site-footer .footer-brand,
  .site-footer .footer-links,
  .site-footer .footer-social,
  .site-footer .footer-company,
  .site-footer .footer-copy {
    margin: 0 !important;
    max-width: none !important;
    text-align: left !important;
    width: 100% !important;
  }

  .site-footer .footer-brand {
    border-radius: 20px !important;
    display: grid !important;
    gap: 12px !important;
    justify-items: start !important;
    padding: 16px !important;
  }

  .site-footer .footer-logo {
    gap: 10px !important;
    justify-content: flex-start !important;
    width: auto !important;
  }

  .site-footer .footer-logo .brand-logo {
    height: 44px !important;
    width: 44px !important;
  }

  .site-footer .footer-logo .brand-text {
    font-size: 1rem !important;
    letter-spacing: 0.16em !important;
  }

  .site-footer .footer-brand > div {
    justify-items: start !important;
    text-align: left !important;
  }

  .site-footer .footer-brand > div span {
    font-size: 0.9rem !important;
    line-height: 1.5 !important;
  }

  .site-footer .footer-brand > div a {
    font-size: 0.9rem !important;
    text-transform: none !important;
  }

  .site-footer .footer-links,
  .site-footer .footer-company {
    display: grid !important;
    gap: 7px !important;
    grid-template-columns: 1fr !important;
    justify-items: start !important;
  }

  .site-footer .footer-social {
    display: grid !important;
    gap: 8px !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    justify-items: stretch !important;
  }

  .site-footer .footer-links > span,
  .site-footer .footer-social > span,
  .site-footer .footer-company > span {
    font-size: 1rem !important;
    letter-spacing: 0 !important;
    margin: 0 0 2px !important;
    text-transform: none !important;
  }

  .site-footer .footer-links a,
  .site-footer .footer-company a {
    font-size: 0.93rem !important;
  }

  .site-footer .footer-social a,
  .site-footer .footer-social .footer-social-button {
    border-color: rgba(216, 231, 255, 0.18) !important;
    color: #e8f1ff !important;
    font-size: 0.78rem !important;
    min-height: 36px !important;
    padding: 0 7px !important;
  }

  .site-footer .footer-copy {
    font-size: 0.82rem !important;
    line-height: 1.45 !important;
    padding-top: 14px !important;
  }
}

/* Align mobile footer sections with brand-card content */
@media (max-width: 640px) {
  .site-footer .footer-brand {
    max-width: 360px !important;
  }

  .site-footer .footer-links,
  .site-footer .footer-social,
  .site-footer .footer-company,
  .site-footer .footer-copy {
    max-width: 328px !important;
  }

  .site-footer .footer-copy {
    margin-top: 0 !important;
  }
}

/* Minimal portal dashboard refresh */
.dashboard.page-section.active {
  background: #f4f6fa !important;
}

.portal-shell {
  grid-template-columns: 256px minmax(0, 1fr);
  min-height: calc(100vh - 76px);
  background: #f4f6fa;
}

.portal-sidebar {
  top: 76px;
  gap: 18px;
  padding: 24px 14px;
  border-right: 1px solid #e2e8f0;
  background: #fff;
  box-shadow: none;
}

.portal-logo {
  min-height: 58px;
  padding: 0 10px;
}

.portal-logo .brand-mark {
  width: 46px;
  height: 46px;
}

.sidebar-kicker {
  margin: 22px 12px 4px;
  color: #9aa3b2;
  font-size: 0.74rem;
  letter-spacing: 0.18em;
}

.portal-menu {
  gap: 10px;
}

.portal-menu a {
  min-height: 52px;
  padding: 0 18px;
  border-radius: 10px;
  color: #596273;
  font-size: 0.98rem;
}

.portal-menu a.active,
.portal-menu a:hover {
  background: #5548ea;
  color: #fff;
  box-shadow: 0 12px 24px rgba(85, 72, 234, 0.2);
}

.portal-account {
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 2px 12px;
  align-items: center;
  padding: 16px 12px;
  border-top: 1px solid #eef2f7;
  border-radius: 0;
  background: transparent;
}

.portal-avatar {
  grid-row: span 3;
  width: 52px;
  border-radius: 999px;
  aspect-ratio: 1;
}

#roleBadge {
  width: fit-content;
  min-height: auto;
  padding: 4px 8px;
  border-radius: 999px;
  background: #eef2ff;
  color: #5548ea;
  font-size: 0.68rem;
}

.portal-account strong,
.portal-account small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.logout-button {
  grid-column: 1 / -1;
  margin-top: 14px;
  min-height: 48px;
  border-radius: 10px;
  background: #fff1f2;
  color: #dc2626;
}

.portal-main {
  gap: 22px;
  padding: 24px clamp(18px, 3vw, 46px) 56px;
}

.portal-topbar {
  min-height: 74px;
  padding: 0 0 18px;
  border-bottom: 1px solid #e5e7eb;
}

.portal-search {
  min-height: 54px;
  width: min(440px, 100%);
  border-radius: 12px;
}

.portal-actions span {
  min-height: 42px;
  background: #fff;
  color: #64748b;
  border: 1px solid #e5e7eb;
}

.portal-heading {
  align-items: end;
}

.portal-heading h2 {
  margin: 18px 0 8px;
  font-size: clamp(2rem, 3.4vw, 3rem);
  letter-spacing: 0;
}

.portal-heading p {
  color: #687386;
}

.breadcrumb-pills span {
  min-height: 38px;
  padding: 0 18px;
  border-radius: 999px;
  background: #fff;
  color: #64748b;
  letter-spacing: 0.14em;
}

.breadcrumb-pills span:last-child {
  background: #eef2ff;
  color: #5548ea;
}

.dashboard-module-nav {
  position: static;
  padding: 10px;
  border: 0;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.04);
}

.dashboard-module-nav a {
  min-height: 44px;
  padding: 0 18px;
}

.dashboard-module-nav a:hover,
.dashboard-module-nav a.active {
  background: #5548ea;
  color: #fff;
}

.dashboard-module {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.module-title,
.role-panel-heading,
.table-heading {
  margin-bottom: 14px;
}

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

.portal-shell .dashboard-grid article,
.sales-strip article,
.finance-card,
.management-card,
.settings-form,
.portal-card,
.scan-panel,
.news-composer {
  border: 1px solid #e8edf5;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.035);
}

.portal-shell .dashboard-grid article {
  min-height: 148px;
  padding: 28px;
}

.portal-shell .dashboard-grid strong {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
}

.portal-shell .dashboard-grid article:nth-child(2) strong {
  color: #2f855a;
}

.portal-shell .dashboard-grid article:nth-child(3) strong {
  color: #2b6cb0;
}

.portal-shell .dashboard-grid article:nth-child(4) strong {
  color: #be123c;
}

.sales-strip {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 18px;
}

.role-dashboard-grid {
  grid-template-columns: minmax(280px, 0.9fr) minmax(280px, 0.9fr) minmax(260px, 0.7fr);
}

.management-grid {
  gap: 18px;
}

.scan-panel.app-scanner {
  grid-template-columns: 190px minmax(220px, 1fr) minmax(210px, 0.85fr) minmax(210px, 0.85fr) auto;
  gap: 14px;
  align-items: center;
  border-radius: 22px;
  padding: 18px;
  background: linear-gradient(135deg, #ffffff 0%, #f7f9ff 52%, #fff8ed 100%);
}

@media (max-width: 980px) {
  .listing-info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .listing-info-grid,
  .wallet-topup-form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 980px) {
  .portal-shell {
    grid-template-columns: 1fr;
  }

  .portal-sidebar {
    position: static;
    height: auto;
  }

  .portal-account {
    border-radius: 16px;
    background: #f8fafc;
  }

  .portal-shell .dashboard-grid,
  .sales-strip,
  .role-dashboard-grid,
  .verify-layout {
    grid-template-columns: 1fr;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
  padding-bottom: 82px;
}

button,
input,
select,
textarea {
  font: inherit;
}

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

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 12px;
  padding: 10px clamp(14px, 4vw, 44px);
  border-bottom: 1px solid rgba(1, 0, 102, 0.08);
  background: rgba(246, 248, 252, 0.92);
  backdrop-filter: blur(18px);
}

.login-mode .topbar {
  position: static;
  grid-template-columns: 1fr auto;
  min-height: 56px;
  padding-top: 8px;
  padding-bottom: 8px;
}

.login-mode .nav-links,
.login-mode .search-button,
.login-mode .account-button {
  display: none;
}

.login-mode .site-footer,
.login-mode .chat-widget {
  display: none;
}

.brand,
.nav-links,
.search-button,
.menu-toggle,
.hero-actions,
.featured-info,
.stats-strip,
.market-controls,
.form-row,
.cms-tabs,
.table-heading,
.tool-list,
.payment-methods,
.policy-tags {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
  font-size: 1.1rem;
}

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 12px;
  background: var(--blue);
  color: var(--gold);
  overflow: hidden;
}

.brand-mark.image-mark {
  background: #0b1020;
  color: transparent;
  box-shadow: 0 8px 18px rgba(2, 6, 23, 0.12);
}

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

.nav-links {
  justify-content: center;
  gap: 6px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 600;
}

.nav-links a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 11px;
  border-radius: 999px;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-links a.active {
  background: var(--blue);
  color: white;
}

.basket-nav {
  position: relative;
  gap: 7px;
}

.basket-nav b {
  min-width: 20px;
  height: 20px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: #c6281d;
  color: #fff;
  font-size: 0.72rem;
  line-height: 1;
}

.basket-nav b[hidden] {
  display: none;
}

.page-section {
  display: none !important;
  scroll-margin-top: 92px;
}

.page-section.active {
  display: block !important;
}

.hero.page-section.active,
.upload-panel.page-section.active {
  display: grid !important;
}

.search-button,
.account-button,
.menu-toggle,
.primary-action,
.secondary-action {
  min-height: 44px;
  border-radius: 8px;
  border: 0;
  cursor: pointer;
  font-weight: 750;
}

.menu-toggle {
  display: none;
  justify-content: center;
  padding: 0 14px;
  background: var(--surface);
  color: var(--blue);
  border: 1px solid var(--line);
}

.search-button {
  gap: 9px;
  min-height: 40px;
  padding: 0 14px;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--line);
}

.account-button {
  min-height: 40px;
  padding: 0 14px;
  background: var(--accent);
  color: white;
}

.search-button.connected {
  background: var(--blue-soft);
  border-color: rgba(37, 99, 235, 0.28);
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
}

.connected .status-dot {
  background: #16a34a;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 1.05fr);
  gap: clamp(20px, 4vw, 48px);
  align-items: center;
  min-height: auto;
  padding: clamp(24px, 5vw, 52px) clamp(14px, 5vw, 56px);
}

.hero-copy {
  max-width: 740px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 14px;
  font-size: clamp(2rem, 5vw, 4.3rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 10px;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.hero-text {
  max-width: 640px;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.62;
}

.hero-actions {
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
}

.primary-action {
  background: var(--accent);
  color: white;
}

.primary-action:hover {
  background: var(--accent-strong);
}

.secondary-action {
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--blue);
}

.hero-showcase {
  min-width: 0;
}

.featured-photo {
  overflow: hidden;
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.featured-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.featured-info {
  justify-content: space-between;
  gap: 16px;
  padding: 18px;
}

.featured-info strong {
  display: block;
  margin-top: 4px;
  font-size: 1.08rem;
}

.muted {
  color: var(--muted);
  font-size: 0.86rem;
}

.price-pill,
.tag {
  white-space: nowrap;
  border-radius: 999px;
  font-weight: 800;
}

.price-pill {
  padding: 10px 12px;
  background: #fef3c7;
  color: #92400e;
}

.stats-strip {
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.58);
}

.stats-strip span {
  color: var(--muted);
  font-size: 0.9rem;
}

.stats-strip strong {
  display: block;
  color: var(--text);
  font-size: 1.15rem;
}

.section,
.upload-panel {
  padding: 28px clamp(14px, 5vw, 56px);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 24px;
}

.discover-header,
.discover-search,
.mini-section-heading {
  display: flex;
  align-items: center;
}

.discover-header {
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
}

.discover-tabs {
  display: flex;
  gap: 6px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
}

.discover-tabs button,
.category-pills button {
  border: 0;
  cursor: pointer;
  font-weight: 850;
}

.discover-tabs button {
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
}

.discover-tabs button.active {
  background: var(--surface-strong);
  color: white;
}

.discover-search {
  gap: 12px;
  margin-bottom: 14px;
}

.discover-search .search-box {
  flex: 1;
}

.discover-search .search-box input {
  min-height: 50px;
  border-radius: 16px;
  font-size: 1rem;
}

.discover-search .select-box {
  min-width: 220px;
}

.category-pills {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 0 14px;
  scrollbar-width: none;
}

.category-pills::-webkit-scrollbar {
  display: none;
}

.category-pills button {
  min-height: 38px;
  white-space: nowrap;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--line);
}

.category-pills button.active {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}

.market-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 14px;
  margin: 4px 0 20px;
}

.mini-section-heading {
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.mini-section-heading h3 {
  margin: 0;
  font-size: 1.12rem;
}

.mini-section-heading a,
.mini-section-heading span {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 850;
  text-decoration: none;
}

.collection-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.collection-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.07);
}

.collection-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.collection-card div {
  display: grid;
  gap: 5px;
  padding: 12px;
}

.collection-card span {
  color: var(--muted);
  font-size: 0.86rem;
}

.trending-board {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.07);
}

.trending-board ol {
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.trending-board li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}

.trending-board li:first-child {
  border-top: 0;
}

.trending-board strong {
  color: var(--cyan);
}

.item-heading {
  margin-top: 8px;
}

.market-controls {
  gap: 12px;
  flex-wrap: wrap;
  justify-content: end;
}

.search-box,
.select-box,
.upload-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.search-box input,
.select-box select,
.upload-form input,
.upload-form select,
.upload-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  outline: none;
}

.search-box input,
.select-box select {
  min-height: 44px;
  padding: 0 13px;
}

.search-box input {
  min-width: min(340px, 76vw);
}

.authenticity-banner {
  display: grid;
  grid-template-columns: minmax(180px, 0.35fr) minmax(260px, 1fr) minmax(260px, 0.8fr);
  gap: 18px;
  align-items: center;
  margin-bottom: 22px;
  padding: 14px;
  border: 1px solid rgba(37, 99, 235, 0.18);
  border-radius: 16px;
  background: var(--blue-soft);
}

.authenticity-banner strong {
  display: block;
  margin-top: 6px;
  color: var(--blue-strong);
  font-size: 1.4rem;
}

.authenticity-banner p {
  margin: 0;
  color: var(--blue-strong);
  line-height: 1.6;
}

.policy-tags {
  gap: 8px;
  flex-wrap: wrap;
  justify-content: end;
}

.policy-tags span {
  padding: 8px 10px;
  border-radius: 999px;
  background: var(--surface);
  color: var(--blue-strong);
  font-size: 0.78rem;
  font-weight: 800;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.app-download-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.34fr);
  gap: 24px;
  align-items: center;
  margin-top: 34px;
  padding: clamp(22px, 4vw, 38px);
  border: 1px solid #dbeafe;
  border-radius: 30px;
  background:
    radial-gradient(circle at 84% 8%, rgba(245, 158, 11, 0.2), transparent 30%),
    linear-gradient(135deg, #eff6ff 0%, #ffffff 54%, #fff7ed 100%);
  box-shadow: 0 28px 80px rgba(37, 99, 235, 0.12);
}

.app-download-copy h3 {
  margin: 8px 0 10px;
  color: #071536;
  font-family: var(--display-font);
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
}

.app-download-copy p {
  max-width: 720px;
  margin: 0;
  color: #475569;
  line-height: 1.7;
}

.app-download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 22px 0 10px;
}

.app-download-actions .primary-action,
.app-download-actions .secondary-action {
  min-height: 50px;
  border-radius: 14px;
  font-weight: 900;
  text-decoration: none;
}

.app-download-actions .secondary-action:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.app-download-copy small {
  color: #64748b;
  font-weight: 700;
}

.app-download-card {
  justify-self: end;
  width: min(100%, 260px);
  padding: 18px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 22px 50px rgba(15, 23, 42, 0.14);
}

.app-download-card img {
  display: block;
  width: 100%;
  border-radius: 24px;
  box-shadow: 0 16px 28px rgba(15, 23, 42, 0.16);
}

.app-download-card span,
.app-download-card strong {
  display: block;
}

.app-download-card span {
  margin-top: 14px;
  color: #64748b;
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.app-download-card strong {
  margin-top: 4px;
  color: #071536;
  font-size: 1.1rem;
}

.photo-card {
  overflow: hidden;
  border: 1px solid rgba(37, 99, 235, 0.1);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

.empty-state {
  grid-column: 1 / -1;
  margin: 0;
  padding: 28px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.62);
  color: var(--muted);
  font-weight: 700;
  text-align: center;
}

.photo-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.photo-card-body {
  display: grid;
  gap: 12px;
  padding: 14px;
}

.card-top,
.card-bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.card-top {
  align-items: start;
}

.card-title {
  margin: 0 0 4px;
  font-size: 1rem;
  line-height: 1.25;
}

.creator {
  color: var(--muted);
  font-size: 0.86rem;
}

.tag {
  padding: 7px 9px;
  background: var(--blue-soft);
  color: var(--blue-strong);
  font-size: 0.72rem;
}

.card-bottom {
  align-items: center;
}

.card-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: end;
}

.asset-qr-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 9px;
}

.asset-qr-tools a {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border: 1px solid #dbe3ef;
  border-radius: 999px;
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 900;
}

.card-bottom button {
  min-height: 38px;
  padding: 0 12px;
  border: 0;
  border-radius: 8px;
  background: var(--surface-strong);
  color: white;
  cursor: pointer;
  font-weight: 800;
}

.card-bottom .fiat-button {
  background: var(--cyan);
}

.checkout-section {
  background: #f1f5f9;
}

body.cart-checkout-mode #cart {
  display: none !important;
}

body.cart-checkout-mode #checkout {
  display: block !important;
}

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: clamp(22px, 4vw, 56px);
  align-items: start;
}

.checkout-copy p {
  max-width: 720px;
  color: var(--muted);
  line-height: 1.75;
}

.payment-methods {
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.payment-methods span {
  padding: 10px 12px;
  border-radius: 999px;
  background: var(--surface);
  color: var(--blue-strong);
  font-size: 0.86rem;
  font-weight: 800;
  border: 1px solid var(--line);
}

.checkout-card {
  display: grid;
  gap: 14px;
  padding: 20px;
  border-radius: 18px;
  background: var(--surface);
  box-shadow: 0 18px 50px rgba(31, 35, 47, 0.12);
}

.checkout-card strong {
  font-size: 1.45rem;
  line-height: 1.2;
}

.checkout-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.checkout-row b {
  color: var(--text);
}

.checkout-items {
  display: grid;
  gap: 8px;
}

.checkout-item {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f8fafc;
}

.checkout-item img {
  width: 52px;
  height: 44px;
  border-radius: 8px;
  object-fit: cover;
}

.checkout-item strong,
.checkout-item span {
  display: block;
}

.checkout-item strong {
  font-size: 0.9rem;
}

.checkout-item span {
  color: var(--muted);
  font-size: 0.78rem;
}

.checkout-item b {
  font-size: 0.88rem;
  white-space: nowrap;
}

.checkout-card label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.checkout-card select,
.checkout-card input {
  min-height: 46px;
  width: 100%;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
}

.checkout-buyer-grid {
  display: grid;
  gap: 12px;
}

.receipt-links {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(12, 19, 43, 0.04);
}

.receipt-links a {
  color: var(--blue-strong);
  font-weight: 900;
}

.checkout-success {
  display: grid;
  gap: 6px;
  padding: 14px;
  border: 1px solid rgba(34, 197, 94, 0.28);
  border-radius: 14px;
  background: rgba(34, 197, 94, 0.1);
}

.checkout-success span {
  color: #15803d;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.checkout-success strong {
  color: #14532d;
  font-size: 1rem;
}

.checkout-success p {
  margin: 0;
  color: #166534;
  line-height: 1.45;
}

.upload-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 0.68fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: start;
  background: #f1f5f9;
}

.upload-copy p {
  max-width: 680px;
  color: var(--muted);
  line-height: 1.7;
}

.upload-explainer {
  display: grid;
  gap: 10px;
  max-width: 720px;
  margin: 22px 0 0;
  padding: 18px;
  border: 1px solid rgba(37, 99, 235, 0.16);
  border-radius: 18px;
  background: linear-gradient(135deg, #ffffff 0%, #eff6ff 100%);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.06);
}

.upload-explainer strong {
  color: #071536;
  font-size: 1rem;
}

.upload-explainer p {
  margin: 0;
  color: #475569;
}

.upload-explainer a {
  width: fit-content;
  color: var(--brand-blue);
  font-weight: 900;
}

.trust-list {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.trust-list li {
  padding: 14px 16px;
  border-left: 4px solid var(--accent);
  background: rgba(255, 255, 255, 0.72);
  border-radius: 0 8px 8px 0;
  color: #334155;
}

.upload-form {
  display: grid;
  gap: 14px;
  padding: 18px;
  border-radius: 18px;
  background: var(--surface);
  box-shadow: 0 18px 50px rgba(31, 35, 47, 0.12);
}

.form-row {
  gap: 14px;
}

.form-row label {
  flex: 1;
}

.upload-form input,
.upload-form select {
  min-height: 46px;
  padding: 0 13px;
}

.upload-form textarea {
  min-height: 110px;
  resize: vertical;
  padding: 12px 13px;
}

.full {
  width: 100%;
}

.form-note {
  min-height: 20px;
  margin: 0;
  color: var(--accent-strong);
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.55;
}

.subscription-section {
  background: #ffffff;
}

.subscription-section .section-heading {
  align-items: end;
}

.subscription-section .section-heading > p {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.subscription-status-card {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  margin: 0 0 22px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: #f8fafc;
}

.subscription-status-card span,
.plan-kicker {
  display: block;
  color: #64748b;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.subscription-status-card strong {
  display: block;
  margin-top: 6px;
  color: #071536;
  font-size: clamp(1.35rem, 3vw, 2rem);
}

.subscription-status-card p {
  margin: 6px 0 0;
  color: #64748b;
}

.subscription-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
}

.plan-card {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.06);
}

.plan-card h3 {
  margin: 0;
  color: #071536;
  font-size: 1.35rem;
}

.plan-card > strong {
  color: var(--brand-blue);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
}

.plan-card p {
  margin: 0;
  color: #64748b;
  line-height: 1.6;
}

.plan-card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.plan-card li {
  position: relative;
  padding-left: 22px;
  color: #334155;
  line-height: 1.45;
}

.plan-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
}

.featured-plan {
  border-color: rgba(37, 99, 235, 0.42);
  background: linear-gradient(180deg, #eff6ff 0%, #ffffff 50%);
  box-shadow: 0 24px 60px rgba(37, 99, 235, 0.14);
}

.monthly-plan {
  border-color: rgba(245, 158, 11, 0.36);
  background: linear-gradient(180deg, #fff7ed 0%, #ffffff 54%);
  box-shadow: 0 24px 60px rgba(245, 158, 11, 0.12);
}

.enterprise-plan {
  border-color: rgba(255, 204, 0, 0.52);
  background: linear-gradient(180deg, #fff8db 0%, #ffffff 54%);
  box-shadow: 0 24px 60px rgba(202, 138, 4, 0.14);
}

.subscription-package-notes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin: 22px 0 0;
}

.subscription-package-notes article {
  padding: 18px;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  background: #f8fafc;
}

.subscription-package-notes h3 {
  margin: 0 0 8px;
  color: #071536;
  font-size: 1rem;
}

.subscription-package-notes p {
  margin: 0;
  color: #64748b;
  line-height: 1.55;
}

.creator-showcase-section {
  background: #f8fbff;
}

.creator-showcase-hero,
.showcase-manager {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(280px, 0.42fr);
  gap: 22px;
  align-items: center;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 22px 55px rgba(15, 23, 42, 0.08);
}

.creator-showcase-hero > img {
  width: 112px;
  height: 142px;
  border-radius: 22px;
  object-fit: cover;
  background: #edf2f7;
}

.creator-showcase-hero h2 {
  margin: 10px 0;
}

.creator-showcase-hero p {
  max-width: 720px;
  color: #64748b;
  line-height: 1.65;
}

.showcase-plan-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.showcase-plan-badges span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid #dbeafe;
  border-radius: 999px;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 0.78rem;
  font-weight: 900;
}

.creator-showcase-hero aside,
.showcase-manager article {
  display: grid;
  gap: 10px;
  padding: 18px;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  background: #f8fafc;
}

.creator-showcase-hero aside span,
.showcase-manager span {
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.creator-showcase-hero input {
  width: 100%;
  min-height: 44px;
  border: 1px solid #dbe5f3;
  border-radius: 12px;
  padding: 0 12px;
}

.showcase-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.showcase-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 18px 0 28px;
}

.showcase-stats article {
  padding: 18px;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  background: #fff;
}

.showcase-stats span {
  color: #64748b;
  font-weight: 800;
}

.showcase-stats strong {
  display: block;
  margin-top: 8px;
  color: #071536;
  font-size: 1.7rem;
}

.showcase-manager {
  grid-template-columns: 1fr 0.5fr;
  margin: 0 0 24px;
}

.showcase-manager strong {
  overflow-wrap: anywhere;
}

.showcase-filter-panel {
  display: grid;
  grid-template-columns: minmax(220px, 1.4fr) repeat(4, minmax(130px, 1fr));
  gap: 12px;
  align-items: end;
  margin: 0 0 14px;
  padding: 14px;
  border: 1px solid #dbe7f6;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.82);
}

.showcase-filter-panel label {
  display: grid;
  gap: 7px;
  color: #64748b;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.showcase-filter-panel input,
.showcase-filter-panel select {
  width: 100%;
  min-height: 44px;
  border: 1px solid #dbe5f3;
  border-radius: 12px;
  background: #fff;
  color: #071536;
  padding: 0 12px;
  font: inherit;
  font-weight: 800;
  text-transform: none;
}

.showcase-state-module {
  display: grid;
  gap: 14px;
  margin: 0 0 16px;
  padding: 16px;
  border: 1px solid #dbe7f6;
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff, #f7fbff);
}

.showcase-state-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}

.showcase-state-heading h3 {
  margin: 4px 0 0;
  color: #071536;
}

.showcase-state-heading p {
  max-width: 520px;
  margin: 0;
  color: #64748b;
  font-weight: 800;
}

.showcase-state-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.showcase-state-pills button {
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid #dbe7f6;
  border-radius: 999px;
  background: #ffffff;
  color: #334155;
  cursor: pointer;
  font-weight: 900;
}

.showcase-state-pills button:hover,
.showcase-state-pills button.active {
  border-color: #075fe8;
  background: #075fe8;
  color: #ffffff;
}

.showcase-result-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 18px;
  color: #64748b;
  font-weight: 900;
}

.showcase-pagination {
  display: flex;
  align-items: center;
  gap: 8px;
}

.showcase-pagination button {
  min-height: 38px;
  border: 1px solid #dbe5f3;
  border-radius: 999px;
  background: #fff;
  color: #071536;
  padding: 0 14px;
  font-weight: 900;
  cursor: pointer;
}

.showcase-pagination button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.showcase-pagination span {
  color: #64748b;
  font-size: 0.85rem;
}

.showcase-creator-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
  margin: 0 0 28px;
}

.showcase-creator-card {
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.06);
}

.showcase-creator-card > img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  background: #eef4ff;
}

.showcase-creator-body {
  display: grid;
  gap: 12px;
  padding: 16px;
}

.showcase-creator-avatar {
  display: flex;
  align-items: center;
  gap: 10px;
}

.showcase-creator-avatar img {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  object-fit: cover;
  background: #edf2f7;
}

.showcase-creator-avatar strong {
  display: block;
  color: #071536;
  font-size: 0.98rem;
}

.showcase-creator-avatar span,
.showcase-creator-body p {
  color: #64748b;
  font-size: 0.82rem;
  line-height: 1.45;
}

.showcase-creator-body p {
  min-height: 38px;
  margin: 0;
}

.showcase-mini-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.showcase-mini-stats span,
.showcase-status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #475569;
  font-size: 0.72rem;
  font-weight: 900;
}

.showcase-status-pill {
  justify-content: flex-start;
  width: fit-content;
  margin-top: 8px;
  background: #ecfdf5;
  color: #047857;
}

.secondary-action.compact {
  min-height: 38px;
  padding: 0 14px;
}

.profit-grid,
.dashboard-grid,
.protection-grid,
.security-grid,
.growth-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.profit-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.protection-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.security-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.growth-section {
  background: #f8fafc;
}

.growth-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.45fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.growth-feature {
  position: sticky;
  top: 112px;
  min-height: 100%;
  padding: 22px;
  border-radius: 8px;
  background: var(--surface-strong);
  color: white;
}

.growth-feature h3 {
  margin: 14px 0 12px;
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  line-height: 1.05;
}

.growth-feature p {
  color: #dbeafe;
  line-height: 1.7;
}

.growth-feature .metric-label {
  color: #cfd3ff;
}

.growth-feature .secondary-action {
  width: fit-content;
  background: white;
  color: var(--blue-strong);
  border: 0;
}

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

.growth-grid article {
  min-height: 190px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.growth-grid span {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 8px;
  background: #ecfdf5;
  color: #047857;
  font-weight: 900;
}

.growth-grid h3 {
  margin: 18px 0 10px;
  font-size: 1.08rem;
}

.growth-grid p {
  color: var(--muted);
  line-height: 1.6;
}

.dashboard-grid article,
.profit-grid article,
.protection-grid article,
.security-grid article,
.portal-grid article,
.cms-metrics article {
  min-height: 170px;
  padding: 20px;
  border-radius: 18px;
  background: var(--surface-strong);
  color: white;
}

.profit-grid article:last-child {
  background: var(--cyan);
}

.protection-section {
  background: #f8fafc;
}

.protection-grid article,
.security-grid article {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--line);
}

.protection-grid span {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 8px;
  background: var(--blue-soft);
  color: var(--blue-strong);
  font-weight: 900;
}

.protection-grid h3 {
  margin: 18px 0 10px;
  font-size: 1.1rem;
}

.protection-grid p {
  color: var(--muted);
  line-height: 1.6;
}

.security-section {
  background: #f1f5f9;
}

.security-icon {
  display: inline-grid;
  min-width: 42px;
  height: 38px;
  place-items: center;
  border-radius: 8px;
  background: var(--surface-strong);
  color: white;
  font-size: 0.8rem;
  font-weight: 900;
}

.security-grid h3 {
  margin: 18px 0 10px;
  font-size: 1.1rem;
}

.security-grid p {
  color: var(--muted);
  line-height: 1.6;
}

.metric-label {
  color: #aeb7c6;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.dashboard-grid strong,
.profit-grid strong,
.portal-grid strong,
.cms-metrics strong {
  display: block;
  margin: 16px 0 12px;
  font-size: 2.3rem;
}

.dashboard-grid p,
.profit-grid p,
.portal-grid p {
  color: #cfd5df;
  line-height: 1.55;
}

.cms-section {
  background: #f1f5f9;
}

.cms-tabs {
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.tab-button,
.side-link {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--muted);
  cursor: pointer;
  font-weight: 800;
}

.tab-button {
  padding: 0 16px;
}

.tab-button.active,
.side-link.active {
  background: var(--surface-strong);
  color: white;
  border-color: var(--surface-strong);
}

.cms-panel {
  display: none;
}

.cms-panel.active {
  display: block;
}

.cms-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 18px;
}

.cms-sidebar {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 12px;
  border-radius: 8px;
  background: var(--surface);
}

@media (min-width: 981px) {
  .secondary-nav {
    display: none !important;
  }
}

.side-link {
  width: 100%;
  padding: 0 12px;
  text-align: left;
}

.cms-content {
  display: grid;
  gap: 18px;
}

.cms-metrics,
.portal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.settings-form,
.table-wrap,
.creator-tools {
  padding: 14px;
  border-radius: 14px;
  background: var(--surface);
}

.role-dashboard {
  display: grid;
  gap: 18px;
  margin-top: 22px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
}

.role-panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.role-panel-heading h3 {
  margin: 0;
  font-size: 1.35rem;
}

#roleBadge {
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--blue);
  color: white;
  font-weight: 900;
  text-transform: uppercase;
}

.role-dashboard-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  align-items: start;
}

.luno-link {
  width: fit-content;
  color: var(--blue);
  font-weight: 900;
}

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

.role-tools button {
  min-height: 40px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  color: var(--blue);
  cursor: pointer;
  font-weight: 850;
}

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

.portal-card,
.scan-panel {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #f8fafc;
}

.portal-card h3,
.scan-panel h3 {
  margin: 0;
}

.portal-card p,
.scan-panel p {
  color: var(--muted);
  line-height: 1.55;
}

.scan-panel {
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.6fr) auto;
  align-items: end;
}

.scan-panel label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.scan-panel input {
  min-height: 46px;
  width: 100%;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.verify-section {
  background: #f8fafc;
}

.verify-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  gap: 18px;
  align-items: stretch;
}

.verify-section .scan-panel {
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
}

.verify-info-card {
  background: #101828;
  color: #fff;
}

.verify-info-card p {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.6;
}

.verify-info-card .tool-list span {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.app-scanner {
  grid-template-columns: 190px minmax(220px, 1fr) minmax(210px, 0.85fr) minmax(210px, 0.85fr) auto;
  gap: 14px;
  align-items: center;
  background: linear-gradient(135deg, #ffffff 0%, #f7f9ff 52%, #fff8ed 100%);
  border-radius: 22px;
  padding: 18px;
}

.scanner-visual {
  min-height: 220px;
  border-radius: 26px;
  background:
    radial-gradient(circle at 70% 22%, rgba(246, 197, 67, 0.45), transparent 26%),
    linear-gradient(145deg, #06135f 0%, #08117f 45%, #c6281d 100%);
  color: #fff;
  position: relative;
  display: grid;
  place-items: center;
  padding: 18px;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16), 0 16px 34px rgba(6, 19, 95, 0.22);
}

.scanner-camera-dot {
  position: absolute;
  top: 12px;
  width: 44px;
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
}

.scanner-frame {
  width: 104px;
  height: 104px;
  position: relative;
}

.scanner-frame span {
  position: absolute;
  width: 32px;
  height: 32px;
  border-color: #fff;
}

.scanner-frame span:nth-child(1) {
  top: 0;
  left: 0;
  border-top: 4px solid;
  border-left: 4px solid;
}

.scanner-frame span:nth-child(2) {
  top: 0;
  right: 0;
  border-top: 4px solid;
  border-right: 4px solid;
}

.scanner-frame span:nth-child(3) {
  bottom: 0;
  left: 0;
  border-bottom: 4px solid;
  border-left: 4px solid;
}

.scanner-frame span:nth-child(4) {
  right: 0;
  bottom: 0;
  border-right: 4px solid;
  border-bottom: 4px solid;
}

.scanner-visual strong {
  position: absolute;
  top: 86px;
  font-size: 2.2rem;
  letter-spacing: 0;
}

.scanner-visual small {
  align-self: end;
  text-align: center;
  max-width: 140px;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.35;
}

.app-scanner .scanner-copy h3 {
  margin: 0;
  font-size: 1.35rem;
}

.app-scanner .primary-action {
  min-height: 48px;
  white-space: nowrap;
}

.auth-code {
  display: block;
  margin-top: 7px;
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 900;
  word-break: break-word;
}

.settings-form h3,
.table-heading h3,
.creator-tools h3 {
  margin: 0;
  font-size: 1.1rem;
}

.settings-form {
  display: grid;
  gap: 14px;
}

.settings-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.settings-form input,
.settings-form textarea,
.settings-form select {
  min-height: 46px;
  width: 100%;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
}

.settings-form textarea {
  min-height: 92px;
  padding-top: 12px;
  resize: vertical;
}

.passport-upload {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #f8fafc;
}

.passport-upload img {
  width: 92px;
  aspect-ratio: 7 / 9;
  border: 2px solid white;
  border-radius: 12px;
  object-fit: cover;
  background: white;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.1);
}

.passport-upload div {
  display: grid;
  gap: 7px;
}

.passport-upload strong {
  color: var(--text);
}

.passport-upload span {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.file-pill {
  position: relative;
  width: fit-content;
  min-height: 38px;
  padding: 0 14px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #010066;
  color: white !important;
  cursor: pointer;
  font-weight: 900 !important;
}

.file-pill input {
  position: absolute;
  inset: 0;
  cursor: pointer;
  opacity: 0;
}

.table-heading {
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.table-heading span {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 13px 10px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  font-size: 0.92rem;
}

th {
  color: var(--muted);
  font-size: 0.76rem;
  text-transform: uppercase;
}

.tool-list {
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.tool-list span {
  padding: 10px 12px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue-strong);
  font-size: 0.86rem;
  font-weight: 800;
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  max-width: min(360px, calc(100vw - 36px));
  transform: translateY(20px);
  opacity: 0;
  pointer-events: none;
  padding: 14px 16px;
  border-radius: 8px;
  background: var(--surface-strong);
  color: white;
  box-shadow: var(--shadow);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(280px, 1.6fr) repeat(3, minmax(150px, 0.7fr));
  align-items: start;
  gap: clamp(32px, 6vw, 92px);
  padding: 72px clamp(24px, 5vw, 64px) 28px;
  border-top: 1px solid #eef2f7;
  background: #f8fafc;
  color: #64748b;
  font-size: 1rem;
  font-weight: 600;
}

.footer-brand {
  display: grid;
  gap: 22px;
  max-width: 440px;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  color: #0f172a !important;
  font-size: clamp(1.55rem, 2.4vw, 2.1rem);
  font-weight: 900;
  letter-spacing: 0;
}

.footer-logo .brand-mark {
  width: 52px;
  height: 52px;
  border-radius: 16px;
}

.footer-brand div,
.footer-links,
.footer-social,
.footer-company {
  display: grid;
  gap: 16px;
}

.footer-brand div {
  gap: 12px;
}

.footer-brand span,
.footer-links span,
.footer-social span,
.footer-company span {
  color: #1e2f5f;
  font-size: 1.02rem;
  font-weight: 800;
}

.site-footer a {
  color: #64748b;
  text-decoration: none;
}

.footer-links a,
.footer-social a,
.footer-company a,
.developer-link {
  width: fit-content;
  color: #64748b;
  font-size: 0.98rem;
  font-weight: 650;
}

.footer-links a:hover,
.footer-social a:hover,
.footer-company a:hover,
.developer-link:hover,
.footer-mini-links a:hover {
  color: #010066;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-copy {
  grid-column: 1 / -1;
  margin: 58px 0 0;
  color: #64748b;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 600;
}

.logout-button {
  width: 100%;
  min-height: 46px;
  margin-top: 12px;
  border: 0;
  border-radius: 12px;
  background: #fff1f2;
  color: #dc2626;
  cursor: pointer;
  font-weight: 900;
}

.reset-form {
  display: grid;
  gap: 8px;
  margin-top: 4px;
  padding-top: 12px;
  border-top: 1px solid #e5e7eb;
}

.reset-form span {
  color: #64748b;
  font-size: 0.84rem;
  font-weight: 800;
}

.reset-form div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.reset-form input,
.reset-form button {
  min-height: 42px;
  border-radius: 10px;
}

.reset-form input {
  width: 100%;
  border: 1px solid #dbe3ef;
  padding: 0 12px;
}

.reset-form button {
  border: 0;
  background: #010066;
  color: white;
  cursor: pointer;
  padding: 0 14px;
  font-weight: 900;
}

.chat-widget {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  display: grid;
  justify-items: end;
  gap: 10px;
  pointer-events: none;
}

.auth-page {
  min-height: calc(100vh - 56px);
  display: grid !important;
  place-items: start center;
  padding: clamp(14px, 4vw, 36px);
  background: radial-gradient(circle at top left, rgba(255, 204, 0, 0.16), transparent 34%), var(--bg);
}

.auth-card {
  position: relative;
  display: grid;
  gap: 16px;
  width: min(440px, 100%);
  margin: 0 auto;
  padding: 22px;
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

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

.news-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.25fr);
  gap: 20px;
  align-items: start;
}

.news-card,
.news-side-note,
.news-composer {
  display: grid;
  gap: 10px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
}

.news-card {
  overflow: hidden;
  padding: 0;
}

.featured-news-card {
  grid-template-columns: minmax(280px, 0.52fr) minmax(0, 1fr);
  align-items: stretch;
}

.compact-news-card {
  grid-template-columns: 118px minmax(0, 1fr);
  align-items: center;
  padding: 12px;
}

.news-card img {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.featured-news-card img {
  min-height: 260px;
}

.compact-news-card img {
  width: 118px;
  height: 92px;
  border-radius: 14px;
}

.news-card-body {
  display: grid;
  gap: 10px;
  padding: 18px;
}

.compact-news-card .news-card-body {
  padding: 0 0 0 4px;
}

.news-card span {
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.news-card h3,
.news-composer h3 {
  margin: 0;
}

.news-card h3 a,
.news-card h3 button {
  padding: 0;
  border: 0;
  background: transparent;
  color: #071536;
  cursor: pointer;
  font: inherit;
  text-align: left;
  text-decoration: none;
}

.featured-news-card h3 {
  font-size: clamp(1.45rem, 2.5vw, 2.2rem);
  line-height: 1.08;
}

.compact-news-card h3 {
  font-size: 1rem;
  line-height: 1.25;
}

.news-card h3 a:hover,
.news-card h3 button:hover {
  color: var(--accent);
}

.news-card p {
  color: var(--muted);
  line-height: 1.6;
}

.compact-news-card p,
.compact-news-card .news-share {
  display: none;
}

.news-full-body {
  white-space: pre-line;
}

.read-more-button {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  min-height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #075fe8;
  cursor: pointer;
  font-size: 0.86rem;
  font-weight: 900;
  text-decoration: none;
}

.compact-news-card .read-more-button {
  min-height: auto;
  padding: 0;
  background: transparent;
  color: #075fe8;
}

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

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

.news-share a,
.news-share button {
  padding: 7px 10px;
  border: 0;
  border-radius: 999px;
  background: #eef2ff;
  color: #010066;
  cursor: pointer;
  font-size: 0.74rem;
  font-weight: 900;
  text-decoration: none;
}

.news-detail {
  margin-bottom: 22px;
  padding: clamp(18px, 4vw, 34px);
  border: 1px solid #dbeafe;
  border-radius: 26px;
  background: #ffffff;
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.1);
}

.news-back-button {
  min-height: 38px;
  margin-bottom: 18px;
  padding: 0 14px;
  border: 1px solid #dbe4f0;
  border-radius: 999px;
  background: #f8fafc;
  color: #010066;
  cursor: pointer;
  font-weight: 900;
}

.news-detail-hero {
  display: grid;
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
}

.news-detail-hero > img,
.news-article-body figure img {
  width: 100%;
  border-radius: 22px;
  object-fit: cover;
}

.news-detail-hero > img {
  aspect-ratio: 16 / 11;
}

.news-detail h1 {
  margin: 12px 0;
  color: #071536;
  font-family: var(--display-font);
  font-size: clamp(2rem, 5vw, 4.4rem);
  line-height: 0.98;
}

.news-detail-hero p,
.news-article-body p {
  color: #475569;
  line-height: 1.8;
}

.news-article-body {
  display: grid;
  gap: 18px;
  max-width: 900px;
  margin: 26px auto 0;
  font-size: 1rem;
}

.news-article-body figure {
  margin: 8px 0;
}

.news-video,
.news-drive-source {
  display: grid;
  gap: 12px;
}

.news-video iframe,
.news-drive-source iframe {
  width: 100%;
  min-height: 420px;
  border: 0;
  border-radius: 20px;
  background: #e2e8f0;
}

.news-drive-source a {
  justify-self: start;
  padding: 10px 14px;
  border-radius: 999px;
  background: #eff6ff;
  color: #1d4ed8;
  font-weight: 900;
  text-decoration: none;
}

.news-side-note {
  margin-top: 18px;
  background: #f8fafc;
}

.news-side-note span {
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.news-composer label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.news-composer input,
.news-composer select,
.news-composer textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 13px;
}

.news-manager-card {
  grid-column: 1 / -1;
}

.news-admin-list .manager-row {
  grid-template-columns: 88px minmax(0, 1fr) auto;
}

.news-admin-list img {
  width: 88px;
  height: 64px;
  object-fit: cover;
  border-radius: 10px;
}

.auth-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: white;
  cursor: pointer;
}

.auth-card h2 {
  margin-bottom: 8px;
  font-size: 1.65rem;
}

.auth-card p {
  color: var(--muted);
  line-height: 1.55;
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.auth-tabs button {
  min-height: 38px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  font-weight: 850;
}

.auth-tabs button.active {
  background: var(--blue);
  color: white;
}

.auth-form {
  display: grid;
  gap: 12px;
}

.auth-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.auth-form input {
  min-height: 46px;
  width: 100%;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.chat-toggle,
.chat-panel {
  pointer-events: auto;
}

.chat-toggle {
  min-height: 48px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: var(--blue);
  color: white;
  box-shadow: var(--shadow);
  cursor: pointer;
  font-weight: 900;
}

.chat-panel {
  width: min(340px, calc(100vw - 28px));
  overflow: hidden;
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  background: var(--surface-strong);
  color: white;
}

.chat-header div {
  display: grid;
  gap: 3px;
}

.chat-header span {
  color: #aeb7c6;
  font-size: 0.82rem;
}

.chat-header button {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: transparent;
  color: white;
  cursor: pointer;
}

.chat-messages {
  display: grid;
  gap: 10px;
  max-height: 220px;
  overflow-y: auto;
  padding: 14px;
}

.chat-messages p {
  max-width: 86%;
  margin: 0;
  padding: 10px 12px;
  border-radius: 8px;
  line-height: 1.45;
  font-size: 0.9rem;
}

.bot-message {
  background: #f1f5f9;
  color: var(--text);
}

.user-message {
  justify-self: end;
  background: var(--accent);
  color: white;
}

.quick-replies {
  display: grid;
  gap: 8px;
  padding: 0 14px 14px;
}

.quick-replies button {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  font-weight: 800;
}

@media (max-width: 980px) {
  .topbar {
    grid-template-columns: auto 1fr auto auto;
    justify-content: space-between;
  }

  .menu-toggle {
    display: none;
  }

  .nav-links {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    top: auto;
    z-index: 40;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 4px;
    padding: 8px;
    border: 1px solid rgba(1, 0, 102, 0.1);
    border-radius: 24px;
    background: var(--surface);
    box-shadow: 0 18px 42px rgba(1, 0, 102, 0.18);
  }

  .nav-links .secondary-nav {
    display: none;
  }

  .nav-links a {
    display: grid;
    min-height: 48px;
    place-items: center;
    padding: 0 4px;
    border: 0;
    border-radius: 18px;
    background: transparent;
    text-align: center;
    font-size: 0.76rem;
    line-height: 1.1;
  }

  .hero,
  .upload-panel {
    grid-template-columns: 1fr;
  }

  .photo-grid,
  .dashboard-grid,
  .profit-grid,
  .protection-grid,
  .security-grid,
  .growth-grid,
  .subscription-grid,
  .role-dashboard-grid,
  .portal-workspace,
  .cms-metrics,
  .portal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .app-download-panel {
    grid-template-columns: 1fr;
  }

  .app-download-card {
    justify-self: start;
  }

  .growth-feature {
    position: static;
  }

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

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

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

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

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

  .news-feed {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .collection-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .policy-tags {
    justify-content: start;
  }

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

@media (max-width: 720px) {
  .topbar {
    grid-template-columns: auto 1fr auto auto;
    justify-content: space-between;
    gap: 8px;
    padding: 10px 14px;
  }

  .brand {
    min-width: 0;
  }

  .search-button {
    justify-content: center;
    min-height: 38px;
    padding: 0 12px;
  }

  .search-button {
    display: none;
  }

  .account-button {
    min-height: 38px;
    padding: 0 10px;
    font-size: 0.84rem;
  }

  .menu-toggle {
    min-height: 40px;
  }

  .nav-links {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    font-size: 0.82rem;
  }

  .subscription-status-card {
    align-items: stretch;
    flex-direction: column;
  }

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

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

  .app-download-actions {
    display: grid;
  }

  .app-download-card {
    width: min(100%, 210px);
  }

  .creator-showcase-hero,
  .showcase-manager,
  .showcase-stats,
  .showcase-filter-panel,
  .showcase-state-heading,
  .subscription-package-notes {
    grid-template-columns: 1fr;
  }

  .showcase-state-heading {
    display: grid;
  }

  .showcase-result-bar,
  .news-archive-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .showcase-pagination {
    justify-content: space-between;
  }

  .news-archive-toolbar select {
    min-width: 0;
    width: 100%;
  }

  .hero {
    min-height: auto;
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .hero-showcase {
    display: none;
  }

  h1 {
    font-size: clamp(2.05rem, 12vw, 3.05rem);
    line-height: 1.02;
  }

  h2 {
    font-size: clamp(1.55rem, 8vw, 2.2rem);
  }

  .hero-text,
  .checkout-copy p,
  .upload-copy p {
    line-height: 1.62;
  }

  .hero-actions,
  .card-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .primary-action,
  .secondary-action,
  .card-bottom button {
    width: 100%;
  }

  .featured-info,
  .card-bottom,
  .checkout-row,
  .table-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .price-pill {
    width: fit-content;
  }

  .section-heading,
  .discover-header,
  .discover-search,
  .market-controls,
  .form-row,
  .stats-strip,
  .payment-methods,
  .tool-list,
  .policy-tags {
    align-items: stretch;
    flex-direction: column;
  }

  .discover-tabs,
  .discover-search .select-box {
    width: 100%;
  }

  .discover-tabs button {
    flex: 1;
  }

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

  .section,
  .upload-panel {
    padding: 22px 14px;
  }

  .search-box input {
    min-width: 0;
  }

  .photo-grid,
  .dashboard-grid,
  .profit-grid,
  .protection-grid,
  .security-grid,
  .growth-grid,
  .role-dashboard-grid,
  .portal-workspace,
  .cms-metrics,
  .portal-grid {
    grid-template-columns: 1fr;
  }

  .cms-sidebar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

  th,
  td {
    white-space: nowrap;
  }
}

@media (max-width: 430px) {
  .brand span:last-child {
    display: none;
  }

  .search-button {
    min-width: 82px;
    font-size: 0.86rem;
  }

  .account-button {
    max-width: 84px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  #searchText {
    max-width: 86px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .stats-strip span,
  .payment-methods span,
  .policy-tags span,
  .tool-list span {
    width: 100%;
  }

  .checkout-card,
  .upload-form,
  .settings-form,
  .table-wrap,
  .creator-tools {
    padding: 14px;
  }

  .dashboard-grid article,
  .profit-grid article,
  .protection-grid article,
  .security-grid article,
  .growth-grid article,
  .role-dashboard,
  .portal-grid article,
  .cms-metrics article {
    min-height: 150px;
  }

  .dashboard-grid strong,
  .profit-grid strong,
  .portal-grid strong,
  .cms-metrics strong {
    font-size: 1.9rem;
  }

  .site-footer {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    padding: 20px 14px;
  }

  .footer-brand {
    justify-content: center;
  }

  .compliance-badges {
    justify-content: center;
  }

  .footer-compliance {
    flex-direction: column;
  }

  .footer-mini-links {
    justify-content: center;
  }

  .chat-widget {
    right: 14px;
    bottom: 14px;
  }
}

@media (min-width: 1121px) {
  .topbar {
    grid-template-columns: 230px minmax(0, 1fr) 46px 48px 92px 138px !important;
    gap: 12px !important;
  }

  .nav-links {
    justify-content: center !important;
    gap: clamp(10px, 1.1vw, 18px) !important;
  }

  .nav-links a {
    font-size: clamp(0.78rem, 0.9vw, 0.9rem) !important;
    white-space: nowrap !important;
  }

  .search-button {
    justify-self: center !important;
  }
}

@media (min-width: 1121px) and (max-width: 1400px) {
  .topbar .nav-links a:nth-child(3),
  .topbar .nav-links a:nth-child(6) {
    display: none !important;
  }
}

/* Growth section polish */
.growth-section {
  background:
    radial-gradient(circle at 12% 6%, rgba(7, 95, 232, 0.08), transparent 28%),
    linear-gradient(180deg, #f7fbff 0%, #ffffff 100%) !important;
}

.growth-section .section-heading {
  max-width: 1040px;
}

.growth-layout {
  grid-template-columns: minmax(300px, 0.42fr) minmax(0, 1fr) !important;
  gap: 22px !important;
  align-items: stretch !important;
}

.growth-feature {
  position: sticky !important;
  top: 98px !important;
  display: grid !important;
  align-content: start !important;
  min-height: auto !important;
  padding: clamp(24px, 3vw, 34px) !important;
  border: 1px solid rgba(7, 95, 232, 0.16) !important;
  border-radius: 28px !important;
  background:
    linear-gradient(150deg, rgba(6, 27, 70, 0.96), rgba(7, 26, 67, 0.9)),
    url("https://images.unsplash.com/photo-1523580846011-d3a5bc25702b?auto=format&fit=crop&w=1000&q=82") center / cover !important;
  color: #fff !important;
  box-shadow: 0 24px 64px rgba(6, 27, 70, 0.18) !important;
  overflow: hidden;
}

.growth-feature::after {
  content: "";
  position: absolute;
  inset: auto -40px -70px auto;
  width: 180px;
  height: 180px;
  border-radius: 999px;
  background: rgba(243, 173, 24, 0.24);
  filter: blur(10px);
}

.growth-feature > * {
  position: relative;
  z-index: 1;
}

.growth-feature h3 {
  max-width: 560px;
  margin: 14px 0 14px !important;
  font-size: clamp(2rem, 4vw, 4rem) !important;
  letter-spacing: 0 !important;
}

.growth-feature p {
  max-width: 540px;
  color: rgba(255, 255, 255, 0.82) !important;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.65 !important;
}

.growth-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0 20px;
}

.growth-stats span {
  display: grid;
  min-height: 78px;
  align-content: center;
  gap: 4px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.78rem;
  font-weight: 800;
}

.growth-stats strong {
  color: #fff;
  font-size: 1.25rem;
}

.growth-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.growth-actions .primary-action,
.growth-actions .secondary-action {
  min-height: 48px;
  border-radius: 14px;
}

.growth-actions .secondary-action {
  background: rgba(255, 255, 255, 0.1) !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.28) !important;
}

.growth-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 14px !important;
}

.growth-grid article {
  display: grid;
  align-content: start;
  min-height: 230px !important;
  padding: 22px !important;
  border: 1px solid #e4ecf7 !important;
  border-radius: 24px !important;
  background: #fff !important;
  box-shadow: 0 14px 36px rgba(8, 30, 68, 0.06);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.growth-grid article:hover {
  transform: translateY(-3px);
  border-color: rgba(7, 95, 232, 0.28) !important;
  box-shadow: 0 20px 48px rgba(8, 30, 68, 0.1);
}

.growth-grid span {
  width: 42px !important;
  height: 42px !important;
  border-radius: 14px !important;
  background: #eff6ff !important;
  color: var(--photora-blue) !important;
}

.growth-grid h3 {
  margin: 16px 0 10px !important;
  color: #071536;
  font-size: 1.08rem !important;
}

.growth-grid p {
  margin-bottom: 18px;
  color: #63718a !important;
}

.growth-grid a {
  align-self: end;
  width: fit-content;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  background: #f3f7ff;
  color: var(--photora-blue);
  font-weight: 900;
  font-size: 0.82rem;
}

@media (max-width: 1180px) {
  .growth-layout,
  .growth-grid {
    grid-template-columns: 1fr !important;
  }

  .growth-feature {
    position: relative !important;
    top: auto !important;
  }

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

@media (max-width: 640px) {
  .growth-stats,
  .growth-grid {
    grid-template-columns: 1fr !important;
  }

  .growth-feature {
    padding: 24px !important;
    border-radius: 24px !important;
  }

  .growth-feature h3 {
    font-size: clamp(2.2rem, 12vw, 3.4rem) !important;
  }

  .growth-actions .primary-action,
  .growth-actions .secondary-action {
    width: 100%;
  }
}

/* Final Photora UI overrides */
.topbar {
  min-height: 76px;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid #e5e7eb;
}

.brand {
  font-size: 1.24rem;
}

.brand-mark {
  width: 42px;
  height: 42px;
}

.nav-links {
  gap: clamp(8px, 1.4vw, 22px);
  color: #4b5563;
  font-size: 0.86rem;
  font-weight: 850;
  text-transform: uppercase;
}

.nav-links a.active {
  background: transparent;
  color: var(--text);
}

.account-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: end;
  min-width: 108px;
  width: max-content;
  min-height: 42px;
  padding: 0 22px;
  border-radius: 999px;
  background: #cc2f3f;
  box-shadow: 0 10px 28px rgba(204, 47, 63, 0.18);
}

.hero.page-section.active {
  display: grid !important;
}

.hero {
  position: relative;
  min-height: min(720px, calc(100vh - 76px));
  grid-template-columns: minmax(0, 760px);
  align-items: center;
  overflow: hidden;
  padding: clamp(72px, 9vw, 132px) clamp(20px, 5vw, 64px);
  background:
    linear-gradient(90deg, rgba(7, 13, 55, 0.9) 0%, rgba(15, 23, 70, 0.78) 44%, rgba(184, 55, 45, 0.48) 100%),
    var(--hero-image, url("https://images.unsplash.com/photo-1523580846011-d3a5bc25702b?auto=format&fit=crop&w=2200&q=84")) center / cover;
  color: white;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 34%;
  background: linear-gradient(0deg, rgba(1, 0, 45, 0.42), transparent);
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  margin: 0 0 26px;
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(1, 0, 102, 0.34);
  color: white;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 900px;
  color: white;
  font-size: clamp(2.75rem, 5.6vw, 5.75rem);
}

.hero-text {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.05rem, 1.7vw, 1.45rem);
}

.hero .secondary-action.glass-action {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.hero-dots {
  display: flex;
  gap: 10px;
  margin-top: clamp(52px, 8vw, 92px);
}

.hero-dots button {
  width: 14px;
  height: 14px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
  cursor: pointer;
}

.hero-dots button.active {
  width: 52px;
  background: white;
}

.dashboard.page-section.active {
  display: block !important;
}

.portal-shell {
  display: grid;
  min-height: calc(100vh - 76px);
  grid-template-columns: 280px minmax(0, 1fr);
  background: #f5f7fb;
}

.portal-sidebar {
  position: sticky;
  top: 76px;
  display: grid;
  align-content: start;
  gap: 22px;
  height: calc(100vh - 76px);
  padding: 24px 16px;
  border-right: 1px solid #e5e7eb;
  background: #fff;
}

.portal-logo,
.portal-topbar,
.portal-heading,
.portal-actions,
.breadcrumb-pills {
  display: flex;
  align-items: center;
}

.portal-logo {
  gap: 12px;
  font-size: 1.18rem;
  font-weight: 900;
}

.sidebar-kicker {
  margin: 28px 0 0;
  color: #9ca3af;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.portal-menu {
  display: grid;
  gap: 8px;
}

.portal-menu a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 16px;
  border-radius: 8px;
  color: #5b6472;
  font-weight: 850;
}

.portal-menu a.active,
.portal-menu a:hover {
  background: #010066;
  color: white;
  box-shadow: 0 14px 28px rgba(1, 0, 102, 0.18);
}

.portal-account {
  display: grid;
  gap: 6px;
  margin-top: auto;
  padding: 16px;
  border-radius: 12px;
  background: #f8fafc;
}

.portal-avatar {
  width: 58px;
  aspect-ratio: 7 / 9;
  border: 2px solid white;
  border-radius: 10px;
  object-fit: cover;
  background: white;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.12);
}

.portal-account small {
  color: #64748b;
  font-weight: 700;
}

.portal-main {
  display: grid;
  align-content: start;
  gap: 18px;
  padding: 20px clamp(16px, 3.5vw, 44px) 48px;
}

.portal-topbar {
  justify-content: space-between;
  gap: 18px;
}

.portal-search {
  display: flex;
  align-items: center;
  width: min(420px, 100%);
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: white;
}

.portal-search span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.portal-search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
}

.portal-actions {
  gap: 8px;
  flex-wrap: wrap;
  justify-content: end;
}

.portal-actions span,
.breadcrumb-pills span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: #eef2ff;
  color: #010066;
  font-size: 0.78rem;
  font-weight: 900;
}

.portal-heading {
  justify-content: space-between;
  gap: 18px;
}

.portal-heading h2 {
  margin: 14px 0 8px;
  font-size: clamp(2rem, 3vw, 2.75rem);
}

.portal-heading p {
  margin: 0;
  color: #64748b;
  font-size: 1.04rem;
  line-height: 1.55;
}

.breadcrumb-pills {
  gap: 10px;
}

.portal-shell .dashboard-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.portal-shell .dashboard-grid article {
  min-height: 150px;
  border: 1px solid #e5e7eb;
  background: white;
  color: #111827;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.portal-shell .dashboard-grid p {
  color: #64748b;
}

.portal-shell .dashboard-grid strong {
  color: #010066;
}

.portal-shell .role-dashboard {
  margin-top: 0;
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
}

.dashboard-module {
  scroll-margin-top: 96px;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  background: #fff;
  padding: 16px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.045);
}

.dashboard-module-nav {
  position: sticky;
  top: 76px;
  z-index: 8;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 8px;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
  backdrop-filter: blur(14px);
}

.dashboard-module-nav a {
  flex: 0 0 auto;
  min-height: 38px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  border-radius: 12px;
  color: #475569;
  font-weight: 900;
}

.dashboard-module-nav a:hover {
  background: #eef2ff;
  color: #010066;
}

.module-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}

.module-title h3 {
  margin: 0;
  font-size: 1.35rem;
}

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

.finance-card {
  display: grid;
  gap: 8px;
  min-height: 118px;
  padding: 14px;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  background: white;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.finance-card span {
  color: #64748b;
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.finance-card strong {
  color: #010066;
  font-size: 1.28rem;
}

.finance-card p {
  margin: 0;
  color: #64748b;
  line-height: 1.55;
}

.wallet-topup-card {
  align-content: start;
}

.wallet-topup-form {
  display: grid;
  grid-template-columns: minmax(110px, 1fr) auto;
  gap: 10px;
  margin-top: 8px;
}

.listing-info-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.listing-info-grid article {
  min-height: 150px;
  padding: 20px;
  border: 1px solid #e8edf5;
  border-radius: 16px;
  background: #fff;
}

.listing-info-grid strong {
  display: block;
  margin-bottom: 8px;
  color: #010066;
}

.listing-info-grid p {
  margin: 0;
  color: #64748b;
  line-height: 1.55;
}

.auth-page.page-section {
  display: none !important;
}

.auth-page.page-section.active {
  display: grid !important;
}

.auth-page {
  min-height: calc(100vh - 56px);
  place-items: center;
  padding: clamp(14px, 3vw, 24px);
  background:
    radial-gradient(circle at top left, rgba(1, 0, 102, 0.08), transparent 34%),
    #f6f8fb;
}

.auth-card {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(360px, 1fr);
  gap: 0;
  width: min(1060px, 100%);
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 18px;
  background: white;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.12);
}

.auth-visual {
  display: grid;
  align-content: center;
  gap: 16px;
  min-height: 460px;
  padding: clamp(22px, 3vw, 38px);
  background:
    linear-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.09) 1px, transparent 1px),
    linear-gradient(135deg, #010066, #4f46e5);
  background-size: 48px 48px, 48px 48px, auto;
  color: white;
}

.auth-visual .brand-mark {
  width: 78px;
  height: 78px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.12);
}

.auth-visual h2,
.auth-visual p {
  color: white;
}

.auth-visual h2 {
  margin: 12px 0 0;
  font-size: clamp(2rem, 3vw, 3rem);
}

.auth-info-box {
  display: grid;
  gap: 10px;
  margin-top: 10px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.12);
}

.auth-info-box h3,
.auth-info-box p,
.auth-info-box ul {
  margin: 0;
}

.auth-info-box li {
  margin-top: 8px;
}

.auth-form-panel {
  display: grid;
  align-content: center;
  gap: 12px;
  padding: clamp(22px, 3vw, 38px);
}

.auth-form-panel h2 {
  font-size: clamp(1.8rem, 3vw, 2.35rem);
}

.account-type-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.account-type-toggle button {
  min-height: 52px;
  border: 0;
  border-radius: 14px;
  background: #f1f5f9;
  color: #4b5563;
  cursor: pointer;
  font-weight: 900;
}

.account-type-toggle button.active {
  background: #4f46e5;
  color: white;
  box-shadow: 0 14px 30px rgba(79, 70, 229, 0.24);
}

.auth-form input {
  min-height: 50px;
  border-radius: 12px;
  font-size: 1rem;
}

.remember-row {
  display: flex !important;
  grid-template-columns: none !important;
  align-items: center;
  gap: 10px !important;
}

.remember-row input {
  width: 22px;
  min-height: 22px;
}

.auth-form .primary-action {
  min-height: 54px;
  border-radius: 12px;
  background: #4f46e5;
}

.auth-form .primary-action:disabled {
  cursor: wait;
  opacity: 0.72;
}

.auth-form {
  gap: 10px;
}

.auth-card .auth-close {
  z-index: 2;
}

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

.cart-layout,
.sales-strip,
.vision-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 18px;
  align-items: start;
}

.vision-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.vision-grid article,
.contact-card {
  padding: 22px;
  border: 1px solid rgba(148, 163, 184, 0.26);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.96), rgba(30, 27, 75, 0.92));
  color: white;
}

.vision-grid p,
.contact-card p {
  color: #cbd5e1;
  line-height: 1.65;
}

.cart-list,
.cart-summary {
  display: grid;
  gap: 12px;
}

.cart-summary {
  padding: 18px;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  background: #fff;
}

.cart-row {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  background: #fff;
}

.cart-row img {
  width: 92px;
  height: 72px;
  border-radius: 10px;
  object-fit: cover;
}

.cart-row span,
.cart-row small,
.cart-summary p,
.photo-card .card-bottom strong span {
  display: block;
  color: #64748b;
  font-size: 0.82rem;
  line-height: 1.45;
}

.cart-row button,
.cart-row a,
.pricing-actions button {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid #dbe3ef;
  border-radius: 999px;
  background: white;
  color: #010066;
  cursor: pointer;
  font-weight: 850;
}

.cart-row-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: end;
  gap: 8px;
}

.sales-strip {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.sales-strip article {
  padding: 16px;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  background: #fff;
}

.sales-strip span {
  color: #64748b;
  font-size: 0.8rem;
  font-weight: 850;
}

.sales-strip strong {
  display: block;
  margin-top: 8px;
  color: #010066;
  font-size: 1.25rem;
}

.pricing-actions {
  display: grid;
  grid-template-columns: 110px auto;
  gap: 8px;
}

.pricing-actions input {
  min-height: 36px;
  width: 100%;
  padding: 0 10px;
  border: 1px solid #dbe3ef;
  border-radius: 8px;
}

.management-card {
  display: grid;
  gap: 12px;
  min-width: 0;
  padding: 14px;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  background: #fff;
}

.management-list {
  display: grid;
  gap: 8px;
  max-height: 360px;
  overflow: auto;
}

.manager-row {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid #eef2f7;
  border-radius: 12px;
  background: #f8fafc;
}

.manager-row.compact {
  grid-template-columns: minmax(0, 1fr) auto;
}

.manager-row img {
  width: 72px;
  height: 58px;
  border-radius: 8px;
  object-fit: cover;
}

.manager-row div {
  min-width: 0;
}

.manager-row strong,
.manager-row span,
.manager-row small {
  display: block;
}

.manager-row span,
.manager-row small {
  color: #64748b;
  font-size: 0.82rem;
  line-height: 1.45;
}

.manager-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: end;
}

.manager-actions button,
.manager-actions a {
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid #dbe3ef;
  border-radius: 999px;
  background: #fff;
  color: #010066;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 850;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.inline-admin-form,
.slider-form {
  display: grid;
  gap: 10px;
}

.inline-admin-form {
  grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
}

.inline-admin-form input,
.inline-admin-form select,
.slider-form input,
.slider-form select,
.slider-form textarea {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid #dbe3ef;
  border-radius: 8px;
  background: #fff;
}

.slider-form textarea {
  min-height: 92px;
  padding-top: 12px;
  resize: vertical;
}

@media (max-width: 1100px) {
  .portal-shell {
    grid-template-columns: 1fr;
  }

  .portal-sidebar {
    position: static;
    height: auto;
  }

  .portal-menu {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .portal-account {
    position: static;
    display: grid;
  }

  .portal-shell .dashboard-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .auth-card {
    grid-template-columns: 1fr;
    width: min(560px, 100%);
  }

  .auth-visual {
    display: none;
  }
}

@media (max-width: 720px) {
  body:not(.login-mode) {
    padding-bottom: 84px;
  }

  .topbar {
    min-height: 62px;
  }

  .nav-links {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 40;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 6px;
    padding: 8px;
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 16px 50px rgba(15, 23, 42, 0.16);
    backdrop-filter: blur(18px);
    text-transform: none;
  }

  .nav-links a {
    min-height: 42px;
    padding: 0 6px;
    border-radius: 16px;
    font-size: 0.72rem;
    text-align: center;
  }

  .nav-links a:nth-child(n + 6) {
    display: none;
  }

  .nav-links a.active {
    background: #010066;
    color: white;
  }

  .account-button {
    min-width: 78px;
    width: max-content;
    min-height: 38px;
    padding: 0 16px;
  }

  .hero {
    min-height: calc(100vh - 146px);
    padding: 52px 18px 72px;
  }

  .hero h1 {
    font-size: clamp(2.55rem, 12vw, 4rem);
  }

  .hero-badge {
    min-height: 36px;
    padding: 0 14px;
    font-size: 0.7rem;
  }

  .portal-main {
    padding: 16px 14px 92px;
  }

  .portal-topbar,
  .portal-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .portal-menu {
    display: flex;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .portal-menu a {
    flex: 0 0 auto;
    min-height: 42px;
    white-space: nowrap;
  }

  .portal-account {
    padding: 14px;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
  }

  .portal-shell .dashboard-grid,
  .portal-workspace,
  .management-grid,
  .cart-layout,
  .sales-strip,
  .news-feed,
  .finance-module-grid {
    grid-template-columns: 1fr;
  }

  .news-video iframe,
  .news-drive-source iframe {
    min-height: 240px;
  }

  .manager-row,
  .manager-row.compact,
  .inline-admin-form,
  .cart-row {
    grid-template-columns: 1fr;
  }

  .manager-row img,
  .cart-row img {
    width: 100%;
    height: 160px;
  }

  .manager-actions {
    justify-content: start;
  }

  .auth-page {
    min-height: calc(100vh - 62px);
    align-items: start;
    padding: 12px;
    background: #f6f8fb;
  }

  .auth-card {
    min-height: auto;
    border-radius: 18px;
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.1);
  }

  .auth-visual {
    display: none;
  }

  .auth-info-box {
    margin-top: 10px;
    padding: 16px;
  }

  .auth-form-panel {
    padding: 22px 16px 24px;
  }

  .auth-form-panel h2 {
    font-size: 1.75rem;
  }

  .account-type-toggle button {
    min-height: 44px;
  }

  .auth-form input {
    min-height: 46px;
  }

  .auth-form .primary-action {
    min-height: 50px;
  }

  .account-type-toggle button {
    min-height: 52px;
  }
}

/* Minimal portal dashboard refresh - final override */
.dashboard.page-section.active {
  background: #f4f6fa !important;
}

.portal-shell {
  grid-template-columns: 256px minmax(0, 1fr);
  min-height: calc(100vh - 76px);
  background: #f4f6fa;
}

.portal-sidebar {
  top: 76px;
  gap: 18px;
  padding: 24px 14px;
  border-right: 1px solid #e2e8f0;
  background: #fff;
  box-shadow: none;
}

.portal-logo {
  min-height: 58px;
  padding: 0 10px;
}

.portal-logo .brand-mark {
  width: 46px;
  height: 46px;
}

.sidebar-kicker {
  margin: 22px 12px 4px;
  color: #9aa3b2;
  font-size: 0.74rem;
  letter-spacing: 0.18em;
}

.portal-menu {
  gap: 10px;
}

.portal-menu a {
  min-height: 52px;
  padding: 0 18px;
  border-radius: 10px;
  color: #596273;
  font-size: 0.98rem;
}

.portal-menu a.active,
.portal-menu a:hover {
  background: #5548ea;
  color: #fff;
  box-shadow: 0 12px 24px rgba(85, 72, 234, 0.2);
}

.portal-account {
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 2px 12px;
  align-items: center;
  padding: 16px 12px;
  border-top: 1px solid #eef2f7;
  border-radius: 0;
  background: transparent;
}

.portal-avatar {
  grid-row: span 3;
  width: 52px;
  border-radius: 999px;
  aspect-ratio: 1;
}

#roleBadge {
  width: fit-content;
  min-height: auto;
  padding: 4px 8px;
  border-radius: 999px;
  background: #eef2ff;
  color: #5548ea;
  font-size: 0.68rem;
}

.portal-account strong,
.portal-account small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.logout-button {
  grid-column: 1 / -1;
  margin-top: 14px;
  min-height: 48px;
  border-radius: 10px;
  background: #fff1f2;
  color: #dc2626;
}

.portal-main {
  gap: 22px;
  padding: 24px clamp(18px, 3vw, 46px) 56px;
}

.portal-topbar {
  min-height: 74px;
  padding: 0 0 18px;
  border-bottom: 1px solid #e5e7eb;
}

.portal-search {
  min-height: 54px;
  width: min(440px, 100%);
  border-radius: 12px;
}

.portal-actions span {
  min-height: 42px;
  background: #fff;
  color: #64748b;
  border: 1px solid #e5e7eb;
}

.portal-heading {
  align-items: end;
}

.portal-heading h2 {
  margin: 18px 0 8px;
  font-size: clamp(2rem, 3.4vw, 3rem);
  letter-spacing: 0;
}

.portal-heading p {
  color: #687386;
}

.breadcrumb-pills span {
  min-height: 38px;
  padding: 0 18px;
  border-radius: 999px;
  background: #fff;
  color: #64748b;
  letter-spacing: 0.14em;
}

.breadcrumb-pills span:last-child {
  background: #eef2ff;
  color: #5548ea;
}

.dashboard-module-nav {
  position: static;
  padding: 10px;
  border: 0;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.04);
}

.dashboard-module-nav a {
  min-height: 44px;
  padding: 0 18px;
}

.dashboard-module-nav a:hover,
.dashboard-module-nav a.active {
  background: #5548ea;
  color: #fff;
}

.dashboard-module {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.module-title,
.role-panel-heading,
.table-heading {
  margin-bottom: 14px;
}

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

.portal-shell .dashboard-grid article,
.sales-strip article,
.finance-card,
.management-card,
.settings-form,
.portal-card,
.scan-panel,
.news-composer {
  border: 1px solid #e8edf5;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.035);
}

.portal-shell .dashboard-grid article {
  min-height: 148px;
  padding: 28px;
}

.portal-shell .dashboard-grid strong {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
}

.portal-shell .dashboard-grid article:nth-child(2) strong {
  color: #2f855a;
}

.portal-shell .dashboard-grid article:nth-child(3) strong {
  color: #2b6cb0;
}

.portal-shell .dashboard-grid article:nth-child(4) strong {
  color: #be123c;
}

.sales-strip {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 18px;
}

.role-dashboard-grid {
  grid-template-columns: minmax(280px, 0.9fr) minmax(280px, 0.9fr) minmax(260px, 0.7fr);
}

.management-grid {
  gap: 18px;
}

@media (max-width: 980px) {
  .portal-shell {
    grid-template-columns: 1fr;
  }

  .portal-sidebar {
    position: static;
    height: auto;
  }

  .portal-account {
    border-radius: 16px;
    background: #f8fafc;
  }

  .portal-shell .dashboard-grid,
  .sales-strip,
  .role-dashboard-grid,
  .scan-panel.app-scanner {
    grid-template-columns: 1fr;
  }

  .scanner-visual {
    min-height: 190px;
  }
}

/* Photora 2026 marketplace redesign */
:root {
  --bg: #f7fbff;
  --surface: #ffffff;
  --surface-strong: #061848;
  --text: #07142f;
  --muted: #64748b;
  --line: #e3eaf5;
  --accent: #e32b2b;
  --accent-strong: #bd1f1f;
  --accent-soft: #fff0ed;
  --blue: #0668e8;
  --blue-strong: #004cc8;
  --blue-soft: #eaf4ff;
  --cyan: #19b5d8;
  --warm: #f7b500;
  --gold: #f6b21a;
  --shadow: 0 24px 70px rgba(10, 34, 83, 0.12);
}

body {
  background:
    radial-gradient(circle at 15% 8%, rgba(255, 190, 38, 0.12), transparent 28%),
    radial-gradient(circle at 90% 5%, rgba(0, 112, 243, 0.12), transparent 28%),
    #f7fbff;
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.topbar {
  min-height: 82px;
  grid-template-columns: max-content minmax(420px, 1fr) 44px 44px max-content max-content;
  column-gap: clamp(14px, 2vw, 28px);
  padding: 0 clamp(18px, 5vw, 86px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.76);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(20px);
}

.topbar .menu-toggle {
  display: none;
}

.brand,
.footer-logo,
.portal-logo {
  color: #061848;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.brand .brand-mark {
  width: 42px;
  height: 42px;
}

.brand-wordmark {
  display: block;
  width: clamp(132px, 14vw, 176px);
  height: auto;
  object-fit: contain;
}

.nav-links {
  justify-content: center;
  gap: clamp(10px, 1.6vw, 24px);
}

.nav-links a {
  min-height: 42px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: #0f1f3d;
  font-size: 0.9rem;
  font-weight: 800;
}

.nav-links a.active,
.nav-links a:hover {
  color: var(--blue);
  background: transparent;
  box-shadow: none;
}

.nav-links .secondary-nav {
  display: none;
}

.nav-links a[href="#news"] {
  display: none;
}

.basket-nav span {
  width: 18px;
  overflow: hidden;
  color: transparent;
}

.basket-nav span::before {
  content: "▱";
  color: #07142f;
  font-size: 1.35rem;
}

.basket-nav {
  position: relative;
}

.basket-nav b,
#cartBadge {
  position: absolute;
  top: -6px;
  right: -12px;
  display: grid;
  min-width: 19px;
  height: 19px;
  place-items: center;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 0.68rem;
}

.search-button {
  width: 42px;
  min-width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.search-button .status-dot {
  display: none;
}

.search-button::before {
  content: "⌕";
  color: #07142f;
  font-size: 1.35rem;
  font-weight: 800;
}

.search-button span,
.search-button #searchText {
  display: none;
}

.account-button,
.upload-photo-button,
.topbar > .basket-nav {
  display: inline-grid;
  min-height: 44px;
  place-items: center;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
}

.topbar > .basket-nav {
  width: 44px;
  min-width: 44px;
  height: 44px;
  border: 1px solid #e0e8f4;
  background: #fff;
  color: #07142f;
}

.account-button {
  min-width: 86px;
  border: 1px solid #cad7ea;
  background: #fff;
  color: #061848;
}

.upload-photo-button {
  min-width: 134px;
  padding: 0 18px;
  background: var(--blue);
  color: #fff;
  box-shadow: 0 14px 30px rgba(6, 104, 232, 0.22);
}

.hero.page-section.active {
  display: grid;
}

.hero {
  position: relative;
  min-height: min(760px, calc(100vh - 82px));
  grid-template-columns: minmax(320px, 0.9fr) minmax(320px, 1fr);
  align-items: center;
  gap: clamp(28px, 5vw, 78px);
  overflow: hidden;
  padding: clamp(44px, 7vw, 96px) clamp(22px, 6vw, 90px);
  background:
    linear-gradient(90deg, rgba(247, 251, 255, 0.98) 0%, rgba(247, 251, 255, 0.9) 38%, rgba(247, 251, 255, 0.1) 72%),
    url("https://images.unsplash.com/photo-1596422846543-75c6fc197f07?auto=format&fit=crop&w=2200&q=86") center / cover;
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto -10% -9% 40%;
  height: 48%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), #f7fbff 46%, #f7fbff);
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 690px;
}

.hero-badge,
.eyebrow {
  width: fit-content;
  border-radius: 999px;
  background: rgba(255, 182, 32, 0.14);
  color: #9a6500;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 650px;
  margin: 18px 0;
  color: #071842;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.2rem, 7vw, 7.2rem);
  line-height: 0.94;
  letter-spacing: 0;
}

.hero h1::first-line {
  color: #071842;
}

.hero h1 {
  text-wrap: balance;
}

.hero h1 #unused,
.hero h1 span {
  color: var(--warm);
}

.hero-text {
  max-width: 460px;
  color: #30405f;
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  line-height: 1.8;
}

.hero-actions {
  margin-top: 30px;
}

.primary-action,
.secondary-action,
.glass-action {
  border-radius: 10px;
  font-weight: 900;
}

.primary-action {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 16px 28px rgba(6, 104, 232, 0.24);
}

.secondary-action,
.hero .secondary-action.glass-action {
  border: 1px solid #b9c8de;
  background: rgba(255, 255, 255, 0.82);
  color: #071842;
  box-shadow: none;
}

.hero-creator-strip {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 26px;
}

.hero-creator-strip span {
  display: block;
  width: 34px;
  height: 34px;
  margin-left: -8px;
  border: 3px solid #fff;
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(6, 104, 232, 0.25), rgba(247, 181, 0, 0.24)),
    url("https://images.unsplash.com/photo-1500648767791-00dcc994a43e?auto=format&fit=crop&w=120&q=80") center / cover;
}

.hero-creator-strip span:first-child {
  margin-left: 0;
}

.hero-creator-strip strong {
  margin-left: 14px;
  color: #071842;
  font-size: 1rem;
}

.hero-creator-strip small {
  margin-left: 8px;
  color: #5f6b80;
}

.hero-phone {
  position: relative;
  z-index: 2;
  justify-self: center;
  transform: rotate(8deg);
}

.phone-shell {
  width: min(330px, 72vw);
  padding: 20px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 34px 80px rgba(11, 32, 77, 0.22);
}

.phone-brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.phone-brand img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.phone-brand strong {
  color: #071842;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
}

.phone-shell p {
  margin: 16px 0 10px;
  color: #071842;
  font-weight: 900;
}

.phone-photo {
  width: 100%;
  aspect-ratio: 1.35;
  border-radius: 18px;
  object-fit: cover;
}

.phone-caption {
  display: grid;
  gap: 3px;
  margin-top: 12px;
}

.phone-caption span {
  color: #64748b;
  font-size: 0.78rem;
}

.phone-caption strong {
  color: #071842;
  font-size: 0.9rem;
}

.phone-caption b {
  color: #b56f00;
}

.phone-certificate {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 16px;
  padding: 12px;
  border-radius: 18px;
  background: #fff8e5;
}

.phone-certificate span {
  color: #071842;
  font-weight: 900;
}

.phone-certificate small {
  color: #64748b;
  font-weight: 700;
}

.phone-certificate img {
  width: 58px;
  height: 58px;
  border-radius: 8px;
}

.section {
  padding-inline: clamp(18px, 6vw, 90px);
}

.authenticity-banner {
  border: 1px solid #e5edf8;
  background: #fff;
  box-shadow: 0 18px 45px rgba(8, 30, 68, 0.06);
}

.category-showcase,
.destination-showcase {
  margin-top: 34px;
}

.mini-section-heading {
  align-items: end;
}

.mini-section-heading h3 {
  color: #071842;
  font-size: clamp(1.35rem, 2.2vw, 2rem);
}

.mini-section-heading a {
  color: var(--blue);
  font-weight: 900;
  text-decoration: none;
}

.category-tile-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(90px, 1fr));
  gap: 16px;
}

.category-tile-grid button {
  display: grid;
  min-height: 106px;
  place-items: center;
  gap: 10px;
  border: 1px solid #e8eef7;
  border-radius: 18px;
  background: #fff;
  color: #10203e;
  font-weight: 900;
  box-shadow: 0 16px 38px rgba(10, 34, 83, 0.05);
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.category-tile-grid button:hover,
.destination-grid button:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 48px rgba(10, 34, 83, 0.12);
}

.category-tile-grid button:nth-child(1),
.category-tile-grid button:nth-child(5) {
  background: #eef8ff;
}

.category-tile-grid button:nth-child(2),
.category-tile-grid button:nth-child(6) {
  background: #f0fbf4;
}

.category-tile-grid button:nth-child(3),
.category-tile-grid button:nth-child(7) {
  background: #f7f4ff;
}

.category-tile-grid button:nth-child(4),
.category-tile-grid button:nth-child(8) {
  background: #fff4f2;
}

.category-tile-grid span {
  color: var(--blue);
  font-size: 2rem;
}

.category-tile-grid small {
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 900;
}

.destination-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(130px, 1fr));
  gap: 18px;
}

.destination-grid button {
  position: relative;
  min-height: 220px;
  overflow: hidden;
  border-radius: 18px;
  border: 0;
  padding: 0;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 18px 42px rgba(8, 30, 68, 0.12);
}

.destination-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.destination-grid button::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(3, 10, 27, 0.78));
}

.destination-grid strong,
.destination-grid span {
  position: absolute;
  z-index: 1;
  left: 16px;
  color: #fff;
}

.destination-grid strong {
  bottom: 34px;
  font-size: 1.05rem;
}

.destination-grid span {
  bottom: 16px;
  font-size: 0.82rem;
}

.market-showcase {
  display: none;
}

.discover-header,
.discover-search,
.category-pills {
  display: none;
}

.item-heading {
  margin-top: 42px;
}

.photo-grid {
  grid-template-columns: repeat(4, minmax(210px, 1fr));
  gap: 22px;
}

.photo-card {
  overflow: hidden;
  border: 1px solid #e6edf7;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 38px rgba(8, 30, 68, 0.08);
}

.photo-card img {
  aspect-ratio: 1.55;
  border-radius: 0;
}

.photo-card-body {
  padding: 15px;
}

.mobile-app-banner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.8fr) minmax(240px, 0.55fr);
  align-items: center;
  gap: 34px;
  margin: 54px clamp(18px, 6vw, 90px) 0;
  padding: clamp(28px, 4vw, 46px);
  overflow: hidden;
  border: 1px solid #dce9f9;
  border-radius: 28px;
  background:
    radial-gradient(circle at 95% 20%, rgba(247, 181, 0, 0.28), transparent 24%),
    linear-gradient(135deg, #eef7ff, #ffffff 58%, #eef7ff);
}

.mobile-app-copy h2 {
  margin: 10px 0;
  color: #071842;
  font-size: clamp(1.8rem, 3vw, 3rem);
}

.mobile-app-copy p {
  max-width: 480px;
  color: #64748b;
}

.highlight-news-feature a,
.highlight-news-feature button,
.highlight-news-stack a,
.highlight-news-stack button {
  display: grid;
  width: 100%;
  border: 1px solid #dbe7f6;
  background: rgba(255, 255, 255, 0.86);
  color: #071842;
  cursor: pointer;
  text-align: left;
  text-decoration: none;
  box-shadow: 0 22px 52px rgba(8, 30, 68, 0.1);
}

.highlight-news-feature a,
.highlight-news-feature button {
  gap: 10px;
  padding: 12px;
  border-radius: 18px;
}

.highlight-news-feature img {
  width: 100%;
  aspect-ratio: 16 / 8.5;
  border-radius: 14px;
  object-fit: cover;
}

.highlight-news-feature span,
.highlight-news-stack span {
  color: var(--photora-blue);
  font-size: 0.76rem;
  font-weight: 950;
  text-transform: uppercase;
}

.highlight-news-feature strong {
  font-size: clamp(1.05rem, 1.5vw, 1.35rem);
  line-height: 1.15;
}

.highlight-news-feature small {
  color: #64748b;
  line-height: 1.45;
  font-size: 0.86rem;
}

.highlight-news-stack {
  display: grid;
  gap: 10px;
}

.highlight-news-stack a,
.highlight-news-stack button {
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 9px;
  border-radius: 14px;
}

.highlight-news-stack img {
  grid-row: span 2;
  width: 70px;
  aspect-ratio: 1;
  border-radius: 12px;
  object-fit: cover;
}

.highlight-news-stack strong {
  font-size: 0.88rem;
  line-height: 1.25;
}

.news-archive-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 18px;
  padding: 14px;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  background: #fff;
}

.news-archive-toolbar label {
  display: grid;
  gap: 7px;
  color: #64748b;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.news-archive-toolbar select {
  min-width: 220px;
  min-height: 44px;
  border: 1px solid #dbe5f3;
  border-radius: 12px;
  background: #fff;
  padding: 0 12px;
  color: #071536;
  font: inherit;
  font-weight: 800;
}

.news-archive-toolbar span {
  color: #64748b;
  font-weight: 900;
}

.store-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.store-buttons span {
  display: inline-grid;
  min-height: 44px;
  place-items: center;
  padding: 0 18px;
  border-radius: 10px;
  background: #07142f;
  color: #fff;
  font-weight: 900;
}

.app-qr-card {
  display: grid;
  gap: 10px;
  place-items: center;
  padding: 18px;
  border-radius: 20px;
  background: #fff;
  color: #64748b;
  font-weight: 800;
  box-shadow: 0 18px 40px rgba(8, 30, 68, 0.08);
}

.app-qr-card img {
  width: 132px;
  height: 132px;
}

.app-phone-stack {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.news-highlight-section {
  grid-template-columns: minmax(230px, 0.46fr) minmax(360px, 0.9fr) minmax(270px, 0.56fr) !important;
  align-items: center !important;
  gap: clamp(14px, 2vw, 22px) !important;
  margin: 34px clamp(18px, 6vw, 90px) 0 !important;
  padding: clamp(18px, 2.4vw, 26px) !important;
  border: 1px solid #e8eef7 !important;
  border-radius: 20px !important;
  background: #ffffff !important;
  box-shadow: none !important;
}

.news-highlight-section .mobile-app-copy {
  align-self: center;
}

.news-highlight-section .mobile-app-copy h2 {
  max-width: 360px;
  margin: 8px 0 !important;
  font-size: clamp(1.35rem, 2.1vw, 1.95rem) !important;
  line-height: 1.12 !important;
}

.news-highlight-section .mobile-app-copy p {
  max-width: 380px;
  font-size: 0.95rem;
  line-height: 1.45;
}

.news-highlight-section .store-buttons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: auto;
  padding: 0;
  border-radius: 0;
  text-decoration: none;
  font-weight: 950;
}

.news-highlight-section .store-buttons a:first-child {
  color: #075fe8;
  background: transparent;
}

.news-highlight-section .highlight-news-feature a,
.news-highlight-section .highlight-news-feature button {
  height: 100%;
  padding: 10px;
  border: 1px solid #e8eef7;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(8, 30, 68, 0.05);
}

.news-highlight-section .highlight-news-feature img {
  aspect-ratio: 16 / 8;
}

.news-highlight-section .highlight-news-stack {
  align-content: start;
}

.news-highlight-section .highlight-news-stack a,
.news-highlight-section .highlight-news-stack button {
  border: 1px solid #e4edf8;
  background: #fff;
  box-shadow: none;
}

.news-highlight-section .highlight-news-feature strong {
  font-size: clamp(1rem, 1.4vw, 1.22rem) !important;
}

.news-highlight-section .highlight-news-feature small {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.news-highlight-section .highlight-news-stack i,
.news-highlight-section .highlight-news-feature i {
  color: #075fe8;
  font-style: normal;
  font-weight: 950;
}

.app-phone-stack div {
  display: grid;
  align-content: center;
  width: 155px;
  min-height: 230px;
  padding: 18px;
  border: 1px solid #dde8f7;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 24px 54px rgba(8, 30, 68, 0.12);
}

.app-phone-stack div:first-child {
  transform: rotate(-8deg);
}

.app-phone-stack div:last-child {
  transform: rotate(8deg);
}

.app-phone-stack img {
  width: 42px;
  margin-bottom: 16px;
}

.app-phone-stack strong {
  color: #071842;
}

.app-phone-stack span,
.app-phone-stack b {
  color: #0668e8;
  font-weight: 900;
}

.site-footer {
  grid-template-columns: minmax(280px, 1.7fr) repeat(3, minmax(150px, 0.7fr));
  gap: clamp(28px, 5vw, 80px);
  margin-top: 70px;
  padding: 64px clamp(18px, 6vw, 90px) 28px;
  border-top: 1px solid #e3eaf5;
  background: #fff;
}

.footer-brand {
  display: grid;
  gap: 18px;
}

.footer-brand > div {
  display: grid;
  max-width: 420px;
  gap: 12px;
  color: #64748b;
}

.footer-links,
.footer-social,
.footer-company {
  display: grid;
  align-content: start;
  gap: 14px;
}

.footer-links span,
.footer-social span,
.footer-company span {
  color: #071842;
  font-weight: 900;
}

.site-footer a {
  color: #64748b;
  font-weight: 700;
}

.footer-copy {
  grid-column: 1 / -1;
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid #edf2f8;
  color: #8a95a8;
  text-align: center;
}

.dashboard.page-section.active {
  background: #f5f7fb !important;
}

.portal-shell {
  grid-template-columns: 286px minmax(0, 1fr);
  background: #f5f7fb;
}

.portal-sidebar {
  top: 82px;
  gap: 18px;
  padding: 26px 20px;
  border-right: 1px solid #e3e8f0;
  background: #fff;
}

.portal-logo {
  justify-content: start;
  min-height: 62px;
}

.portal-menu a {
  gap: 12px;
  min-height: 50px;
  border-radius: 10px;
  color: #4f5b6f;
  font-weight: 800;
}

.portal-menu a.active,
.portal-menu a:hover,
.dashboard-module-nav a.active,
.dashboard-module-nav a:hover {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 14px 26px rgba(6, 104, 232, 0.22);
}

.portal-main {
  padding: 22px clamp(18px, 3vw, 42px) 60px;
}

.portal-topbar {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  min-height: 66px;
  border-bottom: 1px solid #e3e8f0;
}

.portal-search {
  width: min(460px, 100%);
  border-radius: 13px;
  background: #fff;
}

.portal-heading h2 {
  color: #07142f;
  font-size: clamp(2rem, 3.5vw, 3.2rem);
}

.dashboard-hero-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  min-height: 160px;
  padding: clamp(22px, 3vw, 38px);
  overflow: hidden;
  border: 1px solid #e3eaf5;
  border-radius: 18px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.2)),
    url("https://images.unsplash.com/photo-1596422846543-75c6fc197f07?auto=format&fit=crop&w=1800&q=82") center / cover;
  box-shadow: 0 18px 40px rgba(8, 30, 68, 0.06);
}

.dashboard-hero-strip span {
  color: #b77900;
  font-weight: 900;
  text-transform: uppercase;
}

.dashboard-hero-strip h3 {
  margin: 8px 0;
  color: #07142f;
  font-size: clamp(1.8rem, 3vw, 3rem);
}

.dashboard-hero-strip p {
  max-width: 620px;
  color: #64748b;
}

.creator-rank-card {
  display: grid;
  gap: 4px;
  min-width: 190px;
  padding: 16px 18px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 38px rgba(8, 30, 68, 0.1);
}

.creator-rank-card strong {
  color: #07142f;
}

.dashboard-module-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px;
  border-radius: 16px;
  background: #fff;
}

.portal-shell .dashboard-grid {
  grid-template-columns: repeat(4, minmax(180px, 1fr));
  gap: 18px;
}

.portal-shell .dashboard-grid article,
.sales-strip article,
.analytics-card,
.finance-card,
.management-card,
.settings-form,
.portal-card,
.scan-panel,
.news-composer {
  border: 1px solid #e3eaf5;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 28px rgba(8, 30, 68, 0.045);
}

.portal-shell .dashboard-grid article {
  min-height: 138px;
  padding: 24px;
}

.portal-shell .dashboard-grid strong {
  color: #07142f;
  font-size: clamp(2rem, 3vw, 3rem);
}

.sales-strip {
  grid-template-columns: repeat(4, minmax(160px, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.dashboard-analytics-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(320px, 0.8fr);
  gap: 18px;
  margin-top: 18px;
}

.analytics-card {
  padding: 24px;
}

.line-chart-preview {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  align-items: end;
  gap: 14px;
  height: 210px;
  margin-top: 26px;
  padding: 18px;
  border-radius: 16px;
  background: linear-gradient(180deg, #f8fbff, #fff);
}

.line-chart-preview span {
  display: block;
  min-height: 36px;
  border-radius: 999px 999px 6px 6px;
  background: linear-gradient(180deg, var(--blue), rgba(6, 104, 232, 0.16));
}

.donut-preview {
  display: grid;
  width: 168px;
  height: 168px;
  place-items: center;
  margin: 20px auto;
  border-radius: 999px;
  background: conic-gradient(#168fd1 0 34%, #22c6b7 34% 58%, #f9ad34 58% 78%, #f06d86 78% 91%, #e2e8f0 91%);
  color: #07142f;
  text-align: center;
}

.donut-preview::before {
  content: "";
  position: absolute;
}

.donut-preview strong,
.donut-preview span {
  z-index: 1;
  grid-column: 1;
  grid-row: 1;
  align-self: center;
  color: #07142f;
}

.donut-preview span {
  margin-top: 42px;
  color: #64748b;
  font-size: 0.78rem;
}

.category-stat-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.category-stat-list li {
  display: flex;
  justify-content: space-between;
  color: #64748b;
  font-weight: 800;
}

.role-dashboard-grid,
.finance-module-grid,
.management-grid {
  gap: 18px;
}

.settings-form input,
.settings-form textarea,
.news-composer input,
.news-composer textarea,
.news-composer select,
.slider-form input,
.slider-form textarea,
.slider-form select {
  border-radius: 12px;
  background: #fbfdff;
}

.logout-button {
  background: #fff1f1;
  color: #dc2626;
}

@media (max-width: 1180px) {
  .nav-links {
    gap: 12px;
  }

  .category-tile-grid,
  .destination-grid,
  .photo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .portal-shell .dashboard-grid,
  .sales-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dashboard-analytics-grid,
  .mobile-app-banner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .topbar {
    min-height: 72px;
    padding: 0 16px;
  }

  .brand span:last-child {
    display: none;
  }

  .upload-photo-button {
    display: none;
  }

  .account-button {
    min-width: 72px;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding: 42px 18px 34px;
    background:
      linear-gradient(180deg, rgba(247, 251, 255, 0.98), rgba(247, 251, 255, 0.84)),
      url("https://images.unsplash.com/photo-1596422846543-75c6fc197f07?auto=format&fit=crop&w=1300&q=80") center / cover;
  }

  .hero h1 {
    font-size: clamp(3.1rem, 16vw, 5.6rem);
  }

  .hero-phone {
    transform: none;
  }

  .category-tile-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .destination-grid,
  .photo-grid {
    grid-template-columns: 1fr 1fr;
  }

  .destination-grid button {
    min-height: 190px;
  }

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

  .portal-sidebar {
    position: static;
    height: auto;
  }

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

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

@media (max-width: 640px) {
  .nav-links {
    position: fixed;
    inset: auto 12px 12px;
    z-index: 40;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    padding: 8px;
    border: 1px solid #dbe5f3;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 18px 48px rgba(8, 30, 68, 0.16);
  }

  .nav-links a {
    display: none;
    min-height: 46px;
    justify-content: center;
    border-radius: 16px;
    font-size: 0.72rem;
  }

  .nav-links a:nth-child(1),
  .nav-links a:nth-child(2),
  .nav-links a:nth-child(7),
  .nav-links a:nth-child(8) {
    display: flex;
  }

  .nav-links a.active {
    background: var(--blue);
    color: #fff;
  }

  .search-button {
    display: none;
  }

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

  .hero-creator-strip {
    flex-wrap: wrap;
  }

  .section {
    padding-inline: 14px;
  }

  .category-tile-grid,
  .destination-grid,
  .photo-grid,
  .portal-shell .dashboard-grid,
  .sales-strip,
  .dashboard-analytics-grid,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .mobile-app-banner {
    margin-inline: 14px;
  }

  .app-phone-stack,
  .highlight-news-stack {
    display: none;
  }

  .portal-main {
    padding: 18px 14px 96px;
  }

  .portal-topbar,
  .portal-heading {
    align-items: stretch;
  }

  .dashboard-module-nav {
    position: sticky;
    top: 74px;
    z-index: 9;
    overflow-x: auto;
    flex-wrap: nowrap;
  }

  .dashboard-module-nav a {
    white-space: nowrap;
  }
}

/* Photora 2026 clean marketplace redesign */
:root {
  --photora-blue: #075fe8;
  --photora-navy: #061b46;
  --photora-ink: #0b162f;
  --photora-gold: #f3ad18;
  --photora-red: #ef342f;
  --photora-muted: #63718a;
  --photora-line: #e7edf6;
  --photora-soft: #f7fbff;
  --photora-card: #ffffff;
}

body {
  background: #fff !important;
  color: var(--photora-ink) !important;
}

.discover-header,
.discover-search,
.category-pills,
.authenticity-banner,
.market-showcase,
.secondary-nav,
.nav-links a[href="#news"],
.nav-links a[href="#protection"],
.nav-links a[href="#security"],
.nav-links a[href="#profit"],
.chat-widget {
  display: none !important;
}

.topbar {
  position: sticky !important;
  top: 0;
  z-index: 70;
  display: grid !important;
  grid-template-columns: 190px minmax(0, 1fr) 42px 46px 92px 138px;
  align-items: center;
  min-height: 86px !important;
  padding: 0 clamp(18px, 5vw, 86px) !important;
  gap: 16px !important;
  border-bottom: 1px solid var(--photora-line) !important;
  background: rgba(255, 255, 255, 0.96) !important;
  backdrop-filter: blur(16px);
  box-shadow: none !important;
}

.brand {
  width: auto !important;
  min-width: 0 !important;
  color: var(--photora-navy) !important;
}

.brand-wordmark {
  display: block;
  width: 172px !important;
  max-height: 44px !important;
  object-fit: contain;
}

.menu-toggle {
  display: none !important;
}

.nav-links {
  position: static !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: clamp(14px, 2vw, 32px) !important;
  width: auto !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.nav-links a {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: auto !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: #111b32 !important;
  font-size: 0.95rem !important;
  font-weight: 800 !important;
  line-height: 1;
  box-shadow: none !important;
}

.nav-links a.active {
  color: var(--photora-blue) !important;
}

.basket-nav {
  width: 42px !important;
  height: 42px !important;
  border-radius: 14px !important;
}

.basket-nav span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.basket-nav::before {
  content: "🛒";
  color: var(--photora-ink);
  font-size: 1.15rem;
}

.basket-nav b {
  position: absolute;
  transform: translate(14px, -14px);
}

.search-button {
  display: grid !important;
  place-items: center;
  width: 42px !important;
  min-width: 42px !important;
  height: 42px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 14px !important;
  background: transparent !important;
  color: var(--photora-ink) !important;
}

.search-button::before {
  content: "⌕";
  font-size: 1.7rem;
  line-height: 1;
}

.search-button span {
  display: none !important;
}

.account-button,
.upload-photo-button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 46px !important;
  border-radius: 12px !important;
  font-size: 0.92rem !important;
  font-weight: 900 !important;
  white-space: nowrap;
}

.account-button {
  border: 1px solid #cbd7ea !important;
  background: #fff !important;
  color: var(--photora-ink) !important;
}

.upload-photo-button {
  border: 1px solid var(--photora-blue) !important;
  background: var(--photora-blue) !important;
  color: #fff !important;
  box-shadow: 0 14px 28px rgba(7, 95, 232, 0.18);
}

.hero {
  position: relative !important;
  isolation: isolate;
  display: grid !important;
  grid-template-columns: minmax(330px, 0.86fr) minmax(360px, 1fr) !important;
  align-items: center !important;
  gap: clamp(28px, 5vw, 72px) !important;
  min-height: 640px !important;
  padding: clamp(42px, 6vw, 92px) clamp(20px, 6vw, 92px) 54px !important;
  overflow: hidden;
  border: 0 !important;
  border-radius: 0 !important;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.9) 35%, rgba(255, 255, 255, 0.34) 72%, rgba(255, 255, 255, 0.1) 100%),
    var(--hero-image, url("https://images.unsplash.com/photo-1596422846543-75c6fc197f07?auto=format&fit=crop&w=2200&q=86")) center / cover !important;
  color: var(--photora-ink) !important;
  box-shadow: inset 0 -80px 100px rgba(255, 255, 255, 0.9);
}

.hero::before,
.hero::after {
  display: none !important;
}

.hero-copy {
  max-width: 650px !important;
  padding: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.hero-badge {
  display: inline-flex !important;
  width: fit-content;
  margin: 0 0 24px !important;
  padding: 8px 16px !important;
  border: 1px solid #f7e0a4 !important;
  border-radius: 999px !important;
  background: rgba(255, 248, 226, 0.92) !important;
  color: #8a5b00 !important;
  font-size: 0.78rem !important;
  font-weight: 900 !important;
  letter-spacing: 0 !important;
  text-transform: uppercase !important;
}

.hero h1 {
  max-width: 640px !important;
  margin: 0 !important;
  color: var(--photora-navy) !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: clamp(3.6rem, 6vw, 6.9rem) !important;
  font-weight: 800 !important;
  line-height: 0.96 !important;
  letter-spacing: 0 !important;
}

.hero h1 span {
  color: var(--photora-gold) !important;
}

.hero-text {
  max-width: 470px !important;
  margin: 24px 0 0 !important;
  color: #263c5f !important;
  font-size: clamp(1rem, 1.35vw, 1.22rem) !important;
  line-height: 1.75 !important;
}

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

.primary-action,
.secondary-action,
.glass-action {
  min-height: 52px !important;
  padding: 0 24px !important;
  border-radius: 12px !important;
  font-weight: 900 !important;
  letter-spacing: 0 !important;
}

.primary-action {
  background: var(--photora-blue) !important;
  color: #fff !important;
  border-color: var(--photora-blue) !important;
}

.secondary-action,
.glass-action {
  background: #fff !important;
  color: var(--photora-navy) !important;
  border: 1px solid #cbd7ea !important;
  box-shadow: none !important;
}

.hero-creator-strip {
  margin-top: 24px !important;
  color: var(--photora-navy) !important;
}

.hero-creator-strip span {
  width: 34px !important;
  height: 34px !important;
  border: 2px solid #fff !important;
  background: linear-gradient(135deg, #075fe8, #f3ad18) !important;
}

.hero-phone {
  justify-self: center;
  width: min(330px, 80vw) !important;
  transform: rotate(7deg) translateY(4px) !important;
  filter: drop-shadow(0 34px 55px rgba(6, 27, 70, 0.24));
}

.phone-shell {
  border: 8px solid #fff !important;
  border-radius: 34px !important;
  background: #fff !important;
  color: var(--photora-ink) !important;
}

.phone-photo {
  aspect-ratio: 1.16 / 1 !important;
  object-fit: cover;
  border-radius: 18px !important;
}

.phone-certificate {
  border: 1px solid var(--photora-line) !important;
  background: #fff !important;
}

.section {
  padding: 34px clamp(18px, 5vw, 86px) !important;
}

.category-showcase,
.destination-showcase,
.item-heading {
  display: block !important;
  width: min(1340px, 100%);
  margin: 0 auto !important;
}

.category-showcase {
  padding-top: 4px !important;
}

.mini-section-heading {
  display: flex !important;
  align-items: end !important;
  justify-content: space-between !important;
  gap: 16px !important;
  margin: 0 0 18px !important;
}

.mini-section-heading h3,
.item-heading h3 {
  margin: 0 !important;
  color: var(--photora-navy) !important;
  font-size: clamp(1.15rem, 1.7vw, 1.55rem) !important;
}

.mini-section-heading p,
.mini-section-heading span,
.mini-section-heading a,
.item-heading span {
  color: #52627c !important;
  font-weight: 800 !important;
}

.category-tile-grid {
  display: grid !important;
  grid-template-columns: repeat(8, minmax(92px, 1fr)) !important;
  gap: 18px !important;
}

.category-tile-grid button {
  min-height: 112px !important;
  padding: 14px 10px !important;
  border: 0 !important;
  border-radius: 18px !important;
  background: #f7fbff !important;
  color: var(--photora-navy) !important;
  box-shadow: none !important;
}

.category-tile-grid button:nth-child(2n) {
  background: #f2fbf3 !important;
}

.category-tile-grid button:nth-child(3n) {
  background: #fff7ef !important;
}

.category-tile-grid button:nth-child(4n) {
  background: #fff5f5 !important;
}

.category-tile-grid span {
  color: var(--photora-blue) !important;
  font-size: 2rem !important;
}

.destination-showcase {
  padding-top: 30px !important;
}

.destination-grid {
  display: grid !important;
  grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  gap: 18px !important;
}

.destination-grid button {
  position: relative;
  min-height: 230px !important;
  overflow: hidden;
  border-radius: 16px !important;
  border: 0 !important;
  background: #0f172a !important;
  box-shadow: 0 18px 34px rgba(6, 27, 70, 0.12) !important;
}

.destination-grid img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.destination-grid button::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.08), rgba(2, 6, 23, 0.76));
}

.destination-grid strong,
.destination-grid span {
  position: relative;
  z-index: 1;
  display: block;
  margin-left: 16px;
  color: #fff !important;
}

.destination-grid strong {
  margin-top: 150px;
  font-size: 1rem !important;
}

.destination-grid span {
  margin-top: 3px;
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.86) !important;
  font-weight: 800;
}

.item-heading {
  display: flex !important;
  padding-top: 32px !important;
}

.photo-grid {
  display: grid !important;
  width: min(1340px, 100%);
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 22px !important;
  margin: 0 auto !important;
}

.photo-card {
  overflow: hidden;
  border: 1px solid var(--photora-line) !important;
  border-radius: 16px !important;
  background: #fff !important;
  box-shadow: 0 12px 26px rgba(6, 27, 70, 0.06) !important;
}

.photo-card img {
  width: 100%;
  aspect-ratio: 1.42 / 1 !important;
  height: auto !important;
  object-fit: cover;
}

.photo-card-body {
  padding: 14px 16px 16px !important;
  color: var(--photora-ink) !important;
}

.photo-card h3,
.photo-card strong {
  color: var(--photora-ink) !important;
}

.photo-card p,
.photo-card span,
.photo-card small {
  color: #66758d !important;
}

.photo-card .card-bottom strong,
.photo-card .card-bottom b {
  color: var(--photora-navy) !important;
  font-size: 1rem !important;
}

.photo-card button {
  border-radius: 12px !important;
  background: var(--photora-blue) !important;
  color: #fff !important;
}

.mobile-app-banner {
  display: grid !important;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.8fr) minmax(240px, 0.55fr) !important;
  align-items: center !important;
  gap: 28px !important;
  width: min(1340px, calc(100% - 36px));
  margin: 48px auto 0 !important;
  padding: 36px 44px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: linear-gradient(90deg, #edf7ff, #f9fcff) !important;
  color: var(--photora-navy) !important;
}

.highlight-news-feature button,
.highlight-news-stack button {
  border-color: #dbe7f6 !important;
  background: rgba(255, 255, 255, 0.9) !important;
}

.highlight-news-feature button:hover,
.highlight-news-stack button:hover {
  transform: translateY(-3px);
  border-color: rgba(11, 86, 219, 0.32) !important;
  box-shadow: 0 24px 54px rgba(8, 30, 68, 0.14) !important;
}

.highlight-news-feature i,
.highlight-news-stack i {
  width: fit-content;
  border-radius: 999px;
  background: #0b56db;
  color: #fff;
  padding: 8px 12px;
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 900;
}

.highlight-news-stack i {
  padding: 6px 10px;
  font-size: 0.72rem;
}

.mobile-app-copy h2 {
  margin: 0 0 8px !important;
  color: var(--photora-navy) !important;
  font-size: clamp(1.8rem, 3vw, 3rem) !important;
}

.store-buttons a,
.store-buttons span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px !important;
  border-radius: 10px !important;
  background: #111827 !important;
  color: #fff !important;
  padding: 0 16px;
  text-decoration: none;
  font-weight: 900;
}

.store-buttons a:nth-child(2) {
  background: #fff !important;
  color: #0b56db !important;
  border: 1px solid #cfe0f6;
}

.site-footer {
  display: grid !important;
  grid-template-columns: minmax(260px, 1.4fr) repeat(4, minmax(130px, 0.65fr)) !important;
  gap: 38px !important;
  margin-top: 0 !important;
  padding: 52px clamp(18px, 5vw, 86px) 30px !important;
  border-top: 1px solid var(--photora-line) !important;
  background: #fff !important;
  color: #5e6d86 !important;
}

.footer-brand,
.footer-links,
.footer-social,
.footer-company {
  align-items: start !important;
}

.footer-logo .brand-wordmark {
  width: 175px !important;
}

.site-footer span,
.site-footer a {
  color: #5e6d86 !important;
  font-weight: 700 !important;
}

.site-footer div > span:first-child,
.footer-brand span:first-of-type {
  color: var(--photora-navy) !important;
  font-weight: 900 !important;
}

.footer-copy {
  grid-column: 1 / -1;
  margin: 22px 0 0 !important;
  padding-top: 20px !important;
  border-top: 1px solid var(--photora-line);
  color: #7b8799 !important;
  text-align: left !important;
}

.dashboard {
  background: #f7f9fc !important;
}

.portal-shell {
  display: grid !important;
  grid-template-columns: 300px minmax(0, 1fr) !important;
  min-height: calc(100vh - 86px);
  background: #f7f9fc !important;
}

.portal-sidebar {
  position: sticky !important;
  top: 86px !important;
  height: calc(100vh - 86px) !important;
  overflow: auto;
  padding: 26px 20px !important;
  border-right: 1px solid var(--photora-line) !important;
  background: #fff !important;
}

.portal-logo {
  margin-bottom: 34px !important;
  color: var(--photora-navy) !important;
}

.portal-logo img {
  width: 44px !important;
  height: 44px !important;
  object-fit: contain;
}

.sidebar-kicker {
  margin: 22px 0 12px !important;
  color: #9aa4b5 !important;
  font-size: 0.76rem !important;
  font-weight: 900 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
}

.portal-menu {
  gap: 8px !important;
}

.portal-menu a,
.dashboard-module-nav a {
  border-radius: 12px !important;
  color: #4b5567 !important;
  font-weight: 900 !important;
}

.portal-menu a.active,
.dashboard-module-nav a.active,
.dashboard-module-nav a:hover {
  background: var(--photora-blue) !important;
  color: #fff !important;
  box-shadow: 0 12px 24px rgba(7, 95, 232, 0.18) !important;
}

.portal-account {
  margin-top: 42px !important;
  padding-top: 24px !important;
  border-top: 1px solid var(--photora-line) !important;
}

.portal-avatar {
  width: 56px !important;
  height: 72px !important;
  border-radius: 10px !important;
  object-fit: cover !important;
  background: #eef4ff !important;
}

.portal-main {
  padding: 26px clamp(18px, 3vw, 42px) 60px !important;
}

.portal-topbar {
  display: flex !important;
  justify-content: space-between !important;
  gap: 18px !important;
  margin-bottom: 32px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

.portal-search {
  width: min(460px, 100%) !important;
  min-height: 52px !important;
  border: 1px solid var(--photora-line) !important;
  border-radius: 14px !important;
  background: #fff !important;
}

.portal-heading {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: end !important;
  gap: 18px !important;
  margin-bottom: 22px !important;
}

.portal-heading h2 {
  margin: 12px 0 6px !important;
  color: var(--photora-ink) !important;
  font-size: clamp(2rem, 3vw, 3rem) !important;
}

.dashboard-hero-strip {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 220px !important;
  align-items: end !important;
  margin-bottom: 18px !important;
  border: 1px solid var(--photora-line) !important;
  border-radius: 18px !important;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.82)),
    url("https://images.unsplash.com/photo-1596422846543-75c6fc197f07?auto=format&fit=crop&w=1800&q=82") center / cover !important;
  box-shadow: none !important;
}

.dashboard-module,
.role-dashboard,
.management-card,
.analytics-card,
.finance-card,
.settings-form,
.portal-card,
.scan-panel,
.news-composer {
  border: 1px solid var(--photora-line) !important;
  border-radius: 18px !important;
  background: #fff !important;
  box-shadow: 0 12px 26px rgba(6, 27, 70, 0.04) !important;
}

.dashboard-module {
  margin-top: 18px !important;
  padding: 24px !important;
}

.portal-shell .dashboard-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(150px, 1fr)) !important;
  gap: 16px !important;
}

.portal-shell .dashboard-grid article,
.sales-strip article {
  min-height: 126px !important;
  border: 1px solid var(--photora-line) !important;
  border-radius: 16px !important;
  background: #fff !important;
  box-shadow: none !important;
}

.portal-shell .dashboard-grid strong,
.sales-strip strong {
  color: var(--photora-ink) !important;
  font-size: clamp(1.9rem, 3vw, 2.8rem) !important;
}

.role-dashboard-grid,
.finance-module-grid,
.management-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 18px !important;
}

.role-tools,
.portal-workspace {
  display: none !important;
}

.scan-panel {
  display: grid !important;
  grid-template-columns: 220px minmax(0, 1fr) !important;
  gap: 18px !important;
  align-items: center !important;
  margin-top: 18px !important;
}

.scanner-visual {
  min-height: 260px !important;
  border-radius: 26px !important;
  background: linear-gradient(145deg, #061b46, #075fe8) !important;
}

.auth-page {
  min-height: calc(100vh - 86px) !important;
  padding: clamp(22px, 4vw, 58px) !important;
  background: #eef2f7 !important;
}

.auth-card {
  width: min(1280px, 100%) !important;
  overflow: hidden;
  border: 0 !important;
  border-radius: 22px !important;
  background: #fff !important;
  box-shadow: 0 32px 80px rgba(6, 27, 70, 0.12) !important;
}

.auth-visual {
  background:
    linear-gradient(rgba(7, 95, 232, 0.92), rgba(7, 95, 232, 0.92)),
    linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px) !important;
  background-size: auto, 54px 54px, 54px 54px !important;
}

.auth-form-panel input,
.auth-form-panel select,
.auth-form-panel textarea,
.settings-form input,
.settings-form textarea,
.settings-form select,
.news-composer input,
.news-composer textarea,
.news-composer select {
  min-height: 50px !important;
  border: 1px solid #dbe4f0 !important;
  border-radius: 12px !important;
  background: #fff !important;
}

@media (max-width: 1180px) {
  .topbar {
    grid-template-columns: 170px minmax(0, 1fr) 42px 42px 84px !important;
  }

  .upload-photo-button {
    display: none !important;
  }

  .category-tile-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }

  .destination-grid,
  .photo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  .portal-shell .dashboard-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 860px) {
  .topbar {
    grid-template-columns: 145px minmax(0, 1fr) 42px 80px !important;
    min-height: 74px !important;
    padding: 0 14px !important;
  }

  .brand-wordmark {
    width: 138px !important;
  }

  .search-button {
    justify-self: end;
  }

  .nav-links {
    position: fixed !important;
    left: 10px !important;
    right: 10px !important;
    bottom: 10px !important;
    z-index: 80 !important;
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 6px !important;
    padding: 8px !important;
    border: 1px solid var(--photora-line) !important;
    border-radius: 24px !important;
    background: rgba(255, 255, 255, 0.96) !important;
    box-shadow: 0 20px 44px rgba(6, 27, 70, 0.16) !important;
    backdrop-filter: blur(14px);
  }

  .nav-links a {
    display: none !important;
    min-height: 46px !important;
    border-radius: 16px !important;
    font-size: 0.72rem !important;
  }

  .nav-links a:nth-child(1),
  .nav-links a:nth-child(2),
  .nav-links a:nth-child(3),
  .basket-nav {
    display: flex !important;
  }

  .account-button {
    min-height: 42px !important;
    border-color: var(--photora-blue) !important;
    background: var(--photora-blue) !important;
    color: #fff !important;
  }

  .hero {
    grid-template-columns: 1fr !important;
    min-height: auto !important;
    padding: 38px 18px 32px !important;
    background:
      linear-gradient(180deg, rgba(255,255,255,.98), rgba(255,255,255,.86)),
      var(--hero-image, url("https://images.unsplash.com/photo-1596422846543-75c6fc197f07?auto=format&fit=crop&w=1400&q=84")) center / cover !important;
  }

  .hero h1 {
    font-size: clamp(3.1rem, 15vw, 5rem) !important;
  }

  .hero-phone {
    width: min(300px, 86vw) !important;
    transform: rotate(3deg) !important;
  }

  .category-tile-grid,
  .destination-grid,
  .photo-grid,
  .mobile-app-banner,
  .site-footer,
  .portal-shell,
  .role-dashboard-grid,
  .finance-module-grid,
  .management-grid,
  .scan-panel,
  .dashboard-analytics-grid {
    grid-template-columns: 1fr !important;
  }

  .portal-sidebar {
    position: static !important;
    height: auto !important;
  }

  .portal-topbar,
  .portal-heading {
    display: grid !important;
    grid-template-columns: 1fr !important;
  }

  .portal-main {
    padding-bottom: 98px !important;
  }
}

@media (max-width: 560px) {
  .topbar {
    grid-template-columns: 132px 42px 76px !important;
  }

  .nav-links {
    grid-template-columns: repeat(4, 1fr) !important;
  }

  .search-button {
    display: grid !important;
  }

  .category-tile-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .destination-grid,
  .photo-grid,
  .portal-shell .dashboard-grid,
  .sales-strip {
    grid-template-columns: 1fr !important;
  }

  .mobile-app-banner {
    width: calc(100% - 28px) !important;
    padding: 26px 22px !important;
  }
}

.topbar .nav-links a.secondary-nav,
.topbar .nav-links a[href="#growth"],
.topbar .nav-links a[href="#profit"],
.topbar .nav-links a[href="#protection"],
.topbar .nav-links a[href="#security"],
.topbar .nav-links a[href="#news"] {
  display: none !important;
}

.topbar .nav-links a:nth-child(5) {
  display: inline-flex !important;
}

.brand,
.footer-logo {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  text-decoration: none !important;
}

.brand-logo {
  display: block;
  width: 48px !important;
  height: 48px !important;
  object-fit: contain !important;
  flex: 0 0 auto;
}

.brand-text {
  color: var(--photora-navy) !important;
  font-size: 1.34rem !important;
  font-weight: 950 !important;
  letter-spacing: 0.18em !important;
  line-height: 1 !important;
}

.footer-logo .brand-logo {
  width: 54px !important;
  height: 54px !important;
}

.footer-logo .brand-text {
  font-size: 1.28rem !important;
}

@media (max-width: 860px) {
  .brand-logo {
    width: 42px !important;
    height: 42px !important;
  }

  .brand-text {
    font-size: 1.04rem !important;
    letter-spacing: 0.12em !important;
  }
}

@media (max-width: 560px) {
  .brand-text {
    display: none !important;
  }
}

/* Final header and CMS polish */
.topbar {
  grid-template-columns: 230px minmax(350px, 1fr) 42px 46px 92px 138px !important;
  gap: 14px !important;
}

.brand {
  overflow: hidden;
}

.brand-text {
  max-width: 146px;
  overflow: hidden;
}

.nav-links {
  gap: clamp(12px, 1.45vw, 24px) !important;
}

.topbar .nav-links a[href="#growth"] {
  display: inline-flex !important;
}

.topbar > .basket-nav {
  display: inline-grid !important;
  place-items: center !important;
  border: 1px solid #e2e8f0 !important;
  background: #fff !important;
}

.footer-link-form {
  display: grid;
  gap: 14px;
  margin: 16px 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

@media (max-width: 1120px) {
  .topbar {
    grid-template-columns: auto 42px 42px 44px 86px !important;
    gap: 10px !important;
  }

  .topbar .nav-links,
  .upload-photo-button {
    display: none !important;
  }

  .topbar .menu-toggle {
    display: inline-flex !important;
  }

  .topbar.nav-open .nav-links {
    display: grid !important;
  }
}

/* Mobile-first header repair */
@media (max-width: 1120px) {
  html {
    scroll-padding-top: 82px;
  }

  body {
    padding-bottom: 74px;
  }

  .topbar {
    grid-template-columns: minmax(0, 1fr) auto auto auto auto !important;
    min-height: 72px !important;
    padding: 10px clamp(12px, 3vw, 24px) !important;
    gap: 8px !important;
    align-items: center !important;
  }

  .topbar .brand {
    order: 1;
    min-width: 0 !important;
  }

  .topbar .search-button {
    order: 2;
  }

  .topbar > .basket-nav {
    order: 3;
  }

  .topbar .account-button {
    order: 4;
  }

  .topbar .menu-toggle {
    order: 5;
    display: inline-flex !important;
    min-width: 46px;
    padding: 0 12px !important;
    border-radius: 14px !important;
    background: #fff !important;
    color: var(--photora-navy) !important;
    border: 1px solid #dbe4f0 !important;
    font-size: 0.82rem !important;
    font-weight: 900 !important;
  }

  .topbar .nav-links {
    order: 6;
    grid-column: 1 / -1;
    position: static !important;
    display: none !important;
    width: 100% !important;
    margin-top: 8px !important;
    padding: 10px !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 20px !important;
    background: #fff !important;
    box-shadow: 0 18px 42px rgba(6, 27, 70, 0.14) !important;
  }

  .topbar.nav-open .nav-links {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }

  .topbar .nav-links a,
  .topbar .nav-links a:nth-child(n),
  .topbar .nav-links a[href="#growth"],
  .topbar .nav-links a[href="#news"],
  .topbar .nav-links a[href="#protection"],
  .topbar .nav-links a[href="#security"],
  .topbar .nav-links a[href="#profit"] {
    display: inline-flex !important;
    min-height: 44px !important;
    padding: 0 8px !important;
    border-radius: 14px !important;
    background: #f7faff !important;
    color: #0f1f3d !important;
    font-size: 0.78rem !important;
    font-weight: 900 !important;
    text-align: center !important;
    white-space: normal !important;
  }

  .topbar .nav-links a.active {
    background: var(--photora-blue) !important;
    color: #fff !important;
  }

  .upload-photo-button {
    display: none !important;
  }

  .search-button,
  .topbar > .basket-nav,
  .account-button {
    min-height: 46px !important;
    height: 46px !important;
    border-radius: 14px !important;
  }

  .search-button {
    width: 46px !important;
    padding: 0 !important;
    justify-content: center !important;
    font-size: 0 !important;
  }

  .search-button::before {
    content: "⌕";
    font-size: 1.3rem;
    line-height: 1;
  }

  .topbar > .basket-nav {
    width: 46px !important;
    font-size: 0 !important;
  }

  .topbar > .basket-nav #cartBadge {
    top: -7px !important;
    right: -5px !important;
    transform: none !important;
    z-index: 2 !important;
  }

  .topbar > .basket-nav::before {
    content: "Cart";
    font-size: 0.72rem;
    font-weight: 900;
  }

  .account-button {
    padding: 0 14px !important;
    font-size: 0.86rem !important;
  }
}

@media (max-width: 720px) {
  .topbar {
    grid-template-columns: minmax(0, 1fr) 44px 44px 70px 44px !important;
    min-height: 68px !important;
  }

  .brand-logo {
    width: 40px !important;
    height: 40px !important;
  }

  .brand-text {
    display: inline-block !important;
    max-width: 118px !important;
    font-size: 0.95rem !important;
    letter-spacing: 0.11em !important;
  }

  .topbar.nav-open .nav-links {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .hero {
    padding-top: 28px !important;
  }

  .hero h1 {
    font-size: clamp(2.7rem, 13vw, 4.6rem) !important;
  }

  .section,
  .upload-panel {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
}

@media (max-width: 430px) {
  .topbar {
    grid-template-columns: minmax(0, 1fr) 42px 42px 64px 42px !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
    gap: 6px !important;
  }

  .brand-text {
    max-width: 94px !important;
    font-size: 0.82rem !important;
  }

  .account-button {
    padding: 0 10px !important;
    font-size: 0.78rem !important;
  }

  .topbar .menu-toggle {
    min-width: 42px !important;
    padding: 0 !important;
    font-size: 0 !important;
  }

  .topbar .menu-toggle::before {
    content: "☰";
    font-size: 1.2rem;
  }
}

/* Functional upload, mobile web and assistant refinements */
.upload-preview-card {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 14px;
  border: 1px solid #dbe7f6;
  border-radius: 20px;
  background: #f8fbff;
}

.upload-preview-card img {
  width: 100%;
  aspect-ratio: 1.2;
  object-fit: cover;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #e4edf8;
}

.upload-preview-card div {
  display: grid;
  gap: 8px;
}

.upload-preview-card strong {
  color: var(--photora-ink);
  font-size: 1rem;
}

.upload-preview-card span {
  color: var(--photora-muted);
  line-height: 1.5;
}

.file-pill {
  position: relative;
  display: inline-grid !important;
  width: fit-content;
  min-height: 42px;
  place-items: center;
  padding: 0 16px;
  overflow: hidden;
  border-radius: 999px;
  border: 1px solid #cfe0f5;
  background: #fff;
  color: var(--photora-blue);
  font-weight: 900;
  cursor: pointer;
}

.file-pill input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.upload-status-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.upload-status-grid span {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 10px;
  border: 1px solid #e2ebf7;
  border-radius: 14px;
  background: #fff;
  color: #52627a;
  font-size: 0.84rem;
  font-weight: 800;
}

.upload-status-grid b {
  display: inline-grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 999px;
  background: var(--photora-blue);
  color: #fff;
  font-size: 0.76rem;
}

.drive-storage-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px;
  border: 1px solid #dbe7f6;
  border-radius: 16px;
  background: linear-gradient(135deg, #f8fbff, #ffffff);
}

.drive-storage-note div {
  display: grid;
  gap: 4px;
}

.drive-storage-note strong {
  color: #071536;
}

.drive-storage-note span {
  color: #64748b;
  line-height: 1.45;
  font-size: 0.9rem;
}

.drive-storage-note a {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  background: #075fe8;
  color: #fff;
  text-decoration: none;
  font-weight: 950;
}

.store-buttons a {
  display: inline-grid;
  min-height: 44px;
  place-items: center;
  padding: 0 18px;
  border-radius: 10px;
  background: #07142f;
  color: #fff;
  font-weight: 900;
  text-decoration: none;
}

.store-buttons a:nth-child(2) {
  background: #fff;
  color: var(--photora-blue);
  border: 1px solid #bdd4f4;
}

.app-phone-stack div {
  min-height: 210px;
}

.app-phone-stack span {
  line-height: 1.45;
}

.chat-widget {
  display: grid !important;
  position: fixed !important;
  right: 18px !important;
  bottom: 18px !important;
  z-index: 90 !important;
  justify-items: end !important;
  gap: 10px !important;
  pointer-events: none !important;
}

.chat-toggle,
.chat-panel {
  pointer-events: auto;
}

.chat-toggle {
  min-width: 74px;
  min-height: 52px;
  border: 0;
  border-radius: 999px;
  background: var(--photora-blue);
  color: #fff;
  box-shadow: 0 18px 34px rgba(7, 95, 232, 0.28);
  font-weight: 950;
  cursor: pointer;
}

.chat-panel {
  width: min(360px, calc(100vw - 28px));
  overflow: hidden;
  border: 1px solid #d9e5f5;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 26px 70px rgba(8, 30, 68, 0.18);
}

.chat-header,
.chat-input {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 14px;
  border-bottom: 1px solid #edf2f8;
}

.chat-header strong {
  display: block;
  color: var(--photora-ink);
}

.chat-header span {
  color: var(--photora-muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.chat-header button {
  width: 34px;
  height: 34px;
  border: 1px solid #dbe5f3;
  border-radius: 999px;
  background: #fff;
  cursor: pointer;
}

.chat-messages {
  display: grid;
  gap: 10px;
  max-height: 260px;
  overflow: auto;
  padding: 14px;
  background: #f8fbff;
}

.bot-message,
.user-message {
  width: fit-content;
  max-width: 86%;
  margin: 0;
  padding: 10px 12px;
  border-radius: 16px;
  line-height: 1.45;
  font-size: 0.9rem;
}

.bot-message {
  background: #fff;
  color: #334155;
  border: 1px solid #e3ecf8;
}

.user-message {
  justify-self: end;
  background: var(--photora-blue);
  color: #fff;
}

.quick-replies {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 14px 0;
}

.quick-replies button {
  min-height: 34px;
  border: 1px solid #dce7f5;
  border-radius: 999px;
  background: #fff;
  color: var(--photora-blue);
  font-weight: 850;
  cursor: pointer;
}

.chat-input {
  border-top: 1px solid #edf2f8;
  border-bottom: 0;
}

.chat-input input {
  min-height: 42px;
  width: 100%;
  border: 1px solid #dbe5f3;
  border-radius: 999px;
  padding: 0 14px;
}

.chat-input button {
  min-height: 42px;
  border: 0;
  border-radius: 999px;
  background: #07142f;
  color: #fff;
  padding: 0 14px;
  font-weight: 900;
  cursor: pointer;
}

@media (max-width: 720px) {
  .upload-preview-card,
  .upload-status-grid,
  .drive-storage-note {
    grid-template-columns: 1fr;
  }

  .drive-storage-note {
    display: grid;
  }

  .drive-storage-note a {
    width: 100%;
  }

  .chat-widget {
    right: 12px !important;
    bottom: 12px !important;
  }
}

.page-section:not(.active) {
  display: none !important;
}

/* Responsive footer refinement */
.site-footer {
  grid-template-columns: minmax(280px, 1.25fr) repeat(3, minmax(150px, 0.7fr)) !important;
  gap: clamp(28px, 5vw, 72px) !important;
}

.footer-brand {
  max-width: 420px !important;
}

.footer-brand > div {
  max-width: 390px;
}

.footer-brand > div span {
  display: block;
  line-height: 1.35;
}

.footer-links,
.footer-social,
.footer-company {
  align-content: start;
}

.footer-links a,
.footer-social a,
.footer-company a {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
}

@media (max-width: 900px) {
  .site-footer {
    grid-template-columns: 1fr 1fr !important;
    gap: 26px 18px !important;
    padding: 38px 18px 96px !important;
  }

  .footer-brand {
    grid-column: 1 / -1;
    max-width: none !important;
    padding-bottom: 22px;
    border-bottom: 1px solid #eef2f7;
  }

  .footer-brand > div {
    max-width: 560px;
  }
}

@media (max-width: 560px) {
  .site-footer {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    padding: 34px 18px 106px !important;
    text-align: left !important;
  }

  .footer-brand {
    gap: 16px !important;
    padding-bottom: 20px;
  }

  .footer-logo {
    gap: 10px !important;
  }

  .footer-logo .brand-logo {
    width: 46px !important;
    height: 46px !important;
  }

  .footer-logo .brand-text {
    display: inline-block !important;
    font-size: 1.12rem !important;
    letter-spacing: 0.16em !important;
  }

  .footer-links,
  .footer-social,
  .footer-company {
    gap: 10px !important;
    padding: 16px;
    border: 1px solid #e8eef7;
    border-radius: 18px;
    background: #fbfdff;
  }

  .footer-links span,
  .footer-social span,
  .footer-company span {
    margin-bottom: 2px;
    font-size: 0.95rem !important;
  }

  .footer-links a,
  .footer-social a,
  .footer-company a {
    width: 100% !important;
    min-height: 38px;
    padding: 0 10px;
    border-radius: 12px;
    background: #fff;
    color: #4b5870 !important;
    font-size: 0.9rem !important;
  }

  .footer-social {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-social span {
    grid-column: 1 / -1;
  }

  .footer-copy {
    margin-top: 4px !important;
    padding-top: 18px !important;
    font-size: 0.86rem !important;
    line-height: 1.5;
  }
}

/* Photora Highlights final editorial layout */
.news-highlight-section {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 18px !important;
  width: min(1340px, calc(100% - 36px)) !important;
  margin: 38px auto 0 !important;
  padding: 28px !important;
  border: 1px solid #e7edf6 !important;
  border-radius: 24px !important;
  background: #ffffff !important;
}

.news-highlight-section .mobile-app-copy {
  grid-column: 1 / -1 !important;
  display: flex !important;
  align-items: end !important;
  justify-content: space-between !important;
  gap: 18px !important;
  padding-bottom: 2px !important;
}

.news-highlight-section .mobile-app-copy h2 {
  max-width: none !important;
  margin: 6px 0 0 !important;
  font-size: clamp(1.55rem, 2.2vw, 2.25rem) !important;
  line-height: 1.08 !important;
}

.news-highlight-section .mobile-app-copy p {
  max-width: 520px !important;
  margin: 0 !important;
  color: #64748b !important;
}

.news-highlight-section .store-buttons {
  margin: 0 !important;
  flex: 0 0 auto !important;
}

.news-highlight-section .store-buttons a {
  min-height: 42px !important;
  padding: 0 14px !important;
  border: 1px solid #dbe7f6 !important;
  border-radius: 999px !important;
  background: #fff !important;
  color: #075fe8 !important;
}

.news-highlight-section .highlight-news-feature {
  min-width: 0 !important;
}

.news-highlight-section .highlight-news-stack {
  grid-column: span 3 !important;
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 18px !important;
}

.news-highlight-section .highlight-news-feature a,
.news-highlight-section .highlight-news-feature button,
.news-highlight-section .highlight-news-stack a,
.news-highlight-section .highlight-news-stack button {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 10px !important;
  min-height: 100% !important;
  padding: 12px !important;
  border: 1px solid #e5edf7 !important;
  border-radius: 20px !important;
  background: #fbfdff !important;
  color: #071536 !important;
  text-decoration: none !important;
  box-shadow: none !important;
}

.news-highlight-section .highlight-news-feature a:hover,
.news-highlight-section .highlight-news-stack a:hover {
  border-color: #bdd4f4 !important;
  background: #ffffff !important;
}

.news-highlight-section .highlight-news-feature img,
.news-highlight-section .highlight-news-stack img {
  grid-row: auto !important;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 16 / 10 !important;
  border-radius: 16px !important;
  object-fit: cover !important;
}

.news-highlight-section .highlight-news-feature span,
.news-highlight-section .highlight-news-stack span {
  color: #075fe8 !important;
  font-size: 0.72rem !important;
  font-weight: 950 !important;
  letter-spacing: 0.08em !important;
}

.news-highlight-section .highlight-news-feature strong,
.news-highlight-section .highlight-news-stack strong {
  color: #071536 !important;
  font-size: 1rem !important;
  line-height: 1.25 !important;
}

.news-highlight-section .highlight-news-feature small {
  color: #64748b !important;
  font-size: 0.86rem !important;
}

.news-highlight-section .highlight-news-feature i,
.news-highlight-section .highlight-news-stack i {
  width: fit-content !important;
  padding: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #075fe8 !important;
  font-size: 0.86rem !important;
  font-style: normal !important;
  font-weight: 950 !important;
}

@media (max-width: 1080px) {
  .news-highlight-section {
    grid-template-columns: 1fr !important;
  }

  .news-highlight-section .highlight-news-stack {
    grid-column: auto !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 760px) {
  .news-highlight-section {
    width: calc(100% - 28px) !important;
    padding: 18px !important;
  }

  .news-highlight-section .mobile-app-copy {
    display: grid !important;
    align-items: start !important;
  }

  .news-highlight-section .store-buttons {
    width: 100%;
  }

  .news-highlight-section .store-buttons a {
    width: 100%;
    justify-content: center;
  }

  .news-highlight-section .highlight-news-stack {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 980px) {
  .news-highlight-section {
    grid-template-columns: 1fr !important;
  }

  .news-highlight-section .mobile-app-copy h2 {
    font-size: clamp(1.75rem, 8vw, 2.55rem) !important;
  }

  .news-feed,
  .news-layout,
  .news-detail-hero,
  .featured-news-card,
  .compact-news-card {
    grid-template-columns: 1fr !important;
  }

  .compact-news-card img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 8;
  }
}

@media (max-width: 620px) {
  .news-highlight-section {
    margin-inline: 14px !important;
    padding: 18px !important;
    border-radius: 20px !important;
  }

  .news-highlight-section .store-buttons {
    display: grid;
    grid-template-columns: 1fr;
  }

  .highlight-news-stack a,
  .highlight-news-stack button {
    grid-template-columns: 58px minmax(0, 1fr) !important;
  }

  .highlight-news-stack img {
    width: 58px !important;
  }

  .news-archive-toolbar,
  .news-share {
    align-items: stretch;
  }

  .news-share a,
  .news-share button {
    flex: 1 1 46%;
    text-align: center;
  }
}

/* Footer final layout */
.site-footer {
  display: grid !important;
  grid-template-columns: minmax(280px, 1.25fr) repeat(3, minmax(160px, 0.7fr)) !important;
  gap: clamp(24px, 4vw, 58px) !important;
  align-items: start !important;
  padding: 54px clamp(18px, 5vw, 76px) 26px !important;
  border-top: 1px solid #e8eef7 !important;
  background: #ffffff !important;
}

.footer-brand {
  gap: 18px !important;
  max-width: 430px !important;
}

.footer-brand > div {
  display: grid !important;
  gap: 10px !important;
}

.footer-brand > div span {
  max-width: 360px;
  color: #071536 !important;
  font-size: 1rem !important;
  font-weight: 900 !important;
  line-height: 1.45 !important;
}

.footer-brand > div a {
  width: fit-content;
  color: #64748b !important;
  font-weight: 850 !important;
}

.footer-links,
.footer-social,
.footer-company {
  display: grid !important;
  gap: 8px !important;
  align-content: start !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

.footer-links span,
.footer-social span,
.footer-company span {
  margin: 0 0 8px !important;
  color: #071536 !important;
  font-size: 1rem !important;
  font-weight: 950 !important;
}

.footer-links a,
.footer-social a,
.footer-company a {
  display: inline-flex !important;
  align-items: center !important;
  width: fit-content !important;
  min-height: 30px !important;
  padding: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #64748b !important;
  font-size: 0.95rem !important;
  font-weight: 800 !important;
  text-decoration: none !important;
}

.footer-links a:hover,
.footer-social a:hover,
.footer-company a:hover {
  color: #075fe8 !important;
  text-decoration: none !important;
}

.footer-copy {
  grid-column: 1 / -1 !important;
  margin: 28px 0 0 !important;
  padding-top: 18px !important;
  border-top: 1px solid #edf2f8 !important;
  color: #8a94a6 !important;
  text-align: left !important;
  font-size: 0.9rem !important;
}

@media (max-width: 860px) {
  .site-footer {
    grid-template-columns: 1fr 1fr !important;
    gap: 18px !important;
    padding: 34px 16px 102px !important;
  }

  .footer-brand {
    grid-column: 1 / -1 !important;
    max-width: none !important;
    padding-bottom: 18px !important;
    border-bottom: 1px solid #edf2f8 !important;
  }

  .footer-links,
  .footer-social,
  .footer-company {
    padding: 16px !important;
    border: 1px solid #e8eef7 !important;
    border-radius: 18px !important;
    background: #fbfdff !important;
  }
}

@media (max-width: 560px) {
  .site-footer {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  .footer-logo .brand-logo {
    width: 44px !important;
    height: 44px !important;
  }

  .footer-logo .brand-text {
    font-size: 1.05rem !important;
    letter-spacing: 0.14em !important;
  }

  .footer-social {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .footer-social span {
    grid-column: 1 / -1 !important;
  }

  .footer-social a {
    width: 100% !important;
  }

  .footer-copy {
    margin-top: 12px !important;
    text-align: left !important;
  }
}

/* Footer polished compact layout */
.site-footer {
  grid-template-columns: minmax(300px, 1.45fr) minmax(130px, 0.55fr) minmax(190px, 0.75fr) minmax(160px, 0.65fr) !important;
  gap: clamp(24px, 5vw, 72px) !important;
  padding: 46px clamp(18px, 5vw, 78px) 22px !important;
  background: linear-gradient(180deg, #ffffff, #f8fbff) !important;
  border-top: 1px solid #e5edf7 !important;
}

.footer-logo {
  gap: 12px !important;
  margin-bottom: 2px !important;
  text-decoration: none !important;
}

.footer-logo .brand-logo {
  width: 54px !important;
  height: 54px !important;
  object-fit: contain !important;
}

.footer-logo .brand-text {
  color: #071536 !important;
  font-size: 1.45rem !important;
  font-weight: 950 !important;
  letter-spacing: 0.2em !important;
}

.footer-brand {
  gap: 16px !important;
}

.footer-brand > div span {
  max-width: 420px !important;
  color: #14213d !important;
  font-size: 1.02rem !important;
  line-height: 1.45 !important;
}

.footer-brand > div a {
  color: #075fe8 !important;
  font-size: 0.95rem !important;
  font-weight: 900 !important;
}

.footer-links,
.footer-social,
.footer-company {
  gap: 7px !important;
}

.footer-links span,
.footer-social span,
.footer-company span {
  margin-bottom: 10px !important;
  color: #071536 !important;
  font-size: 0.82rem !important;
  font-weight: 950 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
}

.footer-links a,
.footer-social a,
.footer-company a {
  min-height: 28px !important;
  color: #667085 !important;
  font-size: 0.94rem !important;
  font-weight: 760 !important;
}

.footer-links a:hover,
.footer-social a:hover,
.footer-company a:hover {
  color: #075fe8 !important;
  transform: translateX(2px);
}

.footer-copy {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 14px !important;
  margin-top: 26px !important;
  padding-top: 18px !important;
  border-top: 1px solid #e8eef7 !important;
}

@media (max-width: 920px) {
  .site-footer {
    grid-template-columns: 1fr 1fr 1fr !important;
    gap: 18px !important;
    padding: 36px 18px 100px !important;
  }

  .footer-brand {
    grid-column: 1 / -1 !important;
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr) !important;
    gap: 14px 16px !important;
    align-items: center !important;
    padding: 0 0 20px !important;
    border-bottom: 1px solid #e8eef7 !important;
  }

  .footer-brand > div {
    gap: 6px !important;
  }

  .footer-brand > div span {
    max-width: none !important;
  }

  .footer-links,
  .footer-social,
  .footer-company {
    padding: 16px !important;
    border: 1px solid #e8eef7 !important;
    border-radius: 18px !important;
    background: rgba(255, 255, 255, 0.84) !important;
  }
}

@media (max-width: 640px) {
  .site-footer {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    padding: 30px 14px 104px !important;
  }

  .footer-brand {
    grid-template-columns: 1fr !important;
  }

  .footer-logo .brand-logo {
    width: 48px !important;
    height: 48px !important;
  }

  .footer-logo .brand-text {
    font-size: 1.12rem !important;
    letter-spacing: 0.16em !important;
  }

  .footer-links,
  .footer-social,
  .footer-company {
    gap: 8px !important;
    padding: 14px !important;
  }

  .footer-social {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .footer-social span,
  .footer-company span,
  .footer-links span {
    grid-column: 1 / -1 !important;
  }

  .footer-social a {
    width: 100% !important;
  }

  .footer-copy {
    display: block !important;
    margin-top: 10px !important;
    font-size: 0.84rem !important;
    line-height: 1.5 !important;
  }
}

/* Footer icon-only refinement */
.footer-link-label {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
}

.footer-links,
.footer-social,
.footer-company {
  display: flex !important;
  flex-wrap: wrap !important;
  align-content: flex-start !important;
  gap: 10px !important;
}

.footer-links > span,
.footer-social > span,
.footer-company > span {
  flex: 0 0 100% !important;
}

.footer-links a,
.footer-social a,
.footer-company a {
  position: relative !important;
  display: inline-grid !important;
  width: 42px !important;
  min-width: 42px !important;
  height: 42px !important;
  min-height: 42px !important;
  place-items: center !important;
  padding: 0 !important;
  border: 1px solid #dfe8f4 !important;
  border-radius: 14px !important;
  background: #fff !important;
  color: #071536 !important;
  font-size: 0 !important;
  box-shadow: 0 10px 24px rgba(8, 30, 68, 0.04) !important;
  transition: transform 0.18s ease, border-color 0.18s ease, color 0.18s ease, background 0.18s ease !important;
}

.footer-links a::before,
.footer-social a::before,
.footer-company a::before {
  content: attr(data-icon);
  font-size: 1.05rem;
  font-weight: 950;
  line-height: 1;
}

.footer-links a:hover,
.footer-social a:hover,
.footer-company a:hover {
  transform: translateY(-2px) !important;
  border-color: #075fe8 !important;
  background: #f6faff !important;
  color: #075fe8 !important;
}

.footer-social a[aria-label="Facebook"]::before {
  font-family: Arial, sans-serif;
  font-size: 1.16rem;
}

.footer-company a[aria-label="nexio.my"]::before {
  font-size: 0.92rem;
}

@media (max-width: 640px) {
  .footer-links,
  .footer-social,
  .footer-company {
    display: flex !important;
    padding: 14px !important;
  }

  .footer-links a,
  .footer-social a,
  .footer-company a {
    width: 44px !important;
    min-width: 44px !important;
    height: 44px !important;
    min-height: 44px !important;
  }
}

/* Institutional footer and slider polish */
.site-footer {
  display: grid !important;
  grid-template-columns: minmax(280px, 1.35fr) repeat(3, minmax(150px, 0.7fr)) !important;
  gap: clamp(24px, 4vw, 56px) !important;
  padding: 54px clamp(18px, 5vw, 84px) 24px !important;
  background:
    linear-gradient(90deg, rgba(7, 95, 232, 0.08), transparent 34%),
    #061843 !important;
  border-top: 6px solid #f3b536 !important;
  color: #dbe8ff !important;
}

.site-footer::before {
  content: "PHOTORA PHOTO MARKETPLACE" !important;
  grid-column: 1 / -1 !important;
  width: fit-content !important;
  padding: 8px 13px !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  border-radius: 999px !important;
  color: #f3b536 !important;
  font-size: 0.72rem !important;
  font-weight: 950 !important;
  letter-spacing: 0.16em !important;
}

.footer-brand,
.footer-links,
.footer-social,
.footer-company {
  display: flex !important;
  flex-direction: column !important;
  align-content: stretch !important;
  gap: 10px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.footer-logo {
  display: inline-flex !important;
  align-items: center !important;
  gap: 13px !important;
  width: fit-content !important;
  margin-bottom: 12px !important;
  color: #fff !important;
  text-decoration: none !important;
}

.footer-logo .brand-logo {
  width: 58px !important;
  height: 58px !important;
  object-fit: contain !important;
}

.footer-logo .brand-text {
  color: #fff !important;
  font-size: 1.42rem !important;
  font-weight: 950 !important;
  letter-spacing: 0.22em !important;
}

.footer-brand > div {
  display: grid !important;
  gap: 11px !important;
  max-width: 420px !important;
}

.footer-brand > div span {
  color: #dbe8ff !important;
  font-size: 1rem !important;
  font-weight: 780 !important;
  line-height: 1.55 !important;
}

.footer-brand > div a {
  width: fit-content !important;
  color: #f7c84b !important;
  font-size: 0.98rem !important;
  font-weight: 900 !important;
  text-decoration: none !important;
}

.footer-links > span,
.footer-social > span,
.footer-company > span {
  flex: initial !important;
  margin: 0 0 10px !important;
  color: #fff !important;
  font-size: 0.88rem !important;
  font-weight: 950 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
}

.footer-links a,
.footer-social a,
.footer-company a {
  position: static !important;
  display: inline-flex !important;
  align-items: center !important;
  width: fit-content !important;
  min-width: 0 !important;
  height: auto !important;
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #c2d1ea !important;
  font-size: 0.96rem !important;
  font-weight: 760 !important;
  line-height: 1.5 !important;
  text-decoration: none !important;
  box-shadow: none !important;
}

.footer-links a::before,
.footer-social a::before,
.footer-company a::before {
  content: none !important;
}

.footer-links a:hover,
.footer-social a:hover,
.footer-company a:hover {
  color: #f7c84b !important;
  transform: translateX(3px) !important;
}

.footer-copy {
  grid-column: 1 / -1 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin: 28px 0 0 !important;
  padding-top: 20px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.14) !important;
  color: #9fb0ce !important;
  font-size: 0.9rem !important;
  font-weight: 760 !important;
}

.hero.page-section {
  min-height: clamp(650px, 80vh, 860px) !important;
  padding: clamp(52px, 6vw, 92px) clamp(18px, 6vw, 96px) !important;
  grid-template-columns: minmax(0, 0.9fr) minmax(310px, 0.55fr) !important;
  gap: clamp(30px, 5vw, 76px) !important;
  overflow: hidden !important;
}

.hero-copy {
  max-width: 720px !important;
}

.hero h1 {
  max-width: 700px !important;
  font-size: clamp(3.25rem, 6.4vw, 6.4rem) !important;
  line-height: 0.94 !important;
  letter-spacing: 0 !important;
}

.hero-text {
  max-width: 560px !important;
  font-size: clamp(1rem, 1.55vw, 1.22rem) !important;
  line-height: 1.72 !important;
}

.hero-phone {
  width: min(390px, 86vw) !important;
  transform: rotate(6deg) !important;
  justify-self: center !important;
}

.phone-shell {
  border-radius: 34px !important;
  box-shadow: 0 30px 80px rgba(5, 23, 62, 0.18) !important;
}

.hero-dots {
  display: flex !important;
  gap: 9px !important;
  margin-top: 26px !important;
}

.hero-dots button {
  width: 28px !important;
  height: 5px !important;
  border-radius: 999px !important;
  opacity: 0.45 !important;
}

.hero-dots button.active {
  width: 42px !important;
  opacity: 1 !important;
}

@media (max-width: 920px) {
  .site-footer {
    grid-template-columns: 1fr 1fr !important;
    padding: 42px 18px 104px !important;
  }

  .footer-brand {
    grid-column: 1 / -1 !important;
  }

  .hero.page-section {
    min-height: auto !important;
    grid-template-columns: 1fr !important;
    padding: 34px 16px 44px !important;
  }

  .hero-phone {
    width: min(330px, 78vw) !important;
    transform: rotate(3deg) !important;
  }
}

@media (max-width: 640px) {
  .site-footer {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
    padding: 36px 18px 104px !important;
  }

  .site-footer::before {
    font-size: 0.68rem !important;
    letter-spacing: 0.12em !important;
  }

  .footer-logo .brand-logo {
    width: 50px !important;
    height: 50px !important;
  }

  .footer-logo .brand-text {
    font-size: 1.12rem !important;
    letter-spacing: 0.18em !important;
  }

  .footer-copy {
    display: block !important;
    margin-top: 8px !important;
    font-size: 0.84rem !important;
    line-height: 1.5 !important;
  }

  .footer-links,
  .footer-social,
  .footer-company {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px 14px !important;
  }

  .footer-links > span,
  .footer-social > span,
  .footer-company > span {
    grid-column: 1 / -1 !important;
  }

  .footer-links a,
  .footer-social a,
  .footer-company a {
    width: auto !important;
    min-width: 0 !important;
  }

  .hero h1 {
    font-size: clamp(2.7rem, 15vw, 4.2rem) !important;
  }
}

/* Photora trademark footer refinement */
.site-footer {
  background:
    radial-gradient(circle at 11% 18%, rgba(245, 181, 54, 0.2), transparent 28%),
    radial-gradient(circle at 94% 12%, rgba(222, 35, 52, 0.16), transparent 22%),
    linear-gradient(135deg, #061843 0%, #082e78 56%, #061843 100%) !important;
  border-top: 6px solid #f2b632 !important;
}

.site-footer::before {
  border-color: rgba(242, 182, 50, 0.38) !important;
  background: rgba(255, 255, 255, 0.04) !important;
  color: #f8c34a !important;
}

.site-footer .footer-logo {
  padding: 0 !important;
  border: 0 !important;
  outline-offset: 8px !important;
}

.site-footer .footer-logo:focus,
.site-footer .footer-logo:focus-visible {
  outline: 2px solid rgba(248, 195, 74, 0.6) !important;
  border-radius: 14px !important;
}

.site-footer .footer-logo .brand-logo {
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.18)) !important;
}

.site-footer .footer-logo .brand-text {
  color: #ffffff !important;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.24) !important;
}

.site-footer .footer-brand > div span {
  max-width: 480px !important;
  color: #e7f0ff !important;
  font-weight: 720 !important;
}

.site-footer .footer-brand > div a {
  color: #f8c34a !important;
}

.site-footer .footer-links > span,
.site-footer .footer-social > span,
.site-footer .footer-company > span {
  color: #f8c34a !important;
}

.site-footer .footer-links a,
.site-footer .footer-social a,
.site-footer .footer-company a {
  gap: 9px !important;
  color: #d8e6ff !important;
}

.site-footer .footer-links a:hover,
.site-footer .footer-social a:hover,
.site-footer .footer-company a:hover {
  color: #ffffff !important;
}

.social-icon {
  display: inline-grid !important;
  width: 28px !important;
  height: 28px !important;
  place-items: center !important;
  border: 1px solid rgba(248, 195, 74, 0.34) !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.08) !important;
  color: #f8c34a !important;
  font-size: 0.72rem !important;
  font-weight: 950 !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
}

.site-footer .footer-social a:hover .social-icon {
  border-color: rgba(255, 255, 255, 0.46) !important;
  background: #ffffff !important;
  color: #082e78 !important;
}

@media (max-width: 640px) {
  .site-footer .footer-social a {
    min-height: 32px !important;
  }

  .social-icon {
    width: 26px !important;
    height: 26px !important;
    font-size: 0.68rem !important;
  }
}

/* Public originality certificate checker */
.verify-action {
  background: rgba(255, 255, 255, 0.88) !important;
  color: #082e78 !important;
  border-color: rgba(8, 46, 120, 0.18) !important;
}

.asset-status-section {
  padding: 0 clamp(14px, 5vw, 56px) 34px !important;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%) !important;
}

.asset-status-card {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(320px, 1fr);
  gap: clamp(18px, 4vw, 42px);
  align-items: center;
  max-width: 1240px;
  margin: -18px auto 0;
  padding: clamp(20px, 4vw, 34px);
  border: 1px solid #dbe7f6;
  border-radius: 28px;
  background:
    radial-gradient(circle at 95% 10%, rgba(242, 182, 50, 0.2), transparent 26%),
    linear-gradient(135deg, #ffffff 0%, #f8fbff 62%, #fff8eb 100%);
  box-shadow: 0 24px 70px rgba(8, 30, 68, 0.1);
}

.asset-status-copy h2 {
  max-width: 620px;
  margin: 8px 0 12px;
  color: #061843;
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1;
  letter-spacing: 0;
}

.asset-status-copy p {
  max-width: 650px;
  margin: 0;
  color: #5d6b82;
  font-weight: 720;
  line-height: 1.65;
}

.asset-check-form {
  display: grid;
  grid-template-columns: minmax(220px, 1.1fr) minmax(170px, 0.8fr) auto;
  gap: 12px;
  align-items: end;
}

.asset-check-form label {
  display: grid;
  gap: 7px;
  color: #5d6b82;
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.asset-check-form input {
  width: 100%;
  min-height: 50px;
  border: 1px solid #d5e1f1;
  border-radius: 16px;
  background: #fff;
  color: #061843;
  padding: 0 14px;
  font: inherit;
  font-weight: 800;
  text-transform: none;
}

.asset-check-form .primary-action {
  min-height: 50px;
  border-radius: 16px;
  white-space: nowrap;
}

.asset-check-form .scan-note {
  grid-column: 1 / -1;
  min-height: 24px;
  margin: 0;
  color: #334155;
  font-weight: 800;
  line-height: 1.5;
}

.asset-check-form .scan-note a {
  color: #075fe8;
  font-weight: 950;
}

@media (max-width: 920px) {
  .asset-status-card,
  .asset-check-form {
    grid-template-columns: 1fr;
  }

  .asset-status-card {
    margin-top: 0;
  }
}

@media (max-width: 640px) {
  .asset-status-section {
    padding: 0 14px 26px !important;
  }

  .asset-status-card {
    border-radius: 22px;
    padding: 18px;
  }

  .asset-status-copy h2 {
    font-size: clamp(1.9rem, 10vw, 2.7rem);
  }
}

/* Soft Photora mobile footer layout */
.site-footer {
  grid-template-columns: minmax(280px, 1.25fr) minmax(120px, 0.62fr) minmax(150px, 0.62fr) minmax(120px, 0.62fr) !important;
  background:
    radial-gradient(circle at 12% 0%, rgba(242, 182, 50, 0.2), transparent 24%),
    radial-gradient(circle at 88% 14%, rgba(7, 95, 232, 0.22), transparent 30%),
    linear-gradient(180deg, #d8eaff 0%, #b9d6f4 100%) !important;
  border-top: 6px solid #f2b632 !important;
  color: #061843 !important;
}

.site-footer::before {
  background: rgba(255, 255, 255, 0.74) !important;
  border-color: #c9def4 !important;
  color: #082e78 !important;
}

.site-footer .footer-brand {
  padding: 18px !important;
  border: 1px solid rgba(255, 255, 255, 0.48) !important;
  border-radius: 24px !important;
  background: rgba(255, 255, 255, 0.7) !important;
  box-shadow: 0 18px 45px rgba(8, 46, 120, 0.08) !important;
}

.site-footer .footer-logo .brand-text {
  color: #061843 !important;
  text-shadow: none !important;
}

.site-footer .footer-brand > div span {
  color: #334a68 !important;
}

.site-footer .footer-brand > div a,
.site-footer .footer-links > span,
.site-footer .footer-social > span,
.site-footer .footer-company > span {
  color: #061843 !important;
  font-size: 0.9rem !important;
  font-weight: 950 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
}

.site-footer .footer-links a,
.site-footer .footer-social a,
.site-footer .footer-company a {
  color: #334a68 !important;
  font-size: 0.98rem !important;
  font-weight: 850 !important;
  text-decoration: none !important;
}

.site-footer .footer-links a:hover,
.site-footer .footer-social a:hover,
.site-footer .footer-company a:hover {
  color: #075fe8 !important;
}

.site-footer .footer-copy {
  color: #5e728e !important;
  border-top-color: rgba(8, 46, 120, 0.16) !important;
}

@media (max-width: 920px) {
  .site-footer {
    grid-template-columns: 1fr 1fr !important;
  }

  .site-footer .footer-brand {
    grid-column: 1 / -1 !important;
  }
}

@media (max-width: 640px) {
  .site-footer {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    padding: 22px 16px 96px !important;
    background:
      radial-gradient(circle at 8% 0%, rgba(242, 182, 50, 0.2), transparent 28%),
      linear-gradient(180deg, #d8eaff 0%, #b9d6f4 58%, #a9c9ec 100%) !important;
  }

  .site-footer::before {
    display: none !important;
  }

  .site-footer .footer-brand {
    gap: 12px !important;
    padding: 14px !important;
    border-radius: 20px !important;
  }

  .site-footer .footer-logo {
    margin-bottom: 0 !important;
  }

  .site-footer .footer-logo .brand-logo {
    width: 46px !important;
    height: 46px !important;
  }

  .site-footer .footer-brand > div span {
    font-size: 0.9rem !important;
    line-height: 1.45 !important;
  }

  .site-footer .footer-social {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 6px 14px !important;
    padding-top: 2px !important;
  }

  .site-footer .footer-social > span {
    grid-column: 1 / -1 !important;
    margin-bottom: 2px !important;
    color: #061843 !important;
    font-size: 0.96rem !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
  }

  .site-footer .footer-social a {
    display: inline-flex !important;
    width: auto !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #334a68 !important;
    font-size: 0.9rem !important;
    line-height: 1.35 !important;
  }

  .site-footer .footer-links,
  .site-footer .footer-company {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 6px !important;
    padding-top: 2px !important;
  }

  .site-footer .footer-links > span,
  .site-footer .footer-company > span {
    margin-bottom: 2px !important;
    color: #061843 !important;
    font-size: 0.96rem !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
  }

  .site-footer .footer-links a,
  .site-footer .footer-social a,
  .site-footer .footer-company a {
    font-size: 0.9rem !important;
    line-height: 1.35 !important;
  }

  .site-footer .footer-copy {
    margin-top: 2px !important;
    padding-top: 14px !important;
    color: #5e728e !important;
  }
}

/* CACE-style mobile footer alignment */
@media (max-width: 640px) {
  .site-footer {
    align-items: stretch !important;
    gap: 18px !important;
    padding: 24px 16px 96px !important;
    text-align: left !important;
    background:
      radial-gradient(circle at 0% 0%, rgba(242, 182, 50, 0.18), transparent 26%),
      linear-gradient(180deg, #cfe5fb 0%, #aed2f1 56%, #98c2e8 100%) !important;
  }

  .site-footer .footer-brand,
  .site-footer .footer-links,
  .site-footer .footer-social,
  .site-footer .footer-company,
  .site-footer .footer-copy {
    width: 100% !important;
    max-width: 360px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: left !important;
  }

  .site-footer .footer-brand {
    display: grid !important;
    justify-items: start !important;
    align-items: start !important;
    gap: 12px !important;
    padding: 16px !important;
    border: 1px solid rgba(255, 255, 255, 0.62) !important;
    border-radius: 22px !important;
    background: rgba(255, 255, 255, 0.72) !important;
  }

  .site-footer .footer-logo {
    display: inline-flex !important;
    justify-content: flex-start !important;
    align-items: center !important;
    gap: 10px !important;
    width: auto !important;
    max-width: 100% !important;
  }

  .site-footer .footer-logo .brand-logo {
    flex: 0 0 auto !important;
    width: 42px !important;
    height: 42px !important;
  }

  .site-footer .footer-logo .brand-text {
    overflow: visible !important;
    color: #061843 !important;
    font-size: 1rem !important;
    letter-spacing: 0.18em !important;
    white-space: nowrap !important;
  }

  .site-footer .footer-brand > div {
    justify-items: start !important;
    max-width: none !important;
    text-align: left !important;
  }

  .site-footer .footer-brand > div span {
    max-width: none !important;
    color: #19365c !important;
    font-size: 0.9rem !important;
    font-weight: 780 !important;
    line-height: 1.5 !important;
    text-align: left !important;
  }

  .site-footer .footer-brand > div a {
    color: #075fe8 !important;
    font-size: 0.9rem !important;
    letter-spacing: 0.04em !important;
    text-transform: none !important;
  }

  .site-footer .footer-links,
  .site-footer .footer-company {
    display: grid !important;
    grid-template-columns: 1fr !important;
    justify-items: start !important;
    gap: 7px !important;
  }

  .site-footer .footer-social {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    justify-items: start !important;
    gap: 7px 20px !important;
  }

  .site-footer .footer-links > span,
  .site-footer .footer-social > span,
  .site-footer .footer-company > span {
    justify-self: start !important;
    margin: 0 0 2px !important;
    color: #061843 !important;
    font-size: 1rem !important;
    font-weight: 950 !important;
    letter-spacing: 0 !important;
    text-align: left !important;
    text-transform: none !important;
  }

  .site-footer .footer-social > span {
    grid-column: 1 / -1 !important;
  }

  .site-footer .footer-links a,
  .site-footer .footer-social a,
  .site-footer .footer-company a {
    justify-self: start !important;
    width: auto !important;
    color: #243d5f !important;
    font-size: 0.93rem !important;
    font-weight: 820 !important;
    line-height: 1.4 !important;
    text-align: left !important;
  }

  .site-footer .footer-copy {
    display: block !important;
    margin-top: 4px !important;
    padding-top: 16px !important;
    border-top: 1px solid rgba(6, 24, 67, 0.16) !important;
    color: #516982 !important;
    font-size: 0.84rem !important;
    line-height: 1.45 !important;
  }
}

/* Final CACE-inspired dark Photora footer override */
.site-footer {
  background:
    radial-gradient(circle at 12% 0%, rgba(242, 182, 50, 0.12), transparent 26%),
    linear-gradient(180deg, #061833 0%, #071f44 58%, #05162f 100%) !important;
  border-top: 6px solid #f2b632 !important;
  color: #e8f1ff !important;
}

.site-footer::before {
  display: none !important;
}

.site-footer .footer-brand {
  border: 1px solid rgba(216, 231, 255, 0.14) !important;
  background: rgba(255, 255, 255, 0.045) !important;
  box-shadow: none !important;
}

.site-footer .footer-logo .brand-text {
  color: #ffffff !important;
  text-shadow: none !important;
}

.site-footer .footer-brand > div span {
  color: #c9d7ec !important;
}

.site-footer .footer-brand > div a {
  color: #f5c95a !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

.site-footer .footer-links > span,
.site-footer .footer-social > span,
.site-footer .footer-company > span {
  color: #ffffff !important;
}

.site-footer .footer-links a,
.site-footer .footer-company a {
  color: #d6e2f5 !important;
}

.site-footer .footer-links a:hover,
.site-footer .footer-company a:hover {
  color: #f5c95a !important;
}

.site-footer .footer-social {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
}

.site-footer .footer-social > span {
  flex: 0 0 100% !important;
}

.site-footer .footer-social a,
.site-footer .footer-social .footer-social-button {
  display: inline-grid !important;
  width: 42px !important;
  min-width: 42px !important;
  height: 42px !important;
  min-height: 42px !important;
  place-items: center !important;
  padding: 0 !important;
  border: 1px solid rgba(216, 231, 255, 0.16) !important;
  border-radius: 13px !important;
  background: rgba(255, 255, 255, 0.09) !important;
  color: #ffffff !important;
  font-size: 0 !important;
  text-decoration: none !important;
}

.site-footer .social-icon {
  display: inline-grid !important;
  width: 100% !important;
  height: 100% !important;
  place-items: center !important;
  color: #ffffff !important;
  font-size: 0.88rem !important;
  font-weight: 950 !important;
  line-height: 1 !important;
}

.site-footer .footer-social a:hover {
  border-color: rgba(245, 201, 90, 0.48) !important;
  background: rgba(245, 201, 90, 0.16) !important;
}

.site-footer .footer-copy {
  border-top-color: rgba(216, 231, 255, 0.14) !important;
  color: #aebbd0 !important;
}

@media (max-width: 640px) {
  .site-footer {
    gap: 18px !important;
    padding: 24px 16px 96px !important;
    background:
      radial-gradient(circle at 0% 0%, rgba(242, 182, 50, 0.12), transparent 30%),
      linear-gradient(180deg, #071f44 0%, #061833 58%, #041226 100%) !important;
    text-align: left !important;
  }

  .site-footer .footer-brand,
  .site-footer .footer-links,
  .site-footer .footer-social,
  .site-footer .footer-company,
  .site-footer .footer-copy {
    width: 100% !important;
    max-width: 360px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: left !important;
  }

  .site-footer .footer-brand {
    display: grid !important;
    justify-items: start !important;
    gap: 14px !important;
    padding: 16px !important;
    border-radius: 20px !important;
  }

  .site-footer .footer-logo {
    justify-content: flex-start !important;
    width: auto !important;
  }

  .site-footer .footer-logo .brand-logo {
    width: 46px !important;
    height: 46px !important;
  }

  .site-footer .footer-logo .brand-text {
    color: #ffffff !important;
    font-size: 1rem !important;
    letter-spacing: 0.18em !important;
  }

  .site-footer .footer-brand > div {
    justify-items: start !important;
    text-align: left !important;
  }

  .site-footer .footer-brand > div span {
    color: #c9d7ec !important;
    font-size: 0.92rem !important;
    line-height: 1.52 !important;
  }

  .site-footer .footer-brand > div a {
    color: #f5c95a !important;
    font-size: 0.92rem !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
  }

  .site-footer .footer-links,
  .site-footer .footer-company {
    display: grid !important;
    grid-template-columns: 1fr !important;
    justify-items: start !important;
    gap: 8px !important;
  }

  .site-footer .footer-social {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: flex-start !important;
    gap: 10px !important;
  }

  .site-footer .footer-links > span,
  .site-footer .footer-social > span,
  .site-footer .footer-company > span {
    margin: 0 0 3px !important;
    color: #ffffff !important;
    font-size: 1rem !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
  }

  .site-footer .footer-links a,
  .site-footer .footer-company a {
    color: #d6e2f5 !important;
    font-size: 0.95rem !important;
    line-height: 1.4 !important;
  }

  .site-footer .footer-copy {
    padding-top: 16px !important;
    color: #aebbd0 !important;
  }
}

/* Final compact CACE-style footer without social icons - active override */
.site-footer {
  background:
    radial-gradient(circle at 12% 0%, rgba(242, 182, 50, 0.12), transparent 26%),
    linear-gradient(180deg, #061833 0%, #071f44 58%, #041226 100%) !important;
  border-top: 6px solid #f2b632 !important;
  color: #e8f1ff !important;
}

.site-footer::before {
  display: none !important;
}

.site-footer .footer-brand {
  background: rgba(255, 255, 255, 0.045) !important;
  border: 1px solid rgba(216, 231, 255, 0.14) !important;
  box-shadow: none !important;
}

.site-footer .footer-logo .brand-text {
  color: #ffffff !important;
  text-shadow: none !important;
}

.site-footer .footer-brand > div span {
  color: #c9d7ec !important;
}

.site-footer .footer-brand > div a {
  color: #f5c95a !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

.site-footer .footer-links > span,
.site-footer .footer-social > span,
.site-footer .footer-company > span {
  color: #ffffff !important;
}

.site-footer .footer-links a,
.site-footer .footer-social a,
.site-footer .footer-company a {
  color: #d6e2f5 !important;
  font-size: 0.95rem !important;
  font-weight: 820 !important;
  line-height: 1.35 !important;
  text-decoration: none !important;
}

.site-footer .footer-links a:hover,
.site-footer .footer-social a:hover,
.site-footer .footer-company a:hover {
  color: #f5c95a !important;
}

.site-footer .footer-social {
  display: grid !important;
  gap: 8px !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

.site-footer .footer-social > span {
  grid-column: 1 / -1 !important;
}

.site-footer .footer-social a,
.site-footer .footer-social .footer-social-button {
  align-items: center !important;
  background: rgba(255, 255, 255, 0.07) !important;
  border: 1px solid rgba(216, 231, 255, 0.14) !important;
  border-radius: 999px !important;
  color: #e8f1ff !important;
  display: inline-flex !important;
  font-size: 0.84rem !important;
  height: auto !important;
  justify-content: center !important;
  min-height: 36px !important;
  min-width: 0 !important;
  padding: 0 10px !important;
  white-space: nowrap !important;
  width: auto !important;
}

.site-footer .social-icon {
  display: none !important;
}

.site-footer .footer-copy {
  border-top-color: rgba(216, 231, 255, 0.14) !important;
  color: #aebbd0 !important;
}

@media (max-width: 640px) {
  .site-footer {
    background:
      radial-gradient(circle at 0% 0%, rgba(242, 182, 50, 0.12), transparent 30%),
      linear-gradient(180deg, #071f44 0%, #061833 58%, #041226 100%) !important;
    display: grid !important;
    gap: 18px 16px !important;
    grid-template-columns: 1fr 1fr !important;
    padding: 24px 16px 96px !important;
    text-align: left !important;
  }

  .site-footer .footer-brand,
  .site-footer .footer-social,
  .site-footer .footer-copy {
    grid-column: 1 / -1 !important;
  }

  .site-footer .footer-brand,
  .site-footer .footer-links,
  .site-footer .footer-social,
  .site-footer .footer-company,
  .site-footer .footer-copy {
    margin: 0 !important;
    max-width: none !important;
    text-align: left !important;
    width: 100% !important;
  }

  .site-footer .footer-brand {
    border-radius: 20px !important;
    display: grid !important;
    gap: 12px !important;
    justify-items: start !important;
    padding: 16px !important;
  }

  .site-footer .footer-logo {
    gap: 10px !important;
    justify-content: flex-start !important;
    width: auto !important;
  }

  .site-footer .footer-logo .brand-logo {
    height: 44px !important;
    width: 44px !important;
  }

  .site-footer .footer-logo .brand-text {
    font-size: 1rem !important;
    letter-spacing: 0.16em !important;
  }

  .site-footer .footer-brand > div {
    justify-items: start !important;
    text-align: left !important;
  }

  .site-footer .footer-brand > div span {
    font-size: 0.9rem !important;
    line-height: 1.5 !important;
  }

  .site-footer .footer-brand > div a {
    font-size: 0.9rem !important;
    text-transform: none !important;
  }

  .site-footer .footer-links,
  .site-footer .footer-company {
    display: grid !important;
    gap: 7px !important;
    grid-template-columns: 1fr !important;
    justify-items: start !important;
  }

  .site-footer .footer-social {
    display: grid !important;
    gap: 8px !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    justify-items: stretch !important;
  }

  .site-footer .footer-links > span,
  .site-footer .footer-social > span,
  .site-footer .footer-company > span {
    font-size: 1rem !important;
    letter-spacing: 0 !important;
    margin: 0 0 2px !important;
    text-transform: none !important;
  }

  .site-footer .footer-links a,
  .site-footer .footer-company a {
    font-size: 0.93rem !important;
  }

  .site-footer .footer-social a,
  .site-footer .footer-social .footer-social-button {
    font-size: 0.78rem !important;
    min-height: 36px !important;
    padding: 0 7px !important;
  }

  .site-footer .footer-copy {
    font-size: 0.82rem !important;
    line-height: 1.45 !important;
    padding-top: 14px !important;
  }
}
