﻿/* ================================================================
   FactoryOutletStores.info — Complete Redesign
   ================================================================ */

/* ---- Design Tokens ---- */
:root {
  --blue:         #1d4ed8;
  --blue-dark:    #1e3a8a;
  --blue-hover:   #1641b8;
  --blue-light:   #eff6ff;
  --blue-mid:     #3b82f6;
  --orange:       #f59e0b;
  --orange-dark:  #d97706;
  --green:        #16a34a;
  --text:         #1e293b;
  --text-muted:   #64748b;
  --text-light:   #94a3b8;
  --bg:           #f1f5f9;
  --white:        #ffffff;
  --border:       #e2e8f0;
  --border-light: #f1f5f9;
  --shadow-xs:    0 1px 2px rgba(0,0,0,.06);
  --shadow-sm:    0 1px 4px rgba(0,0,0,.09);
  --shadow:       0 2px 8px rgba(0,0,0,.09);
  --shadow-md:    0 4px 16px rgba(0,0,0,.10);
  --radius-sm:    5px;
  --radius:       8px;
  --radius-lg:    12px;
  --max-w:        1080px;
  --font:         -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { height: 100%; scroll-behavior: smooth; overflow-x: hidden; }
body { font-family: var(--font); font-size: 15px; line-height: 1.65; color: var(--text); background: var(--bg); overflow-x: hidden; }

/* Prevent any element from causing horizontal scroll */
.page-wrap, .page-content, .nbox, .innerbox, .list1, .obal {
  word-wrap: break-word;
  overflow-wrap: break-word;
  min-width: 0;
  max-width: 100%;
}
img  { max-width: 100%; height: auto; display: block; }

/* USA imagemap: wrap in a scrollable container so the map coords stay valid */
#mapUSA { max-width: none; } /* imagemap coords break if image is scaled */
.map-scroll-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
ul   { list-style: none; }
a    { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); text-decoration: underline; }
p  { margin-bottom: 1em; }
h1, h2, h3, h4 { line-height: 1.3; color: var(--text); font-weight: 700; }


/* ================================================================
   HEADER
   ================================================================ */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
  position: sticky;
  top: 0;
  z-index: 100;
}

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

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
}

.site-logo:hover { text-decoration: none; }

.logo-mark {
  width: 36px;
  height: 36px;
  background: var(--blue-dark);
  color: #fff;
  border-radius: var(--radius-sm);
  font-size: 11px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: .5px;
  flex-shrink: 0;
}

.logo-text {
  font-size: 19px;
  font-weight: 700;
  color: var(--blue-dark);
  letter-spacing: -.4px;
  line-height: 1;
}

.logo-text strong { color: var(--blue); }
.logo-tld { font-size: 13px; color: var(--text-muted); font-weight: 400; }

/* Search */
.site-search { flex: 1; max-width: 380px; }

.site-search form {
  display: flex;
  align-items: stretch;
  border: 1.5px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  background: var(--white);
  transition: border-color .15s, box-shadow .15s;
}

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

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

.site-search button {
  background: var(--blue);
  border: none;
  color: #fff;
  padding: 9px 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  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-w);
  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: 11px 16px;
  color: rgba(255,255,255,.82);
  font-size: 13.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .4px;
  text-decoration: none;
  border-bottom: 3px solid transparent;
  transition: color .12s;
}

.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: 11px 0;
  margin-left: auto;
  flex-direction: column;
  gap: 5px;
}

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


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

.page-content { flex: 1; min-width: 0; }
.page-sidebar { width: 216px; flex-shrink: 0; }


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

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

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

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

.widget__list li a::before {
  content: "›";
  color: var(--blue-mid);
  font-size: 15px;
  font-weight: 700;
  flex-shrink: 0;
  line-height: 1;
}

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


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

.nbox h1 {
  font-size: 21px;
  font-weight: 700;
  color: var(--text);
  padding: 16px 18px 14px;
  border-bottom: 1px solid var(--border);
  margin: 0;
  line-height: 1.3;
}

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

/* h2 inside list1 must NOT look like section header */
.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: 2px !important;
}

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

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

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


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

.path div { display: flex; align-items: center; }
.path div + div::before { content: "›"; margin: 0 5px; color: var(--text-light); }
.path a { color: var(--blue); text-decoration: none; }
.path a:hover { text-decoration: underline; }


/* ================================================================
   MALL LIST (list1)
   ================================================================ */
.list1 { padding: 0; }

.list1 li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  transition: background .1s;
}

.list1 li:last-child { border-bottom: none; }
.list1 li:hover { background: #fafcff; }

/* Store count badge */
.list1 li strong {
  flex-shrink: 0;
  width: 60px;
  min-height: 60px;
  background: var(--blue-light);
  border: 1px solid #dbeafe;
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 10.5px;
  font-weight: 600;
  color: var(--blue-dark);
  text-transform: uppercase;
  letter-spacing: .3px;
  padding: 4px;
  position: static;
}

.list1 li strong b {
  font-size: 22px;
  font-weight: 800;
  color: var(--blue);
  display: block;
  line-height: 1.1;
  letter-spacing: -.5px;
}

/* Mall info block */
/* Mall info block inside list1 items */
.list1 li .mall-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.list1 li .mall-info h2  { margin-bottom: 2px; }
.list1 li .mall-info p   { margin-bottom: 6px; }
.list1 li .mall-info .button { align-self: flex-start; }

/* Stat chips on state pages */
.stat-chip {
  display: inline-block;
  font-size: 12.5px;
  background: var(--blue-light);
  color: var(--blue-dark);
  padding: 3px 10px;
  border-radius: 20px;
  font-weight: 600;
  border: 1px solid #dbeafe;
}

/* Brand grid on /outlet-stores/ */
.brand-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 4px 8px;
  padding: 12px 16px;
}

.brand-grid-item {
  display: block;
  font-size: 13.5px;
  color: var(--blue);
  padding: 5px 0;
  border-bottom: 1px solid var(--border-light);
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.brand-grid-item:hover { color: var(--blue-dark); text-decoration: none; }

/* City grid on /state/nearby-outlet-by-city/ */
.city-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 4px 12px;
  padding: 4px 0;
}

.city-grid a {
  display: block;
  font-size: 13.5px;
  color: var(--blue);
  padding: 4px 0;
  border-bottom: 1px solid var(--border-light);
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.city-grid a:hover { color: var(--blue-dark); }

@media (max-width: 640px) {
  .brand-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); padding: 10px 12px; }
  .city-grid  { grid-template-columns: repeat(2, 1fr); }
}

.list1 li p {
  font-size: 13px;
  color: var(--text-muted);
  margin: 2px 0 6px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}

.list1 li a.button { flex-shrink: 0; }


/* ================================================================
   BUTTONS
   ================================================================ */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--orange);
  color: #fff !important;
  font-weight: 700;
  font-size: 13px;
  padding: 7px 18px;
  border-radius: 20px;
  border: none;
  text-decoration: none !important;
  cursor: pointer;
  transition: background .15s, transform .1s;
  white-space: nowrap;
  line-height: 1.3;
}

.button:hover { background: var(--orange-dark); color: #fff !important; text-decoration: none !important; }
.button:active { transform: translateY(1px); }

.button--outline {
  background: transparent;
  color: var(--blue) !important;
  border: 1.5px solid var(--blue);
  padding: 6px 16px;
}

.button--outline:hover { background: var(--blue-light); color: var(--blue-dark) !important; }

.button--sm { font-size: 12px; padding: 5px 14px; }


/* ================================================================
   DETAIL PAGE — Mall info
   ================================================================ */
.mall-subtitle {
  font-size: 13.5px;
  color: var(--text-muted);
  padding: 6px 18px 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.mall-subtitle::before {
  content: "📍";
  font-size: 12px;
}

/* Info table */
.info-table {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 0;
}

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

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

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

.info-table .info-label:last-of-type,
.info-table .info-value:last-of-type { border-bottom: none; }

/* Mall action buttons */
.mall-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}


/* ================================================================
   STORE DIRECTORY GRID
   ================================================================ */
.store-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 8px;
}

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

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

.keystore a img {
  max-width: 90px;
  max-height: 32px;
  width: auto !important;
  height: auto !important;
  object-fit: contain;
}

.keystore a br { display: none; }

.keystore:hover {
  border-color: var(--blue-mid);
  background: var(--blue-light);
  box-shadow: var(--shadow-xs);
}

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


/* ================================================================
   TWO-COLUMN LAYOUT (.obal)
   ================================================================ */
.obal {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  width: 100%;
}

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

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


/* ================================================================
   GRID HELPERS
   ================================================================ */
.cell_four  { float: left; width: 128px; 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%; min-width: 0; }


/* ================================================================
   INFO LABEL/VALUE (legacy tabL/tabR — still used on Brand.aspx)
   ================================================================ */
.tabL {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .4px;
  font-weight: 700;
  float: left;
  width: 148px;
  clear: left;
  padding: 7px 0;
  border-bottom: 1px solid var(--border-light);
}

.tabR {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-left: 152px;
  padding: 7px 0;
  border-bottom: 1px solid var(--border-light);
  overflow-wrap: break-word;
  word-break: break-word;
  min-width: 0;
}

/* Container for tabL/tabR float rows — clearfix */
.brand-info-row { overflow: hidden; padding: 0 18px 8px; }


/* ================================================================
   HOMEPAGE HERO
   ================================================================ */
.hero {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 100%);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  margin-bottom: 20px;
  color: #fff;
}

.hero h1 {
  color: #fff;
  font-size: 26px;
  margin-bottom: 12px;
  line-height: 1.25;
}

.hero p {
  color: rgba(255,255,255,.87);
  font-size: 15px;
  line-height: 1.65;
  max-width: 560px;
  margin-bottom: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.hero-actions .button {
  background: var(--orange);
  font-size: 14px;
  padding: 9px 22px;
}

.hero-actions .button--outline {
  background: rgba(255,255,255,.15);
  border-color: rgba(255,255,255,.5);
  color: #fff !important;
  backdrop-filter: blur(4px);
}

.hero-actions .button--outline:hover {
  background: rgba(255,255,255,.25);
  color: #fff !important;
}

/* State grid on homepage */
.state-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px 12px;
}

.state-grid a {
  font-size: 13px;
  color: var(--blue);
  padding: 3px 0;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.state-grid a:hover { color: var(--blue-dark); }

/* Brand list on homepage */
.brand-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.brand-chips a {
  font-size: 12.5px;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 4px 12px;
  text-decoration: none;
  transition: border-color .12s, background .12s, color .12s;
  min-width: 0;
  white-space: nowrap;
}

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


/* ================================================================
   BRAND / TYPELIST INDEX  (outlet-stores A-Z)
   ================================================================ */
#typelist {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
  padding: 4px 0;
}

#typelist div a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  text-decoration: none;
  transition: background .1s, color .1s, border-color .1s;
}

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

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

#brandlist { padding: 8px 0; font-size: 13.5px; line-height: 1.9; }

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


/* ================================================================
   ALPHA NAV + SECTIONS  (outlet-malls A-Z page)
   ================================================================ */
.alpha-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
  margin-bottom: 2px;
}

.alpha-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  font-size: 12px;
  font-weight: 700;
  color: var(--blue);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  text-decoration: none;
  transition: background .1s, border-color .1s;
}

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

.alpha-section { margin-bottom: 14px; }

.alpha-header {
  font-size: 13px;
  font-weight: 800;
  color: var(--blue-dark);
  background: var(--blue-light);
  border-left: 3px solid var(--blue);
  padding: 3px 10px;
  margin-bottom: 5px;
  display: inline-block;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  min-width: 28px;
  text-align: center;
}

.alpha-links {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 1px 14px;
}

.alpha-links a {
  font-size: 13px;
  color: var(--blue);
  text-decoration: none;
  padding: 3px 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  border-bottom: 1px solid var(--border-light);
  display: block;
  min-width: 0;
}

.alpha-links a span {
  color: var(--text-muted);
  font-size: 11px;
}

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

@media (max-width: 640px) {
  .alpha-links  { grid-template-columns: 1fr 1fr; }
  .alpha-nav a  { width: 23px; height: 23px; font-size: 11px; }
  #typelist div a { width: 25px; height: 25px; font-size: 11.5px; }
}


/* ================================================================
   STORE DIRECTORY (.store class — legacy BrandDetail)
   ================================================================ */
.store { display: flex; flex-wrap: wrap; gap: 6px; padding: 4px 0; }

.store a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  padding: 6px 10px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  transition: all .12s;
  white-space: nowrap;
}

.store a::before { content: "›"; color: var(--blue-mid); font-size: 15px; font-weight: 700; }
.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, .zarovnanistred { text-align: center; }
.lineLeft { border-left: 2px solid var(--border); padding-left: 12px; }
.height20 { height: 20px; }
.divRight  { float: right; padding-left: 10px; }
.divLRight { float: left;  padding-right: 10px; }
.divLeft   { float: left;  padding-right: 8px; }
.ad        { margin-bottom: 12px; }


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

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

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

.footer-brand { display: flex; flex-direction: column; gap: 2px; }
.footer-brand strong { font-size: 15px; color: #fff; }
.footer-tagline { font-size: 12px; color: rgba(255,255,255,.55); }

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

.footer-copy { font-size: 12px; color: rgba(255,255,255,.45); width: 100%; padding-top: 6px; border-top: 1px solid rgba(255,255,255,.1); }



/* ================================================================
   USA SVG MAP  (/outlet-malls-by-map-of-usa/)
   ================================================================ */
.usmap {
  width: 100%;
  max-width: 740px;
  margin: 12px auto 0;
  min-height: 60px;
}

.us-svg {
  width: 100%;
  height: auto;
  display: block;
}

.us-svg .us-state {
  fill: #cbd5e1;
  stroke: #fff;
  stroke-width: 1;
  transition: fill .12s;
}

.us-svg .us-state--active {
  fill: var(--blue-mid);
}

.us-svg .us-state--active:hover {
  fill: var(--blue-dark);
}

.us-svg .us-state--empty {
  fill: var(--border);
}


/* ================================================================
   STATE MAP GRID  (/outlet-malls-by-map-of-usa/)
   ================================================================ */
.state-map-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 8px;
  padding: 16px;
}

.state-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 12px 8px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--text);
  transition: background .12s, border-color .12s, transform .1s, box-shadow .12s;
  gap: 2px;
}

.state-card:hover {
  background: var(--blue-light);
  border-color: var(--blue-mid);
  color: var(--blue-dark);
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.state-abbr {
  font-size: 18px;
  font-weight: 800;
  color: var(--blue);
  line-height: 1;
}

.state-card:hover .state-abbr { color: var(--blue-dark); }

.state-name {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.2;
  margin-top: 2px;
}

.state-count {
  font-size: 10.5px;
  color: var(--text-muted);
  margin-top: 2px;
}

@media (max-width: 640px) {
  .state-map-grid { grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 6px; padding: 10px; }
  .state-abbr     { font-size: 16px; }
  .state-name     { font-size: 10.5px; }
}/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 960px) {
  .page-wrap     { flex-direction: column; }
  .page-sidebar  { width: 100%; }
  .obal          { flex-direction: column; }
  .col-2         { width: 100%; }
  .hero          { padding: 26px 22px; }
  .hero h1       { font-size: 22px; }
  .state-grid    { grid-template-columns: repeat(3, 1fr); }
  .site-search   { max-width: 260px; }
}

@media (max-width: 640px) {
  /* Header */
  .site-header__inner { flex-wrap: wrap; gap: 10px; padding: 10px 14px; }
  .site-search        { width: 100%; max-width: none; order: 3; }
  .site-search input[type="search"] { font-size: 16px; } /* prevent iOS zoom */

  /* Nav hamburger */
  .nav-toggle  { display: flex; }
  .nav-list    { display: none; flex-direction: column; width: 100%; padding-bottom: 6px; }
  .nav-open .nav-list { display: flex; }
  .nav-list li a {
    padding: 10px 16px;
    font-size: 13px;
    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-left-color: var(--orange); border-bottom-color: rgba(255,255,255,.1); }

  /* Layout */
  .page-wrap    { margin: 14px auto; padding: 0 12px; }
  .nbox h1      { font-size: 17px; padding: 12px 14px; }
  .nbox h2      { font-size: 11px; padding: 8px 12px; }
  .nbox .innerbox { padding: 12px 14px; }

  /* Logo */
  .logo-text    { font-size: 15px; }
  .logo-mark    { width: 28px; height: 28px; font-size: 10px; }

  /* State grid */
  .state-grid   { grid-template-columns: repeat(2, 1fr); gap: 2px 8px; }
  .state-grid a { font-size: 12.5px; }

  /* Grids */
  .cell_four    { width: 48%; }
  .cell_three   { width: 100%; float: none; }
  .citylist     { width: 100%; float: none; }
  .listsloupec  { width: 100%; float: none; }
  .store-grid   { grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 6px; }

  /* Mall list */
  .list1 li     { padding: 10px 12px 10px 78px; min-height: 62px; }
  .list1 li strong { width: 56px; min-height: 56px; left: 10px; font-size: 10px; }
  .list1 li strong b { font-size: 20px; }
  .list1 li p   { font-size: 12px; white-space: normal; } /* allow address wrap on narrow screens */

  /* Info table */
  .info-table   { grid-template-columns: 90px 1fr; }
  .info-label   { font-size: 10px; }
  .info-value   { font-size: 13px; }

  /* Mall actions */
  .mall-actions { gap: 6px; }
  .button       { font-size: 12.5px; padding: 7px 16px; }

  /* Hero */
  .hero         { border-radius: var(--radius); padding: 18px 14px; }
  .hero h1      { font-size: 18px; }
  .hero p       { font-size: 13.5px; }
  .hero-actions { gap: 8px; }

  /* Sidebar */
  .widget__title { font-size: 10.5px; }
  .widget__list li a { font-size: 13px; padding: 7px 12px; }

  /* Legacy tabL/tabR float layout: stack vertically on mobile */
  .tabL {
    float: none;
    width: auto;
    clear: none;
    display: block;
    border-bottom: none;
    padding-bottom: 0;
  }
  .tabR {
    margin-left: 0;
    display: block;
    padding-top: 2px;
    border-bottom: 1px solid var(--border-light);
  }

  /* Prevent any text overflow */
  h1, h2, h3, p, a, td, th, li, span { max-width: 100%; }
  table { max-width: 100%; overflow-x: auto; display: block; }

  /* iframes (maps) */
  iframe { max-width: 100%; }
}


/* Ad unit spacing */
.ad-unit { margin: 16px 0; text-align: center; min-height: 90px; overflow: hidden; }
