:root {
  --bg: #f7f5ef;
  --surface: #ffffff;
  --surface-soft: #eeeee8;
  --ink: #14130f;
  --muted: #625d55;
  --line: #ded8cf;
  --accent: #924a30;
  --green: #5e6746;
  --dark: #122124;
  --shadow: 0 24px 80px rgba(18, 33, 36, 0.12);
  --container: min(1440px, calc(100vw - 8rem));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Hanken Grotesk", "Microsoft YaHei", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
}

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

.overflow-hidden > img,
.overflow-hidden img {
  max-height: 100%;
}

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

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.material-symbols-outlined {
  font-variation-settings: "FILL" 0, "wght" 300, "GRAD" 0, "opsz" 24;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(20, 19, 15, 0.07);
  backdrop-filter: blur(18px);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 36px rgba(18, 33, 36, 0.08);
}

.header-inner {
  width: var(--container);
  min-height: 72px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.main-nav {
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-link {
  position: relative;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--ink);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.brand {
  font-family: "Libre Caslon Text", Georgia, serif;
  font-size: 24px;
  color: var(--ink);
  white-space: nowrap;
}

.language-switch {
  justify-self: end;
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(20, 19, 15, 0.2);
  border-radius: 999px;
}

.language-switch button {
  border: 0;
  background: transparent;
  border-radius: 999px;
  padding: 5px 12px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.language-switch .active {
  background: var(--ink);
  color: #fff;
}

.hero-carousel {
  position: relative;
  height: 820px;
  overflow: hidden;
  background: var(--dark);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 0.7s ease, transform 1.2s ease;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}

.hero-slide img,
.image-hero img,
.page-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-slide::after,
.image-hero::after,
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.42));
}

.hero-copy {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 32px;
  text-align: center;
  color: #fff;
}

.hero-copy span,
.eyebrow,
.article-hero small,
.news-card small,
.featured-article small,
.mini-product small,
.product-card small {
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
}

.hero-copy span {
  color: rgba(255, 255, 255, 0.86);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Libre Caslon Text", Georgia, serif;
  font-weight: 400;
  line-height: 1.16;
}

.hero-copy h1 {
  max-width: 920px;
  margin: 18px 0 34px;
  font-size: clamp(48px, 5vw, 72px);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 34px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.button:hover {
  transform: translateY(-1px);
  background: var(--accent);
  border-color: var(--accent);
}

.button.light {
  border-color: #fff;
  background: #fff;
  color: var(--ink);
}

.button.ghost {
  background: transparent;
  color: var(--ink);
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  transform: translateY(-50%);
  transition: background 0.25s ease, color 0.25s ease;
}

.carousel-arrow:hover {
  background: #fff;
  color: var(--ink);
}

.carousel-arrow.prev {
  left: 48px;
}

.carousel-arrow.next {
  right: 48px;
}

.hero-dots {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 36px;
  display: flex;
  gap: 14px;
  transform: translateX(-50%);
}

.hero-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
}

.hero-dots button.active {
  background: #fff;
}

.section {
  padding: 96px 0;
}

.section.compact {
  padding-top: 36px;
}

.section-title {
  margin-bottom: 52px;
  text-align: center;
}

.section-title.left {
  margin-bottom: 0;
  text-align: left;
}

.section-title h2 {
  font-size: 34px;
}

.section-title span {
  display: block;
  width: 52px;
  height: 1px;
  margin: 14px auto 0;
  background: var(--ink);
}

.section-title.left span {
  margin-left: 0;
}

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

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

.inline-actions button {
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
}

.collection-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.collection-card {
  display: grid;
  gap: 18px;
  text-align: center;
}

.collection-card img {
  width: 100%;
  aspect-ratio: 1.55;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.collection-card:hover img {
  transform: scale(1.035);
}

.collection-card h3 {
  font-size: 24px;
}

.feature-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
  background: var(--surface-soft);
}

.feature-band.reverse {
  direction: rtl;
}

.feature-band.dark {
  background: var(--dark);
  color: #fff;
}

.feature-band > * {
  direction: ltr;
}

.feature-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 72px 8vw;
}

.feature-copy h2 {
  margin: 16px 0 22px;
  font-size: 48px;
}

.feature-copy p {
  max-width: 560px;
  margin: 0 0 34px;
  color: var(--muted);
  font-size: 18px;
}

.dark .feature-copy p {
  color: rgba(255, 255, 255, 0.72);
}

.feature-band img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 304px;
  gap: 24px;
  overflow-x: auto;
  padding-bottom: 18px;
  scrollbar-width: none;
}

.product-strip::-webkit-scrollbar {
  display: none;
}

.mini-product {
  display: grid;
  gap: 12px;
  text-align: center;
}

.product-image-wrap {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--surface);
}

.product-image-wrap.tall {
  aspect-ratio: 4 / 5;
}

.product-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.mini-product:hover img,
.product-card:hover img,
.news-card:hover img,
.featured-article:hover img {
  transform: scale(1.04);
}

.badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  padding: 4px 9px;
  background: var(--ink);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
}

.mini-product h3 {
  min-height: 58px;
  font-size: 20px;
}

.trust-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-item {
  display: grid;
  place-items: center;
  gap: 10px;
  min-height: 138px;
  background: var(--surface-soft);
  text-align: center;
}

.trust-item .material-symbols-outlined {
  color: var(--accent);
  font-size: 32px;
}

.lead-band {
  background: var(--ink);
  color: #fff;
  padding: 86px 20px;
}

.lead-inner {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}

.lead-inner h2 {
  font-size: 34px;
}

.lead-inner p {
  color: rgba(255, 255, 255, 0.72);
}

.lead-form {
  display: grid;
  gap: 22px;
  margin-top: 34px;
  text-align: left;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.lead-form label {
  display: grid;
  gap: 8px;
  color: inherit;
  font-size: 12px;
  font-weight: 800;
}

.lead-form input,
.lead-form textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid currentColor;
  outline: 0;
  background: transparent;
  color: inherit;
  padding: 10px 2px;
}

.lead-band .button {
  justify-self: center;
  border-color: #fff;
  background: #fff;
  color: var(--ink);
}

.form-tip {
  min-height: 24px;
  margin: 0;
  text-align: center;
}

.page-hero {
  position: relative;
  height: 400px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--dark);
  text-align: center;
}

.page-hero > div,
.image-hero > div {
  position: relative;
  z-index: 2;
  color: #fff;
}

.page-hero h1,
.image-hero h1 {
  font-size: clamp(44px, 6vw, 84px);
}

.page-hero p,
.image-hero p {
  margin: 16px 0 0;
  font-size: 20px;
}

.product-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 48px 0 28px;
  border-bottom: 1px solid var(--line);
}

.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 360px;
  border-bottom: 1px solid var(--line);
}

.search-box input {
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  padding: 12px 0;
}

.filter-list,
.category-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-list button,
.category-inner button {
  border: 1px solid var(--line);
  background: transparent;
  padding: 10px 16px;
  color: var(--muted);
}

.filter-list button.active,
.category-inner button.active {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 64px 24px;
}

.product-card {
  display: grid;
  gap: 22px;
  text-align: center;
}

.card-copy {
  display: grid;
  gap: 8px;
  justify-items: center;
  padding: 0 18px;
}

.card-copy h3 {
  font-size: 25px;
}

.card-copy p {
  max-width: 320px;
  min-height: 52px;
  margin: 0;
  color: var(--muted);
}

.card-copy span {
  margin-top: 8px;
  border-bottom: 1px solid currentColor;
  font-weight: 800;
}

.detail-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  padding: 72px 0 86px;
}

.main-product-image {
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: 8px;
  background: var(--surface-soft);
}

.main-product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumb-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 18px;
}

.thumb {
  overflow: hidden;
  aspect-ratio: 1;
  border: 2px solid transparent;
  border-radius: 6px;
  padding: 0;
  background: var(--surface-soft);
}

.thumb.active {
  border-color: var(--accent);
}

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

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.breadcrumb span {
  font-family: "Material Symbols Outlined";
  font-size: 16px;
}

.detail-copy h1 {
  font-size: 56px;
}

.detail-copy h2 {
  margin: 12px 0 28px;
  color: var(--accent);
  font-size: 28px;
  font-style: italic;
}

.detail-copy > p {
  color: var(--muted);
  font-size: 18px;
}

.profile-box {
  margin: 34px 0;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
}

.profile-box h3 {
  margin-bottom: 22px;
  font-family: "Hanken Grotesk", sans-serif;
  font-size: 13px;
  font-weight: 800;
}

.profile-row {
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 18px;
  padding: 16px 0;
  border-top: 1px solid rgba(20, 19, 15, 0.08);
}

.profile-row span {
  align-self: start;
  padding: 2px 8px;
  border-radius: 4px;
  background: #ffdbcf;
  color: #74341b;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

.profile-row p {
  margin: 4px 0 0;
  color: var(--muted);
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 18px;
  margin-bottom: 28px;
}

.price-row strong {
  font-family: "Libre Caslon Text", Georgia, serif;
  font-size: 32px;
}

.button-row {
  display: flex;
  gap: 16px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 42px;
}

.category-bar {
  position: sticky;
  top: 73px;
  z-index: 20;
  background: rgba(247, 245, 239, 0.95);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.category-inner {
  justify-content: center;
  padding: 18px 0;
}

.featured-article {
  display: grid;
  grid-template-columns: 3fr 2fr;
  overflow: hidden;
  margin-bottom: 58px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
}

.featured-article img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.featured-article div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px;
}

.featured-article h2 {
  margin: 14px 0 18px;
  font-size: 34px;
}

.featured-article p,
.news-card p {
  color: var(--muted);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 44px;
}

.news-card {
  display: grid;
  gap: 14px;
}

.news-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 8px;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.news-card h3 {
  font-size: 25px;
}

.article-hero {
  padding: 72px 0 54px;
  text-align: center;
}

.article-hero h1 {
  max-width: 900px;
  margin: 14px auto 18px;
  font-size: 56px;
}

.article-meta {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.article-hero img {
  width: 100%;
  aspect-ratio: 21 / 9;
  margin-top: 48px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) 360px;
  gap: 72px;
  padding-bottom: 96px;
}

.article-body {
  display: grid;
  gap: 28px;
  color: #2d2a24;
  font-size: 19px;
}

.article-body p {
  margin: 0;
}

.article-side {
  display: grid;
  align-content: start;
  gap: 18px;
}

.article-side h3 {
  font-family: "Hanken Grotesk", sans-serif;
  font-size: 16px;
  font-weight: 800;
}

.article-side a {
  display: grid;
  gap: 4px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  font-weight: 700;
}

.article-side span {
  color: var(--accent);
  font-size: 12px;
}

.image-hero {
  position: relative;
  height: 60vh;
  min-height: 520px;
  display: grid;
  place-items: center;
  overflow: hidden;
  text-align: center;
}

.image-hero > img {
  position: absolute;
  inset: 0;
}

.image-hero span {
  font-weight: 800;
}

.about-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  padding: 96px 0;
}

.about-story h2 {
  margin: 14px 0 26px;
  font-size: 48px;
}

.about-story p {
  color: var(--muted);
  font-size: 18px;
}

.about-story img {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.timeline-band {
  padding: 86px 0;
  background: var(--surface-soft);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.timeline-item {
  padding-top: 22px;
  border-top: 2px solid var(--accent);
}

.timeline-item strong {
  color: var(--accent);
  font-family: "Libre Caslon Text", Georgia, serif;
  font-size: 34px;
}

.timeline-item h3 {
  margin: 10px 0;
  font-size: 22px;
}

.timeline-item p {
  color: var(--muted);
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.value-card {
  display: grid;
  justify-items: center;
  gap: 16px;
  padding: 48px 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  text-align: center;
}

.value-card .material-symbols-outlined {
  color: var(--accent);
  font-size: 44px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 72px;
  padding: 96px 0;
}

.contact-info {
  display: grid;
  align-content: start;
  gap: 28px;
}

.contact-info h2,
.form-panel h2 {
  font-size: 34px;
}

.contact-info > div {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 14px;
}

.contact-info .material-symbols-outlined {
  color: var(--accent);
}

.contact-info p {
  margin: 0;
  color: var(--muted);
}

.contact-info strong {
  display: block;
  color: var(--accent);
}

.socials {
  font-weight: 700;
}

.form-panel {
  padding: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
}

.form-panel .lead-form {
  color: var(--ink);
}

.form-panel .button {
  justify-self: start;
}

.site-footer {
  background: var(--surface-soft);
  border-top: 1px solid var(--line);
}

.footer-inner {
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
  font-size: 13px;
}

.footer-inner div {
  display: flex;
  gap: 24px;
}

.empty-state,
.loading {
  min-height: 60vh;
  display: grid;
  place-items: center;
  padding: 80px 24px;
  text-align: center;
}

.empty-state h1 {
  font-size: 44px;
}

.empty-state.small {
  min-height: 240px;
  grid-column: 1 / -1;
  color: var(--muted);
}

.admin-page {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  min-height: calc(100vh - 72px);
  background: #f4f2ec;
}

.admin-sidebar {
  position: sticky;
  top: 72px;
  align-self: start;
  display: grid;
  gap: 10px;
  min-height: calc(100vh - 72px);
  padding: 28px;
  border-right: 1px solid var(--line);
  background: #ffffff;
}

.admin-sidebar h1 {
  margin: 18px 0;
  font-size: 28px;
}

.admin-back {
  width: fit-content;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
}

.admin-sidebar button {
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  padding: 12px 14px;
  color: var(--muted);
  text-align: left;
  font-weight: 800;
}

.admin-sidebar button.active,
.admin-sidebar button:hover {
  border-color: var(--line);
  background: var(--surface-soft);
  color: var(--ink);
}

.admin-main {
  min-width: 0;
  padding: 28px;
}

.admin-toolbar {
  position: sticky;
  top: 72px;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
}

.admin-toolbar label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.admin-toolbar input {
  min-width: 220px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px 12px;
  outline: 0;
}

.admin-toolbar > div {
  display: flex;
  gap: 10px;
}

.admin-status {
  min-height: 24px;
  margin: 0 0 16px;
  color: var(--muted);
  font-weight: 700;
}

.admin-status.success {
  color: var(--green);
}

.admin-status.error,
.error-text {
  color: #ba1a1a;
}

.admin-card {
  display: grid;
  gap: 22px;
  max-width: 1180px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  padding: 28px;
  box-shadow: 0 18px 60px rgba(18, 33, 36, 0.06);
}

.admin-card h2 {
  font-size: 28px;
}

.admin-form {
  align-content: start;
}

.admin-form label,
.editor-card label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.admin-form input,
.admin-form textarea,
.editor-card input,
.editor-card textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  padding: 11px 12px;
  outline: 0;
  resize: vertical;
}

.admin-form textarea,
.editor-card textarea {
  font-family: Consolas, "Courier New", monospace;
  font-size: 13px;
  line-height: 1.5;
}

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

.admin-section-head,
.editor-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.editor-list {
  display: grid;
  gap: 18px;
}

.editor-card {
  display: grid;
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #faf9f3;
}

.editor-card h3 {
  font-size: 22px;
}

.editor-card-head button {
  border: 1px solid #f0c2bd;
  border-radius: 999px;
  background: #fff2f0;
  color: #93000a;
  padding: 8px 14px;
  font-weight: 800;
}

.muted {
  color: var(--muted);
}

.lead-list {
  display: grid;
  gap: 14px;
}

.lead-item {
  display: grid;
  gap: 4px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #faf9f3;
}

.lead-item span,
.lead-item p,
.lead-item time {
  margin: 0;
  color: var(--muted);
}

code {
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(20, 19, 15, 0.08);
}

.hide-scrollbar {
  scrollbar-width: none;
}

.hide-scrollbar::-webkit-scrollbar {
  display: none;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 0.7s ease, transform 1.2s ease;
  overflow: hidden;
}

.carousel-slide.active {
  opacity: 1;
  transform: scale(1);
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

#hero-carousel-track {
  position: relative;
  width: 100%;
  height: 100%;
}



.carousel-overlay {
  z-index: 2;
}

.nav-link-hover {
  position: relative;
}

.nav-link-hover::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width 0.25s ease;
}

.nav-link-hover:hover::after {
  width: 100%;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.nav-dropdown:hover .nav-dropdown-arrow,
.nav-dropdown.open .nav-dropdown-arrow {
  transform: rotate(180deg);
}

.megamenu-panel {
  display: flex;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(18, 33, 36, 0.1);
  min-width: 520px;
  overflow: hidden;
}

.megamenu-left {
  width: 160px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--line);
  background: #faf9f3;
}

.megamenu-cat-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
  transition: all 0.15s ease;
  cursor: pointer;
}

.megamenu-cat-item:hover,
.megamenu-cat-item.active {
  background: #ffffff;
  color: var(--accent);
}

.megamenu-cat-item.active {
  border-left: 3px solid var(--accent);
  padding-left: 13px;
}

.megamenu-right {
  flex: 1;
  min-width: 0;
  position: relative;
}

.megamenu-products-panel {
  display: none;
  padding: 20px 24px;
  min-height: 100%;
}

.megamenu-products-panel.active {
  display: block;
}

.megamenu-panel-title {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
  font-size: 14px;
  font-weight: 800;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.megamenu-panel-title:hover {
  color: var(--ink);
}

.megamenu-product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px 20px;
}

.megamenu-product-link {
  display: block;
  padding: 8px 0;
  font-size: 14px;
  color: var(--ink);
  transition: color 0.15s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.megamenu-product-link:hover {
  color: var(--accent);
}

@media (max-width: 1100px) {
  :root {
    --container: min(100vw - 2.5rem, 980px);
  }

  .main-nav {
    gap: 14px;
  }

  .collection-grid,
  .trust-band,
  .related-grid,
  .timeline {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-grid,
  .news-grid,
  .value-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .detail-layout,
  .about-story,
  .contact-layout,
  .article-layout,
  .featured-article,
  .admin-page {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: static;
    min-height: auto;
  }

  .admin-toolbar {
    top: 0;
    flex-direction: column;
    align-items: stretch;
  }

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