:root {
  color-scheme: light;
  --paper: #f9f7f3;
  --white: #fffdf9;
  --ink: #261e30;
  --muted: #665b6d;
  --line: #e7e0e6;
  --plum: #382649;
  --accent: #694785;
  --lilac: #e0c9ff;
  font: 16px/1.5 system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
h1, h2, h3, p, dl, dd { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid #8459bd; outline-offset: 4px; }
.hero a:focus-visible { outline-color: var(--lilac); }

.wrap { width: min(1200px, calc(100% - 96px)); margin-inline: auto; }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.skip:focus { position: fixed; z-index: 2; top: .5rem; left: .5rem; padding: .75rem; background: white; }
.notice {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: .55rem;
  padding: .46rem .5rem;
  background: var(--plum);
  color: #f6edfc;
  font-size: .73rem;
  font-weight: 600;
  letter-spacing: .035em;
}
.notice span:first-child { color: var(--lilac); }
.header { min-height: 79px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; font-size: 1.23rem; font-weight: 750; letter-spacing: -.035em; line-height: 1; }
.brand-caption { display: block; margin-top: .31rem; font-size: .51rem; letter-spacing: .17em; color: var(--muted); }
.header-access { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; color: var(--accent); font-size: .9rem; font-weight: 700; }
.header-access:hover { text-decoration: underline; }
.back-link:hover { text-decoration: underline; }

.hero {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  align-items: center;
  border-radius: 24px;
  overflow: hidden;
  background: #2b1e39;
  color: #fff9ff;
  isolation: isolate;
}
.hero-copy { padding: clamp(28px, 5vw, 68px); padding-right: 0; position: relative; z-index: 1; }
.eyebrow { font-size: .69rem; font-weight: 750; letter-spacing: .18em; color: var(--accent); }
.hero .eyebrow { color: var(--lilac); }
.hero .eyebrow span { margin-right: .45rem; }
h1, h2 { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; letter-spacing: -.045em; line-height: 1.02; }
.hero h1 { font-size: clamp(2.55rem, 5.3vw, 5.05rem); margin-block: .85rem 1.1rem; }
.hero h1 em { color: var(--lilac); }
.hero-copy > p:not(.eyebrow) { max-width: 31ch; color: #eadff0; font-size: clamp(.91rem, 1.4vw, 1.04rem); }
.hero-link, .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .9rem;
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: .55rem 1.05rem;
  background: var(--plum);
  color: white;
  font-size: .83rem;
  font-weight: 700;
}
.hero-link { margin-top: 1.45rem; background: #eee2f8; color: var(--ink); }
.hero-link:hover { background: white; }
.button:hover { background: #523668; }
.hero-image { width: 100%; height: 100%; object-fit: cover; object-position: center; }

.catalog { padding-block: clamp(35px, 5vw, 68px) 60px; scroll-margin-top: 0; }
.catalog-head { display: flex; gap: 1rem; align-items: end; justify-content: space-between; }
.catalog h2 { font-size: clamp(2rem, 4.2vw, 3.5rem); margin-top: .42rem; }
.search {
  display: flex;
  align-items: center;
  gap: .65rem;
  width: min(350px, 100%);
  padding-inline: .85rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.search:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }
.search svg { width: 19px; height: 19px; color: var(--accent); flex: none; }
.search input { min-width: 0; width: 100%; min-height: 46px; border: 0; background: transparent; color: var(--ink); outline: none; font-size: .9rem; }
.search input::placeholder { color: var(--muted); }
.categories { display: flex; flex-wrap: wrap; gap: .45rem; margin-block: 1.45rem 1.2rem; }
.categories button {
  min-height: 44px;
  border-radius: 999px;
  padding: .45rem .85rem;
  border: 1px solid var(--line);
  color: var(--ink);
  background: var(--white);
  font-size: .82rem;
  font-weight: 600;
}
.categories button:hover { border-color: var(--accent); }
.categories button[aria-pressed="true"] { background: var(--plum); color: white; border-color: var(--plum); }
.results { border-top: 1px solid var(--line); padding-block: .75rem; font-size: .82rem; color: var(--muted); }
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.card { display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--line); border-radius: 17px; background: var(--white); }
.card:hover { border-color: #ac93bb; }
.product-link { display: flex; flex: 1; flex-direction: column; border-radius: inherit; }
.product-image { display: grid; place-items: center; aspect-ratio: 1.12; border-radius: 16px 16px 0 0; overflow: hidden; }
.product-image img { width: 100%; height: 100%; object-fit: contain; }
.product-image[data-cor="lilas"] { background: radial-gradient(ellipse at 48% 28%, #f3edff, #e6d9f3 80%); }
.product-image[data-cor="areia"] { background: radial-gradient(ellipse at 48% 28%, #faf2e9, #ecddcf 80%); }
.product-image[data-cor="rosa"] { background: radial-gradient(ellipse at 48% 28%, #fceff1, #efdce5 80%); }
.product-image[data-cor="verde"] { background: radial-gradient(ellipse at 48% 28%, #f1f6ee, #dbe6db 80%); }
.card-copy { display: flex; flex-direction: column; flex: 1; padding: 15px; }
.card-category { color: var(--accent); font-size: .63rem; letter-spacing: .095em; text-transform: uppercase; font-weight: 750; }
.card h3 { font-size: 1rem; line-height: 1.27; margin-block: .36rem .26rem; }
.presentation { color: var(--muted); font-size: .82rem; margin-bottom: .85rem; }
.card-description { color: var(--muted); font-size: .82rem; line-height: 1.4; }
.card-actions { display: grid; gap: .65rem; padding: 0 15px 15px; }
.card-price, .product-action > strong { color: var(--plum); font-size: 1.12rem; }
.card-add { width: 100%; text-align: center; }
.product-action { display: flex; align-items: center; flex-wrap: wrap; gap: .85rem; margin-bottom: 1.1rem; }
.header-actions { display: flex; align-items: center; gap: .85rem; }
.header-actions svg { width: 20px; height: 20px; }
.footer-admin { margin-bottom: 0; }
.cart-dialog { width: min(470px, calc(100% - 32px)); max-height: calc(100% - 32px); overflow: auto; border: 1px solid var(--line); border-radius: 20px; padding: clamp(20px, 5vw, 32px); color: var(--ink); background: var(--white); }
.cart-dialog::backdrop { background: #251934a3; }
.cart-dialog h2 { font-size: clamp(1.9rem, 5vw, 2.6rem); margin-bottom: .75rem; }
.cart-dialog > p { color: var(--muted); }
.dialog-actions { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: 1.1rem; }
.button-secondary { color: var(--plum); border-color: var(--line); background: var(--white); }
.button-secondary:hover { background: #f2ebf7; }
.cart-dialog select, .cart-dialog textarea { width: 100%; font: inherit; border: 1px solid #b9adbf; border-radius: 10px; padding: .6rem .75rem; background: white; color: var(--ink); }
.empty { padding: 2.7rem 1.25rem; text-align: center; background: var(--white); border: 1px solid var(--line); border-radius: 16px; }
.empty p { margin-block: .45rem 1.1rem; color: var(--muted); }
.detail { padding-block: 12px 65px; }
.back-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--accent); font-size: .9rem; font-weight: 700; margin-bottom: 1rem; }
.detail-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 72px); align-items: center; }
.detail-layout .product-image { border-radius: 22px; }
.detail h1 { font-size: clamp(2.2rem, 5vw, 4.45rem); margin-block: .5rem 1rem; }
.description { max-width: 44ch; color: var(--muted); }
.specs { margin-block: 1.35rem; border-top: 1px solid var(--line); }
.specs > div { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; padding-block: .72rem; border-bottom: 1px solid var(--line); font-size: .9rem; }
.specs dt { color: var(--muted); }
.specs dd { font-weight: 650; }
.demo-tag { font-size: .8rem; color: var(--accent); }
.footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; border-top: 1px solid var(--line); padding-block: 1.4rem 2rem; color: var(--muted); font-size: .81rem; }
.footer-brand { color: var(--ink); font-size: 1rem; }

.workspace-page { padding-bottom: 3rem; }
.workspace-page .access-card h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.workspace-page .access-form { max-width: 560px; }
.workspace-nav { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem .8rem; }
.workspace-nav a, .nav-exit { display: inline-flex; align-items: center; min-height: 42px; padding: .4rem .65rem; border: 1px solid var(--line); border-radius: 999px; color: var(--plum); background: var(--white); font-size: .84rem; font-weight: 650; }
.workspace-nav:empty { display: none; }
.nav-exit:hover, .workspace-nav a:hover { border-color: var(--accent); }
.login-company { font-weight: 650; margin-bottom: .45rem; }
.section-heading { margin-top: 2rem; }
.access-page { max-width: 470px; padding-bottom: 4rem; }
.access-card { border: 1px solid var(--line); border-radius: 20px; background: var(--white); padding: clamp(20px, 5vw, 36px); }
.access-card h1 { font-size: clamp(2.4rem, 6vw, 3.5rem); margin-block: .55rem 1rem; }
.access-card > p:not(.eyebrow) { color: var(--muted); }
.access-form { display: grid; gap: .55rem; margin-top: 1.3rem; }
.access-form label { font-weight: 650; font-size: .88rem; }
.access-form input { width: 100%; min-height: 48px; margin-bottom: .45rem; border: 1px solid #b9adbf; border-radius: 10px; background: white; color: var(--ink); padding: .6rem .75rem; }
.access-form .button { margin-top: .3rem; }
.access-card .access-error { color: #7e233e; background: #fbeaf0; border-radius: 9px; padding: .65rem .8rem; margin-bottom: .75rem; }

@media (max-width: 950px) {
  .wrap { width: calc(100% - 48px); }
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 690px) {
  .wrap { width: calc(100% - 32px); }
  .header { min-height: 65px; }
  .brand { font-size: 1.05rem; }
  .brand-caption { font-size: .47rem; }
  .hero { grid-template-columns: 1fr; border-radius: 19px; }
  .hero-copy { padding: 25px 22px 0; }
  .hero h1 { font-size: clamp(2.32rem, 9.2vw, 3.6rem); margin-block: .63rem .75rem; }
  .hero-link { margin-top: 1rem; }
  .hero-image { height: clamp(145px, 45vw, 255px); object-position: 50% 63%; }
  .catalog-head { align-items: start; flex-direction: column; }
  .search { width: 100%; }
  .search input { font-size: 1rem; }
  .categories { margin-top: 1rem; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .card-copy { padding: 11px; }
  .card-actions { padding: 0 11px 11px; }
  .card-add { font-size: .75rem; padding-inline: .45rem; }
  .header-actions { gap: .6rem; }
  .header-access { font-size: .82rem; }
  .card h3 { font-size: .93rem; }
  .detail-layout { grid-template-columns: 1fr; }
  .detail-layout .product-image { aspect-ratio: 1.25; }
  .footer { justify-content: start; column-gap: 1.25rem; }
  .footer p { flex-basis: 100%; order: 1; }
}


@media (max-width: 370px) {
  .header { flex-wrap: wrap; gap: .2rem 1rem; padding-top: .4rem; }
  .header-actions { margin-left: auto; }
}


/* JUNO_CART_CSP_FIX_V1 */

body:has(.juno-cart-page) {
    background: #f1f1f1;
}

main.wrap.juno-cart-page {
    width: min(1200px, calc(100% - 32px));
    max-width: none;
    margin: 0 auto;
    padding: 24px 0 48px;
}

.juno-cart-page .access-card,
.juno-cart-page .juno-cart-shell {
    width: 100%;
    max-width: none;
    padding: 0;
    margin: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.juno-cart-page .back-link {
    display: inline-flex !important;
    visibility: visible !important;
    font-size: 13px;
    margin: 16px 0;
}

.juno-cart-page h1 {
    font-family: system-ui, sans-serif;
    font-size: 23px;
    line-height: 1.3;
    margin: 0 0 20px;
}

.juno-cart-page .juno-guest-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 24px;
    align-items: start;
    width: 100%;
}

.juno-cart-page .juno-guest-products {
    display: block;
    min-width: 0;
    margin: 0;
    padding: 0;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
}

.juno-cart-page .juno-guest-products > h2,
.juno-cart-page .juno-list-heading {
    font-family: system-ui, sans-serif;
    font-size: 16px;
    font-weight: 600;
    padding: 18px;
    margin: 0;
    border-bottom: 1px solid #eee;
}

.juno-cart-page .juno-guest-card {
    display: grid;
    grid-template-columns: 100px minmax(0, 1fr);
    align-items: start;
    gap: 14px;
    min-height: 0;
    width: 100%;
    margin: 0;
    padding: 16px;
    background: white;
    border: 0;
    border-bottom: 1px solid #eee;
    border-radius: 0;
    box-shadow: none;
    box-sizing: border-box;
}

.juno-cart-page .juno-guest-card:last-child {
    border-bottom: 0;
}

.juno-cart-page .juno-guest-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    min-height: 0;
    overflow: hidden;
    background: #f8f8f8;
    border-radius: 6px;
    font-size: 11px;
    color: #777;
    text-align: center;
}

.juno-cart-page .juno-guest-image img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.juno-cart-page .juno-guest-details {
    min-width: 0;
}

.juno-cart-page .juno-guest-details h2 {
    font-family: system-ui, sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    margin: 0 0 6px;
    letter-spacing: normal;
}

.juno-cart-page .juno-guest-description {
    font-size: 12px;
    line-height: 1.4;
    color: #666;
    margin: 4px 0;
}

.juno-cart-page .juno-guest-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 5px 12px;
    font-size: 11px;
    line-height: 1.5;
    margin: 7px 0;
    color: #666;
}

.juno-cart-page .juno-guest-quantity {
    margin-top: 5px;
    font-size: 12px;
}

.juno-cart-page .juno-guest-summary {
    width: 100%;
    min-width: 0;
    padding: 0 0 18px;
    margin: 0;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    position: sticky;
    top: 20px;
    box-sizing: border-box;
}

.juno-cart-page .juno-guest-summary h2 {
    font-family: system-ui, sans-serif;
    font-size: 16px;
    font-weight: 600;
    padding: 18px;
    margin: 0;
    border-bottom: 1px solid #eee;
}

.juno-cart-page .juno-guest-summary > div {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 18px;
    font-size: 13px;
}

.juno-cart-page .juno-guest-summary p {
    font-size: 12px;
    line-height: 1.5;
    color: #666;
    margin: 12px 18px;
}

.juno-cart-page .juno-guest-summary .button {
    display: block;
    width: calc(100% - 36px);
    margin: 14px 18px 0;
    padding: 12px;
    background: #3483fa;
    color: white;
    border-radius: 6px;
    text-align: center;
    font-size: 13px;
    box-sizing: border-box;
}

.juno-cart-page .juno-guest-back {
    display: block;
    margin: 14px 18px 0;
    text-align: center;
    font-size: 12px;
}

@media (max-width: 850px) {
    .juno-cart-page .juno-guest-layout {
        grid-template-columns: 1fr;
    }

    .juno-cart-page .juno-guest-summary {
        position: static;
    }
}

@media (max-width: 520px) {
    .juno-cart-page .juno-guest-card {
        grid-template-columns: 76px minmax(0, 1fr);
        padding: 12px;
        gap: 12px;
    }

    .juno-cart-page .juno-guest-image {
        width: 76px;
        height: 76px;
    }
}


/* JUNO_CADASTRO_PROFISSIONAL_V1 */

.juno-register {
    width: 100%;
}

.juno-register-intro {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 22px;
}

.juno-register .access-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.juno-register .access-form input,
.juno-register .access-form select {
    width: 100%;
    box-sizing: border-box;
    min-height: 43px;
    padding: 10px 12px;
    border: 1px solid #d9dce3;
    border-radius: 6px;
    font: inherit;
    background: white;
}

.juno-register .access-form label {
    font-size: 13px;
    font-weight: 600;
}

.juno-register .access-form .button {
    margin-top: 15px;
}

.juno-register-hint {
    font-size: 12px;
    line-height: 1.5;
    color: #6b7280;
}

.juno-register-login {
    margin: 20px 0;
    font-size: 13px;
    text-align: center;
}

.juno-register-login a {
    color: #2563eb;
    font-weight: 600;
}


/* JUNO_MOSTRAR_SENHA_V1 */

.juno-password-field {
    position: relative;
    width: 100%;
}

.juno-password-field input {
    width: 100%;
    padding-right: 85px !important;
    box-sizing: border-box;
}

.juno-password-toggle {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    color: #2563eb;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    padding: 8px;
}

.juno-password-toggle:hover {
    text-decoration: underline;
}

/* Campos de confirmação e recuperação adicionados ao formulário de acesso. */
.access-form input[type="checkbox"] {
  width: 20px;
  height: 20px;
  min-height: 20px;
  display: inline-block;
  vertical-align: middle;
  margin-right: .5rem;
}
