:root {
  --green-900: #1b2a1b;
  --green-700: #2b3d2b;
  --sand-50: #e3d9c8;
  --sand-100: #d6c9b3;
  --charcoal: #1f1f1f;
  --accent: #f4a340;
  --accent-dark: #d98924;
  --glass: rgba(255, 255, 255, 0.2);
  --shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  /* spacing scale */
  --sp-1: 8px;
  --sp-2: 12px;
  --sp-3: 16px;
  --sp-4: 20px;
  --sp-5: 28px;
  --sp-6: 36px;
  --sp-7: 48px;
  --sp-8: 64px;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  overflow-x: hidden;
  font-family: "Source Sans 3", sans-serif;
  color: #f5f2ec;
  background-color: #0a0a0a;
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.14)), url("assets/quad-pozadina.png");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  line-height: 1.6;
  padding-top: 0;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: inherit;
  filter: blur(6px);
  transform: scale(1.03);
}

main > section:not(.hero) {
  content-visibility: auto;
  contain-intrinsic-size: 800px;
}

img {
  width: 100%;
  display: block;
  border-radius: var(--radius-md);
  height: auto;
}

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

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

.container {
  width: min(1220px, 92%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  padding-top: 40px; /* prostor za fiksni top banner */
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(0, 0, 0, 0.35);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  gap: 20px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: #ffffff;
}

.logo span {
  color: #ffffff;
}

.logo-img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  border-radius: 0;
  box-shadow: none;
}

.site-footer .logo-img {
  width: 110px;
  height: 110px;
  filter: none;
}

.top-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 40px;
  background: #b34800;
  border: 1px solid rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(12px);
  z-index: 70;
}

.top-banner-inner {
  display: grid;
  gap: 10px;
  padding: 8px 0;
  align-items: center;
  grid-template-columns: repeat(3, max-content);
  justify-content: center;
}

.top-banner-inner.align-left {
  justify-content: start;
}

.top-banner-inner.align-center {
  justify-content: center;
}

.top-banner-inner.align-right {
  justify-content: end;
}

.contact-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: #f4f7f3;
  font-size: 0.95rem;
}

.contact-item a {
  color: inherit;
}

.ci-icon {
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ci-icon svg {
  width: 20px;
  height: 20px;
  fill: #ffd188;
}

.main-nav {
  display: none;
  gap: 18px;
  font-weight: 600;
  font-size: 1.15rem;
}

.main-nav.is-open {
  position: absolute;
  top: 64px;
  right: 5%;
  display: grid;
  background: rgba(0, 0, 0, 0.9);
  padding: 16px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  z-index: 60;
}

.main-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 1.25rem;
  padding: 10px 14px;
  border-radius: 0;
  border: none;
  background: transparent;
  color: #f2f2f2;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.main-nav a:hover,
.main-nav a:focus {
  background: transparent;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

.main-nav a.is-active {
  color: #ffffff;
  background: transparent;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18);
  font-weight: 700;
}

body[data-page="pocetna"] .main-nav a[href=\"index.html\"],
body[data-page=\"ture\"] .main-nav a[href=\"ture.html\"],
body[data-page=\"shop\"] .main-nav a[href=\"shop.html\"],
body[data-page=\"onama\"] .main-nav a[href=\"o-nama.html\"],
body[data-page=\"kontakt\"] .main-nav a[href=\"kontakt.html\"] {
  color: #ffffff;
  background: transparent;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18);
  font-weight: 700;
}

.nav-toggle {
  font-size: 1.4rem;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  padding: 8px 12px;
  border-radius: 0;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.nav-toggle::after {
  content: "MENU";
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  padding: 0;
}

.lang-select {
  font-size: 2.5rem;
  padding: 2px 6px;
  line-height: 1;
  height: 42px;
  min-width: 50px;
}

.lang-switch select {
  border: none;
  background: transparent;
  font-weight: 700;
  cursor: pointer;
  font-size: 0.95rem;
  padding: 4px 0;
}

/* sakrij Google Translate default elemente */
#google_translate_element {
  position: absolute;
  left: -9999px;
}
.goog-te-banner-frame.skiptranslate {
  display: none !important;
}
body {
  top: 0 !important;
}
.goog-logo-link,
.goog-te-gadget {
  display: none !important;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-primary {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 10px 20px rgba(244, 163, 64, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(244, 163, 64, 0.35);
  background: var(--accent-dark);
}

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
}

.btn-ghost:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.26);
  color: #ffffff;
}

.btn-cta {
  background: var(--green-900);
  color: #fff;
  box-shadow: 0 12px 24px rgba(27, 42, 27, 0.25);
}

.btn-cta:hover {
  background: var(--green-700);
  transform: translateY(-2px);
}

.hero {
  position: relative;
  padding: 80px 0 60px;
  min-height: 80vh;
  display: flex;
  align-items: center;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  display: flex;
  transform: translateX(0);
  animation: heroSlide 25s infinite;
  will-change: transform;
  --hero-count: 8;
  width: calc(100% * var(--hero-count));
  height: 100%;
}

.hero-img {
  position: relative;
  flex: 0 0 calc(100% / var(--hero-count));
  width: calc(100% / var(--hero-count));
  height: 100%;
  opacity: 1;
  animation: none;
}

.hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(14, 25, 14, 0.85), rgba(14, 25, 14, 0.2));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-controls {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
}

.hero-arrow {
  pointer-events: auto;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(0, 0, 0, 0.45);
  color: #ffffff;
  font-size: 2rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

.hero-arrow:hover {
  background: rgba(0, 0, 0, 0.65);
}

.hero-media.is-manual {
  animation: none;
}

@keyframes heroSlide {
  0%,
  10% {
    transform: translateX(0);
  }
  12.5%,
  22.5% {
    transform: translateX(-12.5%);
  }
  25%,
  35% {
    transform: translateX(-25%);
  }
  37.5%,
  47.5% {
    transform: translateX(-37.5%);
  }
  50%,
  60% {
    transform: translateX(-50%);
  }
  62.5%,
  72.5% {
    transform: translateX(-62.5%);
  }
  75%,
  85% {
    transform: translateX(-75%);
  }
  87.5%,
  97.5% {
    transform: translateX(-87.5%);
  }
  100% {
    transform: translateX(-87.5%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-media {
    animation: none;
    transform: translateX(0);
  }
}

.hero-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius-lg);
  padding: 28px;
  color: #fff;
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}

.glass-panel {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius-lg);
  padding: 28px;
  color: #fff;
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}

body[data-page="shop"] .glass-panel {
  background: rgba(10, 10, 10, 0.65);
  border-color: rgba(255, 255, 255, 0.18);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.75);
}

.hero h1 {
  font-family: "Poppins", sans-serif;
  font-size: 2rem;
  margin: 12px 0;
}

.lead {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.85);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 20px 0;
}

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

.hero .btn-ghost {
  color: #fdfdfd;
  border-color: rgba(255, 255, 255, 0.6);
}

.hero .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.2);
}
.stat {
  font-family: "Poppins", sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
}

.stat-label {
  display: block;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

.brand-slider {
  background: #ffffff;
  overflow: visible;
  padding: 10px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-track {
  display: flex;
  width: 100%;
  gap: 16px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.brand-slider:hover .slider-track {
  animation-play-state: paused;
}

.slider-group {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-shrink: 0;
  flex-wrap: wrap;
  justify-content: center;
}

.slider-group img {
  height: 40px;
  width: auto;
  display: block;
  border-radius: 0;
  filter: grayscale(0.1) contrast(1.05);
  opacity: 0.9;
}


.shop-tiles {
  padding: 24px 0 10px;
}

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

.shop-tile {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 430px;
  border-radius: 26px;
  overflow: hidden;
  text-decoration: none;
  box-shadow: var(--shadow);
  background: none;
  isolation: isolate;
}

.shop-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(1.2) saturate(1.05);
  z-index: 0;
}

.shop-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: transparent;
  z-index: 1;
}

.shop-tile-text {
  position: relative;
  z-index: 2;
  margin: 0 0 28px 28px;
  font-family: "Poppins", sans-serif;
  font-size: 2.7rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 6px 24px rgba(0, 0, 0, 0.45);
}

.shop-tile--atv {
  background: none;
}

.shop-tile--atv::before {
  background-image: url("assets/at10.jpg");
}

.shop-tile--gear {
  background: none;
}

.shop-tile--gear::before {
  background-image: url("assets/helmet.jpg");
}

.shop-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  background: rgba(26, 26, 26, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 12px 16px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
}

.filter-group,
.sort-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.filter-label {
  font-weight: 600;
  color: #f5f2ec;
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  font-weight: 600;
  font-size: 0.9rem;
}

.filter-chip input {
  accent-color: var(--accent);
}

.sort-group select {
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-family: inherit;
  background: rgba(0, 0, 0, 0.55);
  color: #ffffff;
}

.slider-group img:hover {
  opacity: 1;
}

@keyframes slide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(12px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.section {
  padding: 70px 0;
}

.section-contrast {
  background: rgba(22, 22, 22, 0.82);
  backdrop-filter: blur(6px);
}

body[data-page="kontakt"] .section-contrast {
  background: rgba(40, 40, 40, 0.9);
}

.section-featured {
  background: rgba(34, 34, 34, 0.9);
}

.section-heading {
  margin-bottom: 32px;
}

.section-heading h2 {
  font-family: "Poppins", sans-serif;
  font-size: 2.2rem;
  margin-bottom: 10px;
  color: #f5f2ec;
}

.section-heading h1 {
  font-family: "Poppins", sans-serif;
  font-size: 2.6rem;
  margin-bottom: 10px;
  color: #f5f2ec;
}

.section-heading p {
  font-size: 1.1rem;
  max-width: 640px;
  color: rgba(245, 242, 236, 0.78);
}

.section-subtitle {
  font-family: "Poppins", sans-serif;
  font-size: 1.1rem;
  color: rgba(245, 242, 236, 0.8);
  margin: 26px 0 12px;
}

.grid {
  display: grid;
  gap: 24px;
}

.grid > * {
  min-width: 0;
}

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

.trip-grid {
  grid-template-columns: 1fr;
  gap: 26px;
}

.trip-card {
  background: rgba(26, 26, 26, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 1fr;
}

.trip-image {
  position: relative;
}

.trip-image img {
  width: 100%;
  height: clamp(220px, 32vw, 340px);
  object-fit: cover;
  border-radius: 0;
}

.trip-duration {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--accent);
  color: #ffffff;
  font-weight: 700;
  padding: 10px 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.3px;
}

.trip-body {
  padding: 20px 22px 24px;
  display: grid;
  gap: 12px;
}

.trip-meta {
  list-style: none;
  display: grid;
  gap: 8px;
  color: rgba(245, 242, 236, 0.7);
}

.trip-meta li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.trip-icon {
  font-size: 1rem;
}

.card {
  background: rgba(26, 26, 26, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-width: 0;
}

.card img {
  background: #f6f2e8;
  object-fit: cover;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  border-radius: 0;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 40px rgba(0, 0, 0, 0.18);
}

.card-body {
  padding: 20px;
  display: grid;
  gap: 12px;
  color: rgba(245, 242, 236, 0.86);
  min-width: 0;
}

.card-body h3 {
  line-height: 1.25;
}

.card-body p {
  line-height: 1.55;
}

.cta-grid {
  display: grid;
  gap: 18px;
  align-items: center;
}

.cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.meta {
  font-size: 0.9rem;
  color: rgba(245, 242, 236, 0.6);
}

.shop-card .card-body p,
.popular-desc {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tour-slider {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.tour-track {
  display: flex;
  transition: transform 0.5s ease;
}

.tour {
  min-width: 100%;
  background: rgba(26, 26, 26, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: grid;
  gap: 22px;
  padding: 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.tour::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(244, 163, 64, 0.18), transparent 55%);
  pointer-events: none;
}

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

.tour-content p {
  color: rgba(245, 242, 236, 0.9);
}

.tour-meta {
  list-style: none;
  display: grid;
  gap: 6px;
  color: #ffffff;
}

.tour img {
  border-radius: var(--radius-lg);
  height: 100%;
  max-height: 360px;
  object-fit: cover;
}

.tour-content h3 {
  font-size: 1.4rem;
  font-family: "Poppins", sans-serif;
  color: #f5f2ec;
}

.tour-meta li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.9rem;
}

.tour-controls {
  display: flex;
  justify-content: center;
  gap: 12px;
  padding: 16px;
  background: rgba(26, 26, 26, 0.92);
}

.include-grid {
  grid-template-columns: 1fr;
  gap: 20px;
}

.include-card {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  background: rgba(26, 26, 26, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow);
  align-items: start;
}

.include-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #f6d2a6;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
}

.include-icon svg {
  width: 28px;
  height: 28px;
  fill: #f6d2a6;
}

.include-card h3 {
  font-family: "Poppins", sans-serif;
  font-size: 1.2rem;
  color: #f5f2ec;
  margin-bottom: 6px;
}

.include-list {
  list-style: none;
  display: grid;
  gap: 6px;
  margin-top: 10px;
  color: #ffffff;
}

.include-list li::before {
  content: "•";
  color: var(--accent);
  margin-right: 8px;
}

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

.popular-grid {
  grid-template-columns: 1fr;
  justify-items: center;
}

.popular-card img {
  aspect-ratio: 4 / 3;
  height: clamp(180px, 22vw, 240px);
  object-fit: contain;
  background: #f6f2e8;
}

.popular-card .card-body {
  gap: 10px;
}

.popular-desc {
  color: rgba(245, 242, 236, 0.7);
  font-size: 0.95rem;
}

.gallery-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  position: relative;
  z-index: 1;
}

.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 36px;
  align-items: start;
  background: rgba(10, 10, 10, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
}

.product-info {
  order: 1;
}

.product-info h1 {
  margin-bottom: 12px;
}

.product-info .price {
  font-size: 1.4rem;
  font-weight: 700;
  color: #f6d2a6;
  margin: 10px 0 16px;
}

.product-gallery {
  order: 2;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.product-main {
  position: relative;
  border-radius: var(--radius-lg);
  background: rgba(10, 10, 10, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.product-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(10, 10, 10, 0.7);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  z-index: 2;
}

.product-nav.prev {
  left: 12px;
}

.product-nav.next {
  right: 12px;
}

.product-nav:hover {
  transform: translateY(-50%) scale(1.05);
  background: rgba(10, 10, 10, 0.85);
  border-color: rgba(255, 255, 255, 0.5);
}

.product-nav.is-hidden {
  display: none;
}

.product-main img {
  width: 100%;
  height: clamp(280px, 40vw, 520px);
  object-fit: contain;
  display: block;
  background: #f6f2e8;
}

.product-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
  gap: 10px;
}

.product-thumb {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  background: rgba(10, 10, 10, 0.7);
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.product-thumb img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.product-thumb.is-active {
  border-color: var(--accent);
  transform: scale(1.02);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.35);
}

.product-detail {
  position: relative;
}

.product-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.product-tab {
  border: 1px solid transparent;
  background: transparent;
  color: #ffffff;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  padding: 10px 18px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.product-tab.is-active {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.35);
}

.product-panels {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.product-panel {
  display: none;
  animation: fadeUp 0.4s ease;
}

.product-panel.is-active {
  display: block;
}

#product-tech.product-panel {
  background: rgba(10, 10, 10, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
}

.product-block {
  display: grid;
  gap: 40px;
  align-items: center;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 32px 0;
}

.product-block:nth-child(even) {
  direction: rtl;
}

.product-block + .product-block {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.product-block:nth-child(even) .product-block-body,
.product-block:nth-child(even) .product-block-media {
  direction: ltr;
}

.product-block-media img {
  width: 100%;
  height: 100%;
  max-height: 620px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.product-block-body h3 {
  color: #ffffff;
  font-size: 2.1rem;
  margin-bottom: 10px;
}

.product-block-body p {
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.8;
  font-size: 1.15rem;
}

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

.product-gallery-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(10, 10, 10, 0.7);
}

.product-gallery-item img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.product-colors {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 10px 0 16px;
}

.product-color-name {
  color: #ffffff;
  font-weight: 600;
  margin-bottom: 12px;
}

.product-360-embed {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.6);
}

.product-360-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.admin-details {
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: var(--radius-lg);
  padding: 12px 14px;
  background: #fff;
}

.admin-details summary {
  cursor: pointer;
  font-weight: 700;
  margin-bottom: 10px;
}

#product-image-preview .admin-item,
#product-gallery-preview .admin-item,
#blog-gallery-preview .admin-item {
  grid-template-columns: 120px 1fr auto;
}

.color-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.color-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #f2f2f2;
  font-weight: 600;
}

.color-tag input {
  margin: 0;
}

.color-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.25);
}
.product-color {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  position: relative;
}

.product-color.is-active::after {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.9);
}

.product-spec-list {
  list-style: none;
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  color: #ffffff;
}

.product-spec-list li {
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-weight: 600;
}

.is-hidden {
  display: none !important;
}

@media (max-width: 900px) {
  .product-layout {
    grid-template-columns: 1fr;
  }
  .product-gallery {
    order: 1;
  }
  .product-info {
    order: 2;
  }
  .product-block {
    grid-template-columns: 1fr;
  }
  .product-block:nth-child(even) {
    direction: ltr;
  }
  .product-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .product-tabs {
    border-radius: 18px;
  }
  .product-tab {
    flex: 1 1 100%;
    text-align: center;
  }
  .product-gallery-grid {
    grid-template-columns: 1fr;
  }
}

.gallery-item {
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
  width: 100%;
  display: block;
  pointer-events: auto;
}

.gallery-item img {
  height: 190px;
  width: 100%;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.12);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gallery-item:hover img {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 26px 45px rgba(0, 0, 0, 0.18);
}

.lightbox {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 140;
  padding: 24px;
}

.lightbox.active {
  display: flex;
}

.lightbox-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
}

.lightbox-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  width: min(92vw, 900px);
  background: rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 16px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.lightbox-content img {
  width: 100%;
  height: auto;
  border-radius: 18px;
}

.lightbox-close {
  position: absolute;
  top: 10px;
  right: 12px;
  font-size: 1.2rem;
  background: #fff;
  border-radius: 999px;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.6);
  color: #ffffff;
  font-size: 1.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
  opacity: 0.95;
}

.lightbox-nav.prev {
  left: 12px;
}

.lightbox-nav.next {
  right: 12px;
}

@media (max-width: 540px) {
  .container {
    width: 94%;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .popular-grid,
  .shop-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  /* U mobilnom prikazu skrivamo top banner i vraćamo header na vrh stranice */
  .top-banner {
    display: none;
  }
  body {
    padding-top: 0;
  }
  .site-header {
    top: 0;
    padding-top: 0;
  }

  .slider-group {
    gap: 12px;
  }

  .slider-group img {
    height: 32px;
  }

  .header-inner {
    padding: 12px 0;
  }
  .hero {
    padding: 60px 0 50px;
  }
  .hero-card {
    padding: 20px;
  }
  .hero h1 {
    font-size: 1.6rem;
  }
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .slider-group {
    gap: 12px;
  }
  .brand-slider {
    padding: 8px 0;
  }
  .hero-bg--1 {
    background-image: url("assets/at5-segway-mobile.jpg");
  }
  .hero-bg--2 {
    background-image: url("assets/super-villain-mobile.jpg");
  }
  .shop-tiles-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .shop-tile {
    min-height: 300px;
    border-radius: 22px;
  }
  .shop-tile-text {
    font-size: 2rem;
    margin: 0 0 18px 18px;
  }
  .tour {
    grid-template-columns: 1fr;
  }
  .tour img {
    max-height: 240px;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .gallery-item img {
    height: 150px;
  }
  .card img {
    max-height: 220px;
  }
  .include-grid,
  .values-grid {
    grid-template-columns: 1fr;
  }
  .popular-grid {
    grid-template-columns: 1fr;
  }
  .site-footer {
    padding-bottom: 20px;
  }

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

  .admin-list-wrap .admin-list {
    max-height: none;
  }

  .header-inner .btn-cta {
    display: none;
  }

  .main-nav {
    width: 90%;
  }

  .main-nav.is-open {
    left: 5%;
    right: 5%;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .nav-cta {
    margin-top: 8px;
    background: var(--green-900);
    color: #fff !important;
    border-radius: 999px;
    text-align: center;
    padding: 10px 14px;
    box-shadow: 0 12px 24px rgba(27, 42, 27, 0.25);
  }
}

.form {
  display: grid;
  gap: 18px;
  background: rgba(26, 26, 26, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  gap: 16px;
}

label {
  display: grid;
  gap: 8px;
  font-weight: 600;
  color: #f5f2ec;
}

input,
select,
textarea {
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-family: inherit;
  background: rgba(0, 0, 0, 0.55);
  color: #ffffff;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(244, 163, 64, 0.4);
  border-color: var(--accent);
}

.form-actions {
  display: grid;
  gap: 12px;
}

.form-note {
  font-size: 0.85rem;
  color: rgba(245, 242, 236, 0.65);
}

.form-success {
  color: #9ddc9d;
  font-weight: 600;
}

.about {
  display: grid;
  gap: 28px;
}

.about-content {
  display: grid;
  gap: 16px;
  padding: 26px;
  border-radius: var(--radius-lg);
  background: rgba(10, 10, 10, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  color: #f6f2e8;
}

.about-content h1 {
  color: #ffffff;
}

.about-content p {
  color: rgba(246, 242, 232, 0.88);
}

.contact {
  display: grid;
  gap: 28px;
}

.contact-info ul {
  list-style: none;
  display: grid;
  gap: 8px;
  margin: 16px 0;
  color: rgba(245, 242, 236, 0.75);
}

.map iframe {
  width: 100%;
  min-height: 280px;
  border: 0;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.site-footer {
  background: #201008;
  color: #fff;
  padding: 40px 0 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  gap: 32px;
  align-items: start;
}

.footer-grid .logo span {
  color: #fff;
}

.site-footer h3 {
  margin-bottom: 10px;
  font-family: "Poppins", sans-serif;
  font-size: 1.05rem;
}

.site-footer ul {
  list-style: none;
  display: grid;
  gap: 10px;
  font-weight: 500;
}

.site-footer p {
  color: rgba(255, 255, 255, 0.78);
}

.social-list {
  display: grid;
  gap: 16px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
}

.social-icon {
  width: 60px;
  height: 60px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: transform 0.2s ease, background 0.2s ease;
}

.social-icon svg {
  width: 30px;
  height: 30px;
  fill: #fff;
}

.social-link:hover .social-icon {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.18);
}


.footer-bottom {
  text-align: center;
  padding: 20px 0 0;
  font-size: 0.85rem;
  opacity: 0.8;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 24px;
}

.footer-credit {
  display: inline-block;
  margin-left: 8px;
  font-size: 0.75rem;
  opacity: 0.55;
  letter-spacing: 0.02em;
  color: inherit;
  text-decoration: none;
}

.footer-credit:hover {
  opacity: 0.8;
  text-decoration: underline;
}

body.popup-open {
  overflow: hidden;
}

.popup-banner {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 110;
}

.popup-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
}

.popup-card {
  position: relative;
  z-index: 1;
  width: auto;
  max-height: none;
  border-radius: 0;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.popup-media a,
.popup-media img {
  display: block;
}

.popup-media img {
  width: auto;
  height: auto;
  max-width: none;
  max-height: none;
  object-fit: none;
  border-radius: 0;
  background: transparent;
}

@media (max-width: 720px) {
  .popup-media img {
    max-width: 92vw;
    max-height: 80vh;
    object-fit: contain;
  }
}

.popup-close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 0;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 100;
}

.modal.active {
  display: flex;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

.modal-content {
  position: relative;
  background: #fff;
  padding: 24px;
  border-radius: var(--radius-lg);
  max-width: 520px;
  width: 100%;
  z-index: 1;
  box-shadow: var(--shadow);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 1.2rem;
}

.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  display: none;
  z-index: 120;
}

.cookie-banner.active {
  display: block;
}

.cookie-content {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 14px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: #111111;
}

.cookie-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.cookie-actions .btn {
  color: #111111;
}

.cookie-actions .btn:hover {
  color: #111111;
}

.policy-content,
.prose {
  display: grid;
  gap: 16px;
  background: rgba(18, 18, 18, 0.88);
  padding: 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #f5f2ec;
}

.policy-content h2,
.prose h2 {
  font-family: "Poppins", sans-serif;
  font-size: 1.4rem;
  color: #f5f2ec;
}

.policy-content ul,
.policy-content ol,
.prose ul,
.prose ol {
  padding-left: 20px;
  display: grid;
  gap: 10px;
}

.policy-content a,
.prose a {
  color: var(--accent);
}

.admin-grid {
  display: grid;
  gap: 24px;
}

.admin-grid.is-logged #login-panel {
  display: none;
}

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

.admin-panel {
  background: #fff;
  padding: 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  display: grid;
  gap: 16px;
}

body[data-page="admin"] {
  color: #111111;
}

body[data-page="admin"] .container {
  max-width: 1400px;
}

#cms-panel {
  display: flex;
  flex-direction: column;
  height: clamp(640px, 82vh, 1020px);
  overflow: hidden;
}

body[data-page="admin"] .admin-panel,
body[data-page="admin"] .admin-list-wrap,
body[data-page="admin"] .admin-item,
body[data-page="admin"] .policy-content {
  color: #111111;
}

body[data-page="admin"] #cms-panel,
body[data-page="admin"] #cms-panel * {
  color: #111111;
}

body[data-page="admin"] .admin-tab {
  background: #f2f2f2;
  color: #111111;
  border-color: rgba(0, 0, 0, 0.12);
}

body[data-page="admin"] .admin-tab.is-active {
  color: #ffffff;
}

body[data-page="admin"] .form {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.12);
  color: #111111;
}

body[data-page="admin"] label {
  color: #111111;
}

body[data-page="admin"] input,
body[data-page="admin"] select,
body[data-page="admin"] textarea {
  background: #ffffff;
  color: #111111;
  border: 1px solid rgba(0, 0, 0, 0.18);
}

body[data-page="admin"] .admin-subtitle,
body[data-page="admin"] .calendar-weekdays {
  color: rgba(0, 0, 0, 0.7);
}

.admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-tab {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 600;
}

.admin-tab.is-active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.admin-section {
  display: none;
}

.admin-section.is-active {
  display: block;
  flex: 1 1 auto;
  overflow: auto;
  padding-right: 8px;
}

.admin-section-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 20px;
}

body[data-page="admin"] [data-admin-section="products"].admin-section.is-active {
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
  padding-right: 0;
}

body[data-page="admin"] [data-admin-section="products"] .admin-section-grid {
  flex: 1 1 auto;
  min-height: 0;
  align-items: stretch;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

body[data-page="admin"] [data-admin-section="products"] .admin-section-grid > div:first-child {
  min-height: 0;
  overflow: auto;
  padding-right: 8px;
}

.admin-list-wrap {
  background: #fafafa;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-md);
  padding: 14px;
  display: grid;
  gap: 12px;
}

.admin-list-wrap .admin-list {
  max-height: 48vh;
  overflow: auto;
  padding-right: 6px;
}

body[data-page="admin"] [data-admin-section="products"] .admin-list-wrap {
  min-height: 0;
  display: flex;
  flex-direction: column;
}

body[data-page="admin"] [data-admin-section="products"] .admin-list-wrap .admin-list {
  flex: 1 1 auto;
  min-height: 0;
  max-height: none;
}

body[data-page="admin"] #product-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

body[data-page="admin"] #gallery-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

body[data-page="admin"] #product-color-list,
body[data-page="admin"] #product-color-image-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

body[data-page="admin"] #gallery-list .admin-item {
  grid-template-columns: 1fr;
  align-items: start;
}

body[data-page="admin"] #product-color-image-list .admin-item {
  grid-template-columns: 1fr;
  align-items: start;
}

body[data-page="admin"] #gallery-list .admin-item img {
  width: 100%;
  height: 160px;
}

body[data-page="admin"] #product-list .admin-item {
  grid-template-columns: 1fr;
  align-items: start;
}

body[data-page="admin"] #product-list .admin-item img {
  width: 100%;
  height: 160px;
}

@media (max-width: 900px) {
  body[data-page="admin"] #product-list {
    grid-template-columns: 1fr;
  }
  body[data-page="admin"] #gallery-list {
    grid-template-columns: 1fr;
  }
  body[data-page="admin"] #product-color-list,
  body[data-page="admin"] #product-color-image-list {
    grid-template-columns: 1fr;
  }

  body[data-page="admin"] [data-admin-section="products"].admin-section.is-active {
    display: block;
    overflow: auto;
    padding-right: 8px;
  }

  body[data-page="admin"] [data-admin-section="products"] .admin-section-grid {
    flex: 0 0 auto;
  }

  body[data-page="admin"] [data-admin-section="products"] .admin-section-grid > div:first-child {
    overflow: visible;
    padding-right: 0;
  }

  body[data-page="admin"] [data-admin-section="products"] .admin-list-wrap {
    min-height: auto;
  }

  body[data-page="admin"] [data-admin-section="products"] .admin-list-wrap .admin-list {
    flex: 0 0 auto;
  }
}

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

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

.admin-list {
  display: grid;
  gap: 16px;
  align-content: start;
}

.admin-item {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 14px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

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

.admin-item img {
  width: 120px;
  height: 90px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.admin-item-body {
  display: grid;
  gap: 6px;
  min-width: 0;
  overflow-wrap: anywhere;
}

.admin-item-body span {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.admin-item-actions {
  display: grid;
  gap: 8px;
}

body[data-page="admin"] .admin-item-actions {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body[data-page="admin"] .admin-item-actions .btn {
  color: #111111;
  border: 1px solid rgba(0, 0, 0, 0.2);
  background: #f2f2f2;
}

body[data-page="admin"] .admin-item-actions .btn:hover {
  background: #e5e5e5;
}

.admin-subtitle {
  margin: 0;
  font-weight: 600;
  color: rgba(0, 0, 0, 0.65);
}

.reservation-calendar {
  display: grid;
  gap: 8px;
}

.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgba(0, 0, 0, 0.55);
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
}

.calendar-day {
  background: linear-gradient(180deg, #ffffff 0%, #f7f7f5 100%);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-sm);
  padding: 8px;
  min-height: 90px;
  display: grid;
  gap: 6px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
}

.calendar-day.is-outside {
  background: #f3f3f3;
  color: rgba(0, 0, 0, 0.45);
}

.calendar-day.is-reserved {
  border-color: rgba(26, 102, 62, 0.35);
  background: linear-gradient(180deg, #f0fbf4 0%, #e6f6ec 100%);
}

.calendar-day.is-blocked {
  border-color: rgba(180, 35, 24, 0.45);
  background: linear-gradient(180deg, #fff3f3 0%, #fde8e8 100%);
}

.calendar-day-number {
  font-weight: 700;
  font-size: 13px;
}

.calendar-event {
  font-size: 12px;
  padding: 4px 6px;
  border-radius: 6px;
  background: rgba(31, 64, 47, 0.14);
  color: #ffffff;
}

.calendar-event.is-pending {
  background: rgba(203, 150, 0, 0.18);
  color: #ffffff;
}

.calendar-event.is-canceled {
  background: rgba(180, 35, 24, 0.12);
  color: #7a1e18;
  text-decoration: line-through;
}

.calendar-event.is-blocked {
  background: rgba(180, 35, 24, 0.2);
  color: #7a1e18;
}

.rent-only {
  display: none;
}

.rent-only-visible {
  display: block;
}

.rent-only-field {
  display: none;
  gap: 12px;
  margin-top: 12px;
}

.rent-only-field.is-active {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 700px) {
  .rent-only-field.is-active {
    grid-template-columns: 1fr;
  }
}

.admin-divider {
  height: 1px;
  background: rgba(0, 0, 0, 0.08);
  margin: 6px 0;
}

@media (max-width: 900px) {
  .admin-section-grid {
    grid-template-columns: 1fr;
  }

  .admin-item {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .admin-item img {
    width: 100%;
    height: 180px;
  }

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

  .admin-tabs {
    gap: 8px;
  }

  .admin-tab {
    padding: 10px 14px;
  }
}

@media (max-width: 600px) {
  .modal {
    align-items: flex-start;
    padding: 16px 12px;
  }

  .modal-content {
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .shop-controls {
    flex-direction: column;
    align-items: stretch;
  }

  .sort-group,
  .sort-group select {
    width: 100%;
  }

  .admin-header {
    flex-direction: column;
    align-items: stretch;
  }

  .admin-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .admin-actions .btn {
    flex: 1 1 100%;
  }

  .admin-list-wrap .admin-list {
    max-height: none;
  }

  .admin-item img {
    height: 150px;
  }

  .modal-content {
    width: 92%;
    padding: 18px;
  }

  .form {
    padding: 16px;
    gap: 12px;
  }

  .form input,
  .form textarea,
  .form select {
    padding: 10px 12px;
    font-size: 1rem;
  }

  .form textarea {
    min-height: 100px;
  }

  .shop-tiles-grid {
    grid-template-columns: 1fr;
  }

  .shop-tile {
    min-height: 300px;
  }

  .shop-tile-text {
    font-size: 1.6rem;
  }

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

  .shop-card .card-body p,
  .popular-desc {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .shop-card h3,
  .popular-card h3 {
    font-size: 1rem;
  }

  .shop-card .meta,
  .popular-card .meta {
    font-size: 0.85rem;
  }
}

.price {
  font-weight: 600;
  color: var(--accent);
}

.values-grid {
  grid-template-columns: 1fr;
  gap: 22px;
}

.value-card {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  background: rgba(26, 26, 26, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow);
  align-items: start;
}

.value-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(244, 163, 64, 0.16);
  color: #fff;
  box-shadow: 0 10px 20px rgba(244, 163, 64, 0.2);
}

.value-icon svg {
  width: 28px;
  height: 28px;
  fill: #fff;
}

.value-card h3 {
  font-family: "Poppins", sans-serif;
  font-size: 1.2rem;
  color: #f5f2ec;
  margin-bottom: 6px;
}

.value-list {
  list-style: none;
  display: grid;
  gap: 6px;
  margin-top: 10px;
  color: rgba(245, 242, 236, 0.7);
}

.value-list li::before {
  content: "•";
  color: var(--accent);
  margin-right: 8px;
}

.blog-grid {
  grid-template-columns: 1fr;
  gap: 20px;
}

.blog-grid .card img {
  aspect-ratio: 4 / 3;
  max-height: 240px;
  object-fit: cover;
}

.blog-gallery {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
  gap: 8px;
}

.blog-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 12px;
}

.blog-body img,
.blog-inline-image {
  width: 100%;
  max-height: 360px;
  object-fit: cover;
  border-radius: 14px;
  margin: 12px 0;
  display: block;
}

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

.category-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius-lg);
  min-height: 200px;
  box-shadow: var(--shadow);
}

.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 3 / 2;
  filter: none;
}

.category-card .category-overlay {
  position: absolute;
  inset: 0;
  background: transparent;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 14px 16px;
  color: #fff;
}

.category-card h2 {
  font-family: "Poppins", sans-serif;
  font-size: 1.3rem;
  margin: 0;
  background: transparent;
  padding: 0;
  border-radius: 0;
  text-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
}

.category-card .category-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.14);
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.category-card:hover img {
  transform: scale(1.04);
  transition: transform 0.4s ease;
}

.category-card:hover .category-cta {
  background: rgba(255,255,255,0.22);
}

@media (min-width: 720px) {
  .main-nav {
    display: flex;
  }

  .nav-toggle {
    display: none;
  }

  .hero h1 {
    font-size: 2.6rem;
  }

  .cards {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }

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

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

  .popular-grid {
    grid-template-columns: repeat(4, 1fr);
    justify-items: stretch;
  }

  .include-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }

  .cta-grid {
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
  }

  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }

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

  .about {
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
  }

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

  .footer-grid {
    grid-template-columns: 1.2fr 1fr 1fr 1fr 0.8fr;
  }

  .tour {
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
  }

  .cookie-banner {
    left: auto;
    right: 30px;
    max-width: 420px;
  }

  .admin-grid {
    grid-template-columns: 1fr 2fr;
    align-items: start;
  }

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

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

@media (min-width: 1024px) {
  .hero {
    min-height: 90vh;
  }

  .hero-card {
    max-width: 620px;
  }
}
