.crumb-arrow { color: #4f9668; font-size: 6px; vertical-align: middle; }
.brand-icon { color: red; font-size: 14px; }
.fs-24 { font-size: 24px; }
.fs-16 { font-size: 16px; }
.fs-09 { font-size: 0.9rem; }
.fs-08 { font-size: 0.8rem; }
.fs-07 { font-size: 0.7rem; }
.img-pad { padding: 5rem; }
.thumb-150 { width: 150px; height: 150px; }


/* layouts\header.php */
.card-body.search-content {
    position: relative;
}

/* layouts\footer.php */
.update-row {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #4b5563;
  font-size: 0.875rem;
}

.icon {
  width: 16px;
  height: 16px;
  color: #64748b;
}

/* home\show.php */
.barcode-svg svg { display:block; width:100%; height:auto; max-height:90px; }

/* services\barcode\barcode_gen_aztec.php */
.barcode-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
            gap: 16px;
            margin-top: 24px;
        }
        .barcode-item {
            border: 1px solid #eee;
            padding: 8px;
            border-radius: 6px;
            background: #fff;
            text-align: center;
        }
        .barcode-item img {
            max-width: 100%;
            height: auto;
            display: block;
            margin: 0 auto;
        }
        .error-badge {
			display: block;
            color: #dc3545;
            font-size: 0.85rem;
        }

/* services\barcode\barcode_gen_datamatrix.php */
.barcode-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
            gap: 16px;
            margin-top: 24px;
        }
        .barcode-item {
            border: 1px solid #eee;
            padding: 8px;
            border-radius: 6px;
            background: #fff;
            text-align: center;
        }
        .barcode-item img {
            max-width: 100%;
            height: auto;
            display: block;
            margin: 0 auto;
        }
        .error-badge {
			display: block;
            color: #dc3545;
            font-size: 0.85rem;
        }

/* services\barcode\barcode_gen_ean_13.php */
.barcode-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
            gap: 16px;
            margin-top: 24px;
        }
        .barcode-item {
            border: 1px solid #eee;
            padding: 8px;
            border-radius: 6px;
            background: #fff;
            text-align: center;
        }
        .barcode-item img {
            max-width: 100%;
            height: auto;
            display: block;
            margin: 0 auto;
        }
        .error-badge {
			display: block;
            color: #dc3545;
            font-size: 0.85rem;
        }

/* services\barcode\barcode_gen_ean_8.php */
.barcode-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
            gap: 16px;
            margin-top: 24px;
        }
        .barcode-item {
            border: 1px solid #eee;
            padding: 8px;
            border-radius: 6px;
            background: #fff;
            text-align: center;
        }
        .barcode-item img {
            max-width: 100%;
            height: auto;
            display: block;
            margin: 0 auto;
        }
        .error-badge {
			display: block;
            color: #dc3545;
            font-size: 0.85rem;
        }

/* services\barcode\barcode_gen_pdf417.php */
.barcode-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
            gap: 16px;
            margin-top: 24px;
        }
        .barcode-item {
            border: 1px solid #eee;
            padding: 8px;
            border-radius: 6px;
            background: #fff;
            text-align: center;
        }
        .barcode-item img {
            max-width: 100%;
            height: auto;
            display: block;
            margin: 0 auto;
        }
        .error-badge {
			display: block;
            color: #dc3545;
            font-size: 0.85rem;
        }

/* services\barcode\barcode_gen_pharma.php */
.barcode-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
            gap: 16px;
            margin-top: 24px;
        }
        .barcode-item {
            border: 1px solid #eee;
            padding: 8px;
            border-radius: 6px;
            background: #fff;
            text-align: center;
        }
        .barcode-item img {
            max-width: 100%;
            height: auto;
            display: block;
            margin: 0 auto;
        }
        .error-badge {
			display: block;
            color: #dc3545;
            font-size: 0.85rem;
        }

/* services\barcode\barcode_gen_qrcode.php */
.barcode-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
            gap: 16px;
            margin-top: 24px;
        }
        .barcode-item {
            border: 1px solid #eee;
            padding: 8px;
            border-radius: 6px;
            background: #fff;
            text-align: center;
        }
        .barcode-item img {
            max-width: 100%;
            height: auto;
            display: block;
            margin: 0 auto;
        }
        .error-badge {
			display: block;
            color: #dc3545;
            font-size: 0.85rem;
        }

/* services\barcode\index.php */
.barcode-validation-form {
        max-width: 600px;
        margin: 2rem auto;
    }
    
    .form-group {
        margin-bottom: 1.5rem;
    }
    
    .error-msg {
		padding: 8px;
        color: #dc3545;
        font-size: 0.9rem;
    }
    
    .d-none {
        display: none;
    }


/* автокомплит */
/* автокомплит поиска */
.ac-dropdown {
  background: #fff;
  border: 1px solid #e6e8eb;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .12);
  overflow: auto;
  max-height: 420px;
  padding: 4px 0;
}

.ac-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  text-decoration: none;
  color: #111;
  border-bottom: 1px solid #f1f3f5;
}

.ac-item:last-child { border-bottom: 0; }
.ac-item:hover, .ac-item.active { background: #f5f7fa; color: #111; }

.ac-thumb {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  object-fit: cover;
  border-radius: 6px;
  background: #f3f4f6;
}

.ac-thumb-empty { display: block; }

.ac-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1 1 auto;
}

.ac-name {
  font-size: .875rem;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ac-brand {
  font-size: .75rem;
  color: #6b7280;
}

.ac-price {
  margin-left: auto;
  font-size: .8rem;
  font-weight: 600;
  white-space: nowrap;
  color: #111;
}

@media (max-width: 768px) {
  .ac-dropdown { max-height: 60vh; }
  .ac-name { white-space: normal; }
}
