/*!*****************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[12].oneOf[12].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[12].oneOf[12].use[3]!./src/app/globals.css ***!
  \*****************************************************************************************************************************************************************************************************************************************************************/
*, ::before, ::after {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
  --tw-contain-size:  ;
  --tw-contain-layout:  ;
  --tw-contain-paint:  ;
  --tw-contain-style:  ;
}

::backdrop {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
  --tw-contain-size:  ;
  --tw-contain-layout:  ;
  --tw-contain-paint:  ;
  --tw-contain-style:  ;
}/*
! tailwindcss v3.4.19 | MIT License | https://tailwindcss.com
*//*
1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)
*/

*,
::before,
::after {
  box-sizing: border-box; /* 1 */
  border-width: 0; /* 2 */
  border-style: solid; /* 2 */
  border-color: #e5e7eb; /* 2 */
}

::before,
::after {
  --tw-content: '';
}

/*
1. Use a consistent sensible line-height in all browsers.
2. Prevent adjustments of font size after orientation changes in iOS.
3. Use a more readable tab size.
4. Use the user's configured `sans` font-family by default.
5. Use the user's configured `sans` font-feature-settings by default.
6. Use the user's configured `sans` font-variation-settings by default.
7. Disable tap highlights on iOS
*/

html,
:host {
  line-height: 1.5; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
  -moz-tab-size: 4; /* 3 */
  -o-tab-size: 4;
     tab-size: 4; /* 3 */
  font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; /* 4 */
  font-feature-settings: normal; /* 5 */
  font-variation-settings: normal; /* 6 */
  -webkit-tap-highlight-color: transparent; /* 7 */
}

/*
1. Remove the margin in all browsers.
2. Inherit line-height from `html` so users can set them as a class directly on the `html` element.
*/

body {
  margin: 0; /* 1 */
  line-height: inherit; /* 2 */
}

/*
1. Add the correct height in Firefox.
2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
3. Ensure horizontal rules are visible by default.
*/

hr {
  height: 0; /* 1 */
  color: inherit; /* 2 */
  border-top-width: 1px; /* 3 */
}

/*
Add the correct text decoration in Chrome, Edge, and Safari.
*/

abbr:where([title]) {
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted;
}

/*
Remove the default font size and weight for headings.
*/

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
}

/*
Reset links to optimize for opt-in styling instead of opt-out.
*/

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

/*
Add the correct font weight in Edge and Safari.
*/

b,
strong {
  font-weight: bolder;
}

/*
1. Use the user's configured `mono` font-family by default.
2. Use the user's configured `mono` font-feature-settings by default.
3. Use the user's configured `mono` font-variation-settings by default.
4. Correct the odd `em` font sizing in all browsers.
*/

code,
kbd,
samp,
pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; /* 1 */
  font-feature-settings: normal; /* 2 */
  font-variation-settings: normal; /* 3 */
  font-size: 1em; /* 4 */
}

/*
Add the correct font size in all browsers.
*/

small {
  font-size: 80%;
}

/*
Prevent `sub` and `sup` elements from affecting the line height in all browsers.
*/

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/*
1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
3. Remove gaps between table borders by default.
*/

table {
  text-indent: 0; /* 1 */
  border-color: inherit; /* 2 */
  border-collapse: collapse; /* 3 */
}

/*
1. Change the font styles in all browsers.
2. Remove the margin in Firefox and Safari.
3. Remove default padding in all browsers.
*/

button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-feature-settings: inherit; /* 1 */
  font-variation-settings: inherit; /* 1 */
  font-size: 100%; /* 1 */
  font-weight: inherit; /* 1 */
  line-height: inherit; /* 1 */
  letter-spacing: inherit; /* 1 */
  color: inherit; /* 1 */
  margin: 0; /* 2 */
  padding: 0; /* 3 */
}

/*
Remove the inheritance of text transform in Edge and Firefox.
*/

button,
select {
  text-transform: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Remove default button styles.
*/

button,
input:where([type='button']),
input:where([type='reset']),
input:where([type='submit']) {
  -webkit-appearance: button; /* 1 */
  background-color: transparent; /* 2 */
  background-image: none; /* 2 */
}

/*
Use the modern Firefox focus style for all focusable elements.
*/

:-moz-focusring {
  outline: auto;
}

/*
Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
*/

:-moz-ui-invalid {
  box-shadow: none;
}

/*
Add the correct vertical alignment in Chrome and Firefox.
*/

progress {
  vertical-align: baseline;
}

/*
Correct the cursor style of increment and decrement buttons in Safari.
*/

::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  height: auto;
}

/*
1. Correct the odd appearance in Chrome and Safari.
2. Correct the outline style in Safari.
*/

[type='search'] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/*
Remove the inner padding in Chrome and Safari on macOS.
*/

::-webkit-search-decoration {
  -webkit-appearance: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Change font properties to `inherit` in Safari.
*/

::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/*
Add the correct display in Chrome and Safari.
*/

summary {
  display: list-item;
}

/*
Removes the default spacing and border for appropriate elements.
*/

blockquote,
dl,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
figure,
p,
pre {
  margin: 0;
}

fieldset {
  margin: 0;
  padding: 0;
}

legend {
  padding: 0;
}

ol,
ul,
menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

/*
Reset default styling for dialogs.
*/
dialog {
  padding: 0;
}

/*
Prevent resizing textareas horizontally by default.
*/

textarea {
  resize: vertical;
}

/*
1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
2. Set the default placeholder color to the user's configured gray 400 color.
*/

input::-moz-placeholder, textarea::-moz-placeholder {
  opacity: 1; /* 1 */
  color: #9ca3af; /* 2 */
}

input::placeholder,
textarea::placeholder {
  opacity: 1; /* 1 */
  color: #9ca3af; /* 2 */
}

/*
Set the default cursor for buttons.
*/

button,
[role="button"] {
  cursor: pointer;
}

/*
Make sure disabled buttons don't get the pointer cursor.
*/
:disabled {
  cursor: default;
}

/*
1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)
2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
   This can trigger a poorly considered lint error in some tools but is included by design.
*/

img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  display: block; /* 1 */
  vertical-align: middle; /* 2 */
}

/*
Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)
*/

img,
video {
  max-width: 100%;
  height: auto;
}

/* Make elements with the HTML hidden attribute stay hidden by default */
[hidden]:where(:not([hidden="until-found"])) {
  display: none;
}
  * {
  border-color: hsl(var(--border));
}
  body {
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
}
.\!container {
  width: 100% !important;
  margin-right: auto !important;
  margin-left: auto !important;
  padding-right: 2rem !important;
  padding-left: 2rem !important;
}
.container {
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  padding-right: 2rem;
  padding-left: 2rem;
}
@media (min-width: 1400px) {

  .\!container {
    max-width: 1400px !important;
  }

  .container {
    max-width: 1400px;
  }
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}
.pointer-events-none {
  pointer-events: none;
}
.pointer-events-auto {
  pointer-events: auto;
}
.fixed {
  position: fixed;
}
.absolute {
  position: absolute;
}
.relative {
  position: relative;
}
.inset-0 {
  inset: 0px;
}
.inset-y-0 {
  top: 0px;
  bottom: 0px;
}
.bottom-1 {
  bottom: 0.25rem;
}
.left-0 {
  left: 0px;
}
.left-1 {
  left: 0.25rem;
}
.left-2 {
  left: 0.5rem;
}
.left-\[50\%\] {
  left: 50%;
}
.right-4 {
  right: 1rem;
}
.top-4 {
  top: 1rem;
}
.top-\[50\%\] {
  top: 50%;
}
.z-50 {
  z-index: 50;
}
.z-\[100\] {
  z-index: 100;
}
.-mx-1 {
  margin-left: -0.25rem;
  margin-right: -0.25rem;
}
.mx-1 {
  margin-left: 0.25rem;
  margin-right: 0.25rem;
}
.mx-auto {
  margin-left: auto;
  margin-right: auto;
}
.my-1 {
  margin-top: 0.25rem;
  margin-bottom: 0.25rem;
}
.mb-0 {
  margin-bottom: 0px;
}
.mb-2 {
  margin-bottom: 0.5rem;
}
.mb-3 {
  margin-bottom: 0.75rem;
}
.mb-4 {
  margin-bottom: 1rem;
}
.mb-6 {
  margin-bottom: 1.5rem;
}
.me-1 {
  margin-inline-end: 0.25rem;
}
.ml-2 {
  margin-left: 0.5rem;
}
.ml-4 {
  margin-left: 1rem;
}
.ml-auto {
  margin-left: auto;
}
.mr-2 {
  margin-right: 0.5rem;
}
.mt-0 {
  margin-top: 0px;
}
.mt-1 {
  margin-top: 0.25rem;
}
.mt-2 {
  margin-top: 0.5rem;
}
.mt-4 {
  margin-top: 1rem;
}
.block {
  display: block;
}
.inline-block {
  display: inline-block;
}
.flex {
  display: flex;
}
.inline-flex {
  display: inline-flex;
}
.table {
  display: table;
}
.grid {
  display: grid;
}
.hidden {
  display: none;
}
.h-10 {
  height: 2.5rem;
}
.h-11 {
  height: 2.75rem;
}
.h-12 {
  height: 3rem;
}
.h-14 {
  height: 3.5rem;
}
.h-16 {
  height: 4rem;
}
.h-2 {
  height: 0.5rem;
}
.h-24 {
  height: 6rem;
}
.h-3\.5 {
  height: 0.875rem;
}
.h-32 {
  height: 8rem;
}
.h-4 {
  height: 1rem;
}
.h-5 {
  height: 1.25rem;
}
.h-6 {
  height: 1.5rem;
}
.h-64 {
  height: 16rem;
}
.h-7 {
  height: 1.75rem;
}
.h-8 {
  height: 2rem;
}
.h-9 {
  height: 2.25rem;
}
.h-\[1px\] {
  height: 1px;
}
.h-\[300px\] {
  height: 300px;
}
.h-\[var\(--radix-select-trigger-height\)\] {
  height: var(--radix-select-trigger-height);
}
.h-full {
  height: 100%;
}
.h-px {
  height: 1px;
}
.h-screen {
  height: 100vh;
}
.max-h-96 {
  max-height: 24rem;
}
.min-h-\[80px\] {
  min-height: 80px;
}
.min-h-screen {
  min-height: 100vh;
}
.w-10 {
  width: 2.5rem;
}
.w-11 {
  width: 2.75rem;
}
.w-12 {
  width: 3rem;
}
.w-2 {
  width: 0.5rem;
}
.w-24 {
  width: 6rem;
}
.w-3\.5 {
  width: 0.875rem;
}
.w-4 {
  width: 1rem;
}
.w-48 {
  width: 12rem;
}
.w-5 {
  width: 1.25rem;
}
.w-6 {
  width: 1.5rem;
}
.w-7 {
  width: 1.75rem;
}
.w-8 {
  width: 2rem;
}
.w-\[1px\] {
  width: 1px;
}
.w-\[240px\] {
  width: 240px;
}
.w-\[280px\] {
  width: 280px;
}
.w-\[72px\] {
  width: 72px;
}
.w-full {
  width: 100%;
}
.min-w-\[160px\] {
  min-width: 160px;
}
.min-w-\[8rem\] {
  min-width: 8rem;
}
.min-w-\[var\(--radix-select-trigger-width\)\] {
  min-width: var(--radix-select-trigger-width);
}
.max-w-2xl {
  max-width: 42rem;
}
.max-w-4xl {
  max-width: 56rem;
}
.max-w-\[200px\] {
  max-width: 200px;
}
.max-w-\[300px\] {
  max-width: 300px;
}
.max-w-lg {
  max-width: 32rem;
}
.max-w-sm {
  max-width: 24rem;
}
.flex-1 {
  flex: 1 1 0%;
}
.flex-shrink-0 {
  flex-shrink: 0;
}
.shrink-0 {
  flex-shrink: 0;
}
.caption-bottom {
  caption-side: bottom;
}
.translate-x-\[-50\%\] {
  --tw-translate-x: -50%;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
.translate-y-\[-50\%\] {
  --tw-translate-y: -50%;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
.rotate-90 {
  --tw-rotate: 90deg;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
.transform {
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
@keyframes pulse {

  50% {
    opacity: .5;
  }
}
.animate-pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
@keyframes spin {

  to {
    transform: rotate(360deg);
  }
}
.animate-spin {
  animation: spin 1s linear infinite;
}
.cursor-default {
  cursor: default;
}
.cursor-move {
  cursor: move;
}
.cursor-pointer {
  cursor: pointer;
}
.select-none {
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
.resize {
  resize: both;
}
.grid-cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.grid-cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.flex-col {
  flex-direction: column;
}
.flex-col-reverse {
  flex-direction: column-reverse;
}
.flex-wrap {
  flex-wrap: wrap;
}
.items-center {
  align-items: center;
}
.items-baseline {
  align-items: baseline;
}
.justify-start {
  justify-content: flex-start;
}
.justify-end {
  justify-content: flex-end;
}
.justify-center {
  justify-content: center;
}
.justify-between {
  justify-content: space-between;
}
.gap-1 {
  gap: 0.25rem;
}
.gap-1\.5 {
  gap: 0.375rem;
}
.gap-2 {
  gap: 0.5rem;
}
.gap-3 {
  gap: 0.75rem;
}
.gap-4 {
  gap: 1rem;
}
.gap-6 {
  gap: 1.5rem;
}
.space-y-1 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(0.25rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(0.25rem * var(--tw-space-y-reverse));
}
.space-y-1\.5 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(0.375rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(0.375rem * var(--tw-space-y-reverse));
}
.space-y-2 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(0.5rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(0.5rem * var(--tw-space-y-reverse));
}
.space-y-3 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(0.75rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(0.75rem * var(--tw-space-y-reverse));
}
.space-y-4 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(1rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(1rem * var(--tw-space-y-reverse));
}
.space-y-6 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(1.5rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(1.5rem * var(--tw-space-y-reverse));
}
.divide-y > :not([hidden]) ~ :not([hidden]) {
  --tw-divide-y-reverse: 0;
  border-top-width: calc(1px * calc(1 - var(--tw-divide-y-reverse)));
  border-bottom-width: calc(1px * var(--tw-divide-y-reverse));
}
.overflow-auto {
  overflow: auto;
}
.overflow-hidden {
  overflow: hidden;
}
.overflow-x-auto {
  overflow-x: auto;
}
.overflow-y-auto {
  overflow-y: auto;
}
.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.whitespace-nowrap {
  white-space: nowrap;
}
.rounded {
  border-radius: 0.25rem;
}
.rounded-full {
  border-radius: 9999px;
}
.rounded-lg {
  border-radius: var(--radius);
}
.rounded-md {
  border-radius: calc(var(--radius) - 2px);
}
.rounded-sm {
  border-radius: calc(var(--radius) - 4px);
}
.border {
  border-width: 1px;
}
.border-0 {
  border-width: 0px;
}
.border-2 {
  border-width: 2px;
}
.border-4 {
  border-width: 4px;
}
.border-b {
  border-bottom-width: 1px;
}
.border-l {
  border-left-width: 1px;
}
.border-r {
  border-right-width: 1px;
}
.border-t {
  border-top-width: 1px;
}
.border-dashed {
  border-style: dashed;
}
.border-border {
  border-color: hsl(var(--border));
}
.border-input {
  border-color: hsl(var(--input));
}
.border-muted-foreground\/30 {
  border-color: hsl(var(--muted-foreground) / 0.3);
}
.border-neutral-200 {
  --tw-border-opacity: 1;
  border-color: rgb(229 229 229 / var(--tw-border-opacity, 1));
}
.border-primary {
  border-color: hsl(var(--primary));
}
.border-transparent {
  border-color: transparent;
}
.border-t-transparent {
  border-top-color: transparent;
}
.bg-background {
  background-color: hsl(var(--background));
}
.bg-black\/50 {
  background-color: rgb(0 0 0 / 0.5);
}
.bg-black\/60 {
  background-color: rgb(0 0 0 / 0.6);
}
.bg-black\/80 {
  background-color: rgb(0 0 0 / 0.8);
}
.bg-blue-500\/10 {
  background-color: rgb(59 130 246 / 0.1);
}
.bg-border {
  background-color: hsl(var(--border));
}
.bg-card {
  background-color: hsl(var(--card));
}
.bg-destructive {
  background-color: hsl(var(--destructive));
}
.bg-green-100 {
  --tw-bg-opacity: 1;
  background-color: rgb(220 252 231 / var(--tw-bg-opacity, 1));
}
.bg-green-500\/10 {
  background-color: rgb(34 197 94 / 0.1);
}
.bg-muted {
  background-color: hsl(var(--muted));
}
.bg-muted\/30 {
  background-color: hsl(var(--muted) / 0.3);
}
.bg-muted\/50 {
  background-color: hsl(var(--muted) / 0.5);
}
.bg-orange-500\/10 {
  background-color: rgb(249 115 22 / 0.1);
}
.bg-popover {
  background-color: hsl(var(--popover));
}
.bg-primary {
  background-color: hsl(var(--primary));
}
.bg-primary\/10 {
  background-color: hsl(var(--primary) / 0.1);
}
.bg-purple-500\/10 {
  background-color: rgb(168 85 247 / 0.1);
}
.bg-secondary {
  background-color: hsl(var(--secondary));
}
.bg-transparent {
  background-color: transparent;
}
.bg-white {
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
}
.bg-yellow-100 {
  --tw-bg-opacity: 1;
  background-color: rgb(254 249 195 / var(--tw-bg-opacity, 1));
}
.fill-current {
  fill: currentColor;
}
.object-cover {
  -o-object-fit: cover;
     object-fit: cover;
}
.p-0 {
  padding: 0px;
}
.p-1 {
  padding: 0.25rem;
}
.p-2 {
  padding: 0.5rem;
}
.p-3 {
  padding: 0.75rem;
}
.p-4 {
  padding: 1rem;
}
.p-6 {
  padding: 1.5rem;
}
.p-8 {
  padding: 2rem;
}
.px-1\.5 {
  padding-left: 0.375rem;
  padding-right: 0.375rem;
}
.px-2 {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}
.px-2\.5 {
  padding-left: 0.625rem;
  padding-right: 0.625rem;
}
.px-3 {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}
.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}
.px-8 {
  padding-left: 2rem;
  padding-right: 2rem;
}
.py-0\.5 {
  padding-top: 0.125rem;
  padding-bottom: 0.125rem;
}
.py-1 {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}
.py-1\.5 {
  padding-top: 0.375rem;
  padding-bottom: 0.375rem;
}
.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}
.py-2\.5 {
  padding-top: 0.625rem;
  padding-bottom: 0.625rem;
}
.py-3 {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}
.py-8 {
  padding-top: 2rem;
  padding-bottom: 2rem;
}
.pl-4 {
  padding-left: 1rem;
}
.pl-8 {
  padding-left: 2rem;
}
.pr-2 {
  padding-right: 0.5rem;
}
.pt-0 {
  padding-top: 0px;
}
.pt-8 {
  padding-top: 2rem;
}
.text-left {
  text-align: left;
}
.text-center {
  text-align: center;
}
.text-right {
  text-align: right;
}
.text-end {
  text-align: end;
}
.align-middle {
  vertical-align: middle;
}
.font-sans {
  font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}
.text-2xl {
  font-size: 1.5rem;
  line-height: 2rem;
}
.text-3xl {
  font-size: 1.875rem;
  line-height: 2.25rem;
}
.text-lg {
  font-size: 1.125rem;
  line-height: 1.75rem;
}
.text-sm {
  font-size: 0.875rem;
  line-height: 1.25rem;
}
.text-xs {
  font-size: 0.75rem;
  line-height: 1rem;
}
.font-bold {
  font-weight: 700;
}
.font-medium {
  font-weight: 500;
}
.font-normal {
  font-weight: 400;
}
.font-semibold {
  font-weight: 600;
}
.italic {
  font-style: italic;
}
.leading-none {
  line-height: 1;
}
.tracking-tight {
  letter-spacing: -0.025em;
}
.tracking-widest {
  letter-spacing: 0.1em;
}
.text-blue-500 {
  --tw-text-opacity: 1;
  color: rgb(59 130 246 / var(--tw-text-opacity, 1));
}
.text-card-foreground {
  color: hsl(var(--card-foreground));
}
.text-current {
  color: currentColor;
}
.text-destructive {
  color: hsl(var(--destructive));
}
.text-destructive-foreground {
  color: hsl(var(--destructive-foreground));
}
.text-foreground {
  color: hsl(var(--foreground));
}
.text-green-500 {
  --tw-text-opacity: 1;
  color: rgb(34 197 94 / var(--tw-text-opacity, 1));
}
.text-green-800 {
  --tw-text-opacity: 1;
  color: rgb(22 101 52 / var(--tw-text-opacity, 1));
}
.text-muted-foreground {
  color: hsl(var(--muted-foreground));
}
.text-orange-500 {
  --tw-text-opacity: 1;
  color: rgb(249 115 22 / var(--tw-text-opacity, 1));
}
.text-popover-foreground {
  color: hsl(var(--popover-foreground));
}
.text-primary {
  color: hsl(var(--primary));
}
.text-primary-foreground {
  color: hsl(var(--primary-foreground));
}
.text-purple-500 {
  --tw-text-opacity: 1;
  color: rgb(168 85 247 / var(--tw-text-opacity, 1));
}
.text-secondary-foreground {
  color: hsl(var(--secondary-foreground));
}
.text-white {
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}
.text-yellow-800 {
  --tw-text-opacity: 1;
  color: rgb(133 77 14 / var(--tw-text-opacity, 1));
}
.underline {
  text-decoration-line: underline;
}
.line-through {
  text-decoration-line: line-through;
}
.underline-offset-4 {
  text-underline-offset: 4px;
}
.opacity-0 {
  opacity: 0;
}
.opacity-50 {
  opacity: 0.5;
}
.opacity-60 {
  opacity: 0.6;
}
.opacity-70 {
  opacity: 0.7;
}
.shadow-lg {
  --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.shadow-md {
  --tw-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.shadow-sm {
  --tw-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.outline-none {
  outline: 2px solid transparent;
  outline-offset: 2px;
}
.outline {
  outline-style: solid;
}
.ring-offset-background {
  --tw-ring-offset-color: hsl(var(--background));
}
.filter {
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}
.transition {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.transition-all {
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.transition-colors {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.transition-opacity {
  transition-property: opacity;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.transition-transform {
  transition-property: transform;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.duration-200 {
  transition-duration: 200ms;
}
.duration-300 {
  transition-duration: 300ms;
}
@keyframes enter {

  from {
    opacity: var(--tw-enter-opacity, 1);
    transform: translate3d(var(--tw-enter-translate-x, 0), var(--tw-enter-translate-y, 0), 0) scale3d(var(--tw-enter-scale, 1), var(--tw-enter-scale, 1), var(--tw-enter-scale, 1)) rotate(var(--tw-enter-rotate, 0));
  }
}
@keyframes exit {

  to {
    opacity: var(--tw-exit-opacity, 1);
    transform: translate3d(var(--tw-exit-translate-x, 0), var(--tw-exit-translate-y, 0), 0) scale3d(var(--tw-exit-scale, 1), var(--tw-exit-scale, 1), var(--tw-exit-scale, 1)) rotate(var(--tw-exit-rotate, 0));
  }
}
.duration-200 {
  animation-duration: 200ms;
}
.duration-300 {
  animation-duration: 300ms;
}

:root {
  --primary: #2460f2;
  --swiper-theme-color: #2460f2;
  /* 与固定顶栏 content 区高度一致；lg 以下见 @media (max-width: 991.98px) */
  --header-height: 75px;

  /* shadcn/ui CSS Variables */
  --background: 0 0% 100%;
  --foreground: 222.2 84% 4.9%;
  --card: 0 0% 100%;
  --card-foreground: 222.2 84% 4.9%;
  --popover: 0 0% 100%;
  --popover-foreground: 222.2 84% 4.9%;
  --primary-foreground: 210 40% 98%;
  --secondary: 210 40% 96.1%;
  --secondary-foreground: 222.2 47.4% 11.2%;
  --muted: 210 40% 96.1%;
  --muted-foreground: 215.4 16.3% 46.9%;
  --accent: 210 40% 96.1%;
  --accent-foreground: 222.2 47.4% 11.2%;
  --destructive: 0 84.2% 60.2%;
  --destructive-foreground: 210 40% 98%;
  --border: 214.3 31.8% 91.4%;
  --input: 214.3 31.8% 91.4%;
  --ring: 221.2 83.2% 53.3%;
  --radius: 0.5rem;
}

.dark {
  --background: 222.2 84% 4.9%;
  --foreground: 210 40% 98%;
  --card: 222.2 84% 4.9%;
  --card-foreground: 210 40% 98%;
  --popover: 222.2 84% 4.9%;
  --popover-foreground: 210 40% 98%;
  --primary-foreground: 222.2 47.4% 11.2%;
  --secondary: 217.2 32.6% 17.5%;
  --secondary-foreground: 210 40% 98%;
  --muted: 217.2 32.6% 17.5%;
  --muted-foreground: 215 20.2% 65.1%;
  --accent: 217.2 32.6% 17.5%;
  --accent-foreground: 210 40% 98%;
  --destructive: 0 62.8% 30.6%;
  --destructive-foreground: 210 40% 98%;
  --border: 217.2 32.6% 17.5%;
  --input: 217.2 32.6% 17.5%;
  --ring: 224.3 76.3% 48%;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-tap-highlight-color: rgba(0,0,0,0);
  overflow-x: hidden;
}

body {
  font-family: Arial, sans-serif, "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei";
  color: #333;
  line-height: 1.6;
  background-color: #f5f7fa;
  overflow-x: hidden;
  /* 顶栏贴屏顶 + 刘海安全区，避免滑动时露出一条与顶栏不齐的缝 */
  padding-top: calc(var(--header-height) + env(safe-area-inset-top, 0px));
}

/* 全局禁止链接下划线 */
a,
a:hover,
a:focus,
a:visited,
a:active {
  text-decoration: none !important;
}
a {
  color: inherit;
  transition: all 0.3s ease;
}

img {
  max-width: 100%;
  height: auto;
}

/* ========== Header ========== */
header {
  background: #fff;
  position: relative;
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  height: calc(var(--header-height) + env(safe-area-inset-top, 0px));
}

/* 顶部固定，与源站一致 */
header.header-fixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
}

header .logo img,
.header-logo {
  height: 80px;
  width: auto;
}

header .container {
  width: 100%;
  height: 100%;
  padding-left: 15px;
  padding-right: 15px;
}

/* 详情页：返回 + Logo */
header .header-brand-cluster {
  gap: 2px;
  min-width: 0;
}

header .header-back-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0 2px 0 -4px;
  padding: 0;
  border: none;
  background: transparent;
  color: #222;
  flex-shrink: 0;
  border-radius: 8px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

header .header-back-btn:hover {
  color: var(--primary);
  background: rgba(0, 0, 0, 0.04);
}

header .header-back-btn i {
  font-size: 20px;
  line-height: 1;
}

/* 大屏：header 与内容区同宽，logo 与内容左边对齐 */
@media (min-width: 1200px) {
  header .container {
    max-width: 92%;
    margin-left: auto;
    margin-right: auto;
  }
}


header nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

header nav ul li a {
  display: flex;
  align-items: center;
  padding: 0 20px;
  font-size: 15px;
  color: #000;
  font-weight: 500;
  height: var(--header-height);
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: none;
}

header nav ul li a:hover {
  color: var(--primary);
}

header nav ul li a.active {
  color: var(--primary);
}

.lang-switch-header {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 4px 6px;
  text-decoration: none;
  border-bottom: none;
}

.lang-switch-header img {
  width: 40px;
  height: 30px;
  margin: 0;
  border: 1px solid #ddd;
  transition: opacity 0.3s;
  display: block;
}

.lang-switch-header:hover img {
  opacity: 0.8;
}

/* ========== Banner Swiper ========== */
.main-slider {
  width: 100%;
  position: relative;
  overflow: hidden;
}

.main-slider .swiper-slide {
  position: relative;
  overflow: hidden;
}

.main-slider .swiper-slide img,
.main-slider .swiper-slide .swiper-silde-img {
  width: 100%;
  min-height: 400px;
  max-height: 800px;
  -o-object-fit: cover;
     object-fit: cover;
  transform: scale(1);
  transition: transform 7000ms ease;
}

.main-slider .swiper-slide-active img,
.main-slider .swiper-slide-active .swiper-silde-img {
  transform: scale(1.15);
}

.main-slider .swiper-pagination {
  bottom: 59px;
}

.main-slider .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  border-radius: 10px;
  background: rgba(255,255,255,0.4);
  opacity: 1;
  margin: 0;
  transition: all 500ms ease;
}

.main-slider .swiper-pagination-bullet-active {
  width: 20px;
  height: 10px;
  background: #fff;
  opacity: 1;
}

/* 自定义简洁单箭头按钮，不依赖 Swiper 默认样式 */
.main-slider-prev,
.main-slider-next {
  position: absolute;
  top: 50%;
  margin-top: -25px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #fff;
  border: none;
  box-shadow: 0 2px 10px rgba(0,0,0,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #333;
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 10;
}

.main-slider:hover .main-slider-prev,
.main-slider:hover .main-slider-next {
  opacity: 1;
}

.main-slider-prev {
  left: 120px;
}

.main-slider-next {
  right: 120px;
}

.main-slider-prev svg,
.main-slider-next svg {
  flex-shrink: 0;
}

/* ========== Section Title ========== */
.public-title {
  margin-bottom: 10px;
  margin-top: 15px;
}

@media (max-width: 991.98px) {
  .public-title {
    text-align: center;
  }
}

.public-title h3 {
  font-size: 30px;
  color: #333;
  font-weight: 700;
  position: relative;
  display: inline-block;
  text-transform: uppercase;
}

.public-title h3::after {
  display: none;
}

/* ========== Product Wrapper (与源站 style.min.css 一致) ========== */
main {
  overflow-x: hidden;
}

.product-wrapper {
  margin-top: 15px;
}

.product-wrapper .row {
  align-items: flex-start;
}

@media (max-width: 991.98px) {
  .product-wrapper .row:first-child {
    flex-shrink: 0;
  }
  .product-wrapper .public-title {
    align-self: flex-start;
  }
  /* 产品聚合页：标题整行居中、黑色（与旧首页区块一致） */
  .products-hub-main .product-wrapper .public-title.product-hub-section-title {
    align-self: center;
    text-align: center;
    width: 100%;
    margin-top: 15px;
    margin-bottom: 10px;
  }
}

/* 产品聚合页标题：纯黑、居中（PC + 移动） */
.products-hub-main .product-hub-section-title {
  text-align: center;
  width: 100%;
}

.products-hub-main .product-hub-section-title h3 {
  color: #000;
  font-weight: 700;
  display: inline-block;
}

.product-wrapper .product-list {
  margin-top: 0;
}

.product-wrapper .product-list .product-item {
  margin: 12px 0;
}

/* ========== Product Card ========== */

.product-item-wrapper {
  display: block;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(100,100,100,.1);
  transition: top 0.5s;
  position: relative;
  top: 0;
  height: 100%;
  text-decoration: none;
}

.product-item-wrapper:hover {
  top: -4px;
}

.product-item-wrapper .pic {
  overflow: hidden;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

.product-item-wrapper .pic img {
  width: 100%;
  height: 45vh;
  min-height: 200px;
  -o-object-fit: cover;
     object-fit: cover;
  transform: scale(1);
  transition: transform 500ms ease;
  display: block;
}

.product-item-wrapper:hover .pic img {
  transform: scale(1.2);
}

.product-item-wrapper .content-wrapper {
  padding: 15px 15px 20px;
  text-align: center;
  transition: all 300ms ease;
  border-bottom-right-radius: 12px;
  border-bottom-left-radius: 12px;
}

.product-item-wrapper:hover .content-wrapper {
  background-color: var(--primary);
}

.product-item-title {
  font-size: 16px;
  color: #000;
  font-weight: 700;
  text-align: center;
  transition: all 300ms ease;
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-item-wrapper:hover .product-item-title {
  color: #fff;
}

.product-item-wrapper:hover .product-item-info {
  color: #fff;
}

/* 移动端商品卡片：标题和描述使用全宽，避免过度截断 */
@media (max-width: 767px) {
  .product-item-title {
    max-width: 100%;
  }
}

.product-item-info {
  font-size: 14px;
  color: #999;
  line-height: 24px;
  text-align: left;
  margin: 10px 0;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  transition: all 300ms ease;
}

.product-item-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.product-item-bottom .price {
  display: inline-flex;
  align-items: baseline;
  gap: 0.28em;
  flex-shrink: 0;
  min-width: 0;
  color: #333;
  font-size: 14px;
  min-height: 30px;
  line-height: 30px;
  transition: color 300ms ease;
}

.product-item-bottom .price .price-unit {
  font-size: 12px;
  margin-right: 0;
  flex-shrink: 0;
}

.product-item-wrapper:hover .product-item-bottom .price {
  color: #fff;
}


.product-item-bottom .price strong {
  font-size: 16px;
  font-weight: bold;
  flex-shrink: 0;
  letter-spacing: 0.02em;
}

@media (max-width: 767px) {
  .product-item-bottom .price {
    gap: 0.35em;
    margin-right: 6px;
  }

  .product-item-bottom .price .price-unit {
    font-size: 13px;
  }

  .product-item-bottom .price strong {
    font-size: 17px;
  }
}

/* public-more 与源站一致：白底 + 边框 #eee + 文字 #666 */
.public-more {
  display: inline-block;
  line-height: 1;
  white-space: nowrap;
  text-align: center;
  border: solid 1px #eee;
  padding: 10px 20px;
  background-color: #fff;
  border-radius: 2.5rem;
  color: #666;
  font-size: 13px;
  font-family: Arial, sans-serif, "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei";
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: all 0.5s;
}

.public-more::after {
  content: "";
  background-color: #fff;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: -1;
  transition: all 0.5s;
}

.public-more:hover {
  color: #fff;
  border-color: var(--primary);
}

.public-more:hover::after {
  background-color: var(--primary);
}

.product-item-wrapper:hover .public-more {
  color: #fff;
  border-color: var(--primary);
}

.product-item-wrapper:hover .public-more::after {
  background-color: var(--primary);
}

/* 产品卡片内的更多按钮 - 更小尺寸 */
.product-item-bottom .public-more {
  font-size: 12px;
  padding: 5px 10px;
  line-height: 20px;
}

.public-more i {
  font-size: 12px;
  margin-left: 2px;
}

/* View More Button - 底部查看更多与源站一致 */
.product-more {
  text-align: center;
  margin-top: 10px;
}

.product-more .public-more {
  display: inline-block;
  padding: 10px 20px;
  background-color: #fff;
  color: #666;
  border: solid 1px #eee;
  border-radius: 2.5rem;
  font-size: 13px;
  transition: all 0.5s;
}

.product-more .public-more:hover {
  color: #fff;
  border-color: var(--primary);
}

.product-more .public-more:hover::after {
  background-color: var(--primary);
}

/* ========== Category Banner (neibanner) ========== */
.neibanner {
  position: relative;
  height: 350px;
  overflow: hidden;
}

.neibanner img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

/* 与源站一致：neibannerdesc 在底部，标题在底部 */
.neibannerdesc {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1;
  color: #fff;
}

/* 大屏：banner 内 h2 和 neinav 与内容区同宽 */
@media (min-width: 1200px) {
  .neibannerdesc .container,
  .neinav .container {
    max-width: 92% !important;
  }
}

.neibannerdesc .neibannerdesc-title {
  margin-bottom: 40px;
}

.neibannerdesc h2 {
  margin-top: 5px;
  font-size: 44px;
  font-weight: 400;
}

.neibannerdesc p {
  font-size: 22px;
  font-weight: 400;
  text-transform: uppercase;
  color: #f1f1f1;
}

/* ========== Inner Navigation (neinav) ========== */
.neinav {
  width: 100%;
  background-color: rgba(0,0,0,.15);
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.neinav .container {
  height: 100%;
}

.neinav-wrapper {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  height: 100%;
  align-items: center;
}

.neinav-wrapper li {
  margin: 5px 20px 5px 0;
  display: flex;
  align-items: center;
}

.neinav-wrapper li a {
  color: #eee;
  display: inline-block;
  line-height: 35px;
  font-size: 15px;
  transition: all 0.3s;
  position: relative;
  text-decoration: none !important;
  border-bottom: none !important;
}

.neinav-wrapper li.active a {
  background-color: var(--primary);
  border-radius: 40px;
  padding: 0 15px;
  font-size: 15px;
  color: #fff;
  font-weight: 500;
  text-decoration: none !important;
  border-bottom: none !important;
}

.neinav-wrapper li:hover a {
  color: #fff;
}

.neiposition {
  color: #ccc;
  font-size: 14px;
  display: flex;
  align-items: center;
}

.neiposition i.fa {
  color: #ccc;
}

.neiposition i.neiposition-icon {
  color: #ccc;
  margin-right: 5px;
}

.neiposition a {
  font-size: 14px;
  color: #ccc;
}

.neiposition a:hover {
  color: #fff;
}

/* ========== Page List ========== */
.page-list {
  padding: 12px 0;
}

.page-news {
  background: #f5f7fa;
}

/* ========== News Cards (与源站一致 左图右文 2x2 等高卡片) ========== */
.page-news .news-list {
  margin: 12px 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 20px;
  height: 360px;
}

@media (max-width: 767px) {
  .page-news .news-list {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    height: auto;
    gap: 16px;
  }
}

.news-card-item {
  min-width: 0;
  min-height: 0;
  display: flex;
}

.news-card-wrapper {
  display: flex;
  flex-direction: row;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  width: 100%;
  height: 100%;
  min-height: 0;
  text-decoration: none;
  transition: box-shadow 0.3s;
}

.news-card-wrapper:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.news-card-pic {
  flex-shrink: 0;
  width: 42%;
  min-width: 0;
  overflow: hidden;
  background: #f5f5f5;
}

.news-card-pic img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}

.news-card-content {
  flex: 1;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  text-align: left;
  min-height: 0;
  overflow: hidden;
}

.news-card-title {
  font-size: 15px;
  color: #333;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card-excerpt {
  font-size: 13px;
  color: #666;
  line-height: 1.55;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card-more {
  color: var(--primary);
  font-weight: 500;
}

@media (max-width: 767px) {
  .news-card-wrapper {
    flex-direction: column;
    min-height: auto;
  }
  .news-card-pic {
    width: 100%;
    min-height: 140px;
  }
  .news-card-pic img {
    min-height: 140px;
  }
}

/* ========== News Detail (与源站一致) ========== */
.news-detail {
  max-width: 800px;
  margin: 0 auto;
  padding: 12px 0;
}

.news-detail-title {
  font-size: 24px;
  font-weight: 600;
  color: #333;
  margin-bottom: 12px;
  line-height: 1.4;
}

.news-detail-meta {
  font-size: 14px;
  color: #666;
  margin-bottom: 24px;
}

.news-detail-content {
  font-size: 16px;
  line-height: 2;
  color: #333;
}

.news-detail-content img {
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 100%;
  height: auto;
}

.news-detail-content p:has(img) {
  margin: 24px 0;
}

/* ========== Product Detail ========== */
.product-content-info {
  margin-top: 15px;
  padding: 0;
  background: #f5f7fa;
}

.product-content-info .container {
  width: 100%;
}

/* 大屏幕容器宽度 - 必须覆盖 Bootstrap 5 的 .container max-width:1320px */
@media (min-width: 1200px) {
  main .container,
  .product-wrapper .container,
  .product-content-info .container,
  .page-content .container,
  .page-list .container,
  .page-news .container,
  footer .container,
  .copyriht .container {
    max-width: 92% !important;
  }
}

.gallery-top {
  margin-bottom: 15px;
}

.gallery-top .swiper-slide img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
  border-radius: 8px;
}

.gallery-thumbs .swiper-slide {
  cursor: pointer;
  opacity: 0.4;
  border: 1px solid #999;
  border-radius: 10px;
  transition: all 0.3s;
}

.gallery-thumbs .swiper-slide-thumb-active {
  opacity: 1;
  border-color: #000;
}

.gallery-thumbs .swiper-slide img {
  width: 100%;
  height: 80px;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 10px;
}

.procont_ltop h2 {
  font-size: 28px;
  color: #333;
  font-weight: 600;
  margin-bottom: 20px;
  line-height: 1.4;
}

/* 移动端商品详情页：标题和属性值使用全宽，避免过度截断 */
@media (max-width: 767px) {
  .procont_ltop h2 {
    font-size: 20px;
    max-width: 100%;
  }
  .productNewsDl .info.clamp1 {
    display: block;
    max-width: 100%;
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
  }
  /* 整个属性信息区域：白色背景，左右小边距，内容贴边无内边距 */
  .procont_ltop,
  .procontent_zx {
    margin-left: 3px;
    margin-right: 3px;
  }
  .procontent_zx {
    background: #fff;
    padding: 0;
    border-radius: 4px;
  }
}

.procont_ltop p {
  font-size: 16px;
  color: #333;
}

/* Product Info Dl */
@media (min-width: 768px) {
  .procontent_zx {
    padding: 25px 30px;
  }
}

.productNewsDl dd {
  margin-bottom: 8px;
}

.productNewsDl .con {
  overflow: hidden;
}

.productNewsDl .title {
  float: left;
  width: 110px;
  background: #C9A36F;
  height: 32px;
  line-height: 32px;
  font-size: 14px;
  color: #fff;
  padding: 0 10px;
  margin-right: 20px;
  text-align: center;
}

.productNewsDl .info {
  font-size: 16px;
  height: 32px;
  line-height: 32px;
  color: #333;
}

.btn-news {
  background-color: #7F0019;
  color: #fff;
  padding: 10px 16px;
  font-size: 14px;
  border-radius: 10px;
  border: none;
  width: 120px;
}

/* ========== Page Content Tabs ========== */
.page-content {
  padding: 40px 0;
}

.page-content .page-content-card {
  border: none;
}

.page-content .page-content-card .tabs {
  display: flex;
  padding: 30px 30px 0;
  border-bottom: 1px solid #eee;
}

.page-content .page-content-card .tabs .tabs-item {
  cursor: pointer;
  font-size: 16px;
  color: #333;
  padding: 10px 0;
  transition: all 0.3s ease;
  margin-right: 40px;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
}

.page-content .page-content-card .tabs .tabs-item.active {
  color: #000;
  border-bottom: 3px solid #000;
  font-weight: 600;
}

.page-content .page-content-title {
  font-size: 30px;
  text-align: center;
  font-weight: 600;
  color: #333;
  margin-bottom: 24px;
  line-height: 1.4;
}

.page-content .card-body {
  padding: 30px;
  background-color: #fff;
  border-radius: 10px;
  line-height: 2rem;
}

.page-content .card-body img {
  max-width: calc(100% - 60px);
  height: auto;
}

/* ========== Footer ========== */
footer {
  background: #1f232b;
  padding: 40px 0;
}

footer .footer-contact p:first-child {
  font-size: 20px;
  font-weight: 700;
  color: #eee;
}

footer .footer-contact p {
  color: #999;
  font-size: 14px;
  margin-bottom: 5px;
}

.copyriht {
  background: #171717;
  padding: 10px 0;
}

.copyriht p {
  margin: 0;
  color: #666;
  font-size: 14px;
  text-align: center;
}

/*
 * 窄屏下隐藏深色页脚：
 * - html.ua-mobile：服务端根据 UA 即可加上，不依赖底栏挂载，避免移动首屏先闪页脚再出底栏
 * - body.has-mobile-nav：兜底（与底栏同时存在时一致）
 */
@media (max-width: 991.98px) {
  html.ua-mobile footer,
  html.ua-mobile .copyriht,
  body.has-mobile-nav footer,
  body.has-mobile-nav .copyriht {
    display: none !important;
  }
}

/* ========== Back to Top ========== */
#backTop {
  position: fixed;
  right: 10px;
  top: 75%;
  transform: translateY(-50%);
  z-index: 888;
  box-shadow: 0 2px 10px rgba(0,0,0,.1);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}

#backTop.show {
  opacity: 1;
  visibility: visible;
}

#gttop {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 50px;
  background: var(--primary);
  color: #fff;
  border: 1px solid var(--primary);
  border-radius: 5px 5px 0 0;
  cursor: pointer;
  font-size: 15px;
}

#gttop:hover {
  background: #1a4bc9;
}

/* ========== Pagination ========== */
.page-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 30px 0;
}

.page-pagination .pagination {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding-left: 0;
  margin: 0;
  border-radius: 8px;
  list-style: none;
}

.page-pagination .pagination > li {
  display: inline;
}

.page-pagination .pagination > li > a,
.page-pagination .pagination > li > span {
  position: relative;
  float: left;
  padding: 6px 12px;
  margin-left: -1px;
  line-height: 1.42857143;
  color: var(--primary);
  text-decoration: none;
  background-color: #fff;
  border: 1px solid #ddd;
}

/* 当前页/共X页 显示 - 蓝色背景居中 */
.page-pagination .pagination > li.disabled > span {
  color: #fff;
  cursor: default;
  background-color: var(--primary);
  border-color: var(--primary);
  border-radius: 4px;
}

.pagination {
  text-align: center;
  width: 100%;
  margin: 30px 0;
}

.pagination a,
.pagination span {
  display: inline-block;
  padding: 6px 12px;
  color: var(--primary);
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  margin: 0 2px;
}

.pagination .active,
.pagination a:hover {
  background-color: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* ========== Responsive ========== */
@media (max-width: 1199.98px) {
  header nav ul li a {
    font-size: 14px;
  }
}

@media (max-width: 991.98px) {
  :root {
    --header-height: 60px;
  }

  header .logo img,
  .header-logo {
    height: 55px;
  }

  header nav ul li a {
    padding: 15px 10px;
    font-size: 14px;
  }
  
  .main-slider {
    height: 300px;
    min-height: 300px;
  }
  
  .main-slider-prev,
  .main-slider-next {
    display: none;
  }
  
  .main-slider .swiper-slide img,
  .main-slider .swiper-slide .swiper-silde-img {
    min-height: 300px;
  }
  
  .neibanner {
    height: 230px;
  }
  
  .neibannerdesc h2 {
    font-size: 28px;
  }
  
  .neinav {
    display: none !important;
  }
  
  .gallery-top .swiper-slide img {
    height: 300px;
  }
  
  footer .footer-contact {
    align-items: start !important;
    text-align: left !important;
  }
}

@media (max-width: 767px) {
  .main-slider {
    height: 250px;
    min-height: 250px;
  }
  
  .main-slider .swiper-slide img,
  .main-slider .swiper-slide .swiper-silde-img {
    min-height: 250px;
  }
  
  .product-item-wrapper .pic img {
    height: 35vh;
    min-height: 200px;
  }
  
  .neibanner {
    height: 230px;
  }
  
  .gallery-top .swiper-slide img {
    height: 250px;
  }
  
  .productNewsDl .title {
    width: 90px;
    font-size: 12px;
  }
  
  .productNewsDl .info {
    font-size: 14px;
  }
  
  .public-title h3 {
    font-size: 24px;
  }
}

@media (max-width: 575.98px) {
  .main-slider h2 {
    font-size: 36px;
    line-height: 40px;
  }
  
  .main-slider p {
    font-size: 16px;
  }
}

/* ========== Hub 列表：滚动进入视口时上滑渐入（替代客户端列表上的 WOW，避免 .wow 一直隐藏） ========== */
.hub-list-reveal {
  opacity: 0;
  transform: translate3d(0, 32px, 0);
  transition:
    opacity 0.62s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.62s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.hub-list-reveal.hub-list-reveal--in {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  will-change: auto;
}

@media (prefers-reduced-motion: reduce) {
  .hub-list-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ========== Animation ========== */
.wow {
  visibility: hidden;
}

/* ========== Mobile Menu Overlay ========== */
.mobile-nav-overlay {
  position: fixed;
  top: 60px;
  left: 0;
  width: 100vw;
  height: calc(100vh - 60px);
  background-color: rgba(0,0,0,.5);
  overflow-y: auto;
  z-index: 999;
}

.mobile-nav-content {
  background: #fff;
  padding: 0;
}

.mobile-nav-content ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-nav-content ul li a {
  display: block;
  padding: 15px 20px;
  color: #333;
  font-size: 15px;
  border-bottom: 1px solid #f2f2f2;
}

.mobile-nav-content ul li a:hover {
  color: var(--primary);
}

/* 语言切换：紧贴菜单最后一项下方，透明背景，靠左无上边距 */
.mobile-lang-switch {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 20px;
  padding: 0 20px 12px 20px;
  background: transparent;
}

.mobile-lang-switch a {
  display: flex;
  align-items: center;
  padding: 4px;
}

.mobile-lang-switch a img {
  width: 40px;
  height: 30px;
  border: 1px solid #ddd;
  -o-object-fit: cover;
     object-fit: cover;
}

/* ========== Mobile Bottom Navigation ========== */
/* 与 .mobile-bottom-nav 同高同色，仅作首屏/硬刷新时的底层，pointer-events 由真导航承接 */
.mobile-bottom-nav-shelf {
  display: none;
}

@media (max-width: 991.98px) {
  html.ua-mobile .mobile-bottom-nav-shelf {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: #fff;
    border-top: 1px solid #eee;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 999;
    pointer-events: none;
  }

  body:has([data-admin-app]) .mobile-bottom-nav-shelf {
    display: none !important;
  }
}

.mobile-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 60px;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1001;
  border-top: 1px solid #eee;
}

.mobile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  height: 100%;
  color: #666;
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 8px 0;
}

.mobile-nav-item i {
  font-size: 20px;
  margin-bottom: 4px;
}

.mobile-nav-item span {
  font-size: 12px;
}

.mobile-nav-item.active {
  color: #7F0019;
}

.mobile-nav-item:hover {
  color: #7F0019;
  background: rgba(127, 0, 25, 0.05);
}

/* 移动端有底部导航时，body 需要留出底部空间 */
@media (max-width: 991px) {
  body.has-mobile-nav {
    padding-bottom: 60px;
  }
}

/* ========== Marquee Bar (滚动公告) ========== */
.marquee-bar {
  background: transparent;
  padding: 10px 0;
  margin: 0;
  overflow: hidden;
  border: none;
}

/* 移动端朋友圈：公告从右侧缓慢滑到左侧停住，静止 10s 后换下一条；点击弹窗全文，无焦点选中框 */
.marquee-row {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 0 12px;
  box-sizing: border-box;
}

.marquee-icon-wrap {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  color: rgba(0, 0, 0, 0.38);
}

.marquee-icon-svg {
  display: block;
  flex-shrink: 0;
}

.marquee-rotator-viewport {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  padding: 0;
  box-sizing: border-box;
}

.marquee-rotator-track {
  display: inline-block;
  white-space: nowrap;
}

.marquee-rotator-track--scroll {
  animation: marquee-rotator-slide var(--marquee-dur, 8s) ease-out forwards;
  will-change: transform;
}

.marquee-rotator-text {
  font-size: 14px;
  display: inline-block;
  color: inherit;
}

.marquee-rotator-viewport--clickable {
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  border-radius: 6px;
  outline: none;
  -moz-user-select: none;
       user-select: none;
  -webkit-user-select: none;
}

.marquee-detail-overlay {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  padding-bottom: max(20px, env(safe-area-inset-bottom));
  background: rgba(0, 0, 0, 0.45);
  box-sizing: border-box;
}

.marquee-detail-sheet {
  width: 100%;
  max-width: 400px;
  max-height: min(75vh, 560px);
  overflow: auto;
  background: #fff;
  border-radius: 12px;
  padding: 20px 18px 16px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
  -webkit-overflow-scrolling: touch;
}

.marquee-detail-title {
  margin: 0 0 12px;
  font-size: 17px;
  font-weight: 600;
  color: #333;
}

.marquee-detail-body {
  font-size: 15px;
  line-height: 1.65;
  color: #444;
  word-break: break-word;
  white-space: pre-wrap;
  margin-bottom: 16px;
}

.marquee-detail-close {
  display: block;
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 8px;
  background: var(--primary, #7f0019);
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
}

.marquee-detail-close:active {
  opacity: 0.9;
}

@keyframes marquee-rotator-slide {
  from {
    transform: translateX(var(--marquee-start, 100%));
  }
  to {
    transform: translateX(var(--marquee-end, -100%));
  }
}

.marquee-container {
  display: flex;
  width: -moz-max-content;
  width: max-content;
  animation: marquee-scroll 20s linear infinite;
}

.marquee-container:hover {
  animation-play-state: paused;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  padding: 0 30px;
  color: inherit;
  font-size: 14px;
  white-space: nowrap;
}

.marquee-item::after {
  content: '•';
  margin-left: 30px;
  color: inherit;
  opacity: 0.35;
}

.marquee-item:last-child::after {
  content: '';
}

@keyframes marquee-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ========== Mobile Post Feed (朋友圈动态流) ========== */
.mobile-post-feed {
  background: #f5f5f5;
  padding: 10px;
}

.post-card {
  background: #fff;
  border-radius: 8px;
  margin-bottom: 10px;
  padding: 15px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.post-header {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}

.post-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  -o-object-fit: cover;
     object-fit: cover;
  margin-right: 12px;
  border: 2px solid #eee;
}

.post-username {
  font-weight: 600;
  font-size: 15px;
  color: #333;
}

.post-content {
  font-size: 14px;
  line-height: 1.6;
  color: #333;
  margin-bottom: 12px;
  word-break: break-word;
}

.post-images {
  display: grid;
  gap: 4px;
  margin-bottom: 12px;
}

.post-images.single {
  grid-template-columns: 1fr;
}

.post-images.double {
  grid-template-columns: repeat(2, 1fr);
}

.post-images.grid {
  grid-template-columns: repeat(3, 1fr);
}

.post-image {
  width: 100%;
  aspect-ratio: 1;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 4px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

/* 朋友圈大图预览 */
.post-image-viewer-overlay {
  position: fixed;
  inset: 0;
  z-index: 10060;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(12px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right))
    max(12px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
  background: rgba(0, 0, 0, 0.92);
  box-sizing: border-box;
}

.post-image-viewer-close {
  position: absolute;
  top: max(10px, env(safe-area-inset-top));
  right: max(10px, env(safe-area-inset-right));
  z-index: 2;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-tap-highlight-color: transparent;
}

.post-image-viewer-counter {
  position: absolute;
  bottom: max(16px, env(safe-area-inset-bottom));
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  padding: 6px 14px;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.02em;
}

.post-image-viewer-stage {
  position: relative;
  max-width: 100%;
  max-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.post-image-viewer-img {
  max-width: 100%;
  max-height: min(88vh, 100%);
  width: auto;
  height: auto;
  -o-object-fit: contain;
     object-fit: contain;
  border-radius: 2px;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  -webkit-user-drag: none;
}

.post-footer {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-top: 10px;
  border-top: 1px solid #f0f0f0;
}

.post-action {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #666;
  font-size: 14px;
  cursor: pointer;
  transition: color 0.3s;
}

.post-action i {
  font-size: 16px;
}

.post-action:hover {
  color: #7F0019;
}

.post-action.liked i {
  color: #ff4d4f;
}

/* 九宫格图片特殊处理 */
.post-images.grid .post-image:nth-child(1):nth-last-child(1) {
  grid-column: span 2;
  grid-row: span 2;
}

.post-images.grid .post-image:nth-child(4):nth-last-child(5),
.post-images.grid .post-image:nth-child(5):nth-last-child(4),
.post-images.grid .post-image:nth-child(6):nth-last-child(3) {
  /* 6张图时的布局调整 */
}

/* 移动端首页容器 */
.mobile-home-container {
  min-height: calc(100vh - 135px);
}

/* 下拉刷新：外层不裁剪，加载圈放在滚动区外才不会被 overflow 吃掉 */
.mobile-post-feed-wrapper {
  position: relative;
  width: 100%;
  height: calc(100vh - 135px);
}

.mobile-post-feed-container {
  position: relative;
  width: 100%;
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  transition: transform 0.3s ease;
}

/* 刷新时顶部留白条内居中，纯灰色转圈（无文案） */
.pull-refresh-slot {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  pointer-events: none;
}

.pull-refresh-ring {
  width: 30px;
  height: 30px;
  border: 3px solid #e0e0e0;
  border-top-color: #9e9e9e;
  border-radius: 50%;
  animation: pull-refresh-spin 0.65s linear infinite;
}

@keyframes pull-refresh-spin {
  to {
    transform: rotate(360deg);
  }
}

/* 评论区样式 */
.post-comments {
  padding: 10px 0;
  font-size: 13px;
  background: #f7f7f7;
  border-radius: 4px;
  margin-top: 8px;
  padding: 10px 12px;
}

.comment-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 8px;
  line-height: 1.5;
}

.comment-item:last-child {
  margin-bottom: 0;
}

.comment-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  -o-object-fit: cover;
     object-fit: cover;
  flex-shrink: 0;
  margin-top: 1px;
  border: 1px solid #eee;
}

.comment-item-main {
  flex: 1;
  min-width: 0;
}

.comment-username {
  color: #576b95;
  font-weight: 500;
  margin-right: 6px;
}

.comment-content {
  color: #333;
}

.comment-more {
  color: #576b95;
  margin-top: 8px;
  cursor: pointer;
  font-size: 13px;
}

/* 文案内容 */
.post-content {
  font-size: 14px;
  line-height: 1.6;
  color: #333;
  margin-bottom: 12px;
  word-break: break-word;
  padding: 0 2px;
}

/* 用户名样式 */
.post-username {
  font-weight: 600;
  font-size: 15px;
  color: #333;
}
.file\:border-0::file-selector-button {
  border-width: 0px;
}
.file\:bg-transparent::file-selector-button {
  background-color: transparent;
}
.file\:text-sm::file-selector-button {
  font-size: 0.875rem;
  line-height: 1.25rem;
}
.file\:font-medium::file-selector-button {
  font-weight: 500;
}
.placeholder\:text-muted-foreground::-moz-placeholder {
  color: hsl(var(--muted-foreground));
}
.placeholder\:text-muted-foreground::placeholder {
  color: hsl(var(--muted-foreground));
}
.hover\:border-primary:hover {
  border-color: hsl(var(--primary));
}
.hover\:bg-accent:hover {
  background-color: hsl(var(--accent));
}
.hover\:bg-destructive\/80:hover {
  background-color: hsl(var(--destructive) / 0.8);
}
.hover\:bg-destructive\/90:hover {
  background-color: hsl(var(--destructive) / 0.9);
}
.hover\:bg-muted:hover {
  background-color: hsl(var(--muted));
}
.hover\:bg-muted\/30:hover {
  background-color: hsl(var(--muted) / 0.3);
}
.hover\:bg-muted\/50:hover {
  background-color: hsl(var(--muted) / 0.5);
}
.hover\:bg-primary\/80:hover {
  background-color: hsl(var(--primary) / 0.8);
}
.hover\:bg-primary\/90:hover {
  background-color: hsl(var(--primary) / 0.9);
}
.hover\:bg-secondary\/80:hover {
  background-color: hsl(var(--secondary) / 0.8);
}
.hover\:text-accent-foreground:hover {
  color: hsl(var(--accent-foreground));
}
.hover\:text-destructive:hover {
  color: hsl(var(--destructive));
}
.hover\:text-foreground:hover {
  color: hsl(var(--foreground));
}
.hover\:underline:hover {
  text-decoration-line: underline;
}
.hover\:opacity-100:hover {
  opacity: 1;
}
.hover\:shadow-md:hover {
  --tw-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.focus\:bg-accent:focus {
  background-color: hsl(var(--accent));
}
.focus\:text-accent-foreground:focus {
  color: hsl(var(--accent-foreground));
}
.focus\:outline-none:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
}
.focus\:ring-2:focus {
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
}
.focus\:ring-ring:focus {
  --tw-ring-color: hsl(var(--ring));
}
.focus\:ring-offset-2:focus {
  --tw-ring-offset-width: 2px;
}
.focus-visible\:outline-none:focus-visible {
  outline: 2px solid transparent;
  outline-offset: 2px;
}
.focus-visible\:ring-2:focus-visible {
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
}
.focus-visible\:ring-ring:focus-visible {
  --tw-ring-color: hsl(var(--ring));
}
.focus-visible\:ring-offset-2:focus-visible {
  --tw-ring-offset-width: 2px;
}
.focus-visible\:ring-offset-background:focus-visible {
  --tw-ring-offset-color: hsl(var(--background));
}
.disabled\:pointer-events-none:disabled {
  pointer-events: none;
}
.disabled\:cursor-not-allowed:disabled {
  cursor: not-allowed;
}
.disabled\:opacity-50:disabled {
  opacity: 0.5;
}
.group:hover .group-hover\:opacity-100 {
  opacity: 1;
}
.peer:disabled ~ .peer-disabled\:cursor-not-allowed {
  cursor: not-allowed;
}
.peer:disabled ~ .peer-disabled\:opacity-70 {
  opacity: 0.7;
}
.data-\[disabled\]\:pointer-events-none[data-disabled] {
  pointer-events: none;
}
.data-\[side\=bottom\]\:translate-y-1[data-side="bottom"] {
  --tw-translate-y: 0.25rem;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
.data-\[side\=left\]\:-translate-x-1[data-side="left"] {
  --tw-translate-x: -0.25rem;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
.data-\[side\=right\]\:translate-x-1[data-side="right"] {
  --tw-translate-x: 0.25rem;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
.data-\[side\=top\]\:-translate-y-1[data-side="top"] {
  --tw-translate-y: -0.25rem;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
.data-\[state\=checked\]\:translate-x-5[data-state="checked"] {
  --tw-translate-x: 1.25rem;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
.data-\[state\=unchecked\]\:translate-x-0\.5[data-state="unchecked"] {
  --tw-translate-x: 0.125rem;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
.data-\[state\=checked\]\:border-primary[data-state="checked"] {
  border-color: hsl(var(--primary));
}
.data-\[state\=unchecked\]\:border-neutral-300\/80[data-state="unchecked"] {
  border-color: rgb(212 212 212 / 0.8);
}
.data-\[state\=active\]\:bg-background[data-state="active"] {
  background-color: hsl(var(--background));
}
.data-\[state\=checked\]\:bg-primary[data-state="checked"] {
  background-color: hsl(var(--primary));
}
.data-\[state\=open\]\:bg-accent[data-state="open"] {
  background-color: hsl(var(--accent));
}
.data-\[state\=selected\]\:bg-muted[data-state="selected"] {
  background-color: hsl(var(--muted));
}
.data-\[state\=unchecked\]\:bg-neutral-300[data-state="unchecked"] {
  --tw-bg-opacity: 1;
  background-color: rgb(212 212 212 / var(--tw-bg-opacity, 1));
}
.data-\[state\=active\]\:text-foreground[data-state="active"] {
  color: hsl(var(--foreground));
}
.data-\[state\=checked\]\:text-primary-foreground[data-state="checked"] {
  color: hsl(var(--primary-foreground));
}
.data-\[state\=open\]\:text-muted-foreground[data-state="open"] {
  color: hsl(var(--muted-foreground));
}
.data-\[disabled\]\:opacity-50[data-disabled] {
  opacity: 0.5;
}
.data-\[state\=active\]\:shadow-sm[data-state="active"] {
  --tw-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.data-\[state\=open\]\:animate-in[data-state="open"] {
  animation-name: enter;
  animation-duration: 150ms;
  --tw-enter-opacity: initial;
  --tw-enter-scale: initial;
  --tw-enter-rotate: initial;
  --tw-enter-translate-x: initial;
  --tw-enter-translate-y: initial;
}
.data-\[state\=closed\]\:animate-out[data-state="closed"] {
  animation-name: exit;
  animation-duration: 150ms;
  --tw-exit-opacity: initial;
  --tw-exit-scale: initial;
  --tw-exit-rotate: initial;
  --tw-exit-translate-x: initial;
  --tw-exit-translate-y: initial;
}
.data-\[state\=closed\]\:fade-out-0[data-state="closed"] {
  --tw-exit-opacity: 0;
}
.data-\[state\=open\]\:fade-in-0[data-state="open"] {
  --tw-enter-opacity: 0;
}
.data-\[state\=closed\]\:zoom-out-95[data-state="closed"] {
  --tw-exit-scale: .95;
}
.data-\[state\=open\]\:zoom-in-95[data-state="open"] {
  --tw-enter-scale: .95;
}
.data-\[side\=bottom\]\:slide-in-from-top-2[data-side="bottom"] {
  --tw-enter-translate-y: -0.5rem;
}
.data-\[side\=left\]\:slide-in-from-right-2[data-side="left"] {
  --tw-enter-translate-x: 0.5rem;
}
.data-\[side\=right\]\:slide-in-from-left-2[data-side="right"] {
  --tw-enter-translate-x: -0.5rem;
}
.data-\[side\=top\]\:slide-in-from-bottom-2[data-side="top"] {
  --tw-enter-translate-y: 0.5rem;
}
.data-\[state\=closed\]\:slide-out-to-left-1\/2[data-state="closed"] {
  --tw-exit-translate-x: -50%;
}
.data-\[state\=closed\]\:slide-out-to-top-\[48\%\][data-state="closed"] {
  --tw-exit-translate-y: -48%;
}
.data-\[state\=open\]\:slide-in-from-left-1\/2[data-state="open"] {
  --tw-enter-translate-x: -50%;
}
.data-\[state\=open\]\:slide-in-from-top-\[48\%\][data-state="open"] {
  --tw-enter-translate-y: -48%;
}
.dark\:border-neutral-600:is(.dark *) {
  --tw-border-opacity: 1;
  border-color: rgb(82 82 82 / var(--tw-border-opacity, 1));
}
.dark\:bg-green-900:is(.dark *) {
  --tw-bg-opacity: 1;
  background-color: rgb(20 83 45 / var(--tw-bg-opacity, 1));
}
.dark\:bg-neutral-100:is(.dark *) {
  --tw-bg-opacity: 1;
  background-color: rgb(245 245 245 / var(--tw-bg-opacity, 1));
}
.dark\:bg-yellow-900:is(.dark *) {
  --tw-bg-opacity: 1;
  background-color: rgb(113 63 18 / var(--tw-bg-opacity, 1));
}
.dark\:text-green-300:is(.dark *) {
  --tw-text-opacity: 1;
  color: rgb(134 239 172 / var(--tw-text-opacity, 1));
}
.dark\:text-yellow-300:is(.dark *) {
  --tw-text-opacity: 1;
  color: rgb(253 224 71 / var(--tw-text-opacity, 1));
}
@media (min-width: 640px) {

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

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

  .sm\:flex-row {
    flex-direction: row;
  }

  .sm\:items-center {
    align-items: center;
  }

  .sm\:justify-end {
    justify-content: flex-end;
  }

  .sm\:justify-between {
    justify-content: space-between;
  }

  .sm\:space-x-2 > :not([hidden]) ~ :not([hidden]) {
    --tw-space-x-reverse: 0;
    margin-right: calc(0.5rem * var(--tw-space-x-reverse));
    margin-left: calc(0.5rem * calc(1 - var(--tw-space-x-reverse)));
  }

  .sm\:rounded-lg {
    border-radius: var(--radius);
  }

  .sm\:text-left {
    text-align: left;
  }
}
@media (min-width: 1024px) {

  .lg\:block {
    display: block;
  }

  .lg\:hidden {
    display: none;
  }

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

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

  .lg\:p-6 {
    padding: 1.5rem;
  }
}
.\[\&\:has\(\[role\=checkbox\]\)\]\:pr-0:has([role=checkbox]) {
  padding-right: 0px;
}
.\[\&\>span\]\:line-clamp-1>span {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}
.\[\&\>tr\]\:last\:border-b-0:last-child>tr {
  border-bottom-width: 0px;
}
.\[\&_tr\:last-child\]\:border-0 tr:last-child {
  border-width: 0px;
}
.\[\&_tr\]\:border-b tr {
  border-bottom-width: 1px;
}

