:root{
  --catalog-bg-center:#1e1e1e;
  --catalog-bg-edge:#000000;
  --catalog-card:#17181c;
  --catalog-green:#61ff96;
  --catalog-pink:#ff2daa;
  --catalog-cyan:#3dccff;
  --catalog-purple:#9d5dff;
  --catalog-amber:#ffbf48;
  --catalog-muted:#a7a8b2;
}

html{scroll-behavior:smooth}

.catalog-page{
  margin:0;
  min-height:100vh;
  color:#f7f7fb;
  background:
    radial-gradient(circle at 50% 16%,var(--catalog-bg-center),#0c0c0e 48%,var(--catalog-bg-edge) 100%);
}

.catalog-page button,
.catalog-page input{font:inherit}

.hidden{display:none!important}

.catalog-shell{
  width:min(1180px,100%);
  margin:0 auto;
  padding:0 14px 105px;
}

.catalog-loading,
.catalog-error{
  width:min(620px,calc(100% - 28px));
  margin:80px auto;
  padding:22px;
  border:1px solid #2b2d35;
  border-radius:20px;
  background:linear-gradient(145deg,#191a1f,#101116);
  box-shadow:0 20px 50px #0008;
}

.catalog-loading{
  display:flex;
  align-items:center;
  gap:14px;
}

.catalog-loading p,
.catalog-error p{
  margin:2px 0 0;
  color:#9699a4;
}

.catalog-error{text-align:center}
.catalog-error>span{font-size:2rem}
.catalog-error h1{margin:8px 0 4px}
.catalog-error button{
  margin-top:16px;
  padding:10px 14px;
  border:0;
  border-radius:12px;
  color:#fff;
  background:linear-gradient(90deg,var(--catalog-pink),var(--catalog-purple),var(--catalog-cyan));
  font-weight:900;
  cursor:pointer;
}

.catalog-spinner{
  width:28px;
  height:28px;
  flex:0 0 28px;
  border-radius:50%;
  border:3px solid #ffffff18;
  border-top-color:var(--catalog-purple);
  animation:catalogSpin .8s linear infinite;
}

@keyframes catalogSpin{to{rotate:360deg}}

.hero{padding:14px 0 20px}

.banner{
  position:relative;
  min-height:330px;
  overflow:hidden;
  border:1px solid #2a2b31;
  border-radius:26px;
  background:
    radial-gradient(circle at 18% 20%,rgba(255,45,170,.28),transparent 28%),
    radial-gradient(circle at 72% 18%,rgba(61,204,255,.23),transparent 28%),
    radial-gradient(circle at 78% 82%,rgba(157,93,255,.24),transparent 30%),
    linear-gradient(135deg,#171820,#0c0d11 60%,#15121b);
  box-shadow:0 22px 55px #0009;
}

.banner-art{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  object-position:center;
}

.banner:after{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg,#00000055 0%,#00000015 35%,#00000035 68%,#0000006a 100%),
    linear-gradient(180deg,transparent 32%,#00000018 52%,#000000c9 100%);
}

.hero-glow{
  position:absolute;
  width:360px;
  height:360px;
  right:-80px;
  top:-100px;
  border-radius:50%;
  background:conic-gradient(from 120deg,var(--catalog-pink),#ff9a35,#ffe34a,#70ff54,var(--catalog-cyan),var(--catalog-purple),var(--catalog-pink));
  filter:blur(72px);
  opacity:.19;
}

.hero-overlay{
  position:relative;
  z-index:2;
  min-height:330px;
  display:flex;
  align-items:flex-end;
  padding:18px;
}

.hero-caption{
  max-width:590px;
  padding:15px 17px;
  border:1px solid #ffffff18;
  border-radius:18px;
  background:#0b0c10b7;
  backdrop-filter:blur(10px);
  box-shadow:0 12px 28px #0007;
}

.banner-kicker{
  margin:0 0 5px;
  color:#cbffd8;
  font-size:.7rem;
  font-weight:950;
  letter-spacing:.17em;
  text-transform:uppercase;
}

.hero-caption h1{
  margin:0;
  font-size:clamp(1.65rem,5vw,2.65rem);
  line-height:1.04;
}

.hero-subtitle{
  margin:7px 0 0;
  font-size:clamp(.92rem,2vw,1.16rem);
  font-weight:850;
  line-height:1.3;
}

.hero-meta{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
  margin:12px 0;
}

.pill{
  padding:7px 10px;
  border:1px solid color-mix(in srgb,var(--catalog-green) 35%,transparent);
  border-radius:999px;
  color:#bdffd0;
  background:color-mix(in srgb,var(--catalog-green) 8%,transparent);
  font-size:.75rem;
  font-weight:850;
}

.pill.data{
  color:#c2efff;
  border-color:#3dccff40;
  background:#3dccff0d;
}

.hero-intro{
  margin:0;
  color:#cfd1d8;
  line-height:1.5;
  font-size:.88rem;
}

.filter-wrap{
  position:sticky;
  top:0;
  z-index:30;
  padding:10px 0 12px;
  background:linear-gradient(#000f,#000d,transparent);
}

.chips{
  display:flex;
  gap:8px;
  overflow:auto;
  padding:3px 2px 8px;
  scrollbar-width:none;
}

.chips::-webkit-scrollbar{display:none}

.chip{
  flex:0 0 auto;
  padding:9px 13px;
  border:1px solid #30323a;
  border-radius:999px;
  color:#dadbe1;
  background:#121318;
  font-size:.84rem;
  font-weight:800;
  cursor:pointer;
  transition:.18s ease;
}

.chip:hover{border-color:#555864}

.chip.active{
  color:#08090a;
  border-color:transparent;
  background:linear-gradient(90deg,#ff42b3,#ff922a,#ffe23f,#79ff51,#3dccff,#a45cff);
}

.category-section{margin:18px 0 30px}

.category-head{
  display:flex;
  justify-content:space-between;
  align-items:end;
  gap:12px;
  margin:0 2px 11px;
}

.category-head h2{
  margin:0;
  font-size:1.18rem;
}

.category-head span{
  color:#888994;
  font-size:.77rem;
}

.product-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:14px;
  align-items:stretch;
}

.product-card{
  height:100%;
  padding:1px;
  border-radius:21px;
  background:linear-gradient(125deg,#ff2daa88,#ffe23a28,#3dccff77,#9d5dff88);
  box-shadow:0 18px 42px #0007;
}

.product-card-inner{
  height:100%;
  overflow:hidden;
  border-radius:20px;
  background:linear-gradient(
    color-mix(in srgb,var(--catalog-card) 96%,#242633),
    color-mix(in srgb,var(--catalog-card) 86%,#090a0d)
  );
  display:flex;
  flex-direction:column;
}

.carousel{
  position:relative;
  width:100%;
  height:310px;
  flex:0 0 310px;
  overflow:hidden;
  touch-action:pan-y;
  background:#fff;
}

.slides{
  height:100%;
  display:flex;
  transition:transform .45s cubic-bezier(.22,.72,.23,1);
}

.slide{
  min-width:100%;
  height:100%;
  position:relative;
  overflow:hidden;
  background:#fff;
}

.media-box{
  position:absolute;
  inset:0;
  padding:18px 56px 30px;
  display:flex;
  align-items:center;
  justify-content:center;
}

.slide img{
  width:auto;
  height:auto;
  max-width:100%;
  max-height:100%;
  display:block;
  object-fit:contain;
  object-position:center;
}

.placeholder-slide{
  background:
    radial-gradient(circle at 30% 20%,rgba(255,45,170,.12),transparent 35%),
    radial-gradient(circle at 70% 80%,rgba(61,204,255,.12),transparent 35%),
    #fff;
}

.product-emoji{
  font-size:clamp(4rem,16vw,7rem);
  filter:drop-shadow(0 18px 17px #0003);
}

.photo-note{
  position:absolute;
  left:9px;
  top:9px;
  padding:5px 8px;
  border:1px solid #ffffff24;
  border-radius:999px;
  color:#fff;
  background:#0007;
  font-size:.62rem;
  font-weight:850;
}

.carousel-arrow{
  position:absolute;
  top:50%;
  translate:0 -50%;
  width:35px;
  height:35px;
  display:grid;
  place-items:center;
  border:1px solid #ffffff2a;
  border-radius:50%;
  color:#fff;
  background:#08090ba6;
  font-size:1.15rem;
  cursor:pointer;
}

.carousel-arrow.prev{left:8px}
.carousel-arrow.next{right:8px}

.carousel-dots{
  position:absolute;
  bottom:9px;
  left:50%;
  translate:-50% 0;
  display:flex;
  gap:6px;
  max-width:75%;
  flex-wrap:wrap;
  justify-content:center;
}

.carousel-dot{
  width:7px;
  height:7px;
  padding:0;
  border:0;
  border-radius:50%;
  background:#0004;
  box-shadow:0 0 0 1px #ffffff55;
  cursor:pointer;
}

.carousel-dot.active{
  background:#fff;
  box-shadow:0 0 8px #fff;
}

.product-body{
  padding:15px;
  display:grid;
  grid-template-rows:minmax(2.8rem,auto) minmax(3.25rem,auto) minmax(2.4rem,auto) auto 1fr auto;
  align-content:stretch;
  flex:1;
}

.title-row{
  display:flex;
  justify-content:space-between;
  gap:10px;
  align-items:flex-start;
  min-height:2.8rem;
}

.product-name{
  max-width:calc(100% - 58px);
  margin:0;
  font-size:1.06rem;
  line-height:1.2;
}

.sku{
  color:#777985;
  font-size:.67rem;
  white-space:nowrap;
}

.product-description-wrap{
  min-height:3.25rem;
  margin:7px 0 11px;
}
.product-description{
  min-height:0;
  margin:0;
  color:#b7b8c1;
  font-size:.87rem;
  line-height:1.42;
  white-space:pre-line;
}
.product-description-toggle{
  display:inline-flex;
  align-items:center;
  margin-top:6px;
  padding:0;
  border:0;
  color:#c9beff;
  background:transparent;
  font:inherit;
  font-size:.72rem;
  font-weight:900;
  cursor:pointer;
}
.product-description-toggle:hover{
  color:#fff;
  text-decoration:underline;
  text-underline-offset:3px;
}
.product-description-toggle:focus-visible{
  outline:2px solid #9d7cff;
  outline-offset:3px;
  border-radius:3px;
}
.product-card.description-expanded .product-description-wrap{
  min-height:0;
}

.availability{
  min-height:2.4rem;
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:7px;
  margin-bottom:11px;
}

.availability-badge{
  padding:5px 8px;
  border-radius:999px;
  font-size:.7rem;
  font-weight:900;
}

.availability-badge.in-stock{
  border:1px solid color-mix(in srgb,var(--catalog-green) 32%,transparent);
  color:#91ffb2;
  background:color-mix(in srgb,var(--catalog-green) 7%,transparent);
}

.availability-badge.on-demand{
  border:1px solid #ffbf4855;
  color:#ffd586;
  background:#ffbf4811;
}

.stock-line{
  color:#8f9099;
  font-size:.74rem;
}

.cost-box{
  min-height:82px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:10px 11px;
  border:1px solid #292a32;
  border-radius:14px;
  color:#c4c5cc;
  background:#101116;
  font-size:.8rem;
}

.cost-box strong{
  display:block;
  margin-top:2px;
  color:#fff;
  font-size:1.18rem;
}

.range-block{
  align-self:stretch;
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
  margin-top:12px;
}

.range-labels{
  display:flex;
  justify-content:space-between;
  margin-bottom:5px;
  color:#9697a2;
  font-size:.71rem;
}

.price-slider{
  --pct:0%;
  width:100%;
  height:22px;
  margin:0;
  appearance:none;
  -webkit-appearance:none;
  border:0;
  border-radius:999px;
  outline:0;
  cursor:pointer;
  background:
    linear-gradient(90deg,#ff3aac 0%,#ffc83b 30%,#6dff54 52%,#3dccff 75%,#9d5dff 100%) 0/var(--pct) 7px no-repeat,
    linear-gradient(#363741,#363741) 0/100% 7px no-repeat;
  background-position:left center;
}

.price-slider::-webkit-slider-runnable-track{
  height:7px;
  border-radius:999px;
  background:transparent;
}

.price-slider::-webkit-slider-thumb{
  -webkit-appearance:none;
  appearance:none;
  width:22px;
  height:22px;
  margin-top:-7.5px;
  border:3px solid #9d5dff;
  border-radius:50%;
  background:#fff;
  box-shadow:0 0 0 4px #9d5dff22,0 0 12px #9d5dff55;
  cursor:pointer;
}

.price-slider::-moz-range-track{
  height:7px;
  border:0;
  border-radius:999px;
  background:#363741;
}

.price-slider::-moz-range-progress{
  height:7px;
  border:0;
  border-radius:999px;
  background:linear-gradient(90deg,#ff3aac 0%,#ffc83b 30%,#6dff54 52%,#3dccff 75%,#9d5dff 100%);
}

.price-slider::-moz-range-thumb{
  width:16px;
  height:16px;
  border:3px solid #9d5dff;
  border-radius:50%;
  background:#fff;
  box-shadow:0 0 0 4px #9d5dff22,0 0 12px #9d5dff55;
  cursor:pointer;
}

.chosen-price{
  margin-top:9px;
  color:#c3c4cb;
  font-size:.79rem;
}

.chosen-price strong{
  display:block;
  color:#fff;
  font-size:1.15rem;
}

.store-margin{
  margin-top:5px;
  color:var(--catalog-green);
  font-size:.87rem;
  font-weight:900;
  text-shadow:0 0 10px color-mix(in srgb,var(--catalog-green) 20%,transparent);
}

.product-actions{
  display:grid;
  grid-template-columns:auto minmax(0,1fr);
  gap:9px;
  margin-top:14px;
}

.qty-control{
  display:flex;
  align-items:center;
  overflow:hidden;
  border:1px solid #30313a;
  border-radius:13px;
  background:#0f1014;
}

.qty-control button{
  width:38px;
  height:40px;
  border:0;
  color:#fff;
  background:transparent;
  font-weight:900;
  cursor:pointer;
}

.qty-control span{
  min-width:33px;
  text-align:center;
  font-weight:900;
}

.add-to-cart,
.primary-cart-button{
  border:0;
  border-radius:13px;
  color:#fff;
  background:linear-gradient(90deg,#ff39ad,#885cff,#3dccff);
  font-weight:900;
  cursor:pointer;
}

.add-to-cart{padding:0 12px}

.catalog-empty,
.cart-empty{
  margin:24px 0;
  padding:45px 18px;
  border:1px solid #2b2d35;
  border-radius:20px;
  background:#141519;
  text-align:center;
}

.catalog-empty>span,
.cart-empty>div{font-size:2.6rem}

.catalog-empty h2,
.cart-empty h2{margin:8px 0 4px}

.catalog-empty p,
.cart-empty p{margin:0;color:#8c8d97}

.cart-empty .primary-cart-button{
  margin-top:17px;
  padding:11px 15px;
}

.cart-fab{
  position:fixed;
  right:14px;
  bottom:14px;
  z-index:60;
  width:62px;
  height:62px;
  border:1px solid #ffffff22;
  border-radius:50%;
  color:#fff;
  background:linear-gradient(145deg,#23242a,#101116);
  box-shadow:0 15px 38px #000b,0 0 24px #9d5dff30;
  font-size:1.45rem;
  cursor:pointer;
}

.cart-badge{
  position:absolute;
  top:-4px;
  right:-2px;
  min-width:24px;
  height:24px;
  padding:0 6px;
  display:grid;
  place-items:center;
  border-radius:999px;
  color:#fff;
  background:#ff3b70;
  font-size:.69rem;
  font-weight:950;
}

.cart-view{padding:18px 0 60px}

.cart-topline{
  display:flex;
  align-items:center;
  gap:12px;
  margin:2px 0 18px;
}

.cart-topline h1{
  margin:2px 0 0;
  font-size:1.5rem;
}

.back-button{
  padding:9px 11px;
  border:1px solid #33343d;
  border-radius:12px;
  color:#fff;
  background:#15161b;
  cursor:pointer;
}

.cart-layout{display:grid;gap:14px}
.cart-items{display:grid;gap:10px}

.cart-item{
  display:grid;
  grid-template-columns:82px minmax(0,1fr);
  gap:11px;
  padding:11px;
  border:1px solid #2b2c34;
  border-radius:18px;
  background:#15161a;
}

.cart-thumb{
  width:82px;
  height:82px;
  display:grid;
  place-items:center;
  overflow:hidden;
  border-radius:14px;
  background:#fff;
}

.cart-thumb img{
  width:100%;
  height:100%;
  object-fit:contain;
}

.emoji-thumb{
  color:#111;
  font-size:2.35rem;
}

.cart-item-body h3{
  margin:0;
  font-size:.97rem;
}

.cart-category{
  color:#858690;
  font-size:.7rem;
}

.cart-price{
  margin-top:5px;
  font-size:.79rem;
}

.cart-money-line{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
  margin-top:6px;
  color:#aaa;
  font-size:.73rem;
}

.cart-money-line .profit{
  color:var(--catalog-green);
  font-weight:850;
}

.cart-controls{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:7px;
  margin-top:9px;
}

.cart-subtotal{font-weight:900}

.cart-remove{
  border:0;
  color:#ff7b87;
  background:transparent;
  font-size:.75rem;
  cursor:pointer;
}

.cart-summary{
  height:max-content;
  padding:16px;
  border:1px solid #2c2d35;
  border-radius:20px;
  background:#15161a;
  box-shadow:0 18px 42px #0007;
}

.cart-summary h2{
  margin:2px 0 9px;
  font-size:1.08rem;
}

.summary-row{
  display:flex;
  justify-content:space-between;
  gap:14px;
  padding:7px 0;
  color:#b4b5bd;
  font-size:.85rem;
}

.summary-row strong{color:#fff}
.summary-row.profit-row strong{color:var(--catalog-green)}

.delivery-box{
  margin-top:10px;
  padding:11px;
  border:1px solid #ffbf4840;
  border-radius:15px;
  background:#ffbf480b;
}

.delivery-box b{color:#ffe2aa}

.delivery-days{
  margin-top:2px;
  font-size:1.22rem;
  font-weight:950;
}

.delivery-box small{
  color:#a4a5ad;
  line-height:1.4;
}

.cart-summary-actions{
  display:grid;
  gap:8px;
  margin-top:13px;
}

.primary-cart-button{padding:12px 14px}

.secondary-cart-button{
  padding:10px 13px;
  border:1px solid #353741;
  border-radius:12px;
  color:#ddd;
  background:#1d1f25;
  font-weight:800;
  cursor:pointer;
}

.catalog-footer{
  display:flex;
  justify-content:space-between;
  gap:16px;
  padding:24px 2px 0;
  color:#646671;
  font-size:.7rem;
}

.catalog-toast{
  position:fixed;
  left:50%;
  bottom:88px;
  z-index:90;
  max-width:min(460px,calc(100vw - 28px));
  padding:10px 13px;
  translate:-50% 14px;
  opacity:0;
  pointer-events:none;
  border:1px solid #454751;
  border-radius:12px;
  color:#fff;
  background:#1b1c22;
  box-shadow:0 14px 40px #000a;
  transition:.2s ease;
  text-align:center;
}

.catalog-toast.show{
  opacity:1;
  translate:-50% 0;
}

@media(min-width:720px){
  .catalog-shell{padding-inline:18px}
  .product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .carousel{height:300px;flex-basis:300px}
}

@media(min-width:1080px){
  .product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .carousel{height:270px;flex-basis:270px}
  .cart-layout{grid-template-columns:minmax(0,1.7fr) minmax(300px,.8fr)}
  .cart-summary{position:sticky;top:18px}
}

@media(max-width:640px){
  .catalog-shell{padding-inline:11px}
  .banner,.hero-overlay{min-height:300px}
  .hero-overlay{padding:12px}
  .hero-caption{padding:13px}
  .product-body{padding:14px}
  .media-box{padding:16px 48px 28px}
  .cart-item{grid-template-columns:70px minmax(0,1fr)}
  .cart-thumb{width:70px;height:70px}
  .cart-controls{flex-wrap:wrap}
  .catalog-footer{flex-direction:column;gap:3px}
}

@media(max-width:430px){
  .carousel{height:290px;flex-basis:290px}
  .product-actions{grid-template-columns:1fr}
  .qty-control{justify-content:space-between}
  .add-to-cart{min-height:43px}
}


/* Ajuste do overlay do banner: mais discreto e sem repetir o nome da marca */
.hero-caption{
  max-width:min(470px,88%) !important;
  padding:11px 14px !important;
  background:rgba(8,9,12,.46) !important;
  border:1px solid rgba(255,255,255,.10) !important;
  backdrop-filter:blur(6px) !important;
  box-shadow:0 8px 20px rgba(0,0,0,.30) !important;
}
.hero-caption h1{
  display:none !important;
}
.hero-subtitle{
  margin-top:2px !important;
  font-size:clamp(.88rem,2vw,1.05rem) !important;
  line-height:1.25 !important;
}
.hero-meta{
  margin:9px 0 !important;
  gap:6px !important;
}
.hero-intro{
  font-size:.80rem !important;
  line-height:1.38 !important;
}
.banner-kicker{
  margin-bottom:4px !important;
  font-size:.64rem !important;
}
.pill{
  padding:5px 8px !important;
  font-size:.68rem !important;
}
@media(max-width:640px){
  .hero-caption{
    max-width:92% !important;
    padding:10px 12px !important;
  }
}


/* Filtros e ordenação do catálogo */
.catalog-tools{
  display:flex;
  align-items:flex-start;
  gap:12px;
}
.catalog-tools .chips{
  min-width:0;
  flex:1 1 auto;
}
.sort-control{
  flex:0 0 auto;
  display:flex;
  align-items:center;
  gap:7px;
  padding:3px 2px 8px 0;
}
.sort-control>span{
  color:#8d8f99;
  font-size:.72rem;
  font-weight:800;
  white-space:nowrap;
}
.sort-control select{
  min-width:154px;
  height:38px;
  padding:0 32px 0 11px;
  border:1px solid #30323a;
  border-radius:12px;
  outline:0;
  color:#e9eaf0;
  background:#121318;
  font-size:.77rem;
  font-weight:800;
  cursor:pointer;
}
.sort-control select:focus{
  border-color:#765fd2;
  box-shadow:0 0 0 3px rgba(139,97,255,.12);
}
@media(max-width:700px){
  .catalog-tools{
    display:grid;
    grid-template-columns:1fr;
    gap:3px;
  }
  .sort-control{
    justify-content:flex-end;
    padding-top:0;
  }
  .sort-control select{
    min-width:170px;
  }
}


/* Ordenador alinhado à direita */
.catalog-tools{
  width:100%;
}
.sort-control{
  margin-left:auto;
}
@media(max-width:700px){
  .sort-control{
    margin-left:0;
    justify-self:end;
    width:max-content;
  }
}


/* Informações do catálogo abaixo do banner */
.hero{
  padding:14px 0 18px;
}
.banner{
  min-height:0;
  aspect-ratio:3/1;
}
.hero-overlay,
.hero-caption{
  display:none !important;
}
.hero-info{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:18px;
  margin-top:12px;
  padding:0 3px;
}
.hero-info-copy{
  min-width:0;
  max-width:760px;
}
.hero-info .banner-kicker{
  margin:0 0 4px !important;
  font-size:.66rem !important;
}
.hero-info .hero-subtitle{
  margin:0 !important;
  font-size:clamp(.96rem,2.2vw,1.18rem) !important;
  line-height:1.28 !important;
}
.hero-info .hero-intro{
  margin:6px 0 0 !important;
  color:#aeb0b9;
  font-size:.81rem !important;
  line-height:1.42 !important;
}
.hero-info .hero-meta{
  flex:0 0 auto;
  margin:0 !important;
  justify-content:flex-end;
}
@media(max-width:720px){
  .hero-info{
    align-items:flex-start;
    flex-direction:column;
    gap:9px;
    margin-top:10px;
  }
  .hero-info .hero-meta{
    justify-content:flex-start;
  }
}


/* Quantidade por múltiplos configuráveis por produto */
.qty-stack,
.cart-qty-stack{
  display:flex;
  flex-direction:column;
  gap:4px;
}
.qty-step-note{
  display:block;
  color:#858791;
  font-size:.63rem;
  font-weight:750;
  text-align:center;
  line-height:1.15;
}
.cart-qty-stack .qty-step-note{
  text-align:left;
}


/* Conta da loja no catálogo */
.account-bar{
  min-height:42px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin:10px 2px 0;
  padding:8px 11px;
  border:1px solid #242832;
  border-radius:13px;
  color:#979ca8;
  background:#0d0f13cc;
  font-size:.72rem;
}
.account-bar.guest{
  background:#101116;
}
.account-identification{
  min-width:0;
  display:flex;
  align-items:center;
  gap:7px;
}
.account-identification strong{
  color:#f1f2f5;
}
.account-dot{
  width:8px;
  height:8px;
  flex:0 0 auto;
  border-radius:50%;
  background:#61ff96;
  box-shadow:0 0 10px #61ff9666;
}
.account-dot.admin{
  background:#bd8cff;
  box-shadow:0 0 10px #bd8cff66;
}
.account-actions{
  display:flex;
  align-items:center;
  gap:7px;
}
.account-link,
.account-register,
.account-button{
  border:0;
  color:#c8cbd4;
  background:transparent;
  font:inherit;
  font-weight:850;
  text-decoration:none;
  cursor:pointer;
}
.account-register{
  padding:7px 10px;
  border:1px solid #8159df66;
  border-radius:9px;
  color:#e5dbff;
  background:#8b5cff12;
}
@media(max-width:620px){
  .account-bar{
    align-items:flex-start;
    flex-direction:column;
  }
  .account-actions{
    width:100%;
    justify-content:flex-end;
  }
}


/* Status de login mais claro na página principal */
.account-bar.logged-in{
  border-color:#61ff9630;
  background:linear-gradient(90deg,#0d1310cc,#0d0f13cc);
}
.account-status-badge{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:5px 8px;
  border:1px solid #343944;
  border-radius:999px;
  font-size:.66rem;
  font-weight:950;
  line-height:1;
  white-space:nowrap;
}
.account-status-badge.online{
  color:#9dffb9;
  border-color:#61ff9640;
  background:#61ff960d;
}
.account-status-badge.offline{
  color:#a8adb8;
  border-color:#4a4f5b;
  background:#ffffff05;
}
.account-status-badge.admin{
  color:#d8c7ff;
  border-color:#a36cff45;
  background:#a36cff0d;
}
.account-dot.offline{
  background:#777d89;
  box-shadow:none;
}
.account-user-line{
  min-width:0;
  color:#9ca1ad;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.account-user-line strong{
  color:#f3f4f7;
}
@media(max-width:620px){
  .account-identification{
    width:100%;
    flex-wrap:wrap;
  }
  .account-user-line{
    white-space:normal;
  }
}


/* Confirmação da finalização do pedido */
.order-success{
  max-width:760px;
  margin:28px auto 70px;
  padding:clamp(24px,5vw,42px);
  border:1px solid #30333b;
  border-radius:24px;
  background:
    radial-gradient(circle at 50% 0%,rgba(97,255,150,.11),transparent 38%),
    linear-gradient(180deg,#17181d,#0d0e12);
  box-shadow:0 26px 70px rgba(0,0,0,.35);
  text-align:center;
}
.order-success-icon{
  width:62px;
  height:62px;
  display:grid;
  place-items:center;
  margin:0 auto 14px;
  border:1px solid #61ff9655;
  border-radius:50%;
  color:#9dffb9;
  background:#61ff9610;
  box-shadow:0 0 30px #61ff9622;
  font-size:1.7rem;
  font-weight:1000;
}
.order-success h2{
  margin:4px 0 7px;
  font-size:clamp(1.45rem,4vw,2.1rem);
}
.order-success>p{
  color:#a7abb5;
  line-height:1.5;
}
.order-success-number{
  margin:8px 0 14px!important;
  color:#fff!important;
  font-family:ui-monospace,SFMono-Regular,Consolas,monospace;
  font-size:clamp(1rem,3vw,1.25rem);
  font-weight:900;
  letter-spacing:.04em;
}
.order-success-grid{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:8px;
  margin:22px 0 14px;
  text-align:left;
}
.order-success-grid article{
  padding:12px;
  border:1px solid #2d3038;
  border-radius:12px;
  background:#0d0f13;
}
.order-success-grid span{
  display:block;
  color:#7f848e;
  font-size:.65rem;
  font-weight:850;
  text-transform:uppercase;
}
.order-success-grid strong{
  display:block;
  margin-top:5px;
  color:#f3f4f7;
  font-size:.88rem;
}
.order-success-grid .profit strong{
  color:var(--catalog-green,#61ff96);
}
.order-email-status{
  display:flex;
  flex-direction:column;
  gap:3px;
  margin:14px 0 18px;
  padding:12px 14px;
  border:1px solid #333741;
  border-radius:12px;
  text-align:left;
  background:#101217;
}
.order-email-status.sent{
  border-color:#61ff963b;
  background:#61ff9609;
}
.order-email-status strong{
  color:#e8eaf0;
  font-size:.78rem;
}
.order-email-status.sent strong{
  color:#9dffb9;
}
.order-email-status span{
  color:#8f949e;
  font-size:.72rem;
  line-height:1.4;
}
.order-success-back{
  width:auto;
  min-width:210px;
}
.primary-cart-button:disabled{
  cursor:wait;
  opacity:.65;
}
@media(max-width:760px){
  .order-success-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .order-success-grid article:last-child{
    grid-column:1/-1;
  }
}

.order-paused-note{
  display:flex;
  flex-direction:column;
  gap:3px;
  margin:12px 0;
  padding:11px 12px;
  border:1px solid #ffc45c3b;
  border-radius:11px;
  background:#ffc45c0a;
}
.order-paused-note strong{
  color:#ffd78d;
  font-size:.76rem;
}
.order-paused-note span{
  color:#979ba5;
  font-size:.69rem;
  line-height:1.4;
}


/* Variações simples de produto */
.variant-picker{
  display:grid;
  gap:6px;
  margin:12px 0 4px;
}
.variant-picker>span{
  color:#8f95a1;
  font-size:.69rem;
  font-weight:850;
  letter-spacing:.04em;
  text-transform:uppercase;
}
.variant-picker select{
  width:100%;
  min-height:40px;
  padding:8px 10px;
  border:1px solid #343a45;
  border-radius:10px;
  color:#f4f5f7;
  background:#11141a;
  font:inherit;
  font-weight:800;
}
.variant-picker select:focus{
  outline:none;
  border-color:#8a68ff;
  box-shadow:0 0 0 3px rgba(138,104,255,.12);
}
.cart-variant{
  display:inline-flex;
  gap:4px;
  margin:3px 0 5px;
  padding:5px 8px;
  border:1px solid rgba(138,104,255,.24);
  border-radius:999px;
  color:#cfc4ff;
  background:rgba(138,104,255,.08);
  font-size:.7rem;
}


/* Visualização ampliada das fotos do catálogo */
.photo-zoom-target{
  cursor:zoom-in;
  outline:none;
}
.photo-zoom-target:focus-visible{
  box-shadow:inset 0 0 0 3px rgba(157,93,255,.72);
}
.photo-zoom-hint{
  position:absolute;
  right:9px;
  top:9px;
  z-index:2;
  padding:6px 9px;
  border:1px solid rgba(255,255,255,.28);
  border-radius:999px;
  color:#fff;
  background:rgba(8,9,11,.72);
  box-shadow:0 5px 16px rgba(0,0,0,.22);
  backdrop-filter:blur(7px);
  font-size:.64rem;
  font-weight:900;
  letter-spacing:.01em;
  pointer-events:none;
  opacity:.84;
  transition:.18s ease;
}
.photo-zoom-target:hover .photo-zoom-hint,
.photo-zoom-target:focus-visible .photo-zoom-hint{
  opacity:1;
  transform:translateY(-1px);
}

body.lightbox-open{
  overflow:hidden;
}

.photo-lightbox{
  position:fixed;
  inset:0;
  z-index:200;
  display:grid;
  place-items:center;
  padding:14px;
  background:rgba(0,0,0,.92);
  backdrop-filter:blur(8px);
}

.photo-lightbox-dialog{
  width:min(1180px,100%);
  max-height:calc(100vh - 28px);
  display:grid;
  grid-template-rows:auto minmax(0,1fr) auto;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.16);
  border-radius:22px;
  background:#0b0c10;
  box-shadow:0 30px 90px rgba(0,0,0,.7);
}

.photo-lightbox-head{
  min-height:58px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:10px 12px 10px 16px;
  border-bottom:1px solid rgba(255,255,255,.09);
  background:#111218;
}
.photo-lightbox-head>div{
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:2px;
}
.photo-lightbox-kicker{
  color:#8d919b;
  font-size:.62rem;
  font-weight:900;
  letter-spacing:.1em;
  text-transform:uppercase;
}
.photo-lightbox-head strong{
  overflow:hidden;
  color:#f7f7fa;
  font-size:.92rem;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.photo-lightbox-close,
.photo-lightbox-nav{
  border:1px solid rgba(255,255,255,.2);
  color:#fff;
  background:rgba(20,21,27,.82);
  cursor:pointer;
}
.photo-lightbox-close{
  width:38px;
  height:38px;
  flex:0 0 38px;
  border-radius:50%;
  font-size:1.55rem;
  line-height:1;
}
.photo-lightbox-close:hover,
.photo-lightbox-nav:hover{
  background:#252731;
}

.photo-lightbox-stage{
  position:relative;
  min-height:220px;
  height:min(78vh,900px);
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  background:
    radial-gradient(circle at 50% 45%,rgba(255,255,255,.06),transparent 48%),
    #050506;
}
.photo-lightbox-stage img{
  width:auto;
  height:auto;
  max-width:min(70vw,820px);
  max-height:75vh;
  display:block;
  object-fit:contain;
  user-select:none;
  -webkit-user-drag:none;
}

.photo-lightbox-nav{
  position:absolute;
  top:50%;
  z-index:2;
  translate:0 -50%;
  width:46px;
  height:54px;
  display:grid;
  place-items:center;
  border-radius:14px;
  font-size:2rem;
  line-height:1;
}
.photo-lightbox-nav.prev{left:12px}
.photo-lightbox-nav.next{right:12px}

.photo-lightbox-foot{
  min-height:44px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:9px 16px;
  border-top:1px solid rgba(255,255,255,.09);
  color:#aeb1bb;
  background:#111218;
  font-size:.75rem;
}
.photo-lightbox-caption{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.photo-lightbox-counter{
  flex:0 0 auto;
  color:#e3e4e8;
  font-weight:900;
}

@media(max-width:640px){
  .photo-zoom-hint{
    right:7px;
    top:7px;
    padding:5px 7px;
    font-size:.59rem;
  }
  .photo-lightbox{
    padding:0;
  }
  .photo-lightbox-dialog{
    width:100%;
    height:100%;
    max-height:none;
    border:0;
    border-radius:0;
  }
  .photo-lightbox-stage{
    height:auto;
  }
  .photo-lightbox-stage img{
    max-width:88vw;
    max-height:68vh;
  }
  .photo-lightbox-nav{
    width:42px;
    height:50px;
    border-color:rgba(255,255,255,.18);
    background:rgba(5,5,7,.68);
  }
  .photo-lightbox-nav.prev{left:7px}
  .photo-lightbox-nav.next{right:7px}
  .photo-lightbox-foot{
    padding-inline:12px;
  }
}


/* Estado inicial de produtos com variações */
.variant-photo-note{
  display:block;
  margin-top:1px;
  color:#777d89;
  font-size:.68rem;
  line-height:1.35;
}
.availability-badge.choose-variant{
  border:1px solid rgba(138,104,255,.3);
  color:#d3c9ff;
  background:rgba(138,104,255,.08);
}
.add-to-cart:disabled{
  opacity:.48;
  cursor:not-allowed;
  filter:saturate(.45);
}
