:root {
  --primary: #FFE600;
  --text: #111;
  --muted: #666;
  --bg: #f5f5f5;
  --card: #fff;
  --border: #e6e6e6;
  --radius: 14px;
}

* { box-sizing: border-box; }
html { min-height: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  align-content: start;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial;
  color: var(--text);
  background: var(--bg);
}

a { color: inherit; text-decoration: none; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 16px; }


.topbar,
.nav { background: var(--primary); }

.topbar-row {
  display: flex;
  gap: 12px;
  padding: 14px 0 10px;
}

.topbar-main-row,
.topbar-second-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.topbar-main-row { width: 100%; }
.topbar-second-row { justify-content: center; position: relative; }

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand img {
  height: 50px;
  width: auto;
  display: block;
}

.search {
  flex: 1 1 auto;
  position: relative;
  display: flex;
  align-items: center;
}

.search input {
  width: 100%;
  height: 40px;
  padding: 10px 44px 10px 14px;
  border: 1px solid rgba(0,0,0,.15);
  border-radius: 12px;
  outline: none;
  font-size: 15px;
  background: #fff;
}

.search-submit {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border: 0;
  background: transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.search-icon {
  font-size: 20px;
  line-height: 1;
  color: #444;
}

.header-account-wrap {
  display: flex;
  justify-content: center;
}

.header-account-btn {
  min-height: 40px;
  min-width: 108px;
}

.hamburger-btn {
  display: none;
  width: 42px;
  height: 40px;
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
}

.hamburger-btn span {
  width: 18px;
  height: 2px;
  background: #111;
  display: block;
  border-radius: 10px;
}

.header-actions,
.header,
.logo { display: none; }

.cart-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.desktop-cart {
  margin-left: auto;
}

.mobile-cart-inline {
  display: none;
  flex: 0 0 auto;
}

.cart-icon {
  width: 26px;
  height: 26px;
  display: block;
}

.cart-count {
  position: absolute;
  top: -7px;
  right: -9px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  background: #ff0000;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  border-radius: 999px;
  line-height: 18px;
  text-align: center;
}

.nav {
  text-align: center;
}

.nav .container {
  display: inline-flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  padding: 10px 10px 12px;
}

.nav a {
  font-size: 15px;
}

.chip { padding: 8px 10px; border-radius: 999px; background: #FFE600; color: #222; }
.chip:hover { border-color: #cfcfcf; text-decoration-color: #cfcfcf; }

.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 16px 0; }
.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: 0 1px 0 rgba(0,0,0,.02); padding: 10px 10px; }
.card-body { padding: 12px; }
.prod-img { width: 100%; height: 300px; background: #fff; display: flex; align-items: center; justify-content: center; }
.prod-img img { width: 300px; height: 300px; object-fit: contain; }
.prod-title { font-size: 14px; line-height: 1.25; min-height: 36px; margin: 0 0 8px; }
.price { display: flex; align-items: baseline; gap: 8px; }
.price .from { color: var(--muted); text-decoration: line-through; font-size: 12px; }
.price .to { font-size: 20px; font-weight: 900; }


.banner-slider { position: relative; margin: 0 auto; }
.banner-slider:not(.home-banner-slider) .slides { overflow: hidden; }
.banner-slider:not(.home-banner-slider) .slide { display: none; width: 100%; }
.banner-slider:not(.home-banner-slider) .slide.is-active { display: block; animation: fadeIn .45s ease; }
.slide img { width: 100%; height: auto; display: block; }
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: 0;
  width: 44px;
  height: 44px;
  cursor: pointer;
  font-weight: 900;
  color: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .2s ease, transform .2s ease;
  display: none;
}
.slider-btn.prev { left: 10px; }
.slider-btn.next { right: 10px; }
.banner-slider:hover .slider-btn { opacity: 1; display:inline; }
.slider-btn:hover { transform: translateY(-50%) scale(1.1); display:inline;}
.dots { display: flex; gap: 8px; justify-content: center; margin-top: 10px; }
.dot { width: 1px; height: 1px; border-radius: 999px; border: 0; background: rgba(0,0,0,.25); cursor: pointer; }
.dot.is-active { background: rgba(0,0,0,.65); }
@keyframes fadeIn { from { opacity: 0; transform: scale(1.01); } to { opacity: 1; transform: scale(1); } }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.12);
  cursor: pointer;
  font-weight: 800;
  background: #fff;
}
.btn.primary { background: var(--primary); border-color: rgba(0,0,0,.14); }
.btn.block { width: 100%; }
.section { padding: 18px 0; }
.h1 { font-size: 22px; font-weight: 500; }
.h2 { font-size: 18px; font-weight: 900; margin: 0 0 10px; }
.muted { color: var(--muted); }
.row { display: grid; grid-template-columns: 1.2fr .8fr; gap: 16px; }
.box { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 14px; text-align: center;}
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { padding: 10px; border-bottom: 1px solid var(--border); text-align: left; font-size: 14px; }
.qty { display: flex; gap: 8px; align-items: center; }
.qty input { width: 70px; padding: 8px; border: 1px solid var(--border); border-radius: 10px; }
.footer { margin-top: 0; background: #fff; border-top: 1px solid var(--border); }
.footer .container { padding: 18px 16px; color: #333; }
.small { font-size: 12px; color: var(--muted); text-align: center; }
.pager { display: flex; gap: 8px; flex-wrap: wrap; }
.pager a { padding: 8px 10px; border: 1px solid var(--border); border-radius: 10px; background: #fff; }
.pager a.active { background: var(--primary); font-weight: 900; }
.grid2 { display: grid; grid-template-columns: 1.1fr .9fr; gap: 16px; }

@media (max-width: 980px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .row, .grid2 { grid-template-columns: 1fr; }
}

@media (max-width: 500px) {
  .topbar-row {
    gap: 10px;
    padding-top: 10px;
    padding-bottom: 10px;
    flex-direction: column;
  }

  .topbar-main-row {
    align-items: center;
    gap: 10px;
  }
  .brand img {
    height: 30px;
    width: auto;
  }

  .search input {
    height: 38px;
    padding-right: 12px;
  }

  .search input::placeholder {
    content: 'Buscar';
  }

  .search-submit {
    display: none;
  }

  .desktop-cart {
    display: none;
  }

  .mobile-cart-inline {
    display: inline-flex;
  }

  .topbar-second-row {
    width: 100%;
    justify-content: space-between;
  }

  .header-account-wrap {
    justify-content: flex-start;
  }

  .header-account-btn {
    min-width: auto;
    padding-left: 14px;
    padding-right: 14px;
  }

  .hamburger-btn {
    display: inline-flex;
  }

  .nav {
    display: none;
    text-align: left;
  }

  .nav.is-open {
    display: block;
  }

  .nav .container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 16px 16px;
  }

  .nav a {
    width: 100%;
    font-size: 16px;
  }

  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 10px 0;
  }

  .card {
    padding: 6px;
    border-radius: 12px;
  }

  .card-body {
    padding: 8px;
  }

  .prod-img {
    height: 150px;
  }

  .prod-img img {
    width: 100%;
    height: 100%;
    max-width: 130px;
    max-height: 130px;
    object-fit: contain;
  }

  .prod-title {
    font-size: 12px;
    min-height: 30px;
    margin-bottom: 6px;
  }

  .price {
    gap: 5px;
    flex-wrap: wrap;
  }

  .price .from {
    font-size: 10px;
  }

  .price .to {
    font-size: 16px;
  }

  .card .small {
    font-size: 10px;
  }

  .grid .btn,
  .grid button.btn {
    min-height: 36px;
    padding: 8px 6px;
    font-size: 11px;
    border-radius: 10px;
    line-height: 1.15;
  }

  .slider-btn {
    width: 36px;
    height: 36px;
    font-size: 22px;
    line-height: 36px;
  }

  .footer-social img {
    width: 110px;
    height: 50px;
    display: block;
}
}


.cart-list { display:grid; gap:12px; }
.cart-item {
  display:flex;
  gap:12px;
  align-items:center;
  justify-content:space-between;
  padding:14px;
}
.cart-item-left { display:flex; gap:12px; align-items:center; min-width:0; }
.cart-item-image {
  width:68px;
  height:68px;
  object-fit:cover;
  border-radius:12px;
  border:1px solid rgba(0,0,0,.08);
  background:#fff;
  flex:0 0 auto;
}
.cart-item-title { font-size:16px; font-weight:900; margin:0 0 4px; }
.cart-item-price { font-size:14px; color:var(--muted); }
.cart-item-right { display:flex; align-items:center; gap:12px; }
.cart-qty-control {
  display:inline-flex;
  align-items:center;
  border:1px solid var(--border);
  border-radius:14px;
  overflow:hidden;
  background:#fff;
}
.cart-qty-btn {
  width:42px;
  height:42px;
  border:0;
  background:#fff;
  font-size:24px;
  font-weight:700;
  cursor:pointer;
  line-height:1;
}
.cart-qty-btn:hover { background:#f6f6f6; }
.cart-qty-value {
  min-width:42px;
  text-align:center;
  font-size:16px;
  font-weight:800;
  padding:0 6px;
}
.cart-summary-total { font-size:22px; font-weight:900; }
.cart-free-shipping-box {
  margin-top:14px;
  padding:14px;
  font-size:15px;
  font-weight:500;
}
.cart-free-shipping-box.is-free {
  font-size:18px;
  font-weight:500;
  text-align:center;
  color: #118a00;
}
.cart-item-loading { opacity:.65; pointer-events:none; }


@media (max-width: 980px) {
  .cart-item {
    align-items:flex-start;
  }

  .cart-item-right {
    flex:0 0 auto;
  }
}

@media (max-width: 640px) {
  .cart-item {
    flex-direction:column;
    align-items:stretch;
  }

  .cart-item-left {
    width:100%;
  }

  .cart-item-right {
    width:100%;
    justify-content:center;
  }
}


/* cores reais */
.footer-social.instagram {
  color: #E1306C;
}

.footer-social.whatsapp {
  color: #25D366;
}


.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}



.footer-social:hover {
  opacity: 0.8;
  transform: translateY(-1px);
}

.footer-social img {
  width: 150px;   /* ajuste aqui */
  height: 50px;
  display: block;
}

@media (max-width: 500px) {
  .footer-row {
    flex-direction: column;
    align-items: center
    gap: 12px;
  }

  .footer-right {
    width: 100%;
    justify-content: center;
    gap: 50px;
  }


}


.category-page {
  width: 100%;
}

.category-page .section {
  padding-top: 16px;
}

.category-empty {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
}

.fbo-page {
  width: 100%;
}

.fbo-hero {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.fbo-title {
  margin: 0 0 22px;
  text-align: center;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.25;
}

.fbo-title-dynamic {
  display: inline-block;
  color: #111;
  min-width: 290px;
  text-transform: uppercase;
}

.fbo-content {
  display: grid;
  grid-template-columns: minmax(280px, 420px) minmax(0, 1fr);
  gap: 28px;
  align-items: center;
}

.fbo-image-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

.fbo-image {
  width: 100%;
  max-width: 380px;
  height: auto;
  display: block;
  object-fit: contain;
}

.fbo-copy {
  text-align: left;
}

.fbo-text {
  margin: 0;
  font-size: 17px;
  line-height: 1.75;
}

.fbo-text ul {
  margin: 18px 0;
  padding-left: 22px;
}

.fbo-text li + li {
  margin-top: 14px;
}

.fbo-cta-title {
  margin: 24px 0 14px;
  font-size: 20px;
  font-weight: 900;
  text-align: center;
}

.fbo-cta {
  width: 100%;
}

.fbo-caret {
  display: inline-block;
  margin-left: 2px;
  animation: fboBlink 1s steps(1) infinite;
}

@keyframes fboBlink {
  50% { opacity: 0; }
}

@media (max-width: 980px) {
  .fbo-content {
    grid-template-columns: 1fr;
  }

  .fbo-image {
    max-width: 320px;
  }
}

@media (max-width: 500px) {
  .fbo-hero {
    padding: 18px;
  }

  .fbo-title {
    font-size: 22px;
    margin-bottom: 18px;
  }

  .fbo-title-dynamic {
    display: block;
    min-width: 0;
    margin-top: 6px;
  }

  .fbo-content {
    gap: 18px;
  }

  .fbo-image {
    max-width: 240px;
  }

  .fbo-text {
    font-size: 16px;
    line-height: 1.65;
  }

  .fbo-cta-title {
    font-size: 18px;
  }
}


.product-page {
  width: 100%;
}

.product-page .section {
  padding-top: 20px;
}

.product-detail {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.product-detail-grid {
  display: grid;
  grid-template-columns: minmax(360px, 520px) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.product-media-sticky {
  position: sticky;
  top: clamp(24px, calc(50vh - 240px), 120px);
}

.product-media {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.product-thumbs {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.product-thumb {
  width: 76px;
  height: 76px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  padding: 6px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.product-thumb:hover {
  transform: translateY(-1px);
}

.product-thumb.is-active {
  border-color: rgba(0,0,0,.35);
  box-shadow: 0 0 0 2px rgba(0,0,0,.05);
}

.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.product-main {
  min-width: 0;
}

.product-main-frame {
  width: 100%;
  min-height: 420px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.product-main-frame img {
  width: 300px;
  height: 300px;
  object-fit: contain;
  display: block;
}

.product-info {
  min-width: 0;
}

.product-name {
  margin: 0 0 8px;
  font-size: 36px;
  font-weight: 900;
  line-height: 1.1;
}

.product-meta {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 16px;
}

.product-description {
  margin: 0 0 20px;
  font-size: 18px;
  line-height: 1.65;
  color: #222;
}

.product-price-block {
  margin-top: 8px;
}

.product-price-regular-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.product-price-regular {
  font-size: 36px;
  font-weight: 900;
  line-height: 1;
}

.product-price-promo {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
}

.product-price-promo-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.product-price-promo .from {
  font-size: 18px;
  color: var(--muted);
  text-decoration: line-through;
}

.product-price-promo .to {
  font-size: 40px;
  font-weight: 900;
  color: #111;
  line-height: 1;
}

.product-price-callout {
  font-size: 15px;
  font-weight: 800;
  color: #118a00;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.product-buy-btn {
  min-width: 240px;
  min-height: 50px;
  font-size: 18px;
}

@media (max-width: 980px) {
  .product-detail-grid {
    grid-template-columns: 1fr;
  }

  .product-media-sticky {
    position: static;
  }

  .product-main-frame {
    min-height: 360px;
  }
}

@media (max-width: 640px) {
  .product-detail {
    padding: 18px;
  }

  .product-media {
    grid-template-columns: 1fr;
  }

  .product-thumbs {
    order: 2;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .product-thumb {
    width: 64px;
    height: 64px;
  }

  .product-main {
    order: 1;
  }

  .product-main-frame {
    min-height: 300px;
    padding: 14px;
  }

  .product-main-frame img {
    width: 240px;
    height: 240px;
  }

  .product-name {
    font-size: 28px;
  }

  .product-description {
    font-size: 16px;
  }

  .product-price-regular-row {
    flex-direction: column;
    align-items: stretch;
  }

  .product-buy-btn {
    width: 100%;
    min-width: 0;
  }

  .product-price-promo .to,
  .product-price-regular {
    font-size: 32px;
  }
}


/* Normalização de controles e botões */
button,
input,
select,
textarea {
  font: inherit;
}

.btn,
button.btn,
a.btn {
  color: #111 !important;
  -webkit-text-fill-color: #111;
}

.btn.primary,
button.btn.primary,
a.btn.primary {
  color: #111 !important;
  -webkit-text-fill-color: #111;
}

.account-input,
.account-select,
.checkout-input,
.checkout-select {
  width: 100%;
  min-height: 48px;
  padding: 11px 14px;
  border: 1px solid #e6e6e6;
  border-radius: 10px;
  background: #fff;
  color: #111;
  -webkit-text-fill-color: #111;
  box-shadow: none;
}

.account-input-readonly,
.checkout-input-readonly {
  background: #f8f8f8;
}

.account-select,
.checkout-select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 38px;
  background-image: linear-gradient(45deg, transparent 50%, #666 50%), linear-gradient(135deg, #666 50%, transparent 50%);
  background-position: calc(100% - 18px) calc(50% - 3px), calc(100% - 12px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.account-input:focus,
.account-select:focus,
.checkout-input:focus,
.checkout-select:focus {
  outline: none;
  border-color: rgba(0,0,0,.18);
}

/* Minha conta */
.account-page {
  width: 100%;
}

.account-section {
  max-width: 860px;
  margin: 0 auto;
}

.account-card {
  margin-top: 12px;
  padding: 16px;
  max-width: 100%;
}

.account-form {
  max-width: 100%;
}

.account-grid,
.account-address-grid,
.account-password-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.account-document-row {
  display: flex;
  gap: 8px;
}

.account-document-row .account-select {
  width: 120px;
  flex: 0 0 120px;
}

.account-document-row .account-document-input {
  flex: 1 1 auto;
  min-width: 0;
}

.account-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}

/* Produto */
.product-page {
  width: 100%;
}

.product-page .section {
  padding-top: 20px;
}

.product-detail {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.product-detail-grid {
  display: grid;
  grid-template-columns: minmax(360px, 520px) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.product-media-sticky {
  position: sticky;
  top: clamp(24px, calc(50vh - 240px), 120px);
}

.product-media {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.product-thumbs {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.product-thumb {
  width: 76px;
  height: 76px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  padding: 6px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.product-thumb:hover {
  transform: translateY(-1px);
}

.product-thumb.is-active {
  border-color: rgba(0,0,0,.35);
  box-shadow: 0 0 0 2px rgba(0,0,0,.05);
}

.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.product-main {
  min-width: 0;
}

.product-main-frame {
  width: 100%;
  min-height: 420px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.product-main-frame img {
  width: 300px;
  height: 300px;
  object-fit: contain;
  display: block;
}

.product-info {
  min-width: 0;
}

.product-name {
  margin: 0 0 8px;
  font-size: 36px;
  font-weight: 900;
  line-height: 1.1;
}

.product-meta {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 16px;
}

.product-description {
  margin: 0 0 20px;
  font-size: 18px;
  line-height: 1.65;
  color: #222;
}

.product-price-block {
  margin-top: 8px;
}

.product-price-regular-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.product-price-regular {
  font-size: 36px;
  font-weight: 900;
  line-height: 1;
}

.product-price-promo {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
}

.product-price-promo-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.product-price-promo .from {
  font-size: 18px;
  color: var(--muted);
  text-decoration: line-through;
}

.product-price-promo .to {
  font-size: 40px;
  font-weight: 900;
  color: #111;
  line-height: 1;
}

.product-price-callout {
  font-size: 15px;
  font-weight: 800;
  color: #118a00;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.product-buy-btn {
  min-width: 240px;
  min-height: 50px;
  font-size: 18px;
}

.product-unavailable-note {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #fff6f6;
  border: 1px solid #ffd2d2;
  color: #9a1f1f;
  font-weight: 700;
}

.btn.unavailable,
.btn:disabled.unavailable {
  background: #eeeeee;
  border-color: #dddddd;
  color: #777777 !important;
  -webkit-text-fill-color: #777777;
  cursor: not-allowed;
}

/* Checkout */
.checkout-page {
  width: 100%;
}

.checkout-form {
  display: block;
}

.checkout-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
}

.checkout-account-email {
  font-weight: 900;
}

.checkout-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.checkout-document-row {
  display: flex;
  gap: 8px;
}

.checkout-document-row .checkout-select {
  width: 110px;
  flex: 0 0 110px;
}

.checkout-document-row .checkout-input {
  flex: 1 1 auto;
  min-width: 0;
}

.checkout-summary-items {
  display: grid;
  gap: 10px;
}

.checkout-summary-item,
.checkout-summary-line,
.checkout-total-line {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.checkout-summary-name,
.checkout-summary-price {
  font-weight: 900;
}

.checkout-divider {
  border: none;
  border-top: 1px solid #eee;
  margin: 12px 0;
}

.checkout-shipping-box {
  margin-top: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 12px;
  background: #fff8cc;
  font-size: 14px;
  font-weight: 700;
}

.checkout-shipping-box-free {
  background: #e9ffe3;
  border-color: rgba(0,128,0,.18);
  color: #118a00;
  text-align: center;
  font-size: 18px;
}

.checkout-shipping-box-error {
  background: #fff6f6;
  border-color: #ffd2d2;
  color: #9a1f1f;
}

.checkout-free-label {
  color: #118a00;
  font-weight: 900;
}

.checkout-total-line {
  margin-top: 12px;
  font-size: 22px;
  font-weight: 900;
}

.checkout-alert {
  margin-top: 12px;
  padding: 14px;
  border-radius: 14px;
}

.checkout-alert-error {
  border: 1px solid #ffd2d2;
  background: #fff6f6;
}

.checkout-alert-title {
  font-weight: 900;
  margin-bottom: 8px;
}

.checkout-alert-list {
  margin: 0;
  padding-left: 18px;
}

.stock-note {
  margin-top: 8px;
  color: #9a1f1f;
  font-weight: 700;
}

@media (max-width: 980px) {
  .product-detail-grid {
    grid-template-columns: 1fr;
  }

  .product-media-sticky {
    position: static;
  }

  .product-main-frame {
    min-height: 360px;
  }
}

@media (max-width: 700px) {
  .checkout-fields,
  .account-grid,
  .account-address-grid,
  .account-password-grid {
    grid-template-columns: 1fr;
  }

  .checkout-summary-item,
  .checkout-summary-line,
  .checkout-total-line {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .product-detail {
    padding: 18px;
  }

  .product-media {
    grid-template-columns: 1fr;
  }

  .product-thumbs {
    order: 2;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .product-thumb {
    width: 64px;
    height: 64px;
  }

  .product-main {
    order: 1;
  }

  .product-main-frame {
    min-height: 300px;
    padding: 14px;
  }

  .product-main-frame img {
    width: 240px;
    height: 240px;
  }

  .product-name {
    font-size: 28px;
  }

  .product-description {
    font-size: 16px;
  }

  .product-price-regular-row {
    flex-direction: column;
    align-items: stretch;
  }

  .product-buy-btn {
    width: 100%;
    min-width: 0;
  }

  .product-price-promo .to,
  .product-price-regular {
    font-size: 32px;
  }
}

@media (max-width: 500px) {
  .account-section {
    max-width: 100%;
  }

  .account-card {
    padding: 14px;
  }

  .account-document-row,
  .checkout-document-row {
    flex-direction: column;
  }

  .account-document-row .account-select,
  .checkout-document-row .checkout-select {
    width: 100%;
    flex: 1 1 auto;
  }

  .product-detail {
    padding: 14px;
  }

  .product-main-frame {
    min-height: 260px;
  }

  .product-main-frame img {
    width: 220px;
    height: 220px;
  }

  .product-meta {
    font-size: 14px;
  }

  .product-price-promo .to,
  .product-price-regular {
    font-size: 28px;
  }
}


.prod-img-wrap {
  position: relative;
}

.discount-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  height: 26px;
  padding: 0 8px;
  border-radius: 999px;
  background: #ff3b30;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  box-shadow: 0 2px 6px rgba(0,0,0,.18);
}


/* Checkout mobile */
@media (max-width: 700px) {
  .checkout-page .section {
    padding-left: 0;
    padding-right: 0;
  }

  .checkout-form {
    display: block;
  }

  .checkout-card {
    width: 100%;
    padding: 14px;
  }

  .checkout-fields {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .checkout-document-row {
    flex-direction: column;
    gap: 12px;
  }

  .checkout-document-row .checkout-select,
  .checkout-document-row .checkout-input {
    width: 100%;
    flex: 1 1 auto;
    min-width: 0;
  }

  .checkout-summary-item,
  .checkout-summary-line,
  .checkout-total-line {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .checkout-summary-price,
  .checkout-summary-name {
    width: 100%;
  }

  .checkout-total-line {
    font-size: 20px;
  }

  .checkout-page .btn.block,
  .checkout-page button.btn.block,
  .checkout-page .btn.primary.block {
    width: 100%;
    min-height: 44px;
  }
}

@media (max-width: 500px) {
  .checkout-card {
    border-radius: 12px;
    padding: 12px;
  }

  .checkout-account-email {
    word-break: break-word;
  }

  .checkout-shipping-box,
  .checkout-shipping-box-free,
  .checkout-shipping-box-error {
    font-size: 13px;
    line-height: 1.45;
  }

  .checkout-total-line {
    font-size: 18px;
  }
}


/* ===== CHECKOUT MOBILE FIX (somente para a estrutura atual do checkout) ===== */
@media (max-width: 700px) {
  .container > .section > .grid2[style*="margin-top:12px"] {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .container > .section > .grid2[style*="margin-top:12px"] > div {
    min-width: 0 !important;
  }

  .container > .section > .grid2[style*="margin-top:12px"] .card {
    width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  .container > .section > .grid2[style*="margin-top:12px"] form > div[style*="grid-template-columns:1fr 1fr"] {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .container > .section > .grid2[style*="margin-top:12px"] form div[style*="display:flex;gap:8px"] {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
  }

  .container > .section > .grid2[style*="margin-top:12px"] form div[style*="display:flex;gap:8px"] > select,
  .container > .section > .grid2[style*="margin-top:12px"] form div[style*="display:flex;gap:8px"] > input {
    width: 100% !important;
    min-width: 0 !important;
    flex: 1 1 auto !important;
    box-sizing: border-box !important;
  }

  .container > .section > .grid2[style*="margin-top:12px"] form div[style*="display:flex;gap:10px;flex-wrap:wrap"] {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
  }

  .container > .section > .grid2[style*="margin-top:12px"] form div[style*="display:flex;gap:10px;flex-wrap:wrap"] > div {
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .container > .section > .grid2[style*="margin-top:12px"] > div:last-child .card div[style*="display:flex;justify-content:space-between"] {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 4px !important;
  }

  .container > .section > .grid2[style*="margin-top:12px"] input,
  .container > .section > .grid2[style*="margin-top:12px"] select {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .container > .section > .grid2[style*="margin-top:12px"] button.btn.block,
  .container > .section > .grid2[style*="margin-top:12px"] .btn.block {
    width: 100% !important;
    min-height: 44px !important;
  }
}

@media (max-width: 500px) {
  .container > .section > .grid2[style*="margin-top:12px"] .card {
    padding: 12px !important;
  }

  .container > .section > .grid2[style*="margin-top:12px"] > div:first-child .card:first-child > div[style*="font-weight:900"] {
    word-break: break-word !important;
  }

  .container > .section > .grid2[style*="margin-top:12px"] input,
  .container > .section > .grid2[style*="margin-top:12px"] select,
  .container > .section > .grid2[style*="margin-top:12px"] button {
    font-size: 16px !important;
  }
}



/* ===== Minhas compras ===== */
.purchases-shell {
  max-width: 860px;
  margin: 0 auto;
}
.purchases-shell .section {
  padding-top: 24px;
}
.purchases-list {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}
.purchase-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 1px 0 rgba(0,0,0,.02);
}
.purchase-card-header {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
}
.purchase-card-date {
  font-size: 20px;
  font-weight: 800;
  line-height: 1.2;
  margin: 0;
}
.purchase-card-subtitle {
  margin-top: 6px;
  font-size: 14px;
  color: var(--muted);
}
.purchase-status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 92px;
  padding: 10px 14px;
  border-radius: 999px;
  background: #edf8ea;
  border: 1px solid #c6e9be;
  color: #118a00;
  font-weight: 800;
}
.purchase-card-body {
  display: grid;
  grid-template-columns: 140px minmax(0,1fr);
  gap: 16px;
  margin-top: 16px;
  align-items: center;
}
.purchase-media {
  display: flex;
  gap: 10px;
  align-items: center;
}
.purchase-thumb {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 1px solid #ececec;
  object-fit: cover;
  background: #fff;
  flex: 0 0 auto;
}
.purchase-thumb-stack {
  display: flex;
  margin-left: -12px;
}
.purchase-thumb-stack .purchase-thumb:first-child {
  margin-left: 0;
}
.purchase-summary-title {
  font-size: 16px;
  font-weight: 800;
  margin: 0 0 6px;
}
.purchase-summary-meta {
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 6px;
}
.purchase-summary-total {
  font-size: 15px;
  font-weight: 800;
  color: #333;
}
.purchase-detail-toggle {
  margin-top: 14px;
  border-top: 1px solid #f0f0f0;
  padding-top: 14px;
}
.purchase-detail-toggle > summary {
  cursor: pointer;
  list-style: none;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.purchase-detail-toggle > summary::-webkit-details-marker {
  display: none;
}
.purchase-detail-toggle > summary::before {
  content: "▸";
  transition: transform .2s ease;
}
.purchase-detail-toggle[open] > summary::before {
  transform: rotate(90deg);
}
.purchase-items {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}
.purchase-item-row {
  display: grid;
  grid-template-columns: 72px minmax(0,1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid #ececec;
  border-radius: 14px;
  background: #fff;
}
.purchase-item-image {
  width: 72px;
  height: 72px;
  border-radius: 14px;
  border: 1px solid #ececec;
  object-fit: cover;
  background: #fff;
}
.purchase-item-name {
  font-size: 15px;
  font-weight: 800;
  margin: 0 0 4px;
}
.purchase-item-meta {
  font-size: 13px;
  color: var(--muted);
}
.purchase-item-price {
  font-size: 15px;
  font-weight: 900;
  text-align: right;
}
.purchase-tracking {
  margin-top: 12px;
  padding: 14px;
  border: 1px solid #ececec;
  border-radius: 14px;
  background: #fafafa;
}
.purchase-tracking-title {
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 6px;
}
.purchase-tracking-code {
  font-size: 15px;
  font-weight: 700;
  word-break: break-word;
}

/* ===== Pagamento ===== */
.payment-shell {
  max-width: 980px;
  margin: 0 auto;
}
.payment-shell .section {
  padding-top: 22px;
}
.payment-card-main {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 1px 0 rgba(0,0,0,.02);
}
.payment-title {
  font-size: 20px;
  font-weight: 800;
  margin: 0;
}
.payment-total {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}
.payment-choice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 18px;
}
.payment-choice-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 140px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #fff;
  cursor: pointer;
  padding: 20px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.payment-choice-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(0,0,0,.06);
  border-color: #d6d6d6;
}
.payment-choice-btn strong {
  font-size: 22px;
}
.payment-choice-btn span {
  margin-top: 6px;
  font-size: 14px;
  color: var(--muted);
}
.payment-pane {
  margin-top: 18px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 1px 0 rgba(0,0,0,.02);
}
.payment-pane-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.payment-pane-title {
  font-size: 18px;
  font-weight: 800;
  margin: 0;
}
.payment-pane-back {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 14px;
  font-weight: 700;
  cursor: pointer;
}
.payment-grid {
  display: grid;
 
  gap: 16px;
}
.payment-copy-btn {
  width: 100%;
  margin-top: 14px;
}
.payment-copy-feedback {
  display: none;
  margin-top: 10px;
  font-size: 13px;
  color: #118a00;
  font-weight: 700;
}
.payment-copy-feedback.is-visible {
  display: block;
}
.payment-qr-wrap {
  text-align: center;
}
.payment-qr-image {
  max-width: 100%;
  height: auto;
  border: 1px solid #ddd;
  border-radius: 14px;
  background: #fff;
  padding: 10px;
}
.payment-timer {
  margin-top: 14px;
  font-size: 14px;
  color: var(--muted);
  text-align: center;
}
.payment-card-form {
  display: grid;
  gap: 12px;
}
.payment-card-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.payment-card-row-3 {
  display: grid;
  grid-template-columns: 1fr .7fr .7fr;
  gap: 12px;
}
.payment-card-form input,
.payment-card-form select {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid #d9d9d9;
  border-radius: 12px;
  background: #fff;
}
.payment-card-label {
  font-size: 13px;
  color: #444;
  margin-bottom: 6px;
  display: inline-block;
}

@media (max-width: 780px) {
  .payment-choice-grid,
  .payment-grid,
  .payment-card-row-2,
  .payment-card-row-3,
  .purchase-card-body {
    grid-template-columns: 1fr;
  }
  .purchase-card-header {
    align-items: stretch;
  }
  .purchase-status-badge {
    width: fit-content;
  }
  .purchase-item-row {
    grid-template-columns: 64px minmax(0,1fr);
  }
  .purchase-item-price {
    grid-column: 2;
    text-align: left;
  }
}

@media (max-width: 500px) {
  .purchases-shell {
    max-width: none;
  }
  .purchase-card {
    padding: 14px;
  }
  .purchase-card-date {
    font-size: 18px;
  }
  .purchase-thumb,
  .purchase-item-image {
    width: 60px;
    height: 60px;
  }
  .payment-card-main,
  .payment-pane {
    padding: 14px;
    border-radius: 16px;
  }
  .payment-choice-btn {
    min-height: 112px;
    padding: 16px;
  }
  .payment-choice-btn strong {
    font-size: 18px;
  }
}

.product-description {
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* =========================
   CARRINHO + MINHAS COMPRAS
   Refresh visual
========================= */

.cart-page,
.purchases-shell {
  width: 100%;
}

.cart-shell,
.purchases-shell .section {
  padding-top: 26px;
  padding-bottom: 26px;
}

.cart-page-head,
.purchases-page-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.cart-page-title,
.purchases-page-title {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 900;
  line-height: 1.05;
}

.cart-page-subtitle,
.purchases-page-subtitle {
  margin-top: 8px;
  font-size: 15px;
  color: var(--muted);
}

.cart-page-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  background: #fff7a8;
  border: 1px solid rgba(0,0,0,.08);
  font-weight: 800;
  white-space: nowrap;
}

.cart-notice-box {
  margin-bottom: 16px;
}

.cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(320px, .85fr);
  gap: 22px;
  align-items: start;
}

.cart-main {
  min-width: 0;
}

.cart-list-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px 170px;
  gap: 16px;
  margin-bottom: 12px;
  padding: 0 6px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #666;
}

.cart-list {
  display: grid;
  gap: 14px;
}

.cart-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px 170px;
  gap: 16px;
  align-items: center;
  padding: 18px 20px;
  border-radius: 18px;
  box-shadow: 0 8px 26px rgba(0,0,0,.04);
}

.cart-item-main {
  display: flex;
  gap: 16px;
  align-items: center;
  min-width: 0;
}

.cart-item-image {
  width: 96px;
  height: 96px;
  object-fit: contain;
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,.08);
  background: #fff;
  padding: 8px;
  flex: 0 0 auto;
}

.cart-item-info {
  min-width: 0;
}

.cart-item-title {
  font-size: 22px;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 8px;
}

.cart-item-meta,
.cart-item-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #777;
  font-weight: 800;
}

.cart-item-unit-price {
  margin-top: 4px;
  font-size: 18px;
  font-weight: 800;
}

.cart-item-controls,
.cart-item-total-block {
  min-width: 0;
}

.cart-item-controls {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}

.cart-qty-control {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: inset 0 1px 0 rgba(0,0,0,.02);
}

.cart-qty-btn {
  width: 48px;
  height: 48px;
  font-size: 28px;
}

.cart-qty-value {
  min-width: 52px;
  font-size: 18px;
  font-weight: 900;
}

.cart-item-total-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-end;
}

.cart-item-subtotal {
  font-size: 24px;
  font-weight: 900;
}

.cart-summary-panel {
  position: sticky;
  top: 20px;
  padding: 22px;
  border-radius: 20px;
  box-shadow: 0 14px 34px rgba(0,0,0,.06);
}

.cart-summary-kicker {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #666;
  font-weight: 800;
}

.cart-summary-total-line {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  margin-top: 14px;
  padding-bottom: 18px;
  border-bottom: 1px solid #efefef;
}

.cart-summary-total-line span {
  font-size: 14px;
  color: #666;
}

.cart-summary-total-line strong {
  line-height: 1;
}

.cart-summary-progress {
  margin-top: 18px;
}

.cart-summary-progress-label {
  font-size: 13px;
  font-weight: 800;
  color: #444;
  margin-bottom: 8px;
}

.cart-free-shipping-box {
  margin-top: 0;
  padding: 14px 16px;
  border-radius: 16px;
  line-height: 1.5;
}

.cart-summary-actions {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.cart-summary-buy-btn,
.cart-summary-back-btn {
  min-height: 50px;
  font-size: 16px;
}

.cart-summary-back-btn {
  background: #fff;
}

.cart-empty-state,
.purchases-empty-state {
  text-align: center;
  padding: 34px 24px;
  border-radius: 22px;
  box-shadow: 0 12px 34px rgba(0,0,0,.04);
}

.cart-empty-icon,
.purchases-empty-icon {
  font-size: 38px;
  line-height: 1;
}

.cart-empty-title,
.purchases-empty-title {
  margin: 14px 0 8px;
  font-size: 28px;
  font-weight: 900;
}

.cart-empty-text,
.purchases-empty-text {
  margin: 0;
  color: var(--muted);
}

.cart-empty-actions,
.purchases-empty-actions {
  margin-top: 16px;
}

.purchases-shell {
  max-width: 1180px;
  margin: 0 auto;
}

.purchases-list {
  display: grid;
  gap: 18px;
  margin-top: 22px;
}

.purchase-card {
  padding: 22px;
  border-radius: 22px;
  box-shadow: 0 12px 34px rgba(0,0,0,.04);
}

.purchase-card-header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: start;
}

.purchase-card-title-wrap {
  min-width: 0;
}

.purchase-card-eyebrow {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #666;
  font-weight: 800;
}

.purchase-card-date {
  font-size: 30px;
  font-weight: 900;
  line-height: 1.05;
  margin: 6px 0 0;
}

.purchase-card-subtitle {
  margin-top: 8px;
  font-size: 14px;
  color: var(--muted);
}

.purchase-card-side {
  display: grid;
  gap: 10px;
  justify-items: end;
  text-align: right;
}

.purchase-status-badge {
  min-width: 110px;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 800;
}

.purchase-status-badge.is-paid {
  background: #edf8ea;
  border: 1px solid #c6e9be;
  color: #118a00;
}

.purchase-status-badge.is-shipped {
  background: #eef5ff;
  border: 1px solid #c7dafd;
  color: #0f5bd6;
}

.purchase-status-badge.is-delivered {
  background: #ebfff5;
  border: 1px solid #bfe9d1;
  color: #0a8d4a;
}

.purchase-status-badge.is-processing {
  background: #fff8cc;
  border: 1px solid #f1df8a;
  color: #8f6b00;
}

.purchase-status-badge.is-cancelled {
  background: #fff3f3;
  border: 1px solid #ffd2d2;
  color: #a32020;
}

.purchase-card-total {
  display: grid;
  gap: 2px;
}

.purchase-card-total span {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #666;
  font-weight: 800;
}

.purchase-card-total strong {
  font-size: 28px;
  line-height: 1.05;
}

.purchase-card-body {
  display: grid;
  grid-template-columns: minmax(140px, 220px) minmax(0, 1fr);
  gap: 18px;
  margin-top: 18px;
  align-items: center;
}

.purchase-media {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.purchase-thumb {
  width: 84px;
  height: 84px;
  border-radius: 18px;
  border: 1px solid #ececec;
  object-fit: contain;
  background: #fff;
  padding: 8px;
  flex: 0 0 auto;
}

.purchase-summary-title {
  font-size: 20px;
  font-weight: 900;
  margin: 0 0 6px;
}

.purchase-summary-meta {
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 8px;
}

.purchase-summary-total {
  font-size: 15px;
  font-weight: 800;
  color: #333;
}

.purchase-detail-toggle {
  margin-top: 18px;
  border-top: 1px solid #f0f0f0;
  padding-top: 18px;
}

.purchase-detail-toggle > summary {
  font-size: 15px;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.purchase-detail-grid {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 16px;
  margin-top: 18px;
  align-items: start;
}

.purchase-detail-info {
  display: grid;
  gap: 12px;
}

.purchase-detail-box {
  padding: 14px 16px;
  border: 1px solid #ececec;
  border-radius: 16px;
  background: #fafafa;
}

.purchase-detail-box span {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #666;
  font-weight: 800;
  margin-bottom: 6px;
}

.purchase-detail-box strong {
  font-size: 16px;
  line-height: 1.35;
}

.purchase-items {
  display: grid;
  gap: 12px;
  margin-top: 0;
}

.purchase-item-row {
  grid-template-columns: 84px minmax(0, 1fr) auto;
  gap: 14px;
  padding: 14px;
  border-radius: 16px;
}

.purchase-item-image {
  width: 84px;
  height: 84px;
  border-radius: 16px;
  object-fit: contain;
  background: #fff;
  padding: 8px;
}

.purchase-item-name {
  font-size: 16px;
  font-weight: 900;
}

.purchase-item-price {
  font-size: 16px;
  font-weight: 900;
}

.purchase-tracking {
  padding: 16px;
  border-radius: 16px;
}

.purchase-tracking-title {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.purchase-tracking-code {
  font-size: 16px;
  font-weight: 800;
}

@media (max-width: 980px) {
  .cart-layout {
    grid-template-columns: 1fr;
  }

  .cart-summary-panel {
    position: static;
  }

  .purchase-detail-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 780px) {
  .purchase-card-header,
  .cart-page-head,
  .purchases-page-head {
    flex-direction: column;
    align-items: stretch;
  }

  .purchase-card-side {
    justify-items: start;
    text-align: left;
  }

  .purchase-card-body,
  .purchase-detail-grid {
    grid-template-columns: 1fr;
  }

  .purchase-media {
    justify-content: flex-start;
  }
}

@media (max-width: 700px) {
  .cart-list-header {
    display: none;
  }

  .cart-item {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .cart-item-main {
    align-items: flex-start;
  }

  .cart-item-controls,
  .cart-item-total-block {
    align-items: flex-start;
  }

  .cart-item-total-block {
    padding-top: 4px;
    border-top: 1px solid #f0f0f0;
  }

  .cart-summary-total-line {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 500px) {
  .cart-shell,
  .purchases-shell .section {
    padding-top: 18px;
  }
  
  .card.cart-item{
      display: flex
  }

  .cart-page-title,
  .purchases-page-title {
    font-size: 30px;
  }

  .cart-item,
  .cart-summary-panel,
  .purchase-card {
    padding: 16px;
    border-radius: 18px;
  }

  .cart-item-image {
    width: 80px;
    height: 80px;
  }

  .cart-item-title {
    font-size: 18px;
  }

  .cart-item-unit-price,
  .cart-item-subtotal {
    font-size: 18px;
  }

  .cart-qty-btn {
    width: 44px;
    height: 44px;
    font-size: 24px;
  }

  .cart-qty-value {
    min-width: 44px;
    font-size: 16px;
  }


  .purchase-card-date {
    font-size: 24px;
  }

  .purchase-thumb,
  .purchase-item-image {
    width: 68px;
    height: 68px;
  }

  .purchase-item-row {
    grid-template-columns: 68px minmax(0, 1fr);
  }

  .purchase-item-price {
    grid-column: 2;
    text-align: left;
  }
}



/* ===== Banner sem degradê, com PNG e MP4 no mesmo enquadramento ===== */
.hero{
  width: 100%;
  margin: 0;
  position: relative;
  background: var(--bg);
}

.hero::before,
.hero::after{
  content: none !important;
  display: none !important;
}

.banner-slider.home-banner-slider{
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: none;
  overflow: hidden;
  background: var(--bg) !important;
  padding-top: 0;
  padding-bottom: 12px;
}

.banner-slider.home-banner-slider .slides{
  display: flex;
  width: 100%;
  overflow: visible;
  background: transparent !important;
  will-change: transform;
  transform: translate3d(0,0,0);
}

.banner-slider.home-banner-slider .slide{
  flex: 0 0 100%;
  width: 100%;
  display: block;
  background: transparent !important;
}

.home-banner-media{
  position: relative;
  width: 100%;
  aspect-ratio: 1900 / 500;
  min-height: 0;
  background: var(--bg) !important;
  overflow: hidden;
}

.home-banner-picture{
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg) !important;
  opacity: 1;
  visibility: visible;
  transition: opacity .2s ease, visibility .2s ease;
}

.home-banner-media.has-ready-video .home-banner-picture{
  opacity: 0;
  visibility: hidden;
}

.home-banner-image{
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  background: transparent !important;
}

.home-banner-video{
  position: absolute;
  inset: 0;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  background: transparent !important;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
}

.home-banner-video.is-ready{
  opacity: 1;
  visibility: visible;
}

.home-banner-video-mobile{
  display: none;
}

.home-banner-video.is-failed{
  display: none !important;
}

@media (min-width: 501px){
  .home-banner-video-desktop{
    display: block;
  }

  .home-banner-video-mobile{
    display: none;
  }
}

.home-banner-slider .slider-btn{
  z-index: 3;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
}

.home-banner-slider .slider-btn:hover{
  transform: translateY(-50%) scale(1.06);
}

.home-banner-slider .dots{
  top: 12px;
  left: 0;
  right: 0;
  z-index: 4;
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 12px 0;
  margin: 0;
  background: #FFE600;
}

.home-banner-slider .dot{
  width: 10px;
  height: 4px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.22);
}

.home-banner-slider .dot.is-active{
  background: rgba(0, 0, 0, 0.62);
}

@media (max-width: 980px){
  .home-banner-media{
    aspect-ratio: 1900 / 500;
  }
}

@media (max-width: 500px){
  .banner-slider.home-banner-slider{
    padding-top: 0;
    padding-bottom: 10px;
  }

  .home-banner-media{
    aspect-ratio: 1080 / 430;
    min-height: 0;
    padding: 0;
  }

  .home-banner-picture{
    min-height: 0;
  }

  .home-banner-image,
  .home-banner-video{
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
  }

  .home-banner-video-desktop{
    display: none;
  }

  .home-banner-video-mobile{
    display: block;
  }

  .home-banner-slider .slider-btn{
    width: 34px;
    height: 34px;
  }

  .home-banner-slider .dots{
    padding-bottom: 10px;
  }
}

