/* Personalização, galeria, menu e prévia da placa. */
:root {
  --store-blue: 206 9% 15%;
  --store-blue-dark: 206 9% 12%;
  --store-blue-soft: 0 0% 100%;
  --primary: 206 9% 15%;
  --accent: 19 55% 46%;
}

.mirror-field {
  display: block;
  margin-top: 16px;
  font-size: 14px;
  font-weight: 600;
  color: #202428;
}
.mirror-field select,
.mirror-field input {
  display: block;
  width: 100%;
  height: 44px;
  margin-top: 7px;
  padding: 0 12px;
  border: 1px solid #dedede;
  border-radius: 7px;
  background: #fff;
  color: #202428;
  font: inherit;
}
.mirror-field input:focus,
.mirror-field select:focus {
  outline: 2px solid #b65d32;
  outline-offset: 1px;
}
.mirror-plate-preview {
  margin: 14px 0 4px;
  padding: 18px 16px 12px;
  border: 1px solid #ece5df;
  border-radius: 12px;
  background: linear-gradient(135deg, #faf8f5, #fff);
  text-align: center;
}
.mirror-plate-preview svg {
  display: block;
  width: min(100%, 340px);
  height: auto;
  margin: auto;
  filter: drop-shadow(0 5px 5px #0002);
}
.mirror-plate-preview figcaption {
  margin-top: 12px;
  font-size: 12px;
  font-weight: 400;
  color: #747474;
  line-height: 1.5;
}
.mirror-color-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin-top: 8px;
}
.mirror-color-grid button {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  border: 1px solid #dedede;
  border-radius: 10px;
  padding: 9px 8px;
  font-size: 12px;
  font-weight: 500;
  background: #fff;
  color: #25282a;
  text-align: left;
}
.mirror-color-grid button[aria-pressed="true"] {
  border-color: #b65d32 !important;
  background: #fff6f0 !important;
  color: #b65d32 !important;
}
.mirror-color-swatch {
  display: inline-block;
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  border-radius: 50%;
  border: 1px solid #bfc3c5;
}
.mirror-selected {
  border-color: #202428 !important;
  background: #f2f2f2 !important;
  color: #202428 !important;
}
@media (max-width: 640px) {
  .mirror-color-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.mirror-pack[data-selected="true"] {
  border-color: hsl(var(--store-blue)) !important;
  box-shadow: 0 0 0 1px hsl(var(--store-blue)) !important;
  background: #f7f9fc !important;
}
.mirror-pack[data-selected="false"] {
  border-color: #e6e6e6 !important;
  box-shadow: none !important;
  background: #fff !important;
}
.mirror-pack[data-selected="true"] .mirror-pack-radio {
  border-color: hsl(var(--store-blue)) !important;
}
.mirror-pack[data-selected="false"] .mirror-pack-radio {
  border-color: #dcdcdc !important;
}
.mirror-pack .mirror-pack-name-row {
  flex-wrap: wrap;
}
.mirror-pack .mirror-pack-name {
  white-space: normal;
  overflow-wrap: anywhere;
  line-height: 1.2;
}
.mirror-checkout-note {
  margin-top: 12px;
  padding: 12px;
  border-radius: 8px;
  background: #fff5ef;
  color: #65402e;
  font-size: 13px;
  line-height: 1.45;
}
.mirror-dialog {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 20px;
  background: #0009;
}
.mirror-dialog[hidden] {
  display: none;
}
.mirror-dialog-inner {
  width: min(100%, 420px);
  border-radius: 18px;
  background: #fff;
  padding: 24px;
  box-shadow: 0 18px 50px #0003;
}
.mirror-dialog-inner h2 {
  font-size: 22px;
  font-weight: 750;
  margin: 0 0 12px;
}
.mirror-dialog-inner p {
  font-size: 15px;
  line-height: 1.5;
  margin: 0 0 16px;
}
.mirror-dialog-inner a {
  display: block;
  text-align: center;
  border-radius: 99px;
  padding: 14px;
  background: #b65d32;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}
.mirror-dialog-inner button {
  display: block;
  width: 100%;
  margin-top: 10px;
  padding: 10px;
  border: 0;
  background: none;
}
.mirror-menu {
  position: fixed;
  inset: 0;
  z-index: 1001;
  background: #000b;
}
.mirror-menu[hidden] {
  display: none;
}
.mirror-menu-panel {
  height: 100%;
  width: min(87vw, 360px);
  background: #fff;
  padding: 14px 8px;
}
.mirror-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 3px 12px 15px;
  border-bottom: 1px solid #eee;
}
.mirror-menu-head img {
  width: 72px;
  height: auto;
}
.mirror-menu-head button {
  font-size: 24px;
  border: 1px solid #888;
  border-radius: 50%;
  width: 26px;
  height: 26px;
  line-height: 21px;
  color: #777;
}
.mirror-menu nav {
  padding-top: 12px;
}
.mirror-menu nav a {
  display: block;
  padding: 14px 16px;
  font-weight: 600;
  color: #222;
  border-radius: 14px;
  text-decoration: none;
}
.mirror-menu nav a:first-child {
  background: #f5f5f5;
}
