/* Alex Reposição V7: navegação, escolha de lojas e câmera na lista principal. */
:root{--ar-v7-copper:#c9692b;--ar-v7-copper-light:#efab73;--ar-v7-navy:#172630;--ar-v7-ink:#edf2f6}
/* Escolha da loja: cartões concisos, com dados claros mesmo em telas pequenas. */
.ar-shop-entrance{border-radius:21px;padding:19px;box-shadow:0 8px 28px #07111c14}
.ar-shop-welcome{padding:3px 2px 18px}
.ar-shop-welcome .ar-shop-eyebrow{font-size:10px;letter-spacing:.14em;color:var(--ar-orange)}
.ar-shop-welcome h2{font-size:clamp(24px,4.8vw,30px);letter-spacing:-.045em;margin:7px 0 5px}
.ar-shop-welcome p{font-size:13px;max-width:42ch;line-height:1.48}
.ar-shop-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
.ar-shop-tile,.ar-shop-tile:link,.ar-shop-tile:visited{min-width:0;min-height:0;display:flex;flex-direction:column;align-items:stretch;gap:11px;text-decoration:none;padding:16px;background:var(--ar-surface-2);border:1px solid var(--ar-border);border-radius:17px;color:var(--ar-ink);box-shadow:0 2px 3px #142c3812;transition:transform .15s,border-color .15s,background .15s}
.ar-shop-tile:hover{background:color-mix(in srgb,var(--ar-orange) 8%,var(--ar-surface-2));border-color:var(--ar-orange);transform:translateY(-1px)}
.ar-shop-tile-top{display:flex;align-items:flex-start;justify-content:space-between;gap:7px}
.ar-shop-tile-icon{display:grid;place-items:center;flex:none;width:40px;height:40px;border-radius:12px;border:1px solid var(--ar-border);background:var(--ar-surface);color:var(--ar-orange)}
.ar-shop-tile-icon svg{width:21px;height:21px;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.ar-shop-tile-count{display:grid;place-items:center;min-width:32px;height:28px;padding:0 8px;border-radius:9px;background:color-mix(in srgb,var(--ar-orange) 14%,var(--ar-surface));color:var(--ar-orange);border:1px solid color-mix(in srgb,var(--ar-orange) 22%,var(--ar-border));font-size:15px;font-weight:850;font-variant-numeric:tabular-nums;line-height:1}
.ar-shop-tile-copy{min-width:0;flex:1;display:block}
.ar-shop-tile-copy strong{color:var(--ar-ink);font-size:15px;font-weight:850;letter-spacing:-.02em;overflow-wrap:anywhere;line-height:1.25}
.ar-shop-tile-copy small{display:block;color:var(--ar-ink-soft);font-size:11px;margin-top:5px;line-height:1.3}
.ar-shop-tile-enter{display:flex;align-items:center;justify-content:space-between;gap:5px;border-top:1px solid var(--ar-border);padding-top:10px;color:var(--ar-orange);font-size:11px;font-weight:850}
.ar-shop-tile-enter span{font-size:16px}
.ar-shop-tile.ar-shop-all{grid-column:1/-1;min-height:104px;display:grid;grid-template-columns:46px minmax(0,1fr) auto;align-items:center;column-gap:12px;row-gap:0;padding:18px 17px;border:1px solid #ab663d;background:linear-gradient(120deg,#493629,#352c28);box-shadow:0 7px 22px #00000014}
.ar-shop-all .ar-shop-tile-icon{background:#f4b07816;border:1px solid #bf8b68;color:#ffb67d}
.ar-shop-all .ar-shop-tile-copy strong{color:#fff;font-size:17px}
.ar-shop-all .ar-shop-tile-copy small{color:#e7cabb;font-size:12px;line-height:1.4}
.ar-shop-all .ar-shop-tile-count{color:#fff;background:#a65b2c;border-color:#cb804c;font-size:17px;min-width:37px;height:35px}
.ar-shop-all .ar-shop-tile-enter{grid-column:2/-1;color:#ffbb83;border-color:#ffffff24;margin-top:9px;padding-top:8px}
html[data-theme='dark'] .ar-shop-tile:not(.ar-shop-all){background:#283845;border-color:#495c6d}
html[data-theme='dark'] .ar-shop-tile:hover:not(.ar-shop-all){background:#304351;border-color:#b8794f}
/* Menu inferior: fundo azul-petróleo e seleção em cobre intenso com texto branco. */
@media(max-width:600px){
 .mobile-nav{background:#101e28!important;border-top:1px solid #394b58!important;box-shadow:0 -7px 24px #00000024!important;gap:5px!important;padding:7px 9px calc(8px + env(safe-area-inset-bottom))!important}
 .mobile-nav>a,.mobile-more-menu summary{border-radius:12px!important;border:1px solid transparent!important;transition:background .15s,color .15s,border-color .15s}
 .mobile-nav a.active,.mobile-nav a.active:hover{background:linear-gradient(145deg,#c46c32,#9d4b1e)!important;color:#fff!important;border:1px solid #d88b56!important;box-shadow:0 3px 11px #09121e55!important}
 .mobile-nav a.active small,.mobile-nav a.active .nav-icon,.mobile-nav a.active .nav-icon svg{color:#fff!important;stroke:#fff!important}
 .mobile-nav a:not(.active),.mobile-nav a:not(.active) small,.mobile-more-menu summary,.mobile-more-menu summary small{color:#c4d0da!important}
 .mobile-nav a:not(.active) .nav-icon,.mobile-more-menu summary .nav-icon{color:#acbdcb!important}
 .mobile-nav a:not(.active):active,.mobile-more-menu summary:active{background:#283b4a!important}
 .mobile-nav a .nav-icon,.mobile-more-menu summary .nav-icon{display:flex;align-items:center;justify-content:center;width:23px;height:23px;min-height:23px}
 .mobile-more-menu summary svg{width:22px;height:22px;fill:currentColor;stroke:currentColor}
 .mobile-more-menu summary svg circle{stroke-width:1}
 .mobile-nav small,.mobile-more-menu summary small{font-size:10px!important;line-height:1.2;font-weight:800!important}
}
/* Ícone de exclusão SVG: discreto, claro/escuro, sem emoji. */
.v6-photo-delete,.ar-home-trash{width:38px;height:38px;display:grid;place-items:center;border-radius:11px;border:1px solid color-mix(in srgb,#b46458 45%,var(--ar-border));background:color-mix(in srgb,#a24c42 10%,var(--ar-surface));color:#c26a61;box-shadow:none;cursor:pointer;transition:background .15s,border-color .15s}
.v6-photo-delete:hover,.ar-home-trash:hover{background:color-mix(in srgb,#a24c42 20%,var(--ar-surface));border-color:#c67364}
.v6-photo-delete svg,.ar-home-trash svg{width:20px;height:20px;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
html[data-theme='dark'] .v6-photo-delete,html[data-theme='dark'] .ar-home-trash{background:#3c3033;border-color:#785252;color:#f2aaa3}
.v6-photo-delete.hidden,.ar-home-trash.hidden{display:none!important}
/* Foto rápida na página principal. */
.product-image.home-product-image.ar-home-photo{position:relative;overflow:visible!important;border:0;background:transparent;flex:none;align-self:flex-start}
.ar-home-photo-view{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:0;width:100%;height:100%;border-radius:13px;border:1px solid var(--ar-border);background:var(--ar-surface-2);overflow:hidden;cursor:pointer;color:var(--ar-orange)}
.ar-home-photo-view img{width:100%;height:100%;object-fit:cover;display:block}
.ar-home-photo-view:focus-visible{outline:2px solid var(--ar-orange);outline-offset:2px}
.ar-home-photo-placeholder{display:grid;place-items:center;color:var(--ar-orange)}
.ar-home-photo-placeholder svg{width:27px;height:27px;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.ar-home-photo-view small{font-size:10px;font-weight:850;color:var(--ar-orange);margin:0}
.ar-home-photo-add{position:absolute;top:-8px;right:-8px;z-index:3;width:28px;height:28px;display:grid;place-items:center;padding:0;border:2px solid var(--ar-surface);border-radius:9px;background:#bf6228;color:white;font-weight:900;font-size:22px;line-height:1;cursor:pointer}
.ar-home-modal{position:fixed;inset:0;z-index:2147480000;display:flex;justify-content:center;align-items:center;padding:16px;box-sizing:border-box;background:rgba(7,15,23,.81);backdrop-filter:blur(5px)}
.ar-home-modal.hidden{display:none!important}
body.ar-home-dialog-open{overflow:hidden}
.ar-home-dialog{box-sizing:border-box;width:min(95vw,540px);max-height:calc(100dvh - 34px);overflow:auto;padding:19px;border-radius:19px;background:var(--ar-surface);color:var(--ar-ink);border:1px solid var(--ar-border);box-shadow:0 15px 65px #0008}
.ar-home-modal-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:13px}
.ar-home-modal-head h2{font-size:19px;margin:4px 0 3px;color:var(--ar-ink)}
.ar-home-modal-head .muted{font-size:12px;margin:0}
.ar-home-modal-head-actions{display:flex;gap:8px;align-items:center}
.ar-home-close{width:38px;height:38px;flex:none;display:grid;place-items:center;border-radius:11px;background:var(--ar-surface-2);color:var(--ar-ink);border:1px solid var(--ar-border);font-size:25px;line-height:1;cursor:pointer}
.ar-home-camera-dialog video{display:block;width:100%;max-height:52dvh;min-height:190px;border-radius:13px;background:#081017;object-fit:contain}
.ar-home-feedback{font-size:12px;color:var(--ar-ink-soft);margin:11px 0}
.ar-home-modal-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:14px}
.ar-home-modal-actions .btn{min-height:44px}
.ar-home-photo-stage{display:grid;grid-template-columns:34px minmax(0,1fr) 34px;align-items:center;gap:3px;min-height:170px}
.ar-home-photo-stage img{width:100%;max-height:56dvh;object-fit:contain;min-width:0;border-radius:11px;background:var(--ar-surface-2)}
.ar-home-photo-stage button{width:33px;height:42px;border:0;border-radius:10px;background:var(--ar-surface-2);color:var(--ar-ink);font-size:27px;cursor:pointer}
.ar-home-photo-stage button.hidden{visibility:hidden}
.ar-home-photo-count{text-align:center;color:var(--ar-ink-soft);font-size:12px;margin-top:7px;font-weight:700}
.ar-home-toast{position:fixed;left:50%;transform:translateX(-50%);bottom:calc(88px + env(safe-area-inset-bottom));z-index:2147483000;width:max-content;max-width:90vw;padding:12px 17px;background:#205a4a;color:white;border:1px solid #3e9d78;border-radius:12px;box-shadow:0 8px 25px #0005;font-size:12px;font-weight:750;text-align:center}
.ar-home-toast.is-error{background:#8c403a;border-color:#bc7469}
.ar-home-toast.hidden{display:none!important}
@media(max-width:640px){
 .ar-shop-entrance{padding:15px 13px;border-radius:17px}
 .ar-shop-welcome{padding:2px 3px 14px}
 .ar-shop-welcome h2{font-size:25px}
 .ar-shop-choices{gap:9px}
 .ar-shop-tile,.ar-shop-tile:link{padding:12px;gap:9px;border-radius:14px}
 .ar-shop-tile-icon{width:36px;height:36px;border-radius:11px}
 .ar-shop-tile-icon svg{width:20px;height:20px}
 .ar-shop-tile-copy strong{font-size:13px}
 .ar-shop-tile-copy small{font-size:10px}
 .ar-shop-tile-count{min-width:29px;height:27px;padding:0 6px;font-size:13px}
 .ar-shop-tile-enter{font-size:10px;padding-top:8px}
 .ar-shop-tile.ar-shop-all{padding:15px 13px;grid-template-columns:40px minmax(0,1fr) auto}
 .ar-shop-all .ar-shop-tile-copy strong{font-size:16px}
 .ar-shop-all .ar-shop-tile-copy small{font-size:10px}
 .ar-shop-all .ar-shop-tile-enter{margin-top:6px}
 .ar-home-modal{align-items:flex-end;padding:0}
 .ar-home-dialog{width:100vw;max-height:91dvh;padding:18px 15px calc(18px + env(safe-area-inset-bottom));border-radius:21px 21px 0 0}
 .ar-home-photo-stage img{max-height:55dvh}
 .ar-home-camera-dialog video{max-height:58dvh}
 .ar-home-trash{width:38px;height:38px}
}
/* Prioridade para o botão Comprar: há regras antigas muito específicas em style.css. */
@media(max-width:600px){
 .mobile-nav a.active,.mobile-nav a.mobile-nav-buy.active,.mobile-nav .mobile-nav-buy.active{
   background:linear-gradient(145deg,#c46c32,#9d4b1e)!important;
   border:1px solid #d88b56!important;color:#fff!important;box-shadow:0 3px 11px #09121e55!important
 }
 .mobile-nav a.active span,.mobile-nav a.mobile-nav-buy.active span,.mobile-nav .mobile-nav-buy.active span{
   background:transparent!important;color:#fff!important
 }
 .mobile-nav a.active small,.mobile-nav a.mobile-nav-buy.active small{color:#fff!important}
 .mobile-nav a.active .nav-icon,.mobile-nav a.mobile-nav-buy.active .nav-icon{background:transparent!important;color:#fff!important}
}
#ar-home-gallery-input{display:none!important}
