/* ============================================================
   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;
}

/* Logo */
.site-logo a {
  display: flex;
  align-items: baseline;
  gap: 2px;
  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;
}

/* Hamburger (hidden on desktop) */
.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;
}

/* Card header: h1 inside nbox */
.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;
}

/* Card header: h2 or strong inside nbox / sidebar */
.nbox h2,
#menu .nbox strong,
.widget__title {
  font-size: 14px;
  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;
}

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

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

.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::before {
  content: '›';
  margin-right: 8px;
  color: var(--blue-mid);
  font-weight: 700;
  font-size: 16px;
}

.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: 4px;
  align-items: center;
}

.path div { display: flex; align-items: center; }
.path div + div::before { content: '›'; margin-right: 4px; }
.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::before {
  content: '›';
  color: var(--blue-mid);
  font-size: 16px;
  line-height: 1;
}

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

/* Mall list (list1) */
.list1 li {
  padding: 12px 14px 12px 90px;
  margin-bottom: 8px;
  position: relative;
  border-bottom: 1px solid var(--border);
  min-height: 68px;
}

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

.list1 li h2 {
  font-size: 15px;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 3px;
  background: none;
  padding: 0;
  border: none;
  letter-spacing: 0;
  text-transform: none;
}

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

.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); }

/* ----- Detail page info table ----- */
.tabL {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .3px;
  padding-bottom: 2px;
  font-weight: 600;
}

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

/* ----- Store directory grid ----- */
.store a {
  display: flex;
  align-items: center;
  gap: 6px;
  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::before {
  content: '›';
  color: var(--blue-mid);
  font-size: 16px;
  font-weight: 700;
  flex-shrink: 0;
}

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

/* ----- Two-column content layout ----- */
#content .obal {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

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

#content .col-2 {
  width: 300px;
  flex-shrink: 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;
}

/* ----- Alignment helpers ----- */
.fleft  { float: left; }
.fright { float: right; }
.clear  { clear: both; }
.center { text-align: center; }
.zarovnanistred { text-align: center; }

.obal {
  width: 100%;
  overflow: hidden;
}

.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; }

/* ----- Hero / CTA on homepage ----- */
.hero-section p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-muted);
}

.cta-section {
  text-align: center;
  padding: 6px 0 10px;
}

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

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

.ad { margin-bottom: 12px; }

/* ----- Footer ----- */
.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 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%; }

  #content .obal { flex-direction: column; }
  #content .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; }

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

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

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

}
