:root {
  --store-accent: coral;
  --store-action: #1d1d1d;
  --store-ink: #1d1d1d;
  --store-muted: #555;
  --store-line: rgba(29, 29, 29, 0.12);
  --store-bg: #edebe8;
  --store-card: rgba(255, 255, 255, 0.88);
  --stars-color: rgb(255, 183, 0);
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

body {
  margin: 0;
  color: var(--store-ink);
  background: var(--store-bg);
  font-family: Arial, Helvetica, sans-serif;
}

/* Os adornos laterais não fazem parte da identidade compartilhada das lojas. */
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.store-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(22px, 6vw, 84px);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(14px);
}

.store-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: #111;
  font-size: 19px;
  font-weight: 800;
}

.store-brand img {
  width: auto;
  height: 46px;
  object-fit: contain;
}

.store-brand-mark {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  color: #fff;
  background: var(--store-accent);
  border-radius: 8px;
}

.store-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: #111;
  font-size: 15px;
  font-weight: 600;
}

.store-nav a:hover { color: var(--store-accent); }

.cart-link span {
  display: inline-grid;
  min-width: 22px;
  height: 22px;
  margin-left: 5px;
  place-items: center;
  color: #fff;
  background: var(--store-accent);
  border-radius: 999px;
  font-size: 12px;
}

.mm-hero {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
  padding: 120px clamp(24px, 8vw, 120px) 76px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0;
  animation: heroFade 24s infinite;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(237, 235, 232, 0.94) 0%, rgba(237, 235, 232, 0.7) 38%, rgba(237, 235, 232, 0.12) 76%);
}

.hero-bg-1 { background-image: url("/assets/img/hero/hero-01.png"); animation-delay: 0s; }
.hero-bg-2 { background-image: url("/assets/img/hero/hero-02.png"); animation-delay: 6s; }
.hero-bg-3 { background-image: url("/assets/img/hero/hero-03.png"); animation-delay: 12s; }
.hero-bg-4 { background-image: url("/assets/img/hero/hero-04.png"); animation-delay: 18s; }

@keyframes heroFade {
  0% { opacity: 0; }
  8% { opacity: 1; }
  25% { opacity: 1; }
  33% { opacity: 0; }
  100% { opacity: 0; }
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 740px;
}

.eyebrow,
.product-category {
  display: block;
  margin-bottom: 12px;
  color: var(--store-accent);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-copy h1,
.mm-page-hero h1,
.product-info h1,
.cart-panel h1 {
  margin: 0 0 20px;
  color: #1d1d1d;
  font-size: clamp(2.4rem, 6vw, 5.9rem);
  font-weight: 800;
  line-height: 1.02;
}

.hero-copy p,
.mm-page-hero p,
.detail-description,
.empty-state p,
.empty-cart p {
  max-width: 650px;
  color: #333;
  font-size: 1.03rem;
  line-height: 1.78;
}

.hero-actions,
.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.primary-button,
.secondary-button,
.search-form button,
.icon-action {
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 800;
  text-transform: uppercase;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.primary-button,
.search-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  color: #fff;
  background: var(--store-action);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.18);
}

.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  color: #1d1d1d;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(29, 29, 29, 0.14);
}

.primary-button:hover,
.secondary-button:hover,
.search-form button:hover,
.icon-action:hover { transform: translateY(-2px); }

.primary-button[disabled],
.secondary-button[disabled],
.search-form button[disabled] {
  opacity: 0.56;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

.store-section,
.catalog-header,
.filter-bar,
.product-detail,
.cart-page,
.store-footer {
  padding-right: clamp(24px, 8vw, 120px);
  padding-left: clamp(24px, 8vw, 120px);
}

.store-section {
  padding-top: 72px;
  padding-bottom: 72px;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 30px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 800;
}

.text-link {
  color: var(--store-accent);
  font-weight: 800;
}

.line-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(130px, 1fr));
  gap: 16px;
}

.line-card,
.category-card,
.product-card,
.cart-panel,
.cart-summary {
  overflow: hidden;
  background: var(--store-card);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.08);
}

.line-card,
.category-card {
  position: relative;
}

.line-card { min-height: 210px; }
.category-card { min-height: 270px; }

.line-card img,
.category-card img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.line-card:hover img,
.category-card:hover img,
.product-card:hover img { transform: scale(1.04); }

.line-card span,
.category-card span {
  position: absolute;
  right: 14px;
  bottom: 14px;
  left: 14px;
  padding: 12px 14px;
  color: #fff;
  background: rgba(29, 29, 29, 0.82);
  border-radius: 8px;
  font-weight: 800;
}

.category-grid,
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(245px, 1fr));
  gap: 24px;
}

.product-card { background: rgba(255, 255, 255, 0.92); }

.product-card-image {
  position: relative;
  display: block;
  overflow: hidden;
  background: #e1ddd7;
}

.product-card-image img {
  width: 100%;
  aspect-ratio: 1 / 1.08;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 6px 10px;
  color: #fff;
  background: var(--store-accent);
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
}

.product-card-body {
  padding: 18px;
  text-align: center;
}

.product-card h3 {
  min-height: 52px;
  margin: 4px 0 9px;
  color: #1d1d1d;
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1.35;
}

.product-card p:not(.product-category) {
  min-height: 62px;
  margin: 0;
  color: #555;
  font-size: 0.88rem;
  line-height: 1.55;
}

.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 18px;
}

.product-card-footer strong,
.detail-price {
  color: var(--store-accent);
  font-size: 1.35rem;
  font-weight: 800;
}

.icon-action {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: #fff;
  background: #1d1d1d;
  font-size: 1.45rem;
  line-height: 1;
  text-decoration: none;
}

.mm-page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 460px);
  gap: 28px;
  align-items: end;
  min-height: 390px;
  padding-top: 140px;
  padding-bottom: 46px;
  background:
    linear-gradient(90deg, rgba(237, 235, 232, 0.95) 0%, rgba(237, 235, 232, 0.72) 48%, rgba(237, 235, 232, 0.18) 100%),
    url("/assets/img/banner/uniformes-slide-02.png") center / cover no-repeat;
}

.search-form { display: flex; gap: 10px; }

.search-form input,
.store-input,
.store-select {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  color: #1d1d1d;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(29, 29, 29, 0.18);
  border-radius: 8px;
}

.store-select option:disabled {
  color: #999;
}

.variation-picker {
  margin-top: 24px;
}

.variation-picker-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 10px;
}

.variation-picker-heading .field-label {
  margin: 0;
}

.variation-picker-heading span {
  max-width: 280px;
  color: #666;
  font-size: 0.82rem;
  line-height: 1.45;
  text-align: right;
}

.variation-choice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
}

.variation-choice {
  display: grid;
  gap: 4px;
  min-height: 112px;
  padding: 14px;
  color: #1d1d1d;
  text-align: left;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--store-line);
  border-radius: 8px;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.variation-choice:hover {
  border-color: var(--store-accent);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
  transform: translateY(-1px);
}

.variation-choice.is-selected {
  border-color: var(--store-accent);
  box-shadow: inset 0 0 0 2px var(--store-accent), 0 16px 34px rgba(0, 0, 0, 0.12);
}

.variation-choice small,
.variation-choice em {
  color: #666;
  font-size: 0.74rem;
  font-style: normal;
  font-weight: 800;
  text-transform: uppercase;
}

.variation-choice strong {
  font-size: 1rem;
  line-height: 1.25;
}

.variation-choice span {
  color: var(--store-accent);
  font-weight: 800;
}

.variation-choice:disabled,
.variation-choice[aria-disabled="true"] {
  color: #999;
  cursor: not-allowed;
  opacity: 0.58;
  transform: none;
}

.variation-choice:disabled:hover,
.variation-choice[aria-disabled="true"]:hover {
  border-color: var(--store-line);
  box-shadow: none;
}

.variation-native-select {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.single-variation-note {
  display: inline-block;
  margin: 18px 0 0;
  padding: 9px 12px;
  color: #333;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--store-line);
  border-radius: 8px;
  font-weight: 800;
}

.primary-button:disabled,
.primary-button[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.55;
  transform: none;
}

.filter-bar {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-top: 18px;
  padding-bottom: 18px;
}

.filter-bar a {
  flex: 0 0 auto;
  padding: 10px 15px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--store-line);
  border-radius: 999px;
  font-weight: 700;
}

.filter-bar a.active {
  color: #fff;
  background: var(--store-accent);
  border-color: var(--store-accent);
}

.catalog-results { padding-top: 28px; }
.pagination-wrap { margin-top: 28px; }
.pagination-wrap .pagination { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; list-style: none; }
.pagination-wrap .page-link { display: block; padding: 8px 12px; background: #fff; border: 1px solid var(--store-line); border-radius: 8px; }

.product-detail {
  display: grid;
  grid-template-columns: minmax(280px, 560px) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
  padding-top: 140px;
  padding-bottom: 72px;
}

.product-main-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.08);
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(76px, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.gallery-thumbs button {
  padding: 0;
  overflow: hidden;
  background: transparent;
  border: 1px solid var(--store-line);
  border-radius: 8px;
  cursor: pointer;
}

.gallery-thumbs img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.back-link {
  display: inline-block;
  margin-bottom: 18px;
  color: #555;
  font-weight: 700;
}

.product-editor-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: -4px 0 22px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--store-line);
  border-radius: 8px;
}

.product-editor-statuses {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  color: #5e5e5e;
  font-size: 0.78rem;
  font-weight: 700;
}

.product-editor-statuses i {
  margin-right: 4px;
  color: var(--store-action);
}

.product-editor-link {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 12px;
  color: #fff;
  background: #1d1d1d;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: none;
}

.product-editor-link:hover,
.product-editor-link:focus {
  color: #fff;
  background: var(--store-action);
  text-decoration: none;
}

.field-label {
  display: block;
  margin: 20px 0 8px;
  font-weight: 800;
}

.product-detail-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 10px;
  margin: 20px 0 4px;
}

.product-detail-list div {
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--store-line);
  border-radius: 8px;
}

.product-detail-list dt {
  color: #777;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.product-detail-list dd {
  margin: 4px 0 0;
  color: #1d1d1d;
  font-weight: 800;
}

.buyer-detail-list {
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  margin-top: 18px;
}

.buyer-detail-list dd {
  font-weight: 700;
  line-height: 1.45;
}

.product-stock-status {
  margin: 12px 0 0;
  color: #1f7a3a;
  font-weight: 800;
}

.product-stock-status.is-unavailable {
  color: #c73838;
}

.quantity-input { max-width: 160px; }

.cart-page {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  padding-top: 140px;
  padding-bottom: 72px;
}

.cart-panel,
.cart-summary { padding: 26px; }
.cart-summary { position: sticky; top: 110px; }
.cart-summary h2 { margin-top: 0; }

.cart-item,
.summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--store-line);
}

.checkout-note {
  margin: 14px 0 0;
  color: #666;
  font-size: 0.86rem;
  line-height: 1.55;
}

.cart-item-info {
  display: flex;
  align-items: center;
  gap: 14px;
}

.cart-item-info img {
  width: 78px;
  height: 78px;
  object-fit: cover;
  border-radius: 8px;
}

.cart-item-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cart-item-actions button {
  width: 34px;
  height: 34px;
  border: 1px solid var(--store-line);
  background: #fff;
  border-radius: 8px;
  cursor: pointer;
}

.full-button { width: 100%; margin-top: 14px; }

.checkout-form {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.checkout-form h3 {
  margin: 14px 0 0;
  font-size: 1rem;
}

.checkout-form label {
  display: grid;
  gap: 6px;
  color: #555;
  font-size: 0.82rem;
  font-weight: 800;
}

.checkout-form .checkout-payment-option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(30, 35, 45, 0.16);
  cursor: pointer;
}

.checkout-payment-option input {
  margin-top: 4px;
}

.checkout-payment-option span {
  display: grid;
  gap: 3px;
}

.checkout-payment-option small {
  color: #656b75;
  font-weight: 500;
}

.checkout-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.store-textarea {
  min-height: 88px;
  padding-top: 12px;
  resize: vertical;
}

.checkout-alert {
  margin-bottom: 14px;
  padding: 12px 14px;
  color: #8a2d2d;
  background: #fff1f1;
  border: 1px solid #ffd4d4;
  border-radius: 8px;
  font-weight: 800;
}

.checkout-success {
  max-width: 960px;
  min-height: 70vh;
  padding: 150px clamp(24px, 8vw, 120px) 80px;
}

.checkout-success h1 {
  max-width: 760px;
  margin: 10px 0 14px;
  font-size: clamp(2rem, 5vw, 4.2rem);
  line-height: 1;
}

.checkout-success > p {
  max-width: 680px;
  color: #555;
  font-size: 1.05rem;
  line-height: 1.7;
}

.order-confirmation-card {
  display: grid;
  grid-template-columns: repeat(3, minmax(160px, 1fr));
  gap: 12px;
  margin: 28px 0;
}

.order-confirmation-card div,
.order-confirmation-items,
.checkout-next-steps,
.checkout-delivery-card {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--store-line);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.07);
}

.order-confirmation-card div {
  padding: 18px;
}

.order-confirmation-card span {
  display: block;
  color: #777;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.order-confirmation-card strong {
  display: block;
  margin-top: 7px;
  color: #1d1d1d;
  font-size: 1.08rem;
}

.checkout-next-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin-bottom: 18px;
}

.checkout-next-steps div {
  padding: 18px;
  background: rgba(255, 255, 255, 0.76);
}

.checkout-next-steps span {
  display: grid;
  width: 34px;
  height: 34px;
  margin-bottom: 12px;
  place-items: center;
  color: #fff;
  background: var(--store-action);
  border-radius: 50%;
  font-weight: 800;
}

.checkout-next-steps strong,
.checkout-delivery-card strong {
  display: block;
  color: #1d1d1d;
}

.checkout-next-steps p,
.checkout-delivery-card p {
  margin: 7px 0 0;
  color: #666;
  line-height: 1.55;
}

.checkout-delivery-card {
  margin-bottom: 22px;
  padding: 18px;
}

.checkout-delivery-card span,
.checkout-section-title {
  color: #777;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.checkout-section-title {
  margin: 26px 0 12px;
}

.order-confirmation-items {
  display: grid;
  gap: 1px;
  overflow: hidden;
  margin-bottom: 24px;
}

.order-confirmation-items div {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.82);
}

.order-confirmation-items img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 8px;
}

.order-confirmation-items small {
  display: block;
  margin-top: 4px;
  color: #666;
}

.empty-state,
.empty-cart {
  grid-column: 1 / -1;
  padding: 28px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px dashed rgba(29, 29, 29, 0.2);
  border-radius: 8px;
}

.store-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 34px;
  padding-bottom: 34px;
  color: #fff;
  background: #1d1d1d;
}

.store-footer p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.74);
}

.store-footer-brand {
  display: inline-flex;
  align-items: center;
  min-height: 54px;
  padding: 6px 8px;
  background: #fff;
  border-radius: 4px;
}

.store-footer-brand img {
  width: auto;
  height: 62px;
  object-fit: contain;
}

.store-footer-brand--dark {
  min-height: 0;
  padding: 0;
  background: transparent;
}

@media (max-width: 1100px) {
  .line-grid { grid-template-columns: repeat(3, minmax(160px, 1fr)); }
}

@media (max-width: 900px) {
  body::before,
  body::after { display: none; }

  .store-header,
  .store-nav,
  .store-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .mm-page-hero,
  .product-detail,
  .cart-page {
    grid-template-columns: 1fr;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .cart-summary { position: static; }

  .order-confirmation-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .store-header { position: sticky; }

  .mm-hero,
  .mm-page-hero,
  .product-detail,
  .cart-page {
    padding-top: 54px;
  }

  .store-nav {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 14px;
  }

  .line-grid { grid-template-columns: 1fr 1fr; }

  .search-form,
  .variation-picker-heading,
  .cart-item,
  .checkout-grid {
    align-items: stretch;
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .variation-picker-heading span {
    max-width: none;
    text-align: left;
  }

  .product-card h3,
  .product-card p:not(.product-category) {
    min-height: auto;
  }
}
