/* Ayushi Vikash Group — homepage layout */

.avg-kicker {
  margin: 0 0 10px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--avg-red, #D0122A);
}

.avg-kicker--light {
  color: #ffb3bc;
}

.avg-section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 28px;
}

.avg-section-title {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: clamp(1.55rem, 3.4vw, 2.15rem);
  letter-spacing: -0.03em;
  color: var(--avg-navy, #0B2545);
}

.avg-section-sub {
  margin: 10px 0 0;
  color: var(--avg-muted, #5B6B7C);
  font-size: 0.95rem;
  line-height: 1.55;
}

.avg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 8px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.avg-btn:hover {
  transform: translateY(-1px);
}

.avg-btn-red {
  background: #D0122A;
  color: #fff;
  box-shadow: 0 10px 24px rgba(208, 18, 42, 0.28);
}

.avg-btn-red:hover { background: #A50E21; color: #fff; }

.avg-btn-navy {
  background: #0B2545;
  color: #fff;
}

.avg-btn-navy:hover { background: #163A5F; color: #fff; }

.avg-btn-ghost {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
}

.avg-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

/* Hero */
.avg-hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #061628;
  color: #fff;
}

.avg-hero-media,
.avg-hero-swiper,
.avg-hero-swiper .swiper-wrapper,
.avg-hero-swiper .swiper-slide {
  position: absolute;
  inset: 0;
}

.avg-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.avg-hero-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(6, 22, 40, 0.92) 0%, rgba(11, 37, 69, 0.72) 48%, rgba(208, 18, 42, 0.38) 100%),
    linear-gradient(180deg, rgba(6, 22, 40, 0.2) 0%, rgba(6, 22, 40, 0.55) 100%);
}

.avg-hero-copy {
  position: relative;
  z-index: 2;
  padding: 48px 20px 40px;
  max-width: 760px;
  margin-left: 0;
  margin-right: auto;
}

.avg-hero-title {
  margin: 0 0 12px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: clamp(1.7rem, 4.6vw, 3.1rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: #fff;
}

.avg-hero-sub {
  margin: 0 0 22px;
  max-width: 34rem;
  font-size: clamp(0.92rem, 2vw, 1.08rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.86);
}

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

.avg-hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.avg-hero-pills li {
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.avg-brand-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 18px;
  background: #fff;
}

.avg-brand-line span {
  display: block;
  width: min(140px, 28vw);
  height: 2px;
}

.avg-brand-line span:first-child { background: #0B2545; }
.avg-brand-line span:last-child { background: #D0122A; }

.avg-brand-line i {
  font-style: normal;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 0.7rem;
  color: #D0122A;
  line-height: 1;
}

/* Categories */
.avg-cats {
  background: #fff;
}

.avg-cats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.avg-cat-card {
  display: grid;
  grid-template-rows: 170px auto;
  overflow: hidden;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(11, 37, 69, 0.08);
  box-shadow: 0 12px 28px rgba(11, 37, 69, 0.07);
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.avg-cat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(11, 37, 69, 0.14);
}

.avg-cat-img {
  background: #eef2f6;
  overflow: hidden;
}

.avg-cat-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.avg-cat-body {
  padding: 16px 18px 18px;
}

.avg-cat-body h3 {
  margin: 0 0 4px;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  color: #0B2545;
}

.avg-cat-body p {
  margin: 0 0 10px;
  font-size: 0.8rem;
  color: #5B6B7C;
}

.avg-cat-body span {
  font-size: 0.8rem;
  font-weight: 700;
  color: #D0122A;
}

/* Featured stock */
.avg-stock {
  background: #F5F7FA;
  padding: 8px 0 28px;
}

.avg-stock-head {
  margin-bottom: 16px;
}

.avg-stock-head .avg-kicker {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 8px;
}

.avg-stock-head .avg-kicker::before,
.avg-stock-head .avg-kicker::after {
  content: '';
  width: 28px;
  height: 1px;
  background: #D0122A;
}

.avg-stock-head .avg-section-title::after {
  display: none;
}

.avg-stock-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.avg-stock-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(11, 37, 69, 0.06);
  box-shadow: 0 6px 16px rgba(11, 37, 69, 0.06);
  text-decoration: none;
  color: inherit;
  -webkit-tap-highlight-color: transparent;
}

.avg-stock-card:active {
  transform: scale(0.98);
}

.avg-stock-img {
  position: relative;
  aspect-ratio: 1;
  background: #eef2f6;
}

.avg-stock-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.avg-stock-tag {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  margin: 0;
  padding: 3px 7px;
  border-radius: 6px;
  background: #D0122A;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.55rem;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.avg-stock-card:nth-child(3n) .avg-stock-tag {
  background: #0B2545;
}

.avg-stock-ico {
  display: none;
}

.avg-stock-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 10px 12px;
  min-width: 0;
}

.avg-stock-body em {
  display: none;
}

.avg-stock-body h3 {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.25;
  color: #0B2545;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.avg-stock-body p,
.avg-stock-chips {
  display: none;
}

.avg-stock-cta,
.avg-stock-body strong {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 4px;
  margin-top: 4px;
  padding: 5px 8px;
  border-radius: 8px;
  background: #fff4f5;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  color: #D0122A;
}

.avg-stock-cta::after,
.avg-stock-body strong::after {
  content: '→';
  font-size: 0.7rem;
}

.avg-stock-more {
  display: flex;
  justify-content: center;
  margin-top: 16px;
}

.avg-stock-more .avg-btn {
  width: 100%;
  max-width: 100%;
  min-height: 44px;
  border-radius: 12px;
}

@media (min-width: 700px) {
  .avg-hero { min-height: 500px; }
  .avg-hero-copy { padding: 72px 24px 56px; }
  .avg-cats-grid { grid-template-columns: repeat(2, 1fr); }
  .avg-stock-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .avg-cat-card { grid-template-rows: 190px auto; }

  .avg-stock-img {
    aspect-ratio: 16 / 10;
  }

  .avg-stock-body {
    padding: 18px 16px 16px;
    gap: 6px;
  }

  .avg-stock-body h3 {
    font-size: 1.02rem;
  }

  .avg-stock-body p {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
    font-size: 0.78rem;
    color: #5B6B7C;
  }

  .avg-stock-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 4px 0 2px;
    padding: 0;
    list-style: none;
  }

  .avg-stock-chips li {
    padding: 4px 8px;
    border-radius: 999px;
    background: #f3f6fa;
    font-size: 0.62rem;
    font-weight: 600;
    color: #5B6B7C;
  }

  .avg-stock-cta,
  .avg-stock-body strong {
    padding: 0;
    background: transparent;
    font-size: 0.78rem;
  }

  .avg-stock-card:nth-child(even) .avg-stock-ico {
    background: #D0122A;
  }

  .avg-stock-ico svg {
    width: 16px;
    height: 16px;
  }

  .avg-stock-body {
    position: relative;
    z-index: 1;
    padding-top: 12px;
  }

  .avg-stock-card {
    overflow: visible !important;
    border-bottom: 2px solid #0B2545;
    border-radius: 18px;
  }

  .avg-stock-img {
    overflow: hidden;
    border-radius: 18px 18px 0 0;
  }

  .avg-stock-img img {
    border-radius: 18px 18px 0 0;
  }

  .avg-stock-ico {
    position: relative;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    margin: -17px 0 -6px 14px;
    border-radius: 50%;
    background: #0B2545;
    color: #fff;
    border: 2px solid #fff;
    box-shadow: 0 2px 8px rgba(11, 37, 69, 0.16);
  }

  .avg-stock-card:nth-child(even) {
    border-bottom-color: #D0122A;
  }

  .avg-stock-more .avg-btn {
    width: auto;
    min-width: 220px;
  }
}

@media (min-width: 1100px) {
  .avg-hero { min-height: 560px; }
  .avg-cats-grid { grid-template-columns: repeat(4, 1fr); }
  .avg-stock-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 575.98px) {
  .avg-hero { min-height: 460px; align-items: flex-end; }
  .avg-hero-copy { padding: 36px 16px 28px; }
  .avg-hero-actions { width: 100%; }
  .avg-hero-actions .avg-btn { flex: 1; }
}

/* ========== Homepage: product circles, hubs, type, gallery ========== */

.page-home,
.page-gallery {
  font-family: 'Plus Jakarta Sans', 'Montserrat', sans-serif;
  color: #163A5F;
}

.page-home h1,
.page-home h2,
.page-home h3,
.page-gallery h1,
.page-gallery h2,
.page-home .avg-section-title,
.page-gallery .avg-section-title,
.page-home .gt-faq-main-title,
.page-home .gt-faq-card-title,
.page-home .home-contact-main-title,
.page-home .home-promise-title,
.page-home .home-promise-title-line,
.page-home .comfort-corner-title {
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 800 !important;
  letter-spacing: -0.03em !important;
  color: #0B2545 !important;
}

.page-home .gt-faq-eyebrow,
.page-home .avg-kicker,
.page-gallery .avg-kicker {
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 700 !important;
}

.page-home .gt-faq-sub,
.page-home .gt-faq-answer,
.page-home .home-contact-intro,
.page-home .comfort-corner-sub,
.page-home .avg-section-sub,
.page-gallery .avg-section-sub {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-weight: 500 !important;
}

.page-home .mobile-nav-tabs {
  display: none !important;
}

.page-home .avg-product-circles,
.page-home .avg-product-circles.category-circles-bar {
  position: relative;
  background-color: #F5F7FA !important;
  background-image:
    radial-gradient(ellipse 160px 70px at 100% -8%, rgba(11, 37, 69, 0.16), transparent 72%),
    radial-gradient(ellipse 140px 64px at 0% 112%, rgba(208, 18, 42, 0.14), transparent 72%);
  border-bottom: none;
  padding: 8px 10px 10px;
  margin: 0;
  overflow: visible;
}

.page-home .avg-product-circles::before {
  display: none;
}

body.header-fixed.page-home .avg-product-circles.category-circles-bar {
  background-color: #F5F7FA !important;
  box-shadow: none;
}

.page-home .avg-product-circles .category-circles-shell {
  position: relative;
  z-index: 1;
  max-width: none;
  margin: 0;
  padding: 14px 10px 12px !important;
  overflow: visible;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 10px 28px rgba(11, 37, 69, 0.08);
}

.page-home .avg-product-circles .category-swiper {
  overflow: hidden;
  padding: 8px 2px 16px !important;
}

.page-home .avg-product-circles .swiper-slide {
  overflow: visible !important;
  height: auto;
}

.avg-prod-circle {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 100%;
  text-decoration: none;
  color: inherit;
  -webkit-tap-highlight-color: transparent;
}

.avg-product-circles .swiper-slide {
  animation: avg-prod-in 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.avg-product-circles .swiper-slide:nth-child(1) { animation-delay: 0.04s; }
.avg-product-circles .swiper-slide:nth-child(2) { animation-delay: 0.09s; }
.avg-product-circles .swiper-slide:nth-child(3) { animation-delay: 0.14s; }
.avg-product-circles .swiper-slide:nth-child(4) { animation-delay: 0.19s; }
.avg-product-circles .swiper-slide:nth-child(5) { animation-delay: 0.24s; }
.avg-product-circles .swiper-slide:nth-child(6) { animation-delay: 0.29s; }
.avg-product-circles .swiper-slide:nth-child(7) { animation-delay: 0.34s; }
.avg-product-circles .swiper-slide:nth-child(8) { animation-delay: 0.39s; }
.avg-product-circles .swiper-slide:nth-child(9) { animation-delay: 0.44s; }
.avg-product-circles .swiper-slide:nth-child(10) { animation-delay: 0.49s; }
.avg-product-circles .swiper-slide:nth-child(11) { animation-delay: 0.54s; }

@keyframes avg-prod-in {
  from { opacity: 0; transform: translateY(12px) scale(0.88); }
  to { opacity: 1; transform: none; }
}

.avg-prod-photo {
  position: relative;
  display: block;
  width: 64px;
  height: 64px;
  margin: 0 0 8px;
  padding: 1px;
  border-radius: 50%;
  background: #D0122A;
  box-shadow: 0 0 0 1px #0B2545, 0 4px 10px rgba(11, 37, 69, 0.1);
  transition: transform 0.25s ease;
}

.avg-prod-badge {
  position: absolute;
  left: 50%;
  bottom: -7px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  color: #D0122A;
  box-shadow: 0 2px 8px rgba(11, 37, 69, 0.16);
  transform: translateX(-50%);
}

.avg-prod-badge svg {
  width: 12px;
  height: 12px;
}

@media (prefers-reduced-motion: reduce) {
  .avg-product-circles .swiper-slide,
  .avg-prod-photo {
    animation: none !important;
  }
}

.avg-prod-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid #fff;
  background: #eef2f6;
}

.avg-prod-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #0B2545;
  line-height: 1.15;
  text-align: center;
  max-width: 76px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.avg-prod-dash {
  display: none;
}

.avg-prod-circle:hover .avg-prod-photo {
  transform: scale(1.06);
}

.avg-prod-circle:active .avg-prod-photo {
  transform: scale(0.96);
}

.page-home .avg-product-circles .cat-nav-btn {
  display: none;
  top: 38%;
  width: 40px;
  height: 40px;
  background: #fff !important;
  color: #D0122A !important;
  border: none !important;
  box-shadow: 0 8px 20px rgba(11, 37, 69, 0.16) !important;
}

.page-home .avg-product-circles .cat-nav-prev { left: 8px; }
.page-home .avg-product-circles .cat-nav-next { right: 8px; }

.page-home .avg-product-circles .cat-nav-btn:hover:not(:disabled):not(.is-disabled) {
  background: #fff !important;
  color: #0B2545 !important;
  transform: translateY(-50%) scale(1.06);
}

.page-home .avg-product-circles .cat-nav-btn:disabled,
.page-home .avg-product-circles .cat-nav-btn.is-disabled {
  opacity: 1;
  pointer-events: auto;
  cursor: pointer;
}

.page-home .avg-hero-plain,
.page-home .hero-image-only.avg-hero-plain {
  margin: 0 !important;
  padding: 0;
  background: #061628;
  line-height: 0;
  border-radius: 0 !important;
  overflow: hidden;
}

.page-home .avg-hero-plain .swiper-slide,
.page-home .avg-hero-plain.hero-image-only .swiper-slide {
  min-height: 0 !important;
  max-height: none !important;
  height: auto !important;
}

.page-home .avg-hero-plain .hero-slide-link,
.page-home .avg-hero-plain picture,
.page-home .avg-hero-plain img {
  width: 100%;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  object-fit: contain !important;
  display: block;
}

.page-home .avg-hero-plain .swiper-pagination {
  bottom: 12px !important;
}

.page-home .avg-hero-plain .swiper-pagination-bullet {
  width: 7px;
  height: 7px;
  background: rgba(255, 255, 255, 0.55);
  opacity: 1;
}

.page-home .avg-hero-plain .swiper-pagination-bullet-active {
  background: #D0122A;
  width: 18px;
  border-radius: 999px;
}

.avg-hubs {
  width: 100%;
  padding: 12px 10px 10px;
  background: #F5F7FA;
  border-top: 1px solid #e8eef4;
  border-bottom: 1px solid #e8eef4;
}

.avg-hubs-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
  max-width: none;
}

.avg-app-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  min-height: 0;
  width: 100%;
  padding: 12px 6px 14px;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(11, 37, 69, 0.1);
  text-decoration: none;
  color: #111;
  box-shadow: 0 8px 20px rgba(11, 37, 69, 0.06);
  -webkit-tap-highlight-color: transparent;
}

.avg-app-card--sand {
  background: linear-gradient(135deg, #fff6ee 0%, #ffe3d0 100%);
  --avg-card-accent: #D0122A;
  --avg-card-badge-bg: #ffd7bf;
  --avg-card-badge: #9a3412;
}

.avg-app-card--navy {
  background: linear-gradient(135deg, #eef4fb 0%, #d7e6f6 100%);
  --avg-card-accent: #0B2545;
  --avg-card-badge-bg: #d4e3f4;
  --avg-card-badge: #0B2545;
}

.avg-app-card--teal {
  background: linear-gradient(135deg, #eefaf6 0%, #d4efe6 100%);
  --avg-card-accent: #0f766e;
  --avg-card-badge-bg: #cde8e1;
  --avg-card-badge: #115e59;
}

.avg-app-card-arc {
  position: absolute;
  right: -18px;
  top: 50%;
  width: 168px;
  height: 168px;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.avg-app-card-dots {
  position: absolute;
  right: 14px;
  bottom: 12px;
  width: 30px;
  height: 22px;
  background-image: radial-gradient(circle, var(--avg-card-accent) 1.15px, transparent 1.35px);
  background-size: 7px 7px;
  opacity: 0.28;
  pointer-events: none;
}

.avg-app-card-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  min-width: 0;
  order: 2;
  padding-right: 0;
  text-align: center;
}

.avg-app-card-copy em {
  display: none;
}

.avg-app-card-copy strong {
  display: block;
  margin: 8px 0 0;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #0B2545;
}

.avg-app-card-copy strong::after {
  display: none;
}

.avg-app-card-copy small {
  display: none;
}

.avg-app-card-btn {
  display: none;
}

.avg-app-card-photo {
  position: relative;
  right: auto;
  top: auto;
  z-index: 2;
  order: 1;
  width: 68px;
  height: 68px;
  margin: 0 auto;
  padding: 3px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 8px 16px rgba(11, 37, 69, 0.12);
  transform: none;
  align-self: center;
}

.avg-app-card-arc,
.avg-app-card-dots {
  display: none;
}

.avg-app-card-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  background: #fff;
}

.avg-app-card:active {
  transform: scale(0.985);
}

.avg-gallery {
  padding: 28px 0 48px;
  background: #F5F7FA;
}

.avg-gallery-head {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 22px;
}

.avg-gallery-hubs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}

.avg-gallery-hub {
  position: relative;
  display: block;
  height: 110px;
  overflow: hidden;
  border-radius: 14px;
  color: #fff;
  text-decoration: none;
}

.avg-gallery-hub img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.avg-gallery-hub span {
  position: absolute;
  left: 10px;
  bottom: 10px;
  z-index: 1;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 0.82rem;
  text-shadow: 0 1px 8px rgba(0,0,0,.45);
}

.avg-gallery-hub::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(6,22,40,.72) 100%);
}

.avg-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.avg-gallery-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 16px;
  background: #fff;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 8px 20px rgba(11, 37, 69, 0.08);
}

.avg-gallery-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  background: #eef2f6;
}

.avg-gallery-card span {
  padding: 10px 12px 12px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  color: #0B2545;
  line-height: 1.25;
}

.mobile-cat-thumb--icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0B2545;
  background: #eef2f6;
}

@media (max-width: 991.98px) {
  .page-home {
    background: #F5F7FA;
  }

  .page-home .avg-product-circles,
  .page-home .avg-product-circles.category-circles-bar {
    padding: 4px 0 6px !important;
  }

  .page-home .avg-product-circles .category-circles-shell {
    padding: 8px 0 6px !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: #fff;
  }

  .page-home .avg-product-circles .cat-nav-btn {
    display: none !important;
  }

  .page-home .avg-hero-plain {
    border-radius: 0 !important;
    overflow: hidden;
  }

  .avg-hubs {
    padding: 10px 10px 8px;
  }

  .page-home .avg-features {
    padding-top: 8px;
  }

  .page-home .avg-features .gt-features-panel {
    border-radius: 18px;
    margin: 0 4px;
  }

  .page-home .avg-stock-card,
  .page-home .avg-stock .avg-stock-card {
    border-radius: 16px;
  }

  .page-home .avg-stock .container {
    padding-left: 10px;
    padding-right: 10px;
  }

  .page-home .avg-stock-head {
    margin-bottom: 12px;
  }

  .page-home .avg-stock-head .avg-section-title {
    font-size: 1.35rem !important;
  }

  .page-home .avg-stock-head .avg-section-sub {
    font-size: 0.78rem;
    padding: 0 8px;
  }

  .page-home .gt-feature-text {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: 0.78rem;
    font-weight: 600;
  }
}

@media (max-width: 480px) {
  .avg-hubs {
    padding: 10px 8px 8px;
  }

  .avg-hubs-grid {
    gap: 6px;
  }

  .avg-app-card {
    padding: 10px 4px 12px;
    border-radius: 16px;
  }

  .avg-app-card-photo {
    width: 56px;
    height: 56px;
  }

  .avg-app-card-copy strong {
    font-size: 0.62rem;
  }
}

@media (min-width: 700px) {
  .avg-hubs {
    padding: 16px 14px 10px;
  }

  .avg-hubs-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }

  .avg-app-card {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    min-height: 170px;
    padding: 18px 16px 16px 20px;
    border-radius: 24px;
  }

  .avg-app-card-copy {
    flex: 1;
    order: 0;
    align-items: flex-start;
    padding-right: 130px;
    text-align: left;
  }

  .avg-app-card-copy em {
    display: inline-flex;
    margin: 0 0 6px;
    padding: 3px 8px;
    border-radius: 999px;
    background: var(--avg-card-badge-bg);
    color: var(--avg-card-badge);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.52rem;
    font-style: normal;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }

  .avg-app-card-copy strong {
    font-size: 1.15rem;
    margin: 0 0 4px;
  }

  .avg-app-card-copy strong::after {
    display: none;
  }

  .avg-app-card-copy small {
    display: block;
    margin: 0;
    max-width: 14rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    line-height: 1.35;
    color: #6b7280;
  }

  .avg-app-card-photo {
    position: absolute;
    right: 12px;
    top: 50%;
    order: 0;
    width: 118px;
    height: 118px;
    margin: 0;
    transform: translateY(-50%);
  }

  .avg-app-card-btn {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    margin-top: 10px;
    padding: 0 14px;
    border-radius: 10px;
    background: var(--avg-card-accent);
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    box-shadow: 0 6px 12px rgba(11, 37, 69, 0.14);
  }

  .avg-app-card-arc,
  .avg-app-card-dots {
    display: block;
  }

  .avg-app-card-arc {
    width: 170px;
    height: 170px;
    right: -8px;
  }

  .avg-prod-photo {
    width: 76px;
    height: 76px;
  }

  .avg-prod-name {
    font-size: 0.7rem;
    max-width: 84px;
  }

  .avg-gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .avg-gallery-card img {
    height: 180px;
  }

  .avg-gallery-hub {
    height: 160px;
  }
}

@media (min-width: 992px) {
  .page-home .avg-product-circles .category-circles-shell {
    padding: 16px 48px 14px !important;
    border-radius: 22px;
    box-shadow: 0 10px 28px rgba(11, 37, 69, 0.08);
  }

  .page-home .avg-product-circles .cat-nav-btn {
    display: flex !important;
  }

  .avg-prod-photo {
    width: 78px;
    height: 78px;
  }

  .avg-prod-badge {
    width: 26px;
    height: 26px;
    bottom: -8px;
  }

  .avg-prod-badge svg {
    width: 14px;
    height: 14px;
  }
}

@media (min-width: 1100px) {
  .avg-hubs {
    padding: 18px 16px 10px;
    max-width: none;
    margin: 0;
  }

  .avg-hubs-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    width: 100%;
    max-width: none;
    margin: 0;
  }

  .avg-app-card:last-child {
    grid-column: auto;
  }

  .avg-app-card-copy strong {
    font-size: 1.35rem;
  }

  .avg-app-card-photo {
    width: 136px;
    height: 136px;
  }

  .avg-gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Trust / USP strip — app-like 2×2 on mobile, 4 cards on desktop */
.page-home .avg-features {
  padding: 6px 10px 12px;
  background: #F5F7FA !important;
}

.page-home .avg-features .gt-features-panel {
  max-width: none !important;
  width: 100%;
  margin: 0 !important;
  padding: 0;
  overflow: hidden;
  background: #fff !important;
  border: none !important;
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(11, 37, 69, 0.07) !important;
}

.page-home .avg-features .gt-features-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 !important;
  max-width: none !important;
  margin: 0;
  padding: 0 !important;
  overflow: visible !important;
}

.page-home .avg-features .gt-feature-item {
  display: flex;
  flex: none !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 0;
  min-height: 108px;
  padding: 16px 10px 14px;
  text-align: center;
  background: transparent;
  border: none !important;
  border-radius: 0;
  box-shadow: none !important;
  scroll-snap-align: unset;
  -webkit-tap-highlight-color: transparent;
}

.page-home .avg-features .gt-feature-item:nth-child(odd) {
  border-right: 1px solid #eef2f6 !important;
}

.page-home .avg-features .gt-feature-item:nth-child(-n+2) {
  border-bottom: 1px solid #eef2f6 !important;
}

.page-home .avg-features .gt-feature-item:active {
  background: #f8fafc;
}

.page-home .avg-features .gt-feature-icon {
  width: 38px !important;
  height: 38px !important;
  background: #fff !important;
  border: 1px solid #D0122A !important;
  box-shadow: none !important;
  color: #D0122A;
}

.page-home .avg-features .gt-feature-icon svg {
  width: 18px !important;
  height: 18px !important;
}

.page-home .avg-features .gt-feature-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  min-width: 0;
  width: 100%;
}

.page-home .avg-features .gt-feature-text {
  font-family: 'Montserrat', sans-serif !important;
  font-size: 0.7rem !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  letter-spacing: -0.02em;
  color: #0B2545 !important;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: unset !important;
}

.page-home .avg-features .gt-feature-sub {
  display: none;
}

@media (min-width: 768px) {
  .page-home .avg-features {
    padding: 8px 14px 14px;
  }

  .page-home .avg-features .gt-features-panel {
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0;
    overflow: visible;
  }

  .page-home .avg-features .gt-features-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px !important;
  }

  .page-home .avg-features .gt-feature-item,
  .page-home .avg-features .gt-feature-item:nth-child(odd),
  .page-home .avg-features .gt-feature-item:nth-child(-n+2) {
    min-height: 148px;
    padding: 22px 14px 18px;
    background: #fff;
    border: 1px solid #eef2f6 !important;
    border-radius: 18px;
    box-shadow: 0 8px 20px rgba(11, 37, 69, 0.06) !important;
  }

  .page-home .avg-features .gt-feature-item:active {
    background: #fff;
  }

  .page-home .avg-features .gt-feature-icon {
    width: 46px !important;
    height: 46px !important;
  }

  .page-home .avg-features .gt-feature-icon svg {
    width: 22px !important;
    height: 22px !important;
  }

  .page-home .avg-features .gt-feature-text {
    font-size: 0.82rem !important;
  }

  .page-home .avg-features .gt-feature-sub {
    display: block;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.72rem;
    font-weight: 500;
    line-height: 1.3;
    color: #6b7280;
  }
}

.avg-home-ctas {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  padding: 4px 12px 18px;
  max-width: 920px;
  margin: 0 auto;
}

.avg-home-cta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 78px;
  padding: 12px 10px;
  border-radius: 14px;
  text-decoration: none;
  color: #fff;
  overflow: hidden;
  position: relative;
  border: 0;
  width: 100%;
  text-align: left;
  cursor: pointer;
  font: inherit;
}

.avg-home-cta strong {
  font-family: Montserrat, sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
}

.avg-home-cta span {
  font-size: 0.68rem;
  opacity: 0.9;
  margin-top: 2px;
}

.avg-home-cta--store {
  background: #0B2545;
}

.avg-home-cta--project {
  background: #D0122A;
}

.avg-home-cta--bulk {
  background: #163A5F;
}

.avg-home-cta strong,
.avg-home-cta span {
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  .avg-home-ctas {
    padding-left: 0;
    padding-right: 0;
    gap: 14px;
  }

  .avg-home-cta {
    min-height: 96px;
    padding: 18px 20px;
  }

  .avg-home-cta strong {
    font-size: 1.05rem;
  }

  .avg-home-cta span {
    font-size: 0.78rem;
  }
}

@media (max-width: 991.98px) {
  .page-home .avg-stock-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10px;
    align-items: stretch;
  }

  .page-home .avg-stock-card {
    height: 100%;
    display: flex !important;
    flex-direction: column;
    overflow: hidden !important;
  }

  .page-home .avg-stock-img {
    position: relative;
    aspect-ratio: 1 / 1 !important;
    width: 100%;
    overflow: hidden;
    flex: 0 0 auto;
  }

  .page-home .avg-stock-img img {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center;
  }

  .page-home .avg-stock-body {
    flex: 1 1 auto;
    min-height: 76px;
  }

  .page-home .avg-stock-body h3 {
    min-height: 2.5em;
  }
}
