/* ============================================================
   Factory Outlet Stores -- Modern Redesign
   ============================================================ */

/* ----- Custom Properties ----- */
:root {
  --blue:        #1d4ed8;
  --blue-dark:   #1e3a8a;
  --blue-light:  #eff6ff;
  --blue-mid:    #3b82f6;
  --orange:      #f59e0b;
  --orange-dark: #d97706;
  --text:        #1e293b;
  --text-muted:  #64748b;
  --bg:          #f1f5f9;
  --white:       #ffffff;
  --border:      #e2e8f0;
  --shadow:      0 1px 4px rgba(0,0,0,.10);
  --shadow-md:   0 4px 12px rgba(0,0,0,.08);
  --radius:      8px;
  --radius-sm:   5px;
  --max-width:   1080px;
  --font:        -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

/* ----- Reset ----- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { height: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; color: var(--blue-dark); }
p { margin-bottom: 1em; }
h1, h2, h3, h4 { line-height: 1.3; color: var(--text); }
ul { list-style: none; }


/* ============================================================
   SITE HEADER
   ============================================================ */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.site-header__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.site-logo a {
  display: flex;
  align-items: baseline;
  gap: 1px;
  text-decoration: none;
  color: inherit;
}

.logo-text {
  font-size: 22px;
  font-weight: 700;
  color: var(--blue-dark);
  letter-spacing: -.5px;
}

.logo-text strong { color: var(--blue); }

.logo-sub {
  font-size: 15px;
  color: var(--text-muted);
  font-weight: 400;
}

/* Search */
.site-search form {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  background: var(--white);
  transition: box-shadow .15s;
}

.site-search form:focus-within {
  box-shadow: 0 0 0 3px rgba(59,130,246,.25);
  border-color: var(--blue-mid);
}

.site-search input[type="search"] {
  border: none;
  outline: none;
  padding: 8px 14px;
  font-size: 14px;
  font-family: var(--font);
  width: 280px;
  color: var(--text);
  background: transparent;
}

.site-search button {
  background: var(--blue);
  border: none;
  color: var(--white);
  padding: 8px 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: background .15s;
}

.site-search button:hover { background: var(--blue-dark); }


/* ============================================================
   NAVIGATION
   ============================================================ */
.site-nav { background: var(--blue-dark); }

.site-nav__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
}

.nav-list { display: flex; flex-wrap: wrap; }

.nav-list li a {
  display: block;
  padding: 12px 16px;
  color: rgba(255,255,255,.85);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .4px;
  text-decoration: none;
  transition: color .15s, background .15s;
  border-bottom: 3px solid transparent;
}

.nav-list li a:hover,
.nav-list li.current a {
  color: #fff;
  border-bottom-color: var(--orange);
  text-decoration: none;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 12px 0;
  margin-left: auto;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
}


/* ============================================================
   PAGE LAYOUT
   ============================================================ */
.page-wrap {
  max-width: var(--max-width);
  margin: 24px auto;
  padding: 0 20px;
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.page-content { flex: 1; min-width: 0; }

.page-sidebar { width: 220px; flex-shrink: 0; }


/* ============================================================
   CARDS (nbox)
   ============================================================ */
.nbox {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  overflow: hidden;
}

.nbox h1 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  padding: 14px 16px;
  background: var(--blue-light);
  border-bottom: 2px solid #dbeafe;
  margin: 0;
}

/* h2 as section header inside cards */
.nbox > h2,
.nbox > .innerbox > h2 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--blue-dark);
  padding: 10px 14px;
  background: var(--blue-light);
  border-bottom: 1px solid #dbeafe;
  border-left: 3px solid var(--blue);
  display: block;
  margin: 0;
}

/* Fallback for older pages using nbox h2 */
.nbox h2 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--blue-dark);
  padding: 10px 14px;
  background: var(--blue-light);
  border-bottom: 1px solid #dbeafe;
  border-left: 3px solid var(--blue);
  display: block;
  margin: 0;
}

/* Reset h2 style when it's a mall title inside list1 */
.list1 li h2 {
  font-size: 15px !important;
  font-weight: 700 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  color: var(--blue) !important;
  padding: 0 !important;
  background: none !important;
  border: none !important;
  display: block !important;
  margin-bottom: 3px !important;
}

.nbox .innerbox { padding: 14px 16px; }


/* ============================================================
   SIDEBAR WIDGETS
   ============================================================ */
.widget {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  overflow: hidden;
}

.widget__title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--blue-dark);
  padding: 10px 14px;
  background: var(--blue-light);
  border-bottom: 1px solid #dbeafe;
  border-left: 3px solid var(--blue);
  display: block;
  margin: 0;
}

#menu .nbox strong {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--blue-dark);
  padding: 10px 14px;
  background: var(--blue-light);
  border-bottom: 1px solid #dbeafe;
  border-left: 3px solid var(--blue);
  display: block;
}

.widget__list { padding: 8px 0; }
.widget__list li { border-bottom: 1px solid var(--border); }
.widget__list li:last-child { border-bottom: none; }

.widget__list li a {
  display: flex;
  align-items: center;
  padding: 8px 14px;
  font-size: 13.5px;
  color: var(--text);
  text-decoration: none;
  transition: background .1s, color .1s;
}

.widget__list li a:hover {
  background: var(--blue-light);
  color: var(--blue);
  text-decoration: none;
}


/* ============================================================
   BREADCRUMB
   ============================================================ */
.path {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  align-items: center;
}

.path div { display: flex; align-items: center; }
.path div + div::before { content: "\203A"; margin: 0 4px; color: var(--text-muted); }
.path a { color: var(--blue); }


/* ============================================================
   LISTS
   ============================================================ */
.list { padding: 8px 0 12px; }

.list li {
  border-bottom: 1px solid var(--border);
  padding: 6px 14px;
}

.list li:last-child { border-bottom: none; }

.list li a {
  color: var(--blue);
  font-weight: 600;
  font-size: 13.5px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.list li a:hover { color: var(--blue-dark); text-decoration: none; }

/* Mall list (list1) */
.list1 { padding: 8px 0; }

.list1 li {
  padding: 12px 14px 12px 90px;
  margin-bottom: 4px;
  position: relative;
  border-bottom: 1px solid var(--border);
  min-height: 72px;
}

.list1 li:last-child { border-bottom: none; margin-bottom: 0; }

.list1 li h2 a {
  color: var(--blue);
  text-decoration: none;
  font-weight: 700;
}

.list1 li h2 a:hover { color: var(--blue-dark); text-decoration: underline; }

.list1 li strong {
  position: absolute;
  left: 14px;
  top: 12px;
  width: 64px;
  height: 64px;
  background: var(--blue-light);
  border: 1px solid #dbeafe;
  border-radius: var(--radius-sm);
  font-size: 11px;
  font-weight: 600;
  color: var(--blue-dark);
  text-transform: uppercase;
  text-align: center;
  padding: 6px 3px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.list1 li strong b {
  font-size: 26px;
  font-weight: 800;
  color: var(--blue);
  display: block;
  line-height: 1;
}

.list1 li p {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
  padding-bottom: 6px;
}

.list1 li a.more {
  font-size: 12px;
  color: var(--text-muted);
  text-decoration: none;
  position: absolute;
  bottom: 12px;
  left: 90px;
}

.list1 li a.more:hover { color: var(--blue); }


/* ============================================================
   BUTTONS
   ============================================================ */
.button {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  font-weight: 700;
  font-size: 14px;
  padding: 8px 22px;
  border-radius: 24px;
  border: none;
  text-decoration: none;
  transition: background .15s;
  cursor: pointer;
}

.button:hover {
  background: var(--orange-dark);
  color: var(--white);
  text-decoration: none;
}

.button:active { transform: translateY(1px); }

.button--secondary {
  background: transparent;
  color: var(--blue);
  border: 2px solid var(--blue);
  padding: 6px 20px;
}

.button--secondary:hover {
  background: var(--blue-light);
  color: var(--blue-dark);
  text-decoration: none;
}


/* ============================================================
   MALL DETAIL PAGE
   ============================================================ */
.mall-subtitle {
  font-size: 14px;
  color: var(--text-muted);
  padding: 6px 16px 10px;
}

/* Info grid: label + value pairs */
.info-grid {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 0;
  margin-bottom: 12px;
}

.info-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .4px;
  color: var(--text-muted);
  padding: 9px 8px 9px 0;
  border-bottom: 1px solid var(--border);
}

.info-value {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
}

.info-value a { color: var(--blue); }

/* CTA buttons row */
.mall-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

/* Store directory */
.store-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 8px;
}

.store-grid .keystore {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  transition: border-color .1s, background .1s;
}

.store-grid .keystore a {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 10px 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  gap: 6px;
  min-height: 50px;
  justify-content: center;
}

.store-grid .keystore a img {
  max-width: 100px;
  max-height: 36px;
  width: auto !important;
  height: auto !important;
  object-fit: contain;
}

.store-grid .keystore a br { display: none; }

.store-grid .keystore:hover {
  border-color: var(--blue-mid);
  background: var(--blue-light);
}

.store-grid .keystore:hover a { color: var(--blue); }


/* ============================================================
   TWO-COLUMN CONTENT LAYOUT
   ============================================================ */

/* Global .obal flex layout (replaces old float-based layout) */
.obal {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  width: 100%;
}

.col-1 { flex: 1; min-width: 0; }

.col-2 {
  width: 300px;
  flex-shrink: 0;
}

.col-3 { flex: 1; min-width: 0; }


/* ============================================================
   GRID HELPERS
   ============================================================ */
.cell_four {
  float: left;
  width: 130px;
  line-height: 1.8;
  font-size: 13px;
}

.cell_three {
  float: left;
  width: 190px;
  padding: 2px;
  font-size: 13px;
}

.citylist { float: left; width: 140px; }
.listsloupec { float: left; width: 50%; }
.lineLeft { border-left: 2px solid var(--border); padding-left: 12px; }


/* ============================================================
   OLD tabL/tabR (still used in some pages)
   ============================================================ */
.tabL {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .3px;
  padding-bottom: 2px;
  font-weight: 700;
  clear: both;
  float: left;
  width: 150px;
}

.tabR {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 6px;
  margin-left: 154px;
}


/* ============================================================
   STORE DIRECTORY (.store class on old pages)
   ============================================================ */
.store a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  float: left;
  width: 170px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  margin: 0 8px 8px 0;
  padding: 7px 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  transition: border-color .1s, background .1s;
}

.store a:hover {
  background: var(--blue-light);
  border-color: var(--blue-mid);
  color: var(--blue);
  text-decoration: none;
}


/* ============================================================
   ALIGNMENT HELPERS
   ============================================================ */
.fleft  { float: left; }
.fright { float: right; }
.clear  { clear: both; }
.center { text-align: center; }
.zarovnanistred { text-align: center; }

.divRight  { float: right; padding-left: 10px; }
.divLRight { float: left;  padding-right: 10px; }
.divLeft   { float: left;  padding-right: 8px; }

.height20 { height: 20px; }


/* ============================================================
   BRAND/TYPE INDEX
   ============================================================ */
#typelist div a {
  float: left;
  font-size: 26px;
  font-weight: 700;
  padding: 8px 10px;
  width: 38px;
  text-align: center;
  color: var(--text);
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: background .1s;
}

#typelist div a:hover { background: var(--blue-light); color: var(--blue); }

#typelist div a.current {
  background: var(--blue);
  color: var(--white);
}

.bigtype {
  font-size: 120px;
  font-weight: 800;
  color: var(--border);
  display: block;
  padding-top: 40px;
}

#brandlist { padding: 12px; }


/* ============================================================
   HOMEPAGE
   ============================================================ */
.cta-section {
  text-align: center;
  padding: 10px 0 14px;
}

.cta-section p { font-size: 16px; color: var(--text); margin-bottom: 12px; }


/* ============================================================
   FOOTER
   ============================================================ */
.adfooter {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px 10px;
}

.site-footer {
  background: var(--blue-dark);
  color: rgba(255,255,255,.7);
  margin-top: 40px;
}

.site-footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}

.footer-copy { color: rgba(255,255,255,.7); }

.footer-links { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-links a { color: rgba(255,255,255,.7); text-decoration: none; font-size: 13px; }
.footer-links a:hover { color: #fff; text-decoration: underline; }


/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .page-wrap { flex-direction: column; }
  .page-sidebar { width: 100%; }

  .obal { flex-direction: column; }
  .col-2 { width: 100%; }

  .site-search input[type="search"] { width: 200px; }
}

@media (max-width: 640px) {
  .site-header__inner { flex-wrap: wrap; gap: 10px; }
  .site-search { width: 100%; }
  .site-search input[type="search"] { flex: 1; width: auto; }

  .nav-toggle { display: flex; }

  .nav-list {
    display: none;
    flex-direction: column;
    width: 100%;
    padding-bottom: 8px;
  }

  .nav-open .nav-list { display: flex; }

  .nav-list li a {
    padding: 10px 16px;
    border-bottom: 1px solid rgba(255,255,255,.1);
    border-left: 3px solid transparent;
  }

  .nav-list li a:hover,
  .nav-list li.current a {
    border-bottom-color: rgba(255,255,255,.1);
    border-left-color: var(--orange);
  }

  .cell_four { width: 48%; }
  .cell_three { width: 100%; float: none; }
  .listsloupec { width: 100%; }
  .store a { width: 100%; float: none; }

  .obal { flex-direction: column; }
  .col-2 { width: 100%; }

  .list1 li { padding-left: 80px; }
  .list1 li strong { width: 58px; height: 58px; }

  .nbox h1 { font-size: 17px; }
  .logo-text { font-size: 18px; }

  .info-grid { grid-template-columns: 120px 1fr; }

  .store-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
}
