/* Distribution storefront, publishing, payment and reporting components. */
.home-main .hero {
  background: linear-gradient(110deg, #f0e9f6, #fff 62%);
  border-color: #e9e1ef;
  border-radius: 22px;
  box-shadow: 0 15px 50px #45205a05;
}
.home-main .hero-copy h1,
.home-main .hero-copy h2 {
  font-size: 36px;
  line-height: 1.85;
  letter-spacing: -1.3px;
}
.home-main .hero-copy > p {
  font-size: 14px;
  line-height: 2.35;
}
.home-main .hero-art .orbit,
.home-main .hero-art .art-cross,
.home-main .hero-art .hero-pedestal,
.home-main .hero-art .hero-english {
  display: none;
}
.home-main .hero-art {
  padding: 24px;
  height: 495px;
}
.home-main .hero-art:has(.hero-photo) {
  padding: 23px 0 23px 23px;
}
.home-main .hero-photo {
  width: 100%;
  height: 449px;
  object-fit: cover;
  border-radius: 18px;
  filter: none;
  transform: none;
  mix-blend-mode: normal;
}
.home-main .floating-note {
  right: 24px;
  bottom: 44px;
  box-shadow: 0 8px 30px #36184612;
}
.distribution-intro {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 40px;
  align-items: center;
  margin-top: 38px;
  padding: 28px 32px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 18px;
}
.distribution-intro h2 {
  font-size: 22px;
  color: var(--purple-deep);
  margin: 8px 0;
  letter-spacing: -0.7px;
}
.distribution-intro p {
  font-size: 13px;
  line-height: 2.3;
  margin: 0;
}
.distribution-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.distribution-steps > div {
  border-right: 1px solid var(--line);
  padding-right: 18px;
}
.distribution-steps b {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  background: var(--purple-soft);
  color: var(--purple);
  border-radius: 10px;
  font-size: 14px;
  margin-bottom: 10px;
}
.distribution-steps strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--purple-deep);
}
.distribution-steps small {
  font-size: 11px;
  color: var(--muted);
  display: block;
  margin-top: 4px;
}
.journal-section {
  padding-top: 45px;
  padding-bottom: 10px;
}
.journal-header {
  background: linear-gradient(120deg, #f4eef9, #fff);
  border: 1px solid #eae0f0;
  padding: 37px;
  border-radius: 20px;
  margin-bottom: 30px;
}
.journal-header h1 {
  color: var(--purple-deep);
  font-size: 32px;
  letter-spacing: -1px;
  margin: 8px 0;
}
.journal-header p {
  font-size: 14px;
}
.journal-header .search {
  margin-top: 20px;
  background: white;
}
.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 23px;
}
.article-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.article-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.article-card-cover {
  display: block;
  height: 210px;
  background: var(--purple-soft);
  overflow: hidden;
}
.article-card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.article-card:hover .article-card-cover img {
  transform: scale(1.03);
}
.article-card-body {
  padding: 22px 24px;
}
.article-card-body .eyebrow {
  font-size: 11px;
}
.article-card h3 {
  font-size: 17px;
  line-height: 2;
  letter-spacing: -0.3px;
  margin: 10px 0 11px;
  color: var(--purple-deep);
}
.article-card p {
  font-size: 13px;
  line-height: 2.3;
  margin-bottom: 18px;
}
.article-card .text-link {
  font-size: 13px;
}
.journal-article {
  max-width: 950px;
  margin: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
}
.journal-article > header {
  padding: 35px 45px 28px;
}
.journal-article h1 {
  font-size: 30px;
  color: var(--purple-deep);
  line-height: 1.9;
  letter-spacing: -0.9px;
  margin: 12px 0;
}
.journal-summary {
  font-size: 14px;
  line-height: 2.3;
}
.journal-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  font-size: 13px;
  color: #a088ae;
  margin-top: 20px;
}
.journal-meta > span {
  display: flex;
  align-items: center;
  gap: 7px;
}
.journal-meta .icon {
  width: 16px;
  height: 16px;
}
.journal-cover {
  height: 380px;
  width: 100%;
  object-fit: cover;
  background: var(--purple-soft);
}
.journal-body {
  padding: 30px 45px;
}
.journal-article > footer {
  padding: 20px 45px 30px;
  border-top: 1px solid var(--line);
}
.rich-content {
  font-size: 14px;
  line-height: 2.5;
  color: #75657e;
  overflow-wrap: anywhere;
  direction: rtl;
}
.rich-content p {
  font-size: inherit;
  line-height: inherit;
  color: inherit;
  margin: 0 0 15px;
  white-space: normal;
}
.rich-content h2,
.rich-content h3,
.rich-content h4 {
  color: var(--purple-deep);
  margin: 26px 0 15px;
  line-height: 1.9;
}
.rich-content h2 {
  font-size: 23px;
}
.rich-content h3 {
  font-size: 19px;
}
.rich-content h4 {
  font-size: 16px;
}
.rich-content ul,
.rich-content ol {
  padding-right: 25px;
  margin-bottom: 18px;
}
.rich-content li {
  padding-right: 4px;
  margin: 6px 0;
}
.rich-content blockquote {
  border-right: 3px solid var(--gold);
  background: var(--gold-soft);
  padding: 17px 23px;
  margin: 20px 0;
  border-radius: 10px 0 0 10px;
}
.rich-content a {
  color: var(--purple);
  text-decoration: underline;
  text-underline-offset: 5px;
}
.rich-content img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 20px auto;
}
.rich-content pre {
  padding: 15px;
  background: #f5f1f8;
  border-radius: 10px;
  direction: ltr;
  text-align: left;
  white-space: pre-wrap;
}
.rich-content table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
}
.rich-content td,
.rich-content th {
  border: 1px solid var(--line);
  padding: 10px 14px;
}
.rich-content .rt-align-right,
.rich-content .ql-align-right {
  text-align: right;
}
.rich-content .rt-align-left {
  text-align: left;
}
.rich-content .rt-align-center,
.rich-content .ql-align-center {
  text-align: center;
}
.rich-content .rt-align-justify,
.rich-content .ql-align-justify {
  text-align: justify;
}
.rich-content .rt-color-purple {
  color: #69249a;
}
.rich-content .rt-color-gold {
  color: #b88a37;
}
.rich-content .rt-color-green {
  color: #327658;
}
.rich-content .rt-color-red {
  color: #b34b55;
}
.rich-content .rt-color-ink {
  color: #2d2335;
}
.rich-content .rt-color-muted {
  color: #817888;
}
.rich-content .ql-size-small {
  font-size: 0.8em;
}
.rich-content .ql-size-large {
  font-size: 1.35em;
}
.rich-content .ql-size-huge {
  font-size: 1.8em;
}
.rich-content .ql-direction-rtl {
  direction: rtl;
}
.gallery-thumbnails {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 14px 2px 4px;
}
.gallery-thumbnails button {
  flex-shrink: 0;
  width: 82px;
  height: 74px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: white;
  padding: 8px;
}
.gallery-thumbnails button[aria-pressed="true"] {
  border-color: #a979c6;
  box-shadow: 0 0 0 2px #69249a0b;
}
.gallery-thumbnails img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.gallery-zoom {
  position: absolute;
  bottom: 15px;
  left: 15px;
  background: white;
  border: 1px solid #e6d9ed;
  border-radius: 10px;
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  color: #9872af;
}
.gallery-zoom .icon {
  width: 19px;
  height: 19px;
}
.gallery-lightbox {
  width: min(1100px, 92vw);
  max-height: 90dvh;
  background: #fff;
  border: 0;
  border-radius: 18px;
  padding: 25px;
}
.gallery-lightbox::backdrop {
  background: #211027bb;
  backdrop-filter: blur(4px);
}
.gallery-lightbox > button {
  position: absolute;
  top: 15px;
  left: 15px;
  z-index: 1;
}
.gallery-lightbox > img {
  width: 100%;
  height: 76dvh;
  object-fit: contain;
}
.gallery-manager {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 20px;
}
.gallery-manager-item {
  border: 1px solid #e8ddef;
  border-radius: 11px;
  padding: 8px;
  background: #fcfafd;
}
.gallery-manager-item img {
  width: 100%;
  height: 85px;
  object-fit: contain;
  background: white;
  border-radius: 7px;
  margin-bottom: 8px;
}
.gallery-manager-item label {
  display: flex;
  gap: 5px;
  align-items: center;
  font-size: 11px;
  color: #856c95;
  margin-top: 7px;
}
.gallery-manager-item input {
  accent-color: var(--purple);
}
.gallery-manager-item .remove-photo {
  color: #b1848c;
}
.rich-editor-host {
  min-height: 300px;
  border-radius: 0 0 10px 10px;
  background: white;
}
.ql-toolbar.ql-snow {
  border-color: #e4dbe9;
  border-radius: 10px 10px 0 0;
  background: #faf7fc;
  direction: ltr;
}
.ql-container.ql-snow {
  border-color: #e4dbe9;
  font:
    500 15px/2.3 Vazirmatn,
    Tahoma,
    sans-serif;
}
.ql-editor {
  min-height: 300px;
  max-height: 650px;
  overflow: auto;
  direction: rtl;
  text-align: right;
  padding: 20px;
}
.ql-editor p {
  color: var(--ink);
}
.ql-editor img {
  max-width: 100%;
  max-height: 400px;
  object-fit: contain;
}
.ql-editor.ql-blank:before {
  right: 20px;
  left: auto;
  font-style: normal;
  color: #b5a1c0;
  font-size: 14px;
}
.ql-snow .ql-picker {
  font-family: Vazirmatn, Tahoma, sans-serif;
  font-size: 13px;
}
.ql-toolbar button:focus-visible {
  outline: 2px solid var(--gold);
}
.editor-feedback {
  font-size: 13px !important;
  line-height: 2;
  color: var(--purple);
  background: var(--purple-soft);
  border-radius: 8px;
  padding: 8px 12px;
  margin-top: 10px;
}
.article-preview-link {
  margin-top: 12px;
}
.pagination {
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
}
.pagination a {
  width: auto;
  min-width: 38px;
  padding: 0 12px;
  font-size: 14px;
}
.pagination > span {
  color: #b5a2c0;
}
.admin-sidebar nav {
  overflow-y: auto;
  min-height: 0;
  scrollbar-width: thin;
  scrollbar-color: #9671ad33 transparent;
}
.admin-sidebar nav a {
  padding-block: 10px;
}
.business-stats .stat-card {
  position: relative;
  overflow: hidden;
}
.business-stats .stat-card strong {
  font-size: 28px;
  letter-spacing: -0.5px;
}
.business-stats .stat-card strong > small {
  font-size: 12px;
  font-weight: 400;
  margin-right: 7px;
  color: #ad95ba;
  letter-spacing: 0;
}
.business-stats .revenue {
  background: linear-gradient(120deg, #f2e8f9, #fff);
  border-color: #e7d8f0;
}
.business-stats .revenue:after {
  content: "";
  width: 90px;
  height: 90px;
  border: 1px solid #c5a7d733;
  border-radius: 50%;
  position: absolute;
  left: -35px;
  top: -35px;
}
.business-stats .stat-card > span {
  font-size: 12px;
  min-height: 25px;
}
.dashboard-summary {
  display: flex;
  align-items: center;
  gap: 25px;
  flex-wrap: wrap;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 15px 20px;
  margin-bottom: 23px;
  font-size: 12px;
  color: #a08aac;
}
.dashboard-summary b {
  font-size: 14px;
  color: var(--purple-deep);
  font-weight: 600;
  margin-left: 5px;
}
.dashboard-summary > a {
  margin-right: auto;
  color: var(--purple);
}
.charts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-bottom: 23px;
}
.chart-wide-grid {
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
}
.chart-panel {
  min-width: 0;
}
.chart-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 13px;
  margin-bottom: 22px;
}
.chart-heading h2 {
  font-size: 16px;
  color: var(--purple-deep);
  margin-bottom: 6px;
}
.chart-heading p {
  font-size: 11px;
  margin-bottom: 0;
  line-height: 2.2;
}
.chart-indicator {
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  color: #aa96b5;
  font-size: 11px;
  padding-top: 7px;
}
.chart-indicator > span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #b48acb;
}
.chart-frame {
  height: 285px;
  position: relative;
  min-width: 0;
}
.chart-frame-donut {
  height: 285px;
  padding: 8px 5px;
}
.report-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  margin-bottom: 24px;
}
.report-presets {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.report-presets a {
  padding: 7px 12px;
  border: 1px solid #e6d9ef;
  border-radius: 8px;
  color: #9366ac;
  font-size: 12px;
  background: #faf6fc;
}
.report-presets a:hover {
  background: var(--purple-soft);
}
.report-date-form {
  display: flex;
  align-items: flex-end;
  gap: 12px;
}
.report-date-form .field {
  margin: 0;
}
.report-date-form .field label {
  font-size: 11px;
}
.report-date-form .field input {
  font-size: 12px;
  min-height: 36px;
  padding: 7px 10px;
  max-width: 155px;
}
.report-orders {
  margin-top: 23px;
}
.visit-path {
  max-width: 400px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.receipt-info {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.payment-options {
  padding: 0;
  border: 0;
  margin: 25px 0 0;
}
.payment-options legend {
  font-size: 17px;
  font-weight: 600;
  color: var(--purple-deep);
  margin-bottom: 20px;
}
.payment-option {
  display: flex;
  align-items: center;
  gap: 13px;
  border: 1px solid #e8ddec;
  border-radius: 13px;
  padding: 18px 16px;
  background: white;
  margin-bottom: 12px;
  cursor: pointer;
  transition: border-color 0.2s;
}
.payment-option:has(input:checked) {
  border-color: #ac80c6;
  background: #fcf8fe;
  box-shadow: 0 0 0 2px #69249a07;
}
.payment-option input {
  accent-color: var(--purple);
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}
.payment-option-icon {
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  background: var(--purple-soft);
  color: #9161ac;
  border-radius: 10px;
  flex-shrink: 0;
}
.payment-option strong {
  font-size: 14px;
  color: var(--purple-deep);
  font-weight: 600;
  display: block;
}
.payment-option small {
  display: block;
  font-size: 12px;
  color: #a28aae;
  line-height: 2.2;
  margin-top: 5px;
}
.payment-option.is-disabled {
  opacity: 0.6;
  background: #fbf9fc;
  cursor: default;
}
.payment-panel {
  border: 1px solid #e8d9f1;
  border-radius: 17px;
  padding: 28px;
  margin-bottom: 30px;
  background: linear-gradient(135deg, #fcf8ff, #fff);
}
.payment-panel-heading {
  display: flex;
  align-items: center;
  gap: 17px;
  margin-bottom: 23px;
}
.payment-panel-heading .round-icon {
  background: #f2e7fa;
  border-color: #e6d4f2;
  color: #986bb1;
  width: 46px;
  height: 46px;
  flex-shrink: 0;
}
.payment-panel h2 {
  font-size: 19px;
  color: var(--purple-deep);
  margin-bottom: 5px;
}
.payment-panel-heading p {
  font-size: 13px;
  margin: 0;
  line-height: 2.2;
}
.company-bank-card {
  max-width: 520px;
  margin: 0 auto 15px;
  border: 1px solid #e3cdec;
  background: linear-gradient(125deg, #4c2367, #713b90);
  padding: 25px 27px;
  border-radius: 17px;
  position: relative;
  overflow: hidden;
  color: #fff;
  box-shadow: 0 12px 25px #69249a0c;
}
.company-bank-card:before {
  content: "";
  position: absolute;
  width: 190px;
  height: 190px;
  border: 1px solid #ffffff13;
  left: -65px;
  top: -75px;
  border-radius: 50%;
  pointer-events: none;
}
.company-bank-label {
  font-size: 12px;
  color: #dcc8e8;
  display: block;
  margin-bottom: 14px;
}
.bank-number-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.bank-number-row > strong {
  font:
    500 25px/1.5 Tahoma,
    sans-serif;
  letter-spacing: 1.8px;
  white-space: nowrap;
}
.bank-number-row button {
  display: grid;
  place-items: center;
  color: #eedaf8;
  background: #ffffff10;
  border: 1px solid #ffffff20;
  border-radius: 8px;
  width: 33px;
  height: 33px;
  flex-shrink: 0;
}
.bank-number-row button.copied {
  color: #e3d393;
  background: #ffffff25;
}
.bank-number-row button .icon {
  width: 16px;
  height: 16px;
}
.bank-iban-row {
  border-top: 1px solid #ffffff20;
  margin-top: 18px;
  padding-top: 15px;
}
.bank-iban-row > span {
  display: block;
  color: #d9c2e6;
  font-size: 11px;
  margin-bottom: 5px;
}
.bank-iban-row bdi {
  font:
    11px Tahoma,
    sans-serif;
  letter-spacing: 0.3px;
  overflow-wrap: anywhere;
}
.company-bank-card > small {
  display: block;
  font-size: 11px;
  color: #c6aad8;
  margin-top: 16px;
}
.bank-validation-note {
  font-size: 13px;
  line-height: 2.2;
  color: #a88349;
  background: #fcf6e9;
  border: 1px solid #f0e4cd;
  border-radius: 10px;
  padding: 10px 14px;
  margin-bottom: 22px;
}
.payment-panel > h3 {
  font-size: 15px;
  color: var(--purple-deep);
  margin: 25px 0 20px;
}
.payment-help {
  font-size: 13px;
  color: #a08aab;
  line-height: 2.3;
}
.transfer-details {
  border-top: 1px solid var(--line);
  padding: 20px 0 25px;
}
.transfer-details h2 {
  font-size: 16px;
  color: var(--purple-deep);
}
.transfer-details dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 15px 0 0;
}
.transfer-details dl > div {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 13px 16px;
}
.transfer-details dt {
  font-size: 12px;
  color: #a08aaa;
  margin-bottom: 5px;
}
.transfer-details dd {
  margin: 0;
  font-size: 14px;
  color: var(--purple-deep);
  overflow-wrap: anywhere;
}
.cancellation-message {
  border: 1px solid #efd2d3;
  background: #fdf1f0;
  border-radius: 12px;
  color: #ab636d;
  padding: 18px 20px;
  margin: 20px 0;
  font-size: 14px;
}
.cancellation-message strong {
  display: block;
  font-size: 14px;
  margin-bottom: 7px;
  color: #a55360;
}
.cancellation-message p {
  font-size: 14px;
  line-height: 2.3;
  color: inherit;
  margin: 5px 0 0;
  white-space: pre-line;
}
.payment-PendingReview,
.payment-AwaitingPayment {
  background: #fcf3df;
  color: #a38647;
}
.payment-Paid,
.payment-Refunded {
  background: #edf5ef;
  color: #5b8c6b;
}
.payment-Rejected {
  background: #fcf0ef;
  color: #b2797d;
}
.payment-RefundPending {
  background: #f7e9ee;
  color: #a36e82;
}
.payment-pending-message {
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 22px;
  margin-bottom: 25px;
  border-radius: 14px;
  background: var(--gold-soft);
  border: 1px solid #eee2c9;
}
.payment-pending-message > .icon {
  width: 35px;
  height: 35px;
  color: var(--gold);
}
.payment-pending-message h2 {
  font-size: 16px;
  color: #94743e;
  margin-bottom: 7px;
}
.payment-pending-message p {
  font-size: 13px;
  color: #a38e67;
  line-height: 2.2;
  margin: 0;
}
.payment-review {
  border-top: 1px solid var(--line);
  margin-top: 28px;
  padding-top: 28px;
}
.payment-review > h2,
.refund-panel > h2 {
  font-size: 18px;
  color: var(--purple-deep);
}
.payment-review > p,
.refund-panel > p {
  font-size: 13px;
  line-height: 2.3;
}
.payment-review-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 22px;
}
.payment-review-grid > form {
  background: #faf7fc;
  border: 1px solid var(--line);
  padding: 20px;
  border-radius: 13px;
  align-self: start;
}
.payment-review-grid > form:first-child {
  align-self: stretch;
  display: flex;
  align-items: center;
  background: #f5f8f4;
}
.status-change-form {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  align-items: start;
  gap: 0 22px;
}
.status-change-form > .button {
  justify-self: start;
}
.payment-callback {
  text-align: center;
  max-width: 650px;
  margin: 35px auto;
  padding: 45px !important;
}
.payment-callback > .icon {
  width: 58px;
  height: 58px;
  color: #a17fba;
  stroke-width: 1.1;
  margin-bottom: 15px;
}
.payment-callback h1 {
  font-size: 25px;
  color: var(--purple-deep);
}
.payment-callback p {
  font-size: 14px;
  line-height: 2.5;
  margin-bottom: 25px;
}
.install-button {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--purple-soft);
  border: 1px solid #e6d6f0;
  border-radius: 9px;
  padding: 9px 12px;
  color: var(--purple);
  font-size: 12px;
  margin-top: 15px;
}
.install-button .icon {
  width: 17px;
  height: 17px;
}
.install-dialog {
  border: 1px solid #e7d7ef;
  border-radius: 20px;
  padding: 34px;
  max-width: min(470px, calc(100% - 32px));
  color: var(--ink);
}
.install-dialog::backdrop {
  background: #23112d80;
  backdrop-filter: blur(3px);
}
.install-dialog > button {
  position: absolute;
  left: 14px;
  top: 14px;
}
.install-dialog > img {
  margin: 5px auto 20px;
  object-fit: contain;
}
.install-dialog h2 {
  font-size: 21px;
  color: var(--purple-deep);
  text-align: center;
}
.install-dialog p {
  font-size: 14px;
  line-height: 2.5;
}
.install-dialog small {
  font-size: 12px;
  color: var(--gold);
}
.network-state {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 200;
  text-align: center;
  background: #fff4df;
  border-bottom: 1px solid #ecd5a6;
  color: #9b783c;
  padding: 9px 18px;
  font-size: 13px;
  box-shadow: 0 4px 10px #63461d08;
}
.offline-body {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 25px;
  background: linear-gradient(140deg, #f3eafa, #fdfbfe);
}
.offline-card {
  max-width: 470px;
  text-align: center;
  background: white;
  border: 1px solid #e5d8ed;
  padding: 35px;
  border-radius: 23px;
  box-shadow: var(--shadow);
}
.offline-card > img {
  object-fit: contain;
  margin: 0 auto 24px;
}
.offline-card > .eyebrow {
  justify-content: center;
  font-size: 13px;
}
.offline-card h1 {
  font-size: 25px;
  color: var(--purple-deep);
  margin: 14px 0;
}
.offline-card p {
  font-size: 14px;
  line-height: 2.5;
}
.offline-card > .text-link {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}
@media (max-width: 1150px) {
  .home-main .hero-copy h1,
  .home-main .hero-copy h2 {
    font-size: 31px;
  }
  .home-main .hero-copy > p {
    font-size: 14px;
  }
  .home-main .hero-art {
    height: 465px;
  }
  .home-main .hero-photo {
    height: 419px;
  }
  .distribution-intro {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .distribution-steps {
    gap: 15px;
  }
  .chart-wide-grid {
    grid-template-columns: 1.4fr 1fr;
  }
  .business-stats .stat-card strong {
    font-size: 24px;
  }
  .business-stats .stat-card strong > small {
    font-size: 11px;
  }
  .report-controls {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }
  .report-date-form {
    justify-content: flex-start;
  }
  .admin-sidebar nav a {
    font-size: 12px;
    padding: 9px 13px;
  }
  .chart-heading h2 {
    font-size: 14px;
  }
  .chart-heading p {
    font-size: 11px;
  }
}
@media (max-width: 850px) {
  .home-main .hero-copy h1,
  .home-main .hero-copy h2 {
    font-size: 25px;
  }
  .home-main .hero-copy > p {
    font-size: 13px;
  }
  .home-main .hero-art {
    height: 395px;
    padding: 18px;
  }
  .home-main .hero-art:has(.hero-photo) {
    padding: 18px 0 18px 18px;
  }
  .home-main .hero-photo {
    height: 359px;
    border-radius: 14px;
  }
  .home-main .floating-note {
    right: 4px;
    bottom: 32px;
  }
  .distribution-intro {
    padding: 23px;
  }
  .distribution-intro h2 {
    font-size: 20px;
  }
  .charts-grid {
    gap: 17px;
  }
  .chart-heading {
    flex-direction: column;
    gap: 5px;
  }
  .chart-indicator {
    padding-top: 0;
  }
  .chart-frame {
    height: 250px;
  }
  .dashboard-summary {
    gap: 12px 20px;
  }
  .dashboard-summary > a {
    margin-right: 0;
  }
  .article-card h3 {
    font-size: 16px;
  }
  .journal-article h1 {
    font-size: 26px;
  }
  .journal-article > header {
    padding: 28px 30px;
  }
  .journal-body {
    padding: 25px 30px;
  }
  .journal-cover {
    height: 320px;
  }
  .admin-sidebar nav {
    overflow-y: visible;
    overflow-x: auto;
  }
  .payment-review-grid {
    gap: 17px;
  }
  .receipt-info {
    font-size: 12px;
  }
}
@media (max-width: 650px) {
  .charts-grid,
  .chart-wide-grid {
    grid-template-columns: 1fr;
  }
  .chart-heading {
    flex-direction: row;
  }
  .chart-heading h2 {
    font-size: 15px;
  }
  .chart-heading p {
    font-size: 11px;
  }
  .business-stats .stat-card strong {
    font-size: 25px;
  }
  .report-date-form {
    flex-wrap: wrap;
    gap: 12px;
  }
  .report-date-form > .field {
    flex: 1;
    min-width: 110px;
  }
  .report-date-form .field input {
    max-width: none;
    width: 100%;
    font-size: 14px;
  }
  .report-date-form > .button {
    flex-basis: 100%;
    min-height: 40px;
  }
  .report-presets {
    justify-content: space-between;
  }
  .report-presets a {
    font-size: 12px;
    flex: 1;
    text-align: center;
    padding: 8px;
  }
  .payment-review-grid {
    grid-template-columns: 1fr;
  }
  .status-change-form {
    grid-template-columns: 1fr;
  }
  .article-grid {
    grid-template-columns: 1fr;
  }
  .journal-header {
    padding: 28px;
  }
  .journal-header h1 {
    font-size: 28px;
  }
  .journal-header p {
    font-size: 14px;
  }
  .journal-article > header {
    padding: 25px;
  }
  .journal-article h1 {
    font-size: 24px;
  }
  .journal-summary {
    font-size: 14px;
  }
  .journal-meta {
    font-size: 12px;
    gap: 13px;
  }
  .journal-cover {
    height: 245px;
  }
  .journal-body {
    padding: 20px 25px;
  }
  .journal-article > footer {
    padding: 18px 25px;
  }
  .article-card-cover {
    height: 215px;
  }
  .article-card-body {
    padding: 20px 23px;
  }
  .article-card p {
    font-size: 14px;
  }
  .gallery-lightbox {
    padding: 15px;
  }
  .gallery-lightbox > img {
    height: 70dvh;
  }
  .receipt-info {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .home-main .hero-copy h1,
  .home-main .hero-copy h2 {
    font-size: 28px;
    line-height: 1.8;
  }
  .home-main .hero-copy > p {
    font-size: 14px;
  }
  .home-main .hero-art {
    height: 285px;
    padding: 15px 20px 38px;
    margin-top: 10px;
  }
  .home-main .hero-art:has(.hero-photo) {
    padding: 15px 20px 38px;
  }
  .home-main .hero-photo {
    height: 232px;
    border-radius: 13px;
  }
  .home-main .hero-art .hero-product:not(.hero-photo) {
    height: 250px;
    max-width: 280px;
  }
  .home-main .floating-note {
    right: 30px;
    bottom: 52px;
    box-shadow: 0 6px 20px #29143516;
  }
  .home-main .slider-controls {
    bottom: 12px;
    left: 24px;
  }
  .distribution-intro {
    margin-top: 24px;
    padding: 23px 20px;
    gap: 21px;
    border-radius: 15px;
  }
  .distribution-intro h2 {
    font-size: 21px;
  }
  .distribution-intro p {
    font-size: 14px;
  }
  .distribution-steps {
    gap: 10px;
  }
  .distribution-steps > div {
    padding-right: 9px;
  }
  .distribution-steps strong {
    font-size: 12px;
    line-height: 2;
  }
  .distribution-steps small {
    font-size: 11px;
    line-height: 2;
  }
  .distribution-steps b {
    font-size: 14px;
    width: 28px;
    height: 28px;
  }
  .journal-section {
    padding-top: 32px;
  }
  .journal-header {
    padding: 25px 23px;
    border-radius: 16px;
  }
  .journal-header h1 {
    font-size: 26px;
  }
  .journal-header .eyebrow {
    font-size: 12px;
  }
  .journal-article h1 {
    font-size: 23px;
  }
  .journal-meta {
    font-size: 11px;
    gap: 11px;
  }
  .rich-content {
    font-size: 14px;
    line-height: 2.6;
  }
  .rich-content h2 {
    font-size: 21px;
  }
  .rich-content h3 {
    font-size: 18px;
  }
  .article-card h3 {
    font-size: 17px;
  }
  .article-card .eyebrow {
    font-size: 12px;
  }
  .article-card .text-link {
    font-size: 14px;
  }
  .journal-cover {
    height: 220px;
  }
  .gallery-thumbnails {
    gap: 8px;
  }
  .gallery-thumbnails button {
    width: 69px;
    height: 64px;
  }
  .detail-image .gallery-zoom {
    left: 13px;
    bottom: 13px;
  }
  .gallery-manager {
    grid-template-columns: repeat(3, 1fr);
  }
  .gallery-manager-item label {
    font-size: 11px;
  }
  .gallery-manager-item img {
    height: 75px;
  }
  .ql-toolbar.ql-snow {
    padding: 7px;
  }
  .ql-toolbar .ql-formats {
    margin-right: 8px !important;
    margin-bottom: 4px;
  }
  .ql-editor {
    padding: 17px;
    min-height: 270px;
    font-size: 14px;
  }
  .dashboard-summary {
    font-size: 11px;
    padding: 14px 16px;
  }
  .dashboard-summary b {
    font-size: 14px;
  }
  .business-stats .stat-card > span {
    font-size: 11px;
  }
  .business-stats .stat-card strong {
    font-size: 25px;
  }
  .business-stats .stat-card strong > small {
    font-size: 11px;
    margin-right: 4px;
  }
  .business-stats .stat-card > small {
    font-size: 11px;
  }
  .chart-frame {
    height: 255px;
  }
  .chart-frame-donut {
    height: 270px;
  }
  .chart-heading h2 {
    font-size: 15px;
  }
  .chart-heading p {
    font-size: 11px;
    max-width: 235px;
  }
  .chart-indicator {
    font-size: 11px;
  }
  .report-date-form .field label {
    font-size: 12px;
  }
  .visit-path {
    max-width: 210px;
  }
  .pagination a {
    font-size: 13px;
    min-width: 34px;
    height: 36px;
    padding: 0 10px;
  }
  .payment-option {
    gap: 10px;
    padding: 15px 12px;
  }
  .payment-option strong {
    font-size: 14px;
  }
  .payment-option small {
    font-size: 12px;
  }
  .payment-option-icon {
    width: 33px;
    height: 33px;
    border-radius: 9px;
  }
  .payment-option-icon .icon {
    width: 19px;
    height: 19px;
  }
  .payment-panel {
    padding: 20px 16px;
    border-radius: 14px;
  }
  .payment-panel h2 {
    font-size: 17px;
  }
  .payment-panel-heading {
    gap: 11px;
    align-items: flex-start;
  }
  .payment-panel-heading .round-icon {
    width: 35px;
    height: 35px;
  }
  .payment-panel-heading .round-icon .icon {
    width: 21px;
    height: 21px;
  }
  .payment-panel-heading p {
    font-size: 13px;
  }
  .company-bank-card {
    padding: 22px 18px;
    border-radius: 14px;
  }
  .bank-number-row > strong {
    font-size: 20px;
    letter-spacing: 1px;
  }
  .bank-number-row {
    gap: 6px;
  }
  .bank-number-row button {
    width: 28px;
    height: 28px;
    border-radius: 7px;
  }
  .bank-iban-row bdi {
    font-size: 12px;
    letter-spacing: 0;
  }
  .company-bank-label {
    font-size: 11px;
  }
  .bank-validation-note {
    font-size: 12px;
  }
  .payment-panel > h3 {
    font-size: 15px;
  }
  .payment-help {
    font-size: 13px;
  }
  .payment-panel .button {
    width: 100%;
    font-size: 14px;
    padding: 12px 10px;
  }
  .transfer-details dl {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .transfer-details h2 {
    font-size: 15px;
  }
  .transfer-details dt {
    font-size: 13px;
  }
  .transfer-details dd {
    font-size: 14px;
  }
  .cancellation-message {
    padding: 16px;
    font-size: 14px;
  }
  .payment-pending-message {
    padding: 18px;
    gap: 13px;
    align-items: flex-start;
  }
  .payment-pending-message > .icon {
    width: 25px;
    height: 25px;
  }
  .payment-pending-message h2 {
    font-size: 16px;
  }
  .payment-pending-message p {
    font-size: 13px;
  }
  .payment-review h2 {
    font-size: 17px;
  }
  .payment-review-grid > form {
    padding: 17px;
  }
  .payment-review .button {
    font-size: 13px;
    padding: 10px 12px;
    gap: 7px;
  }
  .payment-callback {
    padding: 30px 23px !important;
  }
  .payment-callback h1 {
    font-size: 23px;
  }
  .payment-callback p {
    font-size: 14px;
  }
  .install-dialog {
    padding: 30px 25px;
  }
  .install-dialog h2 {
    font-size: 20px;
  }
  .network-state {
    font-size: 12px;
    line-height: 2;
  }
  .offline-card {
    padding: 30px 25px;
    border-radius: 18px;
  }
  .offline-card h1 {
    font-size: 23px;
  }
  .offline-card p {
    font-size: 14px;
  }
}
@media (max-width: 360px) {
  .bank-number-row > strong {
    font-size: 17px;
    letter-spacing: 0.4px;
  }
  .bank-iban-row bdi {
    font-size: 11px;
  }
  .gallery-manager {
    grid-template-columns: 1fr 1fr;
  }
  .business-stats .stat-card strong {
    font-size: 21px;
  }
  .business-stats .stat-card {
    padding: 17px 14px;
  }
  .chart-indicator {
    display: none;
  }
}
