:root {
  --bg: #f4efe8;
  --panel: rgba(255, 255, 255, 0.84);
  --panel-strong: #fffdf9;
  --text: #1f1d1a;
  --muted: #6f675d;
  --line: rgba(47, 37, 27, 0.09);
  --accent: #6f7b63;
  --accent-dark: #4f5c44;
  --accent-warm: #b9784a;
  --ink: #27302a;
  --surface: #ffffff;
  --surface-soft: #faf7f2;
  --shadow: 0 18px 50px rgba(42, 34, 24, 0.08);
  --button-radius: 12px;
  --font-family: "Inter", system-ui, sans-serif;
  --font-base: 15px;
  --font-sm: 0.88rem;
  --font-xs: 0.75rem;
  --font-lg: 1.01rem;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
}

.chatbot-widget {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 80;
  font-family: var(--font-family);
}

.chatbot-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border: 0;
  border-radius: 999px;
  background: var(--chatbot-button-bg, var(--accent-warm));
  color: #fff;
  font-weight: 800;
  box-shadow: 0 18px 44px rgba(80, 52, 25, 0.24);
  cursor: pointer;
}

.chatbot-toggle span {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
}

.chatbot-panel {
  display: none;
  width: min(340px, calc(100vw - 28px));
  margin-bottom: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 24px 80px rgba(42, 34, 24, 0.22);
}

.chatbot-widget.is-open .chatbot-panel {
  display: block;
}

.chatbot-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: var(--chatbot-head-bg, var(--accent));
  color: #fff;
}

.chatbot-head div {
  display: grid;
  gap: 3px;
}

.chatbot-head span {
  font-size: 0.74rem;
  opacity: 0.78;
}

.chatbot-head button {
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 1.2rem;
  cursor: pointer;
}

.chatbot-status {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-bottom: 1px solid var(--line);
  background: #fbf8f3;
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1.35;
}

.chatbot-status.is-empty {
  display: none;
}

.chatbot-status span {
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 16%, transparent);
}

.chatbot-status[data-state="sending"] span {
  background: var(--accent-warm);
}

.chatbot-status[data-state="ok"] span {
  background: #4f8f55;
}

.chatbot-status[data-state="error"] {
  color: #9a3d2f;
  background: #fff4ef;
}

.chatbot-status[data-state="error"] span {
  background: #b94d3b;
}

.chatbot-messages {
  display: grid;
  gap: 8px;
  max-height: 240px;
  overflow-y: auto;
  padding: 14px;
}

.chatbot-message {
  display: grid;
  gap: 5px;
}

.chatbot-messages p {
  margin: 0;
  padding: 9px 11px;
  border-radius: 14px;
  font-size: 0.82rem;
  line-height: 1.45;
}

.chatbot-message-head {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--muted);
}

.chatbot-message-head b,
.support-avatar {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 16%, #fff);
  color: var(--accent);
  font-size: 0.68rem;
  font-weight: 900;
}

.chatbot-messages .bot p,
.chatbot-messages > p.bot {
  background: #f3eee6;
}

.chatbot-messages .user {
  justify-self: end;
}

.chatbot-messages .user p {
  background: var(--accent-warm);
  color: #fff;
}

.chatbot-form {
  display: grid;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid var(--line);
}

.chatbot-identity {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.chatbot-identity[hidden],
.chatbot-form.is-chatting .chatbot-identity {
  display: none !important;
}

.chatbot-identity input:last-child {
  grid-column: 1 / -1;
}

.chatbot-form input,
.chatbot-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 10px 12px;
  font-size: 0.88rem;
  resize: vertical;
}

.chatbot-form textarea:invalid {
  box-shadow: none;
}

.chatbot-form .btn {
  justify-content: center;
}

.chatbot-form button[disabled] {
  opacity: 0.62;
  cursor: wait;
}

.chatbot-actions,
.support-reply-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.chatbot-actions .btn,
.support-reply-actions .btn {
  flex: 1;
  min-width: 0;
}

.chatbot-attach,
.support-attach {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  cursor: pointer;
}

.chatbot-attach input,
.support-attach input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.chatbot-file-name,
.support-file-name {
  min-width: 0;
  max-width: 110px;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.74rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chatbot-attachment-link,
.support-attachment {
  justify-self: start;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-family);
  font-size: var(--font-base);
  line-height: 1.55;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(111, 123, 99, 0.16), transparent 28%),
    radial-gradient(circle at right center, rgba(185, 120, 74, 0.14), transparent 24%),
    var(--bg);
}

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

button {
  font: inherit;
}

.admin-body {
  margin: 0;
  font-family: var(--font-family);
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(111, 123, 99, 0.12), transparent 28%),
    radial-gradient(circle at right top, rgba(185, 120, 74, 0.12), transparent 24%),
    #f7f3ec;
}

.page-shell {
  width: min(1180px, calc(100% - 72px));
  margin: 0 auto;
  padding: 18px 0 48px;
}

.site-shell {
  background: var(--surface);
  color: #2a2a2a;
}

.top-strip {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 8px max(36px, calc((100% - 1180px) / 2));
  background: var(--topbar-bg, #3d4b35);
  color: var(--topbar-text, #fff);
  font-family: var(--topbar-font-family, var(--font-family));
  font-size: var(--topbar-font-size, var(--font-xs));
}

.top-strip-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.social-icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  color: currentColor;
  opacity: 0.82;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.social-icon-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.social-icon-link:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.top-strip-contact {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.language-flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, currentColor 38%, transparent);
  background: rgba(255, 255, 255, 0.16);
  font-size: 1.08rem;
  line-height: 1;
  opacity: 0.82;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transition: opacity 0.15s ease, transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.language-flag.active,
.language-flag:hover {
  opacity: 1;
  border-color: currentColor;
  background: rgba(255, 255, 255, 0.28);
  transform: translateY(-1px);
}

.currency-switcher {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px;
  border: 1px solid color-mix(in srgb, currentColor 24%, transparent);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.currency-switcher a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  color: inherit;
  font-size: 0.68rem;
  font-weight: 800;
  opacity: 0.78;
}

.currency-switcher a.active,
.currency-switcher a:hover {
  background: rgba(255, 255, 255, 0.28);
  opacity: 1;
}

.site-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 14px max(36px, calc((100% - 1180px) / 2)) 12px;
  background: var(--header-bg, #ffffff);
  color: var(--header-text, var(--text));
  font-family: var(--header-font-family, var(--font-family));
  font-size: var(--header-font-size, var(--font-sm));
  border-bottom: 1px solid var(--line);
}

.brand-site {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 190px;
}

.brand-logo {
  font-size: 1.55rem;
  font-weight: 900;
  letter-spacing: -0.08em;
}

.brand-image {
  display: block;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.brand-image-site {
  height: 58px;
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-title {
  font-weight: 800;
  letter-spacing: 0.16em;
  font-size: var(--font-sm);
}

.brand-tag {
  font-size: var(--font-xs);
  letter-spacing: 0.12em;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  flex-wrap: wrap;
  font-size: var(--font-sm);
  line-height: 1;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  text-transform: none;
}

.mobile-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--header-text, var(--text));
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.mobile-menu-toggle span {
  display: block;
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.mobile-menu-toggle b {
  font-size: 0.82rem;
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.site-nav .home-nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--header-text, var(--text));
  transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.site-nav .home-nav-link:hover {
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 8px 22px rgba(42, 34, 24, 0.08);
}

.site-nav .home-nav-link svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}

.site-nav .home-nav-link span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.site-icons {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.05rem;
}

.cart-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--header-text, var(--text));
  transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.cart-link:hover {
  transform: translateY(-1px);
  border-color: var(--accent);
  background: #fff;
}

.cart-link svg {
  width: 21px;
  height: 21px;
  fill: currentColor;
}

.cart-link span {
  position: absolute;
  top: -5px;
  right: -5px;
  display: inline-flex;
  min-width: 18px;
  height: 18px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
}

.hero-slider {
  position: relative;
  min-height: clamp(420px, 39vw, 640px);
  margin: 0;
  overflow: hidden;
  background: var(--slider-bg, #111);
  color: var(--slider-text, #fff);
  font-family: var(--slider-font-family, var(--font-family));
}

.hero-slider::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 18% 34%, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.08) 24%, transparent 52%),
    linear-gradient(90deg, color-mix(in srgb, var(--slider-overlay-color, #080807) 56%, transparent) 0%, color-mix(in srgb, var(--slider-overlay-color, #080807) 34%, transparent) 34%, color-mix(in srgb, var(--slider-overlay-color, #080807) 4%, transparent) 72%, color-mix(in srgb, var(--slider-overlay-color, #080807) 12%, transparent) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.12));
  pointer-events: none;
}

.hero-slides,
.hero-slide {
  position: absolute;
  inset: 0;
}

.hero-slide {
  opacity: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.08);
  filter: saturate(0.82) contrast(0.94);
  transition: opacity 0.9s ease, transform 4.8s cubic-bezier(0.2, 0.7, 0.2, 1), filter 1.2s ease;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1.015);
  filter: saturate(1) contrast(1);
}

.hero-slider .hero-copy {
  position: absolute;
  z-index: 3;
  left: clamp(118px, 9vw, 172px);
  top: 96px;
  max-width: 420px;
  padding: 28px 30px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0.16)),
    rgba(0, 0, 0, 0.08);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(4px);
  color: #fff;
  transform: translateY(14px);
  opacity: 0;
  animation: heroCopyIn 0.9s ease 0.15s forwards;
}

.hero-slider .hero-copy h1 {
  margin: 0 0 14px;
  font-size: var(--slider-title-size, clamp(2.2rem, 4vw, 3.55rem));
  line-height: 1.02;
  letter-spacing: -0.05em;
  color: #ffffff;
  opacity: 1;
  filter: brightness(1.18) contrast(1.12);
  text-shadow: 0 2px 7px rgba(0, 0, 0, 0.5), 0 0 18px rgba(255, 255, 255, 0.2);
}

.hero-slider .hero-copy .eyebrow {
  color: #ffffff;
  opacity: 1;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.42);
}

.hero-slider .hero-copy p {
  margin: 0 0 22px;
  color: #ffffff;
  font-size: 1.04rem;
  font-weight: 600;
  line-height: 1.65;
  max-width: 390px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-slider .hero-copy .btn-dark {
  background: #b9784a;
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: #ffffff;
  box-shadow: 0 14px 32px rgba(185, 120, 74, 0.34);
  opacity: 1;
}

.hero-slider .hero-copy .btn-dark:hover {
  background: #c98250;
  transform: translateY(-1px);
}

.btn-dark,
.btn-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  padding: 11px 18px;
  font-size: var(--font-sm);
}

.btn-dark {
  background: var(--accent-warm);
  color: #fff;
}

.btn-light {
  background: #fff;
  color: #333;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.68);
  background: rgba(255, 255, 255, 0.92);
  color: #333;
  z-index: 3;
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.slider-arrow:hover {
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
}

.slider-arrow.left { left: 20px; }
.slider-arrow.right { right: 20px; }
.slider-arrow.inline {
  position: static;
  transform: none;
  margin: 0 10px;
  background: #fff;
  border-color: #e9e1d8;
}

.slider-arrow.inline:hover {
  transform: scale(1.08);
}

.slider-dots {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.slider-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, 0.46);
  cursor: pointer;
}

.slider-dots .active {
  width: 28px;
  background: #fff;
}

.home-filter-bar {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: 1.05fr 1.5fr 1fr 1fr auto;
  align-items: end;
  gap: 12px;
  margin: -34px 0 18px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 22px 60px rgba(31, 37, 29, 0.15);
  backdrop-filter: blur(16px);
}

.home-filter-copy {
  display: grid;
  gap: 4px;
  padding: 2px 4px 4px;
}

.home-filter-copy span,
.home-filter-search span,
.home-filter-select span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
}

.home-filter-copy strong {
  font-size: 1rem;
  line-height: 1.2;
}

.home-filter-search,
.home-filter-select {
  display: grid;
  gap: 7px;
}

.home-filter-search input,
.home-filter-select select {
  width: 100%;
  min-height: 46px;
  border: 1px solid #e7dfd6;
  border-radius: 14px;
  background: #fff;
  color: var(--text);
  font: inherit;
  outline: none;
  padding: 0 14px;
}

.home-filter-select select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #4f5c44 50%), linear-gradient(135deg, #4f5c44 50%, transparent 50%);
  background-position: calc(100% - 18px) 20px, calc(100% - 13px) 20px;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 36px;
}

.home-filter-search input:focus,
.home-filter-select select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(58, 70, 49, 0.1);
}

.home-filter-bar .btn {
  min-height: 46px;
  white-space: nowrap;
}

.catalog-filter-bar {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr auto;
  gap: 12px;
  margin: 18px 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.catalog-filter-bar input,
.catalog-filter-bar select {
  width: 100%;
  min-height: 44px;
  border: 1px solid #e7dfd6;
  border-radius: 14px;
  background: #fff;
  color: var(--text);
  font: inherit;
  outline: none;
  padding: 0 14px;
}

.catalog-filter-bar select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #4f5c44 50%), linear-gradient(135deg, #4f5c44 50%, transparent 50%);
  background-position: calc(100% - 18px) 19px, calc(100% - 13px) 19px;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 36px;
}

.benefits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: rgba(255, 255, 255, 0.9);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.benefits article {
  padding: 18px 16px;
  text-align: center;
  border-right: 1px solid #ece7df;
}

.benefits article:last-child {
  border-right: 0;
}

.benefits strong {
  display: block;
  font-size: var(--font-sm);
  text-transform: uppercase;
}

.benefits span {
  display: block;
  margin-top: 4px;
  color: #6b6b6b;
  font-size: var(--font-xs);
}

.section {
  padding: 38px 0 0;
}

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

.section-title h2 {
  display: inline-block;
  margin: 0;
  font-size: 1.45rem;
  letter-spacing: -0.03em;
  position: relative;
}

.section-title h2::after {
  content: "";
  display: block;
  width: 54px;
  height: 3px;
  margin: 10px auto 0;
  background: var(--accent-warm);
}

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

.category-card {
  position: relative;
  min-height: 230px;
  padding: 20px;
  border-radius: 14px;
  overflow: hidden;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background-size: cover;
  background-position: center;
}

.category-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 26%, rgba(0, 0, 0, 0.36) 100%);
}

.category-card > * {
  position: relative;
  z-index: 1;
}

.category-card span {
  font-size: var(--font-sm);
}

.category-card strong {
  display: block;
  font-size: 1.2rem;
  line-height: 1.1;
  margin: 6px 0 14px;
}

.category-glass { background-image: linear-gradient(180deg, rgba(62, 74, 57, 0.14), rgba(62, 74, 57, 0.14)), radial-gradient(circle at 20% 20%, #ddd0bf, #a3927a 70%); }
.category-ceramic { background-image: linear-gradient(180deg, rgba(62, 74, 57, 0.1), rgba(62, 74, 57, 0.1)), radial-gradient(circle at 20% 20%, #7c7367, #4c463f 70%); }
.category-textile { background-image: linear-gradient(180deg, rgba(62, 74, 57, 0.1), rgba(62, 74, 57, 0.1)), radial-gradient(circle at 20% 20%, #a48f79, #7a6a56 70%); }

.category-thumb {
  width: 72px;
  height: 48px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--line);
}

.category-preview {
  width: min(100%, 420px);
  height: 220px;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.product-row {
  display: flex;
  align-items: center;
}

.product-cards {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  flex: 1;
}

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

.featured-product-grid {
  grid-template-rows: 1fr;
}

.random-product-grid {
  grid-template-rows: repeat(3, minmax(0, 1fr));
}

.section-actions {
  display: flex;
  justify-content: center;
  margin-top: 22px;
}

.product-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.04);
}

.product-image {
  display: block;
  width: 100%;
  height: 160px;
  background: #d9d4cb;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.product-image.glass { background: linear-gradient(180deg, #d9d3c8, #9f9483); }
.product-image.ceramic { background: linear-gradient(180deg, #c2c0b4, #796f60); }
.product-image.plates { background: linear-gradient(180deg, #d5cab8, #7b6d5b); }
.product-image.textile { background: linear-gradient(180deg, #d7cabe, #b7a58e); }
.product-image.shawl { background: linear-gradient(180deg, #cdb9aa, #a38e7e); }
.product-image[style],
.main-shot[style],
.thumb-row span[style],
.hero-visual[style] {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 5px 8px;
  border-radius: 999px;
  background: var(--accent-dark);
  color: #fff;
  font-size: 0.68rem;
  z-index: 2;
}

.badge.orange { background: var(--accent-warm); }

.product-body {
  padding: 10px 12px 12px;
}

.product-body h3 {
  margin: 0 0 10px;
  font-size: var(--font-sm);
  font-weight: 500;
}

.product-body strong {
  font-size: var(--font-sm);
}

.product-body span {
  color: #a5a5a5;
  text-decoration: line-through;
  font-weight: 400;
  margin-left: 6px;
}

.promo-banner {
  margin-top: 36px;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  align-items: center;
  gap: 20px;
  padding: 22px 24px;
  border-radius: 18px;
  background: linear-gradient(90deg, #ece4da, #faf6f1);
}

.promo-banner h2 {
  margin: 0 0 12px;
  font-size: 1.5rem;
  letter-spacing: -0.04em;
}

.promo-banner p {
  color: #555;
  max-width: 300px;
  margin-bottom: 18px;
}

.promo-image {
  min-height: 180px;
  border-radius: 16px;
  background: radial-gradient(circle at 50% 50%, #e6d9cb, #b7a18b 70%);
}

.textile-hero {
  background: linear-gradient(180deg, #ddd4ca, #b8a590);
}

.instagram-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}

.instagram-grid div {
  height: 96px;
  border-radius: 10px;
  background: linear-gradient(180deg, #d8d1c6, #b3a192);
}

.site-footer {
  margin-top: 44px;
  padding: 28px 0 18px;
  width: 100%;
  background: var(--footer-bg, #2f3a2d);
  color: var(--footer-text, #f6f4ef);
  font-family: var(--footer-font-family, var(--font-family));
  font-size: var(--footer-font-size, 0.95rem);
}

.testimonial-section {
  width: min(1180px, calc(100% - 72px));
  margin: 44px auto -12px;
}

.testimonial-track {
  position: relative;
}

.testimonial-card {
  display: none;
  grid-template-columns: 180px 1fr;
  gap: 28px;
  align-items: center;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    radial-gradient(circle at left center, rgba(111, 123, 99, 0.12), transparent 34%),
    rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
}

.testimonial-card.is-active {
  display: grid;
  animation: testimonialFade 0.45s ease;
}

.testimonial-image {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  border: 8px solid #fff;
  box-shadow: 0 20px 44px rgba(42, 34, 24, 0.14);
}

.testimonial-copy {
  display: grid;
  gap: 12px;
}

.testimonial-copy blockquote {
  margin: 0;
  max-width: 52ch;
  color: var(--muted);
  font-size: clamp(0.88rem, 1.05vw, 1rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: -0.015em;
}

.testimonial-copy strong {
  color: var(--accent-dark);
  font-size: 1rem;
}

.testimonial-controls {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}

.testimonial-controls button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(111, 123, 99, 0.34);
  cursor: pointer;
}

.testimonial-controls button.active {
  width: 28px;
  background: var(--accent);
}

@keyframes testimonialFade {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.site-footer-inner {
  width: min(1180px, calc(100% - 72px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr repeat(4, 1fr);
  gap: 24px;
}

.site-footer a,
.site-footer p,
.site-footer small {
  color: var(--footer-link, #d7d2c9);
}

.brand-image-footer {
  height: 76px;
  padding: 0;
  border-radius: 0;
  background: transparent;
}

.footer-contact {
  display: grid;
  gap: 6px;
  margin: 14px 0;
  color: var(--footer-link, #d7d2c9);
  font-size: var(--font-sm);
  font-style: normal;
  line-height: 1.55;
}

.socials {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 14px 0;
}

.site-footer .social-icon-link {
  width: 30px;
  height: 30px;
  border: 1px solid color-mix(in srgb, var(--footer-link, #d7d2c9) 42%, transparent);
  border-radius: 999px;
}

.newsletter {
  display: flex;
  gap: 0;
  margin-top: 8px;
}

.newsletter input {
  flex: 1;
  padding: 12px 14px;
  border: 0;
  border-radius: 10px 0 0 10px;
}

.newsletter button {
  padding: 12px 14px;
  border: 0;
  background: #eee;
  border-radius: 0 10px 10px 0;
}

.cards {
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.8);
}

.topbar,
.hero,
.section,
.feature-band,
.contact-band {
  backdrop-filter: blur(18px);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-admin {
  margin-bottom: 16px;
  justify-content: center;
}

.brand-image-admin {
  height: 82px;
  width: 100%;
  padding: 10px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.06);
}

.brand-image-login {
  max-width: 300px;
  height: 112px;
  margin: 0 auto;
}

.admin-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  align-items: start;
}

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  overscroll-behavior: contain;
  display: flex;
  flex-direction: column;
  padding: 18px;
  border-right: 1px solid var(--line);
  background: rgba(255, 250, 244, 0.78);
  backdrop-filter: blur(18px);
}

.sidebar::-webkit-scrollbar {
  width: 8px;
}

.sidebar::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(80, 52, 25, 0.18);
}

.sidebar-nav {
  display: grid;
  gap: 8px;
}

.sidebar-section {
  display: grid;
  gap: 0;
  padding: 4px;
  border: 1px solid rgba(80, 52, 25, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.34);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.42);
}

.sidebar-section.is-open {
  background: rgba(255, 255, 255, 0.58);
  border-color: rgba(80, 52, 25, 0.12);
}

.sidebar-section-label {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  width: 100%;
  min-height: 42px;
  padding: 8px 10px;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: #3d382f;
  font-size: 0.86rem;
  line-height: 1.15;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: none;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.sidebar-section-label::before {
  content: attr(data-icon);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  border-radius: 11px;
  background: linear-gradient(145deg, rgba(111, 123, 99, 0.16), rgba(185, 120, 74, 0.08));
  color: var(--accent-dark);
  font-size: 0.84rem;
  line-height: 1;
}

.sidebar-section-label::after {
  content: "⌄";
  margin-left: auto;
  font-size: 0.82rem;
  transition: transform 0.18s ease;
}

.sidebar-section:not(.is-open) .sidebar-section-label::after {
  transform: rotate(-90deg);
}

.sidebar-section-label:hover {
  background: rgba(255, 255, 255, 0.78);
  color: var(--text);
  box-shadow: 0 10px 26px rgba(42, 34, 24, 0.06);
}

.sidebar-subnav {
  display: grid;
  gap: 3px;
  margin: 2px 0 4px 18px;
  padding: 4px 0 4px 12px;
  border-left: 1px solid rgba(80, 52, 25, 0.11);
}

.sidebar-section:not(.is-open) .sidebar-subnav {
  display: none;
}

.sidebar-subnav .sidebar-link {
  padding-left: 9px;
  font-size: 0.8rem;
}

.sidebar-subgroup {
  display: grid;
  gap: 2px;
  margin: 5px 0 6px;
  padding: 7px 6px 6px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.34);
}

.sidebar-subgroup > span {
  padding: 2px 8px 5px;
  color: #7a6f63;
  font-size: 0.71rem;
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.86;
}

.sidebar-subgroup .sidebar-link {
  margin-left: 0;
  padding: 6px 8px;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 34px;
  padding: 7px 9px;
  border-radius: 12px;
  border: 1px solid transparent;
  color: var(--muted);
  font-size: 0.83rem;
  line-height: 1.15;
  font-weight: 720;
  transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease, transform 0.16s ease;
}

.sidebar-link::before {
  content: attr(data-icon);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  border-radius: 9px;
  background: rgba(80, 52, 25, 0.06);
  color: var(--accent-dark);
  font-size: 0.72rem;
  line-height: 1;
}

.sidebar-link.active,
.sidebar-link:hover {
  background: rgba(255, 255, 255, 0.78);
  border-color: var(--line);
  color: var(--text);
  transform: translateX(2px);
}

.sidebar-link.active {
  background: linear-gradient(135deg, rgba(111, 123, 99, 0.14), rgba(255, 255, 255, 0.88));
  border-color: color-mix(in srgb, var(--accent) 24%, var(--line));
  color: var(--text);
  box-shadow: 0 10px 24px rgba(42, 34, 24, 0.06);
}

.sidebar-link.active::before,
.sidebar-link:hover::before {
  background: var(--accent);
  color: #fff;
}

.sidebar-link-root {
  min-height: 44px;
  padding: 9px 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.46);
  border-color: rgba(80, 52, 25, 0.08);
  color: #3d382f;
  font-size: 0.86rem;
  font-weight: 850;
}

.sidebar-link-root::before {
  width: 28px;
  height: 28px;
  flex-basis: 28px;
  border-radius: 11px;
  background: linear-gradient(145deg, rgba(111, 123, 99, 0.16), rgba(185, 120, 74, 0.08));
}

.sidebar-card {
  margin-top: 16px;
  padding: 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
}

.sidebar-footer {
  margin-top: auto;
  padding-top: 18px;
}

.sidebar-user-card {
  display: grid;
  gap: 10px;
}

.sidebar-user-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

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

.admin-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.admin-topbar h1,
.admin-content h2 {
  margin: 8px 0 0;
  letter-spacing: -0.04em;
}

.admin-topbar h1 {
  font-size: clamp(1.2rem, 1.4vw, 1.75rem);
  line-height: 1.2;
}

.admin-content h2,
.section-heading h2 {
  font-size: clamp(1rem, 1.1vw, 1.18rem);
  line-height: 1.25;
  margin-top: 6px;
}

.admin-topbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.admin-support-bell {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(145deg, #fff, #f7f1e8);
  color: #6f7b63;
  text-decoration: none;
  box-shadow: 0 18px 42px rgba(42, 34, 24, 0.12);
  transition: transform 0.18s ease, box-shadow 0.18s ease, color 0.18s ease;
}

.admin-support-bell:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 52px rgba(42, 34, 24, 0.16);
}

.admin-support-bell svg {
  width: 28px;
  height: 28px;
}

.admin-support-bell b {
  position: absolute;
  top: -7px;
  right: -7px;
  min-width: 24px;
  height: 24px;
  padding: 0 5px;
  border: 2px solid #fff;
  border-radius: 999px;
  background: #c44b3d;
  color: #fff;
  font-size: 0.72rem;
  line-height: 20px;
  text-align: center;
}

.admin-support-bell.has-new {
  border-color: color-mix(in srgb, var(--accent-warm) 46%, var(--line));
  color: var(--accent-warm);
  background: color-mix(in srgb, var(--accent-warm) 10%, #fff);
}

.admin-support-bell.has-fresh {
  animation: supportBellPulse 0.8s ease both;
}

.admin-support-bell.is-offline {
  opacity: 0.55;
}

@keyframes supportBellPulse {
  0%, 100% {
    transform: scale(1);
  }
  40% {
    transform: scale(1.08);
  }
}

.admin-content {
  display: grid;
  gap: 14px;
}

.table-panel .section-heading,
.form-panel .section-heading,
.admin-panel .section-heading {
  align-items: center;
}

.table-panel .section-heading .admin-topbar-actions {
  gap: 8px;
}

.table-panel .table-filters {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.table-panel .table-filters input,
.table-panel .table-filters select {
  min-width: 180px;
  height: 42px;
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.stat-card {
  padding: 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.stat-card span {
  display: block;
  color: var(--muted);
}

.stat-card strong {
  display: block;
  margin-top: 8px;
  font-size: 1.22rem;
}

.stat-card small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.8rem;
}

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

.feature-list-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.feature-list-stats div {
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.82);
}

.feature-list-stats span {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.feature-list-stats strong {
  display: block;
  margin-top: 6px;
  font-size: 1.2rem;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), #e1a16f);
  color: white;
  font-weight: 800;
}

.brand-name {
  font-weight: 800;
}

.brand-subtitle,
.eyebrow,
.section-heading p,
.product-meta p,
.category-card p,
.hero-copy p,
.feature-list div {
  color: var(--muted);
}

.brand-subtitle {
  font-size: 0.8rem;
}

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

.mt-24 {
  margin-top: 24px;
}

.text-danger {
  color: #b42318;
}

.nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.nav a {
  font-weight: 500;
}

.btn {
  border: 0;
  border-radius: var(--button-radius);
  padding: 10px 14px;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--accent);
  color: white;
  box-shadow: 0 14px 30px rgba(194, 106, 58, 0.26);
}

.btn-secondary,
.btn-ghost,
.btn-small {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
}

.btn-small {
  padding: 8px 11px;
}

.hero {
  margin-top: 16px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 18px;
}

.hero,
.section,
.feature-band,
.contact-band {
  padding: 20px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.hero-copy h1,
.section-heading h2,
.feature-band h2,
.contact-band h2 {
  margin: 10px 0 0;
  line-height: 1.06;
  letter-spacing: -0.04em;
}

.hero-copy h1 {
  font-size: clamp(1.95rem, 3.4vw, 2.9rem);
  max-width: 11ch;
}

.hero-copy p {
  max-width: 58ch;
  font-size: 0.96rem;
  line-height: 1.65;
}

.eyebrow {
  display: inline-flex;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-actions,
.hero-badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-actions {
  margin: 16px 0 12px;
}

.hero-badges span {
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
  font-size: 0.92rem;
}

.hero-card {
  padding: 16px;
  border-radius: 16px;
  background: var(--panel-strong);
  border: 1px solid var(--line);
}

.hero-card-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.product-preview {
  min-height: 210px;
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 20%, rgba(194, 106, 58, 0.25), transparent 30%),
    linear-gradient(160deg, #fdf5ee, #f5e0cf);
}

.preview-art {
  position: absolute;
  border-radius: 999px;
  opacity: 0.9;
}

.preview-art-1 {
  width: 130px;
  height: 130px;
  left: 18px;
  top: 42px;
  background: linear-gradient(180deg, #f4d3bb, #b86c42);
}

.preview-art-2 {
  width: 88px;
  height: 170px;
  right: 34px;
  top: 24px;
  background: linear-gradient(180deg, #8fada9, #d8e4e1);
}

.preview-art-3 {
  width: 100px;
  height: 100px;
  right: 74px;
  bottom: -24px;
  background: linear-gradient(180deg, #ead7c6, #cfa07b);
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 12px;
}

.stat-grid div,
.category-card,
.product-card {
  padding: 15px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid var(--line);
}

.stat-grid strong {
  display: block;
  font-size: 1.08rem;
}

.section {
  margin-top: 16px;
}

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

.section-heading h2,
.feature-band h2,
.contact-band h2 {
  font-size: clamp(1rem, 1.5vw, 1.28rem);
}

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

.detail-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 14px;
  align-items: start;
}

.detail-grid-full,
.detail-grid:has(> :only-child) {
  grid-template-columns: minmax(0, 1fr);
}

.detail-panel,
.admin-panel,
.form-panel,
.table-panel {
  width: 100%;
  min-width: 0;
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid var(--line);
}

.admin-panel[id] {
  scroll-margin-top: 24px;
}

.settings-jump-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: var(--shadow);
}

.settings-jump-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 13px;
  border: 1px solid #e9e1d8;
  border-radius: 999px;
  background: #fff;
  color: var(--text);
  font-size: var(--font-sm);
  font-weight: 750;
}

.settings-jump-nav a.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.support-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 16px;
  align-items: start;
}

.support-inbox {
  display: grid;
  grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
  gap: 16px;
  height: calc(100vh - 150px);
  min-height: 620px;
  overflow: hidden;
}

.support-inbox-list,
.support-inbox-thread {
  min-height: 0;
  overflow: hidden;
}

.support-inbox-list {
  display: flex;
  flex-direction: column;
}

.support-inbox-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.support-inbox-head h2 {
  margin: 4px 0 0;
}

.support-new-alert {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  padding: 10px 12px;
  border: 1px solid color-mix(in srgb, var(--accent-warm) 42%, var(--line));
  border-radius: 14px;
  background: #fff7ed;
  color: #8f4f2c;
  font-size: 0.84rem;
  font-weight: 750;
}

.support-new-alert[hidden] {
  display: none !important;
}

.support-new-alert strong {
  display: inline-grid;
  place-items: center;
  min-width: 24px;
  height: 24px;
  border-radius: 999px;
  background: var(--accent-warm);
  color: #fff;
}

.support-inbox-filters {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-bottom: 12px;
}

.support-inbox-filters input,
.support-inbox-filters select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 10px 12px;
}

.support-conversation-list {
  display: grid;
  gap: 8px;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding-right: 4px;
}

.support-conversation-item {
  display: grid;
  gap: 6px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.support-conversation-item:hover,
.support-conversation-item.is-active {
  transform: translateY(-1px);
  border-color: color-mix(in srgb, var(--accent) 42%, var(--line));
  background: #fff;
  box-shadow: 0 16px 36px rgba(42, 34, 24, 0.08);
}

.support-conversation-item.is-new {
  border-color: color-mix(in srgb, #d06b45 62%, var(--line));
  background: linear-gradient(135deg, #fff2ea, #ffffff);
  box-shadow: 0 14px 36px rgba(208, 107, 69, 0.18);
}

.support-conversation-item.is-read-pending {
  border-color: color-mix(in srgb, #d6a33f 58%, var(--line));
  background: linear-gradient(135deg, #fff8e7, #ffffff);
  box-shadow: 0 14px 32px rgba(214, 163, 63, 0.14);
}

.support-conversation-item.is-answered {
  border-color: color-mix(in srgb, #78a56d 38%, var(--line));
  background: linear-gradient(135deg, #f4faef, #ffffff);
}

.support-conversation-item.is-new::before {
  content: "Yeni";
  justify-self: start;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--accent-warm);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.04em;
}

.support-conversation-item div,
.support-conversation-item footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.support-conversation-item strong {
  font-size: 0.94rem;
}

.support-conversation-item span,
.support-conversation-item small,
.support-conversation-item em {
  color: var(--muted);
  font-size: 0.78rem;
  font-style: normal;
}

.support-conversation-item p {
  margin: 0;
  color: #4b453d;
  font-size: 0.86rem;
  line-height: 1.42;
}

.support-conversation-item b {
  padding: 4px 8px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent-warm) 16%, #fff);
  color: #9a542e;
  font-size: 0.72rem;
}

.support-conversation-item b.is-pending {
  background: #fff0c8;
  color: #8b6416;
}

.support-conversation-item b.is-done {
  background: #e9f5e4;
  color: #4f7048;
}

.support-inbox-thread {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.support-inbox-thread .support-messages {
  flex: 1;
  min-height: 0;
  max-height: none;
}

.support-thread-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.78rem;
}

.support-thread-meta span {
  padding: 7px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
}

.support-empty-state,
.support-empty-thread {
  display: grid;
  place-items: center;
  gap: 8px;
  min-height: 180px;
  text-align: center;
  color: var(--muted);
}

.support-empty-thread {
  min-height: 520px;
}

.support-empty-thread span {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 12%, #fff);
  color: var(--accent);
  font-size: 2rem;
}

.support-thread-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.support-thread-head h2,
.support-customer-card h2 {
  margin: 4px 0 6px;
}

.support-thread-head select {
  min-width: 150px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
  background: #fff;
}

.support-messages {
  display: grid;
  align-content: start;
  gap: 12px;
  max-height: 56vh;
  overflow-y: auto;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.58);
}

.support-live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  padding: 8px 11px;
  border-radius: 999px;
  background: #f3f8ef;
  color: #4d6d3f;
  font-size: 0.8rem;
  font-weight: 750;
}

.support-live-indicator span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #4f8f55;
  box-shadow: 0 0 0 5px rgba(79, 143, 85, 0.14);
}

.support-offline .support-live-indicator {
  background: #fff4ef;
  color: #9a3d2f;
}

.support-offline .support-live-indicator span {
  background: #b94d3b;
  box-shadow: 0 0 0 5px rgba(185, 77, 59, 0.12);
}

.support-message {
  width: min(78%, 640px);
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid var(--line);
}

.support-message > div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
  font-size: 0.78rem;
  color: var(--muted);
}

.support-message strong {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.support-message p {
  margin: 0;
  line-height: 1.55;
}

.support-message.is-customer {
  background: #fff;
}

.support-message.is-admin {
  justify-self: end;
  background: color-mix(in srgb, var(--accent) 14%, #fff);
}

.support-message.is-new {
  animation: supportMessageIn 0.28s ease both;
}

@keyframes supportMessageIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.support-reply-form {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.support-reply-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px;
  resize: vertical;
}

.category-card h3,
.product-meta h3 {
  margin: 0 0 8px;
}

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

.product-thumb {
  min-height: 220px;
}

.thumb-glass {
  background: linear-gradient(180deg, #f2dbc3, #c47a4d);
}

.thumb-ceramic {
  background: linear-gradient(180deg, #edd9d0, #b98c72);
}

.thumb-textile {
  background: linear-gradient(180deg, #dce1d3, #8aa192);
}

.product-meta {
  padding: 14px;
}

.product-tag {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(194, 106, 58, 0.12);
  color: var(--accent-dark);
  font-size: 0.82rem;
  font-weight: 700;
}

.product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
}

.feature-band,
.contact-band {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
}

.feature-list {
  display: grid;
  gap: 7px;
}

.feature-list div {
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
}

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

.slide-builder-card {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 14px 38px rgba(42, 34, 24, 0.06);
}

.slide-builder-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.slide-builder-preview {
  width: 100%;
  max-height: 220px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid var(--line);
}

.permission-matrix {
  width: 100%;
  border-collapse: collapse;
}

.permission-matrix th,
.permission-matrix td {
  text-align: left;
  padding: 10px 8px;
  border-bottom: 1px solid var(--line);
}

.check-pill {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
}

.check-pill.on {
  background: rgba(90, 155, 87, 0.14);
  color: #427640;
}

.check-pill.off {
  background: rgba(160, 74, 74, 0.12);
  color: #8f3f3f;
}

.theme-preview {
  display: grid;
  gap: 12px;
}

.theme-preview-card {
  padding: 14px;
  border-radius: 16px;
  background: var(--panel-strong);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.theme-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.theme-swatch {
  min-height: 66px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid var(--line);
  font-weight: 800;
}

.product-info-list {
  display: grid;
  gap: 7px;
  margin-top: 12px;
}

.product-info-list div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 11px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
}

.checkout-items {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.checkout-items h3 {
  margin: 0 0 2px;
  font-size: 1rem;
}

.checkout-item {
  display: grid;
  grid-template-columns: 58px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.78);
}

.checkout-item-image {
  width: 58px;
  height: 58px;
  border-radius: 12px;
  background: linear-gradient(135deg, #d8d1c6, #948875);
  background-size: cover;
  background-position: center;
}

.checkout-item div:not(.checkout-item-image) {
  display: grid;
  gap: 4px;
}

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

.checkout-item b {
  white-space: nowrap;
  color: var(--accent-dark);
}

.order-timeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 18px;
}

.order-step {
  display: grid;
  gap: 6px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  text-align: center;
  font-size: 0.78rem;
}

.order-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  margin: 0 auto;
  border-radius: 999px;
  background: #ece6dc;
  font-weight: 800;
}

.order-step.active {
  border-color: var(--accent);
  color: var(--text);
  background: rgba(111, 123, 99, 0.1);
}

.order-step.active span {
  background: var(--accent);
  color: #fff;
}

.cargo-tracking-card {
  align-self: start;
}

.cargo-tracking-card p {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.checkout-consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.checkout-consent input {
  width: auto;
  height: auto;
  margin-top: 4px;
}

.print-body {
  background: #f3efe7;
  margin: 0;
  font-family: var(--font-family);
  color: var(--text);
}

.print-sheet {
  width: min(920px, calc(100% - 32px));
  margin: 24px auto;
  padding: 28px;
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.print-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  border-bottom: 1px solid var(--line);
  padding-bottom: 18px;
  margin-bottom: 18px;
}

.print-logo {
  display: block;
  width: 180px;
  height: auto;
  margin: 0 0 12px;
}

.print-receipt {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 18px 0;
  padding: 14px;
  border: 1px dashed var(--line);
  border-radius: 14px;
}

.print-receipt h2 {
  grid-column: 1 / -1;
  margin: 0;
}

.print-receipt span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
}

.print-receipt strong {
  display: block;
  margin-top: 18px;
}

.print-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}

.print-grid div {
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.print-grid span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
}

.print-grid strong {
  display: block;
  margin-top: 4px;
}

@media print {
  .print-body {
    background: #fff;
  }

  .print-sheet {
    width: 100%;
    margin: 0;
    box-shadow: none;
    border-radius: 0;
  }
}

.variant-group {
  display: grid;
  gap: 7px;
  margin: 12px 0 14px;
}

.variant-options {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}

.chip {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  padding: 7px 11px;
  font-size: 0.84rem;
}

.quantity-row {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 12px;
}

.qty-box {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  min-width: 100px;
  padding: 7px 9px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
}

.table-toolbar,
.admin-summary,
.admin-form-grid {
  display: grid;
  gap: 14px;
}

.table-toolbar {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 12px 0;
}

.toolbar-item {
  padding: 9px 11px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  color: var(--muted);
}

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

.data-table th,
.data-table td {
  text-align: left;
  padding: 10px 8px;
  border-bottom: 1px solid var(--line);
}

.data-table th {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(194, 106, 58, 0.12);
  color: var(--accent-dark);
  font-size: 0.74rem;
  font-weight: 700;
}

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

.field {
  display: grid;
  grid-column: span 6;
  min-width: 0;
  gap: 6px;
}

.form-section-title {
  grid-column: 1 / -1;
  display: grid;
  gap: 3px;
  margin-top: 6px;
  padding-top: 16px;
  border-top: 1px solid rgba(60, 74, 51, 0.1);
}

.form-section-title:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.form-section-title span {
  color: var(--text);
  font-size: 0.94rem;
  font-weight: 800;
}

.form-section-title small {
  color: var(--muted);
  font-size: 0.78rem;
}

.form-grid > .field-editor,
.form-grid > .field-textarea,
.form-grid > .field-wide {
  grid-column: 1 / -1;
}

.form-grid > .field-file {
  grid-column: span 6;
}

.form-grid > .field-date,
.form-grid > .field-number,
.form-grid > .field-select {
  grid-column: span 4;
}

.form-grid > .hero-actions,
.form-grid > .span-2 {
  grid-column: 1 / -1;
}

.field label {
  font-size: 0.82rem;
  font-weight: 700;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid #d9dee3;
  background: #fff;
  border-radius: 10px;
  padding: 10px 12px;
  color: var(--text);
  outline: none;
  transition: border-color 0.14s ease, box-shadow 0.14s ease, background 0.14s ease;
}

.field input,
.field select {
  height: 42px;
}

.field input[type="color"] {
  padding: 4px;
  cursor: pointer;
}

.field input[type="color"]::-webkit-color-swatch-wrapper {
  padding: 0;
}

.field input[type="color"]::-webkit-color-swatch {
  border: 0;
  border-radius: 8px;
}

.field select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #68737d 50%),
    linear-gradient(135deg, #68737d 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 18px,
    calc(100% - 13px) 18px;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 36px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: #9ab4d0;
  box-shadow: 0 0 0 3px rgba(69, 132, 192, 0.13);
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

.field input.is-invalid,
.field select.is-invalid,
.field textarea.is-invalid {
  border-color: #c94f4f;
  box-shadow: 0 0 0 3px rgba(201, 79, 79, 0.12);
}

.field-error {
  color: #b33a3a;
  font-size: 0.74rem;
}

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

.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  padding: 12px 16px;
  border-radius: 14px;
  color: #fff;
  background: #2f3d2d;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(12px);
  transition: all 0.25s ease;
  z-index: 1000;
}

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

.toast-error {
  background: #9f403d;
}

.login-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px;
}

.login-card {
  width: min(460px, 100%);
  background: var(--panel-strong);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 18px;
}

.login-remember {
  display: flex;
  align-items: center;
  grid-column: 1 / -1;
  gap: 10px;
  color: var(--muted);
}

.login-submit {
  grid-column: 1 / -1;
  justify-content: center;
  width: 100%;
}

.login-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.table-filters {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.table-filters input,
.table-filters select {
  min-width: 180px;
  height: 42px;
  border: 1px solid #d9dee3;
  border-radius: 10px;
  padding: 10px 12px;
  background: #fff;
  color: var(--text);
  outline: none;
}

.table-filters select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #68737d 50%),
    linear-gradient(135deg, #68737d 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 18px,
    calc(100% - 13px) 18px;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 36px;
}

.table-filters input:focus,
.table-filters select:focus {
  border-color: #9ab4d0;
  box-shadow: 0 0 0 3px rgba(69, 132, 192, 0.13);
}

.row-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.row-actions form {
  margin: 0;
}

.row-actions button {
  border: 0;
  background: transparent;
  color: var(--accent-dark);
  cursor: pointer;
  padding: 0;
}

.table-footer {
  padding-top: 14px;
}

.topbar-user {
  display: inline-flex;
  align-items: center;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(60, 74, 51, 0.08);
  font-weight: 700;
}

.field label {
  font-size: 0.84rem;
  font-weight: 600;
}

.field textarea {
  min-height: 100px;
  resize: vertical;
}

.editor-field {
  border: 1px solid #d9dee3;
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(20, 25, 30, 0.04);
}

.editor-toolbar {
  display: flex;
  gap: 2px;
  align-items: center;
  flex-wrap: wrap;
  min-height: 42px;
  padding: 6px 8px;
  border-bottom: 1px solid #dfe3e7;
  background: linear-gradient(180deg, #fbfcfd, #f4f6f8);
}

.editor-select {
  height: 30px;
  min-width: 128px;
  padding: 0 28px 0 10px;
  border: 1px solid #d7dce1;
  border-radius: 6px;
  background: #fff;
  color: #2f3a44;
  font-size: 0.82rem;
  font-weight: 650;
  outline: none;
}

.editor-divider {
  width: 1px;
  height: 24px;
  margin: 0 5px;
  background: #dfe3e7;
}

.editor-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border-radius: 6px;
  border: 1px solid transparent;
  background: transparent;
  color: #35424d;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.12s ease, background 0.12s ease, color 0.12s ease;
}

.editor-btn:hover,
.editor-select:hover {
  border-color: #cfd6dd;
  background: #fff;
}

.editor-btn:active {
  background: #e9eef3;
}

.editor-btn-danger {
  color: #a64234;
}

.editor-input {
  min-height: 240px;
  border: 0 !important;
  border-radius: 0 !important;
  background: #fff !important;
  box-shadow: none !important;
}

.editor-surface {
  min-height: 240px;
  padding: 16px 18px;
  outline: none;
  white-space: pre-wrap;
  line-height: 1.68;
  font-size: 0.95rem;
  color: #1f252b;
}

.field-editor-compact .editor-input,
.field-editor-compact .editor-surface {
  min-height: 150px;
}

.field-editor-mini .editor-input,
.field-editor-mini .editor-surface {
  min-height: 105px;
}

.field-editor-compact .editor-toolbar,
.field-editor-mini .editor-toolbar {
  min-height: 36px;
  padding: 4px 6px;
}

.field-editor-compact .editor-select,
.field-editor-mini .editor-select,
.field-editor-compact .editor-btn,
.field-editor-mini .editor-btn {
  height: 28px;
}

.editor-surface:empty::before {
  content: attr(data-placeholder);
  color: var(--muted);
  opacity: 0.8;
}

.editor-surface[data-empty="true"]::before {
  content: attr(data-placeholder);
  color: var(--muted);
  opacity: 0.8;
}

.editor-surface ul,
.editor-surface ol {
  padding-left: 1.35rem;
  margin: 0.55rem 0;
}

.editor-surface h2,
.editor-surface h3,
.editor-surface p,
.editor-surface blockquote {
  margin: 0 0 0.75rem;
}

.editor-surface h2 {
  color: var(--accent-dark);
  font-size: 1.35rem;
  line-height: 1.35;
}

.editor-surface h3 {
  color: var(--accent-dark);
  font-size: 1.12rem;
  line-height: 1.4;
}

.editor-surface blockquote {
  padding: 10px 14px;
  border-left: 3px solid var(--accent);
  border-radius: 0 12px 12px 0;
  background: rgba(173, 126, 79, 0.08);
  color: var(--muted);
}

.editor-surface hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 1rem 0;
}

.editor-surface a {
  color: var(--accent-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.editor-input:focus {
  outline: none;
}

.editor-field:focus-within {
  border-color: #9ab4d0;
  box-shadow: 0 0 0 3px rgba(69, 132, 192, 0.13);
}

.editor-status {
  display: flex;
  justify-content: flex-end;
  padding: 5px 10px;
  border-top: 1px solid #edf0f2;
  background: #fbfcfd;
  color: #6b747d;
  font-size: 0.75rem;
  font-weight: 600;
}

.editor-hidden {
  position: absolute;
  inset: auto;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  border: 0;
  clip: rect(0, 0, 0, 0);
  overflow: hidden;
}

.switch-grid {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.switch-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.82);
  font-size: 0.88rem;
}

.switch-pill input {
  margin: 0;
}

.menu-tree-card {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.84);
  margin-bottom: 14px;
}

.menu-tree-card-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
}

.menu-tree-card-head strong {
  color: var(--text);
}

.menu-tree {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.menu-type-group {
  display: grid;
  gap: 8px;
  padding: 10px;
  border: 1px dashed var(--line);
  border-radius: 14px;
  background: rgba(245, 239, 231, 0.45);
}

.menu-type-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
}

.menu-type-head small {
  font-size: 0.76rem;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
}

.menu-tree-children {
  list-style: none;
  margin: 8px 0 0 22px;
  padding: 0 0 0 14px;
  border-left: 1px dashed var(--line);
  display: grid;
  gap: 8px;
}

.menu-tree-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 10px 12px;
}

.menu-tree-item.is-dragging {
  opacity: 0.6;
}

.menu-tree-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-tree-handle {
  cursor: grab;
  user-select: none;
  color: var(--muted);
  font-weight: 700;
}

.menu-tree-main {
  display: grid;
  gap: 2px;
  flex: 1;
}

.menu-tree-main span {
  color: var(--muted);
  font-size: 0.82rem;
}

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

.menu-tree-empty {
  color: var(--muted);
  padding: 12px;
}

.nav-children {
  display: block;
  margin-left: 12px;
}

.nav-item-level-0 {
  font-weight: 600;
}

.nav-item-level-1,
.nav-item-level-2 {
  font-size: 0.88rem;
  color: var(--muted);
}

.span-2 {
  grid-column: span 2;
}

@media (max-width: 960px) {
  .home-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-filter-bar {
    grid-template-columns: 1fr 1fr;
  }

  .catalog-filter-bar {
    grid-template-columns: 1fr 1fr;
  }

  .home-filter-copy,
  .home-filter-search,
  .home-filter-bar .btn,
  .catalog-filter-bar input,
  .catalog-filter-bar .btn {
    grid-column: 1 / -1;
  }

  .hero-slider {
    min-height: 520px;
  }

  .hero-slider .hero-copy {
    left: 96px;
    top: 74px;
    max-width: min(440px, calc(100% - 150px));
  }

  .topbar,
  .hero,
  .feature-band,
  .contact-band,
  .section-heading {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }

  .hero,
  .category-grid,
  .product-grid,
  .detail-grid,
  .table-toolbar,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-grid > .field,
  .form-grid > .field-date,
  .form-grid > .field-number,
  .form-grid > .field-select,
  .form-grid > .field-editor,
  .form-grid > .field-textarea,
  .form-grid > .hero-actions,
  .form-grid > .span-2 {
    grid-column: 1 / -1;
  }

  .nav {
    display: none;
  }

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

  .sidebar {
    position: static;
    height: auto;
    max-height: none;
    overflow: visible;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

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

  .admin-stats-tight,
  .feature-list-stats {
    grid-template-columns: 1fr 1fr;
  }

  .theme-preview-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .home-product-grid {
    grid-template-columns: 1fr;
  }

  .top-strip {
    padding-left: 9px;
    padding-right: 9px;
  }

  .site-header {
    padding-left: 9px;
    padding-right: 9px;
  }

  .hero-slider {
    min-height: 560px;
  }

  .hero-slider::after {
    background:
      linear-gradient(180deg, rgba(8, 8, 7, 0.82) 0%, rgba(8, 8, 7, 0.62) 42%, rgba(8, 8, 7, 0.14) 100%),
      linear-gradient(90deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.04));
  }

  .hero-slider .hero-copy {
    left: 24px;
    right: 24px;
    top: 72px;
    max-width: none;
  }

  .hero-slider .hero-copy h1 {
    font-size: 2.35rem;
    max-width: 10ch;
  }

  .hero-slider .hero-copy p {
    max-width: 34ch;
  }

  .slider-arrow.left { left: 12px; }
  .slider-arrow.right { right: 12px; }

  .page-shell {
    width: min(100% - 18px, 1180px);
    padding-top: 10px;
  }

  .home-filter-bar {
    grid-template-columns: 1fr;
    margin-top: -22px;
    padding: 12px;
    border-radius: 20px;
  }

  .catalog-filter-bar {
    grid-template-columns: 1fr;
  }

  .order-timeline,
  .print-grid,
  .print-receipt {
    grid-template-columns: 1fr;
  }

  .print-head {
    display: block;
  }

  .site-footer {
    width: 100%;
  }

  .site-footer-inner {
    width: min(100% - 18px, 1180px);
  }

  .testimonial-section {
    width: min(100% - 18px, 1180px);
    margin-top: 28px;
  }

  .testimonial-card {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 20px;
    text-align: center;
  }

  .testimonial-image {
    width: 132px;
    height: 132px;
    margin: 0 auto;
  }

  .testimonial-copy blockquote {
    max-width: 100%;
  }

  .hero,
  .section,
  .feature-band,
  .contact-band {
    padding: 18px;
    border-radius: 22px;
  }

  .hero-copy h1 {
    font-size: 2.2rem;
  }

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

  .span-2 {
    grid-column: 1 / -1;
  }

  .admin-topbar,
  .admin-stats {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }

  .admin-stats-tight,
  .feature-list-stats {
    grid-template-columns: 1fr;
  }

  .sidebar-user-actions {
    width: 100%;
  }

  .sidebar-user-actions .btn,
  .sidebar-user-actions form {
    width: 100%;
  }
}

.catalog-page,
.product-detail-page {
  width: min(1240px, calc(100% - 24px));
  margin: 0 auto;
  padding-bottom: 40px;
}

.catalog-hero {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
  padding: 34px 0 20px;
}

.catalog-hero h1 {
  margin: 8px 0 10px;
  font-size: clamp(1.8rem, 3.6vw, 2.8rem);
  letter-spacing: -0.04em;
}

.catalog-hero p {
  margin: 0;
  color: #666;
  max-width: 640px;
}

.catalog-tools {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.catalog-chip {
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.82rem;
}

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

.catalog-sidebar {
  display: grid;
  gap: 16px;
  align-self: start;
}

.sidebar-block {
  padding: 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.86);
  display: grid;
  gap: 10px;
}

.sidebar-block h3 {
  margin: 0;
  font-size: 0.92rem;
  text-transform: none;
  letter-spacing: 0;
}

.sidebar-block a,
.sidebar-block label,
.sidebar-block .range-box {
  display: block;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.range-box {
  padding: 11px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid var(--line);
}

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

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

.collection-card {
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
}

.collection-card-image {
  display: flex;
  align-items: flex-end;
  min-height: 260px;
  padding: 16px;
  background:
    linear-gradient(180deg, rgba(62, 74, 57, 0.1), rgba(62, 74, 57, 0.34)),
    radial-gradient(circle at 24% 20%, #ded4c8, #786f63 72%);
  background-size: cover;
  background-position: center;
  color: #fff;
}

.collection-card-image span {
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.36);
  backdrop-filter: blur(8px);
  font-size: 0.78rem;
  font-weight: 800;
}

.collection-card-copy {
  display: grid;
  gap: 10px;
  padding: 16px;
}

.collection-card-copy h2 {
  margin: 0;
  font-size: 1.08rem;
}

.collection-card-copy p {
  min-height: 48px;
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
  font-size: 0.9rem;
}

.catalog-card {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.catalog-card:hover,
.product-card:hover,
.collection-card:hover,
.category-card:hover {
  transform: translateY(-6px);
  border-color: color-mix(in srgb, var(--accent) 42%, var(--line));
  box-shadow: 0 24px 58px rgba(42, 34, 24, 0.14);
}

.catalog-card .product-image,
.product-card .product-image,
.collection-card-image,
.category-card {
  transition: transform 0.55s cubic-bezier(0.2, 0.7, 0.2, 1), filter 0.35s ease;
}

.catalog-card:hover .product-image,
.product-card:hover .product-image,
.collection-card:hover .collection-card-image {
  transform: scale(1.045);
  filter: saturate(1.06) contrast(1.03);
}

.catalog-card:hover .btn,
.product-card:hover .btn,
.collection-card:hover .btn {
  transform: translateX(2px);
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes heroCopyIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero-slide,
  .hero-slide.is-active,
  .catalog-card,
  .product-card,
  .collection-card,
  .category-card,
  .reveal-on-scroll {
    transform: none !important;
    filter: none !important;
    opacity: 1 !important;
  }
}

.catalog-card .tall {
  height: 228px;
}

.catalog-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--accent-dark);
  color: #fff;
  font-size: 0.72rem;
}

.catalog-badge.orange { background: var(--accent-warm); }

.catalog-copy {
  padding: 14px 14px 16px;
  display: grid;
  gap: 8px;
}

.catalog-copy h3 {
  margin: 0;
  font-size: 0.98rem;
}

.catalog-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.55;
}

.catalog-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 2px;
}

.catalog-footer strong {
  font-size: 0.96rem;
}

.catalog-footer span {
  color: #a4a4a4;
  text-decoration: line-through;
  margin-left: 6px;
}

.product-detail-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 18px;
  padding: 28px 0;
}

.detail-gallery {
  display: grid;
  gap: 14px;
}

.main-shot {
  min-height: 560px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(34, 42, 30, 0.06), rgba(34, 42, 30, 0.06)),
    radial-gradient(circle at 55% 32%, #d7d0c6, #9a8f7c 60%);
  border: 1px solid var(--line);
  background-size: cover;
  background-position: center;
}

.thumb-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.thumb-row span {
  height: 90px;
  border-radius: 12px;
  background: #ddd5ca;
  border: 1px solid var(--line);
  background-size: cover;
  background-position: center;
}

.detail-summary {
  padding-top: 10px;
}

.detail-summary h1 {
  margin: 10px 0 12px;
  font-size: clamp(2rem, 3vw, 3rem);
  letter-spacing: -0.05em;
}

.rating-line {
  color: #777;
  margin-bottom: 12px;
}

.price-block {
  display: flex;
  align-items: center;
  gap: 14px;
}

.price-block strong {
  font-size: 1.8rem;
}

.price-block span {
  color: #9a9a9a;
  text-decoration: line-through;
}

.detail-lead {
  color: #525252;
  line-height: 1.7;
  margin: 18px 0 12px;
}

.chip.active {
  background: #3a4631;
  color: #fff;
  border-color: #3a4631;
}

.buy-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.detail-highlights {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.detail-highlights div {
  padding: 12px 14px;
  border-radius: 12px;
  background: #f7f3ee;
  border: 1px solid #ebe4dc;
}

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

.catalog-tools,
.table-filters {
  align-items: center;
}

.filter-field {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.filter-icon {
  position: absolute;
  left: 12px;
  color: var(--muted);
  font-size: 0.78rem;
  pointer-events: none;
}

.table-filters input {
  padding-left: 30px;
}

.table-filters select {
  padding-left: 12px;
  padding-right: 36px;
}

.admin-topbar-pro {
  padding: 18px 22px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: var(--shadow);
}

.admin-grid-2 {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 18px;
}

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

.content-block {
  padding: 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
}

.content-block h3 {
  margin: 0 0 8px;
  font-size: 0.98rem;
}

.content-block p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

@media (max-width: 960px) {
  .catalog-layout,
  .product-detail-layout,
  .admin-grid-2 {
    grid-template-columns: 1fr;
  }

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

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

  .catalog-hero {
    flex-direction: column;
    align-items: start;
  }

  .catalog-page,
  .product-detail-page {
    width: min(100% - 24px, 1240px);
  }

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

  .table-panel .table-filters {
    flex-wrap: wrap;
  }

  .table-panel .table-filters input,
  .table-panel .table-filters select {
    min-width: 100%;
  }

  .admin-topbar-actions {
    width: 100%;
  }

  .admin-topbar-actions .btn,
  .admin-topbar-actions form {
    width: 100%;
  }

  .admin-topbar-actions form {
    display: grid;
  }
}

@media (max-width: 640px) {
  .catalog-grid,
  .content-blocks {
    grid-template-columns: 1fr;
  }

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

  .page-shell {
    width: min(100% - 18px, 1180px);
  }

  .catalog-page,
  .product-detail-page {
    width: min(100% - 18px, 1240px);
  }

  .catalog-hero h1 {
    font-size: 1.2rem;
  }

  .catalog-tools {
    width: 100%;
  }

  .catalog-chip {
    width: 100%;
    text-align: center;
  }

  .catalog-footer,
  .buy-row {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .main-shot {
    min-height: 380px;
  }

  .table-panel .section-heading {
    flex-direction: column;
    align-items: flex-start;
  }

  .table-panel .admin-topbar-actions {
    width: 100%;
  }

  .admin-topbar h1 {
    font-size: 1.2rem;
  }

  .data-table,
  .data-table thead,
  .data-table tbody,
  .data-table th,
  .data-table td,
  .data-table tr {
    display: block;
    width: 100%;
  }

  .data-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }

  .data-table tr {
    margin-bottom: 12px;
    padding: 12px;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow);
  }

  .data-table td {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 0;
    border: 0;
  }

  .data-table td::before {
    content: attr(data-label);
    font-weight: 700;
    color: var(--muted);
    font-size: 0.76rem;
    flex: 0 0 42%;
  }

  .data-table td:not([data-label])::before {
    display: none;
  }

  .data-table td:last-child {
    padding-bottom: 0;
  }
}

/* Responsive safety layer */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body,
.site-shell,
.admin-body {
  min-width: 0;
  overflow-x: hidden;
}

img,
svg,
video,
canvas {
  max-width: 100%;
}

input,
select,
textarea,
button {
  max-width: 100%;
  font-size: max(16px, 1rem);
}

.btn,
.btn-dark,
.btn-light,
.cart-link,
.sidebar-link,
.sidebar-section-label,
.catalog-chip,
.language-flag,
.social-icon-link {
  touch-action: manipulation;
}

@media (max-width: 1180px) {
  .page-shell,
  .site-footer-inner,
  .testimonial-section {
    width: min(100% - 32px, 1180px);
  }

  .top-strip,
  .site-header {
    padding-left: 16px;
    padding-right: 16px;
  }

  .benefits,
  .category-grid,
  .product-grid,
  .catalog-grid,
  .detail-grid,
  .detail-sections,
  .content-blocks,
  .admin-stats,
  .admin-form-grid,
  .table-toolbar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 820px) {
  .top-strip {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 6px 10px;
    padding-top: 6px;
    padding-bottom: 6px;
  }

  .top-strip-contact,
  .top-strip-links {
    min-width: 0;
    gap: 7px 10px;
  }

  .top-strip-contact {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow: hidden;
  }

  .top-strip-contact a {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .top-strip-links {
    justify-content: flex-end;
    flex-wrap: nowrap;
  }

  .site-header {
    position: relative;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 10px;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .brand-site {
    min-width: 0;
  }

  .brand-image-site {
    height: 46px;
  }

  .site-icons {
    justify-content: flex-end;
  }

  .mobile-menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 16px;
    right: 16px;
    z-index: 60;
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: color-mix(in srgb, var(--header-bg, #fff) 94%, transparent);
    box-shadow: 0 18px 48px rgba(42, 34, 24, 0.16);
    opacity: 0;
    transform: translateY(-6px);
    pointer-events: none;
    visibility: hidden;
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
  }

  .site-nav.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    visibility: visible;
  }

  .site-nav a,
  .site-nav .home-nav-link {
    width: 100%;
    height: auto;
    min-height: 42px;
    justify-content: flex-start;
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.74);
    border: 1px solid var(--line);
    white-space: nowrap;
  }

  .site-nav .home-nav-link span {
    position: static;
    width: auto;
    height: auto;
    overflow: visible;
    clip: auto;
    margin-left: 8px;
  }

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

  .support-inbox {
    grid-template-columns: 1fr;
    height: auto;
    min-height: 0;
    overflow: visible;
  }

  .support-inbox-list,
  .support-inbox-thread {
    min-height: auto;
    overflow: visible;
  }

  .support-conversation-list {
    max-height: 360px;
    flex: none;
  }

  .support-message {
    width: 100%;
  }

  .hero-slider {
    min-height: min(76vh, 520px);
  }

  .hero-slider .hero-copy {
    left: 76px;
    right: 22px;
    top: 54px;
    max-width: none;
    padding: 22px;
    border-radius: 22px;
  }

  .hero-slider .hero-copy h1 {
    font-size: clamp(2rem, 11vw, 3rem);
    max-width: 12ch;
  }

  .home-filter-bar,
  .catalog-filter-bar {
    margin-left: auto;
    margin-right: auto;
  }

  .catalog-sidebar {
    order: 2;
  }

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

  .admin-main {
    padding: 12px;
  }

  .sidebar {
    position: sticky;
    top: 0;
    z-index: 30;
    max-height: 54vh;
    overflow-y: auto;
    padding: 12px;
  }

  .brand-admin {
    margin-bottom: 10px;
  }

  .brand-image-admin {
    height: 58px;
  }

  .admin-topbar,
  .admin-topbar-pro,
  .section-heading {
    flex-direction: column;
    align-items: stretch;
  }

  .admin-topbar-actions,
  .hero-actions {
    width: 100%;
  }

  .admin-topbar-actions .btn,
  .admin-topbar-actions form,
  .hero-actions .btn,
  .hero-actions form,
  .hero-actions button {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .page-shell,
  .catalog-page,
  .product-detail-page,
  .site-footer-inner,
  .testimonial-section {
    width: min(100% - 20px, 1180px);
  }

  .top-strip {
    grid-template-columns: 1fr;
    gap: 5px;
    font-size: 0.74rem;
    line-height: 1.2;
  }

  .top-strip-contact {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 5px;
    width: 100%;
  }

  .top-strip-contact a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 24px;
    padding: 3px 7px;
    border: 1px solid color-mix(in srgb, currentColor 18%, transparent);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
  }

  .top-strip-links {
    width: 100%;
    justify-content: center;
    gap: 5px;
  }

  .top-strip-links > a:not(.social-icon-link):not(.language-flag) {
    max-width: 104px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .language-flag {
    width: 24px;
    height: 24px;
    font-size: 0.95rem;
  }

  .social-icon-link {
    width: 24px;
    height: 24px;
  }

  .social-icon-link svg {
    width: 15px;
    height: 15px;
  }

  .currency-switcher {
    padding: 2px;
  }

  .currency-switcher a {
    min-width: 31px;
    height: 22px;
    padding: 0 6px;
    font-size: 0.64rem;
  }

  .site-header {
    gap: 7px;
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .mobile-menu-toggle {
    min-height: 38px;
    padding: 7px 10px;
  }

  .mobile-menu-toggle b {
    display: none;
  }

  .site-nav {
    left: 9px;
    right: 9px;
  }

  .cart-link {
    width: 40px;
    height: 40px;
  }

  .hero-slider {
    min-height: 470px;
  }

  .hero-slider .hero-copy {
    top: 44px;
    left: 60px;
    padding: 18px;
    border-radius: 18px;
  }

  .slider-arrow {
    width: 32px;
    height: 32px;
  }

  .home-filter-bar,
  .catalog-filter-bar,
  .benefits,
  .category-grid,
  .product-grid,
  .catalog-grid,
  .collection-grid,
  .detail-grid,
  .detail-highlights,
  .detail-sections,
  .content-blocks,
  .admin-stats,
  .admin-stats-tight,
  .feature-list-stats,
  .admin-form-grid,
  .table-toolbar,
  .footer-inner,
  .site-footer-inner,
  .print-grid {
    grid-template-columns: 1fr;
  }

  .category-card {
    min-height: 190px;
  }

  .catalog-card .tall {
    height: 210px;
  }

  .main-shot {
    min-height: 320px;
  }

  .thumb-row {
    grid-template-columns: repeat(4, minmax(64px, 1fr));
    overflow-x: auto;
  }

  .field,
  .form-grid > .field-file,
  .form-grid > .field-date,
  .form-grid > .field-number,
  .form-grid > .field-select {
    grid-column: 1 / -1;
  }

  .form-panel,
  .table-panel,
  .admin-panel,
  .sidebar-block,
  .section,
  .hero,
  .feature-band,
  .contact-band {
    padding: 14px;
    border-radius: 18px;
  }

  .data-table td {
    align-items: flex-start;
    word-break: break-word;
  }
}

@media (max-width: 380px) {
  .page-shell,
  .catalog-page,
  .product-detail-page,
  .site-footer-inner,
  .testimonial-section {
    width: min(100% - 14px, 1180px);
  }

  .top-strip,
  .site-header {
    padding-left: 7px;
    padding-right: 7px;
  }

  .brand-image-site {
    height: 40px;
  }

  .site-nav a {
    padding: 8px 10px;
    font-size: 0.82rem;
  }

  .hero-slider {
    min-height: 430px;
  }

  .hero-slider .hero-copy {
    left: 16px;
    right: 16px;
  }

  .hero-slider .hero-copy h1 {
    font-size: clamp(1.72rem, 10vw, 2.35rem);
  }

  .btn,
  .btn-dark,
  .btn-light {
    width: 100%;
  }
}
