﻿/* Page-specific styles: supermercados */

/* CHECKOUT HUD */
.hero {
  min-height: 80vh
}

.hero-left {
  padding: 6rem 3.5rem 5rem;
  padding-left: max(3.5rem, calc((100vw - 1400px) / 2 + 3.5rem))
}

.hero-right {
  min-height: 80vh;
  position: relative
}

.checkout-hud {
  position: absolute;
  bottom: 3rem;
  right: max(3rem, calc((100vw - 1400px) / 2 + 3rem));
  background: var(--s1);
  border: 1px solid rgba(238, 234, 222, .1);
  border-radius: 12px;
  padding: 1.2rem;
  width: 276px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .5), 0 0 40px rgba(232, 83, 10, .06);
  opacity: 0;
  z-index: 2;
}

[data-theme="light"] .checkout-hud {
  background: var(--s1);
  border-color: rgba(26, 23, 19, .15);
  box-shadow: 0 12px 40px rgba(0, 0, 0, .1)
}

.co-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: .9rem;
  padding-bottom: .8rem;
  border-bottom: 1px solid var(--border)
}

.co-title {
  font-size: .62rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted)
}

.co-live {
  display: flex;
  align-items: center;
  gap: .35rem;
  font-size: .6rem;
  color: var(--accent)
}

.co-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  animation: lpulse 1.8s ease-in-out infinite
}

.co-scan {
  background: rgba(232, 83, 10, .06);
  border: 1px solid rgba(232, 83, 10, .2);
  border-radius: 8px;
  padding: .7rem .8rem;
  margin-bottom: .7rem;
  display: flex;
  align-items: center;
  gap: .7rem
}

.co-scan-icon {
  font-size: 1rem;
  flex-shrink: 0
}

.co-scan-info {}

.co-scan-label {
  font-size: .58rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .15rem
}

.co-scan-name {
  font-size: .78rem;
  color: var(--text)
}

.co-items {
  display: flex;
  flex-direction: column;
  gap: .3rem;
  margin-bottom: .7rem
}

.co-item {
  display: flex;
  justify-content: space-between;
  font-size: .7rem;
  padding: .25rem 0;
  border-bottom: 1px solid var(--border)
}

.co-item:last-child {
  border-bottom: none
}

.co-item-name {
  color: var(--muted)
}

.co-item-price {
  color: var(--text)
}

.co-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-top: .6rem;
  border-top: 1px solid var(--border)
}

.co-total-label {
  font-size: .6rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted)
}

.co-total-val {
  font-family: var(--Fd);
  font-size: 1.6rem;
  font-weight: 300;
  color: var(--accent)
}

.supermercados-inline-1 {
  color: inherit;
  text-decoration: none;
  opacity: .6;
}

.supermercados-inline-2 {
  opacity: .35;
  margin: 0 .2em;
}

.supermercados-inline-3 {
  margin-left: .3rem;
}

.supermercados-inline-4 {
  width: 82%;
}

.supermercados-inline-5 {
  width: 65%;
}

.supermercados-inline-6 {
  width: 50%;
}

.supermercados-inline-7 {
  width: 35%;
}

.supermercados-inline-8 {
  width: 17%;
}

.supermercados-inline-9 {
  color: var(--accent);
}

/* Remaining mock panels extracted from shared.css */
.mock-scan {
  background: var(--s2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.1rem 1.2rem;
  width: 255px;
  font-size: .72rem;
}

[data-theme="light"] .mock-scan {
  background: #fff;
  border-color: rgba(26, 23, 19, .1);
}

.ms-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: .8rem;
  padding-bottom: .7rem;
  border-bottom: 1px solid var(--border);
}

.ms-title {
  font-size: .62rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}

.ms-num {
  font-size: .65rem;
  color: var(--accent);
  border: 1px solid rgba(232, 83, 10, .3);
  padding: .1rem .45rem;
  border-radius: 100px;
}

.ms-scan-area {
  display: flex;
  align-items: center;
  gap: .8rem;
  background: rgba(232, 83, 10, .06);
  border: 1px solid rgba(232, 83, 10, .2);
  border-radius: 8px;
  padding: .6rem .75rem;
  margin-bottom: .7rem;
}

.ms-scan-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
}

.ms-scan-name {
  color: var(--text);
  font-size: .75rem;
  margin-bottom: .12rem;
}

.ms-scan-ean {
  font-size: .58rem;
  color: var(--dim);
  margin-bottom: .1rem;
}

.ms-scan-price {
  color: var(--accent);
  font-family: var(--Fd);
  font-size: .9rem;
}

.ms-items {
  display: flex;
  flex-direction: column;
  gap: .2rem;
  margin-bottom: .7rem;
}

.ms-item {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: .5rem;
  align-items: center;
  padding: .25rem 0;
  border-bottom: 1px solid var(--border);
}

.ms-item:last-child {
  border-bottom: none;
}

.ms-item-name {
  color: var(--muted);
}

.ms-item-qty {
  color: var(--dim);
  font-size: .65rem;
}

.ms-item-price {
  color: var(--text);
  text-align: right;
}

.ms-methods {
  display: flex;
  gap: .3rem;
  margin-bottom: .7rem;
  flex-wrap: wrap;
}

.ms-method {
  font-size: .6rem;
  padding: .2rem .55rem;
  border-radius: 100px;
  border: 1px solid var(--border);
  color: var(--muted);
}

.ms-method.active {
  background: rgba(232, 83, 10, .08);
  border-color: rgba(232, 83, 10, .3);
  color: var(--accent);
}

.ms-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-top: .6rem;
  border-top: 1px solid var(--border);
}

.ms-total-label {
  font-size: .6rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}

.ms-total-val {
  font-family: var(--Fd);
  font-size: 1.6rem;
  font-weight: 300;
  color: var(--accent);
}

.mock-stock {
  background: var(--s2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.1rem 1.2rem;
  width: 255px;
  font-size: .72rem;
}

[data-theme="light"] .mock-stock {
  background: #fff;
  border-color: rgba(26, 23, 19, .1);
}

.msk-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: .7rem;
  padding-bottom: .6rem;
  border-bottom: 1px solid var(--border);
}

.msk-title {
  font-size: .62rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}

.msk-updated {
  font-size: .6rem;
  color: #4caf50;
}

.msk-search {
  display: flex;
  align-items: center;
  gap: .5rem;
  background: var(--s1);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: .4rem .65rem;
  font-size: .65rem;
  color: var(--dim);
  margin-bottom: .65rem;
}

.msk-search svg {
  width: 11px;
  height: 11px;
  stroke: var(--dim);
  fill: none;
  stroke-width: 1.5;
  flex-shrink: 0;
}

.msk-items {
  display: flex;
  flex-direction: column;
  gap: .15rem;
  margin-bottom: .7rem;
}

.msk-item {
  display: grid;
  grid-template-columns: 10px 1fr auto auto;
  align-items: center;
  gap: .45rem;
  padding: .28rem 0;
  border-bottom: 1px solid var(--border);
}

.msk-item:last-child {
  border-bottom: none;
}

.msk-item-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.msk-item-dot.ok {
  background: #4caf50;
}

.msk-item-dot.warn {
  background: var(--warm);
}

.msk-item-dot.low {
  background: #e53935;
}

.msk-item-name {
  color: var(--text);
  font-size: .68rem;
}

.msk-item-cat {
  color: var(--dim);
  font-size: .58rem;
}

.msk-item-qty {
  font-family: var(--Fd);
  font-size: .85rem;
  text-align: right;
}

.msk-item-qty.ok {
  color: #4caf50;
}

.msk-item-qty.warn {
  color: var(--warm);
}

.msk-item-qty.low {
  color: #e53935;
}

.msk-alert {
  background: rgba(229, 57, 53, .07);
  border: 1px solid rgba(229, 57, 53, .2);
  border-radius: 6px;
  padding: .45rem .65rem;
  font-size: .65rem;
  color: #e57373;
}

.mock-reports {
  background: var(--s2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.1rem 1.2rem;
  width: 255px;
  font-size: .72rem;
}

[data-theme="light"] .mock-reports {
  background: #fff;
  border-color: rgba(26, 23, 19, .1);
}

.mr-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: .8rem;
  padding-bottom: .7rem;
  border-bottom: 1px solid var(--border);
}

.mr-title {
  font-size: .62rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}

.mr-period {
  font-size: .62rem;
  color: var(--accent);
}

.mr-big {
  text-align: center;
  padding: .6rem 0;
  margin-bottom: .8rem;
  border-bottom: 1px solid var(--border);
}

.mr-big-val {
  font-family: var(--Fd);
  font-size: 1.9rem;
  font-weight: 300;
  color: var(--accent);
  line-height: 1;
}

.mr-big-sub {
  font-size: .6rem;
  color: #4caf50;
  margin-top: .2rem;
}

.mr-dept {
  margin-bottom: .7rem;
}

.mr-dept-label {
  font-size: .58rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: .45rem;
}

.mr-dept-item {
  display: grid;
  grid-template-columns: 5rem 1fr auto;
  align-items: center;
  gap: .5rem;
  margin-bottom: .3rem;
}

.mr-dept-name {
  color: var(--muted);
  font-size: .65rem;
}

.mr-dept-bar-wrap {
  height: 5px;
  background: var(--s1);
  border-radius: 100px;
  overflow: hidden;
}

.mr-dept-bar {
  height: 100%;
  background: var(--accent);
  border-radius: 100px;
  opacity: .7;
}

.mr-dept-val {
  color: var(--text);
  font-size: .65rem;
  text-align: right;
}

.mr-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .4rem;
  padding-top: .6rem;
  border-top: 1px solid var(--border);
}

.mr-kpi {
  text-align: center;
}

.mr-kpi-label {
  font-size: .55rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: .2rem;
}

.mr-kpi-val {
  font-family: var(--Fd);
  font-size: 1rem;
  font-weight: 300;
  color: var(--text);
}

body.public-website-supermercados .hero-h1 {
  line-height: 1.02;
  padding-bottom: .08em;
}

body.public-website-supermercados .hero-h1 .word {
  margin-right: 0;
  margin-inline-end: .12em;
}

body.public-website-supermercados .feat-title {
  line-height: 1.16;
  padding-bottom: .06em;
}

body.public-website-supermercados .pbq {
  box-sizing: border-box;
  left: 0;
  right: 0;
  margin-inline: auto;
  width: min(900px, calc(100% - 7rem));
  padding: 0;
}
