/* ac-ecommerce-page */
/* Escort platform feature sections are white; retain each card's own surface. */
body:has(.ac-escort-editorial-hero) #product-features {
    background: #fff !important;
}

/* Restored specialist add-ons share the approved first-fold/Marketing card
 * dimensions (adult-web-design-services-first.css), not the legacy taller
 * catalogue-card override. Only approved specialist parents opt in. */
.ac-specialist .ac-agency-addons {
    --ac-addon-width: min(86vw, 335px);
    --ac-addon-copy: 182px;
}
.ac-specialist .ac-agency-addons .swiper.store-offer .swiper-slide.explore-product {
    width: var(--ac-addon-width) !important;
    height: auto !important;
}
.ac-specialist .ac-agency-addons .ac-product-card {
    display: grid !important;
    grid-template-rows: var(--ac-addon-copy) minmax(0, 1fr);
    height: calc(var(--ac-addon-copy) + var(--ac-addon-width) * 17 / 19) !important;
    min-height: 0 !important;
}
.ac-specialist .ac-agency-addons .ac-product-card__image {
    display: block;
    width: 100%;
    height: 100% !important;
    min-height: 0;
    aspect-ratio: auto;
    padding: 0 !important;
}
.ac-specialist .ac-agency-addons .ac-product-card__image img {
    display: block;
    width: 100%;
    height: 100% !important;
    object-fit: cover !important;
    object-position: top center;
}
@media (min-width: 768px) {
    .ac-specialist .ac-agency-addons {
        --ac-addon-width: 380px;
        --ac-addon-copy: 186px;
    }
}
/* Ecommerce only: AC's existing type, monochrome surfaces and blue CTAs. */
.ac-ecommerce {
    --ec-ink: #1d1d1f;
    --ec-muted: #55565c;
    --ec-surface: #f5f5f7;
    --ec-line: #dedee3;
    --ec-blue: #0071e3;
    background: #fff;
    color: var(--ec-ink);
}
.ac-ecommerce .ec-section { padding-block: clamp(64px, 7vw, 108px); }
.ac-ecommerce .ec-tint { background: var(--ec-surface); }
.ac-ecommerce .ec-wrap { max-width: 1200px; }
.ac-ecommerce h1, .ac-ecommerce h2, .ac-ecommerce h3 { color: var(--ec-ink); font-weight: 600; letter-spacing: -.035em; }
.ac-ecommerce h1 { font-size: clamp(42px, 5.5vw, 76px); line-height: 1.05; margin: 0 0 28px; max-width: 850px; }
.ac-ecommerce h2 { font-size: clamp(32px, 3.4vw, 48px); line-height: 1.13; margin: 0 0 22px; }
.ac-ecommerce h3 { font-size: 23px; line-height: 1.25; margin: 0 0 12px; }
.ac-ecommerce p, .ac-ecommerce .ec-copy { color: var(--ec-muted); font-size: 17px; line-height: 1.7; }
.ac-ecommerce p:last-child { margin-bottom: 0; }
.ac-ecommerce .ec-copy a:not(.ec-button) { color: var(--ec-blue); text-decoration: underline; }
.ac-ecommerce .ec-eyebrow { display: block; margin-bottom: 22px; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ec-muted); }
.ac-ecommerce .ec-hero {
    background: #fff;
    padding: clamp(110px, 14vw, 160px) 0 clamp(56px, 8vw, 96px);
    text-align: center;
}
.ac-ecommerce .ec-hero .ec-wrap { max-width: 780px; }
.ac-ecommerce .ec-hero h1 {
    margin: 0 auto 1.25rem;
    font-size: clamp(2.6rem, 5.5vw, 4rem);
    font-weight: 700;
    letter-spacing: -.035em;
    line-height: 1.06;
}
.ac-ecommerce .ec-hero .ec-copy { max-width: 680px; margin-inline: auto; }
.ac-ecommerce .ec-hero .ec-copy,
.ac-ecommerce .ec-hero .ec-copy p {
    color: #6e6e73;
    font-size: 1.05rem;
    line-height: 1.68;
}
.ac-ecommerce .ec-hero .ec-copy p { margin: 0 auto .75rem; }
.ac-ecommerce .ec-hero .ec-copy > :last-child { margin-bottom: 0; }
.ac-ecommerce .ec-hero .ec-actions {
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 24px;
}
.ac-ecommerce .ec-hero .ec-button {
    min-height: 48px;
    max-width: 100%;
    padding: .7rem 1.35rem;
    border: 1px solid #1d1d1f;
    border-radius: 12px;
    background: #1d1d1f;
    color: #fff;
    box-shadow: none;
    font-size: .9rem;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0;
    white-space: normal;
    text-align: center;
}
.ac-ecommerce .ec-hero .ec-button:hover { background: #3a3a3c; transform: translateY(-1px); }
.ac-ecommerce .ec-hero .ec-button--secondary {
    border-color: #e4e4e7;
    background: transparent;
    color: #1d1d1f;
}
.ac-ecommerce .ec-hero .ec-button--secondary:hover { background: #e7e8eb; border-color: #d4d4d8; }
.ac-ecommerce .ec-hero .ec-button:focus-visible { outline: 2px solid #3659ba; outline-offset: 3px; }
.ac-ecommerce .ec-hero .ec-button > span[aria-hidden="true"] { display: none; }
.ac-ecommerce .ec-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.ac-ecommerce :is(#ecommerce-templates, #webcam-templates, #social-templates) .ec-actions { justify-content: center; }
.ac-ecommerce :is(#ecommerce-solutions, #webcam-solutions, #social-solutions) .ec-actions { justify-content: flex-start; }
.ac-ecommerce :is(#ecommerce-solutions, #webcam-solutions, #social-solutions) .ec-heading,
.ac-ecommerce :is(#ecommerce-solutions, #webcam-solutions, #social-solutions) .ec-heading :is(h2, .ec-copy, p) { text-align: left !important; }
.ac-ecommerce .ec-button { display: inline-flex; gap: 20px; align-items: center; justify-content: center; background: var(--ec-blue); color: #fff; border-radius: 40px; padding: 12px 21px; min-height: 44px; font-size: 14px; font-weight: 600; line-height: 1.4; text-decoration: none; transition: transform .2s ease; }
.ac-ecommerce .ec-button:hover { transform: translateY(-2px); background: #005ab6; color: #fff; }
.ac-ecommerce .ec-button--secondary { background: transparent; box-shadow: inset 0 0 0 1px var(--ec-line); color: var(--ec-ink); }
.ac-ecommerce a:focus-visible, .ac-ecommerce summary:focus-visible { outline: 3px solid var(--ec-blue); outline-offset: 5px; }
.ac-ecommerce .ec-split { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(36px, 7vw, 100px); align-items: start; }
.ac-ecommerce .ec-problems { border-top: 1px solid var(--ec-line); }
.ac-ecommerce .ec-problem { padding: 25px 0 28px; border-bottom: 1px solid var(--ec-line); }
.ac-ecommerce .ec-problem h3 { font-size: 21px; font-weight: 700; letter-spacing: -.02em; }
.ac-ecommerce .ec-problem p { font-size: 16px; }
.ac-ecommerce .ec-heading { max-width: 790px; margin-bottom: 42px; }
.ac-ecommerce #ecommerce-faqs .ec-heading h2 { text-align: left !important; }
.ac-ecommerce #ecommerce-approach .ec-heading h2 { text-align: left !important; }
.ac-ecommerce #webcam-approach .ec-heading h2 { text-align: left !important; }
.ac-ecommerce #social-approach .ec-heading h2 { text-align: left !important; }
.ac-ecommerce :is(#ecommerce-problems, #webcam-problems, #social-problems) .ec-heading h2 { text-align: left !important; }
.ac-ecommerce :is(#ecommerce-platforms, #webcam-platforms, #social-platforms) .ec-heading {
    margin-inline: 0;
    text-align: left;
}
.ac-ecommerce :is(#ecommerce-platforms, #webcam-platforms, #social-platforms) .ec-heading :is(h2, .ec-copy, p) {
    text-align: left !important;
}
.ac-ecommerce :is(#ecommerce-why-ac, #social-why-ac, #social-builds, #social-features, #social-process, #social-templates, #webcam-why-ac, #webcam-builds, #webcam-features, #webcam-process, #webcam-templates, #ecommerce-features, #ecommerce-process) .ec-heading {
    margin-inline: auto;
    text-align: center;
}
.ac-ecommerce .ec-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.ac-ecommerce .ec-card { padding: clamp(28px, 3vw, 42px); background: var(--ec-surface); border-radius: 22px; }
.ac-ecommerce .ec-card p { font-size: 16px; }
.ac-ecommerce .ec-number { display: block; color: var(--ec-blue); font-size: 13px; font-weight: 600; margin-bottom: 25px; letter-spacing: .06em; }
.ac-ecommerce #ecommerce-why-ac .ec-number { color: var(--ec-ink); }
.ac-ecommerce #webcam-why-ac .ec-number { color: var(--ec-ink); }
.ac-ecommerce #social-why-ac .ec-number { color: var(--ec-ink); }
.ac-ecommerce .ec-feature { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; gap: clamp(30px, 6vw, 50px); }
.ac-ecommerce .ec-feature + .ec-feature { margin-top: clamp(60px, 7vw, 104px); }
.ac-ecommerce .ec-feature:nth-child(even) .ec-feature__visual { order: -1; }
.ac-ecommerce .ec-image { display: flex; align-items: center; justify-content: center; border-radius: 24px; background: var(--ec-surface); overflow: hidden; aspect-ratio: 1.18; }
.ac-ecommerce .ec-tint .ec-image { background: #ebebef; }
.ac-ecommerce .ec-image img { display: block; width: 100%; height: 100%; object-fit: contain; }
.ac-ecommerce .ec-image--fallback img { width: 34%; height: auto; }
/* Uploaded images (features, builds, bespoke solutions, AC Store templates) keep their own proportions, so no grey letterbox bars appear. */
.ac-ecommerce .ec-image:not(.ec-image--fallback) { display: block; aspect-ratio: auto; background: transparent; }
.ac-ecommerce .ec-image:not(.ec-image--fallback) img { width: 100%; height: auto; object-fit: initial; }
.ac-ecommerce .ec-platform { display: grid; grid-template-columns: minmax(180px, .65fr) minmax(0, 1.35fr); gap: 24px; padding: 28px 0; border-top: 1px solid var(--ec-line); }
.ac-ecommerce .ec-platform:last-child { border-bottom: 1px solid var(--ec-line); }
/* The step grid uses the same treatment as "We have the solution" above it
   (numbered-why.css): transparent cells sitting on the section's own band,
   separated by hairlines rather than boxed, with a hover tint - two across
   instead of three, because every page that renders this has four steps.

   Borders are drawn on the right and on rows after the first, so the outer
   edges stay open. With two columns that means: clear the right border on
   every even item (and the last, for an odd count), and give items 3 onward
   a top border. The dividers were previously keyed to a three-up rhythm,
   which put a stray left border on step 3 and dropped the one between 3
   and 4. */
.ac-ecommerce .ec-process { list-style: none; counter-reset: ec-step; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; background: transparent; }
.ac-ecommerce .ec-process li { display: block !important; position: relative; overflow: hidden; counter-increment: ec-step; min-height: 235px; margin: 0; padding: 40px 32px 44px; border: 0; border-right: 1px solid rgba(0, 0, 0, .12); background: transparent; text-align: left; transition: background .25s ease; }
.ac-ecommerce .ec-process li:nth-child(n + 3) { border-top: 1px solid rgba(0, 0, 0, .12); }
.ac-ecommerce .ec-process li:nth-child(2n),
.ac-ecommerce .ec-process li:last-child { border-right: 0; }
.ac-ecommerce .ec-process li:hover { background: rgba(0, 0, 0, .025); }
/* The second half of that hover: a 2px rule that draws itself across the top
   of the cell. Same spec as the solution grid's accent
   (.ac-web-why .ac-why-grid__item::before in dist/shared.css) - top: -1px so
   it covers the cell's own border, and the same half-second ease-out. It has
   to be ::after here because ::before is already the step number. */
.ac-ecommerce .ec-process li::after { content: ""; position: absolute; z-index: 1; top: -1px; left: 0; width: 0; height: 2px; background: var(--ec-blue); transition: width .5s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.ac-ecommerce .ec-process li:hover::after { width: 100%; }
/* The step number stays - these are a sequence, unlike the solution cards -
   but takes the same weight and tracking as the numerals there. */
.ac-ecommerce .ec-process li::before { content: counter(ec-step, decimal-leading-zero); color: var(--ec-ink); font-size: 40px; font-weight: 800; line-height: 1; letter-spacing: -.04em; display: block; width: auto; height: auto; margin: 0 0 18px; background: transparent; border-radius: 0; text-align: left; }
.ac-ecommerce .ec-process li h3 { margin: 0 0 10px; color: var(--ec-ink); font-size: 1.05rem; font-weight: 700; line-height: 1.3; letter-spacing: normal; }
.ac-ecommerce .ec-process li .ec-copy, .ac-ecommerce .ec-process p { margin: 0; color: #515154; font-size: .9rem; line-height: 1.65; }
/* The callout is a card, so it needs to read as one on either band. It used
   --ec-surface, which is the exact colour .ec-tint paints the section behind
   it, so on a tinted section the card and the band were the same grey and the
   card simply disappeared - which is what happened to "Let's talk about your
   escort website." once dropping the empty platforms section flipped the
   alternation on /escort-web-design/. White with a hairline and a soft shadow
   reads on a tint and on white, so it no longer depends on where in the
   alternation the section lands. */
.ac-ecommerce .ec-callout { border-radius: 26px; padding: clamp(30px, 5vw, 64px); background: #fff; border: 1px solid var(--ec-line); box-shadow: 0 1px 2px rgba(29, 29, 31, .04), 0 14px 36px rgba(29, 29, 31, .06); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 35px; align-items: center; }
/* The card takes the opposite tone to the band it sits on, so it reads as a
   card wherever the sequence puts it: grey on a white section, white on a
   tinted one. Fixing it to one colour is what made it disappear before -
   first as grey on grey, then as white on white once the banding changed. */
.ac-ecommerce .ec-section:not(.ec-tint) .ec-callout { background: var(--ec-surface); }
.ac-ecommerce .ec-section.ec-tint .ec-callout { background: #fff; }
.ac-ecommerce .ec-callout h2 { max-width: 700px; }
.ac-ecommerce :is(#ecommerce-enquiry, #webcam-enquiry, #social-enquiry) .ec-heading,
.ac-ecommerce :is(#ecommerce-enquiry, #webcam-enquiry, #social-enquiry) .ec-heading :is(h2, .ec-copy, p) {
    text-align: left !important;
    margin-inline: 0 !important;
}
.ac-ecommerce .ec-callout .ec-actions { margin-top: 0; }
.ac-ecommerce .ec-faq { border-top: 1px solid var(--ec-line); }
.ac-ecommerce .ec-faq details { border-bottom: 1px solid var(--ec-line); }
.ac-ecommerce .ec-faq summary { padding: 24px 38px 24px 0; font-size: 19px; font-weight: 600; cursor: pointer; position: relative; list-style: none; }
.ac-ecommerce .ec-faq summary::-webkit-details-marker { display: none; }
.ac-ecommerce .ec-faq summary::after { content: "+"; position: absolute; right: 6px; top: 23px; color: var(--ec-blue); font-weight: 400; }
.ac-ecommerce .ec-faq details[open] summary::after { content: "−"; }
.ac-ecommerce .ec-faq .ec-copy { max-width: 890px; padding-bottom: 26px; }
.ac-ecommerce .ac-testimonials { background: var(--ec-surface); }
@media (max-width: 767px) {
    /* One column, so every divider is horizontal and the vertical one goes. */
    .ac-ecommerce .ec-process li { min-height: 0; padding: 28px 0; border-right: 0; }
    .ac-ecommerce .ec-process li + li { border-top: 1px solid rgba(0, 0, 0, .12); }
    .ac-ecommerce .ec-split, .ac-ecommerce .ec-grid, .ac-ecommerce .ec-feature, .ac-ecommerce .ec-platform, .ac-ecommerce .ec-process, .ac-ecommerce .ec-callout { grid-template-columns: minmax(0, 1fr); }
    .ac-ecommerce .ec-feature:nth-child(even) .ec-feature__visual { order: initial; }
    .ac-ecommerce .ec-wrap { padding-inline: 24px; }
    .ac-ecommerce .ec-heading { margin-bottom: 30px; }
    .ac-ecommerce .ec-platform { gap: 4px; }
    .ac-ecommerce .ec-callout .ec-actions { justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
    .ac-ecommerce .ec-button { transition: none; }
}
@media (max-width: 575px) {
    .ac-ecommerce .ec-hero h1 { font-size: clamp(2rem, 10vw, 2.8rem); }
    .ac-ecommerce .ec-hero .ec-actions { gap: 8px; }
}

/* Slider-first specialist parents only. The existing folds stay outside this
   wrapper; no presentation changes leak to the other three shared parents. */
.ac-specialist :is([id$="-why-ac"], [id$="-features"], [id$="-process"]) .ec-heading {
    margin-inline: auto;
    text-align: center;
}
.ac-specialist [id$="-why-ac"] .ec-number { color: var(--ec-ink); }
html body:not(.wp-admin) .ac-specialist :is([id$="-problems"], [id$="-solutions"], [id$="-platforms"], [id$="-enquiry"], [id$="-approach"], [id$="-faqs"]) .ec-heading,
html body:not(.wp-admin) .ac-specialist :is([id$="-problems"], [id$="-solutions"], [id$="-platforms"], [id$="-enquiry"], [id$="-approach"], [id$="-faqs"]) .ec-heading :is(h2, .ec-copy, p) {
    text-align: left !important;
    margin-inline: 0 !important;
}
.ac-specialist [id$="-solutions"] .ec-actions { justify-content: flex-start; }
.ac-specialist [id$="-templates"] .ec-heading,
.ac-specialist [id$="-templates"] .ec-heading :is(h2, .ec-copy, p) {
    text-align: center !important;
    margin-inline: auto;
}
.ac-specialist [id$="-templates"] .ec-actions { justify-content: center; }
.ac-specialist [id$="-templates"] .ec-feature:not(:has(.ec-image)) { grid-template-columns: minmax(0, 1fr); }
.ac-specialist [id$="-templates"] .ec-feature > div:empty { display: none; }

/* The retained Explore heading changes semantic level, not its typography or
   spacing. Match the established first-fold h1.section-lead values exactly. */
body:not(.wp-admin) :is(#ac-web-services, #product-features).ac-web-services--first h2.ac-specialist-platform-heading {
    color: #1d1d1f;
    font-size: clamp(2rem, 4.5vw, 3rem) !important;
    font-weight: 700;
    letter-spacing: -.04em;
    line-height: 1.08;
    margin-top: 0 !important;
    margin-bottom: 12px !important;
}

/* ── Let the alternating band win over a component's own surface ─────────────
   numbered-why.css sets background: #fff !important on
   .ac-numbered-why.ac-seo-different[data-why-adapted], which outranks
   .ac-ecommerce .ec-tint. The section therefore rendered white even when the
   band counter had tinted it, and /adult-web-design/ ended up with six white
   sections in a row - worse than the five it had before the counter existed.
   Same classes plus .ac-ecommerce, .ec-section and .ec-tint, so this is more
   specific and takes the band back. */
html body:not(.wp-admin) .ac-ecommerce .ec-section.ec-tint.ac-numbered-why.ac-seo-different[data-why-adapted] {
    background: var(--ec-surface) !important;
}

/* ac-seo-problems */
/* Shared opt-in Why guides: Adult SEO, Webcam SEO, Digital PR and Outreach. */
:is(#adult-seo-problems, #seo-detail-problems.ac-webcam-seo-problems, #pr-why.ac-pr-why-guide, #outreach-why.ac-outreach-why-guide) { --seo-why-header-offset: 120px; background: #fff; padding-block: clamp(64px, 7vw, 108px); }
:is(#adult-seo-problems, #seo-detail-problems.ac-webcam-seo-problems, #pr-why.ac-pr-why-guide, #outreach-why.ac-outreach-why-guide) .ac-seo-problems__layout {
    max-width: 1200px; display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    gap: clamp(36px, 7vw, 100px); align-items: start;
}
:is(#adult-seo-problems, #seo-detail-problems.ac-webcam-seo-problems, #pr-why.ac-pr-why-guide, #outreach-why.ac-outreach-why-guide) h2 {
    margin: 0 0 22px; color: #1d1d1f; font-size: clamp(32px, 3.4vw, 48px);
    font-weight: 600; letter-spacing: -.035em; line-height: 1.13; text-align: left !important;
}
:is(#adult-seo-problems, #seo-detail-problems.ac-webcam-seo-problems, #pr-why.ac-pr-why-guide, #outreach-why.ac-outreach-why-guide) .ac-seo-problems__intro,
:is(#adult-seo-problems, #seo-detail-problems.ac-webcam-seo-problems, #pr-why.ac-pr-why-guide, #outreach-why.ac-outreach-why-guide) .ac-seo-problems__intro p { color: #55565c; font-size: 17px; line-height: 1.7; text-align: left !important; }
:is(#adult-seo-problems, #seo-detail-problems.ac-webcam-seo-problems, #pr-why.ac-pr-why-guide, #outreach-why.ac-outreach-why-guide) .ac-seo-problems__issues { border-top: 1px solid #dedee3; min-width: 0; }
:is(#adult-seo-problems, #seo-detail-problems.ac-webcam-seo-problems, #pr-why.ac-pr-why-guide, #outreach-why.ac-outreach-why-guide) article { padding: 25px 0 28px; border-bottom: 1px solid #dedee3; overflow-wrap: anywhere; }
html body:not(.wp-admin) :is(#adult-seo-problems, #seo-detail-problems.ac-webcam-seo-problems, #pr-why.ac-pr-why-guide, #outreach-why.ac-outreach-why-guide) .ac-seo-problems__issues article > h2 {
    margin: 0 0 20px !important; color: #1d1d1f; font-size: clamp(24px, 2vw, 28px) !important;
    font-weight: 600 !important; letter-spacing: -.025em !important; line-height: 1.2 !important;
    text-align: left !important;
}
:is(#adult-seo-problems, #seo-detail-problems.ac-webcam-seo-problems, #pr-why.ac-pr-why-guide, #outreach-why.ac-outreach-why-guide) .ac-seo-problems__body,
:is(#adult-seo-problems, #seo-detail-problems.ac-webcam-seo-problems, #pr-why.ac-pr-why-guide, #outreach-why.ac-outreach-why-guide) .ac-seo-problems__body p { color: #55565c; font-size: 16px; line-height: 1.7; text-align: left; }
:is(#adult-seo-problems, #seo-detail-problems.ac-webcam-seo-problems, #pr-why.ac-pr-why-guide, #outreach-why.ac-outreach-why-guide) p:last-child { margin-bottom: 0; }
:is(#adult-seo-problems, #seo-detail-problems.ac-webcam-seo-problems, #pr-why.ac-pr-why-guide, #outreach-why.ac-outreach-why-guide) .ac-seo-problems__intro { min-width: 0; overflow-wrap: anywhere; }
:is(#adult-seo-problems, #seo-detail-problems.ac-webcam-seo-problems, #pr-why.ac-pr-why-guide, #outreach-why.ac-outreach-why-guide) .ac-seo-problems__left {
    align-self: start; min-width: 0;
}
:is(#adult-seo-problems, #seo-detail-problems.ac-webcam-seo-problems, #pr-why.ac-pr-why-guide, #outreach-why.ac-outreach-why-guide) article { scroll-margin-top: var(--seo-why-header-offset); }
:is(#adult-seo-problems, #seo-detail-problems.ac-webcam-seo-problems, #pr-why.ac-pr-why-guide, #outreach-why.ac-outreach-why-guide) article:focus-visible { outline: 2px solid #55565c; outline-offset: 6px; }
:is(#adult-seo-problems, #seo-detail-problems.ac-webcam-seo-problems, #pr-why.ac-pr-why-guide, #outreach-why.ac-outreach-why-guide, .ac-wd-why-guide) .ac-seo-problems__nav { margin-top: 36px; }
html body:not(.wp-admin) :is(#adult-seo-problems, #seo-detail-problems.ac-webcam-seo-problems, #pr-why.ac-pr-why-guide, #outreach-why.ac-outreach-why-guide, .ac-wd-why-guide) .ac-seo-problems__nav ol {
    list-style: none !important; counter-reset: none !important; padding: 0 !important; margin: 0 !important;
}
html body:not(.wp-admin) :is(#adult-seo-problems, #seo-detail-problems.ac-webcam-seo-problems, #pr-why.ac-pr-why-guide, #outreach-why.ac-outreach-why-guide, .ac-wd-why-guide) .ac-seo-problems__nav ol > li {
    display: block !important; list-style: none !important; counter-increment: none !important;
    margin: 0 !important; padding: 0 !important; border-top: 1px solid #dedee3;
}
html body:not(.wp-admin) :is(#adult-seo-problems, #seo-detail-problems.ac-webcam-seo-problems, #pr-why.ac-pr-why-guide, #outreach-why.ac-outreach-why-guide, .ac-wd-why-guide) .ac-seo-problems__nav ol > li::before,
html body:not(.wp-admin) :is(#adult-seo-problems, #seo-detail-problems.ac-webcam-seo-problems, #pr-why.ac-pr-why-guide, #outreach-why.ac-outreach-why-guide, .ac-wd-why-guide) .ac-seo-problems__nav ol > li::after,
html body:not(.wp-admin) :is(#adult-seo-problems, #seo-detail-problems.ac-webcam-seo-problems, #pr-why.ac-pr-why-guide, #outreach-why.ac-outreach-why-guide, .ac-wd-why-guide) .ac-seo-problems__nav ol > li::marker {
    content: none !important; display: none !important;
}
:is(#adult-seo-problems, #seo-detail-problems.ac-webcam-seo-problems, #pr-why.ac-pr-why-guide, #outreach-why.ac-outreach-why-guide, .ac-wd-why-guide) .ac-seo-problems__nav li:last-child { border-bottom: 1px solid #dedee3; }
:is(#adult-seo-problems, #seo-detail-problems.ac-webcam-seo-problems, #pr-why.ac-pr-why-guide, #outreach-why.ac-outreach-why-guide, .ac-wd-why-guide) .ac-seo-problems__nav a {
    display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px;
    align-items: baseline; padding: 18px 0; color: #68686e; text-decoration: none;
    font-size: 16px; line-height: 1.4; text-align: left;
}
:is(#adult-seo-problems, #seo-detail-problems.ac-webcam-seo-problems, #pr-why.ac-pr-why-guide, #outreach-why.ac-outreach-why-guide, .ac-wd-why-guide) .ac-seo-problems__nav a:hover,
:is(#adult-seo-problems, #seo-detail-problems.ac-webcam-seo-problems, #pr-why.ac-pr-why-guide, #outreach-why.ac-outreach-why-guide, .ac-wd-why-guide) .ac-seo-problems__nav a[aria-current="location"] { color: #1d1d1f; }
:is(#adult-seo-problems, #seo-detail-problems.ac-webcam-seo-problems, #pr-why.ac-pr-why-guide, #outreach-why.ac-outreach-why-guide, .ac-wd-why-guide) .ac-seo-problems__nav a[aria-current="location"] .ac-seo-problems__nav-label { font-weight: 600; }
:is(#adult-seo-problems, #seo-detail-problems.ac-webcam-seo-problems, #pr-why.ac-pr-why-guide, #outreach-why.ac-outreach-why-guide, .ac-wd-why-guide) .ac-seo-problems__nav a:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
:is(#adult-seo-problems, #seo-detail-problems.ac-webcam-seo-problems, #pr-why.ac-pr-why-guide, #outreach-why.ac-outreach-why-guide, .ac-wd-why-guide) .ac-seo-problems__nav-number { font-size: 12px; font-variant-numeric: tabular-nums; }
html body:not(.wp-admin) :is(#adult-seo-problems, #seo-detail-problems.ac-webcam-seo-problems, #pr-why.ac-pr-why-guide, #outreach-why.ac-outreach-why-guide) :is(h2, p, .ac-seo-problems__intro, .ac-seo-problems__body) {
    text-align: left !important; overflow-wrap: anywhere;
}
html body:not(.wp-admin) :is(#adult-seo-problems, #seo-detail-problems.ac-webcam-seo-problems, #pr-why.ac-pr-why-guide, #outreach-why.ac-outreach-why-guide) .ac-seo-problems__intro > h2 {
    margin: 0 0 22px !important; font-size: clamp(32px, 3.4vw, 48px) !important;
    font-weight: 600 !important; line-height: 1.13 !important; letter-spacing: -.035em !important;
}
/* The topics scroll with the page; the heading stays.
 *
 * This used to be an independent pane: the right column was given a fixed
 * height (70dvh, or whatever seo-problems.js measured the left column at)
 * and its own overflow-y: auto, with the scrollbar hidden and a spacer
 * pseudo-element so the last topic could still reach the top. Two scroll
 * regions on one screen, one of them invisible - the page moved under the
 * mouse in one place and the topics in another, and nothing on screen said
 * which was which.
 *
 * The FAQ answers this the plain way and so does the pain-points section
 * forty lines into seo-pain-points.css: one scroll region, the page, and the
 * short column pinned beside it. That is what this does now. The layout is
 * already a two-column grid with align-items: start, so the left column
 * keeps its own height and travels within the grid; nothing else is needed.
 *
 * top uses the offset seo-problems.js measures from the real sticky header
 * rather than a hard-coded number, because that script is already computing
 * it for the anchor jumps. 104px is the fallback for the frame before the
 * script runs, and matches the pain-points section.
 *
 * Above 767px only - below that the layout is a single column and a pinned
 * heading would cover the topics instead of sitting beside them. */
@media (min-width: 768px) {
    :is(#adult-seo-problems, #seo-detail-problems.ac-webcam-seo-problems, #pr-why.ac-pr-why-guide, #outreach-why.ac-outreach-why-guide) .ac-seo-problems__left {
        position: sticky;
        top: var(--seo-why-header-offset, 104px);
        align-self: start;
    }
}
@media (max-width: 767px) {
    :is(#adult-seo-problems, #seo-detail-problems.ac-webcam-seo-problems, #pr-why.ac-pr-why-guide, #outreach-why.ac-outreach-why-guide) .ac-seo-problems__layout { grid-template-columns: minmax(0, 1fr); }
    :is(#adult-seo-problems, #seo-detail-problems.ac-webcam-seo-problems, #pr-why.ac-pr-why-guide, #outreach-why.ac-outreach-why-guide, .ac-wd-why-guide) .ac-seo-problems__nav { margin-top: 28px; }
}

/* ac-web-design-choice */
/* "Choose a bespoke build" / "Choose a template" as two large cards.
 *
 * These were two open editorial columns: left-aligned text with a small
 * 320px-capped screenshot tucked under the button and a caption beneath it.
 * The two options read as loose text rather than as a choice between two
 * things, and the artwork was too small to show what it was.
 *
 * They are now a pair of panels - tinted surface, generous radius, text
 * centred, and the artwork running full width into the bottom edge so the
 * card ends on the work rather than on padding. The cards stretch to match
 * each other, so two options of unequal copy length still line up.
 *
 * The call to action is deliberately unchanged: AC's dark pill, the same one
 * used elsewhere on these pages.
 *
 * The project caption that used to sit with the artwork is gone - the card
 * is showing the work, not cataloguing it. The caption text is still built
 * in ac_wdc_default_image() and still supplies the image's alt attribute, so
 * the artwork is described to anyone who cannot see it.
 */
.ac-ecommerce .ac-design-choice__rows { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 1.5vw, 22px); align-items: stretch; }
.ac-ecommerce .ac-design-choice__rows--single { grid-template-columns: minmax(0, 1fr); max-width: 790px; margin-inline: auto; }

.ac-ecommerce .ac-design-choice__option {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-width: 0;
    /* No bottom padding: the artwork provides the bottom edge. */
    padding: clamp(34px, 4vw, 56px) clamp(22px, 2.4vw, 34px) 0;
    border: 0;
    border-radius: 26px;
    background: var(--ec-surface);
    box-shadow: none;
    overflow: hidden;
    text-align: center;
    overflow-wrap: anywhere;
    /* .ec-split and .ec-feature both set a row gap for their two-column
       layout. As a flex column that gap lands between the copy and the
       artwork - about 85px on top of the button's own 26px margin, which is
       the space that would not go away. The old rule zeroed it; the rewrite
       dropped that and the gap came back. */
    gap: 0;
}
.ac-ecommerce .ac-design-choice__option + .ac-design-choice__option { margin-top: 0; }
.ac-ecommerce .ac-design-choice__content { display: flex; flex-direction: column; flex: 1 1 auto; min-width: 0; }
/* The heading block takes the slack, so the button lands at the bottom of the
   content area and the two cards' buttons sit level however much is written
   above them. It has to be .ec-heading: the copy lives inside that wrapper,
   so it is not a flex child of __content and growing it does nothing. */
.ac-ecommerce .ac-design-choice__content > .ec-heading { flex: 1 1 auto; }

/* Without artwork there is nothing to close the card, so it keeps a floor. */
.ac-ecommerce .ac-design-choice__option--text-only { padding-bottom: clamp(34px, 4vw, 56px); }
.ac-design-choice__option--text-only .ac-design-choice__content { max-width: 790px; margin-inline: auto; }

/* Copy is capped rather than run to the card's full width - a centred
   paragraph needs a measure or it reads as a block of text, not a line. */
.ac-design-choice .ac-design-choice__copy { max-width: 46ch; margin-inline: auto; }
.ac-design-choice .ac-design-choice__copy > :last-child { margin-bottom: 0; }
.ac-design-choice .ac-design-choice__actions { justify-content: center; margin-bottom: clamp(16px, 1.8vw, 26px); }

/* The artwork sits directly under the button now rather than being pushed to
   the floor of a stretched card - the content block claims the slack instead,
   which is what keeps the two buttons level. The negative inline margin
   cancels the card's side padding so the image runs edge to edge. */
.ac-design-choice .ac-design-choice__media {
    display: block;
    margin: 0 calc(clamp(22px, 2.4vw, 34px) * -1) 0;
    min-width: 0;
    background: transparent;
}
/* A fixed ratio for the artwork, whatever the source file's own proportions.
   Nina Rose is 3672x2799 and Desire 1536x1340, so at equal card widths they
   rendered at different heights - which left the content areas above them
   different heights too, and that is the other half of why the buttons did
   not line up. Cover rather than contain: these are screenshots and mockups
   with slack around the subject, so trimming the edges loses nothing. */
.ac-design-choice .ac-design-choice__media img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: center; border-radius: 0; }

html body:not(.wp-admin) .ac-design-choice .ec-button { min-height: 46px; max-width: 100%; padding: .7rem 1.25rem; border: 1px solid #1d1d1f; border-radius: 12px; background: #1d1d1f; color: #fff; font-size: 14px; line-height: 1.4; white-space: normal; text-align: center; box-shadow: none; }
html body:not(.wp-admin) .ac-design-choice .ec-button:hover { background: #343438; border-color: #343438; color: #fff; }
.ac-design-choice .ec-button:focus-visible { outline: 2px solid #62521a; outline-offset: 4px; }

@media (max-width: 767px) {
    .ac-ecommerce .ac-design-choice__rows { grid-template-columns: minmax(0, 1fr); gap: 16px; }
    .ac-ecommerce .ac-design-choice__option { border-radius: 20px; }
}

/* The card turns white when its band is tinted.
 *
 * .ac-design-choice__option is painted var(--ec-surface), which is the same
 * #f5f5f7 the tinted band uses. Wherever the band sequence gives this
 * section its tinted turn, the two match and the card stops reading as a
 * card: on /escort-web-design/ the options sit as rounded panels on white,
 * on /escort-web-design/escort-agency/ - same markup, same 26px radius, same
 * padding - they dissolved into the background.
 *
 * ecommerce-page.css already answers this for the enquiry callout:
 *
 *   .ec-section:not(.ec-tint) .ec-callout { background: var(--ec-surface) }
 *   .ec-section.ec-tint .ec-callout       { background: #fff }
 *
 * This is that pair for the design-choice options. Keyed off .ec-tint rather
 * than off a page, so any page whose turn in the sequence tints this section
 * is covered - which is the point, since the sequence differs per page.
 * ------------------------------------------------------------------------- */
.ac-ecommerce .ec-section.ec-tint .ac-design-choice__option {
    background: #fff;
}

/* ac-adult-seo-different */
.ac-seo-different {
    background: #fff;
    color: #1d1d1f;
    padding: clamp(64px, 8vw, 100px) 0;
    scroll-margin-top: 80px;
}
.ac-seo-different > .container {
    max-width: 1200px;
}
.ac-seo-different__head {
    max-width: 900px;
    margin: 0 auto clamp(32px, 5vw, 56px);
    text-align: center;
}
#why-adult-seo-is-different .ac-seo-different__head > h2,
#why-adult-seo-is-different .ac-seo-different__head > p {
    text-align: center !important;
}
.ac-seo-different h2 {
    margin: 0 0 24px;
    color: #1d1d1f;
    font-size: clamp(2.25rem, 4vw, 3.6rem);
    font-weight: 700;
    letter-spacing: -.045em;
    line-height: 1.07;
}
.ac-seo-different__head p {
    margin: 0;
    color: #55565c;
    font-size: 17px;
    line-height: 1.65;
    white-space: pre-line;
}
.ac-seo-different__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
}
.ac-seo-different__number {
    display: block;
    margin-bottom: 18px;
    color: #1d1d1f;
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -.04em;
    line-height: 1;
}
.ac-seo-different__item p {
    margin: 0;
    white-space: pre-line;
}
@media (max-width: 991px) {
    .ac-seo-different__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
    .ac-seo-different__grid { grid-template-columns: minmax(0, 1fr); }
}
/* ac-numbered-why */
/* Explicitly opted-in Why families only. Base: adult-seo-different.css.
   No service, process, approach, pricing, result or general card selectors. */
/* Also outranks the legacy five-class service-surface !important rule. */
html body:not(.wp-admin) .ac-numbered-why.ac-seo-different[data-why-adapted]:is(.ec-section, .ac-sde-section, .mkt-why, .ac-web-why) {
    padding: clamp(64px, 8vw, 100px) 0 !important;
    background: #fff !important;
    color: #1d1d1f;
}
body .ac-numbered-why.ac-seo-different > .container { max-width: 1200px; }
body .ac-numbered-why.ac-seo-different .ac-seo-different__head {
    max-width: 900px;
    margin: 0 auto clamp(32px, 5vw, 56px) !important;
    padding: 0 !important;
    text-align: center !important;
    translate: none !important;
    transform: none !important;
    visibility: visible !important;
}
body .ac-numbered-why.ac-seo-different .ac-seo-different__head :is(h2, .section-lead, .title-big) {
    margin: 0 0 24px !important;
    color: #1d1d1f !important;
    /* The site's section h2 scale (51.2px at 1440, 32px on a phone), not a
       larger one of its own: at 57.6px this was the one heading on the
       reference pages off the scale (design-audit type-scale, 2026-11-11). */
    font-size: clamp(2rem, 4.5vw, 3.2rem) !important;
    font-weight: 700 !important;
    letter-spacing: -.04em !important;
    line-height: 1.07 !important;
    text-align: center !important;
    max-width: 100% !important;
    width: auto !important;
    translate: none !important;
    transform: none !important;
}
body .ac-numbered-why.ac-seo-different .ac-seo-different__head strong { font-weight: 700; }
html body .ac-numbered-why.ac-seo-different .ac-seo-different__head :is(.ec-copy, .ac-sde-body, .ac-why-header__intro, p:not(.section-lead)) {
    margin: 0 !important;
    max-width: none !important;
    width: auto !important;
    color: #55565c !important;
    font-size: 17px !important;
    line-height: 1.65 !important;
    text-align: center !important;
    translate: none !important;
    transform: none !important;
}
body .ac-numbered-why.ac-seo-different .ac-seo-different__grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100%;
}
body .ac-numbered-why.ac-seo-different .ac-seo-different__item {
    transform: none !important;
    visibility: visible !important;
    opacity: 1 !important;
    animation: none !important;
    overflow: visible;
    text-align: left !important;
}
html body:not(.wp-admin) .ac-numbered-why :is(.ac-seo-different__number, .ec-number, .ac-sde-number, .mkt-why-item__num, .ac-why-card__num) {
    display: none !important;
    position: static !important;
    margin: 0 0 18px !important;
    color: #1d1d1f !important;
    font-size: 40px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    letter-spacing: -.04em !important;
}
body .ac-numbered-why.ac-seo-different .ac-seo-different__item :is(.ec-copy, .ac-sde-body, .mkt-why-item__text, .ac-why-card__text, p) {
    margin: 0 !important;
}
body .ac-numbered-why.ac-seo-different .ac-why-card {
    display: block !important;
    position: static;
    height: 100%;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    transform: none !important;
    color: #1d1d1f !important;
}
body .ac-numbered-why.ac-seo-different .ac-why-card::before,
body .ac-numbered-why.ac-seo-different .ac-why-card::after { display: none; }
body .ac-numbered-why.ac-seo-different .ac-seo-slider__controls[hidden] { display: none !important; }
body .ac-numbered-why.ac-seo-different .ac-seo-slider__controls:not([hidden]) { display: flex; justify-content: flex-end; gap: 8px; margin-bottom: 20px; }
body .ac-numbered-why.ac-seo-different .ac-seo-slider__arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid rgba(0, 0, 0, .12);
    border-radius: 50%;
    background: #f5f5f7;
    color: #1d1d1f;
    cursor: pointer;
}
body .ac-numbered-why.ac-seo-different .ac-seo-slider__arrow:disabled { opacity: .35; cursor: default; }
body .ac-numbered-why.ac-seo-different :is(a, button, [tabindex]):focus-visible { outline: 2px solid #0071e3 !important; outline-offset: 4px; }
@media (max-width: 991px) {
    body .ac-numbered-why.ac-seo-different .ac-seo-different__grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 767px) {
    body .ac-numbered-why.ac-seo-different .ac-seo-different__grid {
        grid-template-columns: none !important;
        grid-auto-flow: column;
        grid-auto-columns: 86%;
        gap: 16px !important;
        max-width: 100%;
        overflow-x: auto;
        overflow-y: hidden;
        padding-bottom: 8px !important;
        scroll-snap-type: x mandatory;
        overscroll-behavior-x: contain;
        scrollbar-width: none;
    }
    body .ac-numbered-why.ac-seo-different .ac-seo-different__grid::-webkit-scrollbar { display: none; }
    body .ac-numbered-why.ac-seo-different .ac-seo-different__item:nth-child(n) { scroll-snap-align: start; }
}

/* ac-reviews-float */
.ac-reviews-float {
    position: fixed;
    z-index: 900;
    /* Stack above the live-chat launcher in the right-hand corner. */
    left: auto;
    right: max(20px, env(safe-area-inset-right));
    bottom: calc(120px + env(safe-area-inset-bottom));
    width: 190px;
    padding: 24px 14px 18px;
    border: 1px solid #e7e7e7;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 10px 32px rgba(0, 0, 0, .18);
    color: #181818;
    text-align: center;
    font-family: Arial, sans-serif;
    line-height: 1.25;
}

.ac-reviews-float[hidden] { display: none !important; }

.ac-reviews-float__close {
    position: absolute;
    top: 5px;
    right: 5px;
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #555;
    font: 26px/1 Arial, sans-serif;
    cursor: pointer;
}

.ac-reviews-float__close:hover,
.ac-reviews-float__close:focus-visible { background: #eee; color: #111; }
.ac-reviews-float__close:focus-visible,
.ac-reviews-float__link:focus-visible { outline: 2px solid #007f58; outline-offset: 2px; }

.ac-reviews-float__link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 9px;
    color: inherit;
    text-decoration: none;
}

.ac-reviews-float__link:hover { color: inherit; text-decoration: none; }
.ac-reviews-float__eyebrow { color: #666; font-size: 11px; letter-spacing: .04em; text-transform: uppercase; }
.ac-reviews-float__brand { font-size: 21px; font-weight: 700; letter-spacing: -.045em; white-space: nowrap; }
.ac-reviews-float__brand-star { color: #00b67a; font-size: 26px; vertical-align: -1px; }
.ac-reviews-float__stars { display: flex; gap: 2px; }
.ac-reviews-float__stars span {
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border-radius: 2px;
    background: #00b67a;
    color: #fff;
    font-size: 19px;
}
.ac-reviews-float__rating { font-size: 18px; font-weight: 700; }
.ac-reviews-float__cta { color: #007f58; font-size: 12px; font-weight: 700; }
.ac-reviews-float__link:hover .ac-reviews-float__cta { text-decoration: underline; }

@media (max-width: 767px) {
    .ac-reviews-float {
        left: auto;
        right: max(12px, env(safe-area-inset-right));
        /* Clear the mobile contact bar and the homepage ticker beneath it. */
        bottom: calc(140px + env(safe-area-inset-bottom));
        width: 158px;
        padding: 18px 10px 12px;
    }
    .ac-reviews-float__eyebrow { display: none; }
    .ac-reviews-float__brand { font-size: 17px; }
    .ac-reviews-float__brand-star { font-size: 21px; }
    .ac-reviews-float__stars span { width: 21px; height: 21px; font-size: 16px; }
    .ac-reviews-float__rating { font-size: 15px; }
}
/* ── Compact left-edge tab ────────────────────────────────────────────────────
   This was a 190px card pinned to the bottom-right, which on a phone landed on
   top of three things already competing for that corner: the live-chat
   launcher, the fixed contact bar and the ticker. Move it to the left edge,
   vertically centred, as a slim tab.

   Only the mark and the name are shown. The stars, rating and CTA stay in the
   DOM because the link's accessible name and the surrounding text come from
   them; they are just not drawn in the tab. */
.ac-reviews-float {
    left: 0;
    right: auto;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
    width: auto;
    padding: 8px 5px 10px;
    border-left: 0;
    border-radius: 0 14px 14px 0;
    box-shadow: 0 6px 22px rgba(0, 0, 0, .16);
}

.ac-reviews-float__eyebrow,
.ac-reviews-float__stars,
.ac-reviews-float__rating,
.ac-reviews-float__cta {
    display: none;
}

.ac-reviews-float__link { gap: 6px; }

/* Reads bottom-to-top, the usual direction for a side tab. */
.ac-reviews-float__brand {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-size: 13px;
    letter-spacing: -.02em;
}

.ac-reviews-float__brand-star { font-size: 15px; }

.ac-reviews-float__close {
    position: static;
    width: 22px;
    height: 22px;
    margin: 0 auto 2px;
    font-size: 17px;
    line-height: 1;
}

@media (max-width: 767px) {
    .ac-reviews-float {
        left: 0;
        right: auto;
        bottom: auto;
        width: auto;
        padding: 8px 4px 10px;
    }
}

/* ── Bigger on desktop, a corner badge on a phone ────────────────────────────
   The slim tab was too small to read on a desktop, and on a phone a tab pinned
   to the middle of the left edge sits on top of the content next to it -
   there is no free gutter at that width. So the tab grows on desktop, and on
   mobile it becomes a round badge in the bottom-left: clear of the chat
   launcher on the right, clear of the centred contact bar, and above the
   fixed ticker. */
.ac-reviews-float {
    padding: 12px 9px 14px;
    border-radius: 0 16px 16px 0;
}

.ac-reviews-float__brand { font-size: 16px; }
.ac-reviews-float__brand-star { font-size: 19px; }

.ac-reviews-float__close {
    width: 26px;
    height: 26px;
    font-size: 20px;
}

@media (max-width: 767px) {
    .ac-reviews-float {
        top: auto;
        transform: none;
        /* Same bottom as .header-min-contact, and both are 52px tall, so the
           badge and the contact pill share one centre line. */
        bottom: calc(63px + env(safe-area-inset-bottom));
        left: max(12px, env(safe-area-inset-left));
        right: auto;
        width: 52px;
        height: 52px;
        padding: 0;
        display: grid;
        place-items: center;
        border: 1px solid #e7e7e7;
        border-radius: 50%;
    }

    /* The mark alone. font-size: 0 drops the word without removing it from the
       link, which still needs it for its accessible name. */
    .ac-reviews-float__brand {
        writing-mode: horizontal-tb;
        transform: none;
        font-size: 0;
    }

    .ac-reviews-float__brand-star { font-size: 26px; }

    .ac-reviews-float__link { gap: 0; }

    .ac-reviews-float__close {
        position: absolute;
        top: -7px;
        right: -7px;
        width: 22px;
        height: 22px;
        margin: 0;
        font-size: 15px;
        background: #fff;
        border: 1px solid #e7e7e7;
        box-shadow: 0 2px 6px rgba(0, 0, 0, .12);
    }
}

