:root {
  --app-bg: #f5f7fb;
  --app-surface: #ffffff;
  --app-text: #142033;
  --app-muted: #667085;
  --app-line: rgba(20, 32, 51, 0.1);
  --app-primary: #0f8f5f;
  --app-primary-dark: #096843;
  --app-accent: #ffb020;
  --app-danger: #e5484d;
  --app-shadow: 0 14px 34px rgba(20, 32, 51, 0.1);
  --app-font-family: 'Nunito', Arial, sans-serif;
  --app-font-weight: 800;
  --app-category-radius: 8px;
  --app-discount-bg: #7f1d1d;
  --app-discount-font-weight: 900;
  --app-free-delivery-color: #b45309;
  --app-free-delivery-font-weight: 900;
}

body,
html {
  background: var(--app-bg);
  color: var(--app-text);
  font-family: var(--app-font-family);
  font-weight: 500;
}

body {
  padding-bottom: 72px;
}

h1,
h2,
h3,
h4,
h5,
h6,
strong,
.product-title,
.title-container h6 {
  font-family: var(--app-font-family);
  font-weight: var(--app-font-weight);
  letter-spacing: 0;
}

.header-area {
  height: 68px;
  padding: 9px 12px;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--app-line);
  box-shadow: 0 12px 30px rgba(17, 24, 39, 0.08);
  backdrop-filter: blur(14px);
}

.page-content {
  width: 100%;
  max-width: none;
  margin-top: 68px;
  margin-bottom: 112px;
}

.page-content > .page-content {
  margin-top: 0;
}

.header-search .form-control {
  height: 44px;
  border: 1px solid var(--app-line);
  background: #f1f4f8;
  color: var(--app-text);
  font-weight: 800;
}

.header-search .btn,
.btn-link-menu i,
.navbar-toggler .line {
  color: var(--app-text);
}

.hero-slides,
.single-hero-slide {
  width: 100%;
}

.single-hero-slide {
  height: 260px;
  overflow: hidden;
  background-position: center;
  background-size: cover;
}

.single-hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.52));
  z-index: -1;
}

.single-hero-slide h4 {
  max-width: 680px;
  font-size: 30px !important;
  line-height: 1.08;
  font-weight: 900;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.28);
}

.single-hero-slide .container {
  max-width: 1500px;
  padding-right: 32px;
  padding-left: 32px;
}

.product-list {
  width: 100%;
  padding-right: 18px;
  padding-left: 18px;
}

.product-list .container {
  width: 100%;
  max-width: 1540px;
}

.single-hero-slide p {
  max-width: 560px;
  font-weight: 800;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.26);
}

.title-container h6 {
  margin: 0 0 12px;
  color: var(--app-text);
  font-size: 22px;
  line-height: 1.12;
  font-weight: 900;
}

.sale-product-card,
.app-product-card,
.user-info-card,
.card {
  border: 1px solid var(--app-line);
  border-radius: 8px;
  background: var(--app-surface);
  box-shadow: var(--app-shadow);
}

.flash-sale-card {
  border: 0;
  background: transparent;
  box-shadow: none;
}

.sale-product-card .product-title {
  color: var(--app-text);
  font-weight: 900;
}

.sale-price,
.text-primary {
  color: var(--app-primary-dark) !important;
}

.discount-badge {
  background: var(--app-discount-bg) !important;
  color: #fff !important;
  font-weight: var(--app-discount-font-weight) !important;
}

.dropshipping-badge {
  position: static !important;
  top: auto !important;
  left: auto !important;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin: 4px 0;
  padding: 4px 8px;
  border-radius: 8px;
  background: #fff7ed !important;
  color: #9a3412 !important;
  font-size: 12px;
  font-weight: 900;
}

.product-ean {
  color: var(--app-muted);
  line-height: 1.15;
}

.dropshipping-delivery-line {
  display: block;
  margin: 2px 0 4px;
  font-size: 11px;
  line-height: 1.15;
}

.dropshipping-arrival {
  display: block;
  margin-bottom: 2px;
  color: var(--app-muted);
  font-weight: 800;
}

.dropshipping-free-delivery {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: var(--app-free-delivery-color);
  font-weight: var(--app-free-delivery-font-weight);
  white-space: nowrap;
}

.dropshipping-free-delivery i {
  font-size: 15px;
  line-height: 1;
}

.bg-darkgreen,
.btn-dark,
.btn-primary,
.list-menu a {
  background: var(--app-primary) !important;
  border-color: var(--app-primary) !important;
  color: #fff !important;
}

.list-menu-c a {
  background: var(--app-text) !important;
  color: #fff !important;
}

.badgeF,
.badgeFooter,
.badgeO,
.badgeN {
  background: var(--app-danger) !important;
  color: #fff;
}

.sale-slide .sale-product-card,
.sale-slide .sale-product-card img {
  border-radius: var(--app-category-radius);
}

.category-product-list {
  padding-top: 18px !important;
  padding-bottom: 10px !important;
}

.category-sale-slide {
  max-height: 170px;
  overflow: hidden;
}

.category-sale-slide .owl-stage-outer,
.category-sale-slide .owl-stage,
.category-sale-slide .owl-item {
  max-height: 170px;
}

.category-sale-slide .owl-stage {
  display: flex;
  justify-content: center;
}

.category-sale-slide .owl-item {
  display: flex;
  justify-content: center;
}

.sale-product-card.category-card {
  position: relative;
  width: 150px;
  height: 150px;
  min-height: 150px;
  max-width: 150px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  float: left;
  margin-right: 0;
  flex: 0 0 150px;
}

.category-card .card-body {
  height: 100%;
  padding: 0;
}

.category-card .card-body a {
  display: block;
  height: 100%;
}

.category-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #f8fafc;
}

.category-label {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  margin: 0;
  padding: 6px 5px;
  background: rgba(0, 0, 0, 0.72);
  color: #fff;
  font-size: 10px;
  line-height: 1.15;
  text-align: center;
}

@media (max-width: 575px) {
  .category-sale-slide {
    max-height: 116px;
  }

  .category-sale-slide .owl-stage-outer,
  .category-sale-slide .owl-stage,
  .category-sale-slide .owl-item {
    max-height: 116px;
  }

  .sale-product-card.category-card {
    width: 104px;
    height: 104px;
    min-width: 104px;
    min-height: 104px;
    max-width: 104px;
    flex: 0 0 104px;
    border-radius: var(--app-category-radius);
  }

  .category-card .card-body,
  .category-card .card-body a,
  .category-image {
    width: 100%;
    height: 100%;
    border-radius: inherit;
  }
}

.footer-area {
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 56px;
  min-height: 0;
  box-sizing: border-box;
  padding: 0 10px;
  border: 0;
  border-radius: 20px 20px 0 0;
  background: linear-gradient(135deg, var(--app-primary), var(--app-primary-dark)) !important;
  box-shadow: 0 -6px 12px rgba(15, 15, 15, 0.15);
  backdrop-filter: none;
}

.footer-area .container {
  width: 100%;
  max-width: none;
}

.footer-area ul li a,
.footer-area ul li a i {
  color: rgba(255, 255, 255, 0.78);
}

.footer-area ul li.active a,
.footer-area ul li.active i {
  color: #fff !important;
}

.footer-area ul {
  width: 100%;
  max-width: none;
  margin-right: auto !important;
  margin-left: auto !important;
  overflow: visible;
  align-items: center !important;
  gap: 0;
}

.footer-area ul li {
  flex: 1 1 0;
  min-width: 0;
  position: relative;
}

.footer-area ul li a {
  position: relative;
  display: block;
  height: auto;
  min-height: 0;
  width: 100%;
  min-width: 0;
  padding: 0 2px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.78);
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  overflow: visible;
  text-align: center;
  text-decoration: none;
  text-transform: capitalize;
  white-space: nowrap;
  box-shadow: none;
}

.footer-area ul li a span {
  display: inline-block;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: top;
}

.footer-area ul li a p,
.footer-area #TotalGeralFooter {
  display: inline-block !important;
  margin: 0 !important;
  color: var(--app-accent) !important;
  font-size: 11px !important;
  font-weight: 900;
  line-height: 1 !important;
  white-space: nowrap;
}

.footer-area ul li a i {
  display: block;
  margin: 0 0 4px;
  font-size: 23px;
}

.footer-area ul li a i[style] {
  color: inherit !important;
}

.footer-area ul li.active a,
.footer-area ul li a:hover {
  background: transparent;
  border-color: transparent;
  color: #fff !important;
  box-shadow: none;
}

.footer-area .badge,
.footer-area .badgeF,
.footer-area .badgeFooter,
.footer-area .badgeO {
  position: absolute;
  top: 4px;
  right: calc(50% - 34px);
  display: inline-flex;
  min-width: 18px;
  height: 16px;
  align-items: center;
  justify-content: center;
  margin-left: 2px;
  border-radius: 999px;
  font-size: 9px;
}

.footer-area ul li a > * {
  flex: initial;
}

.bg-overlay {
  position: fixed;
  inset: 0;
  z-index: 999998;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.46);
  backdrop-filter: blur(2px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.bg-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.sidebar-nav {
  position: fixed;
  top: 0;
  z-index: 999999;
  left: -312px;
  width: 312px;
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  background: var(--app-surface);
  color: var(--app-text);
  box-shadow: 18px 0 38px rgba(17, 24, 39, 0.18);
  transition: left 220ms ease;
}

.sidebar-nav.nav-active {
  left: 0;
}

.sidebar-nav .container {
  padding: 0;
}

.sidebar-nav > .container > .row:first-child {
  min-height: 70px;
  margin: 0;
  align-items: center;
  justify-content: flex-end !important;
  padding: 15px 16px;
  background: linear-gradient(135deg, var(--app-primary), var(--app-primary-dark));
}

.sidebar-nav > .container > .row:first-child .col-auto {
  padding: 0 !important;
}

.sidebar-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--app-line);
  background: linear-gradient(135deg, var(--app-primary), var(--app-primary-dark));
  color: #fff;
}

.sidebar-brand {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
}

.sidebar-brand img,
.sidebar-profile .user-profile img {
  width: 46px;
  height: 46px;
  border-radius: 8px;
  object-fit: cover;
  background: #fff;
}

.sidebar-brand strong,
.sidebar-profile .user-info .user-name {
  display: block;
  overflow: hidden;
  margin: 0;
  color: inherit;
  font-size: 15px;
  line-height: 1.2;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sidebar-brand small {
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  font-weight: 800;
}

.close-btn {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  padding: 0;
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  box-shadow: none;
  line-height: 1;
}

.close-btn i {
  display: block;
  margin: 0;
  line-height: 1;
}

.sidebar-profile {
  padding: 18px;
}

.sidebar-profile .user-profile {
  display: none;
}

.sidebar-profile .user-info {
  margin-bottom: 12px;
  padding: 12px;
  border: 1px solid var(--app-line);
  border-radius: 8px;
  background: #f8fafc;
  text-align: left;
}

.sidebar-profile .user-info .user-name {
  color: var(--app-text);
}

.sidebar-menu {
  margin-top: 12px;
  padding: 0;
  list-style: none;
}

.sidebar-menu li {
  margin-bottom: 8px;
}

.sidebar-menu a {
  min-height: 48px;
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--app-text);
  text-align: left;
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.sidebar-menu a:hover,
.sidebar-menu li.active a {
  background: rgba(15, 143, 95, 0.1);
  color: var(--app-primary-dark);
  transform: translateX(2px);
}

.sidebar-menu a i {
  display: grid;
  width: 34px;
  height: 34px;
  margin-right: 8px;
  place-items: center;
  border-radius: 8px;
  background: rgba(15, 143, 95, 0.12);
  color: var(--app-primary-dark);
  font-size: 20px;
}

.sidebar-menu a span {
  padding-left: 0;
  font-size: 15px;
  font-weight: 900;
}

.sidebar-menu a span[style],
.sidebar-menu h6[style] {
  color: var(--app-text) !important;
}

.sidebar-menu a i[style] {
  color: var(--app-primary-dark) !important;
}

.sidebar-menu hr {
  border-color: var(--app-line) !important;
}

.sidebar-menu .badge-dot {
  top: 12px;
}

.cart-area .container,
.profile-area .container,
.checkout-area .container,
.pedido-area .container {
  width: 100%;
  max-width: 1180px;
}

.cart-area .sale-product-card,
.profile-area .user-info-card,
.checkout-area .card,
.timeline-item .content {
  border-radius: 8px;
  border: 1px solid var(--app-line);
  background: var(--app-surface);
  box-shadow: var(--app-shadow);
}

.cart-area .product-list-cart,
.cart-area .product-list-card {
  padding: 14px;
}

.cart-area .product-list-cart img,
.cart-area .product-list-card img {
  border-radius: 8px;
  background: #f1f4f8;
  object-fit: contain;
}

.cart-area .product-title,
.product-list-cart .product-title {
  color: var(--app-text);
  font-size: 15px;
  line-height: 1.25;
  font-weight: var(--app-font-weight);
}

.form-outline,
.form-group {
  margin-bottom: 14px;
}

.form-control,
.form-select,
.form-outline .form-control {
  min-height: 44px;
  border: 1px solid var(--app-line);
  border-radius: 8px;
  background-color: #f8fafc;
  color: var(--app-text);
  font-weight: 700;
  box-shadow: none;
}

.form-control:focus,
.form-select:focus,
.form-outline .form-control:focus {
  border-color: var(--app-primary);
  background-color: #fff;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--app-primary) 14%, transparent);
}

.btn,
.btn-sm,
.btn-lg {
  border-radius: 8px;
  font-weight: 900;
  letter-spacing: 0;
}

.table,
table {
  border-radius: 8px;
  overflow: hidden;
  background: var(--app-surface);
}

.timeline::before {
  background: var(--app-primary);
}

.timeline-item::before {
  border-color: var(--app-primary);
}

.product-editor-card {
  overflow: hidden;
}

.product-editor-card > .card-body {
  padding: 18px !important;
}

.product-editor-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.product-editor-heading h6 {
  margin: 0;
  font-size: 20px;
}

#FormProd.product-editor-form {
  display: grid;
  gap: 14px;
}

#FormProd.product-editor-form .form-group.row {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 12px;
  align-items: end;
  margin: 0;
}

#FormProd.product-editor-form .form-group.row > [class*="col-"] {
  grid-column: span 3;
  width: auto;
  max-width: none;
  flex: none;
  padding: 0 !important;
}

#FormProd.product-editor-form .form-group.row > .col-12 {
  grid-column: 1 / -1;
}

#FormProd.product-editor-form label,
.product-editor-notes h6 {
  display: block;
  margin-bottom: 6px;
  color: var(--app-muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

#FormProd.product-editor-form .form-control,
#FormProd.product-editor-form select.form-control,
.product-editor-notes .form-control {
  min-height: 46px;
  border-color: var(--app-line);
  background: #fff !important;
  color: var(--app-text);
  font-weight: 800;
}

#Descricao,
#Categoria,
#Observacao,
#mDescricao {
  text-transform: uppercase;
}

#Descricao {
  min-height: 52px;
  font-size: 16px;
  font-weight: 900;
}

#PrcVenda {
  border-color: #f2c94c !important;
  background: #fff8db !important;
}

#PrcPromo {
  border-color: #22c55e !important;
  background: #ecfdf3 !important;
}

#PrcCusto,
#Estoque {
  background: #f8fafc !important;
}

#Complemento {
  border-color: #fda4af !important;
  background: #fff1f2 !important;
}

.product-editor-notes {
  padding-bottom: 0 !important;
}

.product-editor-notes .container {
  width: 100%;
  max-width: none;
  padding: 0;
}

.dropshipping-admin-page {
  background: #f4f7fb;
}

.dropshipping-admin-container {
  width: 100%;
  max-width: none;
  padding-right: 18px;
  padding-left: 18px;
}

.dropshipping-admin-card.product-editor-card {
  width: 100%;
  max-width: none;
  margin-right: 0;
  margin-left: 0;
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.08) !important;
}

.dropshipping-admin-card .product-editor-heading {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--app-line);
}

.dropshipping-admin-card .product-editor-heading small {
  display: block;
  margin-top: 4px;
  color: var(--app-muted);
  font-size: 12px;
  font-weight: 700;
}

.dropshipping-filter-bar {
  padding: 12px;
  border: 1px solid var(--app-line);
  border-radius: 8px;
  background: #f8fafc;
}

.dropshipping-filter-bar label {
  margin-bottom: 6px;
  color: var(--app-muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.dropshipping-filter-bar .form-control {
  min-height: 42px;
  border-color: var(--app-line);
  font-weight: 800;
}

.dropshipping-table-wrap {
  width: 100%;
  border: 1px solid var(--app-line);
  border-radius: 8px;
  background: #fff;
}

.dropshipping-table {
  min-width: 1240px;
  margin-bottom: 0;
  table-layout: fixed;
}

.dropshipping-table thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  border-bottom: 1px solid var(--app-line);
  background: #eef6f2;
  color: var(--app-text);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  white-space: nowrap;
}

.dropshipping-table tbody td {
  padding: 10px 8px;
  vertical-align: middle;
  border-color: #edf2f7;
}

.dropshipping-table .form-control,
.dropshipping-table select.form-control {
  min-height: 38px;
  padding-right: 8px;
  padding-left: 8px;
  border-color: var(--app-line);
  color: var(--app-text);
  font-size: 12px;
  font-weight: 800;
}

.dropshipping-table input[name="Descricao"] {
  min-height: 42px;
  font-size: 13px;
  font-weight: 900;
}

.category-admin-page {
  background: #f4f7fb;
}

.category-admin-container {
  width: 100%;
  max-width: none;
  padding-right: 18px;
  padding-left: 18px;
}

.category-admin-card.product-editor-card {
  width: 100%;
  max-width: none;
  margin-right: 0;
  margin-left: 0;
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.08) !important;
}

.category-admin-card .product-editor-heading {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--app-line);
}

.category-admin-card .product-editor-heading small {
  display: block;
  margin-top: 4px;
  color: var(--app-muted);
  font-size: 12px;
  font-weight: 700;
}

.category-filter-bar,
.category-new-form {
  padding: 12px;
  border: 1px solid var(--app-line);
  border-radius: 8px;
  background: #f8fafc;
}

.category-new-form {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(140px, 180px) minmax(120px, 160px);
  gap: 12px;
  align-items: end;
}

.category-filter-bar label,
.category-new-form label {
  margin-bottom: 6px;
  color: var(--app-muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.category-table-wrap {
  width: 100%;
  border: 1px solid var(--app-line);
  border-radius: 8px;
  background: #fff;
}

.category-table {
  min-width: 860px;
  margin-bottom: 0;
  table-layout: fixed;
}

.category-table thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  border-bottom: 1px solid var(--app-line);
  background: #eef6f2;
  color: var(--app-text);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  white-space: nowrap;
}

.category-table tbody td {
  padding: 10px 8px;
  vertical-align: middle;
  border-color: #edf2f7;
}

.category-photo-cell {
  width: 90px;
}

.category-photo-cell img {
  width: 64px;
  height: 64px;
  border: 1px solid var(--app-line);
  border-radius: 8px;
  background: #f8fafc;
  object-fit: cover;
}

.category-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.category-image-editor-page .product-image-preview-img {
  max-height: 420px;
}

.product-modal-whatsapp-wrap {
  display: flex;
  justify-content: flex-end;
  margin: 8px 0;
}

.product-modal-whatsapp,
.product-modal-whatsapp:hover {
  display: inline-grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 50%;
  background: #16a34a;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(22, 163, 74, 0.28);
}

.product-modal-whatsapp i {
  color: #fff;
  font-size: 28px;
  line-height: 1;
}

.drop-col-photo,
.drop-photo-cell {
  width: 78px;
  min-width: 78px;
  text-align: center;
}

.drop-col-product,
.drop-product-cell {
  width: 32%;
  min-width: 340px;
}

.drop-col-category {
  width: 18%;
}

.drop-col-money {
  width: 9%;
}

.drop-col-small {
  width: 7%;
}

.drop-col-status {
  width: 9%;
}

.drop-col-actions {
  width: 12%;
}

.drop-photo-btn,
.drop-photo-empty {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 1px solid var(--app-line);
  border-radius: 8px;
  background: #fff;
  color: var(--app-primary);
  cursor: pointer;
  overflow: hidden;
}

.drop-photo-btn img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
}

.drop-photo-empty {
  flex-direction: column;
  gap: 1px;
  text-decoration: none;
  background: #f8fafc;
}

.drop-photo-empty i {
  font-size: 22px;
  line-height: 1;
}

.drop-photo-empty span {
  font-size: 9px;
  font-weight: 900;
  line-height: 1;
}

.drop-photo-modal-content {
  border: 0;
  border-radius: 8px;
  overflow: hidden;
}

.drop-photo-modal-img {
  display: block;
  width: 100%;
  max-height: 68vh;
  object-fit: contain;
  background: #fff;
}

.drop-product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.drop-product-meta strong {
  color: var(--app-primary);
  font-size: 13px;
}

.drop-product-meta small {
  overflow: hidden;
  color: var(--app-muted);
  font-size: 11px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.drop-actions-cell {
  display: flex;
  gap: 6px;
}

.drop-actions-cell .btn {
  flex: 1;
  min-height: 38px;
  padding-right: 8px;
  padding-left: 8px;
  font-size: 11px;
  font-weight: 900;
}

.drop-row {
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.drop-row-dirty {
  background: #fffdf0;
}

.drop-row-saving {
  background: #eff6ff;
  opacity: 0.78;
}

.drop-row-saved {
  background: #ecfdf3;
}

.drop-row-error {
  background: #fff1f2;
}

.drop-row-status {
  display: block;
  width: 100%;
  min-height: 14px;
  margin-top: 4px;
  color: var(--app-muted);
  font-size: 10px;
  font-weight: 900;
  line-height: 1.2;
  white-space: normal;
}

.drop-row-saved .drop-row-status {
  color: #15803d;
}

.drop-row-error .drop-row-status {
  color: #b91c1c;
}

.product-image-editor-page {
  background: linear-gradient(180deg, #f7fafc 0%, #eef2f7 100%);
}

.product-image-editor-page .profile-area {
  margin-bottom: 18px;
}

.product-image-editor-page .container,
.product-image-editor-container {
  max-width: 1180px;
}

.product-image-editor-card {
  border: 1px solid var(--app-line);
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.08) !important;
  overflow: hidden;
}

.product-image-editor-main .card-body {
  display: grid;
  grid-template-columns: minmax(260px, 420px) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.product-image-editor-main .user-figure-card {
  padding-bottom: 0 !important;
}

.product-image-editor-main .card-body > .row {
  grid-column: 2;
}

.product-image-preview,
.product-image-editor-main .user-figure-card .label {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  border: 1px solid var(--app-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: inset 0 0 0 10px #f8fafc;
  overflow: hidden;
}

.product-image-preview-img,
#avatar.product-image-preview-img {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: #fff;
  border-radius: 8px !important;
}

.product-image-action-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
  justify-content: stretch !important;
  margin-bottom: 14px;
}

.product-image-action,
.product-image-action:hover {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 14px;
  border-radius: 8px;
  color: #fff;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 12px 22px rgba(15, 23, 42, 0.12);
}

.product-image-action div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.product-image-action-primary { background: var(--app-primary); }
.product-image-action-muted { background: #64748b; }
.product-image-action-danger { background: #dc2626; }

.product-image-help {
  display: grid;
  gap: 4px;
  margin-bottom: 14px;
  padding: 12px;
  border: 1px solid #bbf7d0;
  border-radius: 8px;
  background: #f0fdf4;
  color: #14532d;
}

.product-image-help strong {
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.product-image-help span {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}

.product-image-help-search {
  display: grid;
  gap: 4px;
  margin-top: 10px;
  padding-top: 12px;
  border-top: 1px solid #bbf7d0;
}

.product-image-thumb-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(118px, 1fr));
  gap: 10px;
  width: 100%;
  max-width: none;
}

.product-image-thumb-wrap {
  min-width: 0;
}

.product-image-thumb,
.product-image-thumb:hover {
  display: grid;
  gap: 6px;
  padding: 8px;
  border: 1px solid var(--app-line);
  border-radius: 8px;
  background: #fff;
  color: var(--app-text);
  text-align: center;
  text-decoration: none;
}

.product-image-thumb.is-active {
  border-color: var(--app-primary);
  box-shadow: 0 0 0 3px rgba(0, 137, 94, 0.18);
}

.product-image-thumb-image {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  border-radius: 6px;
  background: #f8fafc;
  overflow: hidden;
}

.product-image-thumb-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
}

.product-image-thumb strong {
  font-size: 12px;
  font-weight: 900;
}

.product-image-thumb small {
  color: var(--app-muted);
  font-size: 11px;
  font-weight: 700;
}

.product-image-section-title span {
  display: block;
  color: var(--app-primary);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.product-image-section-title h1 {
  margin: 2px 0;
  color: var(--app-text);
  font-size: 24px;
  font-weight: 900;
}

.product-image-section-title p {
  margin: 0;
  color: var(--app-muted);
  font-weight: 800;
}

.product-image-editor-card h3 {
  margin: 10px 0;
}

.product-image-editor-card h3 a,
.product-image-editor-card h3 a:hover {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  border: 1px solid var(--app-line);
  border-radius: 8px;
  background: #fff;
  color: var(--app-text);
  font-size: 15px;
  font-weight: 900;
  text-decoration: none;
}

.product-image-search-row {
  display: grid;
  grid-template-columns: minmax(120px, 180px) repeat(2, minmax(120px, 1fr));
  gap: 10px;
  align-items: center;
  margin: 10px 0;
}

.product-image-search-row strong,
.product-image-search-row a,
.product-image-search-row span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 900;
}

.product-image-search-row strong {
  justify-content: flex-start;
  gap: 8px;
  color: var(--app-text);
  background: #f8fafc;
}

.product-image-search-row a,
.product-image-search-row a:hover {
  border: 1px solid var(--app-line);
  background: #fff;
  color: var(--app-primary-dark);
  text-decoration: none;
}

.product-image-search-row span {
  color: var(--app-muted);
  background: #f8fafc;
}

.product-image-import-hint {
  color: var(--app-muted);
  font-size: 14px;
  font-weight: 800;
}

.product-image-crop-modal .modal-content {
  border: 0;
  border-radius: 8px;
  overflow: hidden;
}

.product-image-crop-modal .img-container {
  min-height: 320px;
  background: #f8fafc;
}

.product-image-crop-modal .img-container img {
  display: block;
  max-width: 100%;
}

@media (min-width: 992px) {
  .page-content {
    max-width: none;
    margin-right: 0;
    margin-left: 0;
  }

  .single-hero-slide {
    height: 380px;
  }

  .product-list .container,
  .header-area .row {
    max-width: 1540px;
    margin-right: auto;
    margin-left: auto;
  }

  .flash-sale-card.col-md-4 {
    flex: 0 0 20%;
    max-width: 20%;
  }

  .product-list-card > .row {
    display: block;
    margin: 0;
  }

  .product-list-card > .row > .col-4,
  .product-list-card > .row > .col {
    width: 100%;
    max-width: 100%;
    padding-right: 0 !important;
    padding-left: 0 !important;
  }

  .product-list-card img {
    display: block;
    width: 100%;
    height: 118px;
    margin: 0 auto 10px;
    object-fit: contain;
  }

  .sale-product-card {
    min-height: 238px;
  }

  .sale-product-card .product-title {
    display: -webkit-box;
    min-height: 58px;
    overflow: hidden;
    font-size: 14px;
    line-height: 1.2;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
  }

  .sale-price {
    font-size: 18px;
    line-height: 1.15;
  }

  .footer-area {
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    min-width: 0;
    max-width: none;
    height: 56px;
    min-height: 0;
    border-radius: 20px 20px 0 0;
    background: linear-gradient(135deg, var(--app-primary), var(--app-primary-dark)) !important;
    box-shadow: 0 -6px 12px rgba(15, 15, 15, 0.15);
  }

  .footer-area ul {
    width: 100%;
    max-width: none;
    gap: 0;
    justify-content: center;
  }

  .footer-area ul li a {
    min-width: 118px;
    min-height: 0;
    padding: 0 10px;
    border-radius: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.78);
    box-shadow: none;
  }

  .footer-area ul li.active a {
    background: transparent;
  }

  .cart-area .container,
  .checkout-area .container,
  .pedido-area .container {
    max-width: 1180px;
  }

  .profile-area .container {
    max-width: 1320px;
  }

  .cart-area .col-12 {
    max-width: 900px;
    margin-right: auto;
    margin-left: auto;
  }

  .cart-area .sale-product-card {
    overflow: hidden;
  }

  .cart-area .product-list-cart .row,
  .cart-area .product-list-card .row {
    align-items: center;
  }

  .cart-area .product-list-cart img,
  .cart-area .product-list-card img {
    width: 92px;
    height: 92px;
  }

  .product-editor-card {
    max-width: 1180px;
    margin-right: auto;
    margin-left: auto;
  }

  .dropshipping-admin-card.product-editor-card {
    max-width: none;
    margin-right: 0;
    margin-left: 0;
  }

  .dropshipping-admin-container {
    padding-right: 28px;
    padding-left: 28px;
  }

  .dropshipping-admin-card > .card-body {
    padding: 22px !important;
  }
}

@media (min-width: 1400px) {
  .flash-sale-card.col-md-4 {
    flex-basis: 16.666%;
    max-width: 16.666%;
  }
}

@media (max-width: 575px) {
  body {
    padding-bottom: 72px;
  }

  .header-area {
    height: 62px;
    padding: 8px;
  }

  .page-content {
    margin-top: 62px;
    margin-bottom: 72px;
  }

  .footer-area {
    bottom: 0;
    height: 56px;
    min-height: 0;
    padding: 0 8px;
  }

  .product-list.product-list-main {
    padding-top: 8px !important;
  }

  .hero-slides + .product-list.product-list-main,
  .page-content > .product-list.product-list-main:first-of-type {
    margin-top: -48px;
  }

  .footer-area ul {
    gap: 0;
  }

  .footer-area ul li a {
    min-height: 0;
    padding: 0 2px;
    font-size: 10.5px;
  }

  .footer-area ul li a i {
    font-size: 22px;
  }

  .footer-area ul li a p,
  .footer-area #TotalGeralFooter {
    font-size: 10.5px !important;
  }

  .single-hero-slide {
    height: 220px;
  }

  .single-hero-slide h4 {
    font-size: 23px !important;
  }

  .product-list {
    padding-right: 8px;
    padding-left: 8px;
  }

  .product-editor-card > .card-body {
    padding: 12px !important;
  }

  .dropshipping-admin-container {
    padding-right: 8px;
    padding-left: 8px;
  }

  .dropshipping-admin-card > .card-body {
    padding: 10px !important;
  }

  .dropshipping-admin-card .product-editor-heading {
    align-items: flex-start;
  }

  .dropshipping-admin-card .product-editor-heading h6 {
    font-size: 18px;
  }

  .dropshipping-filter-bar {
    padding: 10px;
  }

  .dropshipping-table {
    min-width: 1080px;
  }

  .dropshipping-table tbody td {
    padding: 8px 6px;
  }

  .category-admin-container {
    padding-right: 8px;
    padding-left: 8px;
  }

  .category-admin-card > .card-body {
    padding: 12px !important;
  }

  .category-new-form {
    grid-template-columns: 1fr;
  }

  .category-table {
    min-width: 760px;
  }

  .drop-col-product,
  .drop-product-cell {
    width: 300px;
    min-width: 300px;
  }

  .drop-actions-cell .btn {
    min-height: 34px;
    font-size: 10px;
  }

  #FormProd.product-editor-form {
    gap: 12px;
  }

  #FormProd.product-editor-form .form-group.row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  #FormProd.product-editor-form .form-group.row > [class*="col-"] {
    grid-column: span 1;
  }

  #FormProd.product-editor-form .form-group.row > .col-12 {
    grid-column: 1 / -1;
  }

  #FormProd.product-editor-form label,
  .product-editor-notes h6 {
    font-size: 11px;
  }

  #Descricao {
    min-height: 48px;
    font-size: 14px;
  }

  .product-image-editor-page {
    padding-bottom: 84px;
  }

  .product-image-editor-main .card-body {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 12px !important;
  }

  .product-image-editor-main .card-body > .row {
    grid-column: auto;
  }

  .product-image-preview-img,
  #avatar.product-image-preview-img {
    max-width: 100%;
  }

  .product-image-action-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .product-image-action,
  .product-image-action:hover {
    min-height: 44px;
    padding: 0 10px;
    font-size: 12px;
  }

  .product-image-thumb-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-image-section-title h1 {
    font-size: 20px;
  }

  .product-image-editor-card h3 a,
  .product-image-editor-card h3 a:hover {
    justify-content: flex-start;
    padding: 0 12px;
    font-size: 14px;
  }

  .product-image-search-row {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .product-image-search-row strong,
  .product-image-search-row span {
    grid-column: 1 / -1;
    min-height: 38px;
  }

  .product-image-search-row a {
    min-height: 44px;
  }

  .product-image-crop-modal .modal-dialog {
    margin: 8px;
  }

  .product-image-crop-modal .img-container {
    min-height: 260px;
  }

  .sidebar-nav {
    left: -88vw;
    width: 88vw;
  }
}
