/* ==========================================================================
   REC — Lojas (vitrine, página da loja e página do produto)
   ========================================================================== */
.chip[aria-current="page"] { background: var(--ameixa); color: var(--linho); border-color: var(--ameixa); }
a.chip { display: inline-flex; align-items: center; text-decoration: none; }
.shop { padding-bottom: var(--section-y); }
.shop .results-meta { margin-bottom: var(--s-5); }
.search-field form, form.search-field { margin: 0; }

/* Cartão de produto */
.product-grid { display: grid; gap: var(--s-5); grid-template-columns: repeat(auto-fill, minmax(min(46%, 15rem), 1fr)); }
@media (max-width: 599px) { .product-grid { gap: var(--s-3); } }
.product-card {
    position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: var(--r-md);
    background: var(--branco); border: 1px solid var(--bruma); transition: transform var(--d-base) var(--ease), box-shadow var(--d-base) var(--ease);
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--sh-3); }
.product-card:focus-within { box-shadow: var(--focus); }
.product-card__media { aspect-ratio: 4 / 3; background: var(--linho-2); overflow: hidden; }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.product-card:hover .product-card__media img { transform: scale(1.05); }
.product-card__empty { display: grid; place-items: center; width: 100%; height: 100%; color: var(--rosa); }
.product-card__body { display: grid; gap: 0.3rem; padding: var(--s-4); }
.product-card__cat { font-size: var(--t-xs); font-weight: 600; color: var(--rosa-profundo); }
.product-card__name { font-family: var(--f-sans); font-size: var(--t-base); font-weight: 600; line-height: 1.3; color: var(--ameixa); }
.product-card__name a { text-decoration: none; }
.product-card__name a::after { content: ""; position: absolute; inset: 0; }
.product-card__name a:focus-visible { box-shadow: none; }
.product-card__shop { font-size: var(--t-xs); color: var(--texto-suave); }
.product-card__price { margin-top: var(--s-1); font-family: var(--f-display); font-size: 1.35rem; color: var(--vinho); }

.pager { margin-top: var(--s-7); }
.pager ul { display: flex; flex-wrap: wrap; gap: var(--s-2); justify-content: center; list-style: none; padding: 0; }
.pager a { display: grid; place-items: center; min-width: 2.75rem; height: 2.75rem; border-radius: var(--r-pill); border: 1px solid var(--bruma); text-decoration: none; font-weight: 600; }
.pager a[aria-current="page"] { background: var(--ameixa); color: var(--linho); border-color: var(--ameixa); }

/* Lista de lojas */
.shop-list { margin-top: var(--s-9); }
.shop-list h2 { font-size: var(--t-xl); color: var(--ameixa); margin-bottom: var(--s-5); }
.shop-list__grid { display: grid; gap: var(--s-3); grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr)); }
.shop-chip { display: flex; gap: var(--s-3); align-items: center; padding: var(--s-3); border-radius: var(--r-md); border: 1px solid var(--bruma); background: var(--branco); text-decoration: none; transition: border-color var(--d-base), box-shadow var(--d-base); }
.shop-chip:hover { border-color: var(--rosa); box-shadow: var(--sh-2); }
.shop-chip strong { display: block; color: var(--ameixa); }
.shop-chip small { color: var(--texto-suave); font-size: var(--t-xs); }
.shop-chip__logo { flex: none; width: 3.5rem; height: 3.5rem; border-radius: 50%; overflow: hidden; background: var(--rosa-claro); }
.shop-chip__logo img { width: 100%; height: 100%; object-fit: cover; }

/* Cabeçalho da loja */
.store-hero { position: relative; padding-top: var(--header-h); background: var(--linho); }
.store-hero__cover { height: clamp(10rem, 28vw, 20rem); overflow: hidden; background: linear-gradient(135deg, var(--rosa-claro), var(--bruma)); }
.store-hero__cover img { width: 100%; height: 100%; object-fit: cover; }
.store-hero__body { display: grid; gap: var(--s-4); align-items: end; margin-top: -3.5rem; padding-bottom: var(--s-6); }
.store-hero__logo { width: 7.5rem; height: 7.5rem; border-radius: 50%; overflow: hidden; border: 5px solid var(--linho); background: var(--branco); box-shadow: var(--sh-2); position: relative; }
.store-hero__logo img { width: 100%; height: 100%; object-fit: cover; }
.store-hero h1 { font-size: var(--t-xl); color: var(--ameixa); }
.store-hero__meta { color: var(--texto-suave); }
.store-hero__actions { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.breadcrumb-light a { font-size: var(--t-sm); color: var(--rosa-profundo); }
@media (min-width: 900px) { .store-hero__body { grid-template-columns: auto 1fr auto; } }
.store-about { max-width: 46rem; margin-bottom: var(--s-6); color: var(--texto); line-height: 1.7; }
.store-tabs { margin-bottom: var(--s-5); }

/* Página do produto */
.product-page { padding-top: calc(var(--header-h) + var(--s-5)); }
.breadcrumb-panel { font-size: var(--t-sm); color: var(--texto-suave); margin-bottom: var(--s-5); }
.breadcrumb-panel a { color: var(--vinho); }
.product-layout { display: grid; gap: var(--s-7); }
@media (min-width: 900px) { .product-layout { grid-template-columns: 1.1fr 1fr; align-items: start; } .product-gallery { position: sticky; top: calc(var(--header-h) + 1rem); } }
.product-gallery__main { aspect-ratio: 4 / 3; border-radius: var(--r-lg); overflow: hidden; background: var(--linho-2); }
.product-gallery__main img { width: 100%; height: 100%; object-fit: contain; background: var(--linho-2); transition: opacity 0.3s var(--ease); }
.product-gallery__main img.is-swapping { opacity: 0; }
.product-gallery__thumbs { display: flex; gap: var(--s-2); margin-top: var(--s-3); overflow-x: auto; list-style: none; padding: 2px; }
.product-gallery__thumbs button { width: 5rem; height: 3.75rem; padding: 0; border-radius: var(--r-sm); overflow: hidden; border: 2px solid transparent; background: none; opacity: 0.7; }
.product-gallery__thumbs button[aria-current="true"] { border-color: var(--vinho); opacity: 1; }
.product-gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.product-info { display: grid; gap: var(--s-4); align-content: start; }
.product-info__cat { justify-self: start; font-size: var(--t-sm); font-weight: 600; color: var(--rosa-profundo); }
.product-info h1 { font-size: var(--t-xl); color: var(--ameixa); }
.product-info__shop { display: inline-flex; gap: var(--s-3); align-items: center; justify-self: start; text-decoration: none; font-weight: 600; color: var(--ameixa); }
.product-info__shop small { display: block; font-weight: 400; color: var(--texto-suave); font-size: var(--t-xs); }
.product-info__shop .shop-chip__logo { width: 2.75rem; height: 2.75rem; }
.product-info__price { font-family: var(--f-display); font-size: var(--t-lg); color: var(--vinho); }
.product-info__actions { display: flex; flex-wrap: wrap; gap: var(--s-3); }
.product-info__note { font-size: var(--t-xs); color: var(--texto-suave); }
.product-specs, .product-desc { padding-top: var(--s-5); border-top: 1px solid var(--bruma); }
.product-specs h2, .product-desc h2 { font-family: var(--f-sans); font-size: var(--t-sm); font-weight: 700; color: var(--rosa-profundo); margin-bottom: var(--s-3); }
.product-specs dl { display: grid; gap: 0; margin: 0; }
.product-specs dl > div { display: grid; grid-template-columns: minmax(8rem, 40%) 1fr; gap: var(--s-4); padding: var(--s-3) 0; border-bottom: 1px dashed var(--bruma); }
.product-specs dt { color: var(--texto-suave); font-size: var(--t-sm); }
.product-specs dd { margin: 0; font-weight: 600; color: var(--ameixa); }
.product-desc p { line-height: 1.75; }
.more-items__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: var(--s-3); margin-bottom: var(--s-5); }
.more-items__head h2 { font-size: var(--t-lg); color: var(--ameixa); }
