/*07.07.2026 - START */
/* ==== Responzivní a opravená úprava stránky "Můj účet" ==== */

.Element.UserAccountEl.Shop,
.Element.UserAccountEl.Shop * {
  box-sizing: border-box;
}

.Element.UserAccountEl.Shop {
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  max-width: 1000px !important;
  margin: 0 auto !important;
  padding: 24px 16px 48px !important;
}

.Element.UserAccountEl.Shop .Cleaner {
  display: none !important;
}

/* Přesun "Nastavení účtu" na vrchol pomocí flex order */
.Element.UserAccountEl.Shop .SubHeader.Expanding.settingsAccount,
.Element.UserAccountEl.Shop .SubBody.Open.settingsAccount {
  order: -1 !important;
}
.Element.UserAccountEl.Shop .SubHeader.Expanding.settingsAccount {
  margin-top: 0 !important;
}

/* --- Sekce jako karty --- */
.Element.UserAccountEl.Shop .SubHeader.Expanding {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  width: 100% !important;
  background: #f7f7f7;
  border: 1px solid #e2e2e2;
  border-radius: 6px 6px 0 0;
  padding: 12px 16px !important;
  margin: 20px 0 0 !important;
  font-size: 16px;
  font-weight: 700;
  color: #333;
  cursor: pointer;
}

.Element.UserAccountEl.Shop .SubHeader.Expanding::after {
  content: "\2013";
  font-size: 20px;
  color: #999;
  margin-left: 12px;
}

.Element.UserAccountEl.Shop .SubHeader.Expanding:hover {
  background: #efefef;
}

.Element.UserAccountEl.Shop .SubBody.Open {
  display: block !important;
  width: 100% !important;
  background: #fff;
  border: 1px solid #e2e2e2;
  border-top: none;
  border-radius: 0 0 6px 6px;
  padding: 16px !important;
  margin: 0 !important;
}

.Element.UserAccountEl.Shop .Orders.Shop,
.Element.UserAccountEl.Shop .UserAffiliateEl,
.Element.UserAccountEl.Shop .WatchDogs.UserAccount {
  width: 100% !important;
}

/* --- Chybové / informační boxy --- */
.Element.UserAccountEl.Shop .Error {
  width: 100% !important;
  border-radius: 4px;
  padding: 10px 14px !important;
  margin-bottom: 10px;
  font-size: 14px;
  line-height: 1.4;
}

/* --- Tabulka s údaji o účtu --- */
.Element.UserAccountEl.Shop table.Order {
  width: 100% !important;
  border-collapse: collapse;
  margin-top: 4px;
}

.Element.UserAccountEl.Shop table.Order th,
.Element.UserAccountEl.Shop table.Order td {
  padding: 9px 12px;
  border-bottom: 1px solid #eee;
  text-align: left;
  font-size: 14px;
  font-weight: 400;
}

.Element.UserAccountEl.Shop table.Order th {
  color: #555;
}

.Element.UserAccountEl.Shop table.Order td.AR {
  text-align: right;
  font-weight: 600;
}

.Element.UserAccountEl.Shop table.Order tr.even {
  background: #fafafa;
}

/* --- Tlačítka v "Nastavení účtu" --- */
.Element.UserAccountEl.Shop .SubBody.Open.settingsAccount ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  width: 100% !important;
  float: none !important;
}

.Element.UserAccountEl.Shop .SubBody.Open.settingsAccount ul > a.prihlaseni {
  display: none !important;
}

.Element.UserAccountEl.Shop .SubBody.Open.settingsAccount li a.prihlaseni:empty {
  display: none !important;
}

.Element.UserAccountEl.Shop .SubBody.Open.settingsAccount li {
  width: auto;
  list-style: none;
  float: none !important;
  background: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.Element.UserAccountEl.Shop .SubBody.Open.settingsAccount a {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  padding: 9px 18px !important;
  background: #fff;
  border: 1px solid #cd4848;
  border-radius: 20px;
  color: #cd4848 !important;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none !important;
  transition: background .15s ease, color .15s ease, box-shadow .15s ease;
}

.Element.UserAccountEl.Shop .SubBody.Open.settingsAccount a::before {
  content: "\2192";
  font-size: 14px;
  line-height: 1;
}

.Element.UserAccountEl.Shop .SubBody.Open.settingsAccount a:hover {
  background: #cd4848;
  color: #fff !important;
  box-shadow: 0 2px 6px rgba(205,72,72,0.35);
}

/* --- Mřížka posledně navštívených produktů --- */
.Element.UserAccountEl.Shop .ProductList,
.Element.UserAccountEl.Shop .ProductListArea {
  width: 100% !important;
}

.Element.UserAccountEl.Shop .ProductRow {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)) !important;
  gap: 18px !important;
  width: 100% !important;
}

.Element.UserAccountEl.Shop .Product {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  float: none !important;
}

.Element.UserAccountEl.Shop .ProductImage img {
  max-width: 100%;
  height: auto;
  display: block;
}

.Element.UserAccountEl.Shop .ProductName {
  font-size: 14px;
  margin-top: 8px;
}

/* Oprava barevných/velikostních "swatch" bublinek */
.Element.UserAccountEl.Shop .ProductlistParams .Label,
.Element.UserAccountEl.Shop .ProductlistParams .Delim {
  display: none !important;
}

.Element.UserAccountEl.Shop .ProductlistParams .ValueId {
  display: inline-block !important;
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  color: transparent !important;
  font-size: 0 !important;
  overflow: hidden !important;
  border-radius: 100px !important;
  border: 1px solid #cecece !important;
  margin: 1px 3px 0 0 !important;
  vertical-align: middle !important;
}

.Element.UserAccountEl.Shop .InfoRow.InfoParams {
  margin-bottom: 4px;
}
.FavoriteProducts .ProductListContainer .ProductList .CommonPrice .Label.cena
 {
    display: block;
}
.FavoriteProducts .ProductListContainer .ProductListArea .Product div.Price .Label {
    display: block;
}

.Element.UserAccountEl.Shop .InfoRow.InfoParams.ParameterId_17, .Element.UserAccountEl.Shop .InfoRow.InfoParams.ParameterId_15 {
    display: none;
}

/* ==== Responzivní zlomy ==== */
@media (max-width: 768px) {
  .Element.UserAccountEl.Shop {
    padding: 18px 12px 36px !important;
  }
  .Element.UserAccountEl.Shop .SubHeader.Expanding {
    font-size: 15px;
    padding: 10px 12px !important;
  }
  .Element.UserAccountEl.Shop table.Order th,
  .Element.UserAccountEl.Shop table.Order td {
    font-size: 13px;
    padding: 7px 8px;
  }
  .Element.UserAccountEl.Shop .ProductRow {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)) !important;
    gap: 12px !important;
  }
}

@media (max-width: 480px) {
  .Element.UserAccountEl.Shop .SubBody.Open.settingsAccount ul {
    flex-direction: column;
    align-items: flex-start;
  }
  .Element.UserAccountEl.Shop table.Order th,
  .Element.UserAccountEl.Shop table.Order td {
    display: block;
    width: 100%;
    padding: 4px 0;
    border-bottom: none;
  }
  .Element.UserAccountEl.Shop table.Order tr {
    display: block;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
  }
  .Element.UserAccountEl.Shop .ProductRow {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)) !important;
  }
}

/* Sjednocení rozměrů fotek: Oblíbené zboží + Naposledy navštívené produkty */

.SubBody.FavoriteProducts .ProductImage,
.SubBody.LastVisitedProducts .ProductImage {
  width: 180px !important;
  height: 200px !important;
  max-width: 180px !important;
  max-height: 200px !important;
  overflow: hidden !important;
  margin: 0 auto !important;
  padding: 0 !important;
}
@media only screen and (min-width: 481px) {
    .FavoriteProducts .ProductListContainer .ProductListArea div.Product {
        height: 420px;
    }
}

/*07.07.2026 - END */
