/* ==========================================================================
   Apple.com 2011 Vintage Skeuomorphic Stylesheet for RetroStore
   ========================================================================== */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Lucida Grande", "Lucida Sans Unicode", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 12px;
  line-height: 18px;
  color: #333333;
  background-color: #ffffff;
  -webkit-font-smoothing: antialiased;
  min-width: 980px;
}

a {
  color: #08c;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/* ==========================================================================
   GLOBAL HEADER (Apple.com 2011 Navigation Bar)
   ========================================================================== */
#globalheader {
  width: 100%;
  height: 38px;
  background: #333333;
  background: linear-gradient(to bottom, #444444 0%, #303030 50%, #202020 51%, #2b2b2b 100%);
  border-top: 1px solid #5a5a5a;
  border-bottom: 1px solid #000000;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
  position: relative;
  z-index: 9999;
}

#globalheader .gh-nav {
  width: 980px;
  margin: 0 auto;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#globalheader ul#globalnav {
  list-style: none;
  display: flex;
  align-items: center;
  height: 38px;
}

#globalheader ul#globalnav li {
  height: 38px;
  border-right: 1px solid rgba(0, 0, 0, 0.4);
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

#globalheader ul#globalnav li:first-child {
  border-left: none;
}

#globalheader ul#globalnav li a {
  display: flex;
  align-items: center;
  height: 38px;
  padding: 0 16px;
  color: #999999;
  font-size: 11px;
  font-weight: normal;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.9);
  transition: color 0.15s ease, background 0.15s ease;
}

#globalheader ul#globalnav li a:hover,
#globalheader ul#globalnav li.active a {
  color: #ffffff;
  background: rgba(0, 0, 0, 0.2);
  text-decoration: none;
}

#globalheader .gh-apple-logo {
  padding: 0 16px !important;
}

#globalheader .gh-apple-logo svg {
  width: 15px;
  height: 18px;
  fill: url(#apple-metal-grad);
  filter: drop-shadow(0 -1px 0 rgba(0, 0, 0, 0.8));
}

#globalheader .gh-right-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

#globalheader .gh-search-box {
  position: relative;
}

#globalheader .gh-search-input {
  width: 140px;
  height: 22px;
  background: #ffffff;
  border: 1px solid #111111;
  border-radius: 12px;
  padding: 2px 10px 2px 24px;
  font-size: 11px;
  color: #333333;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.4);
  outline: none;
  transition: width 0.2s ease, box-shadow 0.2s ease;
}

#globalheader .gh-search-input:focus {
  width: 190px;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.5), 0 0 5px rgba(81, 155, 235, 0.8);
}

#globalheader .gh-search-icon {
  position: absolute;
  left: 8px;
  top: 5px;
  width: 12px;
  height: 12px;
  opacity: 0.5;
  pointer-events: none;
}

#globalheader .gh-panel-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: linear-gradient(to bottom, #505050 0%, #303030 50%, #202020 51%, #2b2b2b 100%);
  border: 1px solid #111111;
  border-radius: 11px;
  padding: 3px 10px;
  color: #cccccc;
  font-size: 10.5px;
  font-weight: bold;
  text-shadow: 0 -1px 0 #000;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0,0,0,0.3);
}

#globalheader .gh-panel-btn:hover {
  color: #ffffff;
  background: linear-gradient(to bottom, #606060 0%, #404040 50%, #2a2a2a 51%, #353535 100%);
  text-decoration: none;
}

/* ==========================================================================
   TOP RIBBON (Announcement bar)
   ========================================================================== */
#top-ribbon {
  background: linear-gradient(to bottom, #f9fbfd 0%, #ebf2fa 100%);
  border-bottom: 1px solid #d0dbe7;
  padding: 8px 0;
  text-align: center;
  font-size: 12px;
  color: #2b4970;
  box-shadow: inset 0 1px 0 #ffffff;
}

#top-ribbon a {
  color: #0066cc;
  font-weight: bold;
  margin-left: 6px;
}

/* ==========================================================================
   BILLBOARD (Hero Section 2011)
   ========================================================================== */
#billboard {
  background: radial-gradient(ellipse at 50% 25%, #ffffff 0%, #f6f6f6 55%, #e6e6e6 100%);
  border-bottom: 1px solid #d4d4d4;
  padding: 40px 0 30px;
  position: relative;
  overflow: hidden;
}

#billboard .billboard-container {
  width: 980px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#billboard .billboard-content {
  flex: 1;
  max-width: 520px;
}

#billboard .hero-badge {
  display: inline-block;
  background: linear-gradient(to bottom, #4a90e2 0%, #185a9d 100%);
  color: #ffffff;
  font-size: 9.5px;
  font-weight: bold;
  letter-spacing: 0.8px;
  padding: 2px 8px;
  border-radius: 9px;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.4);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  margin-bottom: 10px;
  text-transform: uppercase;
}

#billboard h1 {
  font-size: 40px;
  font-weight: 300;
  line-height: 1.15;
  color: #111111;
  letter-spacing: -1px;
  margin-bottom: 6px;
}

#billboard h2 {
  font-size: 21px;
  font-weight: 400;
  color: #555555;
  line-height: 1.3;
  margin-bottom: 14px;
}

#billboard p.hero-desc {
  font-size: 13.5px;
  color: #666666;
  line-height: 1.6;
  margin-bottom: 22px;
}

#billboard .hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Classic Apple 2011 Aqua Blue Glossy Button */
.btn-apple-aqua {
  display: inline-block;
  background: linear-gradient(to bottom, #60abf8 0%, #2f81e5 50%, #1765c9 51%, #1f74db 100%);
  border: 1px solid #1455a8;
  border-radius: 18px;
  padding: 9px 24px;
  font-size: 13px;
  font-weight: bold;
  color: #ffffff !important;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.45);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-apple-aqua:hover {
  background: linear-gradient(to bottom, #72b7fa 0%, #3d8deb 50%, #2270d4 51%, #2c82e6 100%);
  text-decoration: none;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.btn-apple-aqua:active {
  background: linear-gradient(to bottom, #1765c9 0%, #1f74db 100%);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.5);
}

.link-apple-arrow {
  color: #08c;
  font-size: 13px;
  font-weight: normal;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.link-apple-arrow:hover {
  color: #005580;
  text-decoration: underline;
}

#billboard .billboard-visual {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

/* iPhone 4S Vintage Mockup with Retina Screen & Reflection */
.iphone-frame {
  width: 250px;
  height: 480px;
  background: #111111;
  border-radius: 36px;
  border: 4px solid #b0b0b0;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35), inset 0 0 4px rgba(255, 255, 255, 0.3);
  position: relative;
  padding: 42px 14px 44px;
  -webkit-box-reflect: below 2px linear-gradient(transparent 70%, rgba(255, 255, 255, 0.35));
}

.iphone-frame::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 44px;
  height: 4px;
  background: #2a2a2a;
  border-radius: 2px;
  box-shadow: inset 0 1px 1px #000;
}

.iphone-frame .home-button {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #181818;
  border: 1px solid #333;
  display: flex;
  align-items: center;
  justify-content: center;
}

.iphone-frame .home-button::after {
  content: "";
  width: 9px;
  height: 9px;
  border: 1.5px solid #666;
  border-radius: 2.5px;
}

.iphone-screen {
  width: 100%;
  height: 100%;
  background: #1e2837;
  background-image: radial-gradient(#283a54 15%, transparent 16%), radial-gradient(#283a54 15%, transparent 16%);
  background-size: 16px 16px;
  background-position: 0 0, 8px 8px;
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.8);
}

.ios-statusbar {
  height: 14px;
  background: linear-gradient(to bottom, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 100%);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 5px;
  font-size: 8px;
  color: #fff;
}

.ios-appstore-header {
  height: 28px;
  background: linear-gradient(to bottom, #72879f 0%, #4c6684 50%, #3e5876 51%, #45617f 100%);
  border-top: 1px solid #8ba0b9;
  border-bottom: 1px solid #233549;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 10.5px;
  font-weight: bold;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.6);
}

.ios-screen-content {
  flex: 1;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
}

.mockup-promo-chip {
  background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 6px;
  padding: 8px;
  color: #fff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.mockup-app-row {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  padding: 6px 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mockup-app-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: #ff5252;
  box-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

.mockup-app-btn {
  margin-left: auto;
  background: linear-gradient(to bottom, #ffffff 0%, #cfcfcf 100%);
  border: 1px solid #888;
  border-radius: 8px;
  padding: 1px 6px;
  font-size: 8px;
  font-weight: bold;
  color: #007aff;
}

/* ==========================================================================
   LES GRANDS BOUTONS (4 PROMO PODS 2011)
   ========================================================================== */
#promos-section {
  width: 980px;
  margin: 30px auto;
}

.section-headline {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 1px solid #e0e0e0;
  padding-bottom: 8px;
  margin-bottom: 16px;
}

.section-headline h3 {
  font-size: 18px;
  font-weight: bold;
  color: #111111;
}

.section-headline .section-sub {
  font-size: 11.5px;
  color: #777777;
}

.promos-grid {
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-box-lines: multiple;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  width: 100%;
  margin: 0 auto;
}
.promo-pod {
  display: inline-block;
  vertical-align: top;
  width: 23.5%;
  margin-right: 2%;
  margin-bottom: 16px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-box-flex: 1;
  -webkit-flex: 1 1 200px;
  flex: 1 1 200px;
}
.promo-pod:last-child, .promos-grid .promo-pod:nth-child(4n) {
  margin-right: 0;
}

/* A single "Grand Bouton" / Promo Pod */
.promo-pod {
  background: #ffffff;
  border: 1px solid #d4d4d4;
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  position: relative;
  text-decoration: none !important;
  color: inherit;
}

.promo-pod:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
  border-color: #bbbbbb;
}

.promo-pod-top {
  padding: 14px 14px 10px;
  border-bottom: 1px solid #eeeeee;
  background: #fafafa;
}

.promo-pod-badge {
  display: inline-block;
  font-size: 8.5px;
  font-weight: bold;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #ffffff;
  background: #333333;
  padding: 1.5px 6px;
  border-radius: 6px;
  margin-bottom: 6px;
}

.promo-pod h4 {
  font-size: 15px;
  font-weight: bold;
  color: #111111;
  line-height: 1.25;
  margin-bottom: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.promo-pod .pod-sub {
  font-size: 11px;
  color: #666666;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.promo-pod-banner {
  height: 135px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.promo-pod-banner-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.promo-pod-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 2;
  transition: transform 0.25s ease;
}

.promo-pod:hover .promo-pod-img {
  transform: scale(1.04);
}

.promo-pod-gloss {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0.0) 100%);
  pointer-events: none;
  z-index: 3;
}

.promo-pod-footer {
  padding: 10px 14px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #f0f0f0;
  font-size: 11.5px;
  font-weight: bold;
  color: #08c;
}

.promo-pod-footer .arrow {
  color: #08c;
  font-size: 13px;
}

/* ==========================================================================
   APP CATALOG / SHOWCASE SECTION
   ========================================================================== */
#catalog {
  width: 980px;
  margin: 40px auto 30px;
}

.catalog-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  border-bottom: 1px solid #dcdcdc;
  padding-bottom: 12px;
}

/* Vintage iOS 6 Segmented Control */
.segmented-control {
  display: inline-flex;
  border: 1px solid #999999;
  border-radius: 4px;
  background: linear-gradient(to bottom, #f0f0f0 0%, #d8d8d8 100%);
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 1px 2px rgba(0, 0, 0, 0.1);
}

.segmented-control a {
  display: block;
  padding: 4px 14px;
  font-size: 11px;
  font-weight: bold;
  color: #444444;
  border-right: 1px solid #aaaaaa;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
  transition: all 0.1s ease;
}

.segmented-control a:last-child {
  border-right: none;
}

.segmented-control a:hover {
  background: rgba(255, 255, 255, 0.4);
  text-decoration: none;
}

.segmented-control a.active {
  background: linear-gradient(to bottom, #72879f 0%, #466181 50%, #3a5574 51%, #405c7c 100%);
  color: #ffffff;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.6);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.4);
}

.apps-grid {
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-box-lines: multiple;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  width: 100%;
}
.app-card {
  display: inline-block;
  vertical-align: top;
  width: 31.8%;
  margin-right: 2.2%;
  margin-bottom: 18px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-box-flex: 1;
  -webkit-flex: 1 1 270px;
  flex: 1 1 270px;
}
.apps-grid .app-card:nth-child(3n) {
  margin-right: 0;
}

.app-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  border: 1px solid #e2e2e2;
  border-radius: 6px;
  padding: 10px 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
  text-decoration: none !important;
  color: inherit;
}

.app-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
  border-color: #cccccc;
}

/* iOS 6 App Icon with Squircle & Glass Gloss */
.app-icon-wrap {
  width: 58px;
  height: 58px;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(0, 0, 0, 0.15);
  background: #2a2a2a;
}

.app-icon-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.app-icon-gloss {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0.1) 100%);
  pointer-events: none;
}

.app-info {
  flex: 1;
  min-width: 0;
}

.app-name {
  font-size: 13.5px;
  font-weight: bold;
  color: #111111;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 2px;
}

.app-meta {
  font-size: 10.5px;
  color: #777777;
  margin-bottom: 3px;
}

.app-rating {
  font-size: 10px;
  color: #f5a623;
  display: flex;
  align-items: center;
  gap: 3px;
}

.app-rating-count {
  color: #999999;
  font-size: 9.5px;
}

/* Vintage iOS 6 "GRATUIT" Button */
.btn-ios6-get {
  display: inline-block;
  background: linear-gradient(to bottom, #ffffff 0%, #ececec 50%, #dedede 51%, #e5e5e5 100%);
  border: 1px solid #a0a0a0;
  border-radius: 11px;
  padding: 3px 12px;
  font-size: 11px;
  font-weight: bold;
  color: #007aff;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1), inset 0 1px 0 #ffffff;
  flex-shrink: 0;
  transition: all 0.15s ease;
}

.btn-ios6-get:hover {
  background: linear-gradient(to bottom, #ffffff 0%, #f4f4f4 50%, #e6e6e6 51%, #eeeeee 100%);
  border-color: #777777;
  color: #0056b3;
}

/* ==========================================================================
   APP DETAIL PAGE (Classic iTunes App Store 2011 View)
   ========================================================================== */
#app-detail {
  width: 980px;
  margin: 30px auto 40px;
}

.detail-breadcrumbs {
  font-size: 11px;
  color: #888888;
  margin-bottom: 18px;
}

.detail-box {
  background: #ffffff;
  border: 1px solid #d5d5d5;
  border-radius: 5px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.detail-header-panel {
  background: linear-gradient(to bottom, #fcfcfc 0%, #f0f0f0 100%);
  border-bottom: 1px solid #dcdcdc;
  padding: 24px;
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.detail-app-icon-wrap {
  width: 110px;
  height: 110px;
  border-radius: 22px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(0, 0, 0, 0.2);
  flex-shrink: 0;
}

.detail-app-icon-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-app-icon-wrap .icon-gloss {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0.1) 100%);
  pointer-events: none;
}

.detail-header-info {
  flex: 1;
}

.detail-header-info h1 {
  font-size: 26px;
  font-weight: 300;
  color: #111111;
  margin-bottom: 4px;
}

.detail-header-info .detail-dev {
  font-size: 13px;
  color: #08c;
  margin-bottom: 8px;
}

.detail-badges-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.badge-tag {
  background: #eef2f7;
  border: 1px solid #ccd6e0;
  color: #334d66;
  font-size: 10.5px;
  padding: 1px 7px;
  border-radius: 4px;
}

.detail-download-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}

.btn-install-ota {
  background: linear-gradient(to bottom, #4cd964 0%, #2ac545 50%, #20b039 51%, #28c042 100%);
  border: 1px solid #1a8f2f;
  border-radius: 16px;
  padding: 8px 20px;
  font-size: 12px;
  font-weight: bold;
  color: #ffffff !important;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.4);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.detail-body-grid {
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  padding: 24px;
  width: 100%;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
.detail-main-col {
  display: inline-block;
  vertical-align: top;
  width: 65%;
  -webkit-box-flex: 2;
  -webkit-flex: 2;
  flex: 2;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
.detail-side-col {
  display: inline-block;
  vertical-align: top;
  width: 31%;
  margin-left: 4%;
  -webkit-box-flex: 1;
  -webkit-flex: 1;
  flex: 1;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.detail-section-title {
  font-size: 15px;
  font-weight: bold;
  color: #222222;
  border-bottom: 1px solid #eeeeee;
  padding-bottom: 6px;
  margin-bottom: 12px;
}

.detail-desc-text {
  font-size: 12.5px;
  line-height: 1.6;
  color: #444444;
  white-space: pre-line;
  margin-bottom: 24px;
}

.detail-specs-table {
  width: 100%;
  border-collapse: collapse;
}

.detail-specs-table tr {
  border-bottom: 1px solid #f2f2f2;
}

.detail-specs-table td {
  padding: 7px 0;
  font-size: 11.5px;
}

.detail-specs-table td.label {
  color: #777777;
  width: 110px;
}

.detail-specs-table td.val {
  color: #222222;
  font-weight: bold;
}

/* ==========================================================================
   VETERIS HELP SECTION
   ========================================================================== */
#veteris-guide {
  width: 980px;
  margin: 30px auto;
  background: linear-gradient(to bottom, #fcfcfc 0%, #f4f4f4 100%);
  border: 1px solid #d4d4d4;
  border-radius: 5px;
  padding: 24px 30px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

#veteris-guide h3 {
  font-size: 18px;
  color: #111;
  margin-bottom: 10px;
}

#veteris-guide ol {
  padding-left: 20px;
  line-height: 1.8;
  color: #555;
  font-size: 12.5px;
}

#veteris-guide code {
  background: #eef2f8;
  padding: 2px 6px;
  border-radius: 3px;
  border: 1px solid #ccd6e4;
  font-family: monospace;
  color: #08c;
  font-weight: bold;
}

/* ==========================================================================
   GLOBAL FOOTER (Apple.com 2011 Style)
   ========================================================================== */
#globalfooter {
  width: 100%;
  background: #f2f2f2;
  border-top: 1px solid #e0e0e0;
  padding: 24px 0 30px;
  color: #888888;
  font-size: 11px;
}

#globalfooter .gf-container {
  width: 980px;
  margin: 0 auto;
}

#globalfooter .gf-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #666666;
  font-size: 11px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e4e4e4;
}

#globalfooter .gf-breadcrumbs a {
  color: #555555;
}

#globalfooter .gf-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#globalfooter .gf-links {
  display: flex;
  gap: 12px;
}

#globalfooter .gf-links a {
  color: #666666;
}

#globalfooter .gf-country {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #555555;
}

/* SVG definitions */
svg.apple-icon {
  width: 14px;
  height: 17px;
  display: inline-block;
  vertical-align: middle;
}

/* ==========================================================================
   ENHANCED REAL SCREENSHOTS & RETROSTORE DOWNLOAD STYLES
   ========================================================================== */
.hero-screen-switcher {
  display: flex;
  justify-content: center;
  gap: 5px;
  margin-top: 14px;
}
.screen-pill {
  background: #2a2a2a;
  color: #aaa;
  border: 1px solid #444;
  border-radius: 10px;
  padding: 3px 8px;
  font-size: 10px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.screen-pill:hover, .screen-pill.active {
  background: #007aff;
  color: #fff;
  border-color: #0056b3;
  box-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

.screenshots-showcase-section {
  width: 980px;
  margin: 35px auto 40px;
  background: #f7f7f7;
  border: 1px solid #dcdcdc;
  border-radius: 8px;
  padding: 24px 20px;
  box-shadow: inset 0 1px 0 #fff, 0 2px 6px rgba(0,0,0,0.06);
}
.section-headline {
  text-align: center;
  margin-bottom: 22px;
}
.section-headline h3 {
  font-size: 21px;
  font-weight: 500;
  color: #222;
  letter-spacing: -0.4px;
}
.section-headline p {
  color: #666;
  font-size: 12px;
  margin-top: 4px;
}

.screenshots-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  align-items: stretch;
}
.screenshot-card {
  flex: 1;
  max-width: 180px;
  background: #fff;
  border: 1px solid #d0d0d0;
  border-radius: 8px;
  padding: 8px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.08);
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}
.screenshot-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  border-color: #007aff;
}
.screenshot-img-wrap {
  width: 100%;
  height: 250px;
  border-radius: 5px;
  overflow: hidden;
  background: #000;
  box-shadow: inset 0 0 3px rgba(0,0,0,0.6);
  border: 1px solid #222;
}
.screenshot-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.screenshot-card h5 {
  font-size: 12px;
  color: #222;
  margin-top: 8px;
  font-weight: bold;
}
.screenshot-card span {
  font-size: 10.5px;
  color: #666;
  display: block;
  margin-top: 2px;
  line-height: 1.3;
}

.btn-retrostore-dl {
  background: linear-gradient(to bottom, #75b7e8 0%, #4492d3 50%, #2f7fc5 51%, #1f6cb0 100%) !important;
  border: 1px solid #1a568c !important;
  font-weight: bold !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.4), 0 2px 5px rgba(0,0,0,0.2) !important;
}
.btn-retrostore-dl:hover {
  background: linear-gradient(to bottom, #86c4f2 0%, #519edd 50%, #3a8cd2 51%, #2679c2 100%) !important;
}

.gh-download-btn {
  background: linear-gradient(to bottom, #4da4e0 0%, #257cb5 100%) !important;
  color: #ffffff !important;
  font-weight: bold !important;
  padding: 4px 12px !important;
  border-radius: 12px !important;
  border: 1px solid #185a85 !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.35), 0 1px 2px rgba(0,0,0,0.3) !important;
  text-shadow: 0 -1px 0 rgba(0,0,0,0.4) !important;
  margin-left: 15px;
}
.gh-download-btn:hover {
  background: linear-gradient(to bottom, #60b3eb 0%, #2f8ecf 100%) !important;
  text-decoration: none !important;
}

/* ==========================================================================
   PERFECT HIGH-CONTRAST TYPOGRAPHY & FIXES FOR RETROSTORE 2011
   ========================================================================== */
.promo-pod-banner-text {
  position: relative;
  z-index: 2;
  font-size: 23px;
  font-weight: 800;
  color: #ffffff !important;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.65), 0 0 20px rgba(0,0,0,0.3);
  letter-spacing: -0.5px;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  padding: 0 12px;
  text-align: center;
  line-height: 1.15;
}

.promo-pod-top {
  padding: 12px 14px 10px !important;
  background: #fafafa !important;
  border-bottom: 1px solid #eeeeee !important;
}

.promo-pod-top h4 {
  font-size: 15px !important;
  font-weight: bold !important;
  color: #111111 !important;
  line-height: 1.25 !important;
  margin-bottom: 3px !important;
}

.promo-pod-top .pod-sub {
  font-size: 11px !important;
  color: #666666 !important;
  line-height: 1.35 !important;
}

.promo-pod-footer {
  padding: 10px 14px !important;
  background: #ffffff !important;
  color: #007aff !important;
  font-weight: bold !important;
  font-size: 11.5px !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  border-top: 1px solid #f0f0f0 !important;
}

.promo-pod-footer .arrow {
  color: #007aff !important;
  font-size: 15px !important;
  font-weight: bold !important;
}

#billboard h1 {
  font-size: 38px !important;
  font-weight: 300 !important;
  line-height: 1.15 !important;
  color: #111111 !important;
  letter-spacing: -0.8px !important;
  margin-bottom: 6px !important;
}

#billboard h2 {
  font-size: 20px !important;
  font-weight: 400 !important;
  color: #555555 !important;
  line-height: 1.3 !important;
  margin-bottom: 14px !important;
}

#billboard p.hero-desc {
  font-size: 13.5px !important;
  color: #555555 !important;
  line-height: 1.6 !important;
  margin-bottom: 22px !important;
}

.app-card {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  background: #ffffff !important;
  border: 1px solid #e2e2e2 !important;
  border-radius: 8px !important;
  padding: 10px 14px !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06) !important;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease !important;
}

.app-card:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12) !important;
  border-color: #cccccc !important;
}

.app-info .app-name {
  font-size: 13.5px !important;
  font-weight: bold !important;
  color: #111111 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  margin-bottom: 2px !important;
  display: block !important;
  text-decoration: none !important;
}

.app-info .app-name:hover {
  color: #007aff !important;
  text-decoration: underline !important;
}

.app-info .app-meta {
  font-size: 10.5px !important;
  color: #777777 !important;
  margin-bottom: 3px !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.btn-ios6-get {
  display: inline-block !important;
  background: linear-gradient(to bottom, #ffffff 0%, #ececec 50%, #dedede 51%, #e5e5e5 100%) !important;
  border: 1px solid #a0a0a0 !important;
  border-radius: 12px !important;
  padding: 3px 14px !important;
  font-size: 11px !important;
  font-weight: bold !important;
  color: #007aff !important;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12), inset 0 1px 0 #ffffff !important;
  text-decoration: none !important;
  cursor: pointer !important;
}

.btn-ios6-get:hover {
  background: linear-gradient(to bottom, #ffffff 0%, #f4f4f4 50%, #e6e6e6 51%, #eeeeee 100%) !important;
  border-color: #777777 !important;
  color: #0056b3 !important;
}

/* ==========================================================================
   USER AUTH MODAL, DISCLAIMER & VPN DETECTOR STYLES
   ========================================================================== */
.gf-disclaimer {
  background: #e8e8e8;
  border: 1px solid #d4d4d4;
  border-radius: 6px;
  padding: 12px 18px;
  margin: 18px 0 16px;
  color: #555555;
  font-size: 11px;
  line-height: 1.55;
  text-align: justify;
}

.gf-disclaimer strong {
  color: #222222;
}

.gh-user-btn {
  background: linear-gradient(to bottom, #505050 0%, #303030 50%, #202020 51%, #2b2b2b 100%);
  color: #ffffff !important;
  font-size: 10.5px;
  font-weight: bold;
  padding: 4px 10px;
  border-radius: 11px;
  border: 1px solid #111111;
  text-shadow: 0 -1px 0 #000;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 1px 2px rgba(0,0,0,0.35);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  text-decoration: none !important;
  transition: all 0.15s ease;
}

.gh-user-btn:hover {
  background: linear-gradient(to bottom, #606060 0%, #404040 50%, #2a2a2a 51%, #353535 100%);
  color: #ffffff !important;
}

.gh-logout-btn {
  background: #a94442;
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 2px 7px;
  font-size: 10px;
  cursor: pointer;
  margin-left: 8px;
}

#userAuthModal, #replaceAppStoreModal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  display: none;
  z-index: 100000;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  text-align: center;
  padding: 20px 10px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.auth-modal-window {
  display: inline-block;
  vertical-align: middle;
  text-align: left;
  margin: 30px auto;
  width: 95%;
  max-width: 480px;
  background: #ffffff;
  border-radius: 8px;
  -webkit-border-radius: 8px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.55);
  -webkit-box-shadow: 0 12px 35px rgba(0, 0, 0, 0.55);
  border: 1px solid #888888;
  overflow: hidden;
  animation: modalPop 0.2s ease-out;
  -webkit-animation: modalPop 0.2s ease-out;
}

@keyframes modalPop {
  from { transform: scale(0.92); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.auth-modal-header {
  background: linear-gradient(to bottom, #4c4c4c 0%, #303030 50%, #202020 51%, #2c2c2c 100%);
  color: #ffffff;
  padding: 12px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #111111;
  text-shadow: 0 -1px 0 #000;
}

.auth-modal-header h3 {
  font-size: 14px;
  margin: 0;
  font-weight: bold;
}

.auth-modal-close {
  background: none;
  border: none;
  color: #aaaaaa;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.auth-modal-close:hover {
  color: #ffffff;
}

.auth-modal-tabs {
  display: flex;
  border-bottom: 1px solid #dcdcdc;
  background: #f4f4f4;
}

.auth-tab-btn {
  flex: 1;
  padding: 10px 0;
  text-align: center;
  font-size: 12px;
  font-weight: bold;
  color: #666666;
  background: transparent;
  border: none;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all 0.15s ease;
}

.auth-tab-btn.active {
  color: #007aff;
  background: #ffffff;
  border-bottom-color: #007aff;
}

.auth-modal-body {
  padding: 20px 24px;
}

.auth-input-group {
  margin-bottom: 14px;
}

.auth-input-group label {
  display: block;
  font-size: 11px;
  font-weight: bold;
  color: #444444;
  margin-bottom: 4px;
}

.auth-input-group input {
  width: 100%;
  padding: 7px 10px;
  font-size: 12.5px;
  border: 1px solid #bcbcbc;
  border-radius: 4px;
  box-sizing: border-box;
  font-family: inherit;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
  outline: none;
}

.auth-input-group input:focus {
  border-color: #007aff;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.1), 0 0 5px rgba(0, 122, 255, 0.4);
}

.auth-vpn-box {
  background: #f0f7ff;
  border: 1px solid #c8e1fb;
  border-radius: 5px;
  padding: 8px 12px;
  font-size: 11px;
  color: #1e5a96;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.auth-vpn-box.is-vpn {
  background: #fff8e8;
  border-color: #f7d894;
  color: #8c6000;
}

.auth-alert-msg {
  padding: 8px 12px;
  border-radius: 4px;
  font-size: 11.5px;
  margin-bottom: 14px;
  display: none;
}

.auth-alert-error {
  background: #fde8e8;
  border: 1px solid #f8b4b4;
  color: #c81e1e;
}

.auth-alert-success {
  background: #e8f8ec;
  border: 1px solid #a3e6b5;
  color: #0e7030;
}

/* ==========================================================================
   WEBKIT & iOS 6 SPECIFIC COMPATIBILITY EXTENSIONS
   ========================================================================== */
#globalheader .gh-nav, .gh-right-actions, .hero-actions, .billboard-container {
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
}
.app-card-body, .app-card-meta, .promo-pod-footer {
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
}
.gh-apple-logo, .gh-nav li, .screen-pill, .btn-apple-aqua, .btn-apple-secondary {
  -webkit-tap-highlight-color: rgba(0,0,0,0);
}
