/* ==========================================================
   CL IMPORTS — catálogo e página de produto
   ========================================================== */
.wrap-in { padding-top: 34px; padding-bottom: 60px; }
.crumbs { font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: var(--mute); display: flex; gap: 12px; flex-wrap: wrap; font-weight: 500; }
.crumbs a:hover { color: var(--gold-d); }
.crumbs span { color: var(--gold); }
.page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; padding: 34px 0 34px; border-bottom: 1px solid var(--line); margin-bottom: 40px; flex-wrap: wrap; }
.page-head h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(44px, 6vw, 92px); line-height: .95; letter-spacing: -.015em; margin-top: 16px; }
.page-head .count { font-size: 10.5px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold-d); font-weight: 600; padding-bottom: 8px; }

.cat-layout { display: grid; grid-template-columns: 230px 1fr; gap: 54px; align-items: start; }
.side { position: sticky; top: 100px; }
.side h4 { font-size: 10px; letter-spacing: .34em; text-transform: uppercase; color: var(--gold-d); margin: 0 0 14px; font-weight: 600; }
.side ul { list-style: none; margin-bottom: 36px; display: grid; gap: 2px; }
.side button { display: flex; justify-content: space-between; align-items: baseline; width: 100%; text-align: left; padding: 7px 0; font-size: 14px; color: var(--ink-2); transition: color .2s, padding .3s var(--ease); }
.side button small { font-size: 10px; letter-spacing: .1em; color: var(--mute); }
.side button:hover { color: var(--ink); padding-left: 6px; }
.side button.active { color: var(--ink); font-family: var(--serif); font-size: 20px; font-weight: 600; }
.side button.active::before { content: "✦"; color: var(--gold); font-size: 9px; margin-right: 9px; align-self: center; }
.side button.active { justify-content: flex-start; gap: 0; }
.side button.active small { margin-left: auto; }

.toolbar { display: flex; gap: 14px; align-items: center; margin-bottom: 34px; flex-wrap: wrap; }
.filter-btn { display: none; border: 1px solid var(--ink); padding: 13px 20px; font-size: 10.5px; letter-spacing: .24em; text-transform: uppercase; font-weight: 600; }
.search { flex: 1; min-width: 200px; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--ink); padding: 10px 0; }
.search svg { width: 18px; height: 18px; stroke: var(--ink); fill: none; stroke-width: 1.5; flex: none; }
.search input { flex: 1; background: transparent; border: 0; outline: 0; font-size: 14px; color: var(--ink); min-width: 0; }
.search input::placeholder { color: var(--mute); }
select#sort { background: transparent; border: 0; border-bottom: 1px solid var(--ink); padding: 11px 24px 11px 0; font: inherit; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink); font-weight: 600; outline: 0; cursor: pointer; }
.lux-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 46px 22px; }
.empty { grid-column: 1/-1; text-align: center; padding: 80px 0; font-family: var(--serif); font-style: italic; font-size: 28px; color: var(--mute); }
.more-wrap { text-align: center; margin-top: 64px; }
.btn-ghost { display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 18px 40px; border: 1px solid var(--ink); font-size: 11px; letter-spacing: .26em; text-transform: uppercase; font-weight: 600; transition: all .35s var(--ease); width: 100%; }
.more-wrap .btn-ghost { width: auto; }
.btn-ghost svg { width: 18px; height: 18px; fill: currentColor; }
.btn-ghost:hover { background: var(--ink); color: var(--bg-hi); }

/* ---------------- PÁGINA DO PRODUTO ---------------- */
.prod { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 70px; padding-top: 34px; align-items: start; }
.gallery { display: grid; grid-template-columns: 84px 1fr; gap: 16px; position: sticky; top: 96px; }
.gallery.single { grid-template-columns: 1fr; }
.thumbs-v { display: grid; gap: 12px; align-content: start; }
.gallery.single .thumbs-v { display: none; }
.thumbs-v button { aspect-ratio: 1; border: 1px solid var(--line-s); background: radial-gradient(ellipse at 50% 45%, #fffaf0, #efe2c1); display: grid; place-items: center; overflow: hidden; transition: border-color .3s; padding: 4px; }
.thumbs-v button img { width: 100%; height: 100%; object-fit: contain; }
.thumbs-v button img.photo { object-fit: cover; }
.thumbs-v button.active, .thumbs-v button:hover { border-color: var(--gold-d); }
.main-img { position: relative; aspect-ratio: 1 / 1.08; display: grid; place-items: center; overflow: hidden; background: radial-gradient(ellipse 70% 60% at 50% 44%, rgba(255, 252, 242, .98), rgba(246, 236, 210, .6) 65%, rgba(232, 217, 180, .4)); border: 1px solid var(--line-s); cursor: zoom-in; }
.main-img::before { content: ""; position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%; border: 1px solid var(--line-s); }
.main-img img { position: absolute; left: 8%; top: 8%; width: 84%; height: 84%; object-fit: contain; transition: transform .5s var(--ease), opacity .3s; filter: drop-shadow(0 28px 20px rgba(70, 50, 15, .3)); }
.main-img img.photo { left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; filter: none; }
.main-img.zoom img { transform: scale(1.7); }
.main-img .tagc { position: absolute; top: 16px; left: 18px; font-size: 9px; letter-spacing: .28em; text-transform: uppercase; color: var(--gold-d); font-weight: 600; z-index: 2; }
.ph { display: grid; place-items: center; }
.ph img { width: 24%; opacity: .2; }

.info .eyebrow { margin-bottom: 18px; }
.info h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(40px, 4.4vw, 68px); line-height: .98; letter-spacing: -.012em; }
.info .ref { font-size: 10px; letter-spacing: .28em; text-transform: uppercase; color: var(--mute); margin-top: 16px; font-weight: 500; }
.price-box { margin: 30px 0 30px; padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.price-box .consult { font-family: var(--serif); font-size: 30px; font-weight: 500; font-style: italic; color: var(--gold-d); }
.price-box .inst { font-size: 13px; color: var(--ink-2); margin-top: 8px; line-height: 1.6; }
.price-box .old { font-size: 14px; color: var(--mute); text-decoration: line-through; }
.price-box .now { font-family: var(--serif); font-size: 44px; font-weight: 600; line-height: 1.1; }
.price-box .off { font-family: var(--sans); font-size: 11px; background: var(--ink); color: var(--gold-l); padding: 4px 8px; margin-left: 12px; vertical-align: middle; letter-spacing: .1em; }
.price-box .pix { font-size: 13px; margin-top: 6px; color: var(--gold-d); }
.opt-label { font-size: 10px; letter-spacing: .3em; text-transform: uppercase; font-weight: 600; margin-bottom: 14px; display: flex; justify-content: space-between; }
.opt-label span { color: var(--gold-d); letter-spacing: .14em; }
.sizes { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 28px; }
.sizes button { min-width: 54px; height: 50px; padding: 0 12px; border: 1px solid var(--line); font-size: 13px; font-weight: 500; transition: all .25s; background: rgba(255, 252, 242, .5); }
.sizes button:hover { border-color: var(--ink); }
.sizes button.active { background: var(--ink); color: var(--gold-l); border-color: var(--ink); }
.sizes.shake { animation: shake .5s; }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.buy-row { display: flex; gap: 12px; margin-bottom: 12px; }
.qty-lg { display: inline-flex; align-items: center; border: 1px solid var(--line); background: rgba(255, 252, 242, .5); }
.qty-lg button { width: 46px; height: 58px; font-size: 18px; }
.qty-lg span { min-width: 34px; text-align: center; font-size: 14px; }
.buy-row .btn-dark { flex: 1; }
.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 34px 0; padding: 26px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: center; }
.trust svg { width: 28px; height: 28px; stroke: var(--gold-d); fill: none; stroke-width: 1.2; margin: 0 auto 10px; }
.trust b { display: block; font-size: 10px; letter-spacing: .26em; text-transform: uppercase; font-weight: 600; }
.trust span { font-size: 12px; color: var(--mute); }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; cursor: pointer; padding: 20px 0; display: flex; justify-content: space-between; font-family: var(--serif); font-size: 22px; font-weight: 500; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; color: var(--gold-d); font-family: var(--sans); font-weight: 300; font-size: 24px; line-height: 1; transition: transform .35s var(--ease); }
.acc details[open] summary::after { transform: rotate(45deg); }
.acc details p { padding: 0 0 20px; color: var(--ink-2); font-size: 14px; line-height: 1.75; }

.related { padding-top: 100px; padding-bottom: 110px; }
.related .sec-t { margin-bottom: 40px; }
.related h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(34px, 4vw, 56px); margin-top: 14px; }
.related .lux-grid { grid-template-columns: repeat(4, 1fr); }
.notfound { text-align: center; padding: 140px 0; }
.notfound h1 { font-family: var(--serif); font-weight: 500; font-size: 44px; margin-bottom: 28px; }
.sticky-buy { display: none; }

@media (max-width: 1100px) {
  .lux-grid { grid-template-columns: repeat(2, 1fr); }
  .related .lux-grid { grid-template-columns: repeat(2, 1fr); }
  .prod { gap: 40px; }
}
@media (max-width: 900px) {
  .cat-layout { grid-template-columns: 1fr; gap: 0; }
  .filter-btn { display: block; }
  .side { display: none; position: static; background: rgba(251, 245, 228, .7); border: 1px solid var(--line); padding: 22px; margin-bottom: 26px; }
  .side.open { display: block; }
  .page-head { padding: 24px 0; margin-bottom: 26px; }
  .lux-grid, .related .lux-grid { gap: 32px 12px; }
  .prod { grid-template-columns: 1fr; gap: 30px; padding-top: 18px; }
  .gallery { position: static; grid-template-columns: 1fr; }
  .thumbs-v { order: 2; display: flex; overflow-x: auto; }
  .thumbs-v button { width: 70px; flex: none; }
  .related { padding-top: 70px; padding-bottom: 130px; }
  .sticky-buy { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 54; background: var(--paper); border-top: 1px solid var(--line); padding: 12px 16px; gap: 14px; align-items: center; transform: translateY(110%); transition: transform .45s var(--ease); }
  .sticky-buy.show { transform: none; }
  .sticky-buy > div { flex: 1; font-family: var(--serif); font-size: 17px; line-height: 1.15; }
  .sticky-buy b { display: block; font-family: var(--sans); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-d); margin-top: 3px; }
  .sticky-buy .btn-dark { padding: 15px 26px; }
  body.has-sticky .wa-float { bottom: 82px; }
}
