.shop-main {
  padding: clamp(128px, 14vw, 168px) clamp(18px, 5vw, 76px) clamp(68px, 9vw, 132px);
  background: linear-gradient(180deg, rgba(255, 250, 240, 0.92), rgba(255, 250, 240, 0.92)), url("assets/Fundo.png") center /
    cover no-repeat fixed;
  color: var(--coffee);
}

.shop-intro {
  max-width: 720px;
  margin-bottom: clamp(34px, 5vw, 56px);
}

.shop-intro .eyebrow {
  color: var(--coffee);
}

.shop-intro h1 {
  color: var(--coffee);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 700;
}

.shop-intro p {
  max-width: 640px;
  margin-top: 16px;
  color: rgba(43, 22, 15, 0.72);
  font-size: 1.05rem;
}

.shop-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}

.shop-filters {
  position: sticky;
  top: 110px;
  display: grid;
  gap: 26px;
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  padding: 24px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.shop-filters h2 {
  color: var(--coffee);
  font-size: 1.1rem;
}

.filter-group {
  display: grid;
  gap: 12px;
}

.filter-group h3 {
  color: rgba(43, 22, 15, 0.56);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.filter-group label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(43, 22, 15, 0.82);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
}

.filter-group input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--copper);
}

.filter-reset {
  justify-self: start;
  padding: 0;
  border: none;
  background: none;
  color: var(--coffee-soft);
  font-size: 0.82rem;
  font-weight: 900;
  text-decoration: underline;
  cursor: pointer;
}

.shop-content {
  display: grid;
  gap: 24px;
}

.shop-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.shop-count {
  color: rgba(43, 22, 15, 0.6);
  font-size: 0.86rem;
  font-weight: 700;
}

.shop-toolbar-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

#adminAddProductButton {
  border-color: var(--copper);
  background: #fff;
  color: var(--coffee);
  box-shadow: var(--shadow-soft);
}

#adminAddProductButton:hover {
  background: rgba(183, 132, 82, 0.1);
}

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

.shop-card {
  --shop-card-head-height: 252px;
  min-height: 0;
  gap: 0;
  justify-content: stretch;
  overflow: visible;
  border: 0;
  border-radius: 24px;
  padding: 0;
  cursor: pointer;
  background: transparent;
  box-shadow: -11px 11px 1px rgba(0, 0, 0, 0.18);
  transition:
    transform 220ms ease,
    box-shadow 220ms ease;
}

.shop-card::before {
  display: none;
}

.shop-card-head {
  position: relative;
  min-height: var(--shop-card-head-height);
  overflow: hidden;
  border-radius: 24px 24px 0 0;
  padding: 18px 20px;
  background:
    radial-gradient(circle at 74% 24%, rgba(218, 194, 154, 0.34), transparent 34%),
    radial-gradient(circle at 14% 108%, rgba(102, 114, 72, 0.26), transparent 38%),
    linear-gradient(135deg, var(--espresso) 0%, var(--coffee) 46%, #7d4b2c 72%, var(--copper) 100%);
  color: #fff;
}

.shop-card-head::after {
  position: absolute;
  right: 22px;
  bottom: 18px;
  z-index: 1;
  width: min(54%, 190px);
  height: 140px;
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(255, 250, 240, 0.36) 0%, rgba(218, 194, 154, 0.16) 46%, transparent 72%);
  content: "";
  filter: blur(2px);
}

.shop-card-logo {
  position: relative;
  z-index: 1;
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.shop-card-image {
  position: absolute;
  right: 0px;
  bottom: 10px;
  z-index: 3;
  width: min(62%, 214px);
  height: 178px;
  border: 0;
  border-radius: 0;
  background: transparent;
  object-fit: contain;
  filter:
    drop-shadow(-16px 22px 16px rgba(20, 11, 7, 0.3))
    drop-shadow(0 0 18px rgba(255, 250, 240, 0.14));
}

.shop-card-detail {
  position: relative;
  z-index: 2;
  max-width: min(42%, 128px);
  margin-top: 22px;
}

.coffee-builder-card .shop-card-detail {
  display: grid;
  align-content: end;
  min-height: 160px;
  max-width: min(100%, 280px);
  margin-top: 26px;
}

.coffee-builder-card .shop-card-detail h2 {
  font-size: clamp(1.45rem, 2.4vw, 2.1rem);
  line-height: 1;
}

.coffee-builder-card .shop-card-detail p {
  max-width: 230px;
  font-size: 0.84rem;
}

.cachaca-builder-card {
  cursor: pointer;
}

.cachaca-builder-card-image {
  position: absolute;
  right: 30px;
  bottom: 20px;
  z-index: 5;
  width: clamp(100px, 4%, 176px);
  max-width: none;
  height: auto;
  pointer-events: none;
  filter: drop-shadow(-12px 18px 16px rgba(20, 11, 7, 0.28));
}

.shop-card-detail h2 {
  margin: 0 0 8px;
  color: #fff;
  font-family: "Manrope", sans-serif;
  font-size: 0.98rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.shop-card-detail p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.45;
  -webkit-box-orient: vertical;
}

.shop-card-body {
  display: grid;
  gap: 18px;
  border-radius: 0 0 24px 24px;
  padding: 20px;
  background: #fffaf0;
}

.shop-card .product-tag {
  justify-self: start;
  width: max-content;
  border-color: var(--line-dark);
  color: var(--coffee-soft);
  padding: 4px 8px;
  font-size: 0.64rem;
  letter-spacing: 0.12em;
}

.shop-card-desc {
  display: grid;
  gap: 10px;
}

.shop-card h3 {
  margin: 0;
  color: var(--coffee);
  font-size: clamp(2.5rem, 1.3vw, 3.45rem);
  line-height: 0.92;
  text-shadow: none;
}

.shop-card-caption {
  color: rgba(43, 22, 15, 0.62);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.shop-card-properties {
  display: grid;
  gap: 10px;
}

.shop-card dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.shop-card dl div {
  border-top-color: var(--line-dark);
  padding-top: 8px;
}

.shop-card dt {
  color: rgba(43, 22, 15, 0.56);
}

.shop-card dd {
  color: var(--coffee);
}

.shop-card-price {
  display: grid;
  justify-self: start;
  justify-items: start;
  gap: 2px;
  border-radius: 8px;
  padding: 8px 16px;
  background: #59663B;
  color: #fff;
  box-shadow: 0 12px 18px -14px rgba(89, 102, 59, 0.55);
}

.shop-card-price small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.72rem;
  font-weight: 800;
  text-decoration: line-through;
}

.shop-card-price b {
  font-size: 1.18rem;
}

.builder-price-edit-button {
  justify-self: start;
  border: 1px solid rgba(89, 102, 59, 0.28);
  border-radius: 999px;
  padding: 7px 12px;
  background: rgba(89, 102, 59, 0.08);
  color: var(--coffee);
  font: inherit;
  font-size: 0.72rem;
  font-weight: 900;
  cursor: pointer;
  transition:
    background 200ms ease,
    transform 200ms ease;
}

.builder-price-edit-button:hover,
.builder-price-edit-button:focus-visible {
  background: rgba(89, 102, 59, 0.16);
  transform: translateY(-1px);
}

.quick-add-button {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 9px 11px;
  border: 1px solid rgba(218, 194, 154, 0.72);
  border-radius: 999px;
  background: rgba(255, 250, 240, 0.88);
  color: var(--coffee);
  box-shadow: 0 10px 24px rgba(20, 11, 7, 0.18);
  font-size: 0.9rem;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  transition:
    transform 200ms ease,
    background 200ms ease;
}

.quick-add-button:hover {
  background: var(--gold);
  transform: translateY(-2px);
}

.quick-add-button.is-added {
  border-color: transparent;
  background: linear-gradient(135deg, var(--copper), var(--gold));
  color: var(--espresso);
  transform: scale(1.08);
}

.admin-edit-button {
  position: absolute;
  top: calc(var(--shop-card-head-height) + 18px);
  right: 12px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  background: rgba(43, 22, 15, 0.06);
  color: var(--coffee);
  cursor: pointer;
  transition:
    transform 200ms ease,
    background 200ms ease;
}

.admin-edit-button:hover {
  background: rgba(43, 22, 15, 0.12);
  transform: translateY(-2px);
}

.shop-card:hover,
.shop-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: -14px 15px 1px rgba(0, 0, 0, 0.2);
}

.shop-card:focus-visible {
  outline: 2px solid var(--copper);
  outline-offset: 4px;
}

.shop-empty {
  grid-column: 1 / -1;
  padding: 48px 0;
  color: rgba(43, 22, 15, 0.6);
  text-align: center;
}

/* Pop-up de produto */

.product-dialog {
  max-width: min(760px, 94vw);
  max-height: 88vh;
  margin: auto;
  overflow-y: auto;
  border: 1px solid var(--line-dark);
  border-radius: 12px;
  padding: 0;
  background: linear-gradient(145deg, #e4dfd9, #efeeec);
  color: var(--coffee);
  box-shadow: var(--shadow-luxe);
}

.product-dialog::backdrop {
  background: rgba(10, 6, 4, 0.72);
  backdrop-filter: blur(4px);
}

.product-dialog-form {
  position: relative;
  padding: clamp(28px, 5vw, 40px);
}

.dialog-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  background: rgba(250, 251, 245, 0.6);
  color: var(--coffee);
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
}

.dialog-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

.dialog-layout:has(.dialog-media) {
  grid-template-columns: minmax(0, 240px) minmax(0, 1fr);
  align-items: start;
}

.dialog-gallery {
  display: grid;
  gap: 12px;
  border: 0;
  background: transparent;
}

.dialog-media {
  position: relative;
}

.dialog-media img {
  width: 100%;
  height: 280px;
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  object-fit: cover;
}

.dialog-media-placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  height: 280px;
  border: 1px dashed rgba(43, 22, 15, 0.2);
  border-radius: 8px;
  background:
    radial-gradient(circle at 66% 24%, rgba(218, 194, 154, 0.32), transparent 34%),
    linear-gradient(135deg, rgba(43, 22, 15, 0.07), rgba(89, 102, 59, 0.1));
  color: rgba(43, 22, 15, 0.5);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dialog-media-upload {
  position: absolute;
  right: 10px;
  bottom: 10px;
  min-height: 32px;
  border: 1px dashed rgba(43, 22, 15, 0.22);
  border-radius: 999px;
  padding: 0 12px;
  background: rgba(250, 251, 245, 0.82);
  color: var(--coffee-soft);
  font: inherit;
  font-size: 0.72rem;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 10px 22px -18px rgba(43, 22, 15, 0.5);
}

.dialog-media-upload:hover {
  border-color: rgba(183, 132, 82, 0.52);
  background: rgba(218, 194, 154, 0.28);
}

.dialog-next-preview {
  display: grid;
  place-items: center;
  width: 100%;
  height: 44px;
  border: 1px solid rgba(43, 22, 15, 0.16);
  border-radius: 8px;
  padding: 0;
  background: rgba(250, 251, 245, 0.58);
  color: var(--coffee);
  cursor: pointer;
  overflow: hidden;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.dialog-next-preview:hover {
  border-color: rgba(183, 132, 82, 0.46);
  background: rgba(218, 194, 154, 0.22);
  transform: translateY(-1px);
}

.dialog-next-preview svg {
  color: var(--coffee);
}

.dialog-roast-info {
  padding: 0;
  color: rgba(43, 22, 15, 0.72);
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.45;
}

.dialog-roast-info strong {
  color: var(--coffee);
}

.dialog-cachaca-info {
  padding: 0;
  color: rgba(43, 22, 15, 0.72);
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.45;
}

.dialog-cachaca-info strong {
  color: var(--coffee);
}

.dialog-info > .coffee-builder-intro {
  margin: 8px 0 0;
  color: rgba(43, 22, 15, 0.72);
  font-weight: 700;
  line-height: 1.45;
}

.dialog-info > .coffee-builder-intro strong {
  color: var(--coffee);
}

.coffee-builder-fields {
  margin: 18px 0;
}

.coffee-builder-choice-group + .coffee-builder-choice-group {
  margin-top: 16px;
}

.coffee-builder-field-title {
  display: block;
  margin-bottom: 8px;
  color: rgba(43, 22, 15, 0.58);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.coffee-builder-options {
  display: grid;
  gap: 10px;
}

.coffee-builder-options-format {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.coffee-builder-options-roast {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.coffee-builder-options-cachaca {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.coffee-builder-choice-shell {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.coffee-builder-choice {
  display: grid;
  gap: 8px;
  width: 100%;
  border: 1px solid rgba(43, 22, 15, 0.14);
  border-radius: 8px;
  padding: 8px;
  background: rgba(250, 251, 245, 0.74);
  color: var(--coffee);
  cursor: pointer;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.coffee-builder-choice:hover,
.coffee-builder-choice:focus-visible {
  border-color: rgba(183, 132, 82, 0.52);
  box-shadow: 0 12px 22px -18px rgba(43, 22, 15, 0.46);
  transform: translateY(-1px);
}

.coffee-builder-choice:focus-visible {
  outline: 2px solid var(--copper);
  outline-offset: 2px;
}

.coffee-builder-choice.is-selected {
  border-color: var(--copper);
  background: rgba(218, 194, 154, 0.24);
  box-shadow: inset 0 0 0 1px rgba(183, 132, 82, 0.18);
}

.coffee-builder-choice:disabled {
  cursor: not-allowed;
  opacity: 0.45;
  transform: none;
}

.coffee-builder-choice.is-disabled,
.coffee-builder-choice.is-disabled:hover,
.coffee-builder-choice.is-disabled:focus-visible {
  border-color: rgba(43, 22, 15, 0.1);
  background: rgba(120, 120, 120, 0.1);
  box-shadow: none;
  filter: grayscale(0.75);
  opacity: 0.42;
  transform: none;
}

.coffee-builder-choice-image {
  display: grid;
  place-items: center;
  aspect-ratio: 1.25;
  overflow: hidden;
  border-radius: 6px;
  background:
    radial-gradient(circle at 66% 24%, rgba(218, 194, 154, 0.38), transparent 34%),
    linear-gradient(135deg, rgba(43, 22, 15, 0.08), rgba(89, 102, 59, 0.12));
}

.coffee-builder-choice-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.coffee-builder-options-cachaca .coffee-builder-choice-image {
  background: transparent;
}

.coffee-builder-options-cachaca .coffee-builder-choice-image img {
  object-fit: contain;
}

.coffee-builder-choice-placeholder {
  color: rgba(43, 22, 15, 0.5);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.coffee-builder-choice-label {
  color: var(--coffee);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-align: center;
}

.coffee-builder-choice-stock {
  color: rgba(43, 22, 15, 0.68);
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.coffee-builder-choice-description {
  margin: 10px 0 0;
  color: rgba(43, 22, 15, 0.68);
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.45;
}

.coffee-builder-choice-description strong {
  color: var(--coffee);
}

.coffee-builder-image-upload {
  min-height: 30px;
  border: 1px dashed rgba(43, 22, 15, 0.2);
  border-radius: 999px;
  background: rgba(250, 251, 245, 0.64);
  color: var(--coffee-soft);
  font: inherit;
  font-size: 0.72rem;
  font-weight: 900;
  cursor: pointer;
}

.coffee-builder-image-upload:hover {
  border-color: rgba(183, 132, 82, 0.5);
  background: rgba(218, 194, 154, 0.18);
}

#productDialogContent h2 {
  margin: 16px 0 8px;
  color: var(--coffee);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

#productDialogContent .product-tag {
  border-color: var(--line-dark);
  color: var(--coffee-soft);
}

.dialog-info > p {
  margin: 0 0 20px;
  color: rgba(43, 22, 15, 0.72);
}

#productDialogContent dl {
  margin-bottom: 26px;
}

#productDialogContent dl div {
  border-top-color: var(--line-dark);
}

#productDialogContent dt {
  color: rgba(43, 22, 15, 0.56);
}

#productDialogContent dd {
  color: var(--coffee);
}

.dialog-purchase {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--line-dark);
  padding-top: 22px;
}

.dialog-price {
  color: var(--copper);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.dialog-price-group {
  display: grid;
  gap: 6px;
  justify-items: start;
}

.dialog-stock {
  color: rgba(43, 22, 15, 0.62);
  font-size: 0.82rem;
  font-weight: 800;
}

.dialog-price-edit-button {
  border: 1px solid rgba(183, 132, 82, 0.32);
  border-radius: 999px;
  padding: 7px 12px;
  background: rgba(183, 132, 82, 0.1);
  color: var(--coffee);
  font: inherit;
  font-size: 0.72rem;
  font-weight: 900;
  cursor: pointer;
}

.dialog-price-edit-button:hover,
.dialog-price-edit-button:focus-visible {
  background: rgba(183, 132, 82, 0.18);
}

.price-old {
  margin-right: 4px;
  color: rgba(43, 22, 15, 0.45);
  font-size: 0.75em;
  font-weight: 700;
  text-decoration: line-through;
}

.dialog-purchase .quantity-stepper {
  border-color: var(--line-dark);
}

.dialog-purchase .quantity-stepper button {
  background: rgba(43, 22, 15, 0.06);
  color: var(--coffee);
}

.dialog-purchase .quantity-stepper button:hover {
  background: rgba(43, 22, 15, 0.12);
}

.dialog-purchase .quantity-stepper input {
  color: var(--coffee);
}

/* Dialog de administracao do catalogo (adicionar/editar produto) */

.admin-dialog .eyebrow {
  color: var(--copper);
}

.admin-dialog h2 {
  margin: 4px 0 20px;
  color: var(--coffee);
}

.admin-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.admin-form-grid .wide-field {
  grid-column: span 2;
}

.admin-form-grid label {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.admin-form-grid label.checkbox-field {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
}

.admin-form-grid label.checkbox-field input {
  width: 18px;
  height: 18px;
  min-height: 0;
  accent-color: var(--copper);
}

.admin-form-grid label span {
  color: rgba(43, 22, 15, 0.6);
  font-size: 0.8rem;
  font-weight: 800;
}

.admin-form-grid input,
.admin-form-grid select,
.admin-form-grid textarea {
  min-height: 46px;
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  padding: 0 14px;
  background: #fffaf0;
  color: var(--coffee);
  font: inherit;
  font-weight: 700;
}

.admin-form-grid textarea {
  height: 84px;
  padding: 12px 14px;
  resize: vertical;
}

.admin-form-grid input:focus,
.admin-form-grid select:focus,
.admin-form-grid textarea:focus {
  outline: 2px solid var(--copper);
  outline-offset: 1px;
}

.image-upload-field {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.image-upload-button {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 18px;
  border: 1px dashed var(--line-dark);
  border-radius: 8px;
  background: #fffaf0;
  color: var(--coffee);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition:
    border-color 180ms ease,
    background 180ms ease;
}

.image-upload-button:hover {
  border-color: var(--copper);
  background: rgba(183, 132, 82, 0.08);
}

.admin-image-preview {
  width: 56px;
  height: 56px;
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  object-fit: cover;
}

.admin-image-preview-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-image-preview-thumb {
  position: relative;
  width: 56px;
  height: 56px;
  overflow: hidden;
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  background: rgba(43, 22, 15, 0.06);
}

.admin-image-preview-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.admin-image-preview-thumb:first-child::after {
  content: "Capa";
  position: absolute;
  left: 4px;
  bottom: 4px;
  border-radius: 999px;
  padding: 2px 6px;
  background: rgba(20, 11, 7, 0.82);
  color: var(--cream-1);
  font-size: 0.58rem;
  font-weight: 900;
}

.admin-dialog-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
}

.admin-delete-button {
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid rgba(163, 76, 63, 0.32);
  border-radius: 999px;
  background: rgba(163, 76, 63, 0.08);
  color: #a34c3f;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
}

.admin-delete-button:hover {
  background: rgba(163, 76, 63, 0.16);
}

@media (max-width: 560px) {
  .admin-form-grid {
    grid-template-columns: 1fr;
  }

  .admin-form-grid .wide-field {
    grid-column: auto;
  }
}

/* Seletor de quantidade (usado no pop-up e no carrinho) */

.quantity-stepper {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(218, 194, 154, 0.3);
  border-radius: 999px;
  padding: 6px 8px;
}

.quantity-stepper button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: none;
  border-radius: 999px;
  background: rgba(250, 251, 245, 0.08);
  color: var(--cream-1);
  font-size: 1rem;
  font-weight: 900;
  cursor: pointer;
}

.quantity-stepper button:hover {
  background: rgba(250, 251, 245, 0.16);
}

.quantity-stepper input,
.quantity-stepper .cart-item-qty {
  width: 34px;
  border: none;
  background: none;
  color: var(--cream-1);
  font-weight: 900;
  text-align: center;
}

.quantity-stepper input::-webkit-outer-spin-button,
.quantity-stepper input::-webkit-inner-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

/* Botao flutuante do carrinho */

.cart-toggle {
  position: fixed;
  right: clamp(18px, 4vw, 40px);
  bottom: clamp(18px, 4vw, 40px);
  z-index: 25;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(218, 194, 154, 0.3);
  border-radius: 999px;
  background: linear-gradient(135deg, var(--copper), var(--gold));
  color: var(--espresso);
  box-shadow: 0 18px 42px rgba(183, 132, 82, 0.32);
  cursor: pointer;
}

.cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  display: inline-flex;
  min-width: 22px;
  height: 22px;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--espresso);
  color: var(--cream-1);
  font-size: 0.72rem;
  font-weight: 900;
}

/* Carrinho (gaveta lateral) */

.cart-backdrop {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(10, 6, 4, 0.6);
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 41;
  display: grid;
  grid-template-rows: auto 1fr auto;
  width: min(400px, 92vw);
  height: 100vh;
  background: linear-gradient(180deg, #1b0f09, #140b07);
  color: var(--cream-1);
  box-shadow: var(--shadow-luxe);
  transform: translateX(100%);
  transition: transform 280ms ease;
}

.cart-drawer.is-open {
  transform: translateX(0);
}

.cart-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
  border-bottom: 1px solid rgba(218, 194, 154, 0.18);
}

.cart-drawer-head h2 {
  color: var(--cream-1);
  font-size: 1.2rem;
}

.cart-items {
  display: grid;
  align-content: start;
  gap: 16px;
  overflow-y: auto;
  padding: 16px 24px;
}

.cart-item {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(218, 194, 154, 0.14);
  padding-bottom: 16px;
}

.cart-item-info {
  display: grid;
  gap: 4px;
}

.cart-item-info span {
  color: rgba(250, 251, 245, 0.6);
  font-size: 0.82rem;
}

.cart-item-remove {
  grid-column: 1 / -1;
  justify-self: start;
  padding: 0;
  border: none;
  background: none;
  color: rgba(250, 251, 245, 0.5);
  font-size: 0.76rem;
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
}

.cart-empty {
  padding: 40px 0;
  color: rgba(250, 251, 245, 0.6);
  text-align: center;
}

.cart-summary {
  display: grid;
  gap: 14px;
  padding: 22px 24px;
  border-top: 1px solid rgba(218, 194, 154, 0.18);
}

.cart-totals {
  display: grid;
  gap: 8px;
}

.cart-total-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(250, 251, 245, 0.68);
  font-size: 0.88rem;
}

.cart-total-line strong {
  color: rgba(250, 251, 245, 0.86);
  font-weight: 700;
}

.cart-total-final {
  margin-top: 4px;
  padding-top: 12px;
  border-top: 1px solid rgba(218, 194, 154, 0.18);
  color: inherit;
  font-size: 1.05rem;
}

.cart-total-final strong {
  color: var(--gold);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.6rem;
}

.cart-clear {
  justify-self: center;
  padding: 0;
  border: none;
  background: none;
  color: rgba(250, 251, 245, 0.5);
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
}

@media (max-width: 1080px) {
  .shop-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .shop-layout {
    grid-template-columns: 1fr;
  }

  .shop-filters {
    position: static;
  }
}

@media (max-width: 560px) {
  .shop-grid {
    grid-template-columns: 1fr;
  }

  .dialog-layout:has(.dialog-media) {
    grid-template-columns: 1fr;
  }

  .dialog-media img {
    height: 200px;
  }
}
