@import url("https://fonts.googleapis.com/css2?family=Lato:wght@400;700&family=Oswald:wght@400;500;600;700&display=swap");

:root {
  --font-lato: "Lato", Arial, Helvetica, sans-serif;
  --font-oswald: "Oswald", sans-serif;
  --zana-yellow: #f1c50e;
  --zana-footer-yellow: #f1c50e;
  --zana-red: #e74c3c;
  --zana-black: #000000;
  --zana-white: #ffffff;
  --zana-text-muted: #2c3e50;
  --zana-footer-link: #478ac9;
  --zana-footer-link-hover: #2c5f8f;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-lato), Arial, Helvetica, sans-serif;
  color: var(--zana-white);
  background: var(--zana-black);
}

a {
  color: inherit;
}

.zana-container {
  width: min(1140px, calc(100% - 32px));
  margin-inline: auto;
}

.zana-yellow-bar {
  height: 21px;
  background: var(--zana-yellow);
}

/* Header */
.zana-top-bar {
  background: var(--zana-black);
  color: var(--zana-white);
  font-size: 0.875rem;
  border-bottom: 1px solid #111;
}

.zana-top-bar-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px 24px;
  align-items: center;
  min-height: 48px;
  padding-block: 10px;
}

.zana-top-item {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  line-height: 1.35;
  color: var(--zana-white);
}

.zana-top-address {
  justify-content: flex-start;
}

.zana-top-hours {
  justify-content: center;
}

.zana-top-phone {
  justify-content: flex-end;
  text-decoration: none;
}

.zana-top-phone:hover {
  text-decoration: underline;
}

.zana-top-ico {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
}

.zana-top-ico svg {
  display: block;
}

.zana-top-ico-pin {
  color: var(--zana-red);
}

.zana-top-ico-clock,
.zana-top-ico-phone {
  color: var(--zana-white);
}

.zana-top-text {
  min-width: 0;
}

.zana-nav-bar {
  background: var(--zana-yellow);
  color: #111;
}

.zana-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  min-height: 72px;
  gap: 12px 16px;
}

.zana-nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  order: 3;
  margin-inline-start: 12px;
}

.zana-nav {
  order: 2;
}

.zana-lang {
  position: relative;
}

.zana-lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.35);
  color: #111;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1;
}

.zana-lang-toggle:hover {
  background: rgba(255, 255, 255, 0.55);
}

.zana-lang-globe {
  flex-shrink: 0;
}

.zana-lang-menu {
  position: absolute;
  top: calc(100% + 6px);
  inset-inline-end: 0;
  min-width: 140px;
  margin: 0;
  padding: 6px 0;
  list-style: none;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  z-index: 30;
}

.zana-lang-menu a {
  display: block;
  padding: 8px 14px;
  color: #111 !important;
  text-decoration: none !important;
  font-size: 0.9rem;
}

.zana-lang-menu a:hover,
.zana-lang-menu a.is-active {
  background: #fff8dc;
  font-weight: 700;
}

.zana-lang.is-open .zana-lang-menu {
  display: block;
}

.zana-lang.is-open .zana-lang-menu[hidden] {
  display: block;
}

.zana-brand {
  order: 1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--font-oswald), sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #111;
}

.zana-brand-icon {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.zana-nav {
  flex: 1 1 auto;
  display: flex;
  justify-content: flex-end;
}

.zana-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.zana-nav a {
  display: block;
  padding: 10px 12px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  color: #2c3e50;
}

.zana-nav a:hover {
  color: var(--zana-red);
}

.zana-menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  padding: 8px;
}

.zana-menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: #111;
}

/* Hero */
.zana-hero {
  position: relative;
  min-height: clamp(320px, 55vw, 590px);
  overflow: hidden;
  background: #111;
}

.zana-hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.zana-hero-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.25));
  pointer-events: none;
}

.zana-hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
  z-index: 0;
}

.zana-hero-slide.is-active {
  opacity: 1;
  z-index: 1;
}

.zana-hero-content {
  position: absolute;
  inset: 0;
  left: 0;
  right: 0;
  z-index: 4;
  margin-inline: auto;
  width: min(1140px, calc(100% - 32px));
  display: flex;
  align-items: center;
  justify-content: flex-start;
  pointer-events: none;
}

.zana-hero-caption {
  pointer-events: auto;
  max-width: 34rem;
  text-align: left;
}

.zana-hero h1 {
  margin: 0;
  font-family: var(--font-oswald), sans-serif;
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--zana-white);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
  text-align: left;
}

.zana-hero-caption .zana-btn-primary {
  margin-top: 24px;
}

.zana-btn-primary {
  display: inline-block;
  background: var(--zana-red);
  color: var(--zana-white);
  text-decoration: none;
  padding: 12px 28px;
  font-weight: 700;
  letter-spacing: 0.04em;
  border: none;
}

.zana-btn-primary:hover {
  filter: brightness(0.92);
}

.zana-hero-prev,
.zana-hero-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 44px;
  height: 44px;
  border: 0;
  background: rgba(0, 0, 0, 0.35);
  cursor: pointer;
}

.zana-hero-prev {
  left: 12px;
}

.zana-hero-next {
  right: 12px;
}

.zana-hero-prev::before,
.zana-hero-next::before {
  content: "";
  display: block;
  width: 12px;
  height: 12px;
  margin: auto;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
}

.zana-hero-prev::before {
  transform: rotate(-135deg);
}

.zana-hero-next::before {
  transform: rotate(45deg);
}

.zana-hero-dots {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  z-index: 5;
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 8px;
}

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

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

/* Services */
.zana-services {
  background: var(--zana-black);
  padding: 48px 0 56px;
}

.zana-services-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 28px 40px;
  align-items: start;
}

.zana-services h2 {
  text-align: start;
  font-family: var(--font-oswald), sans-serif;
  font-size: 2.25rem;
  margin: 0 0 24px;
}

.zana-services-intro {
  text-align: start;
  line-height: 1.65;
  margin: 0 0 16px;
}

.zana-services-image {
  margin: 0;
  padding-top: clamp(72px, 12vw, 120px);
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.zana-services-image img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.zana-rich-text {
  text-align: start;
  line-height: 1.65;
  font-size: 1rem;
}

/* Gallery */
.zana-gallery {
  --gallery-width: 100%;
  --gallery-height: 100vh;
  --gallery-fit: cover;
  --gallery-thumb-w: 80px;
  --gallery-thumb-h: 60px;
  --lightbox-max: 2400px;
  background: var(--zana-black);
  padding: 48px 0 56px;
}

.zana-gallery.is-full {
  padding-left: 0;
  padding-right: 0;
}

.zana-gallery-head {
  margin-bottom: 16px;
}

.zana-gallery-title {
  margin: 0;
  text-align: right;
  font-family: var(--font-oswald), sans-serif;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
}

.zana-gallery-hint {
  margin: 8px 0 0;
  text-align: right;
  font-size: 0.85rem;
  opacity: 0.65;
}

.zana-gallery-stage {
  width: var(--gallery-width);
  max-width: 100%;
  margin: 0 auto;
  padding: 0 12px;
}

.zana-gallery.is-full .zana-gallery-stage {
  width: 100%;
  padding: 0;
}

.zana-gallery-center {
  position: relative;
  width: 100%;
}

.zana-gallery-main {
  position: relative;
  width: 100%;
  height: var(--gallery-height);
  min-height: 280px;
  background: #0a0a0a;
  border-radius: 2px;
  overflow: hidden;
}

.zana-gallery.is-full .zana-gallery-main {
  border-radius: 0;
  min-height: 100vh;
}

.zana-gallery-zoom {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: #0a0a0a;
  cursor: zoom-in;
}

.zana-gallery-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 20px 24px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
  text-align: center;
  pointer-events: none;
}

.zana-gallery-caption:empty {
  display: none;
}

.zana-gallery-caption h3 {
  margin: 0 0 4px;
  font-family: var(--font-oswald), sans-serif;
  font-size: 1.25rem;
}

.zana-gallery-caption p {
  margin: 0;
  font-size: 0.95rem;
}

.zana-gallery-nav {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 0;
  background: rgba(0, 0, 0, 0.45);
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  flex-shrink: 0;
}

.zana-gallery-nav.prev {
  left: 12px;
}

.zana-gallery-nav.next {
  right: 12px;
}

.zana-gallery-image-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  margin: 0;
  padding: 14px 48px 16px;
  text-align: center;
  font-size: 0.95rem;
  line-height: 1.35;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.82));
  pointer-events: none;
  display: none;
}

.zana-gallery-image-caption:empty {
  display: none !important;
}

.zana-gallery-nav::before {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  margin: auto;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
}

.zana-gallery-nav.prev::before {
  transform: rotate(-135deg);
}

.zana-gallery-nav.next::before {
  transform: rotate(45deg);
}

.zana-gallery-thumbs {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.zana-gallery-thumbs button {
  border: 2px solid transparent;
  padding: 0;
  background: none;
  cursor: pointer;
  opacity: 0.7;
}

.zana-gallery-thumbs button.is-active {
  border-color: var(--zana-yellow);
  opacity: 1;
}

.zana-gallery-thumbs img {
  display: block;
  width: var(--gallery-thumb-w);
  height: var(--gallery-thumb-h);
  object-fit: cover;
}

/* Products preview */
.zana-products-preview {
  background: var(--zana-white);
  color: #111;
  padding: 48px 0 56px;
}

.zana-products-preview h2 {
  text-align: center;
  margin: 0 0 28px;
  font-family: var(--font-oswald), sans-serif;
  font-size: 2rem;
}

.zana-products-preview h2 a {
  text-decoration: none;
  color: var(--zana-red);
  border-bottom: 2px solid #444;
  padding-bottom: 4px;
}

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

.zana-product-tile {
  position: relative;
  aspect-ratio: 1;
  background: #f5f5f5;
  display: block;
  overflow: hidden;
}

.zana-gallery-main img,
.zana-gallery-zoom img {
  width: 100%;
  height: 100%;
  object-fit: var(--gallery-fit);
  object-position: center;
  display: block;
}

/* Full photo visible inside slide (auto scale, no crop) */
.zana-gallery.is-fit-contain .zana-gallery-zoom img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.zana-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.zana-lightbox[hidden] {
  display: none !important;
}

.zana-lightbox img {
  max-width: min(96vw, var(--lightbox-max));
  max-height: 92vh;
  width: auto;
  height: auto;
  object-fit: contain;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
}

.zana-lightbox-close {
  position: absolute;
  top: 16px;
  right: 20px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
}

.zana-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.25);
}

.zana-product-tile img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.zana-catalog-tile {
  margin: 0;
  background: #fff;
  border: 1px solid #e8e8e8;
}

/* Catalog grid — size/columns from admin (--catalog-tile, --catalog-cols) */
.zana-catalog-themed {
  --catalog-tile: 88px;
  --catalog-cols: 3;
}

.zana-catalog-themed .zana-catalog-grid {
  grid-template-columns: repeat(var(--catalog-cols), var(--catalog-tile));
  justify-content: center;
  gap: 8px;
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
}

.zana-catalog-themed .zana-catalog-grid .zana-catalog-tile {
  aspect-ratio: unset;
  width: var(--catalog-tile);
  height: var(--catalog-tile);
  max-width: var(--catalog-tile);
  max-height: var(--catalog-tile);
}

.zana-catalog-themed .zana-catalog-grid .zana-product-tile img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  padding: 4px;
  box-sizing: border-box;
  object-fit: contain;
}

.zana-catalog-themed .zana-catalog-grid .zana-catalog-no-image {
  min-height: 0;
  height: 100%;
}

.zana-catalog-no-image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 120px;
  background: #f3f3f3;
}

.zana-catalog-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: #555;
  margin: 0;
}

.zana-products-page h2 {
  color: var(--zana-red);
  border-bottom: 2px solid #444;
  display: inline-block;
  padding-bottom: 6px;
  width: 100%;
  box-sizing: border-box;
}

.zana-products-more {
  text-align: center;
  margin: 24px 0 0;
}

.zana-products-more a {
  color: var(--zana-red);
  font-weight: 700;
  text-decoration: none;
}

.zana-products-more a:hover {
  text-decoration: underline;
}

.zana-catalog-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  align-items: center;
  margin-top: 28px;
}

.zana-catalog-page-num {
  font-weight: 700;
  color: #333;
}

.zana-catalog-back {
  text-align: center;
  margin: 28px 0 0;
}

.zana-products-page .zana-products-preview {
  padding: 28px 0 36px;
}

.zana-products-page .zana-container {
  max-width: 720px;
}

/* About */
.zana-about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 420px;
}

.zana-about-image {
  background-size: cover;
  background-position: center;
  min-height: 320px;
}

.zana-about-text {
  background: var(--zana-black);
  padding: 48px clamp(20px, 4vw, 48px);
}

.zana-about-text h2 {
  text-align: center;
  font-family: var(--font-oswald), sans-serif;
  font-size: 2.25rem;
  margin: 0 0 20px;
}

/* Contact */
.zana-contact {
  background: var(--zana-black);
  padding: 48px 0 56px;
}

.zana-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.zana-contact h2 {
  font-family: var(--font-oswald), sans-serif;
  font-size: 2rem;
  margin: 0 0 12px;
}

.zana-contact h3 {
  font-family: var(--font-oswald), sans-serif;
  font-size: 1.5rem;
  margin: 16px 0 8px;
}

.zana-map-wrap {
  min-height: 320px;
  background: #eaeaea;
}

.zana-map-wrap iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
}

/* Footer — yellow bar (matches zanaauto.com) */
.zana-footer {
  background: var(--zana-footer-yellow);
  color: var(--zana-black);
  padding: 0 0 20px;
  position: relative;
}

.zana-footer-bar {
  height: 14px;
  background: var(--zana-black);
}

.zana-footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 32px;
  padding: 36px 0 28px;
  align-items: start;
}

.zana-footer h3 {
  font-family: var(--font-lato), sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0 0 16px;
  color: var(--zana-black);
}

.zana-footer-line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 10px;
  font-size: 0.95rem;
  line-height: 1.45;
}

.zana-footer-ico {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--zana-black);
}

.zana-footer a {
  color: var(--zana-black);
  text-decoration: none;
}

.zana-footer-address a:hover,
.zana-footer-service-list a:hover {
  text-decoration: underline;
}

.zana-footer-hours {
  text-align: center;
}

.zana-footer-hours-day {
  margin: 0 0 6px;
  font-size: 0.95rem;
}

.zana-footer-hours-time {
  margin: 0;
  font-size: 0.95rem;
}

.zana-footer-social-icons {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.zana-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: #fff !important;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none !important;
}

.zana-social-fb {
  background: #1877f2;
}

.zana-social-yt {
  background: #ff0000;
  font-size: 0.75rem;
}

.zana-social-ig {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.zana-social-tw {
  background: #000;
  font-size: 0.85rem;
}

.zana-social-in {
  background: #0a66c2;
  font-size: 0.7rem;
  letter-spacing: -0.02em;
}

.zana-footer-service-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.zana-footer-service-list li {
  margin-bottom: 8px;
}

.zana-footer-service-list a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.zana-footer-chev {
  font-size: 1.25rem;
  line-height: 1;
  font-weight: 700;
}

.zana-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  padding-top: 8px;
  font-size: 0.9rem;
}

.zana-footer-copy {
  margin: 0;
  color: var(--zana-black);
}

.zana-footer-bottom-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  position: relative;
}

.zana-footer-links {
  margin: 0;
  color: var(--zana-footer-link);
}

.zana-footer-links a {
  color: var(--zana-footer-link);
  text-decoration: none;
}

.zana-footer-links a:hover {
  color: var(--zana-footer-link-hover);
  text-decoration: underline;
}

.zana-back-top {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--zana-footer-link);
  color: #fff !important;
  text-decoration: none !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.zana-back-top:hover {
  background: var(--zana-footer-link-hover);
}

/* Product page */
.zana-product-page {
  background: #f4f4f4;
  color: #111;
  min-height: 100vh;
}

.zana-product-page .zana-nav-bar {
  margin-bottom: 0;
}

.zana-shop-embed {
  width: 100%;
  min-height: calc(100vh - 120px);
  border: 0;
  background: #fff;
}

.zana-featured {
  padding: 32px 0 48px;
}

.zana-featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}

.zana-featured-card {
  background: #fff;
  border: 1px solid #ddd;
  padding: 12px;
  text-align: center;
}

.zana-featured-card img {
  width: 100%;
  height: 180px;
  object-fit: contain;
}

/* Admin */
.admin-shell {
  min-height: 100vh;
  background: #0f172a;
  color: #e2e8f0;
  font-family: var(--font-lato), sans-serif;
}

.admin-card {
  width: min(420px, calc(100% - 32px));
  margin: 80px auto;
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 12px;
  padding: 24px;
}

.admin-card h1 {
  margin: 0 0 16px;
  font-size: 1.5rem;
}

.admin-card label {
  display: block;
  margin: 12px 0 6px;
  font-size: 0.9rem;
}

.admin-card input,
.admin-card textarea,
.admin-section select {
  width: 100%;
  border: 1px solid #475569;
  background: #0f172a;
  color: #e2e8f0;
  border-radius: 8px;
  padding: 10px 12px;
}

.admin-card button {
  margin-top: 16px;
  width: 100%;
  border: 0;
  border-radius: 8px;
  padding: 12px;
  background: var(--zana-red);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.admin-dashboard {
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 48px;
}

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

.admin-section {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 16px;
}

.admin-section h2 {
  margin: 0 0 12px;
  font-size: 1.1rem;
}

.admin-section input,
.admin-section textarea,
.admin-section select {
  width: 100%;
  border: 1px solid #475569;
  background: #0f172a;
  color: #e2e8f0;
  border-radius: 8px;
  padding: 10px 12px;
  margin-bottom: 4px;
}

.admin-section code {
  font-size: 0.85em;
  background: rgba(255, 255, 255, 0.08);
  padding: 2px 6px;
  border-radius: 4px;
}

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

.admin-section label {
  display: block;
  margin: 12px 0 6px;
  font-size: 0.9rem;
}

.admin-link-table {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.admin-link-table-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  font-size: 0.8rem;
  font-weight: 700;
  opacity: 0.75;
  padding: 0 2px;
}

.admin-link-row {
  margin: 0;
}

.admin-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.admin-error {
  color: #fca5a5;
  font-size: 0.9rem;
  margin-top: 8px;
}

.admin-success {
  color: #86efac;
  margin-bottom: 12px;
}

@media (max-width: 900px) {
  .zana-container {
    width: min(1140px, calc(100% - 24px));
  }

  .zana-top-bar {
    font-size: 0.8125rem;
  }

  .zana-top-bar-inner {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "address address"
      "hours phone";
    gap: 10px 12px;
    padding-block: 12px 10px;
  }

  .zana-top-address {
    grid-area: address;
    justify-content: flex-start;
  }

  .zana-top-hours {
    grid-area: hours;
    justify-content: flex-start;
  }

  .zana-top-phone {
    grid-area: phone;
    justify-content: flex-end;
    text-align: end;
  }

  .zana-brand {
    font-size: 1.35rem;
  }

  .zana-brand-icon {
    width: 40px;
    height: 40px;
  }

  .zana-nav-inner {
    min-height: 56px;
    flex-wrap: nowrap;
  }

  .zana-nav-actions {
    flex-shrink: 0;
    order: 2;
    margin-inline-start: auto;
  }

  .zana-nav {
    order: 10;
  }

  .zana-lang-code {
    display: none;
  }

  .zana-lang-toggle {
    padding: 8px;
  }

  .zana-menu-toggle {
    display: block;
  }

  .zana-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 40;
    flex: none;
    display: none;
    background: var(--zana-yellow);
    padding: 8px 16px 16px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
  }

  .zana-nav.is-open {
    display: block;
  }

  .zana-nav ul {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
  }

  .zana-nav-bar {
    position: relative;
  }

  .zana-hero {
    min-height: clamp(260px, 62vw, 380px);
  }

  .zana-hero-content {
    align-items: flex-start;
    justify-content: flex-start;
    padding-top: clamp(20px, 7vw, 36px);
  }

  .zana-hero-caption {
    max-width: min(92%, 20rem);
  }

  .zana-hero h1 {
    font-size: clamp(1.25rem, 5.2vw, 1.65rem);
    line-height: 1.2;
  }

  .zana-hero-caption .zana-btn-primary {
    margin-top: 16px;
    padding: 10px 22px;
    font-size: 0.85rem;
  }

  .zana-hero-prev,
  .zana-hero-next {
    width: 36px;
    height: 36px;
  }

  .zana-hero-next {
    background: rgba(52, 120, 200, 0.55);
  }

  .zana-hero-dots {
    bottom: 12px;
    gap: 6px;
  }

  .zana-hero-dots button {
    width: 28px;
    height: 3px;
    border-radius: 2px;
  }

  .zana-services {
    padding: 28px 0 36px;
  }

  .zana-services-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .zana-services-text {
    display: contents;
  }

  .zana-services h2 {
    order: 1;
    text-align: center;
    font-size: clamp(1.65rem, 6vw, 2rem);
    margin-bottom: 0;
  }

  .zana-services-intro {
    order: 2;
    text-align: center;
    margin-bottom: 0;
    font-size: 0.9375rem;
    line-height: 1.6;
  }

  .zana-services-image {
    order: 3;
    padding-top: 0;
  }

  .zana-services-text .zana-rich-text {
    order: 4;
    text-align: start;
  }

  .zana-about-grid,
  .zana-contact-grid,
  .zana-footer-grid,
  .admin-row {
    grid-template-columns: 1fr;
  }

  .zana-footer-hours {
    text-align: start;
  }

  .zana-footer-bottom-right {
    align-items: flex-start;
  }

  .zana-gallery {
    padding: 28px 0 32px;
  }

  .zana-gallery-hint {
    text-align: center;
  }

  .zana-gallery-title {
    text-align: center;
  }

  .zana-gallery-stage {
    padding: 0;
  }

  .zana-gallery-main {
    height: clamp(220px, 48vw, 340px);
    min-height: 0;
  }

  .zana-gallery.is-full .zana-gallery-main {
    min-height: 0;
    height: clamp(240px, 52vw, 360px);
  }

  .zana-gallery-nav {
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.55);
  }

  .zana-gallery-nav.prev {
    left: 8px;
  }

  .zana-gallery-nav.next {
    right: 8px;
  }

  .zana-gallery-image-caption {
    display: block;
  }

  .zana-gallery-caption {
    position: static;
    background: transparent;
    padding: 20px 16px 4px;
    pointer-events: auto;
  }

  .zana-gallery-caption h3 {
    font-size: clamp(1.35rem, 5vw, 1.65rem);
    margin-bottom: 8px;
  }

  .zana-gallery-caption p {
    font-size: 0.95rem;
    opacity: 0.92;
    line-height: 1.5;
  }

  .zana-gallery-thumbs {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 8px;
    margin-top: 16px;
    padding: 8px 12px 4px;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
  }

  .zana-gallery-thumbs button {
    flex: 0 0 auto;
    scroll-snap-align: center;
    opacity: 0.85;
  }

  .zana-gallery-thumbs button.is-active {
    border-width: 3px;
    opacity: 1;
  }

  .zana-gallery-thumbs img {
    width: min(var(--gallery-thumb-w), 72px);
    height: min(var(--gallery-thumb-h), 54px);
  }

  .zana-catalog-themed .zana-catalog-grid {
    gap: 6px;
    grid-template-columns: repeat(var(--catalog-cols), min(var(--catalog-tile), 76px));
  }

  .zana-catalog-themed .zana-catalog-grid .zana-catalog-tile {
    width: min(var(--catalog-tile), 76px);
    height: min(var(--catalog-tile), 76px);
    max-width: min(var(--catalog-tile), 76px);
    max-height: min(var(--catalog-tile), 76px);
  }

  [dir="rtl"] .zana-top-hours {
    justify-content: flex-start;
  }

  [dir="rtl"] .zana-top-phone {
    justify-content: flex-end;
  }

  [dir="rtl"] .zana-services h2,
  [dir="rtl"] .zana-services-intro {
    text-align: center;
  }
}

html.zana-dir-rtl,
html[dir="rtl"] {
  direction: rtl;
}

html.zana-dir-ltr,
html[dir="ltr"] {
  direction: ltr;
}

body.zana-dir-rtl {
  direction: rtl;
  text-align: right;
}

body.zana-dir-ltr {
  direction: ltr;
  text-align: left;
}

[dir="rtl"] .zana-services h2,
[dir="ltr"] .zana-services h2 {
  text-align: start;
}

[dir="rtl"] .zana-rich-text,
[dir="rtl"] .zana-services-intro,
[dir="rtl"] .zana-hero-caption,
[dir="rtl"] .zana-about-text,
[dir="rtl"] .zana-contact-grid > div:first-child,
[dir="rtl"] .zana-gallery-hint,
[dir="rtl"] .zana-gallery-title,
[dir="rtl"] .zana-footer-col {
  text-align: right;
}

[dir="ltr"] .zana-rich-text,
[dir="ltr"] .zana-services-intro,
[dir="ltr"] .zana-about-text {
  text-align: left;
}

[dir="rtl"] .zana-rich-text strong {
  unicode-bidi: embed;
}

[dir="rtl"] .zana-hero-content {
  justify-content: flex-start;
}

[dir="rtl"] .zana-footer-hours {
  text-align: right;
}

[dir="rtl"] .zana-top-bar-inner,
[dir="rtl"] .zana-nav-inner,
[dir="rtl"] .zana-footer-grid,
[dir="rtl"] .zana-contact-grid,
[dir="rtl"] .zana-services-grid,
[dir="rtl"] .zana-about-grid {
  direction: rtl;
}

[dir="ltr"] .zana-top-bar-inner,
[dir="ltr"] .zana-nav-inner,
[dir="ltr"] .zana-footer-grid,
[dir="ltr"] .zana-contact-grid,
[dir="ltr"] .zana-services-grid,
[dir="ltr"] .zana-about-grid {
  direction: ltr;
}

[dir="rtl"] .zana-nav-actions {
  margin-inline-start: 12px;
  margin-inline-end: 0;
}

[dir="rtl"] .zana-footer-bottom {
  direction: rtl;
}

[dir="rtl"] .zana-top-phone {
  justify-content: flex-end;
}
