/* Extracted from ai-tools.css for ai-clothes-changer page */

/* ===== Unified theme (scoped to ai-clothes-changer) ===== */
body.homepage4-body.ai-new {
  --avc-bg: #ffffff;
  --avc-surface: #ffffff;
  --avc-surface-2: #f8fafc;
  --avc-ink: #0f172a;
  --avc-ink-2: rgba(15, 23, 42, 0.86);
  --avc-muted: rgba(15, 23, 42, 0.70);
  --avc-border: rgba(15, 23, 42, 0.12);
  --avc-shadow: 0 18px 60px rgba(15, 23, 42, 0.10);
  --avc-accent-1: #4f46e5;
  --avc-accent-2: #7c3aed;
  --avc-accent-grad: linear-gradient(90deg, var(--avc-accent-1) 0%, var(--avc-accent-2) 100%);
  --avc-dark: #070817;
  --avc-dark-2: rgba(17, 24, 39, 0.92);
}

@media (min-width: 992px) {
  body.homepage4-body.ai-new {
    font-size: 18px;
  }
  body.homepage4-body.ai-new :where(p, li, a, span, label, small, strong, em, div) {
    font-size: inherit;
  }
}

body.homepage4-body.ai-new h2 {
  font-weight: 800;
  font-size: clamp(30px, 2.6vw, 46px);
  line-height: 1.25;
  text-align: center;
  margin: 0 0 24px 0;
}

body.homepage4-body.ai-new h2 + p {
  margin: 14px auto;
  max-width: 860px;
  text-align: center;
}

body.homepage4-body.ai-new .btn-groups {
  display: none;
}
body.homepage4-body.ai-new .btn-groups.show {
  display: inline-flex;
}

body.homepage4-body.ai-new a i.fa-pen-to-square {
  margin-right: 8px;
}

body.homepage4-body.ai-new .avc-cta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 64px;
  padding: 0 16px;
}

@media (max-width: 575.98px) {
  body.homepage4-body.ai-new .avc-cta-row {
    gap: 12px;
  }

  body.homepage4-body.ai-new .avc-cta-row > .avc-cta-generate,
  body.homepage4-body.ai-new .avc-cta-row .btn-groups.show {
    width: 100%;
  }

  body.homepage4-body.ai-new .avc-cta-row .btn-groups.show {
    display: flex;
  }

  body.homepage4-body.ai-new .avc-cta-row .btn-groups.show > .avc-cta-download {
    width: 100%;
  }
}

@media (max-width: 575.98px) {
  body.homepage4-body.ai-new .avc-cc-standout .btn-list {
    flex-direction: column;
    align-items: stretch;
  }
  body.homepage4-body.ai-new .avc-cc-standout .btn-list > .avc-cta-generate,
  body.homepage4-body.ai-new .avc-cc-standout .btn-list .btn-groups.show {
    width: 100%;
  }
  body.homepage4-body.ai-new .avc-cc-standout .btn-list .btn-groups.show {
    display: flex;
  }
  body.homepage4-body.ai-new .avc-cc-standout .btn-list .btn-groups.show > .avc-cta-download {
    width: 100%;
  }
}

body.homepage4-body.ai-new .avc-cta-generate,
body.homepage4-body.ai-new .avc-cta-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 18px;
  border-radius: 12px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, filter 0.18s ease, background-color 0.18s ease,
    color 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

body.homepage4-body.ai-new .avc-cta-generate {
  border: 0;
  color: #ffffff;
  background: var(--avc-accent-grad);
  box-shadow: 0 12px 28px rgba(79, 70, 229, 0.28);
}
body.homepage4-body.ai-new .avc-cta-generate:hover {
  filter: brightness(1.03);
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(79, 70, 229, 0.34);
}

body.homepage4-body.ai-new .avc-cta-download {
  border: 1px solid rgba(15, 23, 42, 0.28);
  color: rgba(255, 255, 255, 0.96);
  background: rgba(15, 23, 42, 0.92);
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.22);
}
body.homepage4-body.ai-new .avc-cta-download:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(17, 24, 39, 0.28);
}

body.homepage4-body.ai-new .avc-cta-download img {
  height: 24px;
  width: 24px;
  margin-right: 8px;
  border-radius: 0;
  flex: 0 0 auto;
}

@media (max-width: 991px) {
  body.homepage4-body.ai-new h2 {
    font-size: clamp(24px, 4vw, 38px);
    margin-bottom: 18px;
  }

  body.homepage4-body.ai-new h2 + p {
    margin-top: 12px;
  }
}

.avc-pp-hero {
  padding: 5.5rem 0 4.5rem;
}

.avc-pp-hero .avc-pp-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  line-height: 20px;
  font-size: 1.2rem;
  color: #000000;
  padding: 0.75rem 0;
}

.avc-pp-hero a {
  color: rgba(17, 24, 39, 0.9);
}
.avc-pp-hero a:hover {
  color: #111827;
  text-decoration: underline;
}
.avc-pp-hero .avc-pp-breadcrumb-sep {
  opacity: 0.6;
}

.avc-pp-hero .avc-pp-breadcrumb-current {
  color: rgba(17, 24, 39, 0.8);
}
.avc-pp-hero .avc-pp-hero-content{
  padding: 3.75rem 2rem 3.25rem;
}

.avc-pp-hero .avc-pp-hero-content h1 {
  font-size: 44px;
  line-height: 1.15;
  font-weight: 800;
  color: #111827;
  margin: 0 0 22px;
  text-align: center;
}

.avc-pp-hero .avc-pp-hero-content .avc-pp-hero-highlight {
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}

.avc-pp-hero .avc-pp-hero-content .avc-pp-hero-highlight::before {
  content: "";
  position: absolute;
  left: -1px;
  right: -2px;
  bottom: 1px;
  height: 11px;
  border-radius: 10px;
  background:
    radial-gradient(16px 7px at 8px 70%, rgba(255, 238, 120, 0.75) 92%, transparent 100%) 0 100% / 26px 11px repeat-x,
    linear-gradient(180deg, rgba(255, 247, 155, 0.65) 0%, rgba(255, 231, 86, 0.72) 100%);
  transform: rotate(0.8deg) translateY(-1px);
  opacity: 0.82;
}

.avc-pp-hero .avc-pp-hero-content .avc-pp-hero-highlight::after {
  content: "";
  position: absolute;
  left: -3px;
  right: -4px;
  bottom: -1px;
  height: 13px;
  border-radius: 10px;
  background:
    radial-gradient(20px 9px at 10px 75%, rgba(255, 235, 90, 0.98) 94%, transparent 100%) 0 100% / 30px 13px repeat-x,
    radial-gradient(16px 8px at 20px 20%, rgba(255, 244, 150, 0.65) 90%, transparent 100%) 0 0 / 34px 10px repeat-x,
    linear-gradient(180deg, rgba(255, 246, 130, 0.96) 0%, rgba(255, 226, 62, 0.98) 100%);
  transform: rotate(-0.9deg);
  filter: saturate(1.12) contrast(1.02);
  opacity: 0.99;
}

.avc-pp-hero .avc-pp-free {
  font-family: inherit;
  font-weight: 800;
  margin-right: 8px;
}

.avc-pp-hero .avc-pp-hero-des {
  font-size: 18px;
  line-height: 1.6;
  color: var(--avc-muted);
  max-width: 820px;
  margin-bottom: 48px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.avc-howto-dark {
  background: #f9f4ff;
  padding: 106px 0;
   position: relative;
  overflow: hidden
}

.avc-howto-dark__title {
  text-align: center;
  color: rgba(17, 24, 39, 0.92);
  font-weight: 800;
  line-height: 1.25;
  margin: 0 0 24px;
}

.avc-howto-dark__highlight {
  color: #ff8a3d;
}

.avc-howto-dark__card {
  border-radius: 14px;
  overflow: hidden;
}

.avc-howto-dark__media {
  position: relative;
  display: grid;
  place-items: center;
  margin-top: 50px;
 
}
.avc-howto-dark::before {
  content: "";
  position: absolute;
  top: -60%;
  left: -20%;
  width: 60%;
  height: 120%;
  background: radial-gradient(ellipse, rgba(167, 139, 250, 0.24) 0%, transparent 62%);
  pointer-events: none;
  z-index: 20;
}
.avc-cc-photopro-clients::after {
  content: "";
  position: absolute;
  bottom: -30%;
  right: -15%;
  width: 50%;
  height: 80%;
  background: radial-gradient(ellipse, rgba(196, 181, 253, 0.2) 0%, transparent 62%);
  pointer-events: none;
  z-index: 20;
}


.avc-howto-dark__img {
  width: min(340px, 92%);
  height: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
  border-radius: 12px;
  border: 1px solid rgba(17, 24, 39, 0.10);
  background: rgba(17, 24, 39, 0.04);
}

.avc-howto-dark__card-title {
  color: rgba(17, 24, 39, 0.92);
  font-weight: 800;
  font-size: 18px;
  margin: 2px 0 10px;
}

.avc-howto-dark__card p{
  color: rgba(17, 24, 39, 0.70);
  line-height: 1.6;
}

@media (max-width: 767px) {
  .avc-howto-dark {
    padding: 34px 0;
  }
}

.avc-cc-standout {
  width: 100%;
  position: relative;
  overflow: hidden;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  margin-top: 100px;
}

.avc-cc-standout .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.avc-cc-standout .head-new h2 {
  font-size: clamp(32px, 3.2vw, 44px);
  line-height: 1.2;
}

.avc-cc-standout .feature-list {
  width: 100%;
  padding-left: 0;
  list-style: none;
  margin: 0;
}

.avc-cc-standout .feature-item {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 28px;
  margin-bottom: 110px;
}

.avc-cc-standout .feature-item > img {
  border-radius: 16px;
  width: min(720px, 100%);
  height: auto;
}

.avc-cc-standout .feature-content {
  width: min(636px, 100%);
}

.avc-cc-standout .feature-item h3 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--avc-ink);
}

.avc-cc-standout .feature-item p {
  font-size: 18px;
  color: var(--avc-ink-2);
  line-height: 30px;
  margin-top: 20px;
}

.avc-cc-standout .btn-list {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 16px;
}

.avc-cc-standout .feature-item .btn-list img {
  height: 24px;
  width: 24px;
  border-radius: 0;
  margin-right: 8px;
}

.avc-cc-standout .btn-groups {
  align-items: center;
  gap: 12px;
}

.avc-cc-standout .btn-groups.show {
  display: inline-flex;
}

.avc-cc-standout .feature-item:nth-child(odd) {
  flex-direction: row-reverse;
}

.avc-cc-standout .feature-item:last-child {
  margin-bottom: 140px;
}

@media (max-width: 1200px) {
  .avc-cc-standout .feature-item {
    margin-bottom: 72px;
  }
}

@media (max-width: 991px) {
  .avc-cc-standout .feature-item,
  .avc-cc-standout .feature-item:nth-child(odd) {
    flex-direction: column;
    align-items: center;
  }
  .avc-cc-standout .feature-content {
    width: 100%;
  }

  .avc-cc-standout .btn-list {
    justify-content: center;
  }
}

@media (max-width: 767px) {
  .avc-cc-standout .feature-item p {
    font-size: 16px;
    line-height: 26px;
  }
  .avc-cc-standout .feature-item h3 {
    font-size: 22px;
  }
  .avc-cc-standout .feature-item:last-child {
    margin-bottom: 80px;
  }
}

.avc-cc-community {
  padding: 84px 0;
  background: rgb(246, 244, 255);
}

.avc-cc-community__row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 16px;
}

.avc-cc-community__card {
  width: 300px;
  flex: 0 0 auto;
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  cursor: default;
}

.avc-cc-community__card img {
  width: 100%;
  object-fit: cover;
  display: block;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
}

.avc-cc-community__card:hover img {
  transform: translateY(-1px);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.12);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.avc-cc-community__caption {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  bottom: 0;
  padding: 18px 12px 12px;
  color: rgba(255, 255, 255, 0.92);
  opacity: 0;
  transition: opacity 0.18s ease;
  pointer-events: none;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 6px;
  box-sizing: border-box;
  font-weight: 600;
  font-size: 20px;
  line-height: 1.35;
}

.avc-cc-community__caption::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.35) 35%, rgba(0, 0, 0, 0.72) 100%);
  z-index: 0;
}

.avc-cc-community__caption > * {
  position: relative;
  z-index: 1;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55);
}

.avc-cc-community__caption strong {
  font-weight: 800;
  margin-right: 6px;
  font-size: 18px;
  line-height: 1.2;
}

.avc-cc-community__caption span {
  display: -webkit-box;
  line-clamp: 5;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.avc-cc-community__card:hover .avc-cc-community__caption {
  opacity: 1;
}

.avc-cc-community__marquee-wrap {
  width: 100%;
  overflow-x: hidden;
}

.avc-cc-community__marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.avc-cc-community__track {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  animation: avc-cc-community-scroll 72s linear infinite;
  will-change: transform;
}

.avc-cc-community__marquee:hover .avc-cc-community__track {
  animation-play-state: paused;
}

.avc-cc-community__overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.avc-cc-community__overlay::before,
.avc-cc-community__overlay::after {
  background: linear-gradient(to right, #070817, rgba(255, 255, 255, 0));
  content: "";
  height: 100%;
  position: absolute;
  width: 56px;
  z-index: 2;
}

.avc-cc-community__overlay::before {
  left: 0;
  top: 0;
}

.avc-cc-community__overlay::after {
  right: 0;
  top: 0;
  transform: rotateZ(180deg);
}

@keyframes avc-cc-community-scroll {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .avc-cc-community__track { animation: none; transform: translateX(0); }
}

@media (max-width: 991px) {
  .avc-cc-community__card { width: 260px; }
  .avc-cc-community__card img { height: 340px; }
}

@media (max-width: 767px) {
  .avc-cc-community { padding: 44px 0; }
  .avc-cc-community__head p { font-size: 16px; }
  .avc-cc-community__card { width: 220px; }
  .avc-cc-community__card img { height: 300px; }
  .avc-cc-community__caption { font-size: 18px; }
  .avc-cc-community__caption strong { font-size: 16px; }
}

.avc-cc-photopro-clients {
  padding: 100px 0;
  position: relative;
  background: linear-gradient(180deg, #f9f5ff 0%, #f6f0ff 55%, #f3edff 100%);
  overflow: hidden;
}

.avc-cc-photopro-clients .container {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  color: #3f2a68;
  gap: 48px;
}

.avc-cc-photopro-clients .left {
  max-width: 460px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.avc-cc-photopro-clients .left h2 {
  font-size: clamp(32px, 3.2vw, 44px);
  font-weight: 800;
  line-height: 1.2;
  color: #2f1f53;
  text-align: left !important;
  margin: 0 0 12px !important;
  letter-spacing: -0.02em;
}
.avc-cc-photopro-clients .left p {
  margin: 0 !important;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.5;
  color: rgba(63, 42, 104, 0.82);
  text-align: left !important;
  margin-bottom: 20px;
}

.avc-cc-photopro-clients__meta {
  margin: 0;
  padding: 16px 16px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(139, 92, 246, 0.14);
  box-shadow: 0 14px 28px rgba(76, 29, 149, 0.08);
}
.avc-cc-photopro-clients__rating {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.avc-cc-photopro-clients__score {
  font-size: 32px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.03em;
  color: #2f1f53;
}
.avc-cc-photopro-clients__outof {
  font-size: 16px;
  font-weight: 600;
  color: rgba(63, 42, 104, 0.7);
}
.avc-cc-photopro-clients__stars {
  display: inline-flex;
  gap: 4px;
  margin-left: 4px;
  color: #fbbf24;
  filter: drop-shadow(0 6px 10px rgba(109, 40, 217, 0.14));
}
.avc-cc-photopro-clients__stars i {
  font-size: 16px;
}
.avc-cc-photopro-clients__trust {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.avc-cc-photopro-clients__trust-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(139, 92, 246, 0.08);
  border: 1px solid rgba(139, 92, 246, 0.14);
  color: rgba(47, 31, 83, 0.92);
  font-weight: 600;
  line-height: 1.2;
}
.avc-cc-photopro-clients__trust-item i {
  width: 26px;
  height: 26px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(109, 40, 217, 0.16);
  color: #4c1d95;
}
.avc-cc-photopro-clients .btn-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: center;
  margin-top: 6px;
  width: 100%;
}

.avc-cc-photopro-clients .avc-cta-download {
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
  border: none;
  color: #fff;
  box-shadow: 0 10px 28px rgba(79, 70, 229, 0.4);
}
.avc-cc-photopro-clients .avc-cta-download:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(79, 70, 229, 0.45);
}

.avc-cc-photopro-clients .right {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 20px;
  flex: 1;
  min-width: 0;
}

.avc-cc-photopro-clients .photo-card {
  position: relative;
  z-index: 0;
  width: 380px;
  max-width: 100%;
  padding: 24px;
  margin: 0;
  border: 1px solid rgba(139, 92, 246, 0.14);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(12px);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.avc-cc-photopro-clients .photo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(76, 29, 149, 0.14);
  border-color: rgba(124, 58, 237, 0.2);
}

.avc-cc-photopro-clients .photo-card:hover::before,
.avc-cc-photopro-clients .photo-card:focus-within::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  z-index: -1;
  border-radius: 17px;
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.6) 0%, rgba(236, 72, 153, 0.5) 100%);
  padding: 1px;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.9;
}

.avc-cc-photopro-clients .photo-card .star {
  display: flex;
  gap: 4px;
  margin-bottom: 12px;
}
.avc-cc-photopro-clients .photo-card .star img {
  height: 18px;
  width: 18px;
  display: block;
}
.avc-cc-photopro-clients .photo-card .title {
  font-size: 18px;
  font-weight: 700;
  color: #2f1f53;
  margin: 0 0 8px;
  letter-spacing: 0.01em;
}
.avc-cc-photopro-clients .photo-card .content {
  font-size: 15px;
  line-height: 1.65;
  color: rgba(63, 42, 104, 0.86);
  margin: 0;
}

@media (min-width: 992px) {
  .avc-cc-photopro-clients .right .photo-card:nth-child(3),
  .avc-cc-photopro-clients .right .photo-card:nth-child(4) {
    transform: translateX(-28px);
  }
  .avc-cc-photopro-clients .right .photo-card:nth-child(3):hover,
  .avc-cc-photopro-clients .right .photo-card:nth-child(4):hover {
    transform: translateX(-28px) translateY(-4px);
  }
}

@media (max-width: 991px) {
  .avc-cc-photopro-clients {
    padding: 64px 0;
  }
  .avc-cc-photopro-clients .container {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }
  .avc-cc-photopro-clients .left {
    max-width: 100%;
  }
  .avc-cc-photopro-clients .left p {
    margin-bottom: 24px;
  }
  .avc-cc-photopro-clients__meta {
    margin-bottom: 18px;
  }
  .avc-cc-photopro-clients__score {
    font-size: 30px;
  }
  .avc-cc-photopro-clients .right {
    width: 100%;
    justify-content: stretch;
  }
  .avc-cc-photopro-clients .photo-card {
    width: 100%;
    margin: 0;
  }
}

@media (min-width: 968px) and (max-width: 1408px) {
  .avc-cc-standout .feature-item,
  .avc-cc-standout .feature-item:nth-child(odd) {
    flex-direction: column;
    align-items: center;
    gap: 22px;
    margin-bottom: 84px;
  }
  .avc-cc-standout .feature-item > img,
  .avc-cc-standout .feature-content {
    width: 100%;
    max-width: 920px;
  }
  .avc-cc-standout .feature-content,
  .avc-cc-standout .feature-item h3,
  .avc-cc-standout .feature-item .content,
  .avc-cc-standout .feature-item p {
    text-align: left;
  }

  .avc-cc-photopro-clients .container {
    flex-direction: column;
    align-items: stretch;
    gap: 34px;
  }
  .avc-cc-photopro-clients .left {
    max-width: 100%;
  }
  .avc-cc-photopro-clients .right {
    width: 100%;
    justify-content: space-between;
    gap: 16px;
  }
  .avc-cc-photopro-clients .photo-card {
    width: calc(50% - 8px);
    min-width: 0;
  }
}

.avc-cc-photopro-faq {
  padding: 100px 0 80px;
  background: var(--avc-surface);
}

.avc-cc-photopro-faq .faq-item {
  padding: 24px;
  border-radius: 8px;
  border: 1px solid rgb(224, 224, 224);
  margin-bottom: 12px;
  cursor: pointer;
  background: #fff;
}

.avc-cc-photopro-faq .faq-item h3 {
  font-size: 20px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
  margin: 0;
}

.avc-cc-photopro-faq .faq-item h3 img { transition: transform 0.2s ease; }
.avc-cc-photopro-faq .faq-item .content { max-height: 0; overflow: hidden; transition: max-height 0.35s ease, padding-top 0.35s ease; padding-top: 0; }
.avc-cc-photopro-faq .faq-item .content p { margin-top: 15px; }
.avc-cc-photopro-faq .faq-item.active { background: rgba(246, 244, 255, 1); }
.avc-cc-photopro-faq .faq-item.active h3 { background: linear-gradient(90.06deg, #c275ff 0.05%, #2b64f8 99.95%); background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; margin-bottom: 8px; }
.avc-cc-photopro-faq .faq-item.active .content { max-height: 1200px; font-size: 18px; color: rgb(44, 44, 44); padding-top: 10px; }
.avc-cc-photopro-faq .faq-item.active h3 img { transform: rotateZ(180deg); }

.avc-cc-photopro-faq .btn-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

@media (max-width: 767px) {
  .avc-cc-photopro-faq { padding: 70px 0 60px; }
}

/* ===== Hero actions + AI Clothes Changer interactive hero ===== */
.avc-pp-hero .avc-pp-hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.avc-pp-hero .avc-pp-hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 18px;
  border-radius: 12px;
  background: linear-gradient(90deg, #4f46e5 0%, #7c3aed 100%);
  color: #fff;
  font-weight: 700;
}

.avc-pp-hero .avc-pp-hero-btn:hover {
  color: #fff !important;
  opacity: 0.95;
}

.avc-pp-hero .avc-cc-hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
  align-items: start;
  margin-top: 18px;
}

.avc-pp-hero .avc-cc-left {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-width: 0;
}

.avc-pp-hero .avc-cc-preview {
  background: #fff;
  border-radius: 14px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  box-shadow: 0 12px 30px rgba(17, 24, 39, 0.06);
  overflow: hidden;
}

.avc-pp-hero .avc-cc-preview-inner {
  display: grid;
  grid-template-columns: 1fr 10px 1fr;
  background: #fff;
}

.avc-pp-hero .avc-cc-preview-col {
  position: relative;
  min-height: 360px;
  background: #f3f4f6;
}

.avc-pp-hero .avc-cc-preview-divider {
  background: linear-gradient(to bottom, rgba(0,0,0,0.05), rgba(0,0,0,0.08), rgba(0,0,0,0.05));
}

.avc-pp-hero .avc-cc-preview-single {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  min-height: 0;
  background: #f3f4f6;
}

.avc-pp-hero .avc-cc-thumbs {
  display: flex;
  gap: 10px;
  padding: 12px 10px;
  justify-content: center;
  background: #fff;
  border-top: 1px solid rgba(17, 24, 39, 0.06);
  flex-wrap: wrap;
}

.avc-pp-hero .avc-cc-thumbs--outside {
  background: transparent;
  border-top: none;
  padding: 10px 0 0;
}

.avc-pp-hero .avc-cc-dot {
  border: none;
  background: transparent;
  padding: 6px 4px;
  cursor: pointer;
}

.avc-pp-hero .avc-cc-dot-inner {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.25);
  transition: width 0.18s ease, background 0.18s ease;
}

.avc-pp-hero .avc-cc-dot.is-active .avc-cc-dot-inner {
  width: 26px;
  background: rgba(17, 24, 39, 0.85);
}

.avc-pp-hero .avc-cc-preview-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.avc-pp-hero .avc-cc-preview-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 700;
  z-index: 2;
}

.avc-pp-hero .avc-cc-preview-tag--right {
  left: auto;
  right: 10px;
}

.avc-pp-hero .avc-cc-panel {
  background: #fff;
  border-radius: 14px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  box-shadow: 0 12px 30px rgba(17, 24, 39, 0.06);
  padding: 14px;
  min-width: 0;
}

.avc-pp-hero .avc-cc-panel-title {
  font-weight: 800;
  color: rgba(17, 24, 39, 0.85);
  font-size: 20px;
  line-height: 1.25;
  margin: 6px 0 16px;
}

.avc-pp-hero .avc-cc-templates {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  overflow: auto;
  padding-right: 6px;
  margin-bottom: 22px;
  min-width: 0;
}

.avc-pp-hero .avc-cc-template-btn {
  border: 1px solid rgba(17, 24, 39, 0.12);
  background: #fff;
  color: rgba(31, 37, 50, 0.75);
  border-radius: 10px;
  padding: 6px 10px;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  max-width: 100%;
  white-space: normal;
}

.avc-pp-hero .avc-cc-template-btn:hover {
  background: rgba(85, 46, 244, 0.06);
  border-color: rgba(85, 46, 244, 0.25);
  color: rgba(85, 46, 244, 1);
}

.avc-pp-hero .avc-cc-template-btn.is-active {
  background: rgba(85, 46, 244, 0.10);
  border-color: rgba(85, 46, 244, 0.35);
  color: rgba(85, 46, 244, 1);
}

.avc-pp-hero .avc-cc-field {
  margin-top: 40px;
}

.avc-pp-hero .avc-cc-label {
  display: block;
  font-weight: 800;
  color: rgba(17, 24, 39, 0.85);
  font-size: 16px;
  margin-bottom: 6px;
}

.avc-pp-hero .avc-cc-label[for="avcCcPrompt"] {
  font-size: 18px;
  line-height: 1.3;
  margin-bottom: 12px;
}

.avc-pp-hero .avc-cc-textarea#avcCcPrompt {
  text-decoration-line: underline;
  text-decoration-color: rgba(255, 230, 0, 0.95);
  text-decoration-thickness: 3px;
  text-underline-offset: 0.22em;
  text-decoration-skip-ink: none;
}

.avc-pp-hero .avc-cc-textarea#avcCcPrompt::placeholder {
  text-decoration-line: underline;
  text-decoration-color: rgba(255, 230, 0, 0.75);
  text-decoration-thickness: 3px;
  text-underline-offset: 0.22em;
  text-decoration-skip-ink: none;
}

.avc-pp-hero .avc-cc-select {
  width: 100%;
  height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(17, 24, 39, 0.12);
  padding: 0 10px;
  background: #fff;
}

.avc-pp-hero .avc-cc-textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(17, 24, 39, 0.12);
  padding: 10px 12px;
  resize: vertical;
  min-height: 110px;
}

.avc-pp-hero .avc-cc-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 12px;
}

.avc-pp-hero .avc-cc-btn {
  height: 42px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  border: none;
  text-decoration: none;
  cursor: pointer;
}

.avc-pp-hero .avc-cc-btn--ghost {
  background: transparent;
  border: 1px solid rgba(17, 24, 39, 0.25);
  color: rgba(17, 24, 39, 0.8);
}

.avc-pp-hero .avc-cc-btn--primary {
  background: linear-gradient(90deg, #4f46e5 0%, #7c3aed 100%);
  color: #ffffff;
}

.avc-pp-hero .avc-cc-btn--ghost:hover,
.avc-pp-hero .avc-cc-btn--primary:hover {
  filter: brightness(0.98);
}

.avc-pp-hero .avc-cc-btn--ghost:hover {
  background: rgba(79, 70, 229, 0.06);
  border-color: rgba(79, 70, 229, 0.35);
  color: rgba(79, 70, 229, 1);
}

.avc-pp-hero .avc-cc-btn--primary:hover {
  filter: brightness(0.98);
  color: #ffffff;
  text-decoration: none;
}

@media (max-width: 1200px) {
  .avc-pp-hero .avc-cc-hero-grid { grid-template-columns: 1fr; }
  .avc-pp-hero .avc-cc-preview-col { min-height: 260px; }
  .avc-pp-hero .avc-cc-preview-single { min-height: 280px; }
}

@media (min-width: 768px) and (max-width: 1200px) {
  .avc-pp-hero .avc-cc-panel { padding: 12px; }
  .avc-pp-hero .avc-cc-panel-title { font-size: 20px; line-height: 1.25; margin: 4px 0 12px; }
  .avc-pp-hero .avc-cc-templates { max-height: 132px; overflow: auto; margin-bottom: 14px; }
  .avc-pp-hero .avc-cc-field { margin-top: 18px; }
  .avc-pp-hero .avc-cc-label[for="avcCcPrompt"] { font-size: 18px; line-height: 1.3; margin-bottom: 10px; }
  .avc-pp-hero .avc-cc-textarea { min-height: 84px; }
  .avc-pp-hero .avc-cc-actions { gap: 8px; margin-top: 10px; }
  .avc-pp-hero .avc-cc-btn { height: 40px; }
}

@media (max-width: 767px) {
  .avc-pp-hero { padding: 20px 0 18px; }
  .avc-pp-hero .avc-pp-hero-content h1 { font-size: 30px; line-height: 1.2; }
  .avc-pp-hero .avc-pp-hero-des { font-size: 15px; }
}

.avc-generate-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
  pointer-events: none;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0.2s ease, opacity 0.2s ease;
}
.avc-generate-modal[hidden] {
  display: none;
}
.avc-generate-modal.avc-generate-modal--open {
  pointer-events: auto;
  visibility: visible;
  opacity: 1;
}
.avc-generate-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 8, 8, 0.65);
  cursor: pointer;
}
.avc-generate-modal__card {
  position: relative;
  width: 100%;
  max-width: 680px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 20px;
}
.avc-generate-modal__box {
  position: relative;
  width: 100%;
  overflow: visible;
  background: linear-gradient(145deg, #fef9c3 0%, #fce7f3 35%, #e0f2fe 70%, #a5f3fc 100%);
  border-radius: 28px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12), 0 12px 24px rgba(124, 58, 237, 0.08);
  padding: 0;
}
.avc-generate-modal__scroll {
  max-height: 85vh;
  overflow-y: auto;
  padding-bottom: 4px;
}
.avc-generate-modal__scroll h2{
 font-size: 28px !important;
}
.avc-generate-modal__decoration {
  position: absolute;
  top: -28px;
  left: 50%;
  transform: translateX(-50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f472b6 0%, #a78bfa 50%, #38bdf8 100%);
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  pointer-events: none;
}
.avc-generate-modal__decoration i {
  font-size: 26px;
  color: #fff;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
}
.avc-generate-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.08);
  color: #374151;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  transition: background 0.2s ease, color 0.2s ease;
}
.avc-generate-modal__close:hover {
  background: rgba(15, 23, 42, 0.12);
  color: #0f172a;
}
.avc-generate-modal__title {
  position: relative;
  font-size: 22px;
  font-weight: 800;
  color: #1e293b;
  margin: 0 0 16px;
  padding: 44px 24px 0 24px;
  line-height: 1.3;
  text-align: center;
}
.avc-generate-modal__body {
  position: relative;
  line-height: 1.65;
  color: #070707;
  margin-bottom: 24px;
  padding: 0 24px;
  text-align: left;
  margin: 20px;
}
.avc-generate-modal__body p {
  margin: 0 0 12px;
}
.avc-generate-modal__steps {
  list-style: none;
  counter-reset: avc-step;
  margin: 0;
  padding-left: 0;
}
.avc-generate-modal__steps li {
  position: relative;
  padding-left: 36px;
  margin-bottom: 12px;
  counter-increment: avc-step;
  min-height: 28px;
  display: flex;
  align-items: center;
}
.avc-generate-modal__steps li::before {
  content: counter(avc-step);
  position: absolute;
  left: 0;
  top: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #6d28d9;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 28px;
  text-align: center;
  flex-shrink: 0;
}
.avc-generate-modal__body strong {
  font-weight: 700;
  color: #6d28d9;
}
.avc-generate-modal__actions {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  padding: 0 24px 28px;
}
.avc-generate-modal__btn {
  padding: 12px 28px;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  border: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.avc-generate-modal__btn--primary {
  background: linear-gradient(135deg, #7c3aed 0%, #06b6d4 100%);
  color: #fff;
  box-shadow: 0 8px 20px rgba(124, 58, 237, 0.4);
}
.avc-generate-modal__btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(124, 58, 237, 0.45);
}
.avc-generate-modal__btn--cancel {
  background: transparent;
  color: #64748b;
  border: 1px solid rgba(100, 116, 139, 0.35);
}
.avc-generate-modal__btn--cancel:hover {
  background: rgba(15, 23, 42, 0.06);
  color: #334155;
}

