.av-home-page,
.av-product-extras {
  --av-sand: #fff8f0;
  --av-cream: #fffdf9;
  --av-coral: #ff6b4a;
  --av-coral-dark: #e84a2a;
  --av-gold: #f5a623;
  --av-mint: #2dd4bf;
  --av-teal: #0d9488;
  --av-accent-soft: rgba(255, 107, 74, 0.08);
  --av-hero-glow-a: rgba(245, 166, 35, 0.22);
  --av-hero-glow-b: rgba(45, 212, 191, 0.18);
  --av-ink: #1c1917;
  --av-muted: #78716c;
  --av-line: rgba(28, 25, 23, 0.08);
  --av-shadow: 0 18px 50px rgba(255, 107, 74, 0.08);
  --av-radius: 20px;
  --av-font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.av-home-page {
  background: linear-gradient(180deg, #fff8f0 0%, #ffffff 280px, #ffffff 100%) !important;
  font-family: var(--av-font);
}

.av-product-extras {
  font-family: var(--av-font);
  margin-top: 24px;
}

.av-product-extras .av-popular-grid--product {
  grid-template-columns: repeat(5, 1fr);
}

.av-product-extras .av-articles-grid--product {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1199px) {
  .av-product-extras .av-popular-grid--product {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 767px) {
  .av-product-extras .av-popular-grid--product,
  .av-product-extras .av-articles-grid--product {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 479px) {
  .av-product-extras .av-popular-grid--product,
  .av-product-extras .av-articles-grid--product {
    grid-template-columns: 1fr;
  }
}

.av-home-page .wrapper {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  background: transparent;
}

.av-home-page section.av-section.pro-content {
  padding-top: 0;
}

.av-season-spring {
  --av-hero-glow-a: rgba(134, 239, 172, 0.28);
  --av-hero-glow-b: rgba(253, 224, 71, 0.18);
  --av-teal: #16a34a;
}

.av-season-summer {
  --av-hero-glow-a: rgba(245, 166, 35, 0.22);
  --av-hero-glow-b: rgba(45, 212, 191, 0.18);
}

.av-season-autumn {
  --av-hero-glow-a: rgba(251, 146, 60, 0.24);
  --av-hero-glow-b: rgba(180, 83, 9, 0.14);
  --av-coral: #ea580c;
  --av-coral-dark: #c2410c;
  --av-teal: #b45309;
}

.av-season-winter {
  --av-hero-glow-a: rgba(147, 197, 253, 0.24);
  --av-hero-glow-b: rgba(226, 232, 240, 0.35);
  --av-coral: #dc2626;
  --av-coral-dark: #b91c1c;
  --av-teal: #2563eb;
}

.av-home-page h1,
.av-home-page h2,
.av-home-page h3,
.av-home-page h4,
.av-home-page .pro-heading-title h2,
.av-home-page .pro-heading-title-light h2 {
  font-family: var(--av-font);
  letter-spacing: -0.02em;
}

/* Hero */
.av-hero {
  position: relative;
  padding: 48px 0 32px;
  overflow: hidden;
}

.av-hero::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -80px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, var(--av-hero-glow-a) 0%, transparent 70%);
  pointer-events: none;
}

.av-hero::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: -40px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, var(--av-hero-glow-b) 0%, transparent 70%);
  pointer-events: none;
}

.av-hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.av-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 107, 74, 0.18);
  color: var(--av-coral-dark);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 18px;
  box-shadow: 0 8px 24px rgba(255, 107, 74, 0.08);
}

.av-hero__title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.08;
  font-weight: 800;
  color: var(--av-ink);
  margin: 0 0 16px;
}

.av-hero__title span {
  background: linear-gradient(135deg, var(--av-coral) 0%, var(--av-gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.av-hero__lead {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--av-muted);
  margin: 0 0 24px;
  max-width: 560px;
}

.av-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.av-hero__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.av-pill {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--av-line);
  color: var(--av-ink);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.av-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(28, 25, 23, 0.08);
  border-color: rgba(255, 107, 74, 0.25);
  color: var(--av-coral-dark);
}

.av-hero__visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
}

.av-hero__visual-card {
  width: 100%;
  min-height: 280px;
  background: linear-gradient(145deg, #ffffff 0%, #fff4ea 100%);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 28px;
  padding: 24px;
  box-shadow: var(--av-shadow);
}

.av-hero__visual-card img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 18px;
}

.av-hero__float {
  position: relative;
  right: auto;
  top: auto;
  background: linear-gradient(135deg, var(--av-mint), var(--av-teal));
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 10px 14px;
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(13, 148, 136, 0.25);
  white-space: nowrap;
}

/* Buttons */
.av-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none !important;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.av-btn-sm {
  padding: 10px 16px;
  font-size: 13px;
  border-radius: 12px;
  width: 100%;
}

.av-btn-primary {
  background: linear-gradient(135deg, var(--av-coral) 0%, var(--av-coral-dark) 100%);
  color: #fff !important;
  box-shadow: 0 12px 28px rgba(255, 107, 74, 0.28);
}

.av-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(255, 107, 74, 0.34);
  color: #fff !important;
}

.av-btn-outline {
  background: rgba(255, 255, 255, 0.9);
  color: var(--av-ink) !important;
  border: 1px solid var(--av-line);
}

.av-btn-outline:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(28, 25, 23, 0.08);
  color: var(--av-coral-dark) !important;
}

.av-btn-soft {
  background: rgba(255, 107, 74, 0.08);
  color: var(--av-coral-dark) !important;
}

.av-btn-soft:hover {
  background: rgba(255, 107, 74, 0.14);
  color: var(--av-coral-dark) !important;
}

.av-btn-shop {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  color: #fff !important;
}

.av-btn-shop:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(34, 197, 94, 0.28);
  color: #fff !important;
}

/* Trust bar */
.av-trust {
  padding: 0 0 36px;
}

.av-trust__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  width: 100%;
  max-width: 100%;
}

.av-trust__item {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--av-line);
  border-radius: 18px;
  padding: 18px 16px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  box-shadow: 0 8px 24px rgba(28, 25, 23, 0.04);
  min-width: 0;
}

.av-trust__item > div:last-child {
  flex: 1;
  min-width: 0;
}

.av-trust__icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
  font-size: 18px;
}

.av-trust__icon--coral { background: linear-gradient(135deg, var(--av-coral), var(--av-gold)); }
.av-trust__icon--mint { background: linear-gradient(135deg, var(--av-mint), var(--av-teal)); }
.av-trust__icon--gold { background: linear-gradient(135deg, #fbbf24, #f59e0b); }
.av-trust__icon--sky { background: linear-gradient(135deg, #38bdf8, #0ea5e9); }

.av-trust__item h4 {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 700;
  color: var(--av-ink);
  overflow-wrap: anywhere;
}

.av-trust__item p {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--av-muted);
  overflow-wrap: anywhere;
}

/* Sections */
.av-section {
  padding: 56px 0;
}

.av-section--alt {
  background: linear-gradient(180deg, rgba(255, 248, 240, 0.65) 0%, rgba(255, 255, 255, 0) 100%);
}

.av-section__head {
  width: 100%;
  max-width: none;
  margin: 0 0 36px;
  text-align: left;
}

.av-section__eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--av-teal);
  margin-bottom: 10px;
}

.av-section__head h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--av-ink);
  margin: 0 0 12px;
}

.av-section__head p {
  margin: 0;
  color: var(--av-muted);
  line-height: 1.75;
}

.av-section__head a {
  color: var(--av-coral-dark);
  font-weight: 600;
}

/* Product cards */
.av-product-card {
  height: 100%;
  background: #fff;
  border: 1px solid var(--av-line);
  border-radius: var(--av-radius);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(28, 25, 23, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}

.av-product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(255, 107, 74, 0.12);
}

.av-product-card__image {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
  padding: 18px;
  background: linear-gradient(180deg, #fffaf5 0%, #ffffff 100%);
}

.av-product-card__image img {
  max-height: 150px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.av-product-card__body {
  padding: 16px 16px 18px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  gap: 10px;
}

.av-product-card__title {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  font-weight: 600;
}

.av-product-card__title a {
  color: var(--av-ink);
  text-decoration: none;
}

.av-product-card__title a:hover {
  color: var(--av-coral-dark);
}

.av-product-card__price {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--av-coral-dark);
}

/* Popular products – mřížka 5×5 */
.av-popular-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px 20px;
}

.av-popular-grid__item {
  min-width: 0;
}

.av-product-extras .av-popular-grid,
.av-product-extras .av-popular-grid--product {
  gap: 24px 20px;
}

/* Legacy HP product rows (Bootstrap 4 – bez gutter-y) */
.av-home-page .row > [class*="col-"] {
  margin-bottom: 24px;
}

.av-popular-grid .av-product-card__title {
  font-size: 13px;
}

.av-popular-grid .av-product-card__image {
  min-height: 150px;
}

.av-popular-grid .av-product-card__image img {
  max-height: 130px;
}

@media (max-width: 1199px) {
  .av-popular-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 991px) {
  .av-popular-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px 16px;
  }
}

@media (max-width: 767px) {
  .av-popular-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .av-popular-grid__item {
    margin-bottom: 0;
  }
}

@media (max-width: 575px) {
  .av-popular-grid {
    gap: 16px;
  }

  .av-home-page .row > [class*="col-"] {
    margin-bottom: 20px;
  }
}

/* Category grid (kategorie produktů) */
.av-category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
}

.av-category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: #fff;
  border: 1px solid var(--av-line);
  border-radius: var(--av-radius);
  padding: 24px 20px;
  box-shadow: 0 10px 30px rgba(28, 25, 23, 0.05);
  text-decoration: none !important;
  color: var(--av-ink);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.av-category-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(255, 107, 74, 0.12);
  border-color: rgba(255, 107, 74, 0.25);
  color: var(--av-ink);
}

.av-category-card__image {
  width: 100%;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  background: linear-gradient(180deg, #fffaf5 0%, #ffffff 100%);
  border-radius: 14px;
  padding: 12px;
}

.av-category-card__image img {
  max-width: 100%;
  max-height: 130px;
  object-fit: contain;
}

.av-category-card__image--placeholder {
  color: var(--av-coral);
  font-size: 3rem;
}

.av-category-card__title {
  margin: 0 0 6px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--av-ink);
}

.av-category-card__count {
  font-size: 0.9rem;
  color: var(--av-muted);
}

.av-section__footer {
  text-align: center;
  margin-top: 36px;
}

/* Legacy product cards on HP */
.av-home-page .vproduct6,
.av-home-page .vflashcard {
  background: #fff;
  border: 1px solid var(--av-line);
  border-radius: var(--av-radius);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(28, 25, 23, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  height: 100%;
}

.av-home-page .vproduct6:hover,
.av-home-page .vflashcard:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(255, 107, 74, 0.12);
}

.av-home-page .vproduct6 .pro-thumb,
.av-home-page .vflashcard .pro-thumb {
  background: linear-gradient(180deg, #fffaf5 0%, #ffffff 100%);
  padding: 16px;
}

.av-home-page .vproduct6 .pro-info h3,
.av-home-page .vflashcard .pro-info h3,
.av-home-page .vproduct6 .pro-heading h3 {
  font-size: 14px;
  line-height: 1.45;
}

.av-home-page .vproduct6 .pro-price ins,
.av-home-page .vflashcard .pro-price ins {
  color: var(--av-coral-dark);
  font-weight: 800;
  font-size: 1.15rem;
  text-decoration: none;
}

.av-home-page .pro-heading-title,
.av-home-page .pro-heading-title-light {
  width: 100%;
  max-width: none;
  margin: 0 0 32px;
  text-align: left;
}

.av-home-page .pro-heading-title h2,
.av-home-page .pro-heading-title-light h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--av-ink);
  margin-bottom: 12px;
  white-space: normal;
  text-overflow: unset;
  overflow: visible;
}

.av-home-page .pro-heading-title p,
.av-home-page .pro-heading-title-light p {
  color: var(--av-muted);
  font-size: 1.125rem;
  line-height: 1.8;
  max-width: none;
  -webkit-line-clamp: unset;
  display: block;
  overflow: visible;
  text-overflow: unset;
  white-space: normal;
}

.av-home-page .pro-heading-title a {
  color: var(--av-coral-dark);
}

.av-home-page .pro-content.cardtopbottom,
.av-home-page .pro-content.cardtopbottom.av-section {
  padding: 56px 0;
}

.av-home-page .pro-content.cardtopbottom:nth-of-type(even) {
  background: linear-gradient(180deg, rgba(255, 248, 240, 0.65) 0%, rgba(255, 255, 255, 0) 100%);
}

/* Promo banners */
.av-home-page .collection-banner {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--av-shadow);
  border: 1px solid var(--av-line);
}

.av-home-page .collection-banner img {
  height: 220px !important;
  width: 100%;
  object-fit: cover;
}

.av-home-page .contain-banner {
  background: linear-gradient(180deg, transparent 0%, rgba(28, 25, 23, 0.72) 100%);
}

.av-home-page .contain-banner h2 a,
.av-home-page .contain-banner h4 {
  color: #fff !important;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

.av-home-page .contain-banner .btn-secondary {
  background: rgba(255, 255, 255, 0.95);
  color: var(--av-ink);
  border: none;
  border-radius: 12px;
  font-weight: 700;
  padding: 10px 18px;
}

.av-home-page .contain-banner .btn-secondary:hover {
  background: #fff;
  color: var(--av-coral-dark);
}

/* Brands */
.av-home-page .topbrands .row {
  --bs-gutter-x: 28px;
  --bs-gutter-y: 28px;
}

.av-home-page .topbrands .branddiv {
  background: #fff;
  border: 1px solid var(--av-line);
  border-radius: 18px;
  padding: 22px;
  margin-bottom: 0;
  box-shadow: 0 8px 24px rgba(28, 25, 23, 0.04);
  transition: transform 0.2s ease;
}

.av-home-page .topbrands .branddiv:hover {
  transform: translateY(-4px);
}

/* Article cards */
.av-articles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-bottom: 8px;
}

.av-article-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border: 1px solid var(--av-line);
  border-radius: var(--av-radius);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(28, 25, 23, 0.05);
  text-decoration: none !important;
  color: var(--av-ink);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.av-article-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 48px rgba(255, 107, 74, 0.14);
  border-color: rgba(255, 107, 74, 0.22);
  color: var(--av-ink);
}

.av-article-card__image {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(180deg, #fffaf5 0%, #ffffff 100%);
}

.av-article-card__image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(28, 25, 23, 0.08) 100%);
  opacity: 0;
  transition: opacity 0.28s ease;
}

.av-article-card:hover .av-article-card__image::after {
  opacity: 1;
}

.av-article-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.av-article-card:hover .av-article-card__image img {
  transform: scale(1.05);
}

.av-article-card__body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  gap: 12px;
  padding: 22px 22px 24px;
}

.av-article-card__date {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--av-accent-soft);
  color: var(--av-coral-dark);
  font-size: 0.82rem;
  font-weight: 600;
}

.av-article-card__date i {
  font-size: 0.78rem;
}

.av-article-card__title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.45;
  color: var(--av-ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.av-article-card__excerpt {
  margin: 0;
  flex-grow: 1;
  font-size: 0.94rem;
  line-height: 1.65;
  color: var(--av-muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.av-article-card__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--av-coral-dark);
  transition: gap 0.2s ease;
}

.av-article-card:hover .av-article-card__more {
  gap: 12px;
}

.av-article-card__more i {
  font-size: 0.78rem;
  transition: transform 0.2s ease;
}

.av-article-card:hover .av-article-card__more i {
  transform: translateX(3px);
}

/* Responsive */
@media (max-width: 1199px) {
  .av-articles-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

@media (max-width: 991px) {
  .av-hero__grid {
    grid-template-columns: 1fr;
  }

  .av-trust__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .av-hero {
    padding-top: 28px;
  }

  .av-hero__visual {
    order: -1;
  }

  .av-articles-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 767px) {
  .av-trust__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575px) {
  .av-trust__item {
    padding: 16px 14px;
  }

  .av-trust__item p {
    font-size: 1rem;
  }

  .av-hero__actions {
    flex-direction: column;
  }

  .av-hero__actions .av-btn {
    width: 100%;
  }

  .av-articles-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .av-article-card__body {
    padding: 18px 18px 20px;
  }
}
