/* Look Store — cards de produto e página de produto. */

/* ---------- Cards ---------- */
.woocommerce ul.products li.product { position:relative; }
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link { display:block; color:var(--look-ink,#111); text-decoration:none; }
.look-card-media { position:relative; display:block; overflow:hidden; aspect-ratio:3/4; background:#f2f2f2; }
.look-card-media img { display:block; width:100% !important; height:100% !important; margin:0 !important; object-fit:cover; transition:transform .6s ease, opacity .4s ease; }
.look-card-media .look-card-alt { position:absolute; inset:0; opacity:0; }
@media (hover:hover) {
  li.product:hover .look-card-media img:not(.look-card-alt) { transform:scale(1.12); }
  li.product:hover .look-card-media .look-card-alt { opacity:1; transform:none; }
  li.product:hover .look-card-media:has(.look-card-alt) img:not(.look-card-alt) { transform:none; }
}
.look-badge { position:absolute; top:12px; left:12px; z-index:2; padding:4px 8px; border-radius:4px; font:700 12px/1.2 "DM Sans",sans-serif; letter-spacing:.02em; }
.look-badge.is-sale { background:#d4213d; color:#fff; }
.look-badge.is-new { background:#fff; color:#111; box-shadow:0 1px 4px rgba(0,0,0,.18); }

.woocommerce ul.products li.product .woocommerce-loop-product__title { padding:12px 12px 4px !important; font:400 15px/1.4 "DM Sans",sans-serif !important; color:#222 !important; }
.woocommerce ul.products li.product .look-price { display:block; padding:0 12px 4px; font:400 15px/1.4 "DM Sans",sans-serif; color:#111; }
.look-price del { color:#888; font-size:.85em; margin-right:4px; }
.look-price strong { font-weight:600; }
.look-price strong.is-sale { color:#d4213d; }
.look-installments { color:#777; font-size:.8em; white-space:nowrap; }

/* Compra rápida sobre a foto */
.look-quick { position:absolute; top:0; left:0; right:0; z-index:3; display:flex; align-items:flex-end; aspect-ratio:3/4; pointer-events:none; }
.look-quick-panel {
  width:100%; padding:12px 14px 14px; background:rgba(255,255,255,.94); pointer-events:auto;
  opacity:0; transform:translateY(12px); transition:opacity .2s ease, transform .2s ease;
}
li.product:hover .look-quick-panel, .look-quick-panel:focus-within { opacity:1; transform:none; }
.look-quick-sizes { display:flex; flex-wrap:wrap; justify-content:center; gap:6px; margin-bottom:10px; }
.look-size {
  min-width:38px; height:34px; padding:0 8px; border:1px solid #bbb !important; border-radius:6px; background:#fff !important; color:#111 !important;
  font:500 13px/1 "DM Sans",sans-serif; cursor:pointer;
}
.look-size:hover { border-color:#111 !important; }
.look-size[aria-pressed="true"] { background:#111 !important; border-color:#111 !important; color:#fff !important; }
.look-size:disabled { color:#bbb !important; border-color:#e2e2e2 !important; text-decoration:line-through; cursor:not-allowed; }
.look-quick-buy {
  display:flex; align-items:center; justify-content:center; gap:10px; width:100%; min-height:42px; padding:10px; border:0; border-radius:6px;
  background:#111 !important; color:#fff !important; font:600 15px/1 "DM Sans",sans-serif !important; letter-spacing:.02em; text-decoration:none !important; cursor:pointer;
}
.look-quick-buy:hover { background:#333 !important; }
.look-quick-buy:disabled { opacity:.6; }
.look-quick-buy svg, .look-pdp-buy-btn svg { width:20px; height:20px; fill:none; stroke:currentColor; stroke-width:1.6; }
.look-quick-msg { margin:6px 0 0; text-align:center; font-size:12px; color:#d4213d; }
.look-quick-msg:empty { display:none; }
.look-quick.is-shake .look-quick-sizes { animation:look-shake .35s; }
@keyframes look-shake { 25% { transform:translateX(-5px); } 75% { transform:translateX(5px); } }
@media (hover:none), (max-width:767px) { .look-quick { display:none; } }
.look-quick :focus-visible { outline:2px solid #111; outline-offset:2px; }

/* Aviso de sacola */
.look-toast {
  position:fixed; right:24px; bottom:24px; z-index:100001; width:min(360px, calc(100% - 32px)); padding:18px 20px;
  background:#fff; box-shadow:0 12px 40px rgba(0,0,0,.2); font-family:"DM Sans",sans-serif;
  opacity:0; visibility:hidden; transform:translateY(12px); transition:opacity .2s, transform .2s, visibility .2s;
}
.look-toast.is-visible { opacity:1; visibility:visible; transform:none; }
.look-toast p { margin:0 0 12px; font-size:14px; color:#333; }
.look-toast p strong { display:block; font-size:15px; color:#111; }
.look-toast.is-error p { margin:0; } .look-toast.is-error strong { color:#d4213d; }
.look-toast div { display:flex; gap:8px; }
.look-toast a { flex:1; display:flex; align-items:center; justify-content:center; min-height:40px; padding:8px; background:#111; color:#fff !important; font-size:12px; font-weight:600; letter-spacing:.06em; text-transform:uppercase; text-decoration:none !important; }
.look-toast a.is-outline { background:#fff; color:#111 !important; border:1px solid #111; }
@media (max-width:767px) { .look-toast { left:16px; right:16px; bottom:16px; width:auto; } }

/* ---------- Página de produto ---------- */
body.single-product main.site-main { max-width:none !important; width:100%; padding:0 0 56px !important; }
body.single-product .woocommerce-notices-wrapper { max-width:1440px; margin:0 auto; padding:0 24px; }
.look-pdp { display:grid; grid-template-columns:minmax(0,1.45fr) minmax(360px,1fr); gap:0 48px; align-items:stretch; max-width:none; margin:0; padding:0 clamp(20px,4vw,72px) 0 0; }
.look-pdp-gallery { position:relative; align-self:start; }
.look-pdp-track { display:grid; grid-template-columns:1fr 1fr; gap:4px; }
.look-pdp-shot { margin:0; background:#f2f2f2; }
.look-pdp-shot:last-child:nth-child(odd) { grid-column:1/-1; }
.look-pdp-shot:last-child:nth-child(odd) img { aspect-ratio:3/2; }
.look-pdp-zoom { display:block; width:100%; padding:0; border:0; background:none !important; cursor:zoom-in; }
.look-pdp-zoom img { display:block; width:100%; height:auto; aspect-ratio:3/4; object-fit:cover; }
.look-pdp-gallery .look-badge { top:16px; left:16px; font-size:13px; }
.look-pdp-dots { display:none; }
.look-pdp-note { position:absolute; right:12px; bottom:12px; margin:0; padding:3px 8px; background:rgba(255,255,255,.85); font-size:11px; color:#555; }

.look-pdp-info { min-width:0; }
.look-pdp-sticky { position:sticky; top:calc(var(--look-admin-offset,0px) + 88px); padding:24px 0 32px; font-family:"DM Sans",sans-serif; color:#111; }
.look-pdp .woocommerce-breadcrumb { margin:0 0 10px !important; font-size:13px !important; color:#999 !important; }
.look-pdp .woocommerce-breadcrumb a { color:#333 !important; text-decoration:none; }
.look-crumb-sep { margin:0 8px; color:#999; }
.look-pdp-ref { margin:0 0 4px; font-size:12px; color:#999; letter-spacing:.04em; }
.look-pdp-titlerow { display:flex; align-items:flex-start; justify-content:space-between; gap:16px; }
.single-product h1.look-pdp-title { display:block !important; margin:0 0 8px; font:600 28px/1.25 "DM Sans",sans-serif !important; text-transform:none !important; letter-spacing:-.01em; color:#111; }
.look-pdp-share { flex:0 0 auto; display:grid; place-items:center; width:40px; height:40px; padding:0; border:0; background:none !important; color:#111 !important; cursor:pointer; }
.look-pdp-share svg { width:22px; height:22px; fill:none; stroke:currentColor; stroke-width:1.5; }
.look-pdp-share.is-copied { color:#1a8f4c !important; }
.look-pdp-tag { display:inline-block; margin-bottom:10px; padding:2px 8px; border:1.5px solid #111; border-radius:6px; font-size:12px; font-weight:700; }
.look-pdp-price { padding-bottom:20px; margin-bottom:20px; border-bottom:1px solid #e5e5e5; }
.look-pdp-price .look-price { display:block; font-size:24px; }
.look-pdp-price .look-installments { font-size:14px; margin-left:4px; }
.look-pix { display:block; margin-top:4px; font-size:14px; color:#1a8f4c; font-weight:600; }
.look-pix small { font-weight:400; color:#555; font-size:12px; }

.look-pdp-form { margin:0 !important; }
.look-pdp-attr { margin:0 0 16px; padding:0; border:0; }
.look-pdp-attr legend { margin-bottom:10px; padding:0; font-size:14px; font-weight:500; }
.look-pdp-chosen { font-weight:400; color:#555; }
.look-pdp-options { display:flex; flex-wrap:wrap; gap:8px; }
.look-pdp-option { position:relative; margin:0; cursor:pointer; }
.look-pdp-option input { position:absolute; opacity:0; width:1px; height:1px; }
.look-pdp-option span { display:grid; place-items:center; min-width:46px; height:44px; padding:0 12px; border:1px solid #c9c9c9; border-radius:6px; background:#fff; font-size:14px; transition:border-color .15s, background .15s; }
.look-pdp-option:hover span { border-color:#111; }
.look-pdp-option input:checked + span { background:#111; border-color:#111; color:#fff; }
.look-pdp-option input:focus-visible + span { outline:2px solid #111; outline-offset:2px; }
.look-pdp-option.is-out { cursor:not-allowed; }
.look-pdp-option.is-out span { color:#bbb; border-color:#e5e5e5; background:linear-gradient(to top right, transparent calc(50% - .5px), #ddd, transparent calc(50% + .5px)); }
.look-pdp-links { margin:0 0 20px; }
.look-pdp-sizeguide { display:inline-flex; align-items:center; gap:8px; padding:0; border:0; background:none !important; color:#111 !important; font:500 14px/1.4 "DM Sans",sans-serif; text-decoration:underline; text-underline-offset:3px; cursor:pointer; }
.look-pdp-sizeguide svg { width:22px; height:22px; fill:none; stroke:currentColor; stroke-width:1.4; }
.look-pdp-buy { display:flex; gap:12px; }
.look-pdp-buy .look-qty { flex:0 0 auto; }
.look-pdp-buy-btn { min-width:0; }
@media (max-width:340px) { .look-pdp-buy { gap:8px; } .look-qty-btn { width:32px; } .look-qty input { width:28px; } .look-pdp-buy-btn { gap:8px; font-size:15px !important; } .look-pdp-ship-row button { padding:0 14px; } }
.look-qty { display:flex; align-items:center; border:1px solid #c9c9c9; border-radius:6px; }
.look-qty-btn { width:40px; height:52px; padding:0; border:0; background:none !important; color:#111 !important; font-size:20px; cursor:pointer; }
.look-qty input { width:36px; height:52px; padding:0; border:0 !important; background:none; text-align:center; font-size:16px; -moz-appearance:textfield; }
.look-qty input::-webkit-inner-spin-button, .look-qty input::-webkit-outer-spin-button { -webkit-appearance:none; margin:0; }
.look-pdp-buy-btn {
  flex:1; display:flex; align-items:center; justify-content:center; gap:12px; min-height:54px; border:0; border-radius:6px;
  background:#111 !important; color:#fff !important; font:600 17px/1 "DM Sans",sans-serif !important; letter-spacing:.02em; cursor:pointer;
}
.look-pdp-buy-btn:hover { background:#333 !important; }
.look-pdp-buy-btn.is-loading { opacity:.6; pointer-events:none; }
.look-pdp-msg { margin:10px 0 0; font-size:14px; color:#d4213d; }
.look-pdp-msg:empty { display:none; }
.look-pdp-soldout { padding:14px; background:#f4f4f4; text-align:center; font-weight:600; }

.look-pdp-ship { margin:24px 0 8px; padding:18px 20px; background:#f4f4f4; border-radius:6px; }
.look-pdp-ship label { display:block; margin-bottom:10px; font-size:13px; }
.look-pdp-ship-row { display:flex; gap:10px; }
.look-pdp-ship-row input { flex:1; min-width:0; height:44px; padding:0 14px; border:0 !important; border-radius:6px; background:#fff; font-size:15px; }
.look-pdp-ship-row button { padding:0 22px; border:1px solid #111 !important; border-radius:6px; background:#fff !important; color:#111 !important; font:600 14px/1 "DM Sans",sans-serif; cursor:pointer; }
.look-pdp-ship-row button:hover { background:#111 !important; color:#fff !important; }
.look-pdp-ship-help { display:inline-block; margin-top:8px; font-size:12px; color:#555 !important; }
.look-pdp-ship-result:empty { display:none; }
.look-pdp-ship-result { margin-top:12px; font-size:14px; }
.look-pdp-ship-result p { margin:0 0 6px; }
.look-pdp-ship-result .is-error { color:#d4213d; }
.look-ship-place { font-weight:600; }
.look-pdp-ship-result ul { list-style:none; margin:0; padding:0; }
.look-pdp-ship-result li { display:flex; justify-content:space-between; gap:12px; padding:8px 0; border-top:1px solid #e2e2e2; }

.look-pdp-accordions { margin-top:20px; }
.look-pdp-accordions details { border-bottom:1px solid #e5e5e5; }
.look-pdp-accordions summary { display:flex; justify-content:space-between; align-items:center; padding:18px 0; list-style:none; font-size:14px; font-weight:600; letter-spacing:.12em; text-transform:uppercase; cursor:pointer; }
.look-pdp-accordions summary::-webkit-details-marker { display:none; }
.look-pdp-accordions summary::after { content:"+"; font-size:24px; font-weight:300; line-height:1; }
.look-pdp-accordions details[open] summary::after { content:"−"; }
.look-pdp-acc-body { padding:0 0 20px; font-size:15px; line-height:1.65; color:#333; }
.look-pdp-acc-body p { margin:0 0 10px; }
.look-pdp-details { list-style:none; margin:0; padding:0; }
.look-pdp-details li { display:grid; grid-template-columns:120px 1fr; gap:12px; padding:6px 0; }
.look-pdp-details span { color:#777; }
.look-pdp-details a { color:#111; }

.look-pdp-perks { display:grid; grid-template-columns:repeat(3,1fr); list-style:none; margin:24px 0 0; padding:0; }
.look-pdp-perks li { display:flex; flex-direction:column; align-items:center; gap:4px; padding:4px 10px; text-align:center; font-size:12px; line-height:1.4; color:#333; }
.look-pdp-perks li + li { border-left:1px solid #222; }
.look-pdp-perks svg { width:24px; height:24px; margin-bottom:4px; fill:none; stroke:#111; stroke-width:1.4; }
.look-pdp-perks strong { font-size:13px; color:#111; }

.look-pdp-related { padding:56px clamp(16px,2vw,24px) 0; }
.look-pdp-related .related > h2 { margin:0 0 28px; text-align:center; font:800 28px/1.2 "DM Sans",sans-serif; text-transform:uppercase; letter-spacing:-.01em; }
.look-pdp-related ul.products { grid-template-columns:repeat(4,minmax(0,1fr)) !important; gap:32px 10px !important; }

/* Diálogos */
.look-dialog { padding:32px; border:0; max-width:min(560px, calc(100% - 32px)); font-family:"DM Sans",sans-serif; color:#111; }
.look-dialog::backdrop { background:rgba(17,17,17,.6); }
.look-dialog h2 { margin:0 0 6px; font:600 24px/1.2 "Playfair Display",serif; }
.look-dialog > p { margin:0 0 18px; color:#555; font-size:14px; }
.look-dialog table { width:100%; border-collapse:collapse; font-size:14px; }
.look-dialog th, .look-dialog td { padding:10px 12px; border-bottom:1px solid #eee; text-align:center; }
.look-dialog th { font-size:12px; letter-spacing:.1em; text-transform:uppercase; color:#666; }
.look-dialog-close { position:absolute; top:8px; right:8px; z-index:2; width:40px; height:40px; padding:0; border:0; background:none !important; color:#111 !important; font-size:28px; line-height:1; cursor:pointer; }
.look-lightbox { max-width:none; max-height:none; width:100vw; height:100dvh; padding:0; background:#fff; }
.look-lightbox[open] { display:grid; place-items:center; }
.look-lightbox img { max-width:100%; max-height:100dvh; object-fit:contain; }
.look-lightbox-nav { position:absolute; top:50%; transform:translateY(-50%); width:56px; height:72px; padding:0; border:0; background:rgba(255,255,255,.7) !important; color:#111 !important; font-size:44px; line-height:1; cursor:pointer; }
.look-lightbox-nav.is-prev { left:12px; } .look-lightbox-nav.is-next { right:12px; }
.look-lightbox .look-dialog-close { top:16px; right:16px; font-size:36px; }

@media (max-width:1024px) {
  .look-pdp { grid-template-columns:minmax(0,1.2fr) minmax(320px,1fr); gap:0 28px; padding-right:24px; }
}
@media (max-width:767px) {
  .look-pdp { display:block; padding:0; }
  .look-pdp-track { display:flex; gap:0; overflow-x:auto; scroll-snap-type:x mandatory; scrollbar-width:none; overscroll-behavior-x:contain; }
  .look-pdp-track::-webkit-scrollbar { display:none; }
  .look-pdp-shot { flex:0 0 100%; scroll-snap-align:start; }
  .look-pdp-shot:last-child:nth-child(odd) img { aspect-ratio:3/4; }
  .look-pdp-dots { position:absolute; left:0; right:0; bottom:12px; display:flex; justify-content:center; gap:6px; pointer-events:none; }
  .look-pdp-dots span { width:7px; height:7px; border-radius:50%; background:rgba(255,255,255,.6); box-shadow:0 0 2px rgba(0,0,0,.3); }
  .look-pdp-dots span.is-active { background:#fff; width:18px; border-radius:4px; }
  .look-pdp-note { bottom:auto; top:12px; right:12px; }
  .look-pdp-sticky { position:static; padding:20px 16px 8px; }
  .single-product h1.look-pdp-title { font-size:22px !important; }
  .look-pdp-price .look-price { font-size:22px; }
  .look-pdp-perks li { padding:4px 6px; font-size:11px; }
  .look-pdp-related { padding:40px 0 0; }
  .look-pdp-related .related > h2 { font-size:22px; }
  .look-pdp-related ul.products { grid-template-columns:repeat(2,minmax(0,1fr)) !important; gap:24px 8px !important; }
  .look-lightbox-nav { width:44px; height:56px; font-size:36px; }
}

/* Barra fixa de compra (celular) */
.look-buybar { position:fixed; left:0; right:0; bottom:0; z-index:99970; display:flex; align-items:center; gap:12px; padding:10px 16px calc(10px + env(safe-area-inset-bottom)); background:#fff; border-top:1px solid #e5e5e5; box-shadow:0 -6px 20px rgba(0,0,0,.08); transform:translateY(110%); transition:transform .25s ease; font-family:"DM Sans",sans-serif; }
.look-buybar.is-visible { transform:none; }
.look-buybar-info { flex:1; min-width:0; display:flex; flex-direction:column; }
.look-buybar-info strong { overflow:hidden; white-space:nowrap; text-overflow:ellipsis; font-size:13px; font-weight:500; }
.look-buybar-price { font-size:15px; font-weight:700; }
.look-buybar-btn { min-height:46px; padding:0 26px; border:0; border-radius:6px; background:#111 !important; color:#fff !important; font:600 15px/1 "DM Sans",sans-serif; cursor:pointer; }
@media (min-width:768px) { .look-buybar { display:none; } }
.look-has-buybar .look-chat { bottom:84px !important; }
@media (prefers-reduced-motion:reduce) { .look-buybar { transition:none; } }

/* Complete o look */
.look-ctl { max-width:1340px; margin:56px auto 0; padding:0 24px; font-family:"DM Sans",sans-serif; }
.look-ctl h2 { margin:0 0 20px; font:500 22px/1.2 "DM Sans",sans-serif; letter-spacing:.12em; text-transform:uppercase; text-align:center; }
.look-ctl-list { display:grid; grid-template-columns:repeat(auto-fit,minmax(260px,1fr)); gap:16px; margin:0; padding:0; list-style:none; }
.look-ctl-item { display:grid; grid-template-columns:110px minmax(0,1fr); gap:14px; padding:12px; border:1px solid #e7e7e7; border-radius:8px; background:#fff; }
.look-ctl-img img { display:block; width:110px; height:146px; object-fit:cover; border-radius:4px; background:#f3f3f3; }
.look-ctl-info { display:flex; flex-direction:column; gap:6px; min-width:0; }
.look-ctl-name { font-size:14px; font-weight:500; color:#111 !important; text-decoration:none !important; }
.look-ctl-name:hover { text-decoration:underline !important; }
.look-ctl-info .look-price { padding:0; font-size:14px; }
.look-ctl-buy { display:flex; flex-wrap:wrap; gap:8px; margin-top:auto; }
.look-ctl-select { flex:1 1 120px; min-width:0; height:40px; padding:0 8px; border:1px solid #c9c9c9; border-radius:4px; background:#fff; font-size:13px; }
.look-ctl-add { flex:0 0 auto; height:40px; padding:0 16px; border:0; border-radius:4px; background:#111 !important; color:#fff !important; font:600 13px/1 "DM Sans",sans-serif; cursor:pointer; }
.look-ctl-add:disabled { opacity:.6; }
.look-ctl-add:focus-visible, .look-ctl-select:focus-visible { outline:2px solid #111; outline-offset:2px; }
.look-ctl-msg { margin:0; font-size:12px; color:#b42318; }
.look-ctl-msg:empty { display:none; }
@media (max-width:767px) { .look-ctl { margin-top:40px; padding:0 16px; } .look-ctl h2 { font-size:18px; } }
.look-pdp-track { transition:opacity .16s ease; } .look-pdp-track.is-swapping { opacity:.25; } @media (prefers-reduced-motion:reduce) { .look-pdp-track { transition:none; } }
