@import url('reset.css');

@layer reset;

:root {
    --fh: "Asap", sans-serif;
    --fb: "Asap", -apple-system, blinkmacsystemfont, avenir next, avenir, segoe ui, helvetica neue, helvetica, cantarell, ubuntu, roboto, noto, arial, sans-serif;

    /* Display face, for the headings the design sets in Gabarito. */
    --fd: "Gabarito", "Asap", sans-serif;
    --fs: 16px;
    --c-pearlaqua: hsl(166deg 38% 54%);
    --fs1: 3.8rem;
    --fs2: 2rem;
    --c-white: hsl(0deg 0% 100%);
    --c-black: hsl(0deg 0% 0%);
    --c-mustard: hsl(49.1deg 97.8% 63.5%);
    --c-mustard-90: hsl(49.1deg 97.8% 90%);
    --c-mustard-95: hsl(49.1deg 97.8% 95%);
    --c-yelloworange: hsl(33.8deg 95.2% 59.4%);
    --c-yelloworange-dark: hsl(33.8deg 95.2% 43.9%);
    --c-grey-10: hsl(0deg 0% 10%);
    --c-grey-20: hsl(0deg 0% 20%);
    --c-grey-50: hsl(0deg 0% 50%);
    --c-grey-80: hsl(0deg 0% 80%);
    --c-grey-90: hsl(0deg 0% 90%);
    --c-grey-95: hsl(0deg 0% 95%);
    --c-grey-98: hsl(0deg 0% 98%);
    --c-pink: #ec008c;
    --c-ink: #231f20;
    --c-line: #d9d9d9;
    --c-offwhite: #fafafa;
    --c-muted: #939393;
    --c-whatsapp: #00e676;
    --c-primary: var(--c-mustard);
    --c-secondary: var(--c-yelloworange);
    --column: 100px;
    --container: calc(12 * var(--column));
    --form-control-color: var(--c-primary);
}

@custom-media --l (max-width: 1024px);
@custom-media --m (max-width: 820px);
@custom-media --sm (max-width: 620px);
@custom-media --s (max-width: 480px);
@custom-media --xs (max-width: 380px);

body {
    font-family: var(--fb);
    font-size: var(--fs);
    color: var(--c-black);
    background-color: var(--c-white);
    margin: 0;
}

.container {
    width: min(var(--container), calc(100% - 20px));
    margin-inline: auto;
}

/* SITE CHROME */
.topbar {
    background: var(--c-pink);
    padding: 5px 20px;
    text-align: center;
}

.topbar__message {
    color: var(--c-white);
    font-size: 15px;
    font-weight: 700;
}

.uspbar {
    background: #f9fafb;
    border-top: 1px solid #f3f4f6;
}

.uspbar__list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px 48px;
    list-style: none;
    margin-inline: auto;
    max-width: 1152px;
    padding: 8px 24px;
}

.uspbar__item {
    align-items: center;
    color: #6a7282;
    display: flex;
    font-size: 12px;
    font-weight: 500;
    gap: 6px;
    line-height: 16px;
}

.uspbar__check {
    color: var(--c-pink);
}

.site-header {
    border-bottom: 1px solid var(--c-line);
    background: var(--c-white);
}

.site-header__inner {
    align-items: center;
    display: flex;
    gap: 20px;
    margin-inline: auto;
    padding: 20px 0;
    width: min(1360px, 100% - 40px);
}

.headerlogo {
    flex-shrink: 0;

    img {
        height: 93px;
        width: 124px;
    }
}

.mainnav {
    display: flex;
    flex: 1;
    justify-content: center;
    min-width: 0;
}

.mainnav__list {
    background: var(--c-mustard);
    display: flex;
    flex-wrap: wrap;
    gap: 10px 40px;
    justify-content: center;
    list-style: none;
    padding: 10px 20px;

    a {
        color: var(--c-black);
        display: block;
        font-size: 16px;
        font-weight: 700;
        line-height: 20px;
        text-decoration: none;

        &:hover {
            text-decoration: underline;
        }
    }
}

.headeractions {
    align-items: center;
    display: flex;
    flex-shrink: 0;
    gap: 12px;
}

.headeractions__link {
    color: #4a5565;
    font-size: 14px;
    text-decoration: none;

    &:hover {
        text-decoration: underline;
    }
}

.headeractions__cart {
    position: relative;
}

.headeractions__badge {
    align-items: center;
    background: var(--c-pink);
    border-radius: 50%;
    color: var(--c-white);
    display: flex;
    font-size: 12px;
    font-weight: 700;
    height: 16px;
    justify-content: center;
    line-height: 16px;
    position: absolute;
    right: -8px;
    top: -6px;
    width: 16px;
}

.site-footer {
    background: var(--c-black);
    color: var(--c-white);
    padding: 54px 0 57px;
}

.site-footer__top {
    display: grid;

    /* The three tracks carry the design's column offsets, so the menus line
       up without hard-coded left positions. */
    grid-template-columns: 616fr 301fr 208fr;
}

.site-footer__brand {
    align-items: center;
    display: flex;
    gap: 38px;
    padding-right: 40px;
}

.site-footer__logo {
    flex-shrink: 0;
    height: 120px;
    width: 160px;
}

.site-footer__address {
    font-size: 16px;
    font-style: normal;
    line-height: 20px;

    span {
        color: var(--c-muted);
    }
}

.footer-title {
    color: var(--c-white);
    display: block;
    font-size: 16px;
    font-weight: 600;
    line-height: 18px;
    margin-bottom: 20px;
}

.footer-menu {
    display: flex;
    flex-direction: column;
    gap: 12px;

    /* Also sets the <li> line box, which otherwise keeps the body's 1.5. */
    line-height: 18px;
    list-style: none;
    padding: 0;

    a {
        color: var(--c-white);
        font-size: 16px;
        line-height: 18px;
        text-decoration: none;

        &:hover {
            text-decoration: underline;
        }
    }
}

.site-footer__contact {
    display: flex;
    flex-wrap: wrap;
    gap: 20px 38px;
    margin-top: 60px;
}

.footer-contact {
    align-items: center;
    display: flex;
    gap: 8px;
    text-decoration: none;
    width: 216px;
}

.footer-contact__icon {
    flex-shrink: 0;

    svg {
        height: 44px;
        width: 44px;
    }
}

.footer-contact__body {
    display: flex;
    flex-direction: column;
}

.footer-contact__label {
    color: var(--c-muted);
    font-size: 14px;
    line-height: 19px;
}

.footer-contact__value {
    color: var(--c-white);
    font-size: 16px;
    line-height: 21px;
}

.site-footer__bottom {
    align-items: center;
    display: flex;
    gap: 20px;
    justify-content: space-between;
    margin-top: 64px;
}

.site-footer__legal {
    color: var(--c-muted);
    font-size: 15px;
}

.site-footer__meta {
    align-items: center;
    display: flex;
    gap: 20px;
}

.countryselector {
    align-items: center;
    background: #030305;
    border: 2px solid var(--c-ink);
    border-radius: 10px;
    display: inline-flex;
    gap: 10px;
    height: 35px;
    padding: 0 12px;
    width: 96px;
}

.countryselector__flag svg {
    height: 26px;
    width: 26px;
}

.countryselector__label {
    color: var(--c-white);
    font-size: 15px;
}

.footer-social svg {
    height: 35px;
    width: 35px;
}

.page-home {
    .home-welcome {
        background: var(--c-mustard-95);
        padding: 80px 0;
    }

    .home-welcomecols {
        margin: 0 auto;
        width: min(var(--container), calc(100% - 20px));
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 80px;
    }

    .text-head {
        color: rgb(0 0 0 / 80%);
    }

    .home-welcomeactions {
        display: flex;
        gap: 20px;
    }

    .home-welcomeimage {
        position: relative;
    }

    .example {
        width: 80%;
        aspect-ratio: 1.65;
        background: #ccc;
        border-radius: 4px;
        position: absolute;
    }

    .example_1 {
        transform: rotate(10deg);
        right: 0;
    }

    .example_2 {
        transform: translate(-40px, 40px) rotate(-5deg);
    }

    .home-ai-wrap {
        background: var(--c-grey-98);
        padding: 80px 0;
    }

    .home-themes {
        margin: 80px auto;
        width: min(var(--container), calc(100% - 20px));
    }

    .home-themeshead {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .home-categories {
        width: min(var(--container), calc(100% - 20px));
        margin: 0 auto;
    }

    .home-categories-grid {
        display: grid;
        grid-template-columns: repeat(6, 1fr);
        grid-template-rows: repeat(2, 1fr);
        gap: 20px;
    }

    .home-categorygrid-item {
        background: var(--c-grey-90);
        height: 250px;
        border-radius: 10px;
    }

    .home-categorygrid-item-a {
        grid-column: 1 / 4;
        grid-row: 1 / 2;
    }

    .home-categorygrid-item-b {
        grid-column: 4 / 7;
        grid-row: 1 / 2;
    }

    .home-categorygrid-item-c {
        grid-column: 1 / 3;
        grid-row: 2 / 3;
    }

    .home-categorygrid-item-d {
        grid-column: 3 / 5;
        grid-row: 2 / 3;
    }

    .home-categorygrid-item-e {
        grid-column: 5 / 7;
        grid-row: 2 / 3;
    }

    .home-social {
        margin: 0 auto;
        width: min(var(--container), calc(100% - 20px));
        padding: 80px 0;
    }

    .home-social-header {
        text-align: center;
        margin-bottom: 40px;
    }

    .home-categories-wrap {
        background: var(--c-grey-98);
        padding: 80px 0;
    }

    .home-social-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(4, 1fr);
        gap: 20px;

        .social-grid-item {
            background: var(--c-grey-95);
            border-radius: 8px;
            padding: 20px;
        }

        .social-grid-item-review {
            grid-column: 1 / 3;
            grid-row: 1 / 3;
        }

        .social-grid-item-designers {
            grid-column: 1 / 2;
            grid-row: 3 / 5;
        }

        .social-grid-item-contact {
            grid-column: 2 / 3;
            grid-row: 3 / 4;
        }

        .social-grid-item-faq {
            grid-column: 3 / 4;
            grid-row: 1 / 4;
        }

        .social-grid-item-sponserships {
            grid-column: 2 / 4;
            grid-row: 4 / 5;
        }
    }

    .home-themes-catlist {
        display: grid;
        gap: 20px;
        grid-template-columns: repeat(4, 1fr);
        padding: 40px 0;
    }

    .home-catlist-item {
        text-decoration: none;
        color: var(--c-black);

        img {
            border-radius: 10px;
            width: 100%;
        }

        strong,
        span {
            display: block;
            padding: 0 20px;
        }

        strong {
            padding-top: 20px;
        }

        span {
            padding-top: 10px;
            font-size: .9rem;
            color: rgba(0, 0, 0, 0.8);
        }
    }
}

.okai-widget {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 80px;
    border-radius: 10px;
}

.insta-reel-wrap {
    background: var(--c-mustard-95);
    padding: 80px 0;

    .insta-reel-head {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin: 0 auto 20px auto;
        width: min(var(--container), calc(100% - 20px));
    }

    .instagram-carousel {
        display: flex;
        gap: 20px;
        overflow: auto;
        -ms-overflow-style: none;
        scrollbar-width: none;
        max-width: 100%;
    }

    .insta-pic {
        width: 120px;
        height: 120px;
        border-radius: 8px;
        background: var(--c-grey-90);
    }
}

/* HOME */
.home__layout {
    align-items: start;
    display: grid;
    gap: 60px;

    /* 707 / 413 are the design's two body columns. */
    grid-template-columns: minmax(0, 707fr) minmax(0, 413fr);
    margin-inline: auto;
    padding: 60px 0;
    width: min(var(--container), 100% - 40px);
}

.home__main {
    display: flex;
    flex-direction: column;
    gap: 73px;
}

.home__aside {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.home-steps {
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    gap: 38px;
}

.home-steps__title {
    font-size: 26px;
    font-weight: 700;
    line-height: 1.2;
}

.home-steps__list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    list-style: none;
    padding: 0;
}

.home-steps__item {
    align-items: center;
    display: flex;
    font-size: 16px;
    gap: 12px;
}

.home-steps__number {
    align-items: center;
    background: var(--c-black);
    border-radius: 50%;
    color: var(--c-white);
    display: flex;
    flex-shrink: 0;
    font-weight: 700;
    height: 30px;
    justify-content: center;
    width: 30px;
}

.home-steps__item:first-child .home-steps__number {
    background: var(--c-pink);
}

.home-steps__cta {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 22px;

    .btn {
        border-radius: 4px;
        font-size: 15px;
        min-height: 61px;
        padding: 8px 12px;
        width: 180px;
    }
}

.home-steps__or {
    font-size: 15px;
    font-weight: 700;
}

.home-templates {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.home-templates__head {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
}

.home-templates__title {
    color: #101828;
    font-family: var(--fd);
    font-size: 24px;
    font-weight: 900;
    line-height: 32px;
}

.home-templates__empty {
    color: var(--c-grey-50);
}

.home-templates__grid {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tmpl-card {
    background: var(--c-white);
    border-radius: 16px;
    box-shadow: 0 2px 12px rgb(0 0 0 / 7%);
    color: inherit;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    text-decoration: none;
}

.tmpl-card__media {
    height: 121px;
    overflow: hidden;
    position: relative;
}

.tmpl-card__image {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.tmpl-card__badge {
    background: var(--c-mustard);
    border-radius: 999px;
    color: var(--c-ink);
    font-size: 12px;
    font-weight: 700;
    left: 12px;
    line-height: 16px;
    padding: 4px 10px;
    position: absolute;
    top: 12px;
}

.tmpl-card__body {
    display: flex;
    flex-direction: column;
    padding: 10px 20px;
}

.tmpl-card__title {
    color: var(--c-ink);
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
}

.tmpl-card__text {
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    color: #99a1af;
    display: -webkit-box;
    font-size: 12px;
    line-height: 16px;
    overflow: hidden;
    padding-top: 2px;
}

.bannergen {
    background: var(--c-ink);
    border: 1px solid var(--c-line);
    padding: 20px;

    .form-field label {
        color: var(--c-white);
        font-size: 16px;
        font-weight: 500;
    }

    .form-field-input {
        background: var(--c-offwhite);
        border: 1px solid var(--c-line);
        border-radius: 0;
        height: 53px;
        padding: 8px;
    }

    .form-field-input-textarea {
        height: 143px;
        resize: vertical;
    }

    .form-row {
        align-items: flex-end;
    }

    .btn-block {
        border-radius: 0;
        font-size: 16px;
        min-height: 54px;
    }
}

.bannergen .okform {
    gap: 20px;
}

.bannergen__intro {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.bannergen__title {
    color: var(--c-white);
    font-size: 18px;
    font-weight: 800;
    line-height: 1.2;
}

.bannergen__lead {
    color: #e5e5e5;
    font-size: 16px;
    line-height: 22px;
}

/* Fixed widths from the design: the row deliberately leaves slack on the
   right rather than stretching both fields. */
.form-field--who {
    flex: 0 1 187px;
}

.form-field--age {
    flex: 0 1 116px;
}

.dropzone {
    align-items: center;
    background: rgb(253 220 71 / 14%);
    border: 1px dashed var(--c-mustard);
    display: flex;
    height: 100px;
    justify-content: center;
    position: relative;
}

.dropzone__input {
    cursor: pointer;
    height: 100%;
    inset: 0;
    opacity: 0;
    position: absolute;
    width: 100%;
}

.dropzone__icon {
    pointer-events: none;

    svg {
        height: 21.5px;
        width: 21.5px;
    }
}

.wa-order {
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    gap: 9px;
    padding-inline: 20px;
}

.wa-order__title {
    font-family: var(--fd);
    font-size: 18px;
    font-weight: 700;
    line-height: 22px;
}

.wa-order__lead {
    font-size: 15px;
    font-weight: 700;
    line-height: 22px;
    max-width: 300px;
}

.wa-order__steps {
    font-size: 15px;
    line-height: 22px;
    padding-left: 22.5px;
}

.wa-order__button {
    align-items: center;
    background: var(--c-whatsapp);
    border-radius: 20px;
    color: var(--c-white);
    display: inline-flex;
    font-family: var(--fd);
    font-size: 20px;
    font-weight: 700;
    gap: 10px;
    line-height: 25px;

    /* 34px from the list, minus the 9px column gap. */
    margin-top: 25px;
    max-width: 100%;
    padding: 9px 16px;
    text-decoration: none;
    width: 201px;
}

.wa-order__icon svg {
    height: 26px;
    width: 28px;
}


/* COMP */
.okform {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.form-row {
    display: flex;
    gap: 20px;
}

.form-field {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.form-field-input {
    background: var(--c-grey-90);
    border: 1px solid var(--c-grey-95);
    width: 100%;
    padding: 5px;
}

.form-field label {
    margin-bottom: 5px;
}

.eyebrow {
    color: var(--c-pink);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.2px;
    line-height: 16px;
    text-transform: uppercase;
}

.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.filters__item {
    background: var(--c-white);
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    color: #555;
    font-size: 12px;
    font-weight: 700;
    line-height: 16px;
    padding: 7px 13px;
    text-decoration: none;

    &.is-active {
        background: var(--c-ink);
        border-color: var(--c-ink);
        color: var(--c-white);
    }
}

.pretitle {
    background: var(--c-primary);
    padding: 5px 15px;
    border-radius: 5px;
    display: inline-block;
    height: 34px;
    margin-bottom: 16px;
}

.title {
    font-size: var(--fs1);
    line-height: 1em;
    margin-bottom: 16px;
}

.title-2 {
    font-size: var(--fs2);
    line-height: 1em;
    margin-bottom: 16px;
}

.text-head {
    margin-bottom: 16px;
}

.btn {
    background: transparent;
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    font-weight: 600;
    text-decoration: none;
}

.btn-primary {
    background: var(--c-mustard);
    color: var(--c-black);
}

.btn-secondary {
    background: rgb(0 0 0 / 10%);
}

.btn-text {
    border-bottom: 2px solid var(--c-primary);
    border-radius: 0;
    color: var(--c-black);
}

.btn-yellow {
    background: var(--c-mustard);
    color: var(--c-ink);
}

.btn-pink {
    background: var(--c-pink);
    color: var(--c-white);
}

.btn-outline {
    background: var(--c-white);
    border: 2px solid var(--c-line);
    color: var(--c-black);
}

.btn-pill {
    border-radius: 999px;
    font-size: 14px;
    line-height: 20px;
    padding: 8px 16px;
}

.btn-block {
    align-items: center;
    cursor: pointer;
    display: flex;
    justify-content: center;
    text-align: center;
    width: 100%;
}

/* RESPONSIVE — main.css is served unprocessed, so the @custom-media names
   above cannot be used here. */
@media (width <= 1024px) {
    .home__layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .home__aside {
        max-width: 413px;
    }

    .site-footer__top {
        gap: 40px;
        grid-template-columns: 1fr 1fr;
    }
}

@media (width <= 820px) {
    .site-header__inner {
        flex-wrap: wrap;
    }

    .mainnav {
        flex-basis: 100%;
        order: 3;
    }

    .headeractions {
        margin-left: auto;
    }

    .home-templates__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .site-footer__top {
        grid-template-columns: 1fr;
    }

    .site-footer__brand {
        align-items: flex-start;
        flex-direction: column;
        gap: 20px;
        padding-right: 0;
    }
}

@media (width <= 620px) {
    .home__main {
        gap: 50px;
    }

    .home-templates__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .home-steps__cta {
        align-items: stretch;
        flex-direction: column;

        .btn {
            width: 100%;
        }
    }

    .site-footer__bottom {
        align-items: flex-start;
        flex-direction: column;
    }
}