/*! tailwindcss v4.2.4 | MIT License | https://tailwindcss.com */
@layer properties;
@layer theme, base, components, utilities;
@layer theme {
  :root, :host {
    --font-sans: var(--font-sans);
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
      "Courier New", monospace;
    --color-red-50: oklch(97.1% 0.013 17.38);
    --color-red-600: oklch(57.7% 0.245 27.325);
    --color-orange-50: oklch(98% 0.016 73.684);
    --color-orange-600: oklch(64.6% 0.222 41.116);
    --color-amber-50: oklch(98.7% 0.022 95.277);
    --color-amber-500: oklch(76.9% 0.188 70.08);
    --color-amber-700: oklch(55.5% 0.163 48.998);
    --color-emerald-50: oklch(97.9% 0.021 166.113);
    --color-emerald-700: oklch(50.8% 0.118 165.612);
    --color-slate-500: oklch(55.4% 0.046 257.417);
    --color-black: #000;
    --color-white: #fff;
    --spacing: 0.25rem;
    --container-2xl: 42rem;
    --text-xs: 0.75rem;
    --text-xs--line-height: calc(1 / 0.75);
    --text-sm: 0.875rem;
    --text-sm--line-height: calc(1.25 / 0.875);
    --text-base: 1rem;
    --text-base--line-height: calc(1.5 / 1);
    --text-lg: 1.125rem;
    --text-lg--line-height: calc(1.75 / 1.125);
    --text-xl: 1.25rem;
    --text-xl--line-height: calc(1.75 / 1.25);
    --text-2xl: 1.5rem;
    --text-2xl--line-height: calc(2 / 1.5);
    --text-3xl: 1.875rem;
    --text-3xl--line-height: calc(2.25 / 1.875);
    --text-4xl: 2.25rem;
    --text-4xl--line-height: calc(2.5 / 2.25);
    --text-5xl: 3rem;
    --text-5xl--line-height: 1;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-extrabold: 800;
    --font-weight-black: 900;
    --tracking-tight: -0.025em;
    --tracking-wide: 0.025em;
    --leading-tight: 1.25;
    --radius-lg: 0.5rem;
    --radius-xl: 0.75rem;
    --radius-2xl: 1rem;
    --ease-out: cubic-bezier(0, 0, 0.2, 1);
    --blur-md: 12px;
    --default-transition-duration: 150ms;
    --default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    --default-font-family: var(--font-sans);
    --default-mono-font-family: var(--font-mono);
    --color-primary: var(--color-primary);
    --color-primary-soft: var(--color-primary-soft);
    --color-accent: var(--color-accent);
    --color-accent-dark: var(--color-accent-dark);
    --color-bg: var(--color-bg);
    --color-surface: var(--color-surface);
    --color-muted: var(--color-muted);
    --color-line: var(--color-line);
    --color-text: var(--color-text);
    --color-text-soft: var(--color-text-soft);
  }
}
@layer base {
  *, ::after, ::before, ::backdrop, ::file-selector-button {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: 0 solid;
  }
  html, :host {
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    tab-size: 4;
    font-family: var(--default-font-family, ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");
    font-feature-settings: var(--default-font-feature-settings, normal);
    font-variation-settings: var(--default-font-variation-settings, normal);
    -webkit-tap-highlight-color: transparent;
  }
  hr {
    height: 0;
    color: inherit;
    border-top-width: 1px;
  }
  abbr:where([title]) {
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted;
  }
  h1, h2, h3, h4, h5, h6 {
    font-size: inherit;
    font-weight: inherit;
  }
  a {
    color: inherit;
    -webkit-text-decoration: inherit;
    text-decoration: inherit;
  }
  b, strong {
    font-weight: bolder;
  }
  code, kbd, samp, pre {
    font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);
    font-feature-settings: var(--default-mono-font-feature-settings, normal);
    font-variation-settings: var(--default-mono-font-variation-settings, normal);
    font-size: 1em;
  }
  small {
    font-size: 80%;
  }
  sub, sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
  }
  sub {
    bottom: -0.25em;
  }
  sup {
    top: -0.5em;
  }
  table {
    text-indent: 0;
    border-color: inherit;
    border-collapse: collapse;
  }
  :-moz-focusring {
    outline: auto;
  }
  progress {
    vertical-align: baseline;
  }
  summary {
    display: list-item;
  }
  ol, ul, menu {
    list-style: none;
  }
  img, svg, video, canvas, audio, iframe, embed, object {
    display: block;
    vertical-align: middle;
  }
  img, video {
    max-width: 100%;
    height: auto;
  }
  button, input, select, optgroup, textarea, ::file-selector-button {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    border-radius: 0;
    background-color: transparent;
    opacity: 1;
  }
  :where(select:is([multiple], [size])) optgroup {
    font-weight: bolder;
  }
  :where(select:is([multiple], [size])) optgroup option {
    padding-inline-start: 20px;
  }
  ::file-selector-button {
    margin-inline-end: 4px;
  }
  ::placeholder {
    opacity: 1;
  }
  @supports (not (-webkit-appearance: -apple-pay-button))  or (contain-intrinsic-size: 1px) {
    ::placeholder {
      color: currentcolor;
      @supports (color: color-mix(in lab, red, red)) {
        color: color-mix(in oklab, currentcolor 50%, transparent);
      }
    }
  }
  textarea {
    resize: vertical;
  }
  ::-webkit-search-decoration {
    -webkit-appearance: none;
  }
  ::-webkit-date-and-time-value {
    min-height: 1lh;
    text-align: inherit;
  }
  ::-webkit-datetime-edit {
    display: inline-flex;
  }
  ::-webkit-datetime-edit-fields-wrapper {
    padding: 0;
  }
  ::-webkit-datetime-edit, ::-webkit-datetime-edit-year-field, ::-webkit-datetime-edit-month-field, ::-webkit-datetime-edit-day-field, ::-webkit-datetime-edit-hour-field, ::-webkit-datetime-edit-minute-field, ::-webkit-datetime-edit-second-field, ::-webkit-datetime-edit-millisecond-field, ::-webkit-datetime-edit-meridiem-field {
    padding-block: 0;
  }
  ::-webkit-calendar-picker-indicator {
    line-height: 1;
  }
  :-moz-ui-invalid {
    box-shadow: none;
  }
  button, input:where([type="button"], [type="reset"], [type="submit"]), ::file-selector-button {
    appearance: button;
  }
  ::-webkit-inner-spin-button, ::-webkit-outer-spin-button {
    height: auto;
  }
  [hidden]:where(:not([hidden="until-found"])) {
    display: none !important;
  }
}
@layer utilities {
  .absolute {
    position: absolute;
  }
  .fixed {
    position: fixed;
  }
  .relative {
    position: relative;
  }
  .start {
    inset-inline-start: var(--spacing);
  }
  .top-4 {
    top: calc(var(--spacing) * 4);
  }
  .right-4 {
    right: calc(var(--spacing) * 4);
  }
  .z-10 {
    z-index: 10;
  }
  .container {
    width: 100%;
    @media (width >= 40rem) {
      max-width: 40rem;
    }
    @media (width >= 48rem) {
      max-width: 48rem;
    }
    @media (width >= 64rem) {
      max-width: 64rem;
    }
    @media (width >= 80rem) {
      max-width: 80rem;
    }
    @media (width >= 96rem) {
      max-width: 96rem;
    }
  }
  .mx-auto {
    margin-inline: auto;
  }
  .mt-2 {
    margin-top: calc(var(--spacing) * 2);
  }
  .mt-3 {
    margin-top: calc(var(--spacing) * 3);
  }
  .mt-4 {
    margin-top: calc(var(--spacing) * 4);
  }
  .mt-5 {
    margin-top: calc(var(--spacing) * 5);
  }
  .mt-6 {
    margin-top: calc(var(--spacing) * 6);
  }
  .mt-8 {
    margin-top: calc(var(--spacing) * 8);
  }
  .mb-3 {
    margin-bottom: calc(var(--spacing) * 3);
  }
  .mb-8 {
    margin-bottom: calc(var(--spacing) * 8);
  }
  .\!hidden {
    display: none !important;
  }
  .block {
    display: block;
  }
  .flex {
    display: flex;
  }
  .grid {
    display: grid;
  }
  .hidden {
    display: none;
  }
  .inline-flex {
    display: inline-flex;
  }
  .h-4 {
    height: calc(var(--spacing) * 4);
  }
  .h-5 {
    height: calc(var(--spacing) * 5);
  }
  .h-6 {
    height: calc(var(--spacing) * 6);
  }
  .w-4 {
    width: calc(var(--spacing) * 4);
  }
  .w-5 {
    width: calc(var(--spacing) * 5);
  }
  .w-6 {
    width: calc(var(--spacing) * 6);
  }
  .w-full {
    width: 100%;
  }
  .max-w-2xl {
    max-width: var(--container-2xl);
  }
  .flex-shrink {
    flex-shrink: 1;
  }
  .transform {
    transform: var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,);
  }
  .cursor-not-allowed {
    cursor: not-allowed;
  }
  .cursor-zoom-in {
    cursor: zoom-in;
  }
  .resize {
    resize: both;
  }
  .list-none {
    list-style-type: none;
  }
  .columns-2 {
    columns: 2;
  }
  .columns-3 {
    columns: 3;
  }
  .flex-col {
    flex-direction: column;
  }
  .flex-wrap {
    flex-wrap: wrap;
  }
  .items-center {
    align-items: center;
  }
  .items-start {
    align-items: flex-start;
  }
  .justify-between {
    justify-content: space-between;
  }
  .gap-1 {
    gap: calc(var(--spacing) * 1);
  }
  .gap-2 {
    gap: calc(var(--spacing) * 2);
  }
  .gap-3 {
    gap: calc(var(--spacing) * 3);
  }
  .gap-4 {
    gap: calc(var(--spacing) * 4);
  }
  .space-y-3 {
    :where(& > :not(:last-child)) {
      --tw-space-y-reverse: 0;
      margin-block-start: calc(calc(var(--spacing) * 3) * var(--tw-space-y-reverse));
      margin-block-end: calc(calc(var(--spacing) * 3) * calc(1 - var(--tw-space-y-reverse)));
    }
  }
  .overflow-hidden {
    overflow: hidden;
  }
  .rounded-2xl {
    border-radius: var(--radius-2xl);
  }
  .rounded-\[1rem\] {
    border-radius: 1rem;
  }
  .rounded-full {
    border-radius: calc(infinity * 1px);
  }
  .border {
    border-style: var(--tw-border-style);
    border-width: 1px;
  }
  .border-t {
    border-top-style: var(--tw-border-style);
    border-top-width: 1px;
  }
  .border-line {
    border-color: var(--color-line);
  }
  .bg-\[var\(--color-accent\)\] {
    background-color: var(--color-accent);
  }
  .bg-amber-50 {
    background-color: var(--color-amber-50);
  }
  .bg-emerald-50 {
    background-color: var(--color-emerald-50);
  }
  .bg-muted {
    background-color: var(--color-muted);
  }
  .bg-orange-50 {
    background-color: var(--color-orange-50);
  }
  .bg-red-50 {
    background-color: var(--color-red-50);
  }
  .bg-white {
    background-color: var(--color-white);
  }
  .p-4 {
    padding: calc(var(--spacing) * 4);
  }
  .px-3 {
    padding-inline: calc(var(--spacing) * 3);
  }
  .px-4 {
    padding-inline: calc(var(--spacing) * 4);
  }
  .py-1 {
    padding-block: calc(var(--spacing) * 1);
  }
  .py-2 {
    padding-block: calc(var(--spacing) * 2);
  }
  .py-8 {
    padding-block: calc(var(--spacing) * 8);
  }
  .pt-0 {
    padding-top: calc(var(--spacing) * 0);
  }
  .pt-3 {
    padding-top: calc(var(--spacing) * 3);
  }
  .pb-12 {
    padding-bottom: calc(var(--spacing) * 12);
  }
  .text-center {
    text-align: center;
  }
  .text-2xl {
    font-size: var(--text-2xl);
    line-height: var(--tw-leading, var(--text-2xl--line-height));
  }
  .text-base {
    font-size: var(--text-base);
    line-height: var(--tw-leading, var(--text-base--line-height));
  }
  .text-lg {
    font-size: var(--text-lg);
    line-height: var(--tw-leading, var(--text-lg--line-height));
  }
  .text-sm {
    font-size: var(--text-sm);
    line-height: var(--tw-leading, var(--text-sm--line-height));
  }
  .text-xs {
    font-size: var(--text-xs);
    line-height: var(--tw-leading, var(--text-xs--line-height));
  }
  .leading-6 {
    --tw-leading: calc(var(--spacing) * 6);
    line-height: calc(var(--spacing) * 6);
  }
  .leading-7 {
    --tw-leading: calc(var(--spacing) * 7);
    line-height: calc(var(--spacing) * 7);
  }
  .leading-8 {
    --tw-leading: calc(var(--spacing) * 8);
    line-height: calc(var(--spacing) * 8);
  }
  .font-black {
    --tw-font-weight: var(--font-weight-black);
    font-weight: var(--font-weight-black);
  }
  .font-bold {
    --tw-font-weight: var(--font-weight-bold);
    font-weight: var(--font-weight-bold);
  }
  .font-extrabold {
    --tw-font-weight: var(--font-weight-extrabold);
    font-weight: var(--font-weight-extrabold);
  }
  .font-semibold {
    --tw-font-weight: var(--font-weight-semibold);
    font-weight: var(--font-weight-semibold);
  }
  .whitespace-nowrap {
    white-space: nowrap;
  }
  .text-amber-500 {
    color: var(--color-amber-500);
  }
  .text-amber-700 {
    color: var(--color-amber-700);
  }
  .text-emerald-700 {
    color: var(--color-emerald-700);
  }
  .text-orange-600 {
    color: var(--color-orange-600);
  }
  .text-primary {
    color: var(--color-primary);
  }
  .text-red-600 {
    color: var(--color-red-600);
  }
  .text-slate-500 {
    color: var(--color-slate-500);
  }
  .text-text-soft {
    color: var(--color-text-soft);
  }
  .text-white {
    color: var(--color-white);
  }
  .opacity-50 {
    opacity: 50%;
  }
  .ring-2 {
    --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }
  .ring-primary {
    --tw-ring-color: var(--color-primary);
  }
  .ring-offset-2 {
    --tw-ring-offset-width: 2px;
    --tw-ring-offset-shadow: var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  }
  .backdrop-filter {
    -webkit-backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);
    backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);
  }
  .transition {
    transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to, opacity, box-shadow, transform, translate, scale, rotate, filter, -webkit-backdrop-filter, backdrop-filter, display, content-visibility, overlay, pointer-events;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
  }
  .transition-transform {
    transition-property: transform, translate, scale, rotate;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
  }
  .duration-200 {
    --tw-duration: 200ms;
    transition-duration: 200ms;
  }
  .ease-out {
    --tw-ease: var(--ease-out);
    transition-timing-function: var(--ease-out);
  }
  .will-change-transform {
    will-change: transform;
  }
  .sm\:inline {
    @media (width >= 40rem) {
      display: inline;
    }
  }
  .md\:grid-cols-2 {
    @media (width >= 48rem) {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }
  .md\:pb-16 {
    @media (width >= 48rem) {
      padding-bottom: calc(var(--spacing) * 16);
    }
  }
  .md\:text-3xl {
    @media (width >= 48rem) {
      font-size: var(--text-3xl);
      line-height: var(--tw-leading, var(--text-3xl--line-height));
    }
  }
  .md\:text-base {
    @media (width >= 48rem) {
      font-size: var(--text-base);
      line-height: var(--tw-leading, var(--text-base--line-height));
    }
  }
  .lg\:mb-10 {
    @media (width >= 64rem) {
      margin-bottom: calc(var(--spacing) * 10);
    }
  }
  .lg\:hidden {
    @media (width >= 64rem) {
      display: none;
    }
  }
  .lg\:grid-cols-2 {
    @media (width >= 64rem) {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }
  .lg\:grid-cols-3 {
    @media (width >= 64rem) {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }
  }
  .lg\:pb-20 {
    @media (width >= 64rem) {
      padding-bottom: calc(var(--spacing) * 20);
    }
  }
  .xl\:inline-flex {
    @media (width >= 80rem) {
      display: inline-flex;
    }
  }
}
@font-face {
  font-family: "Vazirmatn";
  src: url("../fonts/Vazirmatn-UI-FD-NL-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Vazirmatn";
  src: url("../fonts/Vazirmatn-UI-FD-NL-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Vazirmatn";
  src: url("../fonts/Vazirmatn-UI-FD-NL-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Vazirmatn";
  src: url("../fonts/Vazirmatn-UI-FD-NL-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
:root {
  --font-sans: "Vazirmatn", sans-serif;
  --color-primary: #0f172a;
  --color-primary-soft: #1e293b;
  --color-accent: #c19a6b;
  --color-accent-dark: #a67c52;
  --color-bg: #f8fafc;
  --color-surface: #ffffff;
  --color-muted: #f1f5f9;
  --color-line: #e2e8f0;
  --color-text: #0f172a;
  --color-text-soft: #475569;
  --radius-card: 1rem;
  --radius-btn: 999px;
  --radius-input: 0.875rem;
  --shadow-card: 0 10px 30px rgba(15, 23, 42, 0.06);
  --shadow-hover: 0 20px 40px rgba(15, 23, 42, 0.12);
  --shadow-dropdown: 0 24px 60px rgba(15, 23, 42, 0.14);
  --container-width: 1280px;
}
@layer base {
  * {
    box-sizing: border-box;
  }
  html {
    direction: rtl;
    scroll-behavior: smooth;
    max-width: 100vw;
    overflow-x: hidden;
  }
  body {
    margin: calc(var(--spacing) * 0);
    background-color: var(--color-bg);
    font-family: var(--font-sans);
    color: var(--color-text);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    max-width: 100vw;
    overflow-x: hidden;
    position: relative;
  }
  a {
    color: inherit;
    text-decoration-line: none;
  }
  img {
    display: block;
    max-width: 100%;
  }
  button, input, select, textarea {
    font: inherit;
  }
  button {
    border-style: var(--tw-border-style);
    border-width: 0px;
    background-color: transparent;
    padding: calc(var(--spacing) * 0);
  }
  ::selection {
    background: rgba(193, 154, 107, 0.18);
  }
}
@layer components {
  .container-main {
    width: min(100% - 2rem, var(--container-width));
    margin-inline: auto;
  }
  .section-space {
    padding-block: calc(var(--spacing) * 6);
    @media (width >= 48rem) {
      padding-block: calc(var(--spacing) * 8);
    }
    @media (width >= 64rem) {
      padding-block: calc(var(--spacing) * 10);
    }
  }
  .section-head, .section-header-row {
    margin-bottom: calc(var(--spacing) * 6);
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: calc(var(--spacing) * 4);
  }
  .section-header {
    margin-bottom: calc(var(--spacing) * 8);
  }
  .section-eyebrow {
    display: inline-block;
    font-size: var(--text-sm);
    line-height: var(--tw-leading, var(--text-sm--line-height));
    --tw-font-weight: var(--font-weight-semibold);
    font-weight: var(--font-weight-semibold);
    color: var(--color-accent);
  }
  .section-title {
    font-size: var(--text-2xl);
    line-height: var(--tw-leading, var(--text-2xl--line-height));
    --tw-font-weight: var(--font-weight-bold);
    font-weight: var(--font-weight-bold);
    color: var(--color-primary);
    @media (width >= 48rem) {
      font-size: var(--text-3xl);
      line-height: var(--tw-leading, var(--text-3xl--line-height));
    }
  }
  .section-subtitle {
    margin-top: calc(var(--spacing) * 2);
    font-size: var(--text-sm);
    line-height: var(--tw-leading, var(--text-sm--line-height));
    --tw-leading: calc(var(--spacing) * 7);
    line-height: calc(var(--spacing) * 7);
    color: var(--color-text-soft);
    @media (width >= 48rem) {
      font-size: var(--text-base);
      line-height: var(--tw-leading, var(--text-base--line-height));
    }
  }
  .section-link {
    font-size: var(--text-sm);
    line-height: var(--tw-leading, var(--text-sm--line-height));
    --tw-font-weight: var(--font-weight-semibold);
    font-weight: var(--font-weight-semibold);
    color: var(--color-primary);
    transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to, opacity, box-shadow, transform, translate, scale, rotate, filter, -webkit-backdrop-filter, backdrop-filter, display, content-visibility, overlay, pointer-events;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
    &:hover {
      @media (hover: hover) {
        color: var(--color-accent);
      }
    }
  }
  .topbar {
    border-bottom-style: var(--tw-border-style);
    border-bottom-width: 1px;
    border-color: var(--color-line);
    background-color: var(--color-white);
  }
  .topbar-inner {
    display: flex;
    min-height: calc(var(--spacing) * 10);
    align-items: center;
    justify-content: space-between;
    gap: calc(var(--spacing) * 3);
    font-size: var(--text-sm);
    line-height: var(--tw-leading, var(--text-sm--line-height));
    color: var(--color-text-soft);
  }
  .topbar-contact {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: calc(var(--spacing) * 4);
  }
  .topbar-contact a {
    transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to, opacity, box-shadow, transform, translate, scale, rotate, filter, -webkit-backdrop-filter, backdrop-filter, display, content-visibility, overlay, pointer-events;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
    &:hover {
      @media (hover: hover) {
        color: var(--color-primary);
      }
    }
  }
  .footer {
    margin-top: calc(var(--spacing) * 12);
    border-top-style: var(--tw-border-style);
    border-top-width: 1px;
    border-color: var(--color-line);
    background-color: var(--color-white);
  }
  .footer-grid {
    display: grid;
    gap: calc(var(--spacing) * 8);
    padding-block: calc(var(--spacing) * 12);
    @media (width >= 48rem) {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    @media (width >= 64rem) {
      grid-template-columns: repeat(4, minmax(0, 1fr));
    }
  }
  .footer-title {
    margin-bottom: calc(var(--spacing) * 4);
    font-size: var(--text-base);
    line-height: var(--tw-leading, var(--text-base--line-height));
    --tw-font-weight: var(--font-weight-bold);
    font-weight: var(--font-weight-bold);
    color: var(--color-primary);
  }
  .footer-text {
    font-size: var(--text-sm);
    line-height: var(--tw-leading, var(--text-sm--line-height));
    --tw-leading: calc(var(--spacing) * 7);
    line-height: calc(var(--spacing) * 7);
    color: var(--color-text-soft);
  }
  .footer-links {
    :where(& > :not(:last-child)) {
      --tw-space-y-reverse: 0;
      margin-block-start: calc(calc(var(--spacing) * 3) * var(--tw-space-y-reverse));
      margin-block-end: calc(calc(var(--spacing) * 3) * calc(1 - var(--tw-space-y-reverse)));
    }
  }
  .footer-links a {
    font-size: var(--text-sm);
    line-height: var(--tw-leading, var(--text-sm--line-height));
    color: var(--color-text-soft);
    transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to, opacity, box-shadow, transform, translate, scale, rotate, filter, -webkit-backdrop-filter, backdrop-filter, display, content-visibility, overlay, pointer-events;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
    &:hover {
      @media (hover: hover) {
        color: var(--color-primary);
      }
    }
  }
  .footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: calc(var(--spacing) * 3);
    border-top-style: var(--tw-border-style);
    border-top-width: 1px;
    border-color: var(--color-line);
    padding-block: calc(var(--spacing) * 5);
    font-size: var(--text-sm);
    line-height: var(--tw-leading, var(--text-sm--line-height));
    color: var(--color-text-soft);
    @media (width >= 48rem) {
      flex-direction: row;
    }
  }
  .w-full {
    width: 100%;
  }
  @media (max-width: 767px) {
    .topbar {
      display: none;
    }
    .footer-bottom {
      text-align: center;
    }
  }
}
@layer components {
  .navbar {
    position: sticky;
    top: calc(var(--spacing) * 0);
    z-index: 40;
    border-bottom-style: var(--tw-border-style);
    border-bottom-width: 1px;
    background-color: color-mix(in srgb, #fff 95%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklab, var(--color-white) 95%, transparent);
    }
    --tw-backdrop-blur: blur(var(--blur-md));
    -webkit-backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);
    backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);
    border-color: rgba(15, 23, 42, 0.06);
  }
  .navbar-inner {
    min-height: calc(var(--spacing) * 16);
    @media (width >= 40rem) {
      min-height: 4.5rem;
    }
  }
  .nav-right {
    display: flex;
    min-width: calc(var(--spacing) * 0);
    align-items: center;
    justify-content: flex-start;
  }
  .nav-brand-wrap {
    display: flex;
    min-width: calc(var(--spacing) * 0);
    align-items: center;
    gap: calc(var(--spacing) * 2);
    @media (width >= 40rem) {
      gap: calc(var(--spacing) * 3);
    }
    margin: 0;
  }
  .nav-brand-logo {
    display: inline-flex;
    height: calc(var(--spacing) * 10);
    width: calc(var(--spacing) * 10);
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    border-radius: calc(infinity * 1px);
    background-color: var(--color-black);
    font-size: var(--text-xs);
    line-height: var(--tw-leading, var(--text-xs--line-height));
    --tw-font-weight: var(--font-weight-bold);
    font-weight: var(--font-weight-bold);
    color: var(--color-white);
    @media (width >= 40rem) {
      height: calc(var(--spacing) * 12);
    }
    @media (width >= 40rem) {
      width: calc(var(--spacing) * 12);
    }
    @media (width >= 40rem) {
      font-size: var(--text-sm);
      line-height: var(--tw-leading, var(--text-sm--line-height));
    }
  }
  .nav-brand-text {
    display: flex;
    min-width: calc(var(--spacing) * 0);
    flex-direction: column;
  }
  .nav-brand-title {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: var(--text-base);
    line-height: var(--tw-leading, var(--text-base--line-height));
    --tw-font-weight: var(--font-weight-extrabold);
    font-weight: var(--font-weight-extrabold);
    color: var(--color-primary);
    @media (width >= 40rem) {
      font-size: var(--text-lg);
      line-height: var(--tw-leading, var(--text-lg--line-height));
    }
    @media (width >= 48rem) {
      font-size: var(--text-xl);
      line-height: var(--tw-leading, var(--text-xl--line-height));
    }
  }
  .nav-brand-subtitle {
    margin-top: calc(var(--spacing) * 1);
    font-size: 11px;
    color: var(--color-text-soft);
    @media (width >= 48rem) {
      font-size: var(--text-xs);
      line-height: var(--tw-leading, var(--text-xs--line-height));
    }
  }
  .nav-brand {
    font-size: var(--text-xl);
    line-height: var(--tw-leading, var(--text-xl--line-height));
    --tw-font-weight: var(--font-weight-extrabold);
    font-weight: var(--font-weight-extrabold);
    --tw-tracking: var(--tracking-tight);
    letter-spacing: var(--tracking-tight);
    color: var(--color-primary);
    @media (width >= 48rem) {
      font-size: var(--text-2xl);
      line-height: var(--tw-leading, var(--text-2xl--line-height));
    }
  }
  .nav-link {
    font-size: var(--text-sm);
    line-height: var(--tw-leading, var(--text-sm--line-height));
    --tw-font-weight: var(--font-weight-medium);
    font-weight: var(--font-weight-medium);
    color: var(--color-text-soft);
    transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to, opacity, box-shadow, transform, translate, scale, rotate, filter, -webkit-backdrop-filter, backdrop-filter, display, content-visibility, overlay, pointer-events;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
    --tw-duration: 200ms;
    transition-duration: 200ms;
    &:hover {
      @media (hover: hover) {
        color: var(--color-primary);
      }
    }
  }
  .nav-link.active {
    --tw-font-weight: var(--font-weight-bold);
    font-weight: var(--font-weight-bold);
    color: var(--color-primary);
  }
  .nav-actions {
    display: flex;
    align-items: center;
    gap: calc(var(--spacing) * 2);
    @media (width >= 48rem) {
      gap: calc(var(--spacing) * 3);
    }
  }
  .nav-cta {
    display: none;
    align-items: center;
    justify-content: center;
    border-radius: calc(infinity * 1px);
    background-color: var(--color-black);
    padding-inline: calc(var(--spacing) * 5);
    padding-block: calc(var(--spacing) * 3);
    font-size: var(--text-sm);
    line-height: var(--tw-leading, var(--text-sm--line-height));
    --tw-font-weight: var(--font-weight-bold);
    font-weight: var(--font-weight-bold);
    color: var(--color-white);
    transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to, opacity, box-shadow, transform, translate, scale, rotate, filter, -webkit-backdrop-filter, backdrop-filter, display, content-visibility, overlay, pointer-events;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
    --tw-duration: 300ms;
    transition-duration: 300ms;
    &:hover {
      @media (hover: hover) {
        opacity: 90%;
      }
    }
  }
  .icon-btn {
    display: inline-flex;
    height: calc(var(--spacing) * 10);
    width: calc(var(--spacing) * 10);
    align-items: center;
    justify-content: center;
    border-radius: calc(infinity * 1px);
    border-style: var(--tw-border-style);
    border-width: 1px;
    background-color: var(--color-white);
    color: var(--color-primary);
    transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to, opacity, box-shadow, transform, translate, scale, rotate, filter, -webkit-backdrop-filter, backdrop-filter, display, content-visibility, overlay, pointer-events;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
    --tw-duration: 300ms;
    transition-duration: 300ms;
    &:hover {
      @media (hover: hover) {
        background-color: var(--color-primary);
      }
    }
    &:hover {
      @media (hover: hover) {
        color: var(--color-white);
      }
    }
    @media (width >= 40rem) {
      height: calc(var(--spacing) * 11);
    }
    @media (width >= 40rem) {
      width: calc(var(--spacing) * 11);
    }
    border-color: var(--color-line);
  }
  .nav-circle-btn {
    display: inline-flex;
    height: calc(var(--spacing) * 10);
    width: calc(var(--spacing) * 10);
    align-items: center;
    justify-content: center;
    border-radius: calc(infinity * 1px);
    color: var(--color-primary);
    transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to, opacity, box-shadow, transform, translate, scale, rotate, filter, -webkit-backdrop-filter, backdrop-filter, display, content-visibility, overlay, pointer-events;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
    --tw-duration: 300ms;
    transition-duration: 300ms;
    &:hover {
      @media (hover: hover) {
        background-color: var(--color-black);
      }
    }
    &:hover {
      @media (hover: hover) {
        color: var(--color-white);
      }
    }
    @media (width >= 40rem) {
      height: calc(var(--spacing) * 11);
    }
    @media (width >= 40rem) {
      width: calc(var(--spacing) * 11);
    }
    background: #f3f4f6;
    border: 1px solid rgba(15, 23, 42, 0.05);
  }
  .navbar-3col {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    min-height: 4.25rem;
    width: 100%;
    direction: ltr;
  }
  .nav-left {
    grid-column: 1;
    justify-self: start;
    position: relative;
    z-index: 3;
    display: flex;
    flex-shrink: 0;
    align-items: center;
    gap: calc(var(--spacing) * 2);
  }
  .nav-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    width: max-content;
    margin: 0;
    direction: rtl;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .nav-brand-center {
    margin: 0;
    direction: rtl;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  .nav-menu {
    display: none;
  }
  @media (min-width: 1024px) {
    .navbar-3col {
      position: static;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
      min-height: 5.5rem;
      direction: rtl;
    }
    .nav-center {
      position: static;
      top: auto;
      left: auto;
      transform: none;
      width: auto;
      order: 1;
      z-index: auto;
      direction: rtl;
      display: flex;
      align-items: center;
      justify-content: flex-start;
      flex-shrink: 0;
    }
    .nav-brand-center {
      justify-content: flex-start;
      text-align: right;
    }
    .nav-menu {
      display: flex;
      order: 2;
      flex: 1;
      align-items: center;
      justify-content: center;
      gap: 32px;
      min-width: 0;
    }
    .nav-left {
      order: 3;
      justify-self: auto;
      z-index: auto;
      display: flex;
      align-items: center;
      gap: calc(var(--spacing) * 3);
      flex-shrink: 0;
    }
  }
  .nav-dropdown {
    position: relative;
  }
  .nav-dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: calc(var(--spacing) * 2);
    font-size: var(--text-sm);
    line-height: var(--tw-leading, var(--text-sm--line-height));
    --tw-font-weight: var(--font-weight-medium);
    font-weight: var(--font-weight-medium);
    color: var(--color-text-soft);
    transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to, opacity, box-shadow, transform, translate, scale, rotate, filter, -webkit-backdrop-filter, backdrop-filter, display, content-visibility, overlay, pointer-events;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
    --tw-duration: 200ms;
    transition-duration: 200ms;
    &:hover {
      @media (hover: hover) {
        color: var(--color-primary);
      }
    }
  }
  .nav-dropdown-toggle svg, .nav-dropdown-toggle i {
    transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to, opacity, box-shadow, transform, translate, scale, rotate, filter, -webkit-backdrop-filter, backdrop-filter, display, content-visibility, overlay, pointer-events;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
    --tw-duration: 300ms;
    transition-duration: 300ms;
  }
  .nav-dropdown:hover .nav-dropdown-toggle svg, .nav-dropdown:hover .nav-dropdown-toggle i, .nav-dropdown:focus-within .nav-dropdown-toggle svg, .nav-dropdown:focus-within .nav-dropdown-toggle i {
    transform: rotate(180deg);
  }
  .nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    z-index: 50;
    padding-top: 1rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    transform: translateX(-50%) translateY(12px);
  }
  .nav-dropdown:hover .nav-dropdown-menu, .nav-dropdown:focus-within .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
  }
  .nav-dropdown.dropdown-align-right .nav-dropdown-menu {
    left: auto;
    right: 0;
    transform: translateY(12px);
  }
  .nav-dropdown.dropdown-align-right:hover .nav-dropdown-menu, .nav-dropdown.dropdown-align-right:focus-within .nav-dropdown-menu {
    transform: translateY(0);
  }
  .nav-dropdown.dropdown-align-left .nav-dropdown-menu {
    left: 0;
    right: auto;
    transform: translateY(12px);
  }
  .nav-dropdown.dropdown-align-left:hover .nav-dropdown-menu, .nav-dropdown.dropdown-align-left:focus-within .nav-dropdown-menu {
    transform: translateY(0);
  }
  .nav-dropdown-inner {
    border-radius: 1.5rem;
    border-style: var(--tw-border-style);
    border-width: 1px;
    background-color: var(--color-white);
    padding: calc(var(--spacing) * 4);
    border-color: rgba(15, 23, 42, 0.06);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.14);
    overflow: hidden;
    max-width: min(96vw, 1100px);
  }
  .nav-dropdown-auto {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: min(360px, 92vw);
    max-height: 70vh;
    overflow-y: auto;
  }
  .nav-dropdown-inner.columns-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(240px, 1fr));
    gap: 0;
    width: min(720px, 92vw);
  }
  .nav-dropdown-inner.columns-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(220px, 1fr));
    gap: 0;
    width: min(980px, 94vw);
  }
  .nav-dropdown-col {
    padding: 0.25rem;
    min-width: 0;
  }
  .nav-dropdown-inner.columns-2 .nav-dropdown-col:not(:last-child), .nav-dropdown-inner.columns-3 .nav-dropdown-col:not(:last-child) {
    border-left: 1px solid rgba(15, 23, 42, 0.06);
  }
  .nav-dropdown-col-title {
    margin-bottom: calc(var(--spacing) * 3);
    padding-inline: calc(var(--spacing) * 3);
    font-size: var(--text-xs);
    line-height: var(--tw-leading, var(--text-xs--line-height));
    --tw-font-weight: var(--font-weight-extrabold);
    font-weight: var(--font-weight-extrabold);
    --tw-tracking: var(--tracking-wide);
    letter-spacing: var(--tracking-wide);
    color: var(--color-primary);
  }
  .nav-dropdown-item {
    display: flex;
    align-items: flex-start;
    gap: calc(var(--spacing) * 3);
    border-radius: 1rem;
    padding: calc(var(--spacing) * 3);
    transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to, opacity, box-shadow, transform, translate, scale, rotate, filter, -webkit-backdrop-filter, backdrop-filter, display, content-visibility, overlay, pointer-events;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
    --tw-duration: 200ms;
    transition-duration: 200ms;
    min-width: 0;
  }
  .nav-dropdown-item:hover {
    background: #f8fafc;
  }
  .nav-dropdown-icon {
    display: inline-flex;
    height: calc(var(--spacing) * 11);
    width: calc(var(--spacing) * 11);
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-2xl);
    font-size: var(--text-lg);
    line-height: var(--tw-leading, var(--text-lg--line-height));
    background: #f4f4f5;
  }
  .nav-dropdown-title {
    font-size: var(--text-sm);
    line-height: var(--tw-leading, var(--text-sm--line-height));
    --tw-font-weight: var(--font-weight-extrabold);
    font-weight: var(--font-weight-extrabold);
    color: var(--color-primary);
  }
  .nav-dropdown-text {
    margin-top: calc(var(--spacing) * 1);
    font-size: var(--text-xs);
    line-height: var(--tw-leading, var(--text-xs--line-height));
    --tw-leading: calc(var(--spacing) * 6);
    line-height: calc(var(--spacing) * 6);
    color: var(--color-text-soft);
  }
  @media (max-width: 1280px) {
    .nav-dropdown-inner.columns-3 {
      width: min(900px, 94vw);
      grid-template-columns: repeat(3, minmax(200px, 1fr));
    }
    .nav-dropdown-inner.columns-2 {
      width: min(680px, 92vw);
      grid-template-columns: repeat(2, minmax(220px, 1fr));
    }
  }
  @media (max-width: 1100px) {
    .nav-dropdown-inner.columns-3 {
      width: min(760px, 92vw);
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .nav-dropdown-inner.columns-2 {
      width: min(640px, 92vw);
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }
  @media (max-width: 1023px) {
    .nav-dropdown-menu {
      display: none;
    }
  }
  @media (min-width: 1024px) and (max-width: 1180px) {
    .nav-dropdown-inner.columns-3, .nav-dropdown-inner.columns-2 {
      grid-template-columns: 1fr;
      width: min(420px, 92vw);
    }
    .nav-dropdown-inner.columns-2 .nav-dropdown-col:not(:last-child), .nav-dropdown-inner.columns-3 .nav-dropdown-col:not(:last-child) {
      border-left: none;
      border-bottom: 1px solid rgba(15, 23, 42, 0.06);
      padding-bottom: 0.75rem;
      margin-bottom: 0.75rem;
    }
  }
  .mobile-menu {
    display: none;
  }
  .mobile-menu.active {
    display: block;
  }
  .mobile-menu-panel {
    background-color: var(--color-white);
  }
  .mobile-menu-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: calc(var(--spacing) * 3);
  }
  .mobile-menu-brand {
    font-size: var(--text-lg);
    line-height: var(--tw-leading, var(--text-lg--line-height));
    --tw-font-weight: var(--font-weight-extrabold);
    font-weight: var(--font-weight-extrabold);
    color: var(--color-primary);
  }
  .mobile-menu-close {
    display: inline-flex;
    height: calc(var(--spacing) * 10);
    width: calc(var(--spacing) * 10);
    align-items: center;
    justify-content: center;
    border-radius: calc(infinity * 1px);
    background-color: var(--color-muted);
    color: var(--color-primary);
    transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to, opacity, box-shadow, transform, translate, scale, rotate, filter, -webkit-backdrop-filter, backdrop-filter, display, content-visibility, overlay, pointer-events;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
  }
  .mobile-menu-close:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
  }
  .mobile-menu-links {
    margin-top: calc(var(--spacing) * 5);
    :where(& > :not(:last-child)) {
      --tw-space-y-reverse: 0;
      margin-block-start: calc(calc(var(--spacing) * 2) * var(--tw-space-y-reverse));
      margin-block-end: calc(calc(var(--spacing) * 2) * calc(1 - var(--tw-space-y-reverse)));
    }
  }
  .mobile-menu-links > a {
    display: block;
    border-radius: var(--radius-2xl);
    padding-inline: calc(var(--spacing) * 4);
    padding-block: calc(var(--spacing) * 3);
    font-size: var(--text-sm);
    line-height: var(--tw-leading, var(--text-sm--line-height));
    --tw-font-weight: var(--font-weight-bold);
    font-weight: var(--font-weight-bold);
    color: var(--color-primary);
    transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to, opacity, box-shadow, transform, translate, scale, rotate, filter, -webkit-backdrop-filter, backdrop-filter, display, content-visibility, overlay, pointer-events;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
  }
  .mobile-menu-links > a:hover {
    background: #f8fafc;
  }
  .mobile-menu-actions {
    margin-top: calc(var(--spacing) * 6);
    display: flex;
    flex-direction: column;
    gap: calc(var(--spacing) * 3);
    border-top-style: var(--tw-border-style);
    border-top-width: 1px;
    padding-top: calc(var(--spacing) * 5);
    border-color: rgba(15, 23, 42, 0.08);
  }
  .mobile-dropdown {
    overflow: hidden;
    border-radius: 1rem;
  }
  .mobile-dropdown-toggle {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: calc(var(--spacing) * 4);
    border-radius: var(--radius-xl);
    padding-inline: calc(var(--spacing) * 4);
    padding-block: calc(var(--spacing) * 3);
    font-size: var(--text-sm);
    line-height: var(--tw-leading, var(--text-sm--line-height));
    --tw-font-weight: var(--font-weight-bold);
    font-weight: var(--font-weight-bold);
    color: var(--color-primary);
    transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to, opacity, box-shadow, transform, translate, scale, rotate, filter, -webkit-backdrop-filter, backdrop-filter, display, content-visibility, overlay, pointer-events;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
  }
  .mobile-dropdown-toggle:hover {
    background: #f8fafc;
  }
  .mobile-dropdown-toggle svg {
    transition: transform 0.25s ease;
  }
  .mobile-dropdown.active .mobile-dropdown-toggle svg {
    transform: rotate(180deg);
  }
  .mobile-dropdown-menu {
    display: none;
    padding: 0.25rem 0.75rem 0.75rem;
  }
  .mobile-dropdown.active .mobile-dropdown-menu {
    display: grid;
    gap: 0.35rem;
  }
  .mobile-dropdown-menu a {
    display: block;
    border-radius: var(--radius-lg);
    padding-inline: calc(var(--spacing) * 3);
    padding-block: calc(var(--spacing) * 2);
    font-size: 0.85rem;
    --tw-font-weight: var(--font-weight-semibold);
    font-weight: var(--font-weight-semibold);
    color: var(--color-text-soft);
    transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to, opacity, box-shadow, transform, translate, scale, rotate, filter, -webkit-backdrop-filter, backdrop-filter, display, content-visibility, overlay, pointer-events;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
  }
  .mobile-dropdown-menu a:hover {
    background: #f1f5f9;
    color: var(--color-primary);
  }
  .topbar-inner {
    display: flex;
    min-height: calc(var(--spacing) * 10);
    flex-direction: column;
    justify-content: center;
    gap: calc(var(--spacing) * 2);
    padding-block: calc(var(--spacing) * 2);
    text-align: center;
    @media (width >= 40rem) {
      min-height: calc(var(--spacing) * 12);
    }
    @media (width >= 40rem) {
      flex-direction: row;
    }
    @media (width >= 40rem) {
      align-items: center;
    }
    @media (width >= 40rem) {
      justify-content: space-between;
    }
    @media (width >= 40rem) {
      text-align: right;
    }
  }
  .phone-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: calc(var(--spacing) * 1);
    @media (width >= 40rem) {
      justify-content: flex-start;
    }
  }
  @media (max-width: 1023px) {
    .nav-left a[aria-label="جستجو"] {
      display: none;
    }
    .mobile-menu {
      position: fixed;
      inset: 0;
      z-index: 999;
      display: none;
      background: rgba(15, 23, 42, 0.32);
      backdrop-filter: blur(4px);
      -webkit-backdrop-filter: blur(4px);
    }
    .mobile-menu.active {
      display: block;
    }
    .mobile-menu-panel {
      position: fixed;
      top: 0;
      right: 0;
      bottom: 0;
      width: min(88vw, 360px);
      max-width: 360px;
      height: 100dvh;
      max-height: 100dvh;
      background: #ffffff;
      border-radius: 0;
      padding: 20px 16px 24px;
      overflow-y: auto;
      overscroll-behavior: contain;
      box-shadow: -18px 0 48px rgba(15, 23, 42, 0.18);
      border-left: 1px solid rgba(15, 23, 42, 0.06);
      scrollbar-width: none;
      -ms-overflow-style: none;
    }
    .mobile-menu-panel::-webkit-scrollbar {
      display: none;
    }
    .mobile-menu-head {
      position: sticky;
      top: 0;
      z-index: 2;
      background: #ffffff;
      padding-bottom: 14px;
      margin-bottom: 12px;
      border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    }
    .mobile-menu-brand {
      font-size: 1.05rem;
      font-weight: 900;
      color: #0f172a;
    }
    .mobile-menu-close {
      width: 42px;
      height: 42px;
      border-radius: 999px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      background: #f3f4f6;
      color: #0f172a;
      transition: all 0.25s ease;
      flex-shrink: 0;
    }
    .mobile-menu-close:hover {
      background: #111827;
      color: #fff;
    }
    .mobile-menu-links {
      margin-top: 4px;
      display: flex;
      flex-direction: column;
      gap: 6px;
    }
    .mobile-menu-links > a, .mobile-dropdown-toggle {
      min-height: 48px;
      border-radius: 14px;
      padding: 12px 14px;
      font-size: 0.95rem;
      font-weight: 700;
      color: #0f172a;
      transition: all 0.2s ease;
    }
    .mobile-menu-links > a:hover, .mobile-dropdown-toggle:hover {
      background: #f8fafc;
    }
    .mobile-dropdown {
      border-radius: 16px;
      overflow: hidden;
    }
    .mobile-dropdown.active {
      background: #fafafa;
    }
    .mobile-dropdown-menu {
      padding: 4px 8px 10px;
    }
    .mobile-dropdown-menu a {
      display: block;
      border-radius: 12px;
      padding: 10px 12px;
      font-size: 0.88rem;
      font-weight: 600;
      color: #475569;
      transition: all 0.2s ease;
    }
    .mobile-dropdown-menu a:hover {
      background: #f1f5f9;
      color: #0f172a;
    }
    .mobile-menu-actions {
      margin-top: 16px;
      padding-top: 16px;
      border-top: 1px solid rgba(15, 23, 42, 0.08);
      display: grid;
      gap: 10px;
    }
    .mobile-menu-actions .btn, .mobile-menu-actions a, .mobile-menu-actions button {
      min-height: 48px;
      border-radius: 999px;
      font-size: 0.95rem;
      font-weight: 800;
    }
    .bottom-nav {
      z-index: 60;
    }
    body {
      padding-bottom: 70px;
    }
  }
  @media (max-width: 639px) {
    .navbar {
      backdrop-filter: blur(10px);
    }
    .navbar-3col {
      min-height: 4rem;
    }
    .nav-left {
      gap: 0.5rem;
    }
    .nav-brand-title {
      font-size: 1rem;
    }
    .mobile-menu-panel {
      width: min(92vw, 340px);
      max-width: 340px;
      padding: 18px 14px 22px;
    }
  }
  @media (max-width: 420px) {
    .nav-brand-wrap {
      gap: 0.625rem;
    }
    .nav-brand-logo {
      width: 2.25rem;
      height: 2.25rem;
      font-size: 0.7rem;
    }
    .nav-brand-title {
      font-size: 0.95rem;
    }
    .nav-circle-btn, .icon-btn {
      width: 2.5rem;
      height: 2.5rem;
    }
    .mobile-menu-panel {
      width: 88vw;
      max-width: 88vw;
      padding: 16px 12px 20px;
    }
  }
  .bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    display: flex;
    align-items: center;
    background: #ffffff;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(10px);
    z-index: 60;
  }
  .bottom-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
    transition: color 0.2s ease;
  }
  .bottom-nav-item svg {
    width: 24px;
    height: 24px;
    display: block;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    overflow: visible;
  }
  .bottom-nav-item:hover, .bottom-nav-item.active {
    color: var(--color-primary);
  }
  @media (min-width: 1024px) {
    .bottom-nav {
      display: none;
    }
  }
}
@layer components {
  .btn, .btn-primary, .btn-accent, .btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: calc(var(--spacing) * 2);
    border-radius: var(--radius-btn);
    padding-inline: calc(var(--spacing) * 5);
    padding-block: calc(var(--spacing) * 3);
    text-align: center;
    font-size: var(--text-sm);
    line-height: var(--tw-leading, var(--text-sm--line-height));
    --tw-font-weight: var(--font-weight-semibold);
    font-weight: var(--font-weight-semibold);
    transition-property: all;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
    --tw-duration: 300ms;
    transition-duration: 300ms;
    position: relative;
    border: none;
    cursor: pointer;
    user-select: none;
    text-decoration: none;
    white-space: nowrap;
  }
  .btn:disabled, .btn-primary:disabled, .btn-accent:disabled, .btn-outline:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
  }
  .btn:focus-visible, .btn-primary:focus-visible, .btn-accent:focus-visible, .btn-outline:focus-visible, .btn-soft:focus-visible, .btn-link:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
  }
  .btn-primary {
    color: var(--color-white);
    background-color: var(--color-primary);
  }
  .btn-primary:hover {
    background-color: var(--color-primary-soft);
    transform: translateY(-1px);
  }
  .btn-accent {
    color: var(--color-white);
    background-color: var(--color-accent);
    box-shadow: 0 10px 24px rgba(245, 158, 11, 0.22);
  }
  .btn-accent:hover {
    background-color: var(--color-accent-dark);
    transform: translateY(-1px);
  }
  .btn-outline {
    border-style: var(--tw-border-style);
    border-width: 1px;
    border-color: var(--color-line);
    background-color: var(--color-white);
    color: var(--color-primary);
  }
  .btn-outline:hover {
    border-color: var(--color-primary);
    background-color: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-1px);
  }
  .btn-soft {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.85rem;
    padding: 0.75rem 1.25rem;
    border: none;
    border-radius: var(--radius-btn);
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-weight: 900;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
  }
  .btn-soft:hover {
    background: rgba(255, 255, 255, 0.16);
    color: var(--color-accent);
    transform: translateY(-2px);
  }
  .btn-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: none;
    background: transparent;
    color: var(--color-primary);
    font-size: 0.92rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: color 0.2s ease, opacity 0.2s ease;
  }
  .btn-link:hover {
    color: var(--color-primary-soft);
    text-decoration: underline;
  }
  .btn-block {
    width: 100%;
  }
  .btn-sm {
    min-height: 2.35rem;
    padding: 0.55rem 0.9rem;
    font-size: 0.82rem;
  }
  .btn-lg {
    min-height: 3.1rem;
    padding: 0.9rem 1.35rem;
    font-size: 0.96rem;
  }
  .is-loading {
    pointer-events: none;
  }
  .mt-1 {
    margin-top: 0.25rem;
  }
  .mt-2 {
    margin-top: 0.5rem;
  }
  .mt-3 {
    margin-top: 0.75rem;
  }
  .mt-4 {
    margin-top: 1rem;
  }
  .mb-1 {
    margin-bottom: 0.25rem;
  }
  .mb-2 {
    margin-bottom: 0.5rem;
  }
  .mb-3 {
    margin-bottom: 0.75rem;
  }
  .mb-4 {
    margin-bottom: 1rem;
  }
  .badge {
    display: inline-flex;
    align-items: center;
    border-radius: calc(infinity * 1px);
    background-color: var(--color-primary);
    padding-inline: calc(var(--spacing) * 3);
    padding-block: calc(var(--spacing) * 1);
    font-size: var(--text-xs);
    line-height: var(--tw-leading, var(--text-xs--line-height));
    --tw-font-weight: var(--font-weight-medium);
    font-weight: var(--font-weight-medium);
    color: var(--color-white);
  }
  .badge-accent {
    display: inline-flex;
    align-items: center;
    border-radius: calc(infinity * 1px);
    padding-inline: calc(var(--spacing) * 3);
    padding-block: calc(var(--spacing) * 1);
    font-size: var(--text-xs);
    line-height: var(--tw-leading, var(--text-xs--line-height));
    --tw-font-weight: var(--font-weight-medium);
    font-weight: var(--font-weight-medium);
    color: var(--color-white);
    background-color: var(--color-accent);
  }
  .badge-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--color-line, #e5e7eb);
    border-radius: 999px;
    padding: 0.28rem 0.7rem;
    background: #ffffff;
    color: var(--color-text-soft);
    font-size: 0.76rem;
    font-weight: 700;
  }
  .category-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-bottom: 1.35rem;
  }
  .category-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.65rem;
    padding: 0.65rem 1.1rem;
    border: none;
    border-radius: var(--radius-btn);
    background: #ffffff;
    color: var(--color-text-soft);
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05);
    font-size: 0.88rem;
    font-weight: 900;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  }
  .category-chip:hover {
    transform: translateY(-2px);
    color: var(--color-primary);
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.09);
  }
  .category-chip.active {
    background: var(--color-primary);
    color: #ffffff;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.18);
  }
  .products-pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    margin-top: 2.5rem;
  }
  .pagination-btn {
    min-width: 2.65rem;
    min-height: 2.65rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 0.9rem;
    border: none;
    border-radius: var(--radius-btn);
    background: #ffffff;
    color: var(--color-text-soft);
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
    font-size: 0.9rem;
    font-weight: 950;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  }
  .pagination-btn:hover {
    transform: translateY(-2px);
    color: var(--color-primary);
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.1);
  }
  .pagination-btn.active {
    background: var(--color-primary);
    color: #ffffff;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.18);
  }
  .pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
  }
  .pagination-dots {
    color: var(--color-text-soft);
    font-weight: 950;
  }
  .modal, .modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity 0.25s ease, visibility 0.25s ease, background 0.25s ease;
  }
  .modal-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
  .modal-bg-none {
    background: transparent;
  }
  .modal-bg-solid {
    background: rgba(15, 23, 42, 0.6);
  }
  .modal-bg-blur {
    background: rgba(15, 23, 42, 0.28);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }
  .modal-dialog, .modal-window {
    position: relative;
    width: 100%;
    max-width: 450px;
    max-height: calc(100vh - 48px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.22), 0 8px 24px rgba(15, 23, 42, 0.12);
    transform: translateY(0) scale(1);
    transition: transform 0.25s ease, opacity 0.25s ease;
  }
  .modal-hidden .modal-dialog, .modal-hidden .modal-window {
    transform: translateY(10px) scale(0.98);
  }
  .modal-sm .modal-dialog, .modal-sm .modal-window {
    max-width: 420px;
  }
  .modal-lg .modal-dialog, .modal-lg .modal-window {
    max-width: 720px;
  }
  .modal-xl .modal-dialog, .modal-xl .modal-window {
    max-width: 980px;
  }
  .modal-header {
    position: relative;
    padding: 22px 28px 0;
  }
  .modal-title {
    margin: 0;
    color: #111827;
    font-size: 1.12rem;
    font-weight: 800;
    line-height: 1.5;
  }
  .modal-subtitle {
    margin: 6px 0 0;
    color: #6b7280;
    font-size: 0.88rem;
    line-height: 1.8;
  }
  .modal-body {
    flex: 1 1 auto;
    overflow-y: auto;
    padding: 28px;
    -webkit-overflow-scrolling: touch;
  }
  .modal-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: flex-end;
    padding: 0 28px 24px;
  }
  .modal-close {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 3;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 999px;
    background: #f1f5f9;
    color: #334155;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
  }
  .modal-close:hover {
    background: #e2e8f0;
    color: #0f172a;
    transform: scale(1.04);
  }
  .modal-close:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
  }
  body.modal-open {
    overflow: hidden;
    touch-action: none;
  }
  @media (max-width: 640px) {
    .modal, .modal-overlay {
      padding: 12px;
      align-items: center;
      justify-content: center;
    }
    .modal-dialog, .modal-window {
      max-width: 100%;
      max-height: calc(100vh - 24px);
      border-radius: 16px;
    }
    .modal-header {
      padding: 18px 18px 0;
    }
    .modal-body {
      padding: 22px 18px 18px;
    }
    .modal-footer {
      padding: 0 18px 18px;
    }
    .modal-close {
      top: 10px;
      left: 10px;
      width: 34px;
      height: 34px;
    }
  }
  .login-modal, .auth-modal {
    direction: rtl;
    text-align: right;
  }
  .auth-modal {
    width: 100%;
  }
  .auth-modal__header, .login-modal-header {
    margin-bottom: 20px;
    padding-left: 36px;
  }
  .auth-modal__title, .login-modal-title {
    margin: 0 0 8px;
    color: #111827;
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1.5;
  }
  .auth-modal__subtitle, .login-modal-subtitle {
    margin: 0;
    color: #6b7280;
    font-size: 0.92rem;
    line-height: 1.9;
  }
  .auth-form, .login-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }
  .form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  .form-label {
    color: #374151;
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.6;
  }
  .form-control {
    width: 100%;
    min-height: 46px;
    padding: 0 14px;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    background: #ffffff;
    color: #111827;
    font-size: 0.92rem;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  }
  .form-control::placeholder {
    color: #9ca3af;
  }
  .form-control:hover {
    border-color: #9ca3af;
  }
  .form-control:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
  }
  .form-control:disabled {
    background: #f9fafb;
    color: #9ca3af;
    cursor: not-allowed;
  }
  .form-control.is-invalid {
    border-color: #dc2626;
  }
  .form-control.is-invalid:focus {
    border-color: #dc2626;
    box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.12);
  }
  .form-hint {
    color: #6b7280;
    font-size: 0.78rem;
    line-height: 1.7;
  }
  .form-error {
    min-height: 18px;
    color: #dc2626;
    font-size: 0.78rem;
    line-height: 1.5;
  }
  .login-submit-btn, .auth-submit-btn {
    width: 100%;
    min-height: 46px;
    border-radius: 12px;
  }
  .auth-alt-btn {
    width: 100%;
    min-height: 46px;
    border-radius: 12px;
  }
  .login-modal-footer {
    margin-top: 14px;
    color: #6b7280;
    font-size: 0.78rem;
    line-height: 1.9;
    text-align: center;
  }
  .login-back-btn {
    padding: 0;
    border: none;
    background: transparent;
    color: var(--color-primary);
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    align-self: flex-start;
  }
  .login-back-btn:hover {
    color: var(--color-primary-soft);
    text-decoration: underline;
  }
  .auth-modal strong {
    color: #111827;
    font-weight: 800;
  }
  .auth-divider {
    position: relative;
    margin: 0.25rem 0;
    text-align: center;
  }
  .auth-divider::before {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    left: 0;
    height: 1px;
    background: #e5e7eb;
    transform: translateY(-50%);
  }
  .auth-divider span {
    position: relative;
    display: inline-block;
    padding: 0 12px;
    background: #ffffff;
    color: #6b7280;
    font-size: 0.78rem;
    font-weight: 700;
  }
  @media (max-width: 640px) {
    .auth-modal__header, .login-modal-header {
      margin-bottom: 18px;
      padding-left: 28px;
    }
    .auth-modal__title, .login-modal-title {
      font-size: 1.08rem;
    }
    .auth-modal__subtitle, .login-modal-subtitle {
      font-size: 0.86rem;
      line-height: 1.8;
    }
    .form-row {
      grid-template-columns: 1fr;
    }
    .form-control {
      min-height: 44px;
      font-size: 0.88rem;
    }
    .login-submit-btn, .auth-submit-btn, .auth-alt-btn {
      min-height: 44px;
    }
  }
  .otp-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    direction: ltr;
    margin-top: 8px;
  }
  .otp-input {
    width: 52px;
    height: 56px;
    border: 1px solid var(--border-color, #dcdfe4);
    border-radius: 12px;
    background: #fff;
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    color: var(--text-color, #111827);
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease, background 0.2s ease;
  }
  .otp-input:hover {
    border-color: var(--primary-color, #2563eb);
  }
  .otp-input:focus {
    border-color: var(--primary-color, #2563eb);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
  }
  .otp-input.is-invalid {
    border-color: #dc2626;
    box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.1);
  }
  @media (max-width: 480px) {
    .otp-group {
      gap: 8px;
    }
    .otp-input {
      width: 46px;
      height: 50px;
      font-size: 18px;
      border-radius: 10px;
    }
  }
  .toast-container {
    position: fixed;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    pointer-events: none;
  }
  @media (min-width: 768px) {
    .toast-container {
      right: 1.25rem;
      bottom: 1.25rem;
      width: 340px;
      align-items: flex-end;
    }
  }
  @media (max-width: 767px) {
    .toast-container {
      top: 1rem;
      left: 50%;
      transform: translateX(-50%);
      width: calc(100% - 2rem);
      max-width: 360px;
      align-items: center;
    }
  }
  .toast {
    position: relative;
    width: 100%;
    min-height: 72px;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.9rem 1rem;
    border-radius: var(--radius-btn);
    background: #ffffff;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.12);
    pointer-events: auto;
    overflow: hidden;
    animation: toast-in 0.25s ease;
  }
  .toast.removing {
    animation: toast-out 0.25s ease forwards;
  }
  .toast-icon {
    flex: 0 0 auto;
    font-size: 1rem;
    font-weight: 900;
    margin-top: 2px;
  }
  .toast-content {
    flex: 1;
    min-width: 0;
  }
  .toast-title {
    font-size: 0.88rem;
    font-weight: 900;
    color: #111827;
    line-height: 1.5;
  }
  .toast-message {
    margin-top: 0.2rem;
    font-size: 0.8rem;
    color: var(--color-text-soft);
    line-height: 1.6;
  }
  .toast-close {
    flex: 0 0 auto;
    border: none;
    background: transparent;
    font-size: 1rem;
    line-height: 1;
    cursor: pointer;
    color: var(--color-text-soft);
    transition: color 0.2s ease, opacity 0.2s ease;
  }
  .toast-close:hover {
    color: #111827;
  }
  .toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 100%;
    background: currentColor;
    opacity: 0.18;
    transform-origin: left;
  }
  .toast-success {
    border-left: 4px solid #22c55e;
    color: #16a34a;
  }
  .toast-error {
    border-left: 4px solid #ef4444;
    color: #dc2626;
  }
  .toast-warning {
    border-left: 4px solid #f59e0b;
    color: #d97706;
  }
  .toast-info {
    border-left: 4px solid #3b82f6;
    color: #2563eb;
  }
  @keyframes toast-in {
    from {
      opacity: 0;
      transform: translateY(12px) scale(0.96);
    }
    to {
      opacity: 1;
      transform: translateY(0) scale(1);
    }
  }
  @keyframes toast-out {
    from {
      opacity: 1;
      transform: translateY(0);
    }
    to {
      opacity: 0;
      transform: translateY(8px);
    }
  }
}
@layer components {
  .input {
    height: calc(var(--spacing) * 12);
    width: 100%;
    border-radius: var(--radius-input);
    border-style: var(--tw-border-style);
    border-width: 1px;
    border-color: var(--color-line);
    background-color: var(--color-white);
    padding-inline: calc(var(--spacing) * 4);
    font-size: var(--text-sm);
    line-height: var(--tw-leading, var(--text-sm--line-height));
    color: var(--color-primary);
    transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to, opacity, box-shadow, transform, translate, scale, rotate, filter, -webkit-backdrop-filter, backdrop-filter, display, content-visibility, overlay, pointer-events;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
    --tw-outline-style: none;
    outline-style: none;
    &::placeholder {
      color: var(--color-text-soft);
    }
    &:focus {
      border-color: var(--color-primary);
    }
  }
  .select {
    height: calc(var(--spacing) * 12);
    width: 100%;
    border-radius: var(--radius-input);
    border-style: var(--tw-border-style);
    border-width: 1px;
    border-color: var(--color-line);
    background-color: var(--color-white);
    padding-inline: calc(var(--spacing) * 4);
    font-size: var(--text-sm);
    line-height: var(--tw-leading, var(--text-sm--line-height));
    color: var(--color-primary);
    transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to, opacity, box-shadow, transform, translate, scale, rotate, filter, -webkit-backdrop-filter, backdrop-filter, display, content-visibility, overlay, pointer-events;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
    --tw-outline-style: none;
    outline-style: none;
    &:focus {
      border-color: var(--color-primary);
    }
  }
  .textarea {
    min-height: calc(var(--spacing) * 32);
    width: 100%;
    border-radius: var(--radius-input);
    border-style: var(--tw-border-style);
    border-width: 1px;
    border-color: var(--color-line);
    background-color: var(--color-white);
    padding-inline: calc(var(--spacing) * 4);
    padding-block: calc(var(--spacing) * 3);
    font-size: var(--text-sm);
    line-height: var(--tw-leading, var(--text-sm--line-height));
    color: var(--color-primary);
    transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to, opacity, box-shadow, transform, translate, scale, rotate, filter, -webkit-backdrop-filter, backdrop-filter, display, content-visibility, overlay, pointer-events;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
    --tw-outline-style: none;
    outline-style: none;
    &::placeholder {
      color: var(--color-text-soft);
    }
    &:focus {
      border-color: var(--color-primary);
    }
  }
  .filter-card {
    border-radius: var(--radius-card);
    border-style: var(--tw-border-style);
    border-width: 1px;
    border-color: var(--color-line);
    background-color: var(--color-white);
    padding: calc(var(--spacing) * 5);
    box-shadow: var(--shadow-card);
  }
  .filter-title {
    margin-bottom: calc(var(--spacing) * 4);
    font-size: var(--text-base);
    line-height: var(--tw-leading, var(--text-base--line-height));
    --tw-font-weight: var(--font-weight-bold);
    font-weight: var(--font-weight-bold);
    color: var(--color-primary);
  }
  .checkbox-row {
    display: flex;
    align-items: center;
    gap: calc(var(--spacing) * 3);
    font-size: var(--text-sm);
    line-height: var(--tw-leading, var(--text-sm--line-height));
    color: var(--color-text-soft);
  }
  .newsletter-form {
    display: flex;
    width: 100%;
    flex-direction: column;
    gap: calc(var(--spacing) * 3);
    @media (width >= 40rem) {
      flex-direction: row;
    }
  }
  .quantity-box {
    display: inline-flex;
    height: calc(var(--spacing) * 12);
    align-items: center;
    overflow: hidden;
    border-radius: var(--radius-input);
    border-style: var(--tw-border-style);
    border-width: 1px;
    border-color: var(--color-line);
    background-color: var(--color-white);
  }
  .quantity-btn {
    display: inline-flex;
    height: calc(var(--spacing) * 12);
    width: calc(var(--spacing) * 12);
    align-items: center;
    justify-content: center;
    font-size: var(--text-lg);
    line-height: var(--tw-leading, var(--text-lg--line-height));
    --tw-font-weight: var(--font-weight-bold);
    font-weight: var(--font-weight-bold);
    color: var(--color-primary);
    transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to, opacity, box-shadow, transform, translate, scale, rotate, filter, -webkit-backdrop-filter, backdrop-filter, display, content-visibility, overlay, pointer-events;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
    &:hover {
      @media (hover: hover) {
        background-color: var(--color-muted);
      }
    }
  }
  .quantity-input {
    height: calc(var(--spacing) * 12);
    width: calc(var(--spacing) * 14);
    border-inline-style: var(--tw-border-style);
    border-inline-width: 1px;
    border-color: var(--color-line);
    text-align: center;
    --tw-outline-style: none;
    outline-style: none;
  }
  .filters-card {
    background: rgba(255, 255, 255, 0.92);
    border-radius: 1.75rem;
    padding: 1.35rem;
    box-shadow: var(--shadow-card);
    backdrop-filter: blur(14px);
  }
  .filters-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
  }
  .filters-head h2 {
    color: var(--color-primary);
    font-size: 1.15rem;
    font-weight: 950;
  }
  .filters-head p {
    margin-top: 0.25rem;
    color: var(--color-text-soft);
    font-size: 0.82rem;
  }
  .filters-reset {
    background: var(--color-muted);
    color: var(--color-text-soft);
    padding: 0.45rem 0.85rem;
    border-radius: var(--radius-btn);
    font-size: 0.78rem;
    font-weight: 900;
    transition: background 0.2s ease, color 0.2s ease;
  }
  .filters-reset:hover {
    background: rgba(193, 154, 107, 0.14);
    color: var(--color-accent-dark);
  }
  .filter-group {
    margin-bottom: 1.35rem;
  }
  .filter-label {
    display: block;
    margin-bottom: 0.75rem;
    color: var(--color-primary);
    font-size: 0.9rem;
    font-weight: 950;
  }
  .filter-search-wrap {
    position: relative;
  }
  .filter-input, .sort-select {
    width: 100%;
    min-height: 2.9rem;
    background: var(--color-muted);
    color: var(--color-text);
    border-radius: var(--radius-input);
    padding: 0.75rem 1rem;
    outline: none;
    font-weight: 700;
    transition: background 0.2s ease, box-shadow 0.2s ease;
  }
  .filter-search-wrap .filter-input {
    padding-inline-start: 2.75rem;
  }
  .filter-input::placeholder {
    color: #94a3b8;
    font-weight: 600;
  }
  .filter-input:focus, .sort-select:focus {
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(193, 154, 107, 0.16);
  }
  .filter-search-icon {
    position: absolute;
    inset-inline-start: 0.95rem;
    top: 50%;
    width: 1.15rem;
    height: 1.15rem;
    transform: translateY(-50%);
    color: var(--color-text-soft);
    pointer-events: none;
  }
  .filter-options {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    max-height: 200px;
    overflow-y: auto;
  }
  .filter-check {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    cursor: pointer;
    user-select: none;
    color: var(--color-text-soft);
    font-size: 0.92rem;
    font-weight: 800;
  }
  .filter-check input {
    width: 1.1rem;
    height: 1.1rem;
    accent-color: var(--color-accent);
  }
  .filter-check-highlight {
    background: var(--color-muted);
    padding: 0.8rem 0.9rem;
    border-radius: 1rem;
  }
  .price-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }
  .filters-submit {
    width: 100%;
    margin-top: 0.25rem;
  }
  .color-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
  }
  .color-option {
    position: relative;
    width: 2.05rem;
    height: 2.05rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    cursor: pointer;
    box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.82), 0 8px 20px rgba(15, 23, 42, 0.12);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }
  .color-option:hover {
    transform: translateY(-2px);
    box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.9), 0 12px 26px rgba(15, 23, 42, 0.18);
  }
  .color-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
  }
  .color-black {
    background: #111827;
  }
  .color-white {
    background: #ffffff;
  }
  .color-cream {
    background: #d6c4a8;
  }
  .color-rose {
    background: #f4a7b9;
  }
  .color-blue {
    background: #93c5fd;
  }
  @media (max-width: 640px) {
    .price-fields {
      grid-template-columns: 1fr;
    }
  }
  .products-sidebar-collapsible {
    position: relative;
  }
  .filters-shell {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }
  .filters-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 1.5rem;
    padding: 0.9rem 1rem;
    box-shadow: var(--shadow-card);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }
  .filters-toggle:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.12);
  }
  .filters-toggle-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
  }
  .filters-toggle-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 0.9rem;
    background: var(--color-muted);
    color: var(--color-primary);
  }
  .filters-toggle-text {
    display: flex;
    flex-direction: column;
  }
  .filters-toggle-text strong {
    font-size: 0.95rem;
    font-weight: 950;
    color: var(--color-primary);
  }
  .filters-toggle-text small {
    font-size: 0.75rem;
    color: var(--color-text-soft);
    font-weight: 700;
  }
  .filters-toggle-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    background: var(--color-muted);
    color: var(--color-primary);
    transition: transform 0.35s ease;
  }
  .filters-toggle[aria-expanded="true"] .filters-toggle-arrow {
    transform: rotate(180deg);
  }
  .filters-panel {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transform: translateY(-4px);
    transition: max-height 0.28s ease, opacity 0.18s ease, transform 0.22s ease;
  }
  .filters-panel.is-open {
    max-height: 2000px;
    opacity: 1;
    transform: translateY(0);
  }
  .filters-panel .filters-card {
    margin-top: 0.4rem;
  }
  @media (max-width: 768px) {
    .filters-panel.is-open {
      max-height: 2000px;
      overflow: visible;
      overflow-x: visible;
      overflow-y: visible;
    }
  }
}
@layer components {
  .product-card {
    overflow: hidden;
    border-radius: var(--radius-card);
    border-style: var(--tw-border-style);
    border-width: 1px;
    border-color: var(--color-line);
    background-color: var(--color-white);
    transition-property: all;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
    --tw-duration: 300ms;
    transition-duration: 300ms;
    &:hover {
      @media (hover: hover) {
        --tw-translate-y: calc(var(--spacing) * -1);
        translate: var(--tw-translate-x) var(--tw-translate-y);
      }
    }
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    height: 100%;
  }
  .product-card:hover {
    box-shadow: var(--shadow-hover);
  }
  .product-image-wrap {
    position: relative;
    display: block;
    overflow: hidden;
    background-color: var(--color-muted);
    flex-shrink: 0;
    width: 100%;
    aspect-ratio: 4 / 5;
    border-radius: 1rem;
  }
  .product-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
  }
  .product-card:hover .product-image {
    transform: scale(1.04);
  }
  .product-badge {
    position: absolute;
    top: calc(var(--spacing) * 3);
    right: calc(var(--spacing) * 3);
    display: inline-flex;
    align-items: center;
    border-radius: calc(infinity * 1px);
    padding-inline: calc(var(--spacing) * 3);
    padding-block: calc(var(--spacing) * 1);
    font-size: var(--text-xs);
    line-height: var(--tw-leading, var(--text-xs--line-height));
    --tw-font-weight: var(--font-weight-semibold);
    font-weight: var(--font-weight-semibold);
    color: var(--color-white);
    background-color: var(--color-accent);
    z-index: 2;
  }
  .product-content {
    padding: calc(var(--spacing) * 4);
    display: flex;
    flex-direction: column;
    flex: 1;
    height: 100%;
  }
  .product-category {
    font-size: var(--text-xs);
    line-height: var(--tw-leading, var(--text-xs--line-height));
    --tw-font-weight: var(--font-weight-medium);
    font-weight: var(--font-weight-medium);
    color: var(--color-text-soft);
  }
  .product-title {
    margin-top: calc(var(--spacing) * 2);
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    font-size: var(--text-base);
    line-height: var(--tw-leading, var(--text-base--line-height));
    --tw-font-weight: var(--font-weight-bold);
    font-weight: var(--font-weight-bold);
    color: var(--color-primary);
    line-height: 1.9;
    min-height: 56px;
  }
  .product-title a {
    transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to, opacity, box-shadow, transform, translate, scale, rotate, filter, -webkit-backdrop-filter, backdrop-filter, display, content-visibility, overlay, pointer-events;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
    &:hover {
      @media (hover: hover) {
        color: var(--color-accent);
      }
    }
  }
  .product-description {
    margin-top: calc(var(--spacing) * 2);
    font-size: var(--text-sm);
    line-height: var(--tw-leading, var(--text-sm--line-height));
    color: var(--color-text-soft);
    line-height: 1.9;
    min-height: 56px;
  }
  .product-price-row {
    margin-top: calc(var(--spacing) * 4);
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: calc(var(--spacing) * 3);
    min-height: 52px;
  }
  .product-price {
    font-size: var(--text-lg);
    line-height: var(--tw-leading, var(--text-lg--line-height));
    --tw-font-weight: var(--font-weight-extrabold);
    font-weight: var(--font-weight-extrabold);
    color: var(--color-primary);
  }
  .product-old-price {
    font-size: var(--text-sm);
    line-height: var(--tw-leading, var(--text-sm--line-height));
    color: var(--color-text-soft);
    text-decoration-line: line-through;
  }
  .product-actions {
    display: flex;
    gap: calc(var(--spacing) * 2);
    margin-top: auto;
    padding-top: 16px;
  }
  .product-actions .btn-primary {
    width: 100%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
  }
  .shop-product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #ffffff;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
  }
  .shop-product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
  }
  .shop-product-media {
    position: relative;
    display: block;
    aspect-ratio: 4 / 4.7;
    background: linear-gradient( 135deg, rgba(241, 245, 249, 0.95), rgba(226, 232, 240, 0.55) );
    overflow: hidden;
    flex-shrink: 0;
  }
  .shop-product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease, filter 0.35s ease;
  }
  .shop-product-card:hover .shop-product-image {
    transform: scale(1.06);
    filter: saturate(1.04);
  }
  .shop-product-badge {
    position: absolute;
    top: 0.85rem;
    right: 0.85rem;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    min-height: 2rem;
    padding: 0.35rem 0.8rem;
    border-radius: var(--radius-btn);
    background: var(--color-accent);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 950;
    box-shadow: 0 10px 24px rgba(166, 124, 82, 0.28);
  }
  .shop-product-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 1rem;
  }
  .shop-product-category {
    width: fit-content;
    margin-bottom: 0.65rem;
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius-btn);
    background: rgba(193, 154, 107, 0.12);
    color: var(--color-accent-dark);
    font-size: 0.75rem;
    font-weight: 950;
  }
  .shop-product-title {
    min-height: 3.2rem;
    color: var(--color-primary);
    font-size: 0.98rem;
    font-weight: 950;
    line-height: 1.8;
  }
  .shop-product-title a {
    color: inherit;
    transition: color 0.2s ease;
  }
  .shop-product-title a:hover {
    color: var(--color-accent-dark);
  }
  .shop-product-price-row {
    margin-top: 0.85rem;
    margin-bottom: 1rem;
  }
  .shop-product-price {
    color: var(--color-primary);
    font-size: 1.05rem;
    font-weight: 950;
  }
  .shop-product-old-price {
    margin-top: 0.25rem;
    color: #94a3b8;
    font-size: 0.82rem;
    font-weight: 800;
    text-decoration: line-through;
  }
  .shop-product-old-price:empty {
    display: none;
  }
  .shop-product-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 2.8rem;
    margin-top: auto;
    border-radius: var(--radius-btn);
    background: var(--color-primary);
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 950;
    transition: background 0.2s ease, transform 0.2s ease;
  }
  .shop-product-link:hover {
    background: var(--color-accent-dark);
    transform: translateY(-2px);
  }
  @media (max-width: 639px) {
    .product-card {
      border-radius: 0.875rem;
    }
    .product-image-wrap {
      aspect-ratio: 4 / 5;
      max-height: 280px;
      border-radius: 0.875rem;
    }
    .product-image {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
    .product-content {
      padding: 0.75rem;
    }
    .product-title {
      font-size: 0.95rem;
      line-height: 1.8;
      min-height: auto;
    }
    .product-description {
      font-size: 0.85rem;
      line-height: 1.8;
      min-height: auto;
    }
    .product-price-row {
      margin-top: 0.75rem;
      min-height: auto;
    }
    .product-price {
      font-size: 1rem;
    }
    .product-actions {
      padding-top: 0.75rem;
    }
  }
}
@layer components {
  :root {
    --bottom-nav-height: calc(72px + env(safe-area-inset-bottom));
    --mobile-header-height: 72px;
    --hero-banner-radius-desktop: 28px;
    --hero-banner-radius-tablet: 22px;
    --hero-banner-radius-mobile: 18px;
    --hero-banner-radius-small-mobile: 16px;
  }
  .hero-slider {
    position: relative;
    width: min(92%, 1440px);
    margin: 24px auto 0;
    border-radius: var(--hero-banner-radius-desktop);
    overflow: hidden;
    background: radial-gradient( circle at top right, rgba(255, 255, 255, 0.18), transparent 28% ), linear-gradient(135deg, #f8fafc 0%, #eef2f7 45%, #e2e8f0 100%);
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.1), 0 6px 18px rgba(15, 23, 42, 0.06);
    user-select: none;
    -webkit-user-select: none;
    isolation: isolate;
  }
  .hero-slider-track {
    position: relative;
    width: 100%;
  }
  .hero-slide {
    position: relative;
    width: 100%;
    display: none;
    opacity: 0;
    overflow: hidden;
    transition: opacity 0.7s ease;
    background: radial-gradient( circle at top right, rgba(255, 255, 255, 0.18), transparent 28% ), linear-gradient(135deg, #f8fafc 0%, #eef2f7 45%, #e2e8f0 100%);
  }
  .hero-slide.active {
    display: block;
    opacity: 1;
  }
  .hero-slide-bg {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center center;
    background: transparent;
    -webkit-user-drag: none;
    user-select: none;
    pointer-events: none;
  }
  .hero-slide-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient( 180deg, rgba(15, 23, 42, 0.05) 0%, rgba(15, 23, 42, 0.1) 55%, rgba(15, 23, 42, 0.16) 100% );
  }
  .hero-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.28);
    color: #0f172a;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.1);
  }
  .hero-slider-btn:hover {
    background: rgba(255, 255, 255, 0.42);
    border-color: rgba(255, 255, 255, 0.55);
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.14);
  }
  .hero-slider-btn:active {
    transform: translateY(-50%) scale(0.96);
  }
  .hero-slider-prev {
    right: 16px;
  }
  .hero-slider-next {
    left: 16px;
  }
  .hero-slider-dots {
    position: absolute;
    left: 50%;
    bottom: 16px;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border-radius: 9999px;
    background: rgba(15, 23, 42, 0.16);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }
  .hero-dot {
    width: 9px;
    height: 9px;
    border: none;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.55);
    cursor: pointer;
    transition: width 0.25s ease, background 0.25s ease, transform 0.25s ease;
  }
  .hero-dot:hover {
    transform: scale(1.08);
  }
  .hero-dot.active {
    width: 24px;
    background: #ffffff;
  }
  .hero {
    position: relative;
    overflow: hidden;
    width: 100%;
  }
  .hero-grid {
    display: grid;
    gap: calc(var(--spacing) * 6);
    padding-inline: calc(var(--spacing) * 4);
    padding-block: calc(var(--spacing) * 10);
    @media (width >= 64rem) {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    @media (width >= 64rem) {
      gap: calc(var(--spacing) * 10);
    }
    @media (width >= 64rem) {
      padding-inline: calc(var(--spacing) * 0);
    }
    @media (width >= 64rem) {
      padding-block: calc(var(--spacing) * 16);
    }
  }
  .hero-copy {
    max-width: var(--container-2xl);
  }
  .hero-extra {
    max-width: var(--container-2xl);
  }
  .hero-title {
    font-size: var(--text-3xl);
    line-height: var(--tw-leading, var(--text-3xl--line-height));
    --tw-leading: var(--leading-tight);
    line-height: var(--leading-tight);
    --tw-font-weight: var(--font-weight-extrabold);
    font-weight: var(--font-weight-extrabold);
    color: var(--color-primary);
    @media (width >= 48rem) {
      font-size: var(--text-5xl);
      line-height: var(--tw-leading, var(--text-5xl--line-height));
    }
  }
  .hero-text {
    margin-top: calc(var(--spacing) * 5);
    font-size: var(--text-base);
    line-height: var(--tw-leading, var(--text-base--line-height));
    --tw-leading: calc(var(--spacing) * 8);
    line-height: calc(var(--spacing) * 8);
    color: var(--color-text-soft);
    @media (width >= 48rem) {
      font-size: var(--text-lg);
      line-height: var(--tw-leading, var(--text-lg--line-height));
    }
  }
  .hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: calc(var(--spacing) * 3);
  }
  .hero-card {
    position: relative;
    overflow: hidden;
    border-radius: 1.5rem;
    border-style: var(--tw-border-style);
    border-width: 1px;
    border-color: color-mix(in srgb, #fff 60%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in oklab, var(--color-white) 60%, transparent);
    }
    background-color: var(--color-white);
    padding: calc(var(--spacing) * 4);
    @media (width >= 48rem) {
      padding: calc(var(--spacing) * 6);
    }
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.12);
  }
  .hero-image {
    aspect-ratio: 4/5;
    width: 100%;
    border-radius: 1.25rem;
    object-fit: cover;
  }
  .stats {
    margin-top: calc(var(--spacing) * 8);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: calc(var(--spacing) * 4);
    @media (width >= 48rem) {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }
  }
  .stat-box {
    border-radius: var(--radius-2xl);
    border-style: var(--tw-border-style);
    border-width: 1px;
    border-color: var(--color-line);
    background-color: var(--color-white);
    padding: calc(var(--spacing) * 4);
    text-align: center;
    box-shadow: var(--shadow-card);
  }
  .stat-value {
    font-size: var(--text-xl);
    line-height: var(--tw-leading, var(--text-xl--line-height));
    --tw-font-weight: var(--font-weight-extrabold);
    font-weight: var(--font-weight-extrabold);
    color: var(--color-primary);
    @media (width >= 48rem) {
      font-size: var(--text-2xl);
      line-height: var(--tw-leading, var(--text-2xl--line-height));
    }
  }
  .stat-label {
    margin-top: calc(var(--spacing) * 1);
    font-size: var(--text-sm);
    line-height: var(--tw-leading, var(--text-sm--line-height));
    color: var(--color-text-soft);
  }
  @media (min-width: 1024px) {
    .hero-grid {
      align-items: center;
    }
    .hero-copy {
      grid-column: 1;
      grid-row: 1;
    }
    .hero-extra {
      grid-column: 1;
      grid-row: 2;
      margin-top: 2rem;
    }
    .hero-categories {
      grid-column: 2;
      grid-row: 1 / span 2;
    }
  }
  @media (max-width: 1023px) {
    .hero-copy {
      order: 1;
    }
    .hero-categories {
      order: 2;
    }
    .hero-extra {
      order: 3;
      margin-top: 0.5rem;
    }
    .hero-actions {
      margin-top: calc(var(--spacing) * 6);
    }
  }
  .hero-categories {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    width: 100%;
    max-width: 760px;
    margin-inline: auto;
    padding: 2px;
  }
  @media (min-width: 1024px) {
    .hero-categories {
      grid-template-columns: repeat(4, minmax(0, 1fr));
      max-width: 720px;
      gap: 14px;
    }
  }
  .hero-cat-card {
    border-radius: var(--radius-2xl);
    border-style: var(--tw-border-style);
    border-width: 1px;
    border-color: var(--color-line);
    background-color: var(--color-white);
    text-align: center;
    transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to, opacity, box-shadow, transform, translate, scale, rotate, filter, -webkit-backdrop-filter, backdrop-filter, display, content-visibility, overlay, pointer-events;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px;
  }
  .hero-cat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
  }
  .hero-cat-img {
    width: 100%;
    max-width: 110px;
    aspect-ratio: 1 / 1;
    border-radius: 9999px;
    overflow: hidden;
    margin-inline: auto;
  }
  .hero-cat-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  .hero-cat-card span {
    margin-top: 10px;
    font-weight: 700;
    color: var(--color-primary);
    font-size: 0.95rem;
    line-height: 1.6;
  }
  @media (max-width: 767px) {
    .hero-categories {
      gap: 12px;
      max-width: 100%;
    }
    .hero-cat-card {
      padding: 10px;
      border-radius: 18px;
    }
    .hero-cat-img {
      max-width: 92px;
    }
    .hero-cat-card span {
      margin-top: 8px;
      font-size: 0.88rem;
    }
  }
  @media (max-width: 479px) {
    .hero-categories {
      gap: 10px;
    }
    .hero-cat-card {
      padding: 9px;
    }
    .hero-cat-img {
      max-width: 82px;
    }
    .hero-cat-card span {
      font-size: 0.84rem;
    }
  }
  .category-grid {
    display: grid;
    gap: calc(var(--spacing) * 4);
    @media (width >= 40rem) {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    @media (width >= 64rem) {
      grid-template-columns: repeat(4, minmax(0, 1fr));
    }
  }
  .category-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-card);
    border-style: var(--tw-border-style);
    border-width: 1px;
    border-color: var(--color-line);
    background-color: var(--color-white);
    padding: calc(var(--spacing) * 6);
    box-shadow: var(--shadow-card);
  }
  .category-card:hover {
    box-shadow: var(--shadow-hover);
  }
  .category-title {
    font-size: var(--text-lg);
    line-height: var(--tw-leading, var(--text-lg--line-height));
    --tw-font-weight: var(--font-weight-bold);
    font-weight: var(--font-weight-bold);
    color: var(--color-primary);
  }
  .category-text {
    margin-top: calc(var(--spacing) * 2);
    font-size: var(--text-sm);
    line-height: var(--tw-leading, var(--text-sm--line-height));
    --tw-leading: calc(var(--spacing) * 7);
    line-height: calc(var(--spacing) * 7);
    color: var(--color-text-soft);
  }
  .feature-grid {
    display: grid;
    gap: calc(var(--spacing) * 4);
    @media (width >= 40rem) {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    @media (width >= 64rem) {
      grid-template-columns: repeat(4, minmax(0, 1fr));
    }
  }
  .feature-card {
    border-radius: var(--radius-card);
    border-style: var(--tw-border-style);
    border-width: 1px;
    border-color: var(--color-line);
    background-color: var(--color-white);
    padding: calc(var(--spacing) * 5);
    box-shadow: var(--shadow-card);
  }
  .feature-icon {
    margin-bottom: calc(var(--spacing) * 4);
    display: inline-flex;
    height: calc(var(--spacing) * 12);
    width: calc(var(--spacing) * 12);
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-2xl);
    color: var(--color-white);
    background-color: var(--color-primary);
  }
  .feature-title {
    font-size: var(--text-base);
    line-height: var(--tw-leading, var(--text-base--line-height));
    --tw-font-weight: var(--font-weight-bold);
    font-weight: var(--font-weight-bold);
    color: var(--color-primary);
  }
  .feature-text {
    margin-top: calc(var(--spacing) * 2);
    font-size: var(--text-sm);
    line-height: var(--tw-leading, var(--text-sm--line-height));
    --tw-leading: calc(var(--spacing) * 7);
    line-height: calc(var(--spacing) * 7);
    color: var(--color-text-soft);
  }
  .products-section {
    position: relative;
  }
  .products-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
  }
  .promo-banner {
    overflow: hidden;
    border-radius: 1.5rem;
    border-style: var(--tw-border-style);
    border-width: 1px;
    border-color: var(--color-line);
    background-color: var(--color-white);
    box-shadow: var(--shadow-card);
  }
  .promo-banner-inner {
    display: grid;
    align-items: center;
    gap: calc(var(--spacing) * 6);
    padding: calc(var(--spacing) * 6);
    @media (width >= 48rem) {
      padding: calc(var(--spacing) * 8);
    }
    @media (width >= 64rem) {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    background: radial-gradient( circle at top left, rgba(193, 154, 107, 0.12), transparent 35% ), linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  }
  .promo-title {
    font-size: var(--text-2xl);
    line-height: var(--tw-leading, var(--text-2xl--line-height));
    --tw-font-weight: var(--font-weight-extrabold);
    font-weight: var(--font-weight-extrabold);
    color: var(--color-primary);
    @media (width >= 48rem) {
      font-size: var(--text-3xl);
      line-height: var(--tw-leading, var(--text-3xl--line-height));
    }
  }
  .promo-text {
    margin-top: calc(var(--spacing) * 3);
    font-size: var(--text-sm);
    line-height: var(--tw-leading, var(--text-sm--line-height));
    --tw-leading: calc(var(--spacing) * 8);
    line-height: calc(var(--spacing) * 8);
    color: var(--color-text-soft);
    @media (width >= 48rem) {
      font-size: var(--text-base);
      line-height: var(--tw-leading, var(--text-base--line-height));
    }
  }
  .promo-actions {
    margin-top: calc(var(--spacing) * 6);
    display: flex;
    flex-wrap: wrap;
    gap: calc(var(--spacing) * 3);
  }
  .newsletter {
    overflow: hidden;
    border-radius: 1.5rem;
    border-style: var(--tw-border-style);
    border-width: 1px;
    border-color: var(--color-line);
    background-color: var(--color-white);
    padding: calc(var(--spacing) * 6);
    @media (width >= 48rem) {
      padding: calc(var(--spacing) * 8);
    }
    box-shadow: var(--shadow-card);
  }
  .newsletter-grid {
    display: grid;
    align-items: center;
    gap: calc(var(--spacing) * 6);
    @media (width >= 64rem) {
      grid-template-columns: 1fr auto;
    }
  }
  .newsletter-title {
    font-size: var(--text-2xl);
    line-height: var(--tw-leading, var(--text-2xl--line-height));
    --tw-font-weight: var(--font-weight-bold);
    font-weight: var(--font-weight-bold);
    color: var(--color-primary);
  }
  .newsletter-text {
    margin-top: calc(var(--spacing) * 2);
    font-size: var(--text-sm);
    line-height: var(--tw-leading, var(--text-sm--line-height));
    --tw-leading: calc(var(--spacing) * 7);
    line-height: calc(var(--spacing) * 7);
    color: var(--color-text-soft);
    @media (width >= 48rem) {
      font-size: var(--text-base);
      line-height: var(--tw-leading, var(--text-base--line-height));
    }
  }
  @media (max-width: 1023px) {
    .mobile-sidebar, .sidebar, .nav-menu {
      position: fixed;
      top: var(--mobile-header-height);
      bottom: var(--bottom-nav-height);
      height: auto;
      max-height: calc( 100dvh - var(--mobile-header-height) - var(--bottom-nav-height) );
      overflow-y: auto;
      overscroll-behavior: contain;
      z-index: 80;
    }
  }
  @media (min-width: 640px) {
    .products-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }
  @media (max-width: 1023px) {
    .hero-slider {
      width: calc(100% - 28px);
      margin: 18px auto 0;
      border-radius: var(--hero-banner-radius-tablet);
    }
    .hero-slider-btn {
      width: 42px;
      height: 42px;
    }
    .hero-slider-prev {
      right: 14px;
    }
    .hero-slider-next {
      left: 14px;
    }
  }
  @media (min-width: 1024px) {
    .products-grid {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }
  }
  @media (max-width: 767px) {
    .hero-slider {
      width: calc(100% - 20px);
      margin: 14px auto 0;
      border-radius: var(--hero-banner-radius-mobile);
    }
    .hero-slider-btn {
      width: 38px;
      height: 38px;
      font-size: 0.92rem;
    }
    .hero-slider-prev {
      right: 10px;
    }
    .hero-slider-next {
      left: 10px;
    }
    .hero-slider-dots {
      bottom: 12px;
      gap: 7px;
      padding: 5px 9px;
    }
    .hero-dot {
      width: 8px;
      height: 8px;
    }
    .hero-dot.active {
      width: 20px;
    }
    .newsletter-grid {
      grid-template-columns: repeat(1, minmax(0, 1fr));
    }
  }
  @media (max-width: 479px) {
    .hero-slider {
      width: calc(100% - 16px);
      margin: 12px auto 0;
      border-radius: var(--hero-banner-radius-small-mobile);
    }
    .hero-slider-btn {
      width: 34px;
      height: 34px;
      font-size: 0.85rem;
    }
    .hero-slider-prev {
      right: 8px;
    }
    .hero-slider-next {
      left: 8px;
    }
    .hero-slider-dots {
      bottom: 10px;
      gap: 6px;
      padding: 4px 8px;
    }
  }
}
@layer components {
  .products-hero {
    padding: 3rem 0 1.5rem;
  }
  .products-hero-card {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(30, 41, 59, 0.94)), radial-gradient( circle at left top, rgba(193, 154, 107, 0.35), transparent 26rem );
    color: #ffffff;
    border-radius: 2rem;
    padding: 2rem;
    box-shadow: var(--shadow-dropdown);
    overflow: hidden;
    position: relative;
  }
  .products-hero-card::after {
    content: "";
    position: absolute;
    inset-inline-start: -6rem;
    inset-block-end: -8rem;
    width: 18rem;
    height: 18rem;
    background: rgba(193, 154, 107, 0.18);
    border-radius: 999px;
    filter: blur(2px);
    pointer-events: none;
  }
  .products-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.75rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.72);
    position: relative;
    z-index: 1;
  }
  .products-breadcrumb a {
    color: rgba(255, 255, 255, 0.82);
    transition: color 0.2s ease;
  }
  .products-breadcrumb a:hover {
    color: var(--color-accent);
  }
  .products-breadcrumb span:last-child {
    color: #ffffff;
    font-weight: 800;
  }
  .products-hero-content {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
    position: relative;
    z-index: 1;
  }
  .products-hero-text {
    max-width: 46rem;
  }
  .products-eyebrow {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 0.55rem 1rem;
    border-radius: var(--radius-btn);
    background: rgba(193, 154, 107, 0.18);
    color: #f8dfbd;
    font-size: 0.85rem;
    font-weight: 900;
  }
  .products-title {
    margin-top: 1.15rem;
    font-size: clamp(1.8rem, 4vw, 3.15rem);
    line-height: 1.35;
    font-weight: 950;
    letter-spacing: -0.04em;
  }
  .products-description {
    margin-top: 1rem;
    max-width: 42rem;
    color: rgba(255, 255, 255, 0.76);
    line-height: 2;
    font-size: 1rem;
  }
  .products-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    flex-shrink: 0;
  }
  .products-page {
    background: radial-gradient( circle at top right, rgba(193, 154, 107, 0.16), transparent 34rem ), linear-gradient(180deg, var(--color-bg), #ffffff);
    color: var(--color-text);
  }
  .products-section-shop {
    padding: 1.5rem 0 5rem;
  }
  .products-layout {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 1.75rem;
    align-items: start;
    padding-block: 3.5rem;
  }
  .products-sidebar {
    position: sticky;
    top: 6rem;
  }
  .products-content {
    min-width: 0;
  }
  .products-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    margin-bottom: 1rem;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 1.5rem;
    padding: 1rem;
    box-shadow: var(--shadow-card);
    backdrop-filter: blur(14px);
  }
  .products-count {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
  }
  .products-count strong {
    color: var(--color-primary);
    font-size: 1rem;
    font-weight: 950;
  }
  .products-count span {
    color: var(--color-text-soft);
    font-size: 0.84rem;
    font-weight: 700;
  }
  .products-sort {
    display: flex;
    align-items: center;
    gap: 0.75rem;
  }
  .products-sort label {
    color: var(--color-primary);
    font-size: 0.88rem;
    font-weight: 950;
    white-space: nowrap;
  }
  .shop-products-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
  }
  .products-slider-pro {
    position: relative;
    width: 100%;
    margin-top: 1.5rem;
    direction: rtl;
    user-select: none;
    -webkit-user-select: none;
  }
  .products-slider-viewport {
    position: relative;
    width: 100%;
    overflow: hidden;
    cursor: grab;
    touch-action: pan-y;
    background: transparent;
    user-select: none;
    -webkit-user-select: none;
    -webkit-overflow-scrolling: touch;
  }
  .products-slider-viewport.dragging {
    cursor: grabbing;
  }
  .products-slider-track {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 1rem;
    width: 100%;
    max-width: none;
    background: transparent;
    will-change: transform;
    transform: translate3d(0, 0, 0);
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .slider-slide {
    flex: 0 0 100%;
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    height: auto;
  }
  .products-slider-pro .product-card {
    height: 100%;
  }
  .products-slider-pro img, .products-slider-pro a {
    -webkit-user-drag: none;
  }
  .products-slider-pro img {
    pointer-events: none;
  }
  .slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
    margin-top: 1.4rem;
    background: transparent;
  }
  .slider-pro-nav {
    width: 2.65rem;
    height: 2.65rem;
    border-radius: 999px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    background: transparent;
    color: #111827;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: color 0.25s ease, border-color 0.25s ease, transform 0.25s ease, opacity 0.25s ease, background-color 0.25s ease;
  }
  .slider-pro-nav:hover {
    color: #000;
    border-color: rgba(15, 23, 42, 0.35);
    background-color: rgba(15, 23, 42, 0.03);
    transform: translateY(-2px);
  }
  .slider-pro-nav:active {
    transform: scale(0.95);
  }
  .slider-pro-nav:disabled {
    opacity: 0.35;
    cursor: not-allowed;
    transform: none;
  }
  .slider-pro-prev svg, .slider-pro-next svg {
    width: 1.25rem;
    height: 1.25rem;
  }
  .slider-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 2.65rem;
    background: transparent;
  }
  .slider-dot {
    width: 0.45rem;
    height: 0.45rem;
    padding: 0;
    border: none;
    border-radius: 999px;
    background: rgba(17, 24, 39, 0.22);
    cursor: pointer;
    transition: width 0.3s ease, background-color 0.3s ease, transform 0.3s ease;
  }
  .slider-dot:hover {
    background: rgba(17, 24, 39, 0.45);
  }
  .slider-dot.active {
    width: 1.7rem;
    background: #111827;
  }
  .products-slider-pro.is-dragging .products-slider-track {
    transition: none !important;
  }
  .products-slider-pro.is-dragging .product-card, .products-slider-pro.is-dragging .product-card * {
    pointer-events: none;
  }
  .products-slider-pro.is-dragging {
    cursor: grabbing;
  }
  @media (min-width: 640px) {
    .slider-slide {
      flex: 0 0 calc((100% - 1rem) / 2);
      width: calc((100% - 1rem) / 2);
      min-width: calc((100% - 1rem) / 2);
      max-width: calc((100% - 1rem) / 2);
    }
  }
  @media (min-width: 1024px) {
    .slider-slide {
      flex: 0 0 calc((100% - 3rem) / 4);
      width: calc((100% - 3rem) / 4);
      min-width: calc((100% - 3rem) / 4);
      max-width: calc((100% - 3rem) / 4);
    }
  }
  @media (max-width: 1024px) {
    .products-hero-content {
      align-items: flex-start;
      flex-direction: column;
    }
    .products-layout {
      grid-template-columns: 1fr;
    }
    .products-sidebar {
      position: static;
    }
    .shop-products-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }
  @media (max-width: 640px) {
    .products-hero {
      padding-top: 2rem;
    }
    .products-hero-card {
      border-radius: 1.5rem;
      padding: 1.25rem;
    }
    .products-title {
      font-size: 1.65rem;
    }
    .products-toolbar {
      align-items: stretch;
      flex-direction: column;
    }
    .products-sort {
      align-items: stretch;
      flex-direction: column;
    }
    .shop-products-grid {
      grid-template-columns: 1fr;
    }
    .products-slider-pro {
      margin-top: 1.25rem;
    }
    .products-slider-track {
      gap: 0.85rem;
    }
    .slider-slide {
      flex: 0 0 100%;
      width: 100%;
      min-width: 100%;
      max-width: 100%;
    }
    .slider-controls {
      margin-top: 1.1rem;
    }
    .slider-pro-nav {
      width: 2.45rem;
      height: 2.45rem;
    }
  }
}
@layer components {
  .page-hero {
    border-bottom-style: var(--tw-border-style);
    border-bottom-width: 1px;
    border-color: var(--color-line);
    background-color: var(--color-white);
  }
  .page-hero-inner {
    padding-block: calc(var(--spacing) * 10);
    @media (width >= 48rem) {
      padding-block: calc(var(--spacing) * 14);
    }
  }
  .page-title {
    font-size: var(--text-3xl);
    line-height: var(--tw-leading, var(--text-3xl--line-height));
    --tw-font-weight: var(--font-weight-extrabold);
    font-weight: var(--font-weight-extrabold);
    color: var(--color-primary);
    @media (width >= 48rem) {
      font-size: var(--text-4xl);
      line-height: var(--tw-leading, var(--text-4xl--line-height));
    }
  }
  .page-text {
    margin-top: calc(var(--spacing) * 3);
    max-width: var(--container-2xl);
    font-size: var(--text-sm);
    line-height: var(--tw-leading, var(--text-sm--line-height));
    --tw-leading: calc(var(--spacing) * 7);
    line-height: calc(var(--spacing) * 7);
    color: var(--color-text-soft);
    @media (width >= 48rem) {
      font-size: var(--text-base);
      line-height: var(--tw-leading, var(--text-base--line-height));
    }
  }
  .breadcrumb {
    margin-bottom: calc(var(--spacing) * 4);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: calc(var(--spacing) * 2);
    font-size: var(--text-sm);
    line-height: var(--tw-leading, var(--text-sm--line-height));
    color: var(--color-text-soft);
  }
  .detail-grid {
    display: grid;
    gap: calc(var(--spacing) * 8);
    @media (width >= 64rem) {
      grid-template-columns: 1.05fr 0.95fr;
    }
  }
  .detail-gallery {
    overflow: hidden;
    border-radius: 1.5rem;
    border-style: var(--tw-border-style);
    border-width: 1px;
    border-color: var(--color-line);
    background-color: var(--color-white);
    padding: calc(var(--spacing) * 4);
    box-shadow: var(--shadow-card);
  }
  .detail-main-image {
    aspect-ratio: 4/5;
    width: 100%;
    border-radius: 1rem;
    object-fit: cover;
  }
  .thumb-grid {
    margin-top: calc(var(--spacing) * 4);
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: calc(var(--spacing) * 3);
  }
  .thumb-item {
    overflow: hidden;
    border-radius: var(--radius-xl);
    border-style: var(--tw-border-style);
    border-width: 1px;
    border-color: var(--color-line);
    background-color: var(--color-muted);
  }
  .thumb-item img {
    aspect-ratio: 1 / 1;
    width: 100%;
    object-fit: cover;
  }
  .detail-content {
    border-radius: 1.5rem;
    border-style: var(--tw-border-style);
    border-width: 1px;
    border-color: var(--color-line);
    background-color: var(--color-white);
    padding: calc(var(--spacing) * 6);
    box-shadow: var(--shadow-card);
  }
  .detail-category {
    font-size: var(--text-sm);
    line-height: var(--tw-leading, var(--text-sm--line-height));
    --tw-font-weight: var(--font-weight-medium);
    font-weight: var(--font-weight-medium);
    color: var(--color-text-soft);
  }
  .detail-title {
    margin-top: calc(var(--spacing) * 2);
    font-size: var(--text-2xl);
    line-height: var(--tw-leading, var(--text-2xl--line-height));
    --tw-font-weight: var(--font-weight-extrabold);
    font-weight: var(--font-weight-extrabold);
    color: var(--color-primary);
    @media (width >= 48rem) {
      font-size: var(--text-3xl);
      line-height: var(--tw-leading, var(--text-3xl--line-height));
    }
  }
  .detail-price-row {
    margin-top: calc(var(--spacing) * 5);
    display: flex;
    align-items: center;
    gap: calc(var(--spacing) * 3);
  }
  .detail-price {
    font-size: var(--text-2xl);
    line-height: var(--tw-leading, var(--text-2xl--line-height));
    --tw-font-weight: var(--font-weight-extrabold);
    font-weight: var(--font-weight-extrabold);
    color: var(--color-primary);
  }
  .detail-old-price {
    font-size: var(--text-base);
    line-height: var(--tw-leading, var(--text-base--line-height));
    color: var(--color-text-soft);
    text-decoration-line: line-through;
  }
  .detail-text {
    margin-top: calc(var(--spacing) * 5);
    font-size: var(--text-sm);
    line-height: var(--tw-leading, var(--text-sm--line-height));
    --tw-leading: calc(var(--spacing) * 8);
    line-height: calc(var(--spacing) * 8);
    color: var(--color-text-soft);
    @media (width >= 48rem) {
      font-size: var(--text-base);
      line-height: var(--tw-leading, var(--text-base--line-height));
    }
  }
  .detail-meta {
    margin-top: calc(var(--spacing) * 6);
    display: grid;
    gap: calc(var(--spacing) * 3);
    border-top-style: var(--tw-border-style);
    border-top-width: 1px;
    border-color: var(--color-line);
    padding-top: calc(var(--spacing) * 6);
    font-size: var(--text-sm);
    line-height: var(--tw-leading, var(--text-sm--line-height));
    color: var(--color-text-soft);
  }
  .detail-actions {
    margin-top: calc(var(--spacing) * 6);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: calc(var(--spacing) * 3);
  }
  .tabs {
    border-radius: 1.5rem;
    border-style: var(--tw-border-style);
    border-width: 1px;
    border-color: var(--color-line);
    background-color: var(--color-white);
    padding: calc(var(--spacing) * 6);
    box-shadow: var(--shadow-card);
  }
  .tab-head {
    margin-bottom: calc(var(--spacing) * 5);
    display: flex;
    flex-wrap: wrap;
    gap: calc(var(--spacing) * 2);
    border-bottom-style: var(--tw-border-style);
    border-bottom-width: 1px;
    border-color: var(--color-line);
    padding-bottom: calc(var(--spacing) * 4);
  }
  .tab-btn {
    border-radius: calc(infinity * 1px);
    border-style: var(--tw-border-style);
    border-width: 1px;
    border-color: var(--color-line);
    background-color: var(--color-white);
    padding-inline: calc(var(--spacing) * 4);
    padding-block: calc(var(--spacing) * 2);
    font-size: var(--text-sm);
    line-height: var(--tw-leading, var(--text-sm--line-height));
    --tw-font-weight: var(--font-weight-medium);
    font-weight: var(--font-weight-medium);
    color: var(--color-text-soft);
    transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to, opacity, box-shadow, transform, translate, scale, rotate, filter, -webkit-backdrop-filter, backdrop-filter, display, content-visibility, overlay, pointer-events;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
    &:hover {
      @media (hover: hover) {
        border-color: var(--color-primary);
      }
    }
    &:hover {
      @media (hover: hover) {
        color: var(--color-primary);
      }
    }
  }
  .tab-btn.active {
    border-color: var(--color-primary);
    color: var(--color-white);
    background-color: var(--color-primary);
  }
  .tab-panel {
    font-size: var(--text-sm);
    line-height: var(--tw-leading, var(--text-sm--line-height));
    --tw-leading: calc(var(--spacing) * 8);
    line-height: calc(var(--spacing) * 8);
    color: var(--color-text-soft);
    @media (width >= 48rem) {
      font-size: var(--text-base);
      line-height: var(--tw-leading, var(--text-base--line-height));
    }
  }
}
.dashboard-page {
  background: radial-gradient( circle at top right, rgba(193, 154, 107, 0.12), transparent 28% ), radial-gradient( circle at bottom left, rgba(15, 23, 42, 0.06), transparent 30% ), linear-gradient(180deg, rgba(248, 250, 252, 0.98), #ffffff);
}
.dashboard-shell {
  position: relative;
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
.page-breadcrumbs {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  padding: 18px 22px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.06);
  backdrop-filter: blur(10px);
}
.page-breadcrumbs-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.breadcrumb-link, .breadcrumb-current {
  color: var(--color-text, #0f172a);
  font-size: 0.92rem;
  font-weight: 700;
}
.breadcrumb-link {
  color: var(--color-primary-soft, #1e293b);
  text-decoration: none;
  transition: color 0.25s ease;
}
.breadcrumb-link:hover {
  color: var(--color-accent, #c19a6b);
}
.breadcrumb-separator {
  color: #94a3b8;
}
.page-breadcrumb-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.dashboard-products-btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 18px;
  border-radius: 999px;
  background: linear-gradient( 135deg, var(--color-primary, #0f172a), var(--color-primary-soft, #1e293b) );
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.18);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.dashboard-products-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 32px rgba(15, 23, 42, 0.22);
}
.dashboard-products-btn svg {
  width: 18px;
  height: 18px;
}
.dashboard-mobile-bar {
  display: none;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.dashboard-mobile-title {
  margin: 0;
  font-size: 1.05rem;
  color: var(--color-text, #0f172a);
}
.dashboard-mobile-toggle {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: #fff;
  color: var(--color-text, #0f172a);
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.08);
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.dashboard-mobile-toggle:hover {
  background: var(--color-primary, #0f172a);
  color: #fff;
  transform: translateY(-1px);
}
.dashboard-mobile-toggle svg {
  width: 22px;
  height: 22px;
}
.dashboard-sidebar {
  position: sticky;
  top: 100px;
  min-height: 680px;
  height: auto;
  align-self: start;
  z-index: 20;
}
.dashboard-sidebar-inner {
  min-height: 680px;
  display: flex;
  flex-direction: column;
  padding: 18px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(18px);
  overflow: visible;
  transition: all 0.3s ease;
}
.dashboard-sidebar-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
}
.dashboard-profile-mini {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.dashboard-profile-avatar, .dashboard-stat-icon {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient( 135deg, rgba(193, 154, 107, 0.14), rgba(15, 23, 42, 0.06) );
  color: var(--color-primary, #0f172a);
  flex-shrink: 0;
}
.dashboard-profile-avatar svg, .dashboard-stat-icon svg {
  width: 22px;
  height: 22px;
}
.dashboard-profile-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.dashboard-profile-meta strong {
  font-size: 0.95rem;
  color: var(--color-text, #0f172a);
  white-space: nowrap;
}
.dashboard-profile-meta span {
  font-size: 0.78rem;
  color: var(--color-text-soft, #475569);
  white-space: nowrap;
}
.dashboard-sidebar-toggle {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: rgba(248, 250, 252, 0.95);
  color: var(--color-text, #0f172a);
  transition: all 0.25s ease;
  flex-shrink: 0;
}
.dashboard-sidebar-toggle:hover {
  background: var(--color-primary, #0f172a);
  color: #fff;
}
.dashboard-sidebar-toggle svg {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}
.dashboard-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.dashboard-nav-item {
  min-height: 50px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 16px;
  padding: 0 14px;
  text-decoration: none;
  color: var(--color-text, #0f172a);
  transition: all 0.25s ease;
}
.dashboard-nav-item:hover {
  background: rgba(15, 23, 42, 0.06);
  color: var(--color-primary, #0f172a);
  transform: translateX(-2px);
}
.dashboard-nav-item.active {
  color: #fff;
  background: linear-gradient( 135deg, var(--color-primary, #0f172a), var(--color-primary-soft, #1e293b) );
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.22);
}
.dashboard-nav-item.active .dashboard-nav-icon {
  color: var(--color-accent, #c19a6b);
}
.dashboard-nav-icon {
  width: 42px;
  height: 42px;
  min-width: 42px;
  flex: 0 0 42px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.dashboard-nav-icon svg {
  width: 22px;
  height: 22px;
  display: block;
}
.dashboard-nav-text {
  white-space: nowrap;
  overflow: hidden;
}
.dashboard-sidebar-bottom {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid rgba(226, 232, 240, 0.9);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.dashboard-nav-item-danger {
  color: #b42318;
}
.dashboard-nav-item-danger:hover {
  background: #b42318;
  color: #fff;
}
.dashboard-content {
  min-width: 0;
}
.dashboard-welcome-card, .dashboard-panel, .dashboard-stat-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.06);
  backdrop-filter: blur(14px);
}
.dashboard-welcome-card {
  border-radius: 28px;
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
}
.dashboard-welcome-card::before {
  content: "";
  position: absolute;
  inset: auto auto -40px -40px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient( circle, rgba(193, 154, 107, 0.18), transparent 70% );
  pointer-events: none;
}
.dashboard-label {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--color-accent-dark, #a67c52);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.dashboard-welcome-card h2 {
  margin: 0 0 10px;
  color: var(--color-text, #0f172a);
  font-size: 1.5rem;
}
.dashboard-welcome-card p {
  margin: 0;
  color: var(--color-text-soft, #475569);
  line-height: 1.9;
  max-width: 680px;
}
.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}
.dashboard-stat-card {
  border-radius: 22px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.dashboard-stat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.1);
}
.dashboard-stat-card span {
  display: block;
  color: var(--color-text-soft, #475569);
  font-size: 0.85rem;
  margin-bottom: 6px;
}
.dashboard-stat-card strong {
  color: var(--color-text, #0f172a);
  font-size: 1.05rem;
}
.dashboard-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 20px;
}
.dashboard-panel {
  border-radius: 28px;
  padding: 24px;
}
.dashboard-panel-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}
.dashboard-panel-head h3 {
  margin: 6px 0 0;
  color: var(--color-text, #0f172a);
  font-size: 1.15rem;
}
.dashboard-panel-head a {
  color: var(--color-accent-dark, #a67c52);
  text-decoration: none;
  font-weight: 700;
  white-space: nowrap;
  transition: color 0.25s ease;
}
.dashboard-panel-head a:hover {
  color: var(--color-primary, #0f172a);
}
.dashboard-orders {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.dashboard-order-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
}
.dashboard-order-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.dashboard-order-row strong {
  display: block;
  margin-bottom: 6px;
  color: var(--color-text, #0f172a);
}
.dashboard-order-row span {
  color: var(--color-text-soft, #475569);
  font-size: 0.9rem;
}
.dashboard-order-meta {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-shrink: 0;
}
.dashboard-order-meta b {
  color: var(--color-text, #0f172a);
  font-size: 0.95rem;
}
.dashboard-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  font-style: normal;
  font-size: 0.76rem;
  font-weight: 700;
}
.dashboard-badge-success {
  color: #027a48;
  background: rgba(6, 174, 124, 0.12);
}
.dashboard-badge-warning {
  color: #b54708;
  background: rgba(247, 144, 9, 0.14);
}
.dashboard-badge-muted {
  color: #475467;
  background: rgba(71, 84, 103, 0.12);
}
.dashboard-coupon {
  border-radius: 22px;
  padding: 22px;
  background: linear-gradient( 135deg, rgba(15, 23, 42, 0.04), rgba(193, 154, 107, 0.16) );
  border: 1px dashed rgba(193, 154, 107, 0.45);
}
.dashboard-coupon span {
  display: block;
  color: var(--color-text-soft, #475569);
  margin-bottom: 8px;
}
.dashboard-coupon strong {
  display: block;
  font-size: 1.5rem;
  color: var(--color-primary, #0f172a);
  margin-bottom: 10px;
  letter-spacing: 0.04em;
}
.dashboard-coupon p {
  margin: 0 0 16px;
  color: var(--color-text, #0f172a);
  line-height: 1.9;
}
.dashboard-page svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
body.dashboard-sidebar-collapsed .dashboard-shell {
  grid-template-columns: 92px minmax(0, 1fr);
}
body.dashboard-sidebar-collapsed .dashboard-sidebar {
  width: 92px;
}
body.dashboard-sidebar-collapsed .dashboard-sidebar-inner {
  padding-left: 12px;
  padding-right: 12px;
}
body.dashboard-sidebar-collapsed .dashboard-profile-meta, body.dashboard-sidebar-collapsed .dashboard-nav-text {
  opacity: 0;
  width: 0;
  overflow: hidden;
  pointer-events: none;
}
body.dashboard-sidebar-collapsed .dashboard-profile-mini {
  justify-content: center;
}
body.dashboard-sidebar-collapsed .dashboard-sidebar-top {
  flex-direction: column;
  align-items: center;
}
body.dashboard-sidebar-collapsed .dashboard-nav {
  align-items: center;
}
body.dashboard-sidebar-collapsed .dashboard-nav-item {
  width: 50px;
  height: 50px;
  min-height: 50px;
  padding: 0;
  gap: 0;
  justify-content: center;
}
body.dashboard-sidebar-collapsed .dashboard-nav-icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  flex: 0 0 50px;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
body.dashboard-sidebar-collapsed .dashboard-nav-icon svg {
  width: 22px;
  height: 22px;
}
body.dashboard-sidebar-collapsed .dashboard-sidebar-toggle svg {
  transform: rotate(180deg);
}
body.dashboard-sidebar-collapsed .dashboard-sidebar-bottom {
  align-items: center;
}
.dashboard-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(3px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
  z-index: 15;
}
body.dashboard-sidebar-open .dashboard-overlay {
  opacity: 1;
  visibility: visible;
}
body.dashboard-sidebar-open {
  overflow: hidden;
}
@media (max-width: 1100px) {
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
  .dashboard-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 860px) {
  .dashboard-mobile-bar {
    display: flex;
  }
  .page-breadcrumbs {
    flex-direction: column;
    align-items: flex-start;
  }
  .dashboard-shell {
    grid-template-columns: 1fr;
  }
  .dashboard-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    width: min(86vw, 320px);
    height: 100vh;
    min-height: 100vh;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 30;
    padding: 16px;
  }
  .dashboard-sidebar-inner {
    border-radius: 24px 0 0 24px;
    height: 100%;
  }
  body.dashboard-sidebar-open .dashboard-sidebar {
    transform: translateX(0);
  }
  body.dashboard-sidebar-collapsed .dashboard-shell {
    grid-template-columns: 1fr;
  }
  body.dashboard-sidebar-collapsed .dashboard-sidebar {
    width: min(86vw, 320px);
  }
  body.dashboard-sidebar-collapsed .dashboard-sidebar-inner {
    padding: 18px;
  }
  body.dashboard-sidebar-collapsed .dashboard-profile-meta, body.dashboard-sidebar-collapsed .dashboard-nav-text {
    opacity: 1;
    width: auto;
    pointer-events: auto;
  }
  body.dashboard-sidebar-collapsed .dashboard-sidebar-top {
    flex-direction: row;
    align-items: center;
  }
  body.dashboard-sidebar-collapsed .dashboard-nav {
    align-items: stretch;
  }
  body.dashboard-sidebar-collapsed .dashboard-nav-item {
    width: auto;
    height: auto;
    min-height: 50px;
    justify-content: flex-start;
    padding: 0 14px;
    gap: 12px;
  }
  body.dashboard-sidebar-collapsed .dashboard-nav-icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
    flex: 0 0 42px;
  }
  body.dashboard-sidebar-collapsed .dashboard-sidebar-toggle svg {
    transform: none;
  }
  body.dashboard-sidebar-collapsed .dashboard-sidebar-bottom {
    align-items: stretch;
  }
  .dashboard-welcome-card {
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width: 640px) {
  .dashboard-stats {
    grid-template-columns: 1fr;
  }
  .dashboard-panel, .dashboard-welcome-card, .dashboard-stat-card {
    padding: 18px;
    border-radius: 22px;
  }
  .dashboard-order-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .dashboard-order-meta {
    width: 100%;
    text-align: right;
  }
  .page-breadcrumb-actions {
    width: 100%;
  }
  .dashboard-products-btn {
    width: 100%;
  }
}
.cart-page-body {
  color: var(--text-color, #111827);
}
.cart-page {
  position: relative;
  overflow: clip;
}
.cart-page .container-main {
  position: relative;
}
.cart-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.9rem;
  color: #6b7280;
}
.cart-breadcrumb a {
  text-decoration: none;
  color: #111827;
  transition: color 0.25s ease;
}
.cart-breadcrumb a:hover {
  color: #000000;
}
.cart-breadcrumb span {
  color: #9ca3af;
}
.cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) 360px;
  gap: 24px;
  align-items: start;
}
.cart-items {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cart-card {
  position: relative;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(17, 24, 39, 0.08);
  box-shadow: 0 18px 50px rgba(17, 24, 39, 0.06);
  backdrop-filter: blur(14px);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.cart-card:hover {
  transform: translateY(-2px);
  border-color: rgba(17, 24, 39, 0.15);
  box-shadow: 0 22px 54px rgba(17, 24, 39, 0.1);
}
.cart-card-inner {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 18px;
  padding: 18px;
}
.cart-item-media {
  position: relative;
  display: block;
  min-height: 178px;
  border-radius: 22px;
  overflow: hidden;
  background: #f2f2f2;
  box-shadow: inset 0 0 0 1px rgba(17, 24, 39, 0.04);
}
.cart-item-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.cart-card:hover .cart-item-media img {
  transform: scale(1.04);
}
.cart-item-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
}
.cart-item-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}
.cart-item-category {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 12px;
  margin-bottom: 10px;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.07);
  color: #111827;
  font-size: 0.76rem;
  font-weight: 800;
}
.cart-item-title {
  margin: 0 0 10px;
  font-size: 1.08rem;
  line-height: 1.9;
  color: #000000;
}
.cart-item-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s ease;
}
.cart-item-title a:hover {
  color: #374151;
}
.cart-item-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  list-style: none;
  padding: 0;
  margin: 0;
  color: #6b7280;
  font-size: 0.9rem;
}
.cart-item-meta li {
  position: relative;
  padding-right: 14px;
}
.cart-item-meta li::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #111827;
  transform: translateY(-50%);
}
.cart-remove-btn {
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(239, 68, 68, 0.14);
  border-radius: 14px;
  background: #ffffff;
  color: #b91c1c;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
}
.cart-remove-btn:hover {
  background: #b91c1c;
  color: #ffffff;
  border-color: #b91c1c;
}
.cart-remove-btn:active {
  transform: scale(0.98);
}
.cart-item-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.quantity-box {
  min-width: 148px;
  height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  padding: 0 6px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid rgba(17, 24, 39, 0.12);
  box-shadow: 0 10px 28px rgba(17, 24, 39, 0.06);
}
.quantity-btn {
  width: 36px;
  height: 36px;
  border: none;
  outline: none;
  border-radius: 12px;
  background: transparent;
  color: #111827;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease, color 0.25s ease, transform 0.2s ease;
}
.quantity-btn:hover {
  background: rgba(17, 24, 39, 0.07);
  color: #000000;
}
.quantity-btn:active {
  transform: scale(0.95);
}
.quantity-input {
  width: 44px;
  border: none;
  outline: none;
  background: transparent;
  text-align: center;
  color: #000000;
  font-size: 0.96rem;
  font-weight: 800;
  -moz-appearance: textfield;
  appearance: textfield;
}
.quantity-input::-webkit-outer-spin-button, .quantity-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.cart-price-wrap {
  min-width: 145px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  text-align: left;
}
.cart-price-label {
  font-size: 0.82rem;
  color: #6b7280;
}
.cart-price {
  color: #000000;
  font-size: 1.05rem;
  font-weight: 900;
  line-height: 1.5;
}
.cart-summary {
  position: sticky;
  top: 100px;
  border-radius: 28px;
  padding: 22px;
  background: linear-gradient( 180deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.88) ), #ffffff;
  border: 1px solid rgba(17, 24, 39, 0.1);
  box-shadow: 0 18px 50px rgba(17, 24, 39, 0.08);
  backdrop-filter: blur(16px);
}
.cart-summary-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}
.cart-summary-title {
  margin: 0;
  font-size: 1.12rem;
  color: #000000;
}
.cart-summary-badge {
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.07);
  color: #111827;
  font-size: 0.8rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.cart-summary-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cart-summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #4b5563;
  font-size: 0.95rem;
}
.cart-summary-row strong {
  color: #000000;
  font-size: 0.96rem;
}
.cart-summary-row .is-discount {
  color: #047857;
}
.cart-divider {
  height: 1px;
  margin: 18px 0;
  background: linear-gradient( 90deg, transparent, rgba(17, 24, 39, 0.16), transparent );
}
.cart-coupon-label {
  display: inline-block;
  margin-bottom: 10px;
  color: #111827;
  font-size: 0.9rem;
  font-weight: 800;
}
.cart-coupon-row {
  display: flex;
  gap: 10px;
}
.cart-coupon .input, .cart-coupon input {
  width: 100%;
  min-width: 0;
  height: 48px;
  padding: 0 14px;
  border-radius: 16px;
  border: 1px solid rgba(17, 24, 39, 0.14);
  background: rgba(255, 255, 255, 0.92);
  color: #000000;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.cart-coupon .input::placeholder, .cart-coupon input::placeholder {
  color: #9ca3af;
}
.cart-coupon .input:focus, .cart-coupon input:focus {
  border-color: rgba(17, 24, 39, 0.42);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(17, 24, 39, 0.08);
}
.cart-payable {
  border-radius: 22px;
  padding: 16px 18px;
  background: linear-gradient(135deg, rgba(17, 24, 39, 0.08), rgba(17, 24, 39, 0.035)), #f7f7f7;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.cart-payable span {
  color: #111827;
  font-size: 0.92rem;
}
.cart-payable strong {
  color: #000000;
  font-size: 1.15rem;
  font-weight: 900;
}
.cart-summary-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 18px;
}
.cart-page .btn {
  min-height: 50px;
  padding: 0 18px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-size: 0.92rem;
  font-weight: 800;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}
.cart-page .btn:hover {
  transform: translateY(-1px);
}
.cart-page .btn-primary {
  background: linear-gradient(135deg, #111111, #000000);
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.22);
}
.cart-page .btn-primary:hover {
  background: linear-gradient(135deg, #232323, #000000);
  color: #ffffff;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.28);
}
.cart-page .btn-secondary {
  background: #ffffff;
  color: #000000;
  border: 1px solid rgba(17, 24, 39, 0.14);
}
.cart-page .btn-secondary:hover {
  background: rgba(17, 24, 39, 0.05);
  border-color: rgba(17, 24, 39, 0.24);
  color: #000000;
}
.cart-note {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(17, 24, 39, 0.05);
  color: #4b5563;
  font-size: 0.88rem;
  line-height: 1.9;
}
.cart-note strong {
  color: #000000;
}
.cart-empty {
  grid-column: 1 / -1;
  border-radius: 30px;
  padding: 42px 24px;
  text-align: center;
  background: radial-gradient(circle at top, rgba(17, 24, 39, 0.07), transparent 20rem), rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(17, 24, 39, 0.1);
  box-shadow: 0 18px 50px rgba(17, 24, 39, 0.08);
  backdrop-filter: blur(16px);
}
.cart-empty.hidden {
  display: none !important;
}
.cart-empty-icon {
  width: 82px;
  height: 82px;
  margin: 0 auto 18px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(17, 24, 39, 0.08);
  color: #000000;
  font-size: 2rem;
}
.cart-empty-title {
  margin: 0 0 10px;
  font-size: 1.35rem;
  color: #000000;
}
.cart-empty-text {
  max-width: 560px;
  margin: 0 auto 20px;
  color: #4b5563;
  line-height: 2;
}
.cart-empty-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.cart-page .text-primary {
  color: #111827 !important;
}
.cart-page .btn-outline {
  min-height: 48px;
  padding: 0 18px;
  border-radius: 16px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(17, 24, 39, 0.14);
  color: #111827;
  background: #ffffff;
}
.cart-page .btn-outline:hover {
  background: rgba(17, 24, 39, 0.05);
}
.cart-page svg, .cart-page-body svg {
  stroke: currentColor;
}
@media (max-width: 1100px) {
  .cart-layout {
    grid-template-columns: 1fr;
  }
  .cart-summary {
    position: static;
  }
}
@media (max-width: 860px) {
  .cart-card-inner {
    grid-template-columns: 120px minmax(0, 1fr);
  }
  .cart-item-media {
    min-height: 150px;
  }
  .cart-item-bottom {
    align-items: stretch;
    flex-direction: column;
  }
  .cart-price-wrap {
    width: 100%;
    min-width: 0;
    align-items: flex-start;
    text-align: right;
    padding-top: 10px;
    border-top: 1px solid rgba(17, 24, 39, 0.08);
  }
}
@media (max-width: 640px) {
  .cart-layout {
    gap: 18px;
  }
  .cart-card {
    border-radius: 24px;
  }
  .cart-card-inner {
    grid-template-columns: 1fr;
    padding: 16px;
  }
  .cart-item-media {
    min-height: 220px;
    border-radius: 20px;
  }
  .cart-item-top {
    flex-direction: column;
    align-items: stretch;
  }
  .cart-remove-btn {
    width: 100%;
  }
  .cart-item-meta {
    flex-direction: column;
    gap: 8px;
  }
  .cart-summary {
    padding: 18px;
    border-radius: 24px;
  }
  .cart-coupon-row {
    flex-direction: column;
  }
  .cart-payable {
    flex-direction: column;
    align-items: flex-start;
  }
  .cart-empty {
    padding: 28px 18px;
    border-radius: 24px;
  }
  .cart-empty-actions {
    flex-direction: column;
  }
  .cart-empty-actions .btn {
    width: 100%;
  }
}
.checkout-page {
  min-height: 100vh;
}
.container-main {
  width: min(1200px, calc(100% - 32px));
  margin-inline: auto;
}
.checkout-hero {
  padding: 40px 0 24px;
}
.checkout-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--checkout-muted);
  margin-bottom: 20px;
}
.checkout-breadcrumb a {
  color: var(--checkout-text);
  text-decoration: none;
  transition: color 0.25s ease;
}
.checkout-breadcrumb a:hover {
  color: var(--checkout-dark);
}
.checkout-hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px;
  border-radius: 28px;
  background: linear-gradient( 180deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.88) );
  border: 1px solid var(--checkout-border);
  box-shadow: var(--checkout-shadow);
  backdrop-filter: blur(14px);
}
.checkout-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.07);
  color: var(--checkout-text);
  font-size: 0.8rem;
  font-weight: 800;
  margin-bottom: 10px;
}
.checkout-title {
  margin: 0 0 10px;
  font-size: clamp(1.6rem, 2vw, 2.2rem);
  color: var(--checkout-dark);
  line-height: 1.8;
}
.checkout-subtitle {
  margin: 0;
  color: var(--checkout-muted);
  line-height: 2;
  max-width: 760px;
}
.checkout-section {
  padding-bottom: 40px;
}
.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) 380px;
  gap: 24px;
  align-items: start;
}
.checkout-main {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.checkout-sidebar {
  min-width: 0;
}
.checkout-card {
  border-radius: 28px;
  padding: 24px;
  background: var(--checkout-card);
  border: 1px solid var(--checkout-border);
  box-shadow: var(--checkout-shadow);
  backdrop-filter: blur(16px);
}
.sticky-card {
  position: sticky;
  top: 100px;
}
.checkout-card-head {
  margin-bottom: 20px;
}
.checkout-card-head h2 {
  margin: 0 0 8px;
  font-size: 1.15rem;
  color: var(--checkout-dark);
}
.checkout-card-head p {
  margin: 0;
  color: var(--checkout-muted);
  line-height: 1.9;
  font-size: 0.92rem;
}
.checkout-form {
  display: block;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-group-full {
  grid-column: 1 / -1;
}
.form-group label {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--checkout-text);
}
.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  border: 1px solid rgba(17, 24, 39, 0.12);
  background: rgba(255, 255, 255, 0.95);
  border-radius: 16px;
  padding: 14px 16px;
  color: var(--checkout-dark);
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  font: inherit;
}
.form-group input::placeholder, .form-group textarea::placeholder, .form-group select::placeholder {
  color: #9ca3af;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  border-color: rgba(17, 24, 39, 0.35);
  box-shadow: 0 0 0 4px rgba(17, 24, 39, 0.08);
  background: #ffffff;
}
.form-group textarea {
  resize: vertical;
  min-height: 120px;
}
.error-text {
  min-height: 18px;
  font-size: 0.8rem;
  color: var(--checkout-danger);
}
.payment-gateways {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.gateway-card {
  flex: 1 1 180px;
  min-width: 180px;
  border-radius: 20px;
  border: 1px solid rgba(17, 24, 39, 0.1);
  background: linear-gradient( 180deg, rgba(255, 255, 255, 0.95), rgba(248, 250, 252, 0.95) );
  padding: 16px;
  cursor: pointer;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  position: relative;
}
.gateway-card:hover {
  transform: translateY(-2px);
  border-color: rgba(17, 24, 39, 0.2);
  box-shadow: 0 16px 34px rgba(17, 24, 39, 0.08);
}
.gateway-card.active {
  border-color: #000000;
  background: linear-gradient( 180deg, rgba(17, 24, 39, 0.08), rgba(17, 24, 39, 0.03) );
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.12);
}
.gateway-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.gateway-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}
.gateway-logo {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(17, 24, 39, 0.08);
  color: var(--checkout-dark);
  font-weight: 900;
  font-size: 0.95rem;
}
.gateway-check {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  border: 2px solid rgba(17, 24, 39, 0.22);
  position: relative;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.gateway-card.active .gateway-check {
  border-color: #000000;
  background: #000000;
}
.gateway-card.active .gateway-check::after {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 999px;
  background: #ffffff;
}
.gateway-name {
  margin: 0 0 6px;
  font-size: 1rem;
  color: var(--checkout-dark);
}
.gateway-description {
  margin: 0;
  color: var(--checkout-muted);
  font-size: 0.88rem;
  line-height: 1.9;
}
.invoice-items {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.invoice-item {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}
.invoice-item-image {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  overflow: hidden;
  background: #f3f4f6;
}
.invoice-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.invoice-item-body {
  min-width: 0;
}
.invoice-item-title {
  margin: 0 0 6px;
  font-size: 0.92rem;
  color: var(--checkout-dark);
  line-height: 1.8;
}
.invoice-item-meta {
  color: var(--checkout-muted);
  font-size: 0.82rem;
}
.invoice-item-price {
  color: var(--checkout-dark);
  font-size: 0.9rem;
  font-weight: 900;
  white-space: nowrap;
}
.invoice-divider {
  height: 1px;
  margin: 18px 0;
  background: linear-gradient( 90deg, transparent, rgba(17, 24, 39, 0.14), transparent );
}
.invoice-summary {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.invoice-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--checkout-muted);
  font-size: 0.94rem;
}
.invoice-row strong {
  color: var(--checkout-dark);
}
.invoice-row strong.success {
  color: var(--checkout-success);
}
.invoice-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-radius: 20px;
  padding: 16px 18px;
  background: linear-gradient( 135deg, rgba(17, 24, 39, 0.08), rgba(17, 24, 39, 0.03) );
}
.invoice-total span {
  color: var(--checkout-text);
  font-size: 0.95rem;
}
.invoice-total strong {
  color: var(--checkout-dark);
  font-size: 1.15rem;
  font-weight: 900;
}
.btn {
  min-height: 52px;
  padding: 0 18px;
  border: none;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn-primary {
  background: linear-gradient(135deg, #111111, #000000);
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.22);
}
.btn-primary:hover {
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.28);
}
.btn-block {
  width: 100%;
  margin-top: 18px;
}
.generated-invoice {
  margin-top: 18px;
  border-radius: 22px;
  padding: 18px;
  background: rgba(17, 24, 39, 0.05);
  border: 1px solid rgba(17, 24, 39, 0.08);
}
.generated-invoice.hidden {
  display: none;
}
.generated-invoice-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.generated-invoice-head h3 {
  margin: 0;
  font-size: 1rem;
  color: var(--checkout-dark);
}
.generated-invoice-head span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.08);
  color: var(--checkout-dark);
  font-size: 0.82rem;
  font-weight: 800;
}
.generated-invoice-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.generated-invoice-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--checkout-muted);
  font-size: 0.9rem;
}
.generated-invoice-list strong {
  color: var(--checkout-dark);
}
.checkout-note {
  margin: 14px 0 0;
  color: var(--checkout-muted);
  font-size: 0.86rem;
  line-height: 1.9;
}
@media (max-width: 1100px) {
  .checkout-layout {
    grid-template-columns: 1fr;
  }
  .sticky-card {
    position: static;
  }
}
@media (max-width: 700px) {
  .checkout-hero {
    padding-top: 20px;
  }
  .checkout-hero-content, .checkout-card {
    border-radius: 24px;
    padding: 18px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .invoice-item {
    grid-template-columns: 52px minmax(0, 1fr);
  }
  .invoice-item-price {
    grid-column: 2;
  }
  .gateway-card {
    min-width: 100%;
  }
}
.transaction-page {
  min-height: 100vh;
}
.transaction-hero {
  padding: 40px 0 24px;
}
.transaction-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--checkout-muted);
  margin-bottom: 20px;
}
.transaction-breadcrumb a {
  color: var(--checkout-text);
  text-decoration: none;
  transition: color 0.25s ease;
}
.transaction-breadcrumb a:hover {
  color: var(--checkout-dark);
}
.transaction-hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px;
  border-radius: 28px;
  background: linear-gradient( 180deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.88) );
  border: 1px solid var(--checkout-border);
  box-shadow: var(--checkout-shadow);
  backdrop-filter: blur(14px);
}
.transaction-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.07);
  color: var(--checkout-text);
  font-size: 0.8rem;
  font-weight: 800;
  margin-bottom: 10px;
}
.transaction-title {
  margin: 0 0 10px;
  font-size: clamp(1.6rem, 2vw, 2.2rem);
  color: var(--checkout-dark);
  line-height: 1.8;
}
.transaction-subtitle {
  margin: 0;
  color: var(--checkout-muted);
  line-height: 2;
  max-width: 760px;
}
.transaction-section {
  padding-bottom: 40px;
}
.transaction-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) 380px;
  gap: 24px;
  align-items: start;
}
.transaction-main {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.transaction-sidebar {
  min-width: 0;
}
.transaction-card, .transaction-status-card {
  border-radius: 28px;
  padding: 24px;
  background: var(--checkout-card);
  border: 1px solid var(--checkout-border);
  box-shadow: var(--checkout-shadow);
  backdrop-filter: blur(16px);
}
.transaction-card-head {
  margin-bottom: 20px;
}
.transaction-card-head h2 {
  margin: 0 0 8px;
  font-size: 1.15rem;
  color: var(--checkout-dark);
}
.transaction-card-head p {
  margin: 0;
  color: var(--checkout-muted);
  line-height: 1.9;
  font-size: 0.92rem;
}
.transaction-status-head {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}
.transaction-status-icon {
  width: 72px;
  height: 72px;
  border-radius: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.transaction-status-icon svg {
  width: 34px;
  height: 34px;
}
.transaction-status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
  margin-bottom: 10px;
}
.transaction-status-title {
  margin: 0 0 10px;
  font-size: 1.35rem;
  line-height: 1.8;
  color: var(--checkout-dark);
}
.transaction-status-text {
  margin: 0;
  color: var(--checkout-muted);
  line-height: 2;
}
.transaction-status-card.is-success {
  background: linear-gradient( 180deg, rgba(236, 253, 245, 0.95), rgba(255, 255, 255, 0.96) );
  border-color: rgba(16, 185, 129, 0.18);
}
.transaction-status-card.is-success .transaction-status-icon {
  background: rgba(16, 185, 129, 0.14);
  color: #059669;
}
.transaction-status-card.is-success .transaction-status-badge {
  background: rgba(16, 185, 129, 0.12);
  color: #047857;
}
.transaction-status-card.is-failed {
  background: linear-gradient( 180deg, rgba(254, 242, 242, 0.95), rgba(255, 255, 255, 0.96) );
  border-color: rgba(239, 68, 68, 0.18);
}
.transaction-status-card.is-failed .transaction-status-icon {
  background: rgba(239, 68, 68, 0.12);
  color: #dc2626;
}
.transaction-status-card.is-failed .transaction-status-badge {
  background: rgba(239, 68, 68, 0.12);
  color: #b91c1c;
}
.transaction-status-card.is-pending {
  background: linear-gradient( 180deg, rgba(255, 251, 235, 0.95), rgba(255, 255, 255, 0.96) );
  border-color: rgba(245, 158, 11, 0.2);
}
.transaction-status-card.is-pending .transaction-status-icon {
  background: rgba(245, 158, 11, 0.14);
  color: #d97706;
}
.transaction-status-card.is-pending .transaction-status-badge {
  background: rgba(245, 158, 11, 0.12);
  color: #b45309;
}
.transaction-status-card.is-cancelled {
  background: linear-gradient( 180deg, rgba(243, 244, 246, 0.96), rgba(255, 255, 255, 0.96) );
  border-color: rgba(107, 114, 128, 0.18);
}
.transaction-status-card.is-cancelled .transaction-status-icon {
  background: rgba(107, 114, 128, 0.12);
  color: #4b5563;
}
.transaction-status-card.is-cancelled .transaction-status-badge {
  background: rgba(107, 114, 128, 0.12);
  color: #374151;
}
.transaction-meta-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}
.transaction-meta-item {
  border-radius: 20px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(17, 24, 39, 0.06);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.transaction-meta-item span {
  font-size: 0.82rem;
  color: var(--checkout-muted);
}
.transaction-meta-item strong {
  color: var(--checkout-dark);
  font-size: 0.95rem;
  line-height: 1.8;
}
.transaction-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}
.btn-secondary {
  min-height: 52px;
  padding: 0 18px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font: inherit;
  text-align: center;
  font-weight: 800;
  background: rgba(17, 24, 39, 0.06);
  color: var(--checkout-dark);
  transition: transform 0.25s ease, background 0.25s ease;
}
.btn-secondary:hover {
  transform: translateY(-1px);
  background: rgba(17, 24, 39, 0.1);
}
.transaction-items {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.transaction-item {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
}
.transaction-item-image {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  overflow: hidden;
  background: #f3f4f6;
}
.transaction-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.transaction-item-body {
  min-width: 0;
}
.transaction-item-title {
  margin: 0 0 6px;
  font-size: 0.96rem;
  color: var(--checkout-dark);
  line-height: 1.8;
}
.transaction-item-meta {
  margin: 0;
  color: var(--checkout-muted);
  font-size: 0.84rem;
}
.transaction-item-price {
  color: var(--checkout-dark);
  font-size: 0.95rem;
  font-weight: 900;
  white-space: nowrap;
}
.transaction-summary {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.transaction-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--checkout-muted);
  font-size: 0.94rem;
}
.transaction-row strong {
  color: var(--checkout-dark);
}
.transaction-row strong.success {
  color: var(--checkout-success);
}
.transaction-divider {
  height: 1px;
  margin: 18px 0;
  background: linear-gradient( 90deg, transparent, rgba(17, 24, 39, 0.14), transparent );
}
.transaction-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-radius: 20px;
  padding: 16px 18px;
  background: linear-gradient( 135deg, rgba(17, 24, 39, 0.08), rgba(17, 24, 39, 0.03) );
}
.transaction-total span {
  color: var(--checkout-text);
  font-size: 0.95rem;
}
.transaction-total strong {
  color: var(--checkout-dark);
  font-size: 1.15rem;
  font-weight: 900;
}
.transaction-extra-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.transaction-extra-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--checkout-muted);
  font-size: 0.92rem;
}
.transaction-extra-list strong {
  color: var(--checkout-dark);
}
.transaction-extra-list strong.success {
  color: var(--checkout-success);
}
.transaction-note {
  margin: 16px 0 0;
  color: var(--checkout-muted);
  font-size: 0.86rem;
  line-height: 1.9;
}
@media (max-width: 1100px) {
  .transaction-layout {
    grid-template-columns: 1fr;
  }
  .transaction-meta-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 700px) {
  .transaction-hero {
    padding-top: 20px;
  }
  .transaction-hero-content, .transaction-card, .transaction-status-card {
    border-radius: 24px;
    padding: 18px;
  }
  .transaction-status-head {
    flex-direction: column;
  }
  .transaction-meta-grid {
    grid-template-columns: 1fr;
  }
  .transaction-item {
    grid-template-columns: 60px minmax(0, 1fr);
  }
  .transaction-item-price {
    grid-column: 2;
  }
  .transaction-actions {
    flex-direction: column;
  }
  .transaction-actions .btn, .transaction-actions .btn-secondary {
    width: 100%;
  }
}
.login-page {
  min-height: calc(100vh - 260px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 0;
}
.login-shell {
  width: 100%;
  max-width: 34rem;
  margin-inline: auto;
}
.login-card {
  border-radius: 1.75rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
  padding: 1.25rem;
}
@media (min-width: 640px) {
  .login-card {
    padding: 1.75rem;
  }
}
.login-title {
  font-size: 1.5rem;
  font-weight: 900;
  color: #0f172a;
  line-height: 1.9;
}
.login-subtitle {
  margin-top: 0.5rem;
  color: #64748b;
  line-height: 2;
  font-size: 0.95rem;
}
.login-alert {
  display: none;
  margin-top: 1rem;
  margin-bottom: 1rem;
  border-radius: 1rem;
  padding: 0.85rem 1rem;
  font-size: 0.9rem;
  line-height: 1.9;
}
.login-alert.show {
  display: block;
}
.login-alert.error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
}
.login-alert.success {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #047857;
}
.login-form {
  margin-top: 1.25rem;
}
.login-field + .login-field {
  margin-top: 1rem;
}
.login-label {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.9rem;
  font-weight: 800;
  color: #334155;
}
.login-input-wrap {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 1rem;
  background: #fff;
  padding: 0 0.9rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.login-input-wrap:focus-within {
  border-color: #111827;
  box-shadow: 0 0 0 4px rgba(17, 24, 39, 0.08);
}
.login-input {
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  padding: 0.95rem 0;
  color: #0f172a;
  font-size: 0.95rem;
}
.login-input::placeholder {
  color: #94a3b8;
}
.login-actions {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.25rem;
}
.login-back {
  margin-top: 0.75rem;
  text-align: center;
}
.login-back button {
  border: none;
  background: transparent;
  color: #475569;
  font-weight: 700;
  cursor: pointer;
}
.login-note {
  margin-top: 1.25rem;
  text-align: center;
  color: #64748b;
  font-size: 0.85rem;
  line-height: 1.9;
}
.otp-meta {
  margin-top: 0.75rem;
  color: #64748b;
  font-size: 0.85rem;
  line-height: 1.9;
}
.hidden-step {
  display: none !important;
}
.otp-group {
  display: flex;
  direction: ltr;
  justify-content: center;
  gap: 0.65rem;
  margin-top: 0.5rem;
}
.otp-box {
  width: 3.2rem;
  height: 3.4rem;
  border-radius: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: #fff;
  text-align: center;
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}
.otp-box:focus {
  border-color: #111827;
  box-shadow: 0 0 0 4px rgba(17, 24, 39, 0.08);
  transform: translateY(-1px);
}
.otp-box.filled {
  border-color: #0f172a;
}
.otp-caption {
  margin-top: 0.75rem;
  text-align: center;
  color: #64748b;
  font-size: 0.85rem;
  line-height: 1.9;
}
.otp-caption.done {
  color: #0f172a;
  font-weight: 700;
}
#resendOtpButton:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
@layer components {
  .account-page {
    background: var(--color-bg);
    color: var(--color-text);
  }
  .account-hero {
    padding: 24px 0 12px;
  }
  .account-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-text-soft);
    font-size: 0.88rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
  }
  .account-breadcrumb a {
    color: var(--color-text-soft);
    text-decoration: none;
    transition: color 0.2s ease;
  }
  .account-breadcrumb a:hover {
    color: var(--color-primary);
  }
  .account-hero-box {
    padding: 1.5rem;
    border: 1px solid var(--color-line);
    border-radius: calc(var(--radius-card) + 0.25rem);
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    box-shadow: var(--shadow-card);
  }
  .account-kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    background: var(--color-muted);
    color: var(--color-primary);
    font-size: 0.78rem;
    font-weight: 800;
  }
  .account-title {
    margin: 0;
    color: var(--color-primary);
    font-size: 1.8rem;
    font-weight: 900;
    line-height: 1.5;
  }
  .account-subtitle {
    margin: 0.75rem 0 0;
    max-width: 700px;
    color: var(--color-text-soft);
    font-size: 0.96rem;
    line-height: 2;
  }
  .account-section {
    padding: 12px 0 48px;
  }
  .account-layout {
    display: grid;
    grid-template-columns: 290px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
  }
  .account-sidebar {
    position: sticky;
    top: 100px;
    min-width: 0;
  }
  .account-main {
    display: flex;
    flex-direction: column;
    gap: 24px;
    min-width: 0;
  }
  .account-card {
    border: 1px solid var(--color-line);
    border-radius: calc(var(--radius-card) + 0.125rem);
    background: var(--color-surface);
    box-shadow: var(--shadow-card);
    padding: 1.25rem;
    min-width: 0;
  }
  .account-user-card {
    padding: 1rem;
  }
  .account-user {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--color-line);
    min-width: 0;
  }
  .account-user-avatar {
    width: 56px;
    height: 56px;
    min-width: 56px;
    max-width: 56px;
    flex: 0 0 56px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary);
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 900;
    overflow: hidden;
  }
  .account-user > div:not(.account-user-avatar) {
    min-width: 0;
    flex: 1;
  }
  .account-user h2 {
    margin: 0;
    color: var(--color-primary);
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.6;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .account-user p {
    margin: 0.3rem 0 0;
    color: var(--color-text-soft);
    font-size: 0.82rem;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    direction: ltr;
    text-align: right;
    line-height: 1.6;
  }
  .account-menu {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
  }
  .account-menu a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-height: 46px;
    padding: 0.8rem 0.9rem;
    border-radius: 0.9rem;
    color: var(--color-text-soft);
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
  }
  .account-menu a:hover {
    background: var(--color-muted);
    color: var(--color-primary);
    transform: translateX(-2px);
  }
  .account-menu a.active {
    background: var(--color-primary);
    color: #ffffff;
  }
  .account-menu a.danger {
    color: #dc2626;
  }
  .account-menu a.danger:hover {
    background: #fef2f2;
    color: #b91c1c;
  }
  .account-menu a svg {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
  }
  .account-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
    min-width: 0;
  }
  .account-card-head h2 {
    margin: 0;
    color: var(--color-primary);
    font-size: 1.05rem;
    font-weight: 800;
  }
  .account-card-head p {
    margin: 0.35rem 0 0;
    color: var(--color-text-soft);
    font-size: 0.86rem;
    line-height: 1.8;
  }
  .account-welcome {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.1rem;
    border-radius: 1rem;
    background: var(--color-muted);
    min-width: 0;
  }
  .account-welcome h3 {
    margin: 0;
    color: var(--color-primary);
    font-size: 1.05rem;
    font-weight: 800;
  }
  .account-welcome p {
    margin: 0.45rem 0 0;
    color: var(--color-text-soft);
    font-size: 0.9rem;
    line-height: 1.9;
  }
  .account-welcome-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    min-height: 40px;
    padding: 0.7rem 1rem;
    border-radius: 999px;
    background: var(--color-accent);
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 800;
    flex-shrink: 0;
  }
  .account-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
  }
  .account-stat-card {
    border: 1px solid var(--color-line);
    border-radius: 1rem;
    background: var(--color-surface);
    box-shadow: var(--shadow-card);
    padding: 1rem;
    min-width: 0;
  }
  .account-stat-icon {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.8rem;
    border-radius: 0.9rem;
    background: var(--color-muted);
    color: var(--color-primary);
  }
  .account-stat-icon svg {
    width: 20px;
    height: 20px;
  }
  .account-stat-card p {
    margin: 0;
    color: var(--color-text-soft);
    font-size: 0.84rem;
    line-height: 1.7;
  }
  .account-stat-card strong {
    display: block;
    margin-top: 0.55rem;
    color: var(--color-primary);
    font-size: 1.15rem;
    font-weight: 900;
    line-height: 1.5;
    overflow-wrap: anywhere;
  }
  .account-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }
  .account-info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
  .account-info-box {
    padding: 1rem;
    border: 1px solid var(--color-line);
    border-radius: 0.95rem;
    background: var(--color-bg);
    min-width: 0;
  }
  .account-info-box span {
    display: block;
    color: var(--color-text-soft);
    font-size: 0.8rem;
    margin-bottom: 0.45rem;
  }
  .account-info-box strong {
    display: block;
    max-width: 100%;
    color: var(--color-primary);
    font-size: 0.95rem;
    font-weight: 800;
    overflow-wrap: anywhere;
    word-break: break-word;
    line-height: 1.8;
  }
  .account-shortcuts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
  .account-shortcuts a {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem;
    border: 1px solid var(--color-line);
    border-radius: 1rem;
    background: var(--color-bg);
    color: var(--color-primary);
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    min-width: 0;
  }
  .account-shortcuts a:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    border-color: #d6dee8;
  }
  .account-shortcuts a svg {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    color: var(--color-primary);
  }
  .account-shortcuts a span {
    font-size: 0.88rem;
    font-weight: 700;
    min-width: 0;
    overflow-wrap: anywhere;
  }
  .account-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 1rem;
  }
  .account-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 700px;
  }
  .account-table th, .account-table td {
    padding: 1rem 0.75rem;
    text-align: right;
    border-bottom: 1px solid var(--color-line);
    white-space: nowrap;
  }
  .account-table th {
    color: var(--color-primary);
    font-size: 0.84rem;
    font-weight: 800;
  }
  .account-table td {
    color: var(--color-text-soft);
    font-size: 0.88rem;
  }
  .account-table td a {
    color: var(--color-primary);
    font-weight: 700;
    text-decoration: none;
  }
  .account-table td a:hover {
    text-decoration: underline;
  }
  .status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 800;
    white-space: nowrap;
  }
  .status-badge.success {
    background: #ecfdf5;
    color: #15803d;
  }
  .status-badge.warning {
    background: #fffbeb;
    color: #b45309;
  }
  .status-badge.info {
    background: #eff6ff;
    color: #1d4ed8;
  }
  @media (max-width: 1023px) {
    .account-layout {
      grid-template-columns: 1fr;
    }
    .account-sidebar {
      position: static;
    }
    .account-stats {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .account-grid {
      grid-template-columns: 1fr;
    }
    .account-info-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .account-shortcuts {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }
  @media (max-width: 767px) {
    .account-hero {
      padding: 18px 0 10px;
    }
    .account-hero-box {
      padding: 1.1rem;
    }
    .account-title {
      font-size: 1.35rem;
      line-height: 1.7;
    }
    .account-subtitle {
      font-size: 0.9rem;
      line-height: 1.9;
    }
    .account-section {
      padding: 10px 0 36px;
    }
    .account-layout {
      gap: 18px;
    }
    .account-main {
      gap: 18px;
    }
    .account-card {
      padding: 1rem;
    }
    .account-card-head {
      flex-direction: column;
      align-items: stretch;
    }
    .account-welcome {
      flex-direction: column;
      align-items: flex-start;
    }
    .account-welcome-badge {
      width: 100%;
      justify-content: center;
    }
    .account-stats {
      grid-template-columns: 1fr;
    }
    .account-grid {
      grid-template-columns: 1fr;
      gap: 18px;
    }
    .account-info-grid {
      grid-template-columns: 1fr;
    }
    .account-shortcuts {
      grid-template-columns: 1fr;
    }
    .account-user {
      gap: 0.75rem;
    }
    .account-user-avatar {
      width: 52px;
      height: 52px;
      min-width: 52px;
      max-width: 52px;
      flex-basis: 52px;
      font-size: 1.05rem;
    }
    .account-user h2 {
      font-size: 0.96rem;
    }
    .account-user p {
      font-size: 0.8rem;
    }
    .account-menu a {
      min-height: 44px;
      padding: 0.75rem 0.85rem;
    }
    .account-table {
      min-width: 640px;
    }
  }
  @media (max-width: 479px) {
    .account-hero-box {
      padding: 1rem;
    }
    .account-title {
      font-size: 1.2rem;
    }
    .account-subtitle {
      font-size: 0.86rem;
    }
    .account-card {
      padding: 0.9rem;
      border-radius: 1rem;
    }
    .account-user {
      gap: 0.65rem;
    }
    .account-user-avatar {
      width: 48px;
      height: 48px;
      min-width: 48px;
      max-width: 48px;
      flex-basis: 48px;
      font-size: 1rem;
    }
    .account-user h2 {
      font-size: 0.92rem;
    }
    .account-user p {
      font-size: 0.76rem;
    }
    .account-kicker {
      font-size: 0.72rem;
      padding: 0.32rem 0.7rem;
    }
    .account-card-head h2 {
      font-size: 1rem;
    }
    .account-card-head p, .account-welcome p, .account-stat-card p, .account-shortcuts a span {
      font-size: 0.82rem;
    }
    .account-info-box {
      padding: 0.9rem;
    }
    .account-info-box strong {
      font-size: 0.9rem;
    }
    .account-welcome {
      padding: 1rem;
    }
    .account-table {
      min-width: 560px;
    }
    .account-stats-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }
}
.account-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}
.account-stat-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  border: 1px solid var(--color-line);
  border-radius: calc(var(--radius-card) + 0.125rem);
  background: var(--color-surface);
  box-shadow: var(--shadow-card);
  transition: all 0.3s ease;
}
.account-stat-card:hover {
  border-color: var(--color-primary);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}
.account-stat-icon {
  width: 56px;
  height: 56px;
  min-width: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-size: 1.5rem;
  font-weight: 900;
}
.account-stat-value {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--color-primary);
  line-height: 1.4;
}
.account-stat-label {
  font-size: 0.85rem;
  color: var(--color-text-soft);
  margin-top: 0.25rem;
  line-height: 1.4;
}
.account-table tbody tr {
  border-bottom: 1px solid var(--color-line);
  transition: background-color 0.2s ease;
}
.account-table tbody tr:nth-child(even) {
  background-color: rgba(0, 0, 0, 0.02);
}
.account-table tbody tr:hover {
  background-color: rgba(0, 0, 0, 0.04);
}
.account-table td {
  padding: 0.9rem;
  vertical-align: middle;
  font-size: 0.95rem;
}
.account-table thead th {
  padding: 1rem 0.9rem;
  background: var(--color-muted);
  font-weight: 700;
  text-align: right;
  color: var(--color-text);
  border-bottom: 2px solid var(--color-line);
}
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.75rem;
  border-radius: 0.6rem;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
}
.status-badge.success {
  background: #e8f5e9;
  color: #2e7d32;
}
.status-badge.warning {
  background: #fff3e0;
  color: #e65100;
}
.status-badge.info {
  background: #e3f2fd;
  color: #1565c0;
}
.status-badge.error {
  background: #ffebee;
  color: #c62828;
}
.btn-primary {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 0.9rem;
  background: var(--color-primary);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  white-space: nowrap;
}
.btn-primary:active {
  transform: scale(0.98);
}
.btn-outline {
  padding: 0.75rem 1.5rem;
  border: 1.5px solid var(--color-line);
  border-radius: 0.9rem;
  background: transparent;
  color: var(--color-text);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  white-space: nowrap;
}
.btn-outline.active {
  border-color: var(--color-primary);
  color: var(--color-primary);
}
.btn-outline:active {
  transform: scale(0.98);
}
.btn-link {
  background: transparent;
  color: var(--color-primary);
  padding: 0;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.95rem;
}
.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}
.btn-primary:active {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
.btn-outline:active {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
@media (max-width: 1023px) {
  .account-layout {
    grid-template-columns: 1fr;
  }
  .account-sidebar {
    position: static;
  }
  .account-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .account-stat-card {
    gap: 0.75rem;
    padding: 1rem;
  }
  .account-stat-icon {
    width: 48px;
    height: 48px;
    font-size: 1.25rem;
  }
  .account-stat-value {
    font-size: 1.1rem;
  }
  .account-stat-label {
    font-size: 0.8rem;
  }
  .account-table {
    min-width: 560px;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 767px) {
  .account-card-head {
    flex-direction: column;
    gap: 1rem;
  }
  .account-card-head > div:last-child {
    width: 100%;
    display: flex;
    gap: 0.5rem;
  }
  .account-table td, .account-table th {
    padding: 0.75rem 0.5rem;
    font-size: 0.8rem;
  }
}
@media (max-width: 479px) {
  .account-stats-grid {
    grid-template-columns: 1fr;
  }
  .account-stat-card {
    gap: 0.75rem;
    padding: 0.9rem;
  }
  .account-stat-icon {
    width: 44px;
    height: 44px;
    font-size: 1.1rem;
  }
  .account-stat-value {
    font-size: 1rem;
  }
  .account-stat-label {
    font-size: 0.75rem;
  }
  .account-card {
    padding: 1rem;
  }
  .account-table {
    min-width: 400px;
    font-size: 0.75rem;
  }
  .account-table td, .account-table th {
    padding: 0.5rem 0.25rem;
    font-size: 0.7rem;
  }
  .btn-primary, .btn-outline, .btn-link {
    font-size: 0.8rem;
    padding: 0.5rem 0.75rem;
  }
  .form-row {
    gap: 1rem;
  }
}
.account-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.form-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.form-group {
  flex: 1;
  min-width: 240px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-text);
}
.form-input {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  border: 1px solid var(--color-line);
  border-radius: 0.9rem;
  background: var(--color-bg);
  color: var(--color-text);
  font-size: 0.9rem;
  transition: all 0.25s ease;
}
.form-input::placeholder {
  color: var(--color-text-soft);
  font-size: 0.85rem;
}
.form-input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12);
  background: #ffffff;
}
select.form-input {
  cursor: pointer;
}
textarea.form-input {
  min-height: 120px;
  padding: 12px 14px;
  resize: vertical;
}
.form-checkbox {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.88rem;
  color: var(--color-text);
  cursor: pointer;
}
.form-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--color-primary);
  cursor: pointer;
}
.account-page, .account-page * {
  box-sizing: border-box;
}
.account-page {
  overflow-x: hidden;
}
.account-layout {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
.account-main, .account-sidebar, .account-card {
  min-width: 0;
}
.account-sidebar {
  position: sticky;
  top: 100px;
}
.account-menu a span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.account-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.account-stat-card {
  display: block;
  padding: 1rem;
  border: 1px solid var(--color-line);
  border-radius: 1rem;
  background: var(--color-surface);
  box-shadow: var(--shadow-card);
  min-width: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.account-stat-card:hover {
  transform: translateY(-2px);
  border-color: var(--color-primary);
  box-shadow: var(--shadow-hover, 0 4px 12px rgba(0, 0, 0, 0.08));
}
.account-stat-icon {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.8rem;
  border-radius: 0.95rem;
  background: var(--color-muted);
  color: var(--color-primary);
  flex: none;
}
.account-stat-icon svg {
  width: 22px;
  height: 22px;
}
.account-stat-card p {
  margin: 0;
  color: var(--color-text-soft);
  font-size: 0.84rem;
  line-height: 1.8;
}
.account-stat-card strong {
  display: block;
  margin-top: 0.45rem;
  color: var(--color-primary);
  font-size: 1.15rem;
  font-weight: 900;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.account-card {
  border: 1px solid var(--color-line);
  border-radius: calc(var(--radius-card) + 0.125rem);
  background: var(--color-surface);
  box-shadow: var(--shadow-card);
  padding: 1.25rem;
}
.account-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}
.account-card-head > div {
  min-width: 0;
}
.account-card-head h2 {
  margin: 0;
  color: var(--color-primary);
  font-size: 1.05rem;
  font-weight: 800;
}
.account-card-head p {
  margin: 0.35rem 0 0;
  color: var(--color-text-soft);
  font-size: 0.86rem;
  line-height: 1.8;
}
.account-welcome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem;
  border-radius: 1rem;
  background: var(--color-muted);
}
.account-welcome > div:first-child {
  min-width: 0;
}
.account-welcome h3 {
  margin: 0;
  color: var(--color-primary);
  font-size: 1.05rem;
  font-weight: 800;
}
.account-welcome p {
  margin: 0.45rem 0 0;
  color: var(--color-text-soft);
  font-size: 0.9rem;
  line-height: 1.9;
}
.account-welcome-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: var(--color-accent);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 800;
  white-space: nowrap;
  flex-shrink: 0;
}
.account-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.account-info-grid, .account-shortcuts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.account-info-box {
  padding: 1rem;
  border: 1px solid var(--color-line);
  border-radius: 0.95rem;
  background: var(--color-bg);
  min-width: 0;
}
.account-info-box span {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--color-text-soft);
  font-size: 0.8rem;
}
.account-info-box strong {
  display: block;
  color: var(--color-primary);
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.8;
  overflow-wrap: anywhere;
}
.account-shortcuts a {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem;
  border: 1px solid var(--color-line);
  border-radius: 1rem;
  background: var(--color-bg);
  color: var(--color-primary);
  text-decoration: none;
  min-width: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.account-shortcuts a:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
  border-color: #d6dee8;
}
.account-shortcuts a svg {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
}
.account-shortcuts a span {
  min-width: 0;
  font-size: 0.88rem;
  font-weight: 700;
  overflow-wrap: anywhere;
}
.account-table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--color-line);
  border-radius: 1rem;
}
.account-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  background: var(--color-surface);
}
.account-table th, .account-table td {
  padding: 0.9rem;
  text-align: right;
  vertical-align: middle;
  border-bottom: 1px solid var(--color-line);
  white-space: nowrap;
}
.account-table thead th {
  background: var(--color-muted);
  color: var(--color-text);
  font-size: 0.84rem;
  font-weight: 800;
  border-bottom: 2px solid var(--color-line);
}
.account-table td {
  color: var(--color-text-soft);
  font-size: 0.88rem;
}
.account-table tbody tr:nth-child(even) {
  background-color: rgba(0, 0, 0, 0.02);
}
.account-table tbody tr:hover {
  background-color: rgba(0, 0, 0, 0.04);
}
.account-table td a {
  color: var(--color-primary);
  font-weight: 700;
  text-decoration: none;
}
.account-table td a:hover {
  text-decoration: underline;
}
.status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
  white-space: nowrap;
}
.status-badge.success {
  background: #ecfdf5;
  color: #15803d;
}
.status-badge.warning {
  background: #fffbeb;
  color: #b45309;
}
.status-badge.info {
  background: #eff6ff;
  color: #1d4ed8;
}
.status-badge.error {
  background: #ffebee;
  color: #c62828;
}
.btn-primary, .btn-outline, .btn-link {
  font-family: inherit;
}
.btn-outline, .btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 0.9rem;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}
.btn-outline {
  padding: 0.75rem 1.5rem;
  border: 1.5px solid var(--color-line);
  background: transparent;
  color: var(--color-text);
  font-weight: 600;
  font-size: 0.95rem;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}
.btn-outline:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: var(--color-muted);
}
.btn-primary {
  padding: 0.75rem 1.5rem;
  border: 0;
  background: var(--color-primary);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.95rem;
}
.btn-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: var(--color-primary);
  padding: 0;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
}
.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}
@media (max-width: 1023px) {
  .account-layout {
    grid-template-columns: 1fr;
  }
  .account-sidebar {
    position: static;
  }
  .account-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .account-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 767px) {
  .account-card {
    padding: 1rem;
  }
  .account-card-head {
    flex-direction: column;
    align-items: stretch;
  }
  .account-card-head .btn-outline, .account-card-head .btn-link {
    align-self: flex-start;
  }
  .account-welcome {
    flex-direction: column;
    align-items: flex-start;
  }
  .account-welcome-badge {
    width: 100%;
  }
  .account-stats {
    grid-template-columns: 1fr;
  }
  .account-info-grid, .account-shortcuts {
    grid-template-columns: 1fr;
  }
  .account-table {
    min-width: 560px;
  }
  .account-table th, .account-table td {
    padding: 0.75rem 0.5rem;
    font-size: 0.8rem;
  }
}
@media (max-width: 479px) {
  .account-card {
    padding: 0.9rem;
  }
  .account-stat-card {
    padding: 0.9rem;
  }
  .account-stat-icon {
    width: 42px;
    height: 42px;
  }
  .account-stat-card strong {
    font-size: 1rem;
  }
  .account-table {
    min-width: 500px;
  }
  .btn-outline, .btn-primary {
    width: 100%;
    padding: 0.65rem 0.85rem;
    font-size: 0.84rem;
  }
}
.account-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-line);
  flex-wrap: wrap;
}
.account-pagination > div:first-child {
  color: var(--color-text-soft);
  font-size: 0.88rem;
  font-weight: 500;
}
.pagination-buttons {
  display: flex;
  align-items: center;
  gap: 8px;
}
.pagination-buttons .btn-outline {
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  border-radius: 0.75rem;
  transition: all 0.2s ease;
}
.pagination-buttons .btn-outline.active {
  background-color: var(--color-primary);
  color: #ffffff;
  border-color: var(--color-primary);
}
@media (max-width: 640px) {
  .account-pagination {
    flex-direction: column;
    text-align: center;
    justify-content: center;
    gap: 16px;
  }
  .pagination-buttons {
    width: 100%;
    justify-content: center;
  }
  .pagination-buttons .btn-outline {
    flex: 1;
    padding: 0 8px;
    font-size: 0.8rem;
  }
}
.account-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}
.account-stat-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  border: 1px solid var(--color-line);
  border-radius: calc(var(--radius-card) + 0.125rem);
  background: var(--color-surface);
  box-shadow: var(--shadow-card);
  transition: all 0.3s ease;
}
.account-stat-card:hover {
  border-color: var(--color-primary);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}
.account-stat-icon {
  width: 56px;
  height: 56px;
  min-width: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-size: 1.5rem;
  font-weight: 900;
}
.account-stat-value {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--color-primary);
  line-height: 1.4;
}
.account-stat-label {
  font-size: 0.85rem;
  color: var(--color-text-soft);
  margin-top: 0.25rem;
  line-height: 1.4;
}
.account-table tbody tr {
  border-bottom: 1px solid var(--color-line);
  transition: background-color 0.2s ease;
}
.account-table tbody tr:nth-child(even) {
  background-color: rgba(0, 0, 0, 0.02);
}
.account-table tbody tr:hover {
  background-color: rgba(0, 0, 0, 0.04);
}
.account-table td {
  padding: 0.9rem;
  vertical-align: middle;
  font-size: 0.95rem;
}
.account-table thead th {
  padding: 1rem 0.9rem;
  background: var(--color-muted);
  font-weight: 700;
  text-align: right;
  color: var(--color-text);
  border-bottom: 2px solid var(--color-line);
}
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.75rem;
  border-radius: 0.6rem;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
}
.status-badge.success {
  background: #e8f5e9;
  color: #2e7d32;
}
.status-badge.warning {
  background: #fff3e0;
  color: #e65100;
}
.status-badge.info {
  background: #e3f2fd;
  color: #1565c0;
}
.status-badge.error {
  background: #ffebee;
  color: #c62828;
}
.btn-primary {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 0.9rem;
  background: var(--color-primary);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  white-space: nowrap;
}
.btn-primary:active {
  transform: scale(0.98);
}
.btn-outline {
  padding: 0.75rem 1.5rem;
  border: 1.5px solid var(--color-line);
  border-radius: 0.9rem;
  background: transparent;
  color: var(--color-text);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  white-space: nowrap;
}
.btn-outline.active {
  border-color: var(--color-primary);
  color: var(--color-primary);
}
.btn-outline:active {
  transform: scale(0.98);
}
.btn-link {
  background: transparent;
  color: var(--color-primary);
  padding: 0;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.95rem;
}
.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}
.btn-primary:active {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
.btn-outline:active {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
@media (max-width: 1023px) {
  .account-layout {
    grid-template-columns: 1fr;
  }
  .account-sidebar {
    position: static;
  }
  .account-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .account-stat-card {
    gap: 0.75rem;
    padding: 1rem;
  }
  .account-stat-icon {
    width: 48px;
    height: 48px;
    font-size: 1.25rem;
  }
  .account-stat-value {
    font-size: 1.1rem;
  }
  .account-stat-label {
    font-size: 0.8rem;
  }
  .account-table {
    min-width: 560px;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 767px) {
  .account-card-head {
    flex-direction: column;
    gap: 1rem;
  }
  .account-card-head > div:last-child {
    width: 100%;
    display: flex;
    gap: 0.5rem;
  }
  .account-table td, .account-table th {
    padding: 0.75rem 0.5rem;
    font-size: 0.8rem;
  }
}
@media (max-width: 479px) {
  .account-stats-grid {
    grid-template-columns: 1fr;
  }
  .account-stat-card {
    gap: 0.75rem;
    padding: 0.9rem;
  }
  .account-stat-icon {
    width: 44px;
    height: 44px;
    font-size: 1.1rem;
  }
  .account-stat-value {
    font-size: 1rem;
  }
  .account-stat-label {
    font-size: 0.75rem;
  }
  .account-card {
    padding: 1rem;
  }
  .account-table {
    min-width: 400px;
    font-size: 0.75rem;
  }
  .account-table td, .account-table th {
    padding: 0.5rem 0.25rem;
    font-size: 0.7rem;
  }
  .btn-primary, .btn-outline, .btn-link {
    font-size: 0.8rem;
    padding: 0.5rem 0.75rem;
  }
  .form-row {
    gap: 1rem;
  }
}
.account-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.form-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.form-group {
  flex: 1;
  min-width: 240px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-text);
}
.form-input {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  border: 1px solid var(--color-line);
  border-radius: 0.9rem;
  background: var(--color-bg);
  color: var(--color-text);
  font-size: 0.9rem;
  transition: all 0.25s ease;
}
.form-input::placeholder {
  color: var(--color-text-soft);
  font-size: 0.85rem;
}
.form-input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12);
  background: #ffffff;
}
select.form-input {
  cursor: pointer;
}
textarea.form-input {
  min-height: 120px;
  padding: 12px 14px;
  resize: vertical;
}
.form-checkbox {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.88rem;
  color: var(--color-text);
  cursor: pointer;
}
.form-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--color-primary);
  cursor: pointer;
}
.account-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-line);
  flex-wrap: wrap;
}
.account-pagination > div:first-child {
  color: var(--color-text-soft);
  font-size: 0.88rem;
  font-weight: 500;
}
.pagination-buttons {
  display: flex;
  align-items: center;
  gap: 8px;
}
.pagination-buttons .btn-outline {
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  border-radius: 0.75rem;
  transition: all 0.2s ease;
}
.pagination-buttons .btn-outline.active {
  background-color: var(--color-primary);
  color: #ffffff;
  border-color: var(--color-primary);
}
@media (max-width: 640px) {
  .account-pagination {
    flex-direction: column;
    text-align: center;
    justify-content: center;
    gap: 16px;
  }
  .pagination-buttons {
    width: 100%;
    justify-content: center;
  }
  .pagination-buttons .btn-outline {
    flex: 1;
    padding: 0 8px;
    font-size: 0.8rem;
  }
}
.account-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}
.account-stat-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 1.25rem 1rem;
  border: 1px solid var(--color-line);
  border-radius: 1.25rem;
  background: var(--color-surface);
  box-shadow: var(--shadow-card);
  transition: all 0.3s ease;
  min-width: 0;
}
.account-stat-card:hover {
  border-color: var(--color-primary);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}
.account-stat-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--color-muted);
  color: var(--color-primary);
  flex-shrink: 0;
}
.account-stat-icon svg {
  width: 24px;
  height: 24px;
}
.account-stat-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.account-stat-label {
  font-size: 0.8rem;
  color: var(--color-text-soft);
  font-weight: 500;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.account-stat-value {
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--color-primary);
  margin: 0;
  line-height: 1.2;
  word-break: break-all;
}
@media (max-width: 1023px) {
  .account-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .account-stats {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .account-stat-card {
    padding: 1rem;
  }
}
.account-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 8px;
}
.account-stat-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 1.25rem 1rem;
  border: 1px solid var(--color-line);
  border-radius: 1.25rem;
  background: var(--color-surface);
  box-shadow: var(--shadow-card);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  min-width: 0;
}
.account-stat-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-primary);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.06);
}
.account-stat-icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: var(--color-muted);
  color: var(--color-primary);
  flex-shrink: 0;
}
.account-stat-icon svg {
  width: 26px;
  height: 26px;
}
.account-stat-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.account-stat-label {
  margin: 0 !important;
  color: var(--color-text-soft) !important;
  font-size: 0.82rem !important;
  font-weight: 500;
  white-space: nowrap;
}
.account-stat-value {
  margin: 0 !important;
  color: var(--color-primary) !important;
  font-size: 1.15rem !important;
  font-weight: 900;
  line-height: 1.2;
}
@media (max-width: 1199px) {
  .account-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 639px) {
  .account-stats {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}
.account-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 8px;
  min-width: 0;
}
.account-stat-card {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  min-height: 96px;
  padding: 1.1rem 1rem;
  border: 1px solid var(--color-line);
  border-radius: 1.25rem;
  background: var(--color-surface);
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
}
.account-stat-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-primary);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.06);
}
.account-stat-icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  max-width: 52px;
  flex: 0 0 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: var(--color-muted);
  color: var(--color-primary);
  flex-shrink: 0;
}
.account-stat-icon svg {
  width: 26px;
  height: 26px;
}
.account-stat-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  min-width: 0;
  flex: 1 1 auto;
  overflow: hidden;
}
.account-stat-label {
  margin: 0;
  color: var(--color-text-soft);
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.5;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.account-stat-value {
  margin: 0;
  color: var(--color-primary);
  font-size: 1.08rem;
  font-weight: 900;
  line-height: 1.45;
  min-width: 0;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
  direction: rtl;
  text-align: right;
}
.account-stat-value small, .account-stat-value span {
  display: inline;
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
}
@media (max-width: 1199px) {
  .account-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 639px) {
  .account-stats {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .account-stat-card {
    min-height: unset;
    padding: 1rem;
    gap: 12px;
  }
  .account-stat-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    max-width: 48px;
    flex-basis: 48px;
    border-radius: 12px;
  }
  .account-stat-icon svg {
    width: 24px;
    height: 24px;
  }
  .account-stat-label {
    font-size: 0.8rem;
  }
  .account-stat-value {
    font-size: 1rem;
    line-height: 1.5;
  }
}
@media (max-width: 399px) {
  .account-stat-card {
    padding: 0.9rem;
    gap: 10px;
  }
  .account-stat-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    max-width: 44px;
    flex-basis: 44px;
  }
  .account-stat-icon svg {
    width: 22px;
    height: 22px;
  }
  .account-stat-label {
    font-size: 0.76rem;
  }
  .account-stat-value {
    font-size: 0.95rem;
  }
}
.shop-product-desc {
  font-size: 13px;
  line-height: 2;
  color: #64748b;
  margin-top: 10px;
}
.blog-featured {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  height: 260px;
}
.blog-featured-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.blog-featured-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient( to top, rgba(15, 23, 42, 0.88), rgba(15, 23, 42, 0.18) );
}
.blog-featured-content {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  z-index: 2;
  padding: 24px;
  color: white;
}
.blog-featured-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  font-size: 12px;
  margin-bottom: 12px;
}
.blog-featured-title {
  font-size: 24px;
  font-weight: 800;
  line-height: 1.8;
}
.blog-featured-text {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 2;
  max-width: 620px;
  font-size: 14px;
}
.blog-featured-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 18px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.74);
}
.blog-sidebar-card {
  border-radius: 24px;
  border: 1px solid #e2e8f0;
  background: white;
  padding: 24px;
}
.blog-sidebar-title {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 20px;
}
.popular-post {
  display: flex;
  gap: 14px;
}
.popular-post + .popular-post {
  margin-top: 18px;
}
.popular-post img {
  width: 82px;
  height: 82px;
  border-radius: 18px;
  object-fit: cover;
}
.popular-post-title {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.9;
}
.popular-post-meta {
  margin-top: 6px;
  font-size: 12px;
  color: #94a3b8;
}
@media (max-width: 768px) {
  .blog-featured {
    height: 220px;
    border-radius: 24px;
  }
  .blog-featured-content {
    padding: 18px;
  }
  .blog-featured-badge {
    font-size: 11px;
    padding: 5px 10px;
    margin-bottom: 8px;
  }
  .blog-featured-title {
    font-size: 18px;
    line-height: 1.7;
  }
  .blog-featured-text {
    display: none;
  }
  .blog-featured-meta {
    margin-top: 10px;
    gap: 10px;
    font-size: 11px;
  }
  .popular-post img {
    width: 72px;
    height: 72px;
    border-radius: 16px;
  }
}
.product-page {
  min-height: 100vh;
  background: radial-gradient( circle at top right, rgba(44, 62, 92, 0.1), transparent 28% ), radial-gradient( circle at bottom left, rgba(120, 125, 134, 0.08), transparent 30% ), linear-gradient(180deg, #f7f5f1 0%, #fbfaf8 48%, #ffffff 100%);
}
.page-breadcrumbs {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  padding: 18px 22px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.74);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(120, 129, 145, 0.14);
  box-shadow: 0 18px 40px rgba(25, 30, 40, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.34);
}
.page-breadcrumbs-inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.breadcrumb-link, .breadcrumb-current {
  font-size: 0.92rem;
  font-weight: 700;
}
.breadcrumb-link {
  color: #2b3b55;
  text-decoration: none;
  transition: color 0.2s ease;
}
.breadcrumb-link:hover {
  color: #445a7a;
}
.breadcrumb-current {
  color: #70695f;
}
.breadcrumb-separator {
  color: #b4aea4;
}
.page-breadcrumb-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.page-breadcrumb-actions .btn-outline {
  padding: 0.9rem 1.3rem;
}
.admin-welcome-card {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  padding: 30px;
  border-radius: 30px;
  background: linear-gradient( 135deg, rgba(27, 39, 60, 0.96), rgba(49, 63, 88, 0.92) );
  border: 1px solid rgba(146, 154, 166, 0.16);
  box-shadow: 0 22px 55px rgba(17, 24, 39, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.admin-welcome-card::before {
  content: "";
  position: absolute;
  inset: auto auto -70px -40px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient( circle, rgba(255, 255, 255, 0.08), transparent 68% );
  pointer-events: none;
}
.admin-welcome-content {
  position: relative;
  z-index: 1;
}
.admin-welcome-card h2 {
  margin: 0;
  color: #ffffff;
  font-size: 1.7rem;
  line-height: 1.4;
}
.admin-welcome-card p {
  margin: 10px 0 0;
  max-width: 660px;
  color: rgba(237, 240, 245, 0.78);
  line-height: 1.9;
}
.product-actions {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}
.product-header-card, .product-panel {
  background: rgba(255, 255, 255, 0.76);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(127, 136, 150, 0.14);
  box-shadow: 0 18px 45px rgba(26, 31, 44, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.32);
  border-radius: 28px;
  padding: 28px;
}
.product-header-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.product-label, .dashboard-label {
  display: inline-block;
  margin-bottom: 10px;
  color: #42556f;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.product-header-card h1, .product-panel-head h2 {
  margin: 0;
  color: #1f2d40;
}
.product-header-card p, .product-panel-head p, .product-meta {
  margin: 0;
  color: #746f67;
}
.product-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}
.product-filters {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}
.form_group {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.form_group label {
  color: #2f3f57;
  font-size: 0.9rem;
  font-weight: 700;
}
.form_group input, .form_group select, .form_group textarea {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border-radius: 16px;
  border: 1px solid rgba(164, 170, 180, 0.42);
  background: rgba(255, 255, 255, 0.88);
  color: #1f2937;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.form_group textarea {
  min-height: 120px;
  padding: 14px;
}
.form_group input::placeholder {
  color: #9a958c;
}
.form_group input:focus, .form_group select:focus, .form_group textarea:focus {
  border-color: rgba(70, 87, 115, 0.58);
  box-shadow: 0 0 0 4px rgba(70, 87, 115, 0.1);
  transform: translateY(-1px);
}
.product-table-card {
  margin-top: 24px;
}
.product-table-wrap {
  overflow-x: auto;
  margin-top: 18px;
  border-radius: 24px;
  border: 1px solid rgba(188, 192, 200, 0.18);
  background: rgba(255, 255, 255, 0.76);
}
.product-table {
  width: 100%;
  border-collapse: collapse;
}
.product-table th, .product-table td {
  padding: 1rem 0.95rem;
  text-align: right;
  border-bottom: 1px solid rgba(229, 224, 216, 0.9);
  white-space: nowrap;
}
.product-table thead tr {
  background: rgba(244, 245, 247, 0.82);
}
.product-table th {
  color: #2d405c;
  font-size: 0.86rem;
  font-weight: 800;
}
.product-table td {
  color: #4f5c6d;
  font-size: 0.93rem;
}
.product-table tbody tr {
  transition: background 0.2s ease;
}
.product-table tbody tr:hover {
  background: rgba(245, 246, 248, 0.86);
}
.table-action-link {
  color: #334862;
  font-weight: 800;
  text-decoration: none;
  transition: color 0.2s ease;
}
.table-action-link:hover {
  color: #1f2d40;
  text-decoration: underline;
}
.status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 74px;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
  border: 1px solid transparent;
}
.status-badge.success {
  background: rgba(227, 241, 233, 0.92);
  color: #2f6a4b;
  border-color: rgba(47, 106, 75, 0.1);
}
.status-badge.warning {
  background: rgba(239, 239, 239, 0.95);
  color: #5f6570;
  border-color: rgba(95, 101, 112, 0.1);
}
.status-badge.info {
  background: rgba(229, 235, 242, 0.94);
  color: #41556f;
  border-color: rgba(65, 85, 111, 0.1);
}
.status-badge.muted {
  background: rgba(244, 244, 244, 0.95);
  color: #5f6875;
  border-color: rgba(95, 104, 117, 0.08);
}
.products-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.pagination-btn, .pagination-dots {
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.92rem;
  font-weight: 700;
}
.pagination-btn {
  text-decoration: none;
  color: #2d405c;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(151, 160, 173, 0.16);
  box-shadow: 0 10px 24px rgba(27, 31, 40, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.pagination-btn:hover {
  transform: translateY(-2px);
  color: #1f2d40;
  box-shadow: 0 14px 30px rgba(27, 31, 40, 0.08);
}
.pagination-btn.active {
  color: #ffffff;
  background: linear-gradient(135deg, #1f304c, #344766);
  border-color: rgba(31, 48, 76, 0.34);
  box-shadow: 0 14px 30px rgba(31, 48, 76, 0.18);
}
.pagination-dots {
  color: #8d867e;
}
@media (max-width: 1023px) {
  .product-filters {
    grid-template-columns: 1fr;
  }
  .product-header-card, .product-panel, .admin-welcome-card {
    padding: 22px;
  }
  .product-panel-head {
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width: 767px) {
  .page-breadcrumbs {
    flex-direction: column;
    align-items: flex-start;
  }
  .page-breadcrumb-actions {
    width: 100%;
  }
  .page-breadcrumb-actions .btn-outline {
    width: 100%;
    justify-content: center;
  }
  .admin-welcome-card {
    flex-direction: column;
    align-items: flex-start;
  }
  .product-actions {
    width: 100%;
    justify-content: stretch;
    flex-direction: column;
  }
  .product-actions a {
    width: 100%;
    text-align: center;
  }
  .products-pagination {
    justify-content: flex-start;
  }
}
.add-product-page {
  min-height: 100vh;
  background: radial-gradient( circle at top right, rgba(45, 62, 88, 0.1), transparent 28% ), radial-gradient( circle at bottom left, rgba(132, 137, 145, 0.08), transparent 30% ), linear-gradient(180deg, #f7f5f1 0%, #fbfaf8 48%, #ffffff 100%);
}
.page-breadcrumbs {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  padding: 18px 22px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.74);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(124, 132, 145, 0.14);
  box-shadow: 0 18px 40px rgba(25, 30, 40, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.34);
}
.page-breadcrumbs-inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.breadcrumb-link, .breadcrumb-current {
  font-size: 0.92rem;
  font-weight: 700;
}
.breadcrumb-link {
  color: #2a3a54;
  text-decoration: none;
  transition: color 0.2s ease;
}
.breadcrumb-link:hover {
  color: #435875;
}
.breadcrumb-current {
  color: #70695f;
}
.breadcrumb-separator {
  color: #b3ada4;
}
.page-breadcrumb-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.page-breadcrumb-actions .btn-outline {
  padding: 0.9rem 1.3rem;
}
.admin-welcome-card {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  padding: 30px;
  border-radius: 30px;
  background: linear-gradient( 135deg, rgba(236, 239, 243, 0.82), rgba(248, 246, 242, 0.88) );
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(126, 135, 148, 0.14);
  box-shadow: 0 18px 45px rgba(26, 31, 44, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.38);
}
.admin-welcome-card::before {
  content: "";
  position: absolute;
  inset: auto auto -70px -40px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(63, 78, 99, 0.08), transparent 68%);
  pointer-events: none;
}
.admin-welcome-content {
  position: relative;
  z-index: 1;
}
.admin-welcome-card h2 {
  margin: 0;
  color: #243446;
  font-size: 1.7rem;
  line-height: 1.4;
}
.admin-welcome-card p {
  margin: 10px 0 0;
  max-width: 660px;
  color: #6b7280;
  line-height: 1.9;
}
.product-actions {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}
.product-header-card, .product-panel {
  background: rgba(255, 255, 255, 0.76);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(126, 135, 148, 0.14);
  box-shadow: 0 18px 45px rgba(26, 31, 44, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.32);
  border-radius: 28px;
  padding: 28px;
}
.product-header-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.product-label, .dashboard-label {
  display: inline-block;
  margin-bottom: 10px;
  color: #42556f;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.product-header-card h1, .product-panel-head h2, .product-form-section h2 {
  margin: 0;
  color: #1f2d40;
}
.product-header-card p, .product-panel-head p {
  margin: 0;
  color: #746f67;
}
.product-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 4px;
}
.product-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.form_group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.form_group-full {
  grid-column: 1 / -1;
}
.form_group label {
  color: #2f3f57;
  font-size: 0.92rem;
  font-weight: 700;
}
.form_group input, .form_group select, .form_group textarea {
  width: 100%;
  min-height: 50px;
  padding: 0 14px;
  border-radius: 16px;
  border: 1px solid rgba(164, 170, 180, 0.42);
  background: rgba(255, 255, 255, 0.9);
  color: #1f2937;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, background 0.2s ease;
}
.form_group textarea {
  min-height: 130px;
  padding: 14px;
  resize: vertical;
}
.form_group input::placeholder, .form_group textarea::placeholder {
  color: #9a958c;
}
.form_group input:focus, .form_group select:focus, .form_group textarea:focus {
  border-color: rgba(70, 87, 115, 0.58);
  box-shadow: 0 0 0 4px rgba(70, 87, 115, 0.1);
  background: rgba(255, 255, 255, 0.98);
  transform: translateY(-1px);
}
.product-form-section {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 12px;
  padding-top: 8px;
}
.product-switches {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 4px;
}
.switch {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 16px;
  background: rgba(247, 247, 248, 0.88);
  border: 1px solid rgba(183, 187, 194, 0.22);
  color: #334155;
  font-weight: 700;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.switch:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(27, 31, 40, 0.05);
}
.switch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.switch-body {
  width: 46px;
  height: 26px;
  border-radius: 999px;
  background: #d8dde5;
  position: relative;
  flex-shrink: 0;
  transition: background 0.25s ease;
}
.switch-body::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 3px 8px rgba(15, 23, 42, 0.12);
  transition: transform 0.25s ease;
}
.switch input:checked + .switch-body {
  background: linear-gradient(135deg, #243753, #42556f);
}
.switch input:checked + .switch-body::after {
  transform: translateX(20px);
}
.switch-text {
  color: #2f3f57;
}
.form-actions {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
  padding-top: 8px;
}
@media (max-width: 1023px) {
  .product-form {
    grid-template-columns: 1fr;
  }
  .product-header-card, .product-panel, .admin-welcome-card {
    padding: 22px;
  }
  .product-form-section, .form-actions {
    flex-direction: column;
    align-items: stretch;
  }
}
@media (max-width: 767px) {
  .page-breadcrumbs {
    flex-direction: column;
    align-items: flex-start;
  }
  .page-breadcrumb-actions {
    width: 100%;
  }
  .page-breadcrumb-actions .btn-outline {
    width: 100%;
    justify-content: center;
  }
  .admin-welcome-card {
    flex-direction: column;
    align-items: flex-start;
  }
  .product-actions {
    width: 100%;
    flex-direction: column;
    justify-content: stretch;
  }
  .product-actions a {
    width: 100%;
    text-align: center;
  }
  .product-switches {
    flex-direction: column;
    align-items: stretch;
  }
  .switch {
    width: 100%;
    justify-content: space-between;
  }
  .form-actions {
    flex-direction: column;
  }
  .form-actions .btn-primary, .form-actions .btn-outline {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}
.admin-welcome-card .product-actions .btn-primary, .admin-welcome-card .product-actions .btn-secondary, .admin-welcome-card .product-actions .btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.9rem 1.4rem;
  border-radius: 16px;
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid rgba(63, 79, 104, 0.22);
  background: linear-gradient(135deg, #2c3e55, #44576f);
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(38, 56, 79, 0.14);
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, color 0.2s ease;
}
.admin-welcome-card .product-actions .btn-primary:hover, .admin-welcome-card .product-actions .btn-secondary:hover, .admin-welcome-card .product-actions .btn-outline:hover {
  background: linear-gradient(135deg, #24364b, #3d5068);
  border-color: rgba(63, 79, 104, 0.34);
  box-shadow: 0 16px 34px rgba(38, 56, 79, 0.18);
  transform: translateY(-1px);
  color: #ffffff;
}
.admin-welcome-card .product-actions .btn-primary:active, .admin-welcome-card .product-actions .btn-secondary:active, .admin-welcome-card .product-actions .btn-outline:active {
  transform: translateY(0);
  box-shadow: 0 10px 20px rgba(38, 56, 79, 0.12);
}
.admin-welcome-card .product-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  flex-wrap: nowrap;
}
.admin-welcome-card .product-actions .btn-primary, .admin-welcome-card .product-actions .btn-secondary, .admin-welcome-card .product-actions .btn-outline {
  flex: 0 0 auto;
  width: auto;
  min-width: 0;
  white-space: nowrap;
  padding: 0.65rem 0.9rem;
  min-height: 40px;
  font-size: 0.8rem;
  border-radius: 13px;
}
.error404-page {
  position: relative;
  overflow: hidden;
  padding: 48px 0 88px;
  min-height: calc(100svh - 220px);
  background: radial-gradient( circle at top right, rgba(212, 175, 55, 0.1), transparent 24% ), radial-gradient( circle at bottom left, rgba(17, 24, 39, 0.08), transparent 28% ), linear-gradient(180deg, #fffdf9 0%, #fffaf2 100%);
}
.error404-section {
  position: relative;
}
.error404-shell {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 68svh;
  padding: 24px 0;
}
.error404-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(70px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.7;
}
.error404-glow-1 {
  top: 8%;
  right: 12%;
  width: 220px;
  height: 220px;
  background: rgba(212, 175, 55, 0.18);
}
.error404-glow-2 {
  left: 10%;
  bottom: 10%;
  width: 260px;
  height: 260px;
  background: rgba(244, 114, 182, 0.1);
}
.error404-card {
  position: relative;
  z-index: 1;
  width: min(100%, 860px);
  padding: 52px 32px;
  border-radius: 32px;
  text-align: center;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(212, 175, 55, 0.16);
  box-shadow: 0 24px 80px rgba(17, 24, 39, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.error404-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.2);
  color: #8a6a12;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.error404-code {
  margin: 0 0 8px;
  font-size: clamp(72px, 12vw, 148px);
  line-height: 0.95;
  font-weight: 900;
  color: #111827;
  letter-spacing: -0.04em;
  text-shadow: 0 12px 30px rgba(17, 24, 39, 0.08);
}
.error404-title {
  margin: 0 0 14px;
  color: #111827;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.2;
  font-weight: 900;
}
.error404-text {
  width: min(100%, 620px);
  margin: 0 auto 28px;
  color: #4b5563;
  font-size: 16px;
  line-height: 2;
}
.error404-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.error404-btn {
  appearance: none;
  border: 0;
  text-decoration: none;
  cursor: pointer;
  min-height: 50px;
  padding: 0 20px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.error404-btn:hover {
  transform: translateY(-2px);
}
.error404-btn-primary {
  background: linear-gradient(135deg, #111827 0%, #1f2937 100%);
  color: #ffffff;
  box-shadow: 0 14px 28px rgba(17, 24, 39, 0.18);
}
.error404-btn-primary:hover {
  box-shadow: 0 16px 34px rgba(17, 24, 39, 0.24);
}
.error404-btn-secondary {
  background: linear-gradient(135deg, #d4af37 0%, #f1d77a 100%);
  color: #2b2110;
  box-shadow: 0 12px 24px rgba(212, 175, 55, 0.24);
}
.error404-btn-secondary:hover {
  box-shadow: 0 16px 28px rgba(212, 175, 55, 0.3);
}
.error404-btn-ghost {
  background: rgba(255, 255, 255, 0.72);
  color: #111827;
  border: 1px solid rgba(17, 24, 39, 0.1);
}
.error404-btn-ghost:hover {
  background: #ffffff;
}
.error404-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.error404-links a {
  color: #7c5a12;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}
.error404-links a:hover {
  color: #5f430a;
}
.error404-divider {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.18);
}
@media (max-width: 1023px) {
  .error404-page {
    padding-bottom: 120px;
  }
  .error404-shell {
    min-height: auto;
  }
  .error404-card {
    padding: 42px 22px;
    border-radius: 24px;
  }
}
@media (max-width: 639px) {
  .error404-page {
    padding-top: 28px;
  }
  .error404-code {
    font-size: clamp(60px, 22vw, 108px);
  }
  .error404-title {
    font-size: 28px;
  }
  .error404-text {
    font-size: 15px;
    line-height: 1.95;
  }
  .error404-actions {
    flex-direction: column;
    gap: 10px;
  }
  .error404-btn {
    width: 100%;
  }
  .error404-links {
    flex-direction: column;
    gap: 10px;
  }
  .error404-divider {
    display: none;
  }
}
.error401-page {
  position: relative;
  overflow: hidden;
  padding: 48px 0 88px;
  min-height: calc(100svh - 220px);
  background: radial-gradient( circle at top right, rgba(212, 175, 55, 0.1), transparent 24% ), radial-gradient( circle at bottom left, rgba(17, 24, 39, 0.08), transparent 28% ), linear-gradient(180deg, #fffdf9 0%, #fffaf2 100%);
}
.error401-section {
  position: relative;
}
.error401-shell {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 68svh;
  padding: 24px 0;
}
.error401-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(70px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.7;
}
.error401-glow-1 {
  top: 8%;
  right: 12%;
  width: 220px;
  height: 220px;
  background: rgba(212, 175, 55, 0.18);
}
.error401-glow-2 {
  left: 10%;
  bottom: 10%;
  width: 260px;
  height: 260px;
  background: rgba(59, 130, 246, 0.1);
}
.error401-card {
  position: relative;
  z-index: 1;
  width: min(100%, 860px);
  padding: 52px 32px;
  border-radius: 32px;
  text-align: center;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(212, 175, 55, 0.16);
  box-shadow: 0 24px 80px rgba(17, 24, 39, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.error401-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.2);
  color: #8a6a12;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.error401-icon {
  width: 76px;
  height: 76px;
  margin: 0 auto 18px;
  border-radius: 24px;
  display: grid;
  place-items: center;
  background: linear-gradient( 135deg, rgba(17, 24, 39, 0.95), rgba(31, 41, 55, 0.88) );
  color: #ffffff;
  box-shadow: 0 18px 32px rgba(17, 24, 39, 0.18);
}
.error401-icon svg {
  width: 32px;
  height: 32px;
}
.error401-code {
  margin: 0 0 8px;
  font-size: clamp(64px, 10vw, 132px);
  line-height: 0.95;
  font-weight: 900;
  color: #111827;
  letter-spacing: -0.04em;
  text-shadow: 0 12px 30px rgba(17, 24, 39, 0.08);
}
.error401-title {
  margin: 0 0 14px;
  color: #111827;
  font-size: clamp(26px, 4vw, 40px);
  line-height: 1.25;
  font-weight: 900;
}
.error401-text {
  width: min(100%, 650px);
  margin: 0 auto 28px;
  color: #4b5563;
  font-size: 16px;
  line-height: 2;
}
.error401-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.error401-btn {
  appearance: none;
  border: 0;
  text-decoration: none;
  cursor: pointer;
  min-height: 50px;
  padding: 0 20px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.error401-btn:hover {
  transform: translateY(-2px);
}
.error401-btn-primary {
  background: linear-gradient(135deg, #111827 0%, #1f2937 100%);
  color: #ffffff;
  box-shadow: 0 14px 28px rgba(17, 24, 39, 0.18);
}
.error401-btn-primary:hover {
  box-shadow: 0 16px 34px rgba(17, 24, 39, 0.24);
}
.error401-btn-secondary {
  background: linear-gradient(135deg, #d4af37 0%, #f1d77a 100%);
  color: #2b2110;
  box-shadow: 0 12px 24px rgba(212, 175, 55, 0.24);
}
.error401-btn-secondary:hover {
  box-shadow: 0 16px 28px rgba(212, 175, 55, 0.3);
}
.error401-btn-ghost {
  background: rgba(255, 255, 255, 0.72);
  color: #111827;
  border: 1px solid rgba(17, 24, 39, 0.1);
}
.error401-btn-ghost:hover {
  background: #ffffff;
}
.error401-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.error401-links a {
  color: #7c5a12;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}
.error401-links a:hover {
  color: #5f430a;
}
.error401-divider {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.18);
}
@media (max-width: 1023px) {
  .error401-page {
    padding-bottom: 120px;
  }
  .error401-shell {
    min-height: auto;
  }
  .error401-card {
    padding: 42px 22px;
    border-radius: 24px;
  }
}
@media (max-width: 639px) {
  .error401-page {
    padding-top: 28px;
  }
  .error401-icon {
    width: 68px;
    height: 68px;
    border-radius: 20px;
  }
  .error401-icon svg {
    width: 28px;
    height: 28px;
  }
  .error401-code {
    font-size: clamp(54px, 20vw, 98px);
  }
  .error401-title {
    font-size: 28px;
  }
  .error401-text {
    font-size: 15px;
    line-height: 1.95;
  }
  .error401-actions {
    flex-direction: column;
    gap: 10px;
  }
  .error401-btn {
    width: 100%;
  }
  .error401-links {
    flex-direction: column;
    gap: 10px;
  }
  .error401-divider {
    display: none;
  }
}
.error403-page {
  position: relative;
  overflow: hidden;
  padding: 48px 0 88px;
  min-height: calc(100svh - 220px);
  background: radial-gradient( circle at top right, rgba(239, 68, 68, 0.08), transparent 24% ), radial-gradient( circle at bottom left, rgba(17, 24, 39, 0.08), transparent 28% ), linear-gradient(180deg, #fffdf9 0%, #fffaf2 100%);
}
.error403-section {
  position: relative;
}
.error403-shell {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 68svh;
  padding: 24px 0;
}
.error403-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(70px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.72;
}
.error403-glow-1 {
  top: 10%;
  right: 10%;
  width: 220px;
  height: 220px;
  background: rgba(239, 68, 68, 0.14);
}
.error403-glow-2 {
  left: 8%;
  bottom: 8%;
  width: 260px;
  height: 260px;
  background: rgba(212, 175, 55, 0.12);
}
.error403-card {
  position: relative;
  z-index: 1;
  width: min(100%, 860px);
  padding: 52px 32px;
  border-radius: 32px;
  text-align: center;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(239, 68, 68, 0.12);
  box-shadow: 0 24px 80px rgba(17, 24, 39, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.error403-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.16);
  color: #b42318;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.error403-icon {
  width: 76px;
  height: 76px;
  margin: 0 auto 18px;
  border-radius: 24px;
  display: grid;
  place-items: center;
  background: linear-gradient( 135deg, rgba(127, 29, 29, 0.96), rgba(185, 28, 28, 0.88) );
  color: #ffffff;
  box-shadow: 0 18px 32px rgba(127, 29, 29, 0.18);
}
.error403-icon svg {
  width: 34px;
  height: 34px;
}
.error403-code {
  margin: 0 0 8px;
  font-size: clamp(64px, 10vw, 132px);
  line-height: 0.95;
  font-weight: 900;
  color: #111827;
  letter-spacing: -0.04em;
  text-shadow: 0 12px 30px rgba(17, 24, 39, 0.08);
}
.error403-title {
  margin: 0 0 14px;
  color: #111827;
  font-size: clamp(26px, 4vw, 40px);
  line-height: 1.25;
  font-weight: 900;
}
.error403-text {
  width: min(100%, 670px);
  margin: 0 auto 28px;
  color: #4b5563;
  font-size: 16px;
  line-height: 2;
}
.error403-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.error403-btn {
  appearance: none;
  border: 0;
  text-decoration: none;
  cursor: pointer;
  min-height: 50px;
  padding: 0 20px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.error403-btn:hover {
  transform: translateY(-2px);
}
.error403-btn-primary {
  background: linear-gradient(135deg, #111827 0%, #1f2937 100%);
  color: #ffffff;
  box-shadow: 0 14px 28px rgba(17, 24, 39, 0.18);
}
.error403-btn-primary:hover {
  box-shadow: 0 16px 34px rgba(17, 24, 39, 0.24);
}
.error403-btn-secondary {
  background: linear-gradient(135deg, #d4af37 0%, #f1d77a 100%);
  color: #2b2110;
  box-shadow: 0 12px 24px rgba(212, 175, 55, 0.24);
}
.error403-btn-secondary:hover {
  box-shadow: 0 16px 28px rgba(212, 175, 55, 0.3);
}
.error403-btn-ghost {
  background: rgba(255, 255, 255, 0.72);
  color: #111827;
  border: 1px solid rgba(17, 24, 39, 0.1);
}
.error403-btn-ghost:hover {
  background: #ffffff;
}
.error403-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.error403-links a {
  color: #7c5a12;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}
.error403-links a:hover {
  color: #5f430a;
}
.error403-divider {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.18);
}
@media (max-width: 1023px) {
  .error403-page {
    padding-bottom: 120px;
  }
  .error403-shell {
    min-height: auto;
  }
  .error403-card {
    padding: 42px 22px;
    border-radius: 24px;
  }
}
@media (max-width: 639px) {
  .error403-page {
    padding-top: 28px;
  }
  .error403-icon {
    width: 68px;
    height: 68px;
    border-radius: 20px;
  }
  .error403-icon svg {
    width: 30px;
    height: 30px;
  }
  .error403-code {
    font-size: clamp(54px, 20vw, 98px);
  }
  .error403-title {
    font-size: 28px;
  }
  .error403-text {
    font-size: 15px;
    line-height: 1.95;
  }
  .error403-actions {
    flex-direction: column;
    gap: 10px;
  }
  .error403-btn {
    width: 100%;
  }
  .error403-links {
    flex-direction: column;
    gap: 10px;
  }
  .error403-divider {
    display: none;
  }
}
.error400-page {
  position: relative;
  overflow: hidden;
  padding: 48px 0 88px;
  min-height: calc(100svh - 220px);
  background: radial-gradient( circle at top right, rgba(245, 158, 11, 0.11), transparent 24% ), radial-gradient( circle at bottom left, rgba(17, 24, 39, 0.08), transparent 28% ), linear-gradient(180deg, #fffdf9 0%, #fff8ed 100%);
}
.error400-section {
  position: relative;
}
.error400-shell {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 68svh;
  padding: 24px 0;
}
.error400-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(72px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.74;
}
.error400-glow-1 {
  top: 8%;
  right: 9%;
  width: 230px;
  height: 230px;
  background: rgba(245, 158, 11, 0.16);
}
.error400-glow-2 {
  left: 8%;
  bottom: 8%;
  width: 270px;
  height: 270px;
  background: rgba(212, 175, 55, 0.13);
}
.error400-card {
  position: relative;
  z-index: 1;
  width: min(100%, 880px);
  padding: 52px 32px;
  border-radius: 32px;
  text-align: center;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(245, 158, 11, 0.16);
  box-shadow: 0 24px 80px rgba(17, 24, 39, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.58);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.error400-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.2);
  color: #92400e;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.error400-icon {
  width: 76px;
  height: 76px;
  margin: 0 auto 18px;
  border-radius: 24px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #111827 0%, #3f2f14 48%, #d4af37 100%);
  color: #ffffff;
  box-shadow: 0 18px 32px rgba(146, 64, 14, 0.18);
}
.error400-icon svg {
  width: 35px;
  height: 35px;
}
.error400-code {
  margin: 0 0 8px;
  font-size: clamp(64px, 10vw, 132px);
  line-height: 0.95;
  font-weight: 900;
  color: #111827;
  letter-spacing: -0.04em;
  text-shadow: 0 12px 30px rgba(17, 24, 39, 0.08);
}
.error400-title {
  margin: 0 0 14px;
  color: #111827;
  font-size: clamp(26px, 4vw, 40px);
  line-height: 1.25;
  font-weight: 900;
}
.error400-text {
  width: min(100%, 690px);
  margin: 0 auto 18px;
  color: #4b5563;
  font-size: 16px;
  line-height: 2;
}
.error400-hint {
  width: min(100%, 650px);
  margin: 0 auto 28px;
  padding: 14px 18px;
  border-radius: 18px;
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.14);
  color: #6b4b13;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.9;
}
.error400-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.error400-btn {
  appearance: none;
  border: 0;
  text-decoration: none;
  cursor: pointer;
  min-height: 50px;
  padding: 0 20px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  font-weight: 800;
  font-size: 14px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.error400-btn:hover {
  transform: translateY(-2px);
}
.error400-btn-primary {
  background: linear-gradient(135deg, #111827 0%, #1f2937 100%);
  color: #ffffff;
  box-shadow: 0 14px 28px rgba(17, 24, 39, 0.18);
}
.error400-btn-primary:hover {
  box-shadow: 0 16px 34px rgba(17, 24, 39, 0.24);
}
.error400-btn-secondary {
  background: linear-gradient(135deg, #d4af37 0%, #f1d77a 100%);
  color: #2b2110;
  box-shadow: 0 12px 24px rgba(212, 175, 55, 0.24);
}
.error400-btn-secondary:hover {
  box-shadow: 0 16px 28px rgba(212, 175, 55, 0.3);
}
.error400-btn-ghost {
  background: rgba(255, 255, 255, 0.72);
  color: #111827;
  border: 1px solid rgba(17, 24, 39, 0.1);
}
.error400-btn-ghost:hover {
  background: #ffffff;
}
.error400-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.error400-links a {
  color: #7c5a12;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}
.error400-links a:hover {
  color: #5f430a;
}
.error400-divider {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.18);
}
@media (max-width: 1023px) {
  .error400-page {
    padding-bottom: 120px;
  }
  .error400-shell {
    min-height: auto;
  }
  .error400-card {
    padding: 42px 22px;
    border-radius: 24px;
  }
}
@media (max-width: 639px) {
  .error400-page {
    padding-top: 28px;
  }
  .error400-icon {
    width: 68px;
    height: 68px;
    border-radius: 20px;
  }
  .error400-icon svg {
    width: 31px;
    height: 31px;
  }
  .error400-code {
    font-size: clamp(54px, 20vw, 98px);
  }
  .error400-title {
    font-size: 28px;
  }
  .error400-text {
    font-size: 15px;
    line-height: 1.95;
  }
  .error400-hint {
    font-size: 13px;
    padding: 12px 14px;
  }
  .error400-actions {
    flex-direction: column;
    gap: 10px;
  }
  .error400-btn {
    width: 100%;
  }
  .error400-links {
    flex-direction: column;
    gap: 10px;
  }
  .error400-divider {
    display: none;
  }
}
.error500-page {
  position: relative;
  overflow: hidden;
  padding: 48px 0 88px;
  min-height: calc(100svh - 220px);
  background: radial-gradient( circle at top right, rgba(239, 68, 68, 0.08), transparent 24% ), radial-gradient( circle at bottom left, rgba(212, 175, 55, 0.1), transparent 28% ), linear-gradient(180deg, #fffdfb 0%, #fff6f3 100%);
}
.error500-section {
  position: relative;
}
.error500-shell {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 68svh;
  padding: 24px 0;
}
.error500-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(72px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.72;
}
.error500-glow-1 {
  top: 8%;
  right: 8%;
  width: 240px;
  height: 240px;
  background: rgba(239, 68, 68, 0.13);
}
.error500-glow-2 {
  left: 7%;
  bottom: 10%;
  width: 280px;
  height: 280px;
  background: rgba(212, 175, 55, 0.12);
}
.error500-card {
  position: relative;
  z-index: 1;
  width: min(100%, 900px);
  padding: 54px 32px;
  border-radius: 32px;
  text-align: center;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(239, 68, 68, 0.12);
  box-shadow: 0 24px 80px rgba(17, 24, 39, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.58);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.error500-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.16);
  color: #991b1b;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.error500-icon {
  width: 78px;
  height: 78px;
  margin: 0 auto 18px;
  border-radius: 24px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #111827 0%, #4b1d1d 52%, #d4af37 100%);
  color: #ffffff;
  box-shadow: 0 18px 34px rgba(127, 29, 29, 0.18);
}
.error500-icon svg {
  width: 36px;
  height: 36px;
}
.error500-code {
  margin: 0 0 8px;
  font-size: clamp(66px, 10vw, 136px);
  line-height: 0.95;
  font-weight: 900;
  color: #111827;
  letter-spacing: -0.04em;
  text-shadow: 0 12px 30px rgba(17, 24, 39, 0.08);
}
.error500-title {
  margin: 0 0 14px;
  color: #111827;
  font-size: clamp(26px, 4vw, 40px);
  line-height: 1.25;
  font-weight: 900;
}
.error500-text {
  width: min(100%, 700px);
  margin: 0 auto 18px;
  color: #4b5563;
  font-size: 16px;
  line-height: 2;
}
.error500-note {
  width: min(100%, 660px);
  margin: 0 auto 30px;
  padding: 14px 18px;
  border-radius: 18px;
  background: rgba(239, 68, 68, 0.06);
  border: 1px solid rgba(239, 68, 68, 0.1);
  color: #7f1d1d;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.9;
}
.error500-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.error500-btn {
  appearance: none;
  border: 0;
  text-decoration: none;
  cursor: pointer;
  min-height: 50px;
  padding: 0 20px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  font-weight: 800;
  font-size: 14px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.error500-btn:hover {
  transform: translateY(-2px);
}
.error500-btn-primary {
  background: linear-gradient(135deg, #111827 0%, #1f2937 100%);
  color: #ffffff;
  box-shadow: 0 14px 28px rgba(17, 24, 39, 0.18);
}
.error500-btn-primary:hover {
  box-shadow: 0 16px 34px rgba(17, 24, 39, 0.24);
}
.error500-btn-secondary {
  background: linear-gradient(135deg, #d4af37 0%, #f1d77a 100%);
  color: #2b2110;
  box-shadow: 0 12px 24px rgba(212, 175, 55, 0.24);
}
.error500-btn-secondary:hover {
  box-shadow: 0 16px 28px rgba(212, 175, 55, 0.3);
}
.error500-btn-ghost {
  background: rgba(255, 255, 255, 0.72);
  color: #111827;
  border: 1px solid rgba(17, 24, 39, 0.1);
}
.error500-btn-ghost:hover {
  background: #ffffff;
}
.error500-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.error500-links a {
  color: #7f1d1d;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}
.error500-links a:hover {
  color: #5f1414;
}
.error500-divider {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.18);
}
@media (max-width: 1023px) {
  .error500-page {
    padding-bottom: 120px;
  }
  .error500-shell {
    min-height: auto;
  }
  .error500-card {
    padding: 42px 22px;
    border-radius: 24px;
  }
}
@media (max-width: 639px) {
  .error500-page {
    padding-top: 28px;
  }
  .error500-icon {
    width: 68px;
    height: 68px;
    border-radius: 20px;
  }
  .error500-icon svg {
    width: 31px;
    height: 31px;
  }
  .error500-code {
    font-size: clamp(54px, 20vw, 98px);
  }
  .error500-title {
    font-size: 28px;
  }
  .error500-text {
    font-size: 15px;
    line-height: 1.95;
  }
  .error500-note {
    font-size: 13px;
    padding: 12px 14px;
  }
  .error500-actions {
    flex-direction: column;
    gap: 10px;
  }
  .error500-btn {
    width: 100%;
  }
  .error500-links {
    flex-direction: column;
    gap: 10px;
  }
  .error500-divider {
    display: none;
  }
}
.error501-page {
  position: relative;
  overflow: hidden;
  padding: 48px 0 88px;
  min-height: calc(100svh - 220px);
  background: radial-gradient( circle at top right, rgba(59, 130, 246, 0.08), transparent 24% ), radial-gradient( circle at bottom left, rgba(212, 175, 55, 0.1), transparent 28% ), linear-gradient(180deg, #fffdfb 0%, #f8fbff 100%);
}
.error501-section {
  position: relative;
}
.error501-shell {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 68svh;
  padding: 24px 0;
}
.error501-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(72px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.72;
}
.error501-glow-1 {
  top: 8%;
  right: 8%;
  width: 240px;
  height: 240px;
  background: rgba(59, 130, 246, 0.13);
}
.error501-glow-2 {
  left: 7%;
  bottom: 10%;
  width: 280px;
  height: 280px;
  background: rgba(212, 175, 55, 0.12);
}
.error501-card {
  position: relative;
  z-index: 1;
  width: min(100%, 900px);
  padding: 54px 32px;
  border-radius: 32px;
  text-align: center;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(59, 130, 246, 0.12);
  box-shadow: 0 24px 80px rgba(17, 24, 39, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.58);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.error501-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.16);
  color: #1d4ed8;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.error501-icon {
  width: 78px;
  height: 78px;
  margin: 0 auto 18px;
  border-radius: 24px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #111827 0%, #1e3a8a 52%, #d4af37 100%);
  color: #ffffff;
  box-shadow: 0 18px 34px rgba(30, 58, 138, 0.18);
}
.error501-icon svg {
  width: 36px;
  height: 36px;
}
.error501-code {
  margin: 0 0 8px;
  font-size: clamp(66px, 10vw, 136px);
  line-height: 0.95;
  font-weight: 900;
  color: #111827;
  letter-spacing: -0.04em;
  text-shadow: 0 12px 30px rgba(17, 24, 39, 0.08);
}
.error501-title {
  margin: 0 0 14px;
  color: #111827;
  font-size: clamp(26px, 4vw, 40px);
  line-height: 1.25;
  font-weight: 900;
}
.error501-text {
  width: min(100%, 700px);
  margin: 0 auto 18px;
  color: #4b5563;
  font-size: 16px;
  line-height: 2;
}
.error501-note {
  width: min(100%, 660px);
  margin: 0 auto 30px;
  padding: 14px 18px;
  border-radius: 18px;
  background: rgba(59, 130, 246, 0.06);
  border: 1px solid rgba(59, 130, 246, 0.1);
  color: #1e3a8a;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.9;
}
.error501-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.error501-btn {
  appearance: none;
  border: 0;
  text-decoration: none;
  cursor: pointer;
  min-height: 50px;
  padding: 0 20px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  font-weight: 800;
  font-size: 14px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.error501-btn:hover {
  transform: translateY(-2px);
}
.error501-btn-primary {
  background: linear-gradient(135deg, #111827 0%, #1f2937 100%);
  color: #ffffff;
  box-shadow: 0 14px 28px rgba(17, 24, 39, 0.18);
}
.error501-btn-primary:hover {
  box-shadow: 0 16px 34px rgba(17, 24, 39, 0.24);
}
.error501-btn-secondary {
  background: linear-gradient(135deg, #d4af37 0%, #f1d77a 100%);
  color: #2b2110;
  box-shadow: 0 12px 24px rgba(212, 175, 55, 0.24);
}
.error501-btn-secondary:hover {
  box-shadow: 0 16px 28px rgba(212, 175, 55, 0.3);
}
.error501-btn-ghost {
  background: rgba(255, 255, 255, 0.72);
  color: #111827;
  border: 1px solid rgba(17, 24, 39, 0.1);
}
.error501-btn-ghost:hover {
  background: #ffffff;
}
.error501-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.error501-links a {
  color: #1e3a8a;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}
.error501-links a:hover {
  color: #1d4ed8;
}
.error501-divider {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.18);
}
@media (max-width: 1023px) {
  .error501-page {
    padding-bottom: 120px;
  }
  .error501-shell {
    min-height: auto;
  }
  .error501-card {
    padding: 42px 22px;
    border-radius: 24px;
  }
}
@media (max-width: 639px) {
  .error501-page {
    padding-top: 28px;
  }
  .error501-icon {
    width: 68px;
    height: 68px;
    border-radius: 20px;
  }
  .error501-icon svg {
    width: 31px;
    height: 31px;
  }
  .error501-code {
    font-size: clamp(54px, 20vw, 98px);
  }
  .error501-title {
    font-size: 28px;
  }
  .error501-text {
    font-size: 15px;
    line-height: 1.95;
  }
  .error501-note {
    font-size: 13px;
    padding: 12px 14px;
  }
  .error501-actions {
    flex-direction: column;
    gap: 10px;
  }
  .error501-btn {
    width: 100%;
  }
  .error501-links {
    flex-direction: column;
    gap: 10px;
  }
  .error501-divider {
    display: none;
  }
}
.error502-page {
  position: relative;
  overflow: hidden;
  padding: 48px 0 88px;
  min-height: calc(100svh - 220px);
  background: radial-gradient( circle at top right, rgba(245, 158, 11, 0.1), transparent 24% ), radial-gradient( circle at bottom left, rgba(212, 175, 55, 0.1), transparent 28% ), linear-gradient(180deg, #fffdfb 0%, #fff8f1 100%);
}
.error502-section {
  position: relative;
}
.error502-shell {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 68svh;
  padding: 24px 0;
}
.error502-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(72px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.72;
}
.error502-glow-1 {
  top: 8%;
  right: 8%;
  width: 240px;
  height: 240px;
  background: rgba(245, 158, 11, 0.16);
}
.error502-glow-2 {
  left: 7%;
  bottom: 10%;
  width: 280px;
  height: 280px;
  background: rgba(212, 175, 55, 0.13);
}
.error502-card {
  position: relative;
  z-index: 1;
  width: min(100%, 900px);
  padding: 54px 32px;
  border-radius: 32px;
  text-align: center;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(245, 158, 11, 0.14);
  box-shadow: 0 24px 80px rgba(17, 24, 39, 0.09), inset 0 1px 0 rgba(255, 255, 255, 0.58);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.error502-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.16);
  color: #92400e;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.error502-icon {
  width: 78px;
  height: 78px;
  margin: 0 auto 18px;
  border-radius: 24px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #111827 0%, #7c2d12 52%, #d4af37 100%);
  color: #ffffff;
  box-shadow: 0 18px 34px rgba(124, 45, 18, 0.18);
}
.error502-icon svg {
  width: 36px;
  height: 36px;
}
.error502-code {
  margin: 0 0 8px;
  font-size: clamp(66px, 10vw, 136px);
  line-height: 0.95;
  font-weight: 900;
  color: #111827;
  letter-spacing: -0.04em;
  text-shadow: 0 12px 30px rgba(17, 24, 39, 0.08);
}
.error502-title {
  margin: 0 0 14px;
  color: #111827;
  font-size: clamp(26px, 4vw, 40px);
  line-height: 1.25;
  font-weight: 900;
}
.error502-text {
  width: min(100%, 700px);
  margin: 0 auto 18px;
  color: #4b5563;
  font-size: 16px;
  line-height: 2;
}
.error502-note {
  width: min(100%, 660px);
  margin: 0 auto 30px;
  padding: 14px 18px;
  border-radius: 18px;
  background: rgba(245, 158, 11, 0.07);
  border: 1px solid rgba(245, 158, 11, 0.12);
  color: #9a3412;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.9;
}
.error502-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.error502-btn {
  appearance: none;
  border: 0;
  text-decoration: none;
  cursor: pointer;
  min-height: 50px;
  padding: 0 20px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  font-weight: 800;
  font-size: 14px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.error502-btn:hover {
  transform: translateY(-2px);
}
.error502-btn-primary {
  background: linear-gradient(135deg, #111827 0%, #1f2937 100%);
  color: #ffffff;
  box-shadow: 0 14px 28px rgba(17, 24, 39, 0.18);
}
.error502-btn-primary:hover {
  box-shadow: 0 16px 34px rgba(17, 24, 39, 0.24);
}
.error502-btn-secondary {
  background: linear-gradient(135deg, #d4af37 0%, #f1d77a 100%);
  color: #2b2110;
  box-shadow: 0 12px 24px rgba(212, 175, 55, 0.24);
}
.error502-btn-secondary:hover {
  box-shadow: 0 16px 28px rgba(212, 175, 55, 0.3);
}
.error502-btn-ghost {
  background: rgba(255, 255, 255, 0.72);
  color: #111827;
  border: 1px solid rgba(17, 24, 39, 0.1);
}
.error502-btn-ghost:hover {
  background: #ffffff;
}
.error502-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.error502-links a {
  color: #9a3412;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}
.error502-links a:hover {
  color: #7c2d12;
}
.error502-divider {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.18);
}
@media (max-width: 1023px) {
  .error502-page {
    padding-bottom: 120px;
  }
  .error502-shell {
    min-height: auto;
  }
  .error502-card {
    padding: 42px 22px;
    border-radius: 24px;
  }
}
@media (max-width: 639px) {
  .error502-page {
    padding-top: 28px;
  }
  .error502-icon {
    width: 68px;
    height: 68px;
    border-radius: 20px;
  }
  .error502-icon svg {
    width: 31px;
    height: 31px;
  }
  .error502-code {
    font-size: clamp(54px, 20vw, 98px);
  }
  .error502-title {
    font-size: 28px;
  }
  .error502-text {
    font-size: 15px;
    line-height: 1.95;
  }
  .error502-note {
    font-size: 13px;
    padding: 12px 14px;
  }
  .error502-actions {
    flex-direction: column;
    gap: 10px;
  }
  .error502-btn {
    width: 100%;
  }
  .error502-links {
    flex-direction: column;
    gap: 10px;
  }
  .error502-divider {
    display: none;
  }
}
.error504-page {
  position: relative;
  overflow: hidden;
  padding: 48px 0 88px;
  min-height: calc(100svh - 220px);
  background: radial-gradient( circle at top right, rgba(59, 130, 246, 0.1), transparent 24% ), radial-gradient( circle at bottom left, rgba(212, 175, 55, 0.1), transparent 28% ), linear-gradient(180deg, #fcfdff 0%, #f5f9ff 100%);
}
.error504-section {
  position: relative;
}
.error504-shell {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 68svh;
  padding: 24px 0;
}
.error504-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(72px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.72;
}
.error504-glow-1 {
  top: 8%;
  right: 8%;
  width: 240px;
  height: 240px;
  background: rgba(59, 130, 246, 0.14);
}
.error504-glow-2 {
  left: 7%;
  bottom: 10%;
  width: 280px;
  height: 280px;
  background: rgba(212, 175, 55, 0.12);
}
.error504-card {
  position: relative;
  z-index: 1;
  width: min(100%, 900px);
  padding: 54px 32px;
  border-radius: 32px;
  text-align: center;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(59, 130, 246, 0.14);
  box-shadow: 0 24px 80px rgba(17, 24, 39, 0.09), inset 0 1px 0 rgba(255, 255, 255, 0.58);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.error504-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.16);
  color: #1d4ed8;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.error504-icon {
  width: 78px;
  height: 78px;
  margin: 0 auto 18px;
  border-radius: 24px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #111827 0%, #1d4ed8 52%, #d4af37 100%);
  color: #ffffff;
  box-shadow: 0 18px 34px rgba(29, 78, 216, 0.16);
}
.error504-icon svg {
  width: 36px;
  height: 36px;
}
.error504-code {
  margin: 0 0 8px;
  font-size: clamp(66px, 10vw, 136px);
  line-height: 0.95;
  font-weight: 900;
  color: #111827;
  letter-spacing: -0.04em;
  text-shadow: 0 12px 30px rgba(17, 24, 39, 0.08);
}
.error504-title {
  margin: 0 0 14px;
  color: #111827;
  font-size: clamp(26px, 4vw, 40px);
  line-height: 1.25;
  font-weight: 900;
}
.error504-text {
  width: min(100%, 700px);
  margin: 0 auto 18px;
  color: #4b5563;
  font-size: 16px;
  line-height: 2;
}
.error504-note {
  width: min(100%, 660px);
  margin: 0 auto 30px;
  padding: 14px 18px;
  border-radius: 18px;
  background: rgba(59, 130, 246, 0.06);
  border: 1px solid rgba(59, 130, 246, 0.12);
  color: #1e40af;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.9;
}
.error504-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.error504-btn {
  appearance: none;
  border: 0;
  text-decoration: none;
  cursor: pointer;
  min-height: 50px;
  padding: 0 20px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  font-weight: 800;
  font-size: 14px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.error504-btn:hover {
  transform: translateY(-2px);
}
.error504-btn-primary {
  background: linear-gradient(135deg, #111827 0%, #1f2937 100%);
  color: #ffffff;
  box-shadow: 0 14px 28px rgba(17, 24, 39, 0.18);
}
.error504-btn-primary:hover {
  box-shadow: 0 16px 34px rgba(17, 24, 39, 0.24);
}
.error504-btn-secondary {
  background: linear-gradient(135deg, #d4af37 0%, #f1d77a 100%);
  color: #2b2110;
  box-shadow: 0 12px 24px rgba(212, 175, 55, 0.24);
}
.error504-btn-secondary:hover {
  box-shadow: 0 16px 28px rgba(212, 175, 55, 0.3);
}
.error504-btn-ghost {
  background: rgba(255, 255, 255, 0.72);
  color: #111827;
  border: 1px solid rgba(17, 24, 39, 0.1);
}
.error504-btn-ghost:hover {
  background: #ffffff;
}
.error504-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.error504-links a {
  color: #1e40af;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}
.error504-links a:hover {
  color: #1d4ed8;
}
.error504-divider {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.18);
}
@media (max-width: 1023px) {
  .error504-page {
    padding-bottom: 120px;
  }
  .error504-shell {
    min-height: auto;
  }
  .error504-card {
    padding: 42px 22px;
    border-radius: 24px;
  }
}
@media (max-width: 639px) {
  .error504-page {
    padding-top: 28px;
  }
  .error504-icon {
    width: 68px;
    height: 68px;
    border-radius: 20px;
  }
  .error504-icon svg {
    width: 31px;
    height: 31px;
  }
  .error504-code {
    font-size: clamp(54px, 20vw, 98px);
  }
  .error504-title {
    font-size: 28px;
  }
  .error504-text {
    font-size: 15px;
    line-height: 1.95;
  }
  .error504-note {
    font-size: 13px;
    padding: 12px 14px;
  }
  .error504-actions {
    flex-direction: column;
    gap: 10px;
  }
  .error504-btn {
    width: 100%;
  }
  .error504-links {
    flex-direction: column;
    gap: 10px;
  }
  .error504-divider {
    display: none;
  }
}
@layer utilities {
  .text-balance {
    text-wrap: balance;
  }
}
.error-message {
  color: var(--color-red-600);
}
.full-grid {
  width: 100%;
  grid-column: 1 / -1;
}
.product-switches {
  grid-column: span 2;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 10px;
}
.switch {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}
.switch-body {
  width: 48px;
  height: 24px;
  background: #cbd5e1;
  border-radius: 999px;
  position: relative;
  transition: background 0.2s ease;
}
.switch-body::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 4px;
  width: 18px;
  height: 18px;
  background: white;
  border-radius: 50%;
  transition: transform 0.2s ease;
}
input:checked + .switch-body {
  background: #3b82f6;
}
input:checked + .switch-body::after {
  transform: translateX(22px);
}
.switch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.danger {
  background: #ff38003d;
  color: #ff1900;
  border-color: rgba(95, 101, 112, 0.1);
}
@property --tw-rotate-x {
  syntax: "*";
  inherits: false;
}
@property --tw-rotate-y {
  syntax: "*";
  inherits: false;
}
@property --tw-rotate-z {
  syntax: "*";
  inherits: false;
}
@property --tw-skew-x {
  syntax: "*";
  inherits: false;
}
@property --tw-skew-y {
  syntax: "*";
  inherits: false;
}
@property --tw-space-y-reverse {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}
@property --tw-border-style {
  syntax: "*";
  inherits: false;
  initial-value: solid;
}
@property --tw-leading {
  syntax: "*";
  inherits: false;
}
@property --tw-font-weight {
  syntax: "*";
  inherits: false;
}
@property --tw-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-shadow-color {
  syntax: "*";
  inherits: false;
}
@property --tw-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}
@property --tw-inset-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-inset-shadow-color {
  syntax: "*";
  inherits: false;
}
@property --tw-inset-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}
@property --tw-ring-color {
  syntax: "*";
  inherits: false;
}
@property --tw-ring-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-inset-ring-color {
  syntax: "*";
  inherits: false;
}
@property --tw-inset-ring-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-ring-inset {
  syntax: "*";
  inherits: false;
}
@property --tw-ring-offset-width {
  syntax: "<length>";
  inherits: false;
  initial-value: 0px;
}
@property --tw-ring-offset-color {
  syntax: "*";
  inherits: false;
  initial-value: #fff;
}
@property --tw-ring-offset-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-backdrop-blur {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-brightness {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-contrast {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-grayscale {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-hue-rotate {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-invert {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-opacity {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-saturate {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-sepia {
  syntax: "*";
  inherits: false;
}
@property --tw-duration {
  syntax: "*";
  inherits: false;
}
@property --tw-ease {
  syntax: "*";
  inherits: false;
}
@property --tw-tracking {
  syntax: "*";
  inherits: false;
}
@property --tw-translate-x {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}
@property --tw-translate-y {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}
@property --tw-translate-z {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}
@layer properties {
  @supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
    *, ::before, ::after, ::backdrop {
      --tw-rotate-x: initial;
      --tw-rotate-y: initial;
      --tw-rotate-z: initial;
      --tw-skew-x: initial;
      --tw-skew-y: initial;
      --tw-space-y-reverse: 0;
      --tw-border-style: solid;
      --tw-leading: initial;
      --tw-font-weight: initial;
      --tw-shadow: 0 0 #0000;
      --tw-shadow-color: initial;
      --tw-shadow-alpha: 100%;
      --tw-inset-shadow: 0 0 #0000;
      --tw-inset-shadow-color: initial;
      --tw-inset-shadow-alpha: 100%;
      --tw-ring-color: initial;
      --tw-ring-shadow: 0 0 #0000;
      --tw-inset-ring-color: initial;
      --tw-inset-ring-shadow: 0 0 #0000;
      --tw-ring-inset: initial;
      --tw-ring-offset-width: 0px;
      --tw-ring-offset-color: #fff;
      --tw-ring-offset-shadow: 0 0 #0000;
      --tw-backdrop-blur: initial;
      --tw-backdrop-brightness: initial;
      --tw-backdrop-contrast: initial;
      --tw-backdrop-grayscale: initial;
      --tw-backdrop-hue-rotate: initial;
      --tw-backdrop-invert: initial;
      --tw-backdrop-opacity: initial;
      --tw-backdrop-saturate: initial;
      --tw-backdrop-sepia: initial;
      --tw-duration: initial;
      --tw-ease: initial;
      --tw-tracking: initial;
      --tw-translate-x: 0;
      --tw-translate-y: 0;
      --tw-translate-z: 0;
    }
  }
}
