main h1 { overflow-wrap: anywhere; }
.order-stack, .order-form { display: grid; gap: 1rem; }
.order-box { border: 1px solid var(--line); border-radius: 16px; background: var(--white); padding: clamp(16px, 3vw, 28px); }
.order-box h2 { font-size: clamp(1.3rem, 4vw, 2rem); margin-bottom: .45rem; }
.order-box p { overflow-wrap: anywhere; }
.order-box > .button { margin-top: 1rem; }
.order-form { margin-top: 1rem; }
.order-form label { display: grid; gap: .35rem; font-weight: 650; min-width: 0; }
.order-form input, .order-form textarea, .order-form select {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  border: 1px solid #b9adbf;
  border-radius: 9px;
  padding: .65rem;
  background: white;
  color: var(--ink);
  font: inherit;
  font-weight: 400;
}
.order-form textarea { min-height: 70px; resize: vertical; }
.order-form fieldset { display: grid; gap: .8rem; min-width: 0; border: 1px solid var(--line); border-radius: 12px; padding: 1rem; }
.order-form legend { font-weight: 700; padding-inline: .3rem; }
.order-columns { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: .8rem; }
.order-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; }
.order-secondary {
  min-height: 44px;
  padding: .5rem 1rem;
  border: 1px solid #b9adbf;
  border-radius: 999px;
  background: transparent;
  color: var(--accent);
  font-weight: 650;
}
.order-error { padding: .75rem; background: #fbeaf0; color: #7e233e; border-radius: 8px; }
.order-list { padding: 0; list-style: none; display: grid; gap: .7rem; }
.order-list li { border: 1px solid var(--line); border-radius: 9px; padding: .7rem; overflow-wrap: anywhere; }
.order-history a { display: grid; gap: .2rem; }
.order-history a:hover strong { text-decoration: underline; }
.order-specs { display: grid; gap: .65rem; }
.order-specs div { border-bottom: 1px solid var(--line); padding-bottom: .55rem; overflow-wrap: anywhere; }
.order-specs dt { color: var(--muted); }
.order-specs dd { font-weight: 650; }
.order-total { display: flex; flex-wrap: wrap; gap: .5rem 1rem; justify-content: space-between; margin: 1rem 0; font-weight: 700; }


/* JUNO — Carrinho detalhado */
.juno-cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 22px;
  align-items: start;
}
.juno-cart-product {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 22px;
}
.juno-cart-photo {
  aspect-ratio: 1;
  border-radius: 12px;
  background: #f6f6f6;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.juno-cart-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.juno-no-image {
  padding: 15px;
  text-align: center;
  color: #777;
  font-size: 13px;
}
.juno-cart-info { min-width: 0; }
.juno-cart-info h2 { margin-top: 0; }
.juno-cart-description {
  line-height: 1.6;
  color: #555;
}
.juno-cart-meta {
  display: grid;
  gap: 7px;
  margin: 14px 0;
  font-size: 14px;
}
.juno-cart-values {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 0;
  font-size: 16px;
}
.juno-cart-warning { color: #b42318; font-weight: 600; }
.juno-cart-controls { display: grid; gap: 12px; }
.juno-cart-summary {
  position: sticky;
  top: 20px;
}
.juno-cart-summary > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
}
.juno-cart-summary-total {
  border-top: 1px solid #ddd;
  font-size: 18px;
}
.juno-cart-summary .button {
  display: block;
  text-align: center;
  margin: 15px 0;
}
.juno-cart-summary p {
  font-size: 13px;
  line-height: 1.5;
}
@media (max-width: 850px) {
  .juno-cart-layout { grid-template-columns: 1fr; }
  .juno-cart-summary { position: static; }
}
@media (max-width: 560px) {
  .juno-cart-product {
    grid-template-columns: 95px minmax(0, 1fr);
    gap: 12px;
  }
  .juno-cart-info h2 { font-size: 17px; }
  .juno-cart-card { padding: 12px; }
  .juno-cart-values { flex-direction: column; }
}

/* Carrinho compacto em lista */
.juno-guest-layout {
  grid-template-columns: minmax(0, 1fr) 280px !important;
  gap: 16px !important;
}

.juno-guest-card {
  grid-template-columns: 76px minmax(0, 1fr) !important;
  gap: 14px !important;
  padding: 12px 16px !important;
  margin-bottom: 8px !important;
  align-items: center;
}

.juno-guest-image {
  width: 76px !important;
  height: 76px !important;
}

.juno-guest-details h2 {
  font-size: 15px !important;
  margin-bottom: 4px !important;
}

.juno-guest-description {
  font-size: 12px !important;
  line-height: 1.4 !important;
  margin: 4px 0 !important;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.juno-guest-meta {
  display: flex !important;
  flex-wrap: wrap;
  gap: 4px 12px !important;
  margin: 6px 0 !important;
  font-size: 11px !important;
}

.juno-guest-quantity {
  margin-top: 6px !important;
  font-size: 12px !important;
}

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


/* JUNO_CART_LIST_V1 */

.juno-cart-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 24px;
    align-items: start;
}

.juno-cart-layout .order-stack {
    background: #fff;
    border: 1px solid #e2e4e8;
    border-radius: 8px;
    overflow: hidden;
    display: block;
    min-width: 0;
}

.juno-cart-layout .juno-cart-card {
    border: 0;
    border-radius: 0;
    box-shadow: none;
    border-bottom: 1px solid #e9e9e9;
    margin: 0;
    padding: 18px 20px;
    background: #fff;
}

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

.juno-cart-layout .juno-cart-product {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
}

.juno-cart-layout .juno-cart-photo {
    width: 112px;
    height: 112px;
    max-width: 112px;
    background: #f8f8f8;
    border-radius: 6px;
    overflow: hidden;
}

.juno-cart-layout .juno-cart-photo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.juno-cart-layout .juno-cart-info h2 {
    font-size: 15px;
    margin: 0 0 8px;
}

.juno-cart-layout .juno-cart-meta {
    font-size: 12px;
    color: #666;
}

.juno-cart-layout .juno-cart-summary {
    background: #fff;
    border: 1px solid #e2e4e8;
    border-radius: 8px;
    padding: 18px;
    position: sticky;
    top: 16px;
}

.juno-cart-layout .juno-cart-summary .button {
    background: #3483fa;
    color: #fff;
    text-align: center;
    border-radius: 6px;
}

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

    .juno-cart-layout .juno-cart-summary {
        position: static;
    }
}

@media (max-width: 520px) {
    .juno-cart-layout .juno-cart-card {
        padding: 12px;
    }

    .juno-cart-layout .juno-cart-product {
        grid-template-columns: 76px minmax(0, 1fr);
        gap: 12px;
    }

    .juno-cart-layout .juno-cart-photo {
        width: 76px;
        height: 76px;
    }
}


.juno-qty-field {
    display: grid;
    gap: .2rem;
    font-size: .75rem;
    font-weight: 650;
}

.juno-qty-control {
    display: inline-flex;
    width: max-content;
    max-width: 100%;
    align-items: center;
    gap: 0;
    border: 1px solid #d8d8d8;
    border-radius: 7px;
    background: #fff;
}

.juno-qty-control button {
    flex: 0 0 28px;
    height: 28px;
    padding: 0;
    border: 0;
    border-radius: 6px;
    background: #f0e9f5;
    color: var(--plum);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

.juno-qty-control button:hover {
    background: #e6d9ef;
}

.juno-qty-control button:disabled {
    opacity: .35;
    cursor: not-allowed;
}

.juno-qty-control input[name="quantidade"] {
    width: 36px;
    min-width: 0;
    min-height: 28px;
    padding: 2px;
    border: 0;
    border-left: 1px solid #eee;
    border-right: 1px solid #eee;
    border-radius: 0;
    text-align: center;
    font-size: 14px;
    appearance: textfield;
    -moz-appearance: textfield;
}

.juno-qty-control input::-webkit-inner-spin-button,
.juno-qty-control input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}








/* JUNO_CART_FINAL_V2 */

.juno-cart-layout {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 325px !important;
    gap: 24px !important;
    align-items: start !important;
}

.juno-cart-layout > *,
.juno-cart-items,
.juno-cart-card,
.juno-cart-card > * {
    min-width: 0 !important;
    box-sizing: border-box !important;
}

.juno-cart-items {
    width: 100% !important;
    background: #fff !important;
    border: 1px solid #e5e5e5 !important;
    border-radius: 9px !important;
    overflow: hidden !important;
}

.juno-cart-card {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    gap: 18px !important;
    width: 100% !important;
    padding: 20px !important;
    background: #fff !important;
    border: 0 !important;
    border-bottom: 1px solid #ededed !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.juno-cart-card:last-child {
    border-bottom: 0 !important;
}

.juno-cart-card img {
    display: block !important;
    width: 112px !important;
    height: 112px !important;
    flex: 0 0 112px !important;
    object-fit: contain !important;
    border-radius: 6px !important;
    background: #f7f7f7 !important;
}

.juno-cart-card > div,
.juno-cart-card > section,
.juno-cart-card > form,
.juno-cart-card article {
    min-width: 0 !important;
    max-width: 100% !important;
}

.juno-cart-card h2,
.juno-cart-card h3,
.juno-cart-card h4,
.juno-cart-card p,
.juno-cart-card small {
    width: auto !important;
    max-width: 100% !important;
    min-width: 0 !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
    white-space: normal !important;
}

.juno-cart-card h3,
.juno-cart-card h4 {
    font-size: 15px !important;
    line-height: 1.4 !important;
}

.juno-cart-summary {
    position: sticky !important;
    top: 20px !important;
    width: 100% !important;
    min-width: 0 !important;
    padding: 20px !important;
    background: #fff !important;
    border: 1px solid #e5e5e5 !important;
    border-radius: 9px !important;
    box-shadow: 0 1px 2px rgba(0,0,0,.04) !important;
}

@media (max-width: 850px) {
    .juno-cart-layout {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    .juno-cart-summary {
        position: static !important;
    }
}

@media (max-width: 560px) {
    .juno-cart-card {
        gap: 12px !important;
        padding: 14px 12px !important;
    }

    .juno-cart-card img {
        width: 80px !important;
        height: 80px !important;
        flex-basis: 80px !important;
    }
}

/* FIM_JUNO_CART_FINAL_V2 */



.juno-list-heading { display: grid; gap: 4px; }

.juno-guest-quantity form {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    justify-content: space-between;
    gap: .5rem 1rem;
}

.juno-cart-card .order-actions {
    justify-content: flex-end;
}

.cart-remove {
    min-height: 32px;
    margin-inline-start: auto;
    padding: .25rem .65rem;
    border: 1px solid #ead8df;
    border-radius: 8px;
    background: #fbf6f8;
    color: #763650;
    font: inherit;
    font-size: .78rem;
    font-weight: 650;
    cursor: pointer;
}

.cart-remove:hover {
    background: #f4e6ec;
}
