.shop-hero {
  width: min(calc(100% - var(--page-gutter) * 2), var(--max-width));
  margin: 0 auto 28px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px 40px;
  align-items: end;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.shop-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 2.5vw, 2.125rem);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.05;
  margin: 0 0 14px;
  color: var(--ink);
  text-wrap: balance;
}

.shop-hero-lead {
  margin: 0;
  max-width: 58ch;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.65;
}

.shop-hero-meta {
  margin: 0;
  align-self: end;
  color: var(--ink-muted);
  font-size: 0.84rem;
  white-space: nowrap;
}

.shop-filter-bar {
  width: min(calc(100% - var(--page-gutter) * 2), var(--max-width));
  margin: 0 auto 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.shop-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.shop-filter-chip:hover,
.shop-filter-chip.is-active {
  color: var(--ink);
  border-color: var(--line-strong);
  background: rgba(17, 17, 17, 0.06);
}

.shop-filter-count {
  color: var(--champagne-deep);
  font-size: 0.75rem;
}

.shop-grid {
  width: min(calc(100% - var(--page-gutter) * 2), var(--max-width));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(18px, 2.5vw, 28px);
}

.shop-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.28s ease, transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.shop-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-3px);
}

.shop-card-media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  background: var(--bg-elevated);
  overflow: hidden;
}

.shop-card-media img,
.shop-card-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.shop-card:hover .shop-card-media img {
  transform: scale(1.03);
}

.shop-card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 1;
  padding: 6px 10px;
  border-radius: 999px;
  background: #111111;
  border: 1px solid #111111;
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.shop-card-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px 18px 20px;
  flex: 1;
}

.shop-card-category {
  margin: 0;
  color: var(--champagne-deep);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.shop-card-brand {
  margin: 0 0 4px;
  color: var(--ink);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.72;
}

.shop-card-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.35;
}

.shop-card-title a {
  color: var(--ink);
  text-decoration: none;
}

.shop-card-title a:hover {
  color: var(--champagne-light);
}

.shop-swatches {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.shop-swatch {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: var(--swatch, transparent);
  border: 1px solid rgba(0, 0, 0, 0.14);
  flex-shrink: 0;
}

.shop-swatch--unknown {
  background:
    linear-gradient(135deg, transparent 42%, rgba(17, 17, 17, 0.28) 42%, rgba(17, 17, 17, 0.28) 58%, transparent 58%);
  border: 1px dashed rgba(17, 17, 17, 0.3);
}

.shop-swatch--light {
  border-color: var(--line-strong);
}

.shop-swatches-label {
  color: var(--ink-muted);
  font-size: 0.78rem;
}

.shop-sizes {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 0;
}

.shop-size-pill {
  min-width: 34px;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.72rem;
  text-align: center;
}

.shop-size-more {
  color: var(--ink-muted);
  font-size: 0.72rem;
}

.shop-card-price-row,
.shop-product-price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}

.shop-price {
  color: var(--champagne-light);
  font-size: 1.08rem;
  font-weight: 500;
}

.shop-price--large {
  font-size: clamp(1.375rem, 1.8vw, 1.625rem);
}

.shop-price-compare {
  color: var(--ink-muted);
  font-size: 0.88rem;
  text-decoration: line-through;
}

.shop-card-status {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.shop-card-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin-top: auto;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.shop-card-cta:hover {
  color: var(--ink);
  border-color: #111111;
  background: rgba(17, 17, 17, 0.05);
}

.shop-empty {
  grid-column: 1 / -1;
  padding: 56px 16px;
  text-align: center;
  color: var(--ink-muted);
}

@media (max-width: 820px) {
  .shop-hero {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .shop-hero-meta {
    white-space: normal;
  }
}

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

  .shop-filter-bar {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 4px;
    scrollbar-width: thin;
  }
}

/* --- UX V1: card inteiro clicável (stretched link) --- */
.shop-card-link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

.shop-card:hover .shop-card-title a {
  text-decoration: underline;
}

.shop-card-link:focus-visible {
  outline: none;
}

.shop-card-link:focus-visible::after {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
  border-radius: var(--radius-md);
}

.shop-card-hint {
  margin-top: auto;
  color: var(--ink-muted);
  font-size: 0.82rem;
  font-weight: 500;
}

.shop-price {
  font-size: 1.12rem;
  font-weight: 500;
  color: var(--ink);
}

/* VISUAL PREMIUM V2 */
.shop-body{
  --max-width:1360px;
  --page-gutter:clamp(16px,3vw,40px);
  --bg-deep:#f4f1eb;
  --bg-elevated:#ece8e1;
  --bg-surface:#fff;
  --line:rgba(17,17,17,.10);
  --line-strong:rgba(17,17,17,.26);
  --ink:#111;
  --ink-soft:#34312d;
  --ink-muted:#7c776f;
  --champagne-deep:#756e63;
}
.shop-main{padding-top:44px}
.shop-hero{margin-bottom:22px;padding:36px 0 30px;border-bottom:1px solid rgba(17,17,17,.14);align-items:end}
.shop-hero-copy{max-width:820px}
.shop-hero-kicker{margin:0 0 14px;font:600 .69rem/1.2 var(--font-body);letter-spacing:.18em;color:#777066}
.shop-hero h1{font-family:"Bodoni Moda",Georgia,serif;font-size:clamp(2.8rem,5.3vw,5.6rem);line-height:.93;letter-spacing:-.035em;max-width:11ch;margin:0 0 22px}
.shop-hero-lead{max-width:56ch;font-size:.95rem;line-height:1.65;color:#5f5a53}
.shop-hero-meta{padding-bottom:4px;font-size:.74rem;letter-spacing:.04em}
.shop-filter-bar{margin-bottom:26px;gap:7px;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none}
.shop-filter-bar::-webkit-scrollbar{display:none}
.shop-filter-chip{min-height:34px;padding:0 13px;border-radius:2px;background:rgba(255,255,255,.48);font-size:.72rem;white-space:nowrap}
.shop-filter-chip:hover,.shop-filter-chip.is-active{background:#111;color:#fff;border-color:#111}
.shop-filter-chip.is-active .shop-filter-count{color:#d8d3ca}
.shop-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:34px 14px}
.shop-card{border:0;border-radius:0;background:transparent;overflow:visible;box-shadow:none}
.shop-card:hover{transform:none;border-color:transparent}
.shop-card-media{aspect-ratio:4/5;border-radius:2px;background:#e9e5de}
.shop-card-media img,.shop-card-photo{object-position:center center;transition:transform .55s cubic-bezier(.22,1,.36,1)}
.shop-card:hover .shop-card-media img{transform:scale(1.025)}
.shop-card-badge{top:10px;left:10px;padding:5px 8px;border-radius:2px;font-size:.58rem;letter-spacing:.11em}
.shop-card-body{padding:12px 2px 0;gap:5px}
.shop-card-brand{margin:0;font-size:.61rem;letter-spacing:.12em;color:#6e685f;opacity:1}
.shop-card-category{font-size:.6rem;letter-spacing:.12em;color:#9b948b}
.shop-card-title{font-size:.94rem;line-height:1.28;font-weight:500}
.shop-card-price-row{margin-top:2px}
.shop-price{font-size:.88rem;color:#111;font-weight:500}
.shop-price-compare{font-size:.74rem}
.shop-swatches{gap:5px;margin-top:3px}
.shop-swatch{width:10px;height:10px}
.shop-swatches-label{font-size:.65rem}
.shop-sizes{gap:4px;margin-top:2px}
.shop-size-pill{min-width:25px;padding:2px 6px;border-radius:2px;font-size:.61rem}
.shop-card-status{font-size:.65rem;color:#8a837a;margin-top:2px}
.shop-card-hint{font-size:.64rem;color:#777066;margin-top:2px}
@media(max-width:980px){
  .shop-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .shop-hero h1{max-width:13ch}
}
@media(max-width:680px){
  .shop-main{padding-top:24px;padding-bottom:48px}
  .shop-hero{padding:20px 0 20px;margin-bottom:14px;display:block}
  .shop-hero-kicker{font-size:.58rem;margin-bottom:10px}
  .shop-hero h1{font-size:clamp(2.15rem,10vw,3.4rem);max-width:10ch;margin-bottom:14px}
  .shop-hero-lead{font-size:.82rem;line-height:1.55;max-width:34ch}
  .shop-hero-meta{margin-top:14px;font-size:.66rem}
  .shop-filter-bar{margin-bottom:18px}
  .shop-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 9px}
  .shop-card-media{aspect-ratio:3/4}
  .shop-card-body{padding-top:8px;gap:3px}
  .shop-card-brand{font-size:.54rem}
  .shop-card-category{display:none}
  .shop-card-title{font-size:.78rem}
  .shop-price{font-size:.75rem}
  .shop-swatches-label,.shop-sizes,.shop-card-status,.shop-card-hint{display:none}
  .shop-card-badge{top:7px;left:7px;font-size:.5rem;padding:4px 6px}
}

.shop-payment-return-notice{
  margin:0 0 22px;
  padding:16px 18px;
  border:1px solid rgba(17,17,17,.14);
  border-radius:3px;
  background:rgba(255,255,255,.72);
  display:flex;
  align-items:center;
  gap:12px 18px;
  flex-wrap:wrap;
}
.shop-payment-return-notice strong{font-size:.82rem;letter-spacing:.02em}
.shop-payment-return-notice p{margin:0;flex:1 1 360px;font-size:.76rem;line-height:1.5;color:#5f5a53}
.shop-payment-return-notice a{font-size:.72rem;font-weight:600;text-decoration:underline;text-underline-offset:3px}
.shop-payment-return-notice.is-processing{border-left:3px solid #756e63}
.shop-payment-return-notice.is-review{border-left:3px solid #8b5f36}
@media(max-width:680px){
  .shop-payment-return-notice{margin-bottom:16px;padding:13px 14px;gap:7px}
  .shop-payment-return-notice strong,.shop-payment-return-notice p,.shop-payment-return-notice a{width:100%}
}


.shop-search{
  width:min(calc(100% - var(--page-gutter) * 2),var(--max-width));
  margin:0 auto 18px;
}
.shop-search-label{
  display:block;
  margin-bottom:7px;
  font-size:.62rem;
  font-weight:600;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:#777066;
}
.shop-search-row{display:flex;gap:7px;align-items:center}
.shop-search-input{
  flex:1 1 auto;
  min-width:0;
  min-height:40px;
  padding:0 13px;
  border:1px solid var(--line-strong);
  border-radius:2px;
  background:rgba(255,255,255,.72);
  color:var(--ink);
  font:500 .78rem/1 var(--font-body);
}
.shop-search-input:focus{outline:2px solid rgba(17,17,17,.18);outline-offset:1px}
.shop-search-button,.shop-search-clear{
  min-height:40px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0 15px;
  border-radius:2px;
  font:600 .7rem/1 var(--font-body);
  text-decoration:none;
}
.shop-search-button{border:1px solid #111;background:#111;color:#fff;cursor:pointer}
.shop-search-clear{border:1px solid var(--line-strong);color:var(--ink);background:transparent}
@media(max-width:560px){
  .shop-search-row{flex-wrap:wrap}
  .shop-search-input{flex-basis:100%}
  .shop-search-button,.shop-search-clear{flex:1 1 auto}
}
