:root {
  --primary: #f35fa3;
  --secondary: #2ec4a1;
  --text: #333333;
  --bg: #ffffff;
}

* { box-sizing: border-box; }
html, body {
  overflow-x: hidden;
}
body {
  margin: 0;
  font-family: 'Montserrat', Arial, sans-serif;
  background: #f9f9f9;
  color: var(--text);
}
a { color: inherit; text-decoration: none; }
.container { width: min(1200px, 92%); margin: 0 auto; }

.topbar {
  background: var(--primary);
  color: #fff;
  padding: 8px 0;
  font-size: 14px;
}

.header {
  background: var(--bg);
  border-bottom: 1px solid #eee;
  position: relative;
  z-index: 80;
}
.mobile-header {
  display: none;
}
.mobile-header-top {
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 12px 0 10px;
}
.mobile-icon-btn {
  width: 30px;
  height: 30px;
  border: 0;
  background: transparent;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
}
.mobile-icon-btn svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.mobile-logo {
  display: inline-flex;
  justify-content: center;
  transform: translateX(-16px);
}
.mobile-logo img {
  height: 58px;
  object-fit: contain;
}
.mobile-cart {
  position: relative;
  justify-self: end;
  color: var(--primary);
}
.mobile-search-row {
  padding-bottom: 10px;
}
.mobile-search-row.is-hidden {
  display: none;
}
.mobile-quick-actions {
  display: none;
}
.mobile-quick-link {
  color: var(--primary);
}
.mobile-menu-modal {
  display: none;
}
.mobile-menu-modal[hidden] {
  display: none !important;
}
.mobile-menu-backdrop,
.mobile-menu-close {
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}
body.mobile-menu-open {
  overflow: hidden;
}
.header-row {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}
.logo img { height: 68px; object-fit: contain; }
.search { position: relative; }
.header-search-wrapper {
  width: 420px;
  max-width: 55vw;
  position: relative;
}
.input-search {
  width: 100%;
  height: 42px;
  border: 1px solid #e9d2dd;
  border-radius: 999px;
  padding: 0 46px 0 14px;
  font-size: 14px;
  color: #475467;
  background: #fff;
}
.button-search {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;
  color: var(--primary);
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.button-search:hover {
  background: #fff0f7;
}
.suggestion.is-hidden {
  display: none;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}
.header-item {
  position: relative;
}
.action-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--primary);
  font-weight: 600;
  font-size: 14px;
  line-height: 1.05;
}
.action-icon {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #ffd3e6;
  border-radius: 8px;
  font-size: 16px;
}
.action-svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}
.cart-link {
  position: relative;
  padding-right: 8px;
}
.cart-badge {
  position: absolute;
  top: -8px;
  right: -4px;
  min-width: 20px;
  height: 20px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
}
.item-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 260px;
  background: #fff;
  border: 1px solid #f0d0df;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(56, 23, 39, 0.14);
  padding: 12px;
  z-index: 30;
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: 0.16s ease;
}
.header-item:hover .item-dropdown,
.header-item:focus-within .item-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-title {
  font-size: 13px;
  color: #4b5563;
  margin-bottom: 6px;
}
.dropdown-sep {
  height: 1px;
  background: #f1f1f1;
  margin: 8px 0;
}
.dropdown-link {
  display: block;
  color: #344054;
  font-size: 13px;
  padding: 5px 0;
}
.track-inline {
  display: flex;
  gap: 8px;
}
.track-inline input {
  padding: 8px 10px;
  border-radius: 7px;
}
.track-inline button {
  border: none;
  background: var(--primary);
  color: #fff;
  padding: 8px 10px;
  border-radius: 7px;
  cursor: pointer;
}
.btn {
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 10px 14px;
  cursor: pointer;
  font-weight: bold;
}
.btn-outline {
  background: transparent;
  border: 1px solid var(--primary);
  color: var(--primary);
}

.nav {
  background: #fff;
  border-bottom: 1px solid #eee;
  position: relative;
  z-index: 70;
}
.menu .nav .container {
  overflow: visible;
}
.list {
  margin: 0;
  padding: 14px 0;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  overflow: visible;
}
.flex { display: flex; }
.align-center { align-items: center; }
.justify-center { justify-content: center; }
.first-level {
  position: relative;
  white-space: nowrap;
}
.first-level > a,
.first-level > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-size: 16px;
  font-weight: 500;
}
.first-level .name {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.menu-top-icon {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}
.menu-top-icon-img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  flex: 0 0 auto;
  border-radius: 50%;
}
.more-categories > span {
  cursor: pointer;
}
.more-categories .name svg {
  color: var(--primary);
}
.sub-list {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  display: none;
  background: #fff;
  border: 1px solid #f1d7e4;
  border-radius: 10px;
  box-shadow: 0 10px 22px rgba(38, 20, 28, 0.14);
  z-index: 9999;
}
.first-level:hover > .sub-list,
.first-level:focus-within > .sub-list {
  display: block;
}
.menu-content-categ {
  list-style: none;
  margin: 0;
  padding: 10px;
  min-width: 260px;
  max-height: 420px;
  overflow: auto;
}
.item-menu {
  position: relative;
}
.item-menu > a {
  display: block;
  padding: 8px 10px;
  font-size: 13px;
  color: #374151;
  border-radius: 6px;
}
.item-menu > a:hover {
  background: #fff2f8;
  color: var(--primary);
}
.more-second {
  left: calc(100% + 8px);
  top: -1px;
  min-width: 220px;
  margin: 0;
  padding: 8px;
  list-style: none;
}
.more-second li a {
  display: block;
  font-size: 13px;
  color: #475467;
  padding: 7px 8px;
  border-radius: 6px;
}
.more-second li a:hover {
  background: #fff2f8;
  color: var(--primary);
}
.see-more {
  font-weight: 700;
  color: var(--primary) !important;
}
.second-level {
  left: 0;
  min-width: 250px;
  list-style: none;
  margin: 0;
  padding: 8px;
}
.menu-content-itens .title-category {
  display: block;
  padding: 6px 8px;
  font-weight: 700;
  color: var(--primary);
}
.menu-list-category {
  display: block;
  margin: 0;
}
.menu-list-category li {
  list-style: none;
}
.menu-list-category li a {
  display: block;
  padding: 6px 8px;
  font-size: 13px;
  color: #475467;
  border-radius: 6px;
}
.menu-list-category li a:hover {
  background: #fff2f8;
  color: var(--primary);
}

.hero {
  border-radius: 12px;
  overflow: hidden;
  background: #ffe4ef;
  margin: 16px 0;
}
.hero img { width: 100%; height: 360px; object-fit: cover; display: block; }

@media (max-width: 920px) {
  .hero img {
    height: auto;
    object-fit: contain;
  }
}

.section { margin: 28px 0; }
.section h2 {
  margin: 0 0 14px;
  font-size: 24px;
}
.subtitle { color: #666; font-size: 14px; margin-bottom: 18px; }

.section-news h2 {
  text-align: center;
  margin-bottom: 8px;
}
.section-news h2::after {
  content: "";
  display: block;
  width: 110px;
  height: 3px;
  background: #ff4fa3;
  border-radius: 999px;
  margin: 8px auto 0;
}
.section-news .subtitle {
  text-align: center;
}
.section-destaques h2 {
  text-align: center;
}
.section-destaques h2::after,
.section-aproveite h2::after {
  content: "";
  display: block;
  width: 110px;
  height: 3px;
  background: #ff4fa3;
  border-radius: 999px;
  margin: 8px auto 0;
}
.section-aproveite h2,
.section-aproveite .subtitle {
  text-align: center;
}
.card-stars {
  color: #f59e0b;
  font-size: 13px;
  letter-spacing: 2px;
  margin: 4px 0;
}

.categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 14px;
}
.cat-item {
  text-align: center;
  background: #fff;
  border-radius: 12px;
  padding: 10px;
}
.cat-item img {
  width: 92px; height: 92px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 8px;
}

.products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}
.catalog-grid {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 22px;
  align-items: start;
}
.catalog-sidebar {
  position: sticky;
  top: 20px;
}
.filter-box {
  background: #fff;
  border: 1px solid #f0e7ec;
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 14px;
}
.filter-box h3 {
  margin: 0 0 10px;
  font-size: 20px;
  color: #374151;
}
.filter-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.filter-list li + li {
  margin-top: 6px;
}
.filter-list a {
  color: #475467;
  display: block;
  font-size: 14px;
  padding: 6px 8px;
  border-radius: 7px;
}
.filter-list a:hover,
.filter-list a.active {
  background: #fff2f8;
  color: var(--primary);
}
.catalog-main {
  min-width: 0;
}
.catalog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}
.catalog-head h2 {
  margin: 0 0 2px;
  font-size: 40px;
  line-height: 1.05;
  color: #374151;
}
.catalog-sort {
  display: flex;
  align-items: center;
  gap: 8px;
}
.catalog-sort label {
  margin: 0;
  font-size: 14px;
  color: #667085;
}
.catalog-sort select {
  width: auto;
  min-width: 160px;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  font-size: 14px;
}
.catalog-products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 18px;
}
.catalog-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #f0e7ec;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.catalog-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}
.catalog-image {
  position: relative;
  display: block;
}
.catalog-image img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}
.discount-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--primary);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  border-radius: 999px;
  padding: 6px 9px;
}
.catalog-body {
  padding: 12px;
}
.catalog-title {
  display: block;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.35;
  color: #344054;
  min-height: 42px;
}
.catalog-old-price {
  margin-top: 4px;
  font-size: 13px;
  color: #9ca3af;
  text-decoration: line-through;
}
.catalog-price {
  margin-top: 2px;
  color: var(--primary);
  font-size: 25px;
  font-weight: 700;
}
.catalog-installments {
  margin-top: 2px;
  color: #667085;
  font-size: 13px;
}
.card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  position: relative;
}
.card .card-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #ff4fa3;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  border-radius: 999px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(255, 79, 163, 0.35);
}
.card img { width: 100%; height: 210px; object-fit: cover; }
.card-body { padding: 12px; }
.card-body strong {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 14px;
  line-height: 1.3;
}
.price-old { text-decoration: line-through; color: #888; font-size: 14px; }
.price { color: var(--primary); font-size: 20px; font-weight: bold; }

.card-add-form {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.card-qty-wrap {
  display: flex;
  align-items: center;
  border: 1.5px solid #f0e7ec;
  border-radius: 10px;
  overflow: hidden;
  background: #fafafa;
  height: 36px;
}
.card-qty-btn {
  width: 34px;
  height: 100%;
  border: none;
  background: transparent;
  color: var(--primary);
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .15s ease;
  flex: 0 0 auto;
  padding: 0;
  line-height: 1;
}
.card-qty-btn:hover {
  background: #fff2f8;
}
.card-qty-btn:active {
  background: #ffe0ef;
}
.card-qty-input {
  width: 100% !important;
  flex: 1;
  text-align: center;
  border: none !important;
  background: transparent !important;
  font-size: 14px;
  font-weight: 700;
  color: #374151;
  padding: 0 !important;
  height: 100%;
  -moz-appearance: textfield;
}
.card-qty-input::-webkit-outer-spin-button,
.card-qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.card-buy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 10px 12px;
  background: linear-gradient(135deg, var(--primary) 0%, #e8457b 100%);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease;
  box-shadow: 0 3px 10px rgba(243, 95, 163, 0.25);
  letter-spacing: 0.01em;
}
.card-buy-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(243, 95, 163, 0.35);
}
.card-buy-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(243, 95, 163, 0.2);
}
.card-buy-btn svg {
  flex: 0 0 auto;
}

@media (max-width: 640px) {
  .products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .card {
    border-radius: 10px;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.06);
  }
  .card img {
    height: 160px;
    border-radius: 10px 10px 0 0;
  }
  .card .card-badge {
    width: 36px;
    height: 36px;
    font-size: 10px;
    top: 6px;
    right: 6px;
  }
  .card-body {
    padding: 8px;
  }
  .card-body strong {
    font-size: 12px;
    -webkit-line-clamp: 2;
  }
  .card-stars {
    font-size: 11px;
    margin: 2px 0;
  }
  .price-old {
    font-size: 11px;
  }
  .price {
    font-size: 15px;
  }
  .card-add-form {
    margin-top: 6px !important;
    gap: 5px;
  }
  .card-qty-wrap {
    height: 30px;
    border-radius: 8px;
  }
  .card-qty-btn {
    width: 28px;
    font-size: 15px;
  }
  .card-qty-input {
    font-size: 12px;
  }
  .card-buy-btn {
    padding: 8px 6px;
    font-size: 11px;
    border-radius: 8px;
    gap: 4px;
  }
  .card-buy-btn svg {
    width: 13px;
    height: 13px;
  }
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.panel {
  background: #fff;
  border-radius: 12px;
  padding: 16px;
}

/* ─── Checkout ─── */
.checkout-section {
  max-width: 1080px;
  margin: 28px auto;
  padding: 0 16px;
}

.checkout-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 32px;
}
.checkout-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.checkout-step-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #f3f4f6;
  border: 2px solid #e5e7eb;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
  transition: all .25s ease;
}
.checkout-step.active .checkout-step-icon {
  background: linear-gradient(135deg, var(--primary) 0%, #e8457b 100%);
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 4px 14px rgba(243, 95, 163, 0.35);
}
.checkout-step.completed .checkout-step-icon {
  background: #059669;
  border-color: #059669;
  color: #fff;
}
.checkout-step-label {
  font-size: 12px;
  font-weight: 700;
  color: #9ca3af;
}
.checkout-step.active .checkout-step-label {
  color: var(--primary);
}
.checkout-step.completed .checkout-step-label {
  color: #059669;
}
.checkout-step-line {
  width: 60px;
  height: 2px;
  background: #e5e7eb;
  margin: 0 8px;
  margin-bottom: 24px;
  border-radius: 2px;
}
.checkout-step-line.completed {
  background: #059669;
}

.checkout-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  align-items: start;
}

.checkout-form-panel {
  background: #fff;
  border: 1px solid #f0e7ec;
  border-radius: 16px;
  padding: 28px 24px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}
.checkout-panel-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  padding-bottom: 14px;
  border-bottom: 1px solid #f5edf2;
}
.checkout-panel-header h2,
.checkout-panel-header h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  color: #1f2937;
}

.checkout-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.checkout-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.checkout-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: #374151;
  margin-bottom: 7px;
}
.checkout-label svg {
  color: var(--primary);
  flex: 0 0 auto;
}

.checkout-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.checkout-input-icon {
  position: absolute;
  left: 14px;
  color: #9ca3af;
  flex: 0 0 auto;
  pointer-events: none;
  z-index: 1;
}
.checkout-input-wrap input,
.checkout-input-wrap select {
  width: 100%;
  padding: 12px 14px 12px 42px;
  border: 1.5px solid #e5e7eb;
  border-radius: 12px;
  font-size: 14px;
  color: #1f2937;
  background: #fafafa;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.checkout-input-wrap input:focus,
.checkout-input-wrap select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(243, 95, 163, 0.12);
  background: #fff;
}
.checkout-input-wrap input::placeholder {
  color: #c4c4c4;
}

.checkout-textarea-wrap {
  align-items: flex-start;
}
.checkout-textarea-icon {
  top: 14px;
  position: absolute;
}
.checkout-textarea-wrap textarea {
  width: 100%;
  padding: 12px 14px 12px 42px;
  border: 1.5px solid #e5e7eb;
  border-radius: 12px;
  font-size: 14px;
  color: #1f2937;
  background: #fafafa;
  resize: vertical;
  min-height: 72px;
  font-family: inherit;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.checkout-textarea-wrap textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(243, 95, 163, 0.12);
  background: #fff;
}
.checkout-textarea-wrap textarea::placeholder {
  color: #c4c4c4;
}

.checkout-payment-box {
  border-radius: 12px;
}
.checkout-pix-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #ecfdf5;
  border: 1.5px solid #a7f3d0;
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 14px;
  color: #065f46;
}
.checkout-pix-tag {
  font-size: 11px;
  font-weight: 800;
  color: #059669;
  background: #d1fae5;
  padding: 3px 8px;
  border-radius: 99px;
  margin-left: auto;
}

.checkout-security-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 10px;
  font-size: 12px;
  color: #166534;
  font-weight: 600;
}

.checkout-submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 16px 24px;
  background: linear-gradient(135deg, var(--primary) 0%, #e8457b 100%);
  color: #fff;
  border: none;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  letter-spacing: 0.02em;
  transition: transform .2s ease, box-shadow .2s ease;
  box-shadow: 0 4px 14px rgba(243, 95, 163, 0.3);
}
.checkout-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(243, 95, 163, 0.4);
}
.checkout-submit-btn:active {
  transform: translateY(0);
}

.checkout-summary-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: sticky;
  top: 20px;
}

.checkout-summary-panel {
  background: #fff;
  border: 1px solid #f0e7ec;
  border-radius: 16px;
  padding: 24px 20px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.checkout-items-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}
.checkout-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  background: #fafafa;
  border: 1px solid #f3f4f6;
  border-radius: 10px;
}
.checkout-item-info {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.checkout-item-qty {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--primary);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.checkout-item-name {
  font-size: 13px;
  font-weight: 600;
  color: #374151;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.checkout-item-price {
  font-size: 14px;
  font-weight: 800;
  color: #1f2937;
  white-space: nowrap;
}

.checkout-summary-divider {
  height: 1px;
  background: #f0e7ec;
  margin: 14px 0;
}

.checkout-summary-rows {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.checkout-summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  color: #667085;
}
.checkout-shipping-label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.checkout-free-tag {
  font-size: 12px;
  font-weight: 800;
  color: #166534;
  background: #dcfce7;
  border: 1px solid #bbf7d0;
  padding: 2px 10px;
  border-radius: 99px;
}

.checkout-shipping-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.checkout-shipping-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1.5px solid #e5e7eb;
  border-radius: 12px;
  background: #fafafa;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
  position: relative;
}
.checkout-shipping-option:hover {
  border-color: #f0cfe0;
  background: #fff;
}
.checkout-shipping-option.selected {
  border-color: var(--primary);
  background: #fff7fb;
  box-shadow: 0 0 0 3px rgba(243, 95, 163, 0.1);
}
.checkout-shipping-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}
.checkout-shipping-radio {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #d1d5db;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color .2s ease;
}
.checkout-shipping-option.selected .checkout-shipping-radio {
  border-color: var(--primary);
}
.checkout-shipping-option.selected .checkout-shipping-radio::after {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary);
}
.checkout-shipping-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}
.checkout-shipping-method {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  color: #1f2937;
}
.checkout-shipping-method svg {
  color: var(--primary);
  flex: 0 0 auto;
}
.checkout-shipping-days {
  font-size: 12px;
  color: #6b7280;
  font-weight: 500;
}
.checkout-shipping-price {
  font-size: 15px;
  font-weight: 800;
  color: #1f2937;
  white-space: nowrap;
}

.checkout-summary-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 20px;
  font-weight: 900;
  color: #1f2937;
}
.checkout-summary-total span:last-child {
  color: var(--primary);
}

.checkout-freeship-tip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 12px;
  font-size: 13px;
  color: #92400e;
  font-weight: 600;
}

.checkout-trust-badges {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
}
.checkout-trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 14px 8px;
  background: #fff;
  border: 1px solid #f0e7ec;
  border-radius: 12px;
  text-align: center;
}
.checkout-trust-item span {
  font-size: 11px;
  font-weight: 700;
  color: #374151;
  line-height: 1.2;
}

.checkout-required {
  color: #ef4444;
  font-weight: 400;
}

.checkout-section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, #f0e7ec, transparent);
  margin: 8px 0 4px;
}

.checkout-cep-row {
  display: flex;
  gap: 10px;
  align-items: stretch;
}
.checkout-cep-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 18px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .15s ease, box-shadow .15s ease;
}
.checkout-cep-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(243, 95, 163, 0.3);
}
.checkout-cep-btn:disabled {
  opacity: 0.7;
  cursor: wait;
  transform: none;
  box-shadow: none;
}
.checkout-cep-spinner {
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255,255,255,0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: shipping-spin .7s linear infinite;
  display: inline-block;
}

.checkout-cep-feedback {
  margin-top: 6px;
  min-height: 20px;
}
.checkout-cep-error {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
  color: #dc2626;
}
.checkout-cep-success {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
  color: #059669;
}

.checkout-address-fields {
  display: flex;
  flex-direction: column;
  gap: 14px;
  animation: checkoutSlideDown .3s ease;
}
@keyframes checkoutSlideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.checkout-field-row-3 {
  grid-template-columns: 1fr 1fr 1fr;
}

.checkout-shipping-found {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: 10px;
  font-size: 13px;
  color: #065f46;
  font-weight: 600;
  margin-bottom: 12px;
}

.checkout-shipping-pending {
  font-size: 12px;
  font-weight: 600;
  color: #9ca3af;
  font-style: italic;
}

@media (max-width: 920px) {
  .checkout-grid {
    grid-template-columns: 1fr;
  }
  .checkout-summary-col {
    position: static;
  }
  .checkout-steps {
    margin-bottom: 22px;
  }
  .checkout-step-line {
    width: 40px;
  }
}
@media (max-width: 640px) {
  .checkout-section {
    padding: 0;
    margin: 10px auto;
    max-width: 100%;
    overflow-x: hidden;
  }
  .checkout-grid {
    gap: 10px;
  }
  .checkout-form-panel {
    padding: 14px 10px;
    border-radius: 10px;
    border: none;
    box-shadow: none;
  }
  .checkout-panel-header {
    margin-bottom: 10px;
    padding-bottom: 8px;
    gap: 6px;
  }
  .checkout-panel-header h2,
  .checkout-panel-header h3 {
    font-size: 15px;
  }
  .checkout-panel-header > svg {
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
  }
  .checkout-form {
    gap: 10px;
  }
  .checkout-field-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .checkout-field-row-3 {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .checkout-label {
    font-size: 11px;
    margin-bottom: 4px;
    gap: 4px;
  }
  .checkout-label svg {
    width: 12px;
    height: 12px;
  }
  .checkout-input-wrap input,
  .checkout-input-wrap select {
    padding: 9px 10px 9px 32px;
    font-size: 13px;
    border-radius: 8px;
  }
  .checkout-input-icon {
    left: 10px;
    width: 14px !important;
    height: 14px !important;
  }
  .checkout-textarea-wrap textarea {
    padding: 9px 10px 9px 32px;
    font-size: 13px;
    border-radius: 8px;
    min-height: 50px;
  }
  .checkout-cep-row {
    gap: 6px;
  }
  .checkout-cep-btn {
    padding: 0 10px;
    font-size: 11px;
    border-radius: 8px;
    gap: 4px;
  }
  .checkout-cep-btn svg {
    width: 13px;
    height: 13px;
  }
  .checkout-shipping-options {
    gap: 6px;
  }
  .checkout-shipping-option {
    padding: 9px 10px;
    gap: 6px;
    border-radius: 8px;
  }
  .checkout-shipping-method {
    font-size: 12px;
    gap: 4px;
  }
  .checkout-shipping-method svg {
    width: 14px;
    height: 14px;
  }
  .checkout-shipping-days {
    font-size: 10px;
  }
  .checkout-shipping-price {
    font-size: 12px;
  }
  .checkout-shipping-radio {
    width: 16px;
    height: 16px;
  }
  .checkout-shipping-option.selected .checkout-shipping-radio::after {
    width: 8px;
    height: 8px;
  }
  .checkout-pix-badge {
    padding: 9px 10px;
    font-size: 12px;
    border-radius: 8px;
    flex-wrap: wrap;
    gap: 5px;
  }
  .checkout-pix-badge svg {
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
  }
  .checkout-pix-tag {
    font-size: 9px;
    padding: 2px 6px;
    margin-left: 0;
    white-space: nowrap;
  }
  .checkout-security-bar {
    padding: 7px 8px;
    font-size: 10px;
    border-radius: 6px;
    gap: 5px;
  }
  .checkout-security-bar svg {
    width: 13px;
    height: 13px;
    flex: 0 0 auto;
  }
  .checkout-submit-btn {
    padding: 12px 14px;
    font-size: 14px;
    border-radius: 10px;
    gap: 6px;
  }
  .checkout-submit-btn svg {
    width: 16px;
    height: 16px;
  }
  .checkout-summary-panel {
    padding: 12px 10px;
    border-radius: 10px;
    overflow: hidden;
  }
  .checkout-summary-col {
    max-width: 100%;
    overflow: hidden;
  }
  .checkout-items-list {
    gap: 6px;
  }
  .checkout-item {
    padding: 7px 8px;
    border-radius: 6px;
    gap: 6px;
  }
  .checkout-item-qty {
    width: 22px;
    height: 22px;
    font-size: 9px;
    border-radius: 5px;
  }
  .checkout-item {
    flex-wrap: nowrap;
    overflow: hidden;
  }
  .checkout-item-info {
    overflow: hidden;
    min-width: 0;
  }
  .checkout-item-name {
    font-size: 11px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
  }
  .checkout-item-price {
    font-size: 12px;
    flex: 0 0 auto;
  }
  .checkout-summary-divider {
    margin: 8px 0;
  }
  .checkout-summary-row {
    font-size: 12px;
    flex-wrap: nowrap;
  }
  .checkout-summary-row span:last-child {
    flex: 0 0 auto;
  }
  .checkout-shipping-label {
    font-size: 12px;
  }
  .checkout-shipping-label svg {
    width: 12px;
    height: 12px;
  }
  .checkout-summary-total {
    font-size: 16px;
  }
  .checkout-summary-total span:last-child {
    flex: 0 0 auto;
  }
  .checkout-freeship-tip {
    padding: 8px 10px;
    font-size: 11px;
    border-radius: 8px;
    gap: 5px;
    overflow: hidden;
  }
  .checkout-freeship-tip svg {
    flex: 0 0 auto;
    width: 14px;
    height: 14px;
  }
  .checkout-trust-badges {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 4px;
    overflow: hidden;
  }
  .checkout-trust-item {
    padding: 8px 2px;
    border-radius: 8px;
    gap: 3px;
    overflow: hidden;
  }
  .checkout-trust-item svg {
    width: 14px;
    height: 14px;
    flex: 0 0 auto;
  }
  .checkout-trust-item span {
    font-size: 8px;
    word-break: break-word;
    text-align: center;
    line-height: 1.1;
  }
  .checkout-steps {
    gap: 0;
    margin-bottom: 12px;
  }
  .checkout-step-icon {
    width: 28px;
    height: 28px;
  }
  .checkout-step-icon svg {
    width: 12px;
    height: 12px;
  }
  .checkout-step-label {
    font-size: 8px;
  }
  .checkout-step-line {
    width: 20px;
    margin: 0 3px;
    margin-bottom: 16px;
  }
  .checkout-section-divider {
    margin: 4px 0 2px;
  }
  .checkout-shipping-found {
    padding: 7px 8px;
    font-size: 11px;
    border-radius: 6px;
    margin-bottom: 8px;
    gap: 5px;
  }
  .checkout-shipping-found svg {
    width: 13px;
    height: 13px;
    flex: 0 0 auto;
  }
}
.table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}
.table th, .table td {
  border-bottom: 1px solid #eee;
  padding: 10px;
  text-align: left;
}

.form-group { margin-bottom: 12px; }
label { display: block; margin-bottom: 6px; font-weight: bold; }
input, select, textarea {
  width: 100%;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 10px;
}

.alert {
  padding: 10px 12px;
  border-radius: 8px;
  margin: 12px 0;
}
.alert-success { background: #e9fff7; color: #0d7a5d; }
.alert-error { background: #ffeef2; color: #8b214c; }

.footer {
  margin-top: 40px;
  background: #fff;
  border-top: 2px solid #f0f0f0;
  padding: 26px 0;
  color: #666;
}

/* Modern footer (editavel via admin) */
.footer-modern {
  margin-top: 40px;
  background: #fff;
  border-top: 2px solid #f0f0f0;
  padding: 30px 0 0;
  color: #666;
}
.footer-modern-top {
  padding-bottom: 22px;
}
.footer-modern-cols {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 18px;
  align-items: start;
}
.footer-col-title {
  font-weight: 900;
  color: #111827;
  font-size: 14px;
  margin-bottom: 10px;
  text-transform: none;
}
.footer-mt {
  margin-top: 18px;
}
.footer-logo img {
  max-width: 190px;
  height: auto;
  display: block;
}
.footer-about-text {
  margin-top: 12px;
  color: #4b5563;
  font-size: 14px;
  line-height: 1.45;
}
.footer-contact {
  margin-top: 14px;
}
.footer-contact-row {
  color: #6b7280;
  font-size: 13px;
  line-height: 1.4;
  margin-top: 6px;
}
.footer-social-list {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.footer-social-link {
  color: var(--primary);
  font-weight: 700;
  font-size: 13px;
  border: 1px solid #f0e7ec;
  padding: 8px 10px;
  border-radius: 10px;
  background: #fff;
}
.footer-social-link:hover {
  background: #fff2f8;
}
.footer-address {
  color: #4b5563;
  font-size: 13px;
  line-height: 1.45;
}
.footer-map {
  width: 100%;
  height: 220px;
  border: 0;
  border-radius: 12px;
  margin-top: 12px;
}
.footer-link-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-link-list li + li {
  margin-top: 8px;
}
.footer-link-list a {
  color: #374151;
  font-size: 13px;
  font-weight: 600;
}
.footer-link-list a:hover {
  color: var(--primary);
}
.footer-muted {
  color: #9ca3af;
  font-size: 13px;
  margin-top: 10px;
}
.footer-modern-copy {
  border-top: 1px solid #f0f0f0;
  padding: 16px 0;
}
.footer-copy-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.footer-copy-text {
  color: #6b7280;
  font-size: 13px;
  font-weight: 600;
}

@media (max-width: 920px) {
  .footer-modern-cols {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .footer-modern-cols {
    grid-template-columns: 1fr;
  }
  .footer-map {
    height: 180px;
  }
}

.admin-wrap {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: 100vh;
}
.admin-sidebar {
  background: #1f2937;
  color: #fff;
  padding: 18px;
}
.admin-sidebar a {
  display: block;
  margin: 8px 0;
  padding: 8px;
  border-radius: 6px;
}
.admin-sidebar a:hover { background: rgba(255, 255, 255, 0.12); }
.admin-content { padding: 24px; }

@media (max-width: 920px) {
  .header {
    border-top: 0;
    border-bottom: 2px solid var(--primary);
    z-index: 120;
  }
  .mobile-header {
    display: block;
  }
  .desktop-header {
    display: none;
  }
  .header-row { flex-wrap: wrap; }
  .search { width: 100%; }
  .header-search-wrapper {
    width: 100%;
    max-width: none;
  }
  .header-actions {
    width: 100%;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
  }
  .action-link {
    font-size: 12px;
    gap: 5px;
  }
  .action-svg { width: 22px; height: 22px; }
  .item-dropdown {
    left: auto;
    right: 0;
    min-width: 220px;
  }
  .grid-2 { grid-template-columns: 1fr; }
  .admin-wrap { grid-template-columns: 1fr; }
  .mobile-search-row {
    padding: 0 0 10px;
  }
  .mobile-search-row.is-hidden {
    display: none;
  }
  .mobile-menu-modal {
    position: fixed;
    inset: 0;
    display: block;
    z-index: 250;
    pointer-events: none;
  }
  .mobile-menu-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(36, 16, 27, 0.35);
    opacity: 0;
    transition: opacity 0.22s ease;
  }
  .mobile-menu-panel {
    position: relative;
    z-index: 1;
    width: min(88vw, 360px);
    height: 100%;
    background: #fff;
    display: flex;
    flex-direction: column;
    transform: translateX(-102%);
    transition: transform 0.22s ease;
    box-shadow: 8px 0 24px rgba(0, 0, 0, 0.14);
  }
  .mobile-menu-modal.is-open {
    pointer-events: auto;
  }
  .mobile-menu-modal.is-open .mobile-menu-backdrop {
    opacity: 1;
  }
  .mobile-menu-modal.is-open .mobile-menu-panel {
    transform: translateX(0);
  }
  .mobile-menu-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 16px 12px;
    border-bottom: 1px solid #f3d9e5;
  }
  .mobile-menu-title {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--primary);
    font-size: 14px;
    font-weight: 600;
  }
  .mobile-menu-title svg,
  .mobile-menu-close svg {
    width: 25px;
    height: 25px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  .mobile-menu-close {
    color: var(--primary);
  }
  .mobile-menu-body {
    flex: 1;
    overflow: auto;
    padding: 16px;
  }
  .mobile-menu-categories {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 4px;
  }
  .mobile-menu-category {
    border-bottom: 1px solid #f6e7ef;
  }
  .mobile-menu-category summary {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: var(--primary);
    font-size: 13px;
    font-weight: 500;
    padding: 10px 0;
    cursor: pointer;
  }
  .mobile-menu-category summary::-webkit-details-marker {
    display: none;
  }
  .mobile-menu-category summary svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.18s ease;
    flex: 0 0 auto;
  }
  .mobile-menu-category[open] summary svg {
    transform: rotate(180deg);
  }
  .mobile-menu-category ul {
    list-style: none;
    margin: 0 0 8px;
    padding: 0 0 0 8px;
  }
  .mobile-menu-category ul li a {
    display: block;
    color: #b45382;
    font-size: 14px;
    font-weight: 500;
    padding: 7px 0;
  }
  .mobile-menu-footer {
    border-top: 1px solid #f3d9e5;
    padding: 16px;
    display: grid;
    gap: 12px;
  }
  .mobile-menu-footer-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--primary);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.15;
  }
  .mobile-menu-footer-link svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex: 0 0 auto;
  }
  .mobile-quick-actions {
    display: none !important;
  }
  .mobile-quick-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.1;
  }
  .mobile-quick-link .action-svg {
    width: 18px;
    height: 18px;
  }
  .mobile-cart .action-svg {
    width: 24px;
    height: 24px;
  }
  .mobile-cart .cart-badge {
    top: -6px;
    right: -10px;
  }
  .menu {
    display: none;
    background: #fff;
    border-bottom: 1px solid #f3d7e4;
  }
  .menu.is-open {
    display: block;
  }
  .menu .container {
    width: min(1200px, 94%);
  }
  .menu .list {
    justify-content: flex-start;
    padding: 10px 0 12px;
    gap: 14px;
    overflow-x: auto;
    overflow-y: hidden;
    flex-wrap: nowrap;
  }
  .menu .first-level > a,
  .menu .first-level > span {
    font-size: 14px;
    font-weight: 500;
  }
  .menu .sub-list,
  .menu .more-second {
    display: none !important;
  }
  .catalog-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .catalog-sidebar {
    position: static;
  }
  .catalog-head {
    flex-direction: column;
    align-items: flex-start;
  }
  .catalog-head h2 {
    font-size: 28px;
  }
  .catalog-products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .catalog-image img {
    height: 190px;
  }
}

/* Cart */
.cart-empty {
  margin-top: 18px;
  background: #fff;
  border: 1px solid #f0e7ec;
  border-radius: 16px;
  padding: 36px 18px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  text-align: center;
}
.cart-empty-icon {
  color: #c4c4c4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #fafafa;
  border: 1.5px solid #f0e7ec;
}
.cart-empty-title {
  margin-top: 14px;
  font-size: 18px;
  font-weight: 800;
  color: #374151;
}
.cart-empty-cta {
  margin-top: 18px;
  display: inline-flex;
  min-width: 260px;
  justify-content: center;
}

.cart-mobile-only { display: none; }
.cart-desktop-only { display: block; }

.cart-card {
  padding: 16px;
  margin-top: 12px;
}
.cart-table-wrap {
  overflow: auto;
  border-radius: 12px;
}
.cart-table th {
  font-weight: 700;
  color: #4b5563;
  font-size: 13px;
}
.cart-qty-input {
  width: 80px !important;
}

.cart-summary-bar {
  background: #fff;
  border: 1px solid #f0e7ec;
  border-radius: 14px;
  padding: 18px;
  margin-top: 14px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.cart-summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid #f5edf2;
}
.cart-summary-label {
  font-size: 14px;
  color: #667085;
  font-weight: 600;
}
.cart-summary-value {
  font-size: 22px;
  font-weight: 900;
  color: var(--primary);
}
.cart-summary-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}
.cart-update-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 18px;
  background: #fff;
  color: var(--primary);
  border: 1.5px solid #f0d0e2;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease;
}
.cart-update-btn:hover {
  background: #fff7fb;
  border-color: var(--primary);
}
.cart-update-btn svg { flex: 0 0 auto; }
.cart-checkout-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 20px;
  background: linear-gradient(135deg, var(--primary) 0%, #e8457b 100%);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease;
  box-shadow: 0 4px 14px rgba(243, 95, 163, 0.28);
  text-decoration: none;
}
.cart-checkout-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(243, 95, 163, 0.38);
}
.cart-checkout-btn svg { flex: 0 0 auto; }

.cart-clear-form {
  margin-top: 10px;
}
.cart-clear-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: transparent;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  color: #9ca3af;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: color .15s ease, border-color .15s ease;
}
.cart-clear-btn:hover {
  color: #ef4444;
  border-color: #fca5a5;
}
.cart-clear-btn svg { flex: 0 0 auto; }

/* Cart Mobile Cards */
.cart-m-items {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cart-m-item {
  display: flex;
  gap: 12px;
  background: #fff;
  border: 1px solid #f0e7ec;
  border-radius: 14px;
  padding: 12px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.03);
}
.cart-m-img {
  width: 72px;
  height: 72px;
  border-radius: 10px;
  object-fit: cover;
  flex: 0 0 auto;
}
.cart-m-img-placeholder {
  width: 72px;
  height: 72px;
  border-radius: 10px;
  background: #f9fafb;
  border: 1px dashed #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
.cart-m-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.cart-m-name {
  font-size: 13px;
  font-weight: 700;
  color: #374151;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.cart-m-price {
  font-size: 12px;
  color: #9ca3af;
}
.cart-m-qty-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 2px;
}
.cart-m-qty-wrap {
  display: flex;
  align-items: center;
  border: 1.5px solid #f0e7ec;
  border-radius: 10px;
  overflow: hidden;
  background: #fafafa;
  height: 32px;
}
.cart-m-qty-btn {
  width: 30px;
  height: 100%;
  border: none;
  background: transparent;
  color: var(--primary);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  line-height: 1;
  transition: background .12s ease;
}
.cart-m-qty-btn:active {
  background: #ffe0ef;
}
.cart-m-qty-input {
  width: 36px !important;
  text-align: center;
  border: none !important;
  background: transparent !important;
  font-size: 13px;
  font-weight: 700;
  color: #374151;
  padding: 0 !important;
  height: 100%;
  -moz-appearance: textfield;
}
.cart-m-qty-input::-webkit-outer-spin-button,
.cart-m-qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.cart-m-subtotal {
  font-size: 15px;
  font-weight: 800;
  color: var(--primary);
  white-space: nowrap;
}

@media (max-width: 640px) {
  .cart-desktop-only { display: none !important; }
  .cart-mobile-only { display: block !important; }
  .cart-summary-bar {
    border-radius: 12px;
    padding: 14px;
    margin-top: 10px;
  }
  .cart-summary-row {
    margin-bottom: 10px;
    padding-bottom: 10px;
  }
  .cart-summary-value {
    font-size: 20px;
  }
  .cart-summary-actions {
    flex-direction: column;
    gap: 8px;
  }
  .cart-update-btn {
    width: 100%;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 12px;
  }
  .cart-checkout-btn {
    width: 100%;
    padding: 14px 16px;
    border-radius: 12px;
    font-size: 15px;
  }
  .cart-clear-form {
    text-align: center;
    margin-top: 14px;
  }
  .cart-empty {
    padding: 30px 16px;
    border-radius: 14px;
  }
  .cart-empty-icon {
    width: 68px;
    height: 68px;
  }
  .cart-empty-title {
    font-size: 16px;
  }
  .cart-empty-cta {
    width: 100%;
    min-width: 0;
    padding: 14px 16px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
  }
}

/* Track */
.track-form-card {
  max-width: 560px;
  padding: 18px;
  margin-bottom: 18px;
}
.track-form .btn {
  width: 100%;
}
.track-order-card {
  padding: 18px;
}
.track-order-head {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 14px;
}
.track-order-id h3 {
  margin: 0 0 8px;
  font-size: 18px;
  color: #374151;
}
.track-meta {
  color: #667085;
}
.track-meta strong {
  color: #374151;
}
.track-order-total {
  text-align: right;
}
.track-total-label {
  color: #667085;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 4px;
}

.track-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 14px;
}
.track-info-box {
  border-radius: 12px;
  background: #fff;
  border: 1px solid #f0e7ec;
  padding: 12px;
}
.track-info-title {
  color: #667085;
  font-weight: 900;
  font-size: 13px;
  margin-bottom: 4px;
}
.track-info-value {
  color: #374151;
  font-weight: 700;
  font-size: 14px;
}

.track-items {
  border-radius: 12px;
  border: 1px solid #f0e7ec;
  overflow: hidden;
}
.track-item {
  display: grid;
  grid-template-columns: 1fr 70px 120px;
  gap: 10px;
  align-items: center;
  padding: 12px;
  background: #fff;
}
.track-item + .track-item {
  border-top: 1px solid #f0e7ec;
}
.track-item-name {
  color: #374151;
  font-weight: 700;
}
.track-item-qty {
  color: #667085;
  font-weight: 800;
}
.track-item-subtotal {
  text-align: right;
  color: var(--primary);
  font-weight: 900;
}

@media (max-width: 920px) {
  .track-info-grid {
    grid-template-columns: 1fr;
  }
  .track-order-head {
    flex-direction: column;
    align-items: flex-start;
  }
  .track-order-total {
    text-align: left;
  }
}

/* Account */
.account-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #f0e7ec;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  overflow: hidden;
}
.account-hero-col {
  padding: 26px 18px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}
.account-hero-col + .account-hero-col {
  border-left: 1px solid #f0e7ec;
}
.account-avatar {
  width: 76px;
  height: 76px;
  border-radius: 18px;
  background: #fafafa;
  border: 1px solid #f0e7ec;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  color: var(--primary);
  font-size: 20px;
  margin: 0 auto;
}
.account-hero-name {
  font-weight: 900;
  font-size: 20px;
  color: #374151;
  margin-top: 2px;
}
.account-hero-email {
  color: #667085;
  font-size: 14px;
}
.account-hero-subtitle {
  color: #6b7280;
  font-size: 14px;
  margin-top: 6px;
}

.account-summary-title {
  font-size: 16px;
  font-weight: 900;
  color: #374151;
  margin-bottom: 6px;
}
.account-summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 360px;
  margin: 6px auto;
  gap: 12px;
  padding: 6px 10px;
  border-radius: 12px;
  background: #fff;
}
.account-summary-row span {
  color: #667085;
  font-weight: 600;
  font-size: 14px;
}
.account-hero-actions {
  margin-top: 12px;
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}
.account-btn {
  min-width: 220px;
  justify-content: center;
}
.account-btn-outline {
  min-width: 160px;
}

.account-orders-card {
  padding: 16px;
  margin-top: 12px;
}
.account-table-wrap {
  overflow: auto;
  border-radius: 12px;
}
.account-track-link {
  color: var(--primary);
  font-weight: 800;
}

.account-empty-orders {
  padding: 24px 16px;
  text-align: center;
}
.account-empty-title {
  font-weight: 900;
  color: #374151;
  font-size: 16px;
}
.account-empty-subtitle {
  margin-top: 6px;
  color: #667085;
  font-size: 14px;
}
.account-empty-cta {
  margin-top: 14px;
  min-width: 260px;
  justify-content: center;
}

@media (max-width: 920px) {
  .account-hero {
    grid-template-columns: 1fr;
  }
  .account-hero-col + .account-hero-col {
    border-left: none;
    border-top: 1px solid #f0e7ec;
  }
}

/* Regua de vantagens (index.php) */
.regua-vantagens {
  margin-top: 12px;
  margin-bottom: 0;
}
.regua-vantagens-container {
  position: relative;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}
.regua-vantagens-list {
  justify-content: center !important;
}
.regua-item {
  background: #fff;
  border: 1px solid #f0e7ec;
  border-radius: 10px;
  padding: 6px 5px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
}
.regua-item img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}
.regua-title {
  font-weight: 900;
  color: #374151;
  font-size: 10px;
  line-height: 1.2;
}
.regua-sub {
  font-weight: 700;
  color: #667085;
  font-size: 8px;
  line-height: 1.25;
}
.next-regua,
.prev-regua {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #f0e7ec;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
}
.next-regua {
  right: -3px;
}
.prev-regua {
  left: -3px;
}
.next-regua svg,
.prev-regua svg {
  stroke: var(--primary);
}

@media (max-width: 920px) {
  .next-regua {
    right: 0;
  }
  .prev-regua {
    left: 0;
  }
}

@media (max-width: 640px) {
  .regua-vantagens-container {
    padding: 0 8px;
  }
  .regua-item {
    padding: 5px 4px;
  }
  .regua-item img {
    width: 22px;
    height: 22px;
  }
  .regua-title {
    font-size: 9px;
  }
  .regua-sub {
    font-size: 7px;
  }
  .next-regua,
  .prev-regua {
    display: none;
  }
}

/* Produto page - Similar products (product.php) */
.product-similar-section {
  margin: 18px 0 10px;
}
.product-section-title {
  text-transform: uppercase;
  text-align: center;
  margin: 0 0 14px;
  font-size: 26px;
}
.product-similar-grid {
  max-width: 930px;
  margin: 0 auto;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px;
  justify-content: center;
}
.product-similar-grid .catalog-image img {
  height: 190px;
}
.product-similar-grid .catalog-body {
  padding: 10px;
}
.product-similar-grid .catalog-title {
  font-size: 14px;
  min-height: 40px;
}
.product-similar-grid .catalog-price {
  font-size: 20px;
}
.product-similar-grid .catalog-installments {
  font-size: 12px;
}
.product-similar-grid .catalog-old-price {
  font-size: 13px;
}
.product-similar-grid .discount-badge {
  font-size: 11px;
  padding: 5px 8px;
  top: 8px;
  right: 8px;
}
.product-similar-grid form input[type="number"] {
  width: 62px;
}
.product-similar-grid form .btn {
  padding: 8px 12px;
  border-radius: 10px;
}

/* Produto page - Detail + Tabs (product.php) */
.product-detail {
  align-items: start;
}

.product-gallery {
  padding: 16px;
}

.product-main-image {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}

.product-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.product-thumb {
  width: 76px;
  height: 56px;
  padding: 0;
  border-radius: 10px;
  border: 2px solid transparent;
  background: #fff;
  cursor: pointer;
  overflow: hidden;
}
.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.product-thumb.active {
  border-color: var(--primary);
}

.product-info {
  padding: 18px;
}

.product-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 8px;
  background: #fff7fb;
  border: 1px solid #ffd1e6;
  color: var(--primary);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.02em;
}

.product-title {
  font-size: 26px;
  line-height: 1.15;
  margin: 12px 0 6px;
  font-weight: 800;
  color: #1f2937;
}

.product-meta {
  font-size: 12px;
  color: #6b7280;
  margin-bottom: 10px;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.product-stars {
  color: #f59e0b;
  letter-spacing: 1px;
  font-size: 14px;
}
.product-review-text {
  font-size: 13px;
  color: #6b7280;
}

.product-shipline {
  font-size: 13px;
  color: #374151;
  margin: 10px 0 10px;
}

.product-old-price {
  text-decoration: line-through;
  color: #9ca3af;
  font-size: 13px;
  margin-top: 10px;
}

.product-price {
  font-size: 28px;
  color: var(--primary);
  font-weight: 900;
  margin: 2px 0 4px;
}

.product-installments {
  font-size: 12px;
  color: #6b7280;
  margin-bottom: 14px;
}

.product-stock {
  font-size: 13px;
  color: #374151;
  margin-bottom: 10px;
}

.product-purchase-form {
  margin-top: 6px;
}

.product-qty-row {
  display: flex;
  gap: 10px;
  align-items: center;
}

.product-qty {
  width: 72px;
  padding: 10px 10px;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
}

.product-buy-btn {
  flex: 1;
  justify-content: center;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 13px;
}

.product-more-btn {
  width: 100%;
  margin-top: 12px;
  border-radius: 10px;
  padding: 12px 14px;
}

.product-shipping-calc {
  margin-top: 14px;
  border-top: 1px dashed #eed9e6;
  padding-top: 12px;
}
.product-shipping-label {
  font-size: 13px;
  color: #374151;
  margin-bottom: 10px;
  font-weight: 600;
}
.product-shipping-row {
  display: flex;
  gap: 10px;
  align-items: center;
}
.product-cep {
  flex: 1;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  font-size: 13px;
}
.product-calc-btn {
  border: none;
  background: #fb5ca8;
  color: #fff;
  padding: 12px 14px;
  border-radius: 10px;
  font-weight: 800;
  cursor: pointer;
  font-size: 12px;
  transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
}
.product-calc-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 18px rgba(251, 92, 168, 0.25);
}
.product-calc-btn:disabled {
  opacity: .65;
  cursor: wait;
  transform: none;
  box-shadow: none;
}

.shipping-result {
  margin-top: 14px;
}
.shipping-loading-card {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 12px;
  border: 1px solid #f5dbe9;
  background: linear-gradient(180deg, #fffafd 0%, #fff4fa 100%);
  padding: 10px 12px;
  font-size: 12.5px;
  color: #6b7280;
}
.shipping-spinner {
  width: 13px;
  height: 13px;
  border: 2px solid #f8c3de;
  border-top-color: #fb5ca8;
  border-radius: 50%;
  animation: shipping-spin .8s linear infinite;
}
@keyframes shipping-spin {
  to { transform: rotate(360deg); }
}
.shipping-result-card {
  border: 1px solid #f5dbe9;
  border-radius: 14px;
  padding: 12px;
  background:
    radial-gradient(100% 120% at 100% 0%, rgba(243, 95, 163, 0.09) 0%, rgba(243, 95, 163, 0) 55%),
    #fff;
}
.shipping-error {
  font-size: 13px;
  color: #dc2626;
  padding: 8px 0;
  font-weight: 600;
}
.shipping-location {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid #f6e6ee;
}
.shipping-pin {
  line-height: 1;
  margin-top: 1px;
}
.shipping-location-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.shipping-location-text strong {
  font-size: 12px;
  color: #6b7280;
}
.shipping-location-text span {
  font-size: 13px;
  color: #111827;
  line-height: 1.3;
}
.shipping-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.shipping-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  border: 1px solid #f4e6ef;
  border-radius: 12px;
  background: #fff9fc;
  padding: 11px 12px;
  transition: transform .16s ease, border-color .16s ease;
}
.shipping-option:hover {
  transform: translateY(-1px);
  border-color: #f0cfe0;
}
.shipping-option-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.shipping-type-row {
  display: flex;
  align-items: center;
  gap: 6px;
}
.shipping-type {
  font-size: 12.5px;
  color: #111827;
  font-weight: 800;
}
.shipping-tag {
  font-size: 10px;
  color: #b45309;
  background: #fff4d8;
  border: 1px solid #fbe6b0;
  padding: 2px 6px;
  border-radius: 99px;
  font-weight: 700;
}
.shipping-days {
  font-size: 12px;
  color: #6b7280;
}
.shipping-option-right {
  text-align: right;
}
.shipping-price {
  font-size: 16px;
  color: #111827;
  font-weight: 900;
}
.shipping-free {
  font-size: 11px;
  color: #166534;
  background: #dcfce7;
  border: 1px solid #b9f4ca;
  font-weight: 900;
  padding: 3px 8px;
  border-radius: 99px;
}

@media (max-width: 540px) {
  .product-shipping-row {
    flex-direction: column;
    align-items: stretch;
  }
  .product-calc-btn {
    width: 100%;
  }
  .shipping-option {
    align-items: flex-start;
  }
  .shipping-option-right {
    min-width: 76px;
  }
}

.product-tabs-section {
  margin-top: 12px;
}

.product-tabs {
  width: 100%;
}

.product-tabs-nav {
  display: flex;
  gap: 8px;
  border-bottom: 1px solid #eee;
  flex-wrap: wrap;
  justify-content: center;
}

.product-tab-btn {
  background: transparent;
  border: none;
  padding: 14px 10px;
  cursor: pointer;
  font-weight: 600;
  color: #111827;
  font-size: 13px;
  position: relative;
}

.product-tab-btn.active {
  color: var(--primary);
}

.product-tab-btn.active::after {
  content: '';
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: -1px;
  height: 2px;
  background: var(--primary);
}

.product-tabs-panels {
  padding: 14px 0 8px;
}

.product-tab-panel {
  display: none;
  color: #374151;
  font-size: 14px;
}
.product-tab-panel.active {
  display: block;
}

@media (max-width: 640px) {
  .product-main-image {
    height: 320px;
  }
  .product-thumb {
    width: 60px;
    height: 44px;
  }
  .product-title {
    font-size: 22px;
  }
  .product-tabs-nav {
    justify-content: flex-start;
    padding-left: 8px;
  }
  .product-tab-btn {
    padding: 12px 8px;
  }
}

/* Carrossel de Categorias (index.php) */
.carrossel-categ {
  margin-top: 18px;
}
.carrossel-categ-container {
  position: relative;
  width: 100%;
  padding: 0;
  box-sizing: border-box;
}
.carrossel-categ-header {
  text-align: center;
  margin-bottom: 10px;
}
.carrossel-categ-title {
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: #111827;
}

.categ-list {
  padding-bottom: 8px;
}
.categ-item {
  display: flex;
  justify-content: center;
}
.categ-item a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.categ-item img {
  width: 92px;
  height: 92px;
  border-radius: 999px;
  object-fit: cover;
  border: none;
  background: #fff;
}
.categoria-title {
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: #1D1D1D;
}

.next-categ,
.prev-categ {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #f0e7ec;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
}
.next-categ {
  right: -10px;
}
.prev-categ {
  left: -10px;
}
.next-categ svg,
.prev-categ svg {
  stroke: var(--primary);
}

@media (max-width: 920px) {
  .next-categ {
    right: 0;
  }
  .prev-categ {
    left: 0;
  }
}

@media (max-width: 640px) {
  .carrossel-categ {
    margin-top: 10px;
  }
  .carrossel-categ-title {
    font-size: 12px;
  }
  .categ-item img {
    width: 62px;
    height: 62px;
  }
  .categ-item a {
    gap: 4px;
  }
  .categoria-title {
    font-size: 10px;
  }
  .next-categ,
  .prev-categ {
    display: none;
  }
}

/* PIX inline no box de pagamento (track) */
.track-info-box-pix {
  grid-column: 1 / -1;
}
.track-pix-inline {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed #e5e7eb;
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.track-pix-qr {
  flex: 0 0 auto;
  display: flex;
  justify-content: center;
  padding: 8px;
  background: #fff;
  border: 2px solid #e6f7f2;
  border-radius: 12px;
}
.track-pix-copiacola {
  flex: 1;
  min-width: 0;
}
.track-pix-copiacola-label {
  font-size: 12px;
  font-weight: 800;
  color: #374151;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.pix-code-box {
  display: flex;
  align-items: stretch;
  border: 2px solid #e5e7eb;
  border-radius: 10px;
  overflow: hidden;
  background: #f9fafb;
}
.pix-code-text {
  flex: 1;
  padding: 10px 12px;
  font-size: 11px;
  color: #374151;
  word-break: break-all;
  line-height: 1.45;
  text-align: left;
  max-height: 72px;
  overflow: auto;
}
.pix-copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 10px 14px;
  border: none;
  background: #059669;
  color: #fff;
  font-weight: 700;
  font-size: 12px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.16s ease;
}
.pix-copy-btn:hover {
  background: #047857;
}
.pix-copy-btn.copied {
  background: #10b981;
}
@media (max-width: 640px) {
  .track-pix-inline {
    flex-direction: column;
    align-items: center;
  }
  .track-pix-copiacola {
    width: 100%;
  }
}
