/* atrium-optima.sk — static recovery stylesheet
   Brand: orange #EC6723, green #5ABF2B, grey sections */

:root {
  --color-orange: #ec6723;
  --color-orange-dark: #c95518;
  --color-green: #5abf2b;
  --color-green-dark: #4a9e24;
  --color-text: #333333;
  --color-text-muted: #666666;
  --color-bg: #ffffff;
  --color-grey: #f4f4f4;
  --color-lavender: #f0eef5;
  --color-border: #e0e0e0;
  --font-display: "Oswald", "Roboto Condensed", sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --max-width: 1200px;
  --header-height: 72px;
  --radius: 4px;
  --shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
}

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

a {
  color: var(--color-orange);
  text-decoration: none;
}

a:hover {
  color: var(--color-orange-dark);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.25;
  margin: 0 0 0.75rem;
}

h2 { font-size: 1.75rem; text-transform: uppercase; letter-spacing: 0.02em; }
h3, h4.first { font-size: 1.35rem; }
h4 { font-size: 1.15rem; }
h5 { font-size: 1rem; }
h6 { font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.05em; }

p { margin: 0 0 1rem; }

ul, ol { margin: 0; padding: 0; }

/* ── No image = no reserved space ── */
img[src=""],
img:not([src]) {
  display: none !important;
}

.wrapper-shop-logo:not(:has(img)),
.logo-shop:not(:has(img)),
.img-wrapper:not(:has(img)),
figure:not(:has(img)),
.card-image:not(:has(img)) {
  display: none !important;
  min-height: 0 !important;
  height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
}

.col-12.col-lg-4:has(.wrapper-shop-logo:not(:has(img))),
.col-12.col-lg-4:has(.wrapper-shop-logo:empty) {
  display: none !important;
}

.shop-content-box .row:has(.wrapper-shop-logo:not(:has(img))) > .col-lg-8,
.shop-content-box .row:has(.wrapper-shop-logo:not(:has(img))) > .col-12.col-lg-8 {
  flex: 0 0 100%;
  max-width: 100%;
}

.carousel-cell:has(.logo-shop:not(:has(img))),
.carousel-cell:has(.logo-shop a:empty) {
  display: none !important;
}

.carousel-item:not(:has(img)):not([style*="background-image"]) {
  display: none !important;
}

.slider-top-home-page:not(:has(.carousel-item)),
.slider-top-home-page:not(:has(.carousel-item img)):not(:has(.carousel-item[style*="background"])) {
  display: none !important;
}

.slider-top-home-page:not(:has(.carousel-item)) + .opening-hours .col-2 {
  display: none !important;
}

.slider-top-home-page:not(:has(.carousel-item)) + .opening-hours .col-6 {
  width: 100%;
}

.find-us-box:not([style*="background-image"]) {
  min-height: 0;
  padding: 3rem 0;
  background: var(--color-grey);
}

.footer .col-3:has(a:empty),
.footer .col-3:not(:has(img)):not(:has(.atrium-logo)) {
  display: none !important;
}

a:empty:not([aria-label]):not([class*="btn"]) {
  display: none;
}

/* ── Grid (Bootstrap subset) ── */
.container {
  width: min(100% - 2rem, var(--max-width));
  margin-inline: auto;
}

.container-fluid {
  width: 100%;
  padding-inline: 1rem;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin-inline: -0.75rem;
}

.row > [class*="col-"] {
  padding-inline: 0.75rem;
  width: 100%;
}

.col-2 { width: 16.666%; }
.col-3 { width: 25%; }
.col-4 { width: 33.333%; }
.col-6 { width: 50%; }
.col-8 { width: 66.666%; }
.col-9 { width: 75%; }
.col-12 { width: 100%; }

@media (min-width: 576px) {
  .col-sm-10 { width: 83.333%; }
}

@media (min-width: 768px) {
  .col-md-6 { width: 50%; }
  .d-md-block { display: block !important; }
  .d-md-none { display: none !important; }
  .d-md-flex { display: flex !important; }
}

@media (min-width: 992px) {
  .col-lg-3 { width: 25%; }
  .col-lg-4 { width: 33.333%; }
  .col-lg-5 { width: 41.666%; }
  .col-lg-6 { width: 50%; }
  .col-lg-8 { width: 66.666%; }
  .col-lg-12 { width: 100%; }
  .d-lg-block { display: block !important; }
  .d-lg-none { display: none !important; }
  .d-lg-flex { display: flex !important; }
  .text-lg-left { text-align: left !important; }
  .text-lg-center { text-align: center !important; }
  .text-lg-right { text-align: right !important; }
}

@media (min-width: 1200px) {
  .col-xl-4 { width: 33.333%; }
  .d-xl-block { display: block !important; }
  .d-xl-none { display: none !important; }
  .d-xl-flex { display: flex !important; }
}

.d-none { display: none !important; }
.d-block { display: block !important; }
.d-flex { display: flex !important; }

.flex-wrap { flex-wrap: wrap; }
.justify-content-between { justify-content: space-between; }
.justify-content-center { justify-content: center; }
.justify-content-lg-end { justify-content: flex-end; }
.align-items-center { align-items: center; }

.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }

.float-left { float: left; }
.float-right { float: right; }

.sticky-top {
  position: sticky;
  top: 0;
  z-index: 200;
}

.w-100 { width: 100%; }
.w170px { width: 170px; }
.wbtn { width: 100%; max-width: 320px; }
.mx-auto { margin-inline: auto; }
.mx-n3 { margin-inline: -0.75rem; }
.mx-n4 { margin-inline: -1rem; }

.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }
.mt-n3 { margin-top: -1rem; }
.mt-n4 { margin-top: -1.5rem; }
.mt-n5 { margin-top: -3rem; }
.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }
.mb-n1 { margin-bottom: -0.25rem; }
.mb-n3 { margin-bottom: -1rem; }
.mb-lg-0 { margin-bottom: 0; }
.mb-lg-2 { margin-bottom: 0.5rem; }
.mb-lg-3 { margin-bottom: 1rem; }
.mb-lg-4 { margin-bottom: 1.5rem; }
.mb-lg-5 { margin-bottom: 3rem; }
.my-4 { margin-block: 1.5rem; }
.ml-4 { margin-left: 1.5rem; }
.mr-3 { margin-right: 1rem; }
.mr-4 { margin-right: 1.5rem; }
.ml-n3 { margin-left: -1rem; }
.ml-xl-auto { margin-left: auto; }
.pt-2 { padding-top: 0.5rem; }
.pt-3 { padding-top: 1rem; }
.pt-4 { padding-top: 1.5rem; }
.pt-5 { padding-top: 3rem; }
.pb-0 { padding-bottom: 0; }
.pb-2 { padding-bottom: 0.5rem; }
.pb-4 { padding-bottom: 1.5rem; }
.pb-5 { padding-bottom: 3rem; }
.pb60px { padding-bottom: 60px; }
.pb70px { padding-bottom: 70px; }
.pb80px { padding-bottom: 80px; }
.py-4 { padding-block: 1.5rem; }
.py-5 { padding-block: 3rem; }
.p-0 { padding: 0; }
.p-3 { padding: 1rem; }
.px-2 { padding-inline: 0.5rem; }
.px-3 { padding-inline: 1rem; }
.px-4 { padding-inline: 1.5rem; }
.px-sm-3 { padding-inline: 1rem; }
.pl-0 { padding-left: 0; }
.pl-2 { padding-left: 0.5rem; }
.pl-4 { padding-left: 1.5rem; }
.pr-2 { padding-right: 0.5rem; }
.pr-4 { padding-right: 1.5rem; }

@media (min-width: 992px) {
  .mb-lg-0 { margin-bottom: 0 !important; }
  .mt-lg-0 { margin-top: 0 !important; }
  .mt-lg-5 { margin-top: 3rem !important; }
  .my-lg-3 { margin-block: 1rem !important; }
  .pt-lg-0 { padding-top: 0 !important; }
  .pt-lg-3 { padding-top: 1rem !important; }
}

.border-0 { border: 0; }
.bg-lavender-light { background: var(--color-lavender); }
.bg-grey-section { background: var(--color-grey); }

/* ── Top bar ── */
.header-helper {
  background: var(--color-grey);
  font-size: 0.85rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--color-border);
}

.header-helper .hlb {
  color: var(--color-text);
  font-weight: 600;
}

.header-helper .hlb1 span {
  font-weight: 700;
}

.lang-switcher {
  margin-left: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.8rem;
}

/* ── Header / nav ── */
.header {
  background: var(--color-bg);
  box-shadow: var(--shadow);
}

.navbar-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
  padding: 0.75rem 0;
  min-height: var(--header-height);
}

.navbar-brand.atrium-logo {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-orange);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  min-height: 44px;
}

.navbar-brand.atrium-logo::after {
  content: "Atrium Optima";
}

.navbar-toggler {
  display: none;
  border: 1px solid var(--color-border);
  background: transparent;
  padding: 0.45rem 0.55rem;
  border-radius: var(--radius);
  cursor: pointer;
}

.navbar-collapse {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 1.25rem;
  flex: 1 1 auto;
  justify-content: flex-end;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  gap: 0.15rem 0.5rem;
}

.main-nav .nav-link {
  display: block;
  padding: 0.45rem 0.65rem;
  color: var(--color-text);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.main-nav .nav-link:hover,
.main-nav .current-menu-item .nav-link,
.main-nav .nav-link[aria-current="page"] {
  color: var(--color-orange);
}

.input-group.custom {
  position: relative;
  display: flex;
  align-items: center;
}

.input-group.custom input[type="text"] {
  width: 100%;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 0.45rem 2rem 0.45rem 0.65rem;
  font: inherit;
}

.input-group.custom .input-icon {
  position: absolute;
  right: 0.5rem;
  pointer-events: none;
}

.input-group.custom .input-icon svg {
  width: 18px;
  height: 18px;
}

.mobile-lang {
  margin-left: auto;
}

@media (max-width: 1199px) {
  .navbar-toggler { display: inline-flex; }

  .navbar-collapse {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem 0 1rem;
    border-top: 1px solid var(--color-border);
  }

  body.nav-open .navbar-collapse {
    display: flex;
  }

  .main-nav {
    flex-direction: column;
    width: 100%;
  }

  .main-nav .nav-link {
    padding: 0.65rem 0;
    border-bottom: 1px solid var(--color-grey);
  }
}

/* ── Hero slider ── */
.slider-top-home-page {
  background: var(--color-grey);
}

.carousel-inner {
  position: relative;
  overflow: hidden;
}

.carousel-item {
  display: none;
}

.carousel-item.active {
  display: block;
}

.carousel-item img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
}

.carousel-item[style*="background-image"] {
  min-height: 280px;
  background-size: cover;
  background-position: center;
}

.carousel-control-prev,
.carousel-control-next {
  color: var(--color-orange);
  font-size: 0.85rem;
}

/* ── Opening hours strip ── */
.opening-hours h3 {
  font-size: 1.1rem;
}

.day-box {
  background: var(--color-bg);
  border-radius: var(--radius);
  padding: 1rem;
}

._slick-easy-slider-x6 {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.working-hours-today-hours {
  font-weight: 700;
}

/* ── Mobile hero ── */
.mobile.top-decor .top-decor-wrap-content {
  background-size: cover;
  background-position: center;
  color: #fff;
}

.top-decor-wrap-content:not([style*="background-image"]) {
  background: linear-gradient(135deg, var(--color-orange), var(--color-orange-dark));
}

.top-decor-content h3 span {
  font-size: 1.75rem;
  font-weight: 700;
}

.wrap-label-atrium .wrapper-white {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  min-height: 100px;
}

.wrap-label-atrium p {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  margin: 0;
}

/* ── Cards / sections ── */
.wrapper-white {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.wrapper-white.minh-auto {
  min-height: 0;
}

.sale-box h4,
.news-box h2 {
  text-align: center;
  padding-top: 2rem;
}

/* ── Shop box (homepage) ── */
.shop-box {
  padding: 2rem 0 1.5rem;
}

.shop-box-inner {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.shop-box h2 {
  text-align: center;
  margin: 0;
  padding: 0;
}

.shop-box .shop-filters,
.shop-box .carousel-shops {
  margin-top: 0 !important;
}

.shop-box .flickty-carousel-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  padding: 0;
}

.shop-box .flickty-carousel-main:not(:has(img)),
.shop-box .flickty-carousel-main .carousel-cell:empty {
  display: none !important;
  min-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
}

.shop-box:not(:has(.flickty-carousel-main img)) .flickty-carousel-main {
  display: none !important;
}

.shop-box:not(:has(.flickty-carousel-main img)) .row.justify-content-center {
  display: none !important;
}

.shop-box.pb80px {
  padding-bottom: 1.5rem !important;
}

.mt-n5 {
  margin-top: 0 !important;
}

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

.logo-shop {
  min-height: 100px;
  padding: 1rem;
}

.logo-shop img {
  max-height: 80px;
  margin-inline: auto;
  object-fit: contain;
}

.logo-shop:not(:has(img)) {
  min-height: 0;
}

.flickty-carousel-nav,
.flickty-carousel-main {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  padding: 1rem 0;
}

.flickty-nav-item {
  padding: 0.35rem 0.85rem;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  font-size: 0.8rem;
  cursor: pointer;
  white-space: nowrap;
}

.flickty-nav-item:hover {
  border-color: var(--color-orange);
  color: var(--color-orange);
}

.carousel-cell {
  flex: 0 0 auto;
}

.data-add {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.link-orange {
  color: var(--color-orange);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
}

/* ── Buttons ── */
.btn-orange {
  display: inline-block;
  background: var(--color-orange);
  color: #fff !important;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius);
  border: 2px solid var(--color-orange);
  text-align: center;
  cursor: pointer;
}

.btn-orange:hover {
  background: var(--color-orange-dark);
  border-color: var(--color-orange-dark);
  color: #fff !important;
}

/* ── Shop / tenant pages ── */
.shop-content-box {
  padding-top: 1rem;
}

.wrapper-shop-logo {
  padding: 2rem;
  border-radius: var(--radius);
  min-height: 0;
}

.wrapper-shop-logo:has(img) {
  min-height: 180px;
}

.wrapper-shop-logo img {
  max-height: 160px;
  margin-inline: auto;
  object-fit: contain;
}

.shop-info-list {
  list-style: none;
}

.shop-info-list li {
  margin-bottom: 0.75rem;
  gap: 0.75rem;
}

.shop-info-list .icon-svg svg {
  flex-shrink: 0;
}

.logo-shop-box {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 1rem;
}

/* ── Contact / find us ── */
.find-us-page-box,
.find-us-box {
  position: relative;
}

.find-us-section {
  padding: 2rem 0;
  background: var(--color-grey);
}

.find-us-box {
  min-height: 0;
  background: transparent;
  color: var(--color-text);
  padding: 0;
}

.find-us-box .map-pin {
  display: none;
}

.find-us-box h4 {
  text-align: center;
  margin: 0 0 1rem;
  color: var(--color-text);
}

.find-us-box .find-us-content {
  max-width: 420px;
  margin-inline: auto;
  margin-top: 0 !important;
}

.find-us-content {
  padding: 1.5rem;
  color: var(--color-text);
}

.find-us-content h5 {
  color: var(--color-orange);
}

.wrapper-map,
#contact-map {
  display: none !important;
}

.find-us-page-box p:empty {
  display: none;
  margin: 0;
  padding: 0;
}

.forma-find-us .wpcf7-form input[type="text"],
.forma-find-us .wpcf7-form input[type="email"],
.forma-find-us .wpcf7-form textarea {
  width: 100%;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 0.55rem 0.75rem;
  font: inherit;
}

.lab1 {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-text-muted);
}

/* ── Footer ── */
.footer {
  background: var(--color-text);
  color: #ccc;
  padding: 2.5rem 0 1rem;
  margin-top: 3rem;
}

.footer h6 {
  color: #fff;
}

.footer .nav-link {
  color: #ccc;
  padding: 0.25rem 0;
  display: inline-block;
  font-size: 0.9rem;
}

.footer .nav-link:hover {
  color: var(--color-orange);
}

.footer .ul-site-map {
  list-style: none;
}

.footer-kontakt-content p {
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-bg-tree {
  background: #2a2a2a;
}

.footer-helper {
  background: #222;
  color: #888;
  font-size: 0.8rem;
  padding: 0.75rem 0;
}

.footer-helper a {
  color: #888;
}

.footer-helper a:hover {
  color: #ccc;
}

/* ── Scroll up ── */
.pop-up.scroll-up {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 150;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}

.pop-up.scroll-up.visible {
  opacity: 1;
  pointer-events: auto;
}

.btn-pop-up {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  background: var(--color-orange);
  color: #fff;
  font-size: 1.25rem;
  cursor: pointer;
  box-shadow: var(--shadow);
}

/* ── Store map page ── */
.retailing-box {
  padding-bottom: 2rem;
}

.map-page-header {
  text-align: center;
}

.map-page-header .map-list-link {
  margin-top: 0.75rem;
}

.map-page-container {
  max-width: 960px;
}

.map-main {
  margin-inline: auto;
}

.wrapper-atrium-mapa {
  background: var(--color-white, #fff);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.25rem 1rem 1.5rem;
}

.map-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 1.5rem 2.5rem;
  margin-bottom: 1.25rem;
  text-align: center;
}

.map-nav-title,
.map-amenities h4 {
  margin: 0 0 0.75rem;
  font-size: 1.1rem;
}

.map-floor-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.map-floor-tabs a {
  display: inline-block;
  padding: 0.45rem 1rem;
  border: 2px solid var(--color-orange);
  border-radius: var(--radius);
  color: var(--color-orange);
  font-weight: 600;
  text-decoration: none;
}

.map-floor-tabs a.active,
.map-floor-tabs a:hover {
  background: var(--color-orange);
  color: #fff;
}

.map-amenities-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 0.75rem;
  max-width: 42rem;
  margin-inline: auto;
}

.map-amenities-list span {
  display: inline-block;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.map-layout,
.map-floors {
  width: 100%;
}

.map-floors .tab-pane.floor {
  position: static;
  top: auto;
  left: auto;
  width: 100%;
  text-align: center;
}

.tab-pane:not(.active) {
  display: none;
}

.map-floors .tab-pane.floor svg {
  display: block;
  width: 100%;
  max-width: 640px;
  height: auto;
  margin-inline: auto;
}

#modelId,
.btn-trigger-modal-category,
.map-sidebar {
  display: none !important;
}

/* ── Loader (hidden when static) ── */
.loader-img {
  display: none;
}

/* ── API placeholders ── */
#shopsListWrap,
#newsWrap,
#special-offers-main .grid {
  min-height: 0;
}

/* ── Misc ── */
.position-relative { position: relative; }
.module-container { max-width: 65ch; }
.text-danger { color: #c0392b; }
.pull-right { float: right; }

@media (max-width: 767px) {
  h2 { font-size: 1.4rem; }
  .footer { text-align: center; }
  .float-left, .float-right { float: none; display: block; margin-bottom: 0.5rem; }
}
