
/* Founárna – Real Cards Homepage
   Nahrát jako: /user/documents/css/founarna-real-cards-homepage.css

   Skutečný HTML/CSS layout:
   - žádné screenshotové dlaždice
   - žádné masky
   - žádné overlay pruhy
   - snadno přidatelné další dlaždice v JS v poli cards
*/

#fhc-home,
#fhs-home,
#fpx-home,
#fad-home,
#fth-home,
#fh-final-home,
#fst-home,
#fsg-home,
#fsg2-home,
#fsg3-home,
#fog-home,
#fog5-home,
#fcc-home,
#fcc2-home,
#fcc3-home {
  display: none !important;
  height: 0 !important;
  min-height: 0 !important;
  max-height: 0 !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
}

.fog-gap,
.fog5-gap {
  display: none !important;
}

.frc-home,
.frc-home * {
  box-sizing: border-box;
}

.frc-home {
  position: relative;
  width: 100vw;
  max-width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  margin-top: 24px;
  margin-bottom: 40px;
  padding: 0 20px;
  background: transparent !important;
  color: #171717;
  clear: both;
}

.frc-stage {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

.frc-hero {
  position: relative;
  overflow: hidden;
  min-height: 430px;
  display: grid;
  grid-template-columns: minmax(360px, .82fr) minmax(480px, 1.18fr);
  align-items: center;
  gap: 24px;
  padding: 44px 56px;
  border-radius: 30px;
  background:
    radial-gradient(circle at 12% 10%, rgba(255,210,77,.24), transparent 30%),
    radial-gradient(circle at 82% 12%, rgba(202,135,255,.20), transparent 30%),
    linear-gradient(135deg, #fffaf0 0%, #f8efe1 50%, #efe3d2 100%);
  box-shadow: 0 18px 55px rgba(0,0,0,.09);
  border: 1px solid rgba(130,92,25,.08);
}

.frc-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 7px 16px;
  margin-bottom: 22px;
  border-radius: 999px;
  background: rgba(255,209,74,.12);
  color: #9c710d;
  border: 1px solid rgba(185,139,34,.30);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.1;
}

.frc-badge::before {
  content: "★";
  color: #c99216;
}

.frc-hero-title {
  margin: 0 0 18px;
  max-width: 560px;
  font-size: clamp(42px, 5.2vw, 78px);
  line-height: .96;
  letter-spacing: -.055em;
  font-weight: 950;
  color: #171717;
}

.frc-hero-text {
  margin: 0 0 28px;
  max-width: 520px;
  color: #54504a;
  font-size: 19px;
  line-height: 1.48;
}

.frc-hero-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 58px;
  padding: 15px 30px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffd65f, #f5b719);
  color: #111 !important;
  text-decoration: none !important;
  font-size: 18px;
  font-weight: 900;
  box-shadow: 0 14px 30px rgba(185,135,22,.20);
}

.frc-hero-button::after {
  content: "→";
  font-size: 23px;
  line-height: 1;
}

.frc-hero-visual {
  position: relative;
  min-height: 390px;
  width: 100%;
}

.frc-pedestal {
  position: absolute;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(218,205,187,.96));
  border: 1px solid rgba(114,91,53,.10);
  box-shadow: 0 24px 48px rgba(56,43,23,.18);
}

.frc-pedestal-1 {
  width: 380px;
  height: 118px;
  left: 26%;
  bottom: 16px;
}

.frc-pedestal-2 {
  width: 250px;
  height: 82px;
  right: 2%;
  bottom: 42px;
}

.frc-pedestal-3 {
  width: 250px;
  height: 80px;
  right: 16%;
  top: 66px;
}

.frc-visual-img {
  position: absolute;
  display: block;
  object-fit: contain;
  max-width: none;
  filter: drop-shadow(0 24px 26px rgba(0,0,0,.22));
}

.frc-hero-phone {
  width: 210px;
  left: 38%;
  top: 8px;
  z-index: 5;
}

.frc-hero-case {
  width: 172px;
  left: 18%;
  top: 20px;
  z-index: 6;
}

.frc-hero-earbuds {
  width: 245px;
  left: 33%;
  bottom: -6px;
  z-index: 7;
}

.frc-hero-charger {
  width: 230px;
  right: 0%;
  top: 54px;
  z-index: 6;
}

.frc-hero-power {
  width: 172px;
  right: 8%;
  bottom: 8px;
  z-index: 8;
}

.frc-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.frc-card {
  position: relative;
  min-height: 245px;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(145px, 42%);
  align-items: center;
  gap: 10px;
  padding: 28px;
  border-radius: 26px;
  background:
    radial-gradient(circle at 94% 84%, rgba(255,209,74,.16), transparent 34%),
    linear-gradient(135deg, #fffaf1 0%, #f5eee3 100%);
  border: 1px solid rgba(130,92,25,.08);
  box-shadow: 0 12px 34px rgba(0,0,0,.07);
  text-decoration: none !important;
  color: #171717 !important;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.frc-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 48px rgba(0,0,0,.11);
  border-color: rgba(190,142,34,.20);
}

.frc-card h3 {
  margin: 0 0 12px;
  font-size: 25px;
  line-height: 1.08;
  font-weight: 950;
  letter-spacing: -.025em;
  color: #171717;
}

.frc-card p {
  margin: 0 0 22px;
  color: #5e5951;
  font-size: 16px;
  line-height: 1.42;
}

.frc-arrow {
  display: inline-flex;
  width: 43px;
  height: 43px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(180deg, #ffdb69, #f4ba24);
  color: #111;
  font-size: 22px;
  font-weight: 900;
  box-shadow: 0 10px 22px rgba(185,135,22,.16);
}

.frc-card-img-wrap {
  position: relative;
  min-height: 185px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.frc-card-img {
  display: block;
  max-width: 100%;
  max-height: 188px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 16px 20px rgba(0,0,0,.16));
}

.frc-card--mag .frc-card-img { max-height: 205px; }
.frc-card--glass .frc-card-img { max-height: 206px; }
.frc-card--charge .frc-card-img { max-height: 165px; }
.frc-card--power .frc-card-img { max-height: 200px; }
.frc-card--audio .frc-card-img { max-height: 174px; }
.frc-card--car .frc-card-img { max-height: 170px; }

/* Plné názvy produktů na mobilu */
@media (max-width: 767px) {
  .products .product .name,
  .products .product .name a,
  .products-block .p .name,
  .products-block .p .name a,
  .product-slider .p .name,
  .product-slider .p .name a,
  .p .name,
  .p .name a,
  .p-in .name,
  .p-in .name a {
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: unset !important;
    display: block !important;
    -webkit-line-clamp: unset !important;
    line-clamp: unset !important;
    max-height: none !important;
    height: auto !important;
  }

  .p .name,
  .products-block .p .name,
  .product-slider .p .name {
    min-height: 3.3em;
    line-height: 1.24;
  }
}

@media (max-width: 1080px) {
  .frc-hero {
    grid-template-columns: 1fr;
    padding: 36px 34px 24px;
  }

  .frc-hero-title {
    max-width: 700px;
  }

  .frc-hero-text {
    max-width: 660px;
  }

  .frc-hero-visual {
    min-height: 340px;
  }

  .frc-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .frc-home {
    width: 100%;
    max-width: 100%;
    left: auto;
    right: auto;
    margin-left: 0;
    margin-right: 0;
    margin-top: 14px;
    margin-bottom: 28px;
    padding: 0 8px;
  }

  .frc-stage {
    max-width: 430px;
    margin: 0 auto;
  }

  .frc-hero {
    min-height: auto;
    padding: 24px 18px 16px;
    border-radius: 24px;
    gap: 8px;
  }

  .frc-badge {
    font-size: 12px;
    padding: 7px 12px;
    margin-bottom: 15px;
  }

  .frc-hero-title {
    font-size: clamp(34px, 11.5vw, 50px);
    line-height: .98;
    max-width: 96%;
    margin-bottom: 14px;
  }

  .frc-hero-text {
    font-size: 14px;
    line-height: 1.42;
    margin-bottom: 17px;
    max-width: 94%;
  }

  .frc-hero-button {
    min-height: 49px;
    padding: 12px 18px;
    font-size: 15px;
    gap: 10px;
  }

  .frc-hero-visual {
    min-height: 250px;
    margin-top: 6px;
  }

  .frc-pedestal-1 {
    width: 230px;
    height: 70px;
    left: 30%;
    bottom: 8px;
  }

  .frc-pedestal-2 {
    width: 138px;
    height: 48px;
    right: 0;
    bottom: 34px;
  }

  .frc-pedestal-3 {
    width: 150px;
    height: 50px;
    right: 14%;
    top: 48px;
  }

  .frc-hero-phone {
    width: 122px;
    left: 43%;
    top: 2px;
  }

  .frc-hero-case {
    width: 104px;
    left: 20%;
    top: 14px;
  }

  .frc-hero-earbuds {
    width: 148px;
    left: 34%;
    bottom: -4px;
  }

  .frc-hero-charger {
    width: 134px;
    right: -3%;
    top: 54px;
  }

  .frc-hero-power {
    width: 104px;
    right: 4%;
    bottom: 20px;
  }

  .frc-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 8px;
  }

  .frc-card {
    min-height: 218px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 16px 13px 12px;
    border-radius: 20px;
  }

  .frc-card h3 {
    font-size: 18px;
    line-height: 1.12;
    margin-bottom: 7px;
  }

  .frc-card p {
    font-size: 12px;
    line-height: 1.32;
    margin-bottom: 8px;
  }

  .frc-arrow {
    width: 32px;
    height: 32px;
    font-size: 17px;
  }

  .frc-card-img-wrap {
    flex: 1;
    min-height: 92px;
    align-items: flex-end;
    justify-content: center;
    margin-top: -2px;
  }

  .frc-card-img {
    max-height: 108px;
  }

  .frc-card--mag .frc-card-img { max-height: 122px; }
  .frc-card--glass .frc-card-img { max-height: 118px; }
  .frc-card--charge .frc-card-img { max-height: 90px; }
  .frc-card--power .frc-card-img { max-height: 110px; }
  .frc-card--audio .frc-card-img { max-height: 100px; }
  .frc-card--car .frc-card-img { max-height: 96px; }
}
